Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_musical_controller_Alarm_2

(view raw script w/o annotations or w/e)
1
with (obj_writer)
2
    instance_destroy();
3
if (obj_sweet_enemy.hurtstate2 == 1)
4
{
5
    if (obj_kk_enemy.hurtstate2 == 1 || obj_hatguy_enemy.hurtstate2 == 1)
6
        msgsetloc(0, 
* (Sweet snapped out of the dance!)Wait for input
"* (Sweet snapped out of the dance!)/", "obj_musical_controller_slash_Alarm_2_gml_8_0"
);
7
    else
8
        msgsetloc(0, 
* (Sweet snapped out of the dance!)Wait for inputClose Message
"* (Sweet snapped out of the dance!)/%", "obj_musical_controller_slash_Alarm_2_gml_12_0"
);
9
    obj_sweet_enemy.stoppeddancingcounter++;
10
}
11
if (obj_kk_enemy.hurtstate2 == 1)
12
{
13
    if (obj_hatguy_enemy.hurtstate2 == 1)
14
        msgsetloc(0, 
* (K_K snapped out of the dance!)Wait for input
"* (K_K snapped out of the dance!)/", "obj_musical_controller_slash_Alarm_2_gml_20_0"
);
15
    else
16
        msgsetloc(0, 
* (K_K snapped out of the dance!)Wait for inputClose Message
"* (K_K snapped out of the dance!)/%", "obj_musical_controller_slash_Alarm_2_gml_24_0"
);
17
    obj_sweet_enemy.stoppeddancingcounter++;
18
}
19
if (obj_hatguy_enemy.hurtstate2 == 1)
20
{
21
    msgsetloc(0, 
* (Cap'n snapped out of the dance!)Wait for inputClose Message
"* (Cap'n snapped out of the dance!)/%", "obj_musical_controller_slash_Alarm_2_gml_30_0"
);
22
    obj_sweet_enemy.stoppeddancingcounter++;
23
}
24
scr_battletext_default
scr_battletext_default

function scr_battletext_default() { global.fc = 0; global.typer = 4; scr_battletext(); return battlewriter; }
();
25
d = 1;