|
1
|
turnspassed++;
|
|
2
|
alarm[0] = 1; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
3
|
c = 0;
|
|
4
|
var b = 1;
|
|
5
|
if (global.flag[34 disable_monster_acts] == 0)
|
|
6
|
{
|
|
7
|
if (global.hp[1] < 1)
|
|
8
|
b = 0;
|
|
9
|
if (global.hp[2] < 1)
|
|
10
|
b = 0;
|
|
11
|
if (global.hp[3] < 1)
|
|
12
|
b = 0;
|
|
13
|
}
|
|
14
|
if (b == 0)
|
|
15
|
{
|
|
16
|
}
|
|
17
|
if (b == 1)
|
|
18
|
{
|
|
19
|
global.typer = 50;
|
|
20
|
if (instance_exists(obj_sweet_enemy) && obj_sweet_enemy.dancing == 1 && obj_sweet_enemy.danceCounter == 1)
|
|
21
|
{
|
|
22
|
if (happyfeetscene == 1)
|
|
23
|
{
|
|
24
|
with (obj_sweet_enemy)
|
|
25
|
{
|
|
26
|
}
|
|
27
|
}
|
|
28
|
else
|
|
29
|
{
|
|
30
|
alarm[2] = 30; gml_Object_obj_musical_controller_Alarm_2.gml
with (obj_writer)
instance_destroy();
if (obj_sweet_enemy.hurtstate2 == 1)
{
if (obj_kk_enemy.hurtstate2 == 1 || obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_kk_enemy.hurtstate2 == 1)
{
if (obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
scr_battletext_default();
d = 1;
|
|
31
|
alarm[0] = -1; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
32
|
skiptext = 1;
|
|
33
|
with (obj_sweet_enemy)
|
|
34
|
{
|
|
35
|
hurtstate2 = 1;
|
|
36
|
instance_create(x + (sprite_width / 2), y - 12, obj_excblcon);
|
|
37
|
}
|
|
38
|
}
|
|
39
|
}
|
|
40
|
if (instance_exists(obj_hatguy_enemy) && obj_hatguy_enemy.dancing == 1 && obj_hatguy_enemy.danceCounter == 1)
|
|
41
|
{
|
|
42
|
if (happyfeetscene == 1)
|
|
43
|
{
|
|
44
|
with (obj_hatguy_enemy)
|
|
45
|
{
|
|
46
|
}
|
|
47
|
}
|
|
48
|
else
|
|
49
|
{
|
|
50
|
alarm[2] = 30; gml_Object_obj_musical_controller_Alarm_2.gml
with (obj_writer)
instance_destroy();
if (obj_sweet_enemy.hurtstate2 == 1)
{
if (obj_kk_enemy.hurtstate2 == 1 || obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_kk_enemy.hurtstate2 == 1)
{
if (obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
scr_battletext_default();
d = 1;
|
|
51
|
alarm[0] = -1; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
52
|
skiptext = 1;
|
|
53
|
with (obj_hatguy_enemy)
|
|
54
|
{
|
|
55
|
hurtstate2 = 1;
|
|
56
|
instance_create(x + (sprite_width / 2), y - 12, obj_excblcon);
|
|
57
|
}
|
|
58
|
}
|
|
59
|
}
|
|
60
|
if (instance_exists(obj_kk_enemy) && obj_kk_enemy.dancing == 1 && obj_kk_enemy.danceCounter == 1)
|
|
61
|
{
|
|
62
|
if (happyfeetscene == 1)
|
|
63
|
{
|
|
64
|
with (obj_kk_enemy)
|
|
65
|
{
|
|
66
|
}
|
|
67
|
}
|
|
68
|
else
|
|
69
|
{
|
|
70
|
alarm[2] = 30; gml_Object_obj_musical_controller_Alarm_2.gml
with (obj_writer)
instance_destroy();
if (obj_sweet_enemy.hurtstate2 == 1)
{
if (obj_kk_enemy.hurtstate2 == 1 || obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_kk_enemy.hurtstate2 == 1)
{
if (obj_hatguy_enemy.hurtstate2 == 1)
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" );
else
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
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" );
obj_sweet_enemy.stoppeddancingcounter++;
}
scr_battletext_default();
d = 1;
|
|
71
|
alarm[0] = -1; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
72
|
skiptext = 1;
|
|
73
|
with (obj_kk_enemy)
|
|
74
|
{
|
|
75
|
hurtstate2 = 1;
|
|
76
|
instance_create(x + (sprite_width / 2) + 30, y - 12, obj_excblcon);
|
|
77
|
}
|
|
78
|
}
|
|
79
|
}
|
|
80
|
with (obj_sweet_enemy)
|
|
81
|
{
|
|
82
|
if (dancing == 1)
|
|
83
|
{
|
|
84
|
danceCounter--;
|
|
85
|
if (danceCounter <= 0)
|
|
86
|
dancing = 0;
|
|
87
|
}
|
|
88
|
}
|
|
89
|
with (obj_hatguy_enemy)
|
|
90
|
{
|
|
91
|
if (dancing == 1)
|
|
92
|
{
|
|
93
|
danceCounter--;
|
|
94
|
if (danceCounter <= 0)
|
|
95
|
dancing = 0;
|
|
96
|
}
|
|
97
|
}
|
|
98
|
with (obj_kk_enemy)
|
|
99
|
{
|
|
100
|
if (dancing == 1)
|
|
101
|
{
|
|
102
|
danceCounter--;
|
|
103
|
if (danceCounter <= 0)
|
|
104
|
dancing = 0;
|
|
105
|
}
|
|
106
|
}
|
|
107
|
if (obj_musical_controller.ralseiportrait == 0)
|
|
108
|
{
|
|
109
|
with (obj_kk_enemy)
|
|
110
|
event_user(1);
|
|
111
|
}
|
|
112
|
}
|