Deltarune script viewer

← back to main script listing

gml_Object_o_boxing_wireframe_Step_0

(view raw script w/o annotations or w/e)
1
if (talking)
2
{
3
    talktimer++;
4
    if (button1_p() && talktimer > 15)
5
        talktimer = 90;
6
    if (talktimer >= 90)
7
    {
8
        talktimer = 90;
9
        with (obj_writer)
10
            instance_destroy();
11
        talking = false;
12
        talktimer = -10;
13
        o_boxingcontroller.talking = 0;
14
        if (talktype == 1 && o_boxingqueen.phase_transition_timer < 1)
15
        {
16
            if (hintcount == 0)
17
                msgsetloc(0, 
Shut up!!
"Shut up!!", "o_boxing_wireframe_slash_Step_0_gml_17_0"
);
18
            if (hintcount == 1)
19
                msgsetloc(0, 
I said shut up!!
"I said shut up!!", "o_boxing_wireframe_slash_Step_0_gml_18_0"
);
20
            if (hintcount > 1)
21
            {
22
            }
23
            else
24
            {
25
                hintcount++;
26
                global.typer = 50;
27
                suballoon3 = scr_enemyblcon
scr_enemyblcon

function scr_enemyblcon(arg0, arg1, arg2) { if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(obj_ch2_scene10.su_actor.x + 0, obj_ch2_scene10.su_actor.y + 20, 10);
28
                talktimer = 0;
29
                talking = true;
30
                with (suballoon3)
31
                {
32
                    depth = obj_ch2_scene10.su_actor.depth - 1;
33
                    auto_length = 1;
34
                }
35
                with (obj_writer)
36
                    depth = obj_ch2_scene10.su_actor.depth - 2;
37
                talktype = 0;
38
            }
39
        }
40
        talktype = 0;
41
    }
42
}