|
1
|
if (bigshot == 1)
|
|
2
|
global.sp = 5;
|
|
3
|
if (cantspareinit == 0 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2 && i_ex(obj_battlecontroller))
|
|
4
|
{
|
|
5
|
obj_battlecontroller.cantspare[0] = 1;
|
|
6
|
cantspareinit = 1;
|
|
7
|
}
|
|
8
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2)
|
|
9
|
global.mercymod[myself] = 0;
|
|
10
|
if (global.fighting == 1)
|
|
11
|
{
|
|
12
|
if (global.monster[myself] == 1)
|
|
13
|
{
|
|
14
|
if ((scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0 && global.monsterhp[myself] <= 0 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () <= 2) || (endcon == 1 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () <= 2))
|
|
15
|
{
|
|
16
|
talked = -1;
|
|
17
|
endcon = 1;
|
|
18
|
}
|
|
19
|
if (global.monsterhp[myself] <= 1 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2)
|
|
20
|
global.monsterhp[myself] = 1;
|
|
21
|
if ((scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && global.monsterhp[myself] <= (global.monstermaxhp[myself] * 0.1) && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2 && weirdpathendcon == 0) || (talked == -1 && weirdpathendcon == 0 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2))
|
|
22
|
{
|
|
23
|
weirdpathendtimer++;
|
|
24
|
if (weirdpathendtimer == 1)
|
|
25
|
{
|
|
26
|
talked = -1;
|
|
27
|
partmode = 99;
|
|
28
|
mus_volume(global.batmusic[1], 0, 30);
|
|
29
|
}
|
|
30
|
if (weirdpathendtimer == 91)
|
|
31
|
{
|
|
32
|
talked = 0;
|
|
33
|
weirdpathendcon = 1;
|
|
34
|
}
|
|
35
|
}
|
|
36
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0)
|
|
37
|
{
|
|
38
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
39
|
if (!instance_exists(obj_darkener))
|
|
40
|
instance_create(0, 0, obj_darkener);
|
|
41
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0 && turn > 14 && weirdpathendcon == 0)
|
|
42
|
{
|
|
43
|
if (global.monsterdf[myself] > -10)
|
|
44
|
global.monsterdf[myself] -= 3;
|
|
45
|
}
|
|
46
|
ballooncon = 0;
|
|
47
|
balloonsubcon = 0;
|
|
48
|
balloonend = 1;
|
|
49
|
talkedcon = 0;
|
|
50
|
statustextupdate = 0;
|
|
51
|
with (obj_sneo_susie_act)
|
|
52
|
turnsleft -= 1;
|
|
53
|
global.typer = 72;
|
|
54
|
rr = -1;
|
|
55
|
event_user(0);
|
|
56
|
if (attackdebug >= 0)
|
|
57
|
rr = attackdebug;
|
|
58
|
if (difficultydebug >= 0)
|
|
59
|
difficulty = difficultydebug;
|
|
60
|
var final = haveusedfinalattack;
|
|
61
|
var weirdside = 0;
|
|
62
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2)
|
|
63
|
weirdside = 1;
|
|
64
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2 && weirdpathendcon > 0)
|
|
65
|
{
|
|
66
|
if (weirdpathendcon == 1)
|
|
67
|
{
|
|
68
|
msgsetloc(0, MY ESTEEM CUSTOMER I SEE YOU ARE ATTEMPTING TO DEPLETE MY HP!Wait for inputClose Message"MY ESTEEM CUSTOMER I&SEE YOU ARE ATTEMPTING&TO DEPLETE MY HP!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_86_0_b" );
|
|
69
|
ballooncon = 28;
|
|
70
|
balloonend = 0;
|
|
71
|
weirdpathendcon = 2;
|
|
72
|
}
|
|
73
|
else if (usedact == 0)
|
|
74
|
{
|
|
75
|
msgsetloc(0, ENJOY THE FIREWORKS, KID!!!!Wait for inputClose Message"ENJOY THE FIREWORKS,&KID!!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_87_0_b" );
|
|
76
|
ballooncon = 0;
|
|
77
|
balloonend = 1;
|
|
78
|
weirdpathendcon = 2;
|
|
79
|
}
|
|
80
|
else if (savemeactcon == 2)
|
|
81
|
{
|
|
82
|
msgsetloc(0, WHAT!? YOU'RE CALLING FRIENDS!?Wait for inputClose Message"WHAT!? YOU'RE&CALLING FRIENDS!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_88_0" );
|
|
83
|
ballooncon = 35;
|
|
84
|
balloonend = 0;
|
|
85
|
weirdpathendcon = 3;
|
|
86
|
}
|
|
87
|
else if (savemeactcon == 3)
|
|
88
|
{
|
|
89
|
msgsetloc(0, GO AHEAD AND [Scream] INTO THE [Receiver].Wait for inputClose Message"GO AHEAD AND&[Scream] INTO THE&[Receiver]./%", "obj_spamton_neo_enemy_slash_Step_0_gml_89_0" );
|
|
90
|
ballooncon = 38;
|
|
91
|
balloonend = 0;
|
|
92
|
weirdpathendcon = 4;
|
|
93
|
}
|
|
94
|
else if (savemeactcon == 4)
|
|
95
|
{
|
|
96
|
msgsetloc(0, THERE WILL BE NO MORE [Miracles] NO MORE [Magic].Wait for inputClose Message"THERE WILL BE NO&MORE [Miracles]&NO MORE [Magic]./%", "obj_spamton_neo_enemy_slash_Step_0_gml_90_0" );
|
|
97
|
ballooncon = 41;
|
|
98
|
balloonend = 0;
|
|
99
|
weirdpathendcon = 5;
|
|
100
|
}
|
|
101
|
else if (savemeactcon == 5)
|
|
102
|
{
|
|
103
|
msgsetloc(0, YOU MAKE ME [Sick]!Wait for inputClose Message"YOU MAKE ME [Sick]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_91_0" );
|
|
104
|
ballooncon = 43;
|
|
105
|
balloonend = 0;
|
|
106
|
weirdpathendcon = 6;
|
|
107
|
shockthreshold = 10;
|
|
108
|
hurttimer2 = 10;
|
|
109
|
partmode = 40;
|
|
110
|
}
|
|
111
|
}
|
|
112
|
else if (weirdside && balloonorder < 10 && !final)
|
|
113
|
{
|
|
114
|
if (balloonorder == 0)
|
|
115
|
{
|
|
116
|
msgsetloc(0, I REMEMBER WHEN YOU WERE JUST A LOST [Little Sponge]Wait for inputClose Message"I REMEMBER WHEN&YOU WERE JUST&A LOST [Little Sponge]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_64_0_c" );
|
|
117
|
ballooncon = 16;
|
|
118
|
balloonend = 0;
|
|
119
|
}
|
|
120
|
else if (balloonorder == 1)
|
|
121
|
{
|
|
122
|
msgsetloc(0, I GAVE YOU EVERYTHING I HAD! MY LIFE ADVICE!Wait for inputClose Message"I GAVE YOU&EVERYTHING I HAD!&MY LIFE&ADVICE!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_65_0_b" );
|
|
123
|
ballooncon = 17;
|
|
124
|
balloonend = 0;
|
|
125
|
}
|
|
126
|
else if (balloonorder == 2)
|
|
127
|
{
|
|
128
|
msgsetloc(0, I GAVE YOU MY [Commemorative Ring] FOR THE PRICE OF [My Favorite Year]!Wait for inputClose Message"I GAVE YOU MY&[Commemorative Ring]&FOR THE PRICE OF&[My Favorite Year]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_66_0_b" );
|
|
129
|
ballooncon = 0;
|
|
130
|
balloonend = 1;
|
|
131
|
}
|
|
132
|
else if (balloonorder == 3)
|
|
133
|
{
|
|
134
|
msgsetloc(0, AND THIS IS HOW YOU [Repay] ME!? TREATING ME LIKE [DLC]!?Wait for inputClose Message"AND THIS IS HOW&YOU [Repay] ME!?&TREATING ME LIKE&[DLC]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_67_0_b" );
|
|
135
|
ballooncon = 0;
|
|
136
|
balloonend = 1;
|
|
137
|
}
|
|
138
|
else if (balloonorder == 4)
|
|
139
|
{
|
|
140
|
msgsetloc(0, NO, I GET IT! IT'S YOU AND THAT [Hochi Mama]!Wait for inputClose Message"NO, I GET IT!&IT'S YOU AND&THAT [Hochi Mama]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_68_0_b" );
|
|
141
|
ballooncon = 18;
|
|
142
|
balloonend = 0;
|
|
143
|
}
|
|
144
|
else if (balloonorder == 5)
|
|
145
|
{
|
|
146
|
msgsetloc(0, YOU'VE BEEN MAKING [Hyperlink Blocked]!Wait for inputClose Message"YOU'VE BEEN&MAKING&[Hyperlink Blocked]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_69_0_c" );
|
|
147
|
ballooncon = 19;
|
|
148
|
balloonend = 0;
|
|
149
|
}
|
|
150
|
else if (balloonorder == 6)
|
|
151
|
{
|
|
152
|
msgsetloc(0, I WAS TOO [Trusting] TOO [Honest]Wait for inputClose Message"I WAS TOO [Trusting]&TOO [Honest]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_70_0_c" );
|
|
153
|
ballooncon = 20;
|
|
154
|
balloonend = 0;
|
|
155
|
}
|
|
156
|
else if (balloonorder == 7)
|
|
157
|
{
|
|
158
|
msgsetloc(0, I SHOULD HAVE KNOWN YOU WOULD HAVE USED MY [Ring] FOR [Evil]...Wait for inputClose Message"I SHOULD HAVE&KNOWN YOU WOULD&HAVE USED MY [Ring]&FOR [Evil].../%", "obj_spamton_neo_enemy_slash_Step_0_gml_71_0_b" );
|
|
159
|
ballooncon = 21;
|
|
160
|
balloonend = 0;
|
|
161
|
}
|
|
162
|
else if (balloonorder == 8)
|
|
163
|
{
|
|
164
|
msgsetloc(0, YOU THINK MAKING [Frozen Chicken] WITH YOUR [Side Chick]Wait for inputClose Message"YOU THINK MAKING&[Frozen Chicken]&WITH YOUR&[Side Chick]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_72_0_b" );
|
|
165
|
ballooncon = 22;
|
|
166
|
balloonend = 0;
|
|
167
|
}
|
|
168
|
else if (balloonorder == 9)
|
|
169
|
{
|
|
170
|
msgsetloc(0, WELL, YOU'RE [$!$!] RIGHT! BUT DON'T BLAME MEWait for inputClose Message"WELL, YOU'RE&[$!$!] RIGHT!&BUT DON'T BLAME&ME/%", "obj_spamton_neo_enemy_slash_Step_0_gml_73_0_b" );
|
|
171
|
ballooncon = 23;
|
|
172
|
balloonend = 0;
|
|
173
|
}
|
|
174
|
balloonorder++;
|
|
175
|
}
|
|
176
|
else if (rr == 0 && difficulty == 1 && !weirdside && !final)
|
|
177
|
{
|
|
178
|
msgsetloc(0, KRIS! ISN'T THIS [Body] JUST [Heaven]LY!?Wait for inputClose Message"KRIS! ISN'T THIS&[Body] JUST [Heaven]LY!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_56_0" );
|
|
179
|
ballooncon = 1;
|
|
180
|
balloonend = 0;
|
|
181
|
}
|
|
182
|
else if (rr == 6 && difficulty == 0 && !weirdside && !final)
|
|
183
|
{
|
|
184
|
msgsetloc(0, WE'LL TURN THOSE [Schmoes] AND [Daves] INTO [Rosen Graves]Wait for inputClose Message"WE'LL TURN THOSE&[Schmoes] AND [Daves]&INTO [Rosen Graves]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_57_0" );
|
|
185
|
ballooncon = 2;
|
|
186
|
balloonend = 0;
|
|
187
|
}
|
|
188
|
else if (rr == 8 && difficulty == 0 && !weirdside && !final)
|
|
189
|
{
|
|
190
|
msgsetloc(0, ALL YOU GOTTA DO IS [Big].Wait for inputClose Message"ALL YOU GOTTA&DO IS [Big]./%", "obj_spamton_neo_enemy_slash_Step_0_gml_58_0_b" );
|
|
191
|
ballooncon = 3;
|
|
192
|
balloonend = 0;
|
|
193
|
}
|
|
194
|
else if (rr == 2 && difficulty == 0 && !weirdside && !final)
|
|
195
|
{
|
|
196
|
msgsetloc(0, KRIS, DON'T YOU WANNA BE [Part] OF MY BEAUTIFUL [Heart]?!Wait for inputClose Message"KRIS, DON'T YOU&WANNA BE [Part]&OF MY BEAUTIFUL [Heart]?!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_59_0_b" );
|
|
197
|
ballooncon = 4;
|
|
198
|
balloonend = 0;
|
|
199
|
}
|
|
200
|
else if (rr == 8.5 && difficulty == 0 && !weirdside && !final)
|
|
201
|
{
|
|
202
|
msgsetloc(0, IT'S CALLING, KRIS... MY [Heart]... MY [Hands]...Wait for inputClose Message"IT'S CALLING, KRIS...&MY [Heart]...&MY [Hands].../%", "obj_spamton_neo_enemy_slash_Step_0_gml_60_0" );
|
|
203
|
ballooncon = 0;
|
|
204
|
balloonend = 1;
|
|
205
|
}
|
|
206
|
else if (rr == 7 && faceattackcount == 0 && !weirdside && !final)
|
|
207
|
{
|
|
208
|
msgsetloc(0, KRIS! CAN YOU REALLY LOOK IN MY [Eyes] AND SAY NO!?Wait for inputClose Message"KRIS!&CAN YOU REALLY&LOOK IN MY [Eyes]&AND SAY NO!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_61_0" );
|
|
209
|
ballooncon = 5;
|
|
210
|
balloonend = 0;
|
|
211
|
}
|
|
212
|
else if (rr == 0 && difficulty == 3 && !weirdside && !final)
|
|
213
|
{
|
|
214
|
msgsetloc(0, KRIS, I'LL EVEN GIVE YOU A [Free Value]Wait for inputClose Message"KRIS, I'LL EVEN&GIVE YOU A&[Free Value]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_62_0" );
|
|
215
|
ballooncon = 6;
|
|
216
|
balloonend = 0;
|
|
217
|
}
|
|
218
|
else if (rr == 2 && difficulty == 2 && !weirdside && !final)
|
|
219
|
{
|
|
220
|
msgsetloc(0, I CAN'T STAND IT!!! I THINK I'M GONNA HAVE A [HeartAttack]!Wait for inputClose Message"I CAN'T STAND IT!!!&I THINK I'M GONNA&HAVE A [HeartAttack]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_63_0_b" );
|
|
221
|
ballooncon = 0;
|
|
222
|
balloonend = 1;
|
|
223
|
}
|
|
224
|
else if (rr == 8 && difficulty == 1 && !weirdside && !final)
|
|
225
|
{
|
|
226
|
msgsetloc(0, DON'T YOU WANNA HELP YOUR OLD PAL SPAMTON?Wait for inputClose Message"DON'T YOU&WANNA HELP YOUR&OLD PAL SPAMTON?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_64_0_b" );
|
|
227
|
ballooncon = 7;
|
|
228
|
balloonend = 0;
|
|
229
|
}
|
|
230
|
else if (rr == 8.5 && difficulty == 2 && !weirdside && !final)
|
|
231
|
{
|
|
232
|
msgsetloc(0, [Friends]!? KRIS!? WHAT ARE YOU TALKING ABOUT!?Wait for inputClose Message"[Friends]!? KRIS!?&WHAT ARE YOU&TALKING ABOUT!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_65_0" );
|
|
233
|
ballooncon = 8;
|
|
234
|
balloonend = 0;
|
|
235
|
}
|
|
236
|
else if (rr == 7 && faceattackcount == 1 && !weirdside && !final)
|
|
237
|
{
|
|
238
|
msgsetloc(0, KRIS. IF YOU GIVE ME THAT [Soul] I WILL GIVE YOU EVERYTHING I HAVE.Wait for inputClose Message"KRIS. IF YOU GIVE&ME THAT [Soul] I&WILL GIVE YOU&EVERYTHING I HAVE./%", "obj_spamton_neo_enemy_slash_Step_0_gml_66_0" );
|
|
239
|
ballooncon = 10;
|
|
240
|
balloonend = 0;
|
|
241
|
}
|
|
242
|
else if (rr == 6 && difficulty == 1 && !weirdside && !final)
|
|
243
|
{
|
|
244
|
msgsetloc(0, BUT KRIS, IF YOU REFUSE. THAT'S YOUR CHOICE. I CAN'T FORCE YOU.Wait for inputClose Message"BUT KRIS, IF YOU&REFUSE. THAT'S YOUR&CHOICE. I CAN'T&FORCE YOU./%", "obj_spamton_neo_enemy_slash_Step_0_gml_67_0" );
|
|
245
|
ballooncon = 11;
|
|
246
|
balloonend = 0;
|
|
247
|
}
|
|
248
|
else if (rr == 2 && difficulty == 1 && !weirdside && !final)
|
|
249
|
{
|
|
250
|
msgsetloc(0, KRIS!!! TAKE THE DEAL!!! TAKE IT!!!Wait for inputClose Message"KRIS!!! TAKE THE&DEAL!!! TAKE IT!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_69_0_b" );
|
|
251
|
ballooncon = 12;
|
|
252
|
balloonend = 0;
|
|
253
|
}
|
|
254
|
else if (rr == 8 && difficulty == 3 && !weirdside && !final)
|
|
255
|
{
|
|
256
|
msgsetloc(0, OR... DID YOU WANT TO BE...Wait for inputClose Message"OR...&DID YOU WANT&TO BE.../%", "obj_spamton_neo_enemy_slash_Step_0_gml_121_0" );
|
|
257
|
ballooncon = 13;
|
|
258
|
balloonend = 0;
|
|
259
|
}
|
|
260
|
else if (rr == 9 && finalattackconversationcon == 0 && !weirdside)
|
|
261
|
{
|
|
262
|
msgsetloc(0, KRIS... I WON'T FORCE YOU. I CAN'T. I CAN'T FORCE YOU.Wait for inputClose Message"KRIS...&I WON'T FORCE YOU.&I CAN'T.&I CAN'T FORCE YOU./%", "obj_spamton_neo_enemy_slash_Step_0_gml_93_0" );
|
|
263
|
ballooncon = 25;
|
|
264
|
balloonend = 0;
|
|
265
|
finalattackconversationcon = 1;
|
|
266
|
}
|
|
267
|
else
|
|
268
|
{
|
|
269
|
var rrr = choose(0, 1, 2, 3);
|
|
270
|
if (rrr == 0)
|
|
271
|
{
|
|
272
|
if (statustextalt2 == 0)
|
|
273
|
{
|
|
274
|
msgsetloc(0, CAN A [Little Sponge] DO THIS?Wait for inputClose Message"CAN A [Little&Sponge] DO THIS?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_86_0" );
|
|
275
|
ballooncon = 15;
|
|
276
|
balloonend = 0;
|
|
277
|
}
|
|
278
|
if (statustextalt2 == 1)
|
|
279
|
{
|
|
280
|
msgsetloc(0, [BreaKing] and [CracKing]Wait for inputClose Message"[BreaKing] and&[CracKing]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_87_0" );
|
|
281
|
balloonend = 1;
|
|
282
|
}
|
|
283
|
statustextalt2++;
|
|
284
|
if (statustextalt2 > 1)
|
|
285
|
statustextalt2 = 0;
|
|
286
|
}
|
|
287
|
if (rrr == 1)
|
|
288
|
{
|
|
289
|
if (statustextalt == 0)
|
|
290
|
msgsetloc(0, [The Smooth Taste Of] NEOWait for inputClose Message"[The Smooth&Taste Of] NEO/%", "obj_spamton_neo_enemy_slash_Step_0_gml_58_0" );
|
|
291
|
if (statustextalt == 1)
|
|
292
|
msgsetloc(0, THE [@$@!] TASTE OF SPAMTONWait for inputClose Message"THE [@$@!] TASTE&OF SPAMTON/%", "obj_spamton_neo_enemy_slash_Step_0_gml_59_0" );
|
|
293
|
statustextalt++;
|
|
294
|
if (statustextalt > 1)
|
|
295
|
statustextalt = 0;
|
|
296
|
}
|
|
297
|
if (rrr == 2)
|
|
298
|
msgsetloc(0, DON'T YOU WANNA BE A BIG SHOT?Wait for inputClose Message"DON'T YOU&WANNA BE A&BIG SHOT?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_63_0" );
|
|
299
|
if (rrr == 3)
|
|
300
|
msgsetloc(0, [Clown]!? NO!!! I FEEL SICK!!!Wait for inputClose Message"[Clown]!? NO!!!&I FEEL SICK!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_64_0" );
|
|
301
|
}
|
|
302
|
usedact = 0;
|
|
303
|
if (correct_answer != 1)
|
|
304
|
{
|
|
305
|
global.typer = 72;
|
|
306
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
307
|
}
|
|
308
|
correct_answer = -1;
|
|
309
|
if (ballooncon == 0)
|
|
310
|
{
|
|
311
|
talked = 1;
|
|
312
|
talktimer = 0;
|
|
313
|
}
|
|
314
|
else
|
|
315
|
{
|
|
316
|
talked = 0.6;
|
|
317
|
talktimer = 0;
|
|
318
|
}
|
|
319
|
}
|
|
320
|
if (talked == 0.6)
|
|
321
|
{
|
|
322
|
talktimer++;
|
|
323
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
324
|
{
|
|
325
|
with (obj_writer)
|
|
326
|
instance_destroy();
|
|
327
|
if (ballooncon == 1)
|
|
328
|
{
|
|
329
|
msgsetloc(0, 3X THE [Fire]POWER. 2X THE [Water]POWER. AND BEST OF ALL, FLYING [Heads]!Wait for inputClose Message"3X THE [Fire]POWER.&2X THE [Water]POWER.&AND BEST OF ALL,&FLYING [Heads]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_136_0" );
|
|
330
|
ballooncon = 0;
|
|
331
|
balloonend = 1;
|
|
332
|
}
|
|
333
|
else if (ballooncon == 2)
|
|
334
|
{
|
|
335
|
msgsetloc(0, THOSE [Cathode Screens] INTO [Cathode Screams]Wait for inputClose Message"THOSE [Cathode Screens]&INTO [Cathode Screams]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_137_0" );
|
|
336
|
ballooncon = 0;
|
|
337
|
balloonend = 1;
|
|
338
|
}
|
|
339
|
else if (ballooncon == 3)
|
|
340
|
{
|
|
341
|
msgsetloc(0, THEN WE'LL BE THE ONES MAKING THE [Calls], KRIS!Wait for inputClose Message"THEN WE'LL BE&THE ONES MAKING&THE [Calls], KRIS!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_138_0" );
|
|
342
|
ballooncon = 0;
|
|
343
|
balloonend = 1;
|
|
344
|
}
|
|
345
|
else if (ballooncon == 4)
|
|
346
|
{
|
|
347
|
msgsetloc(0, OR... DID YOU NEED A LITTLE [Specil Tour]?Wait for inputClose Message"OR... DID YOU NEED&A LITTLE&[Specil Tour]?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_139_0" );
|
|
348
|
ballooncon = 0;
|
|
349
|
balloonend = 1;
|
|
350
|
}
|
|
351
|
else if (ballooncon == 5)
|
|
352
|
{
|
|
353
|
msgsetloc(0, LOOK IN MY [Eyes] LOOK IN MY [Nose] LOOK IN MY [Mouth]Wait for inputClose Message"LOOK IN MY [Eyes]&LOOK IN MY [Nose]&LOOK IN MY [Mouth]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_140_0" );
|
|
354
|
ballooncon = 0;
|
|
355
|
balloonend = 1;
|
|
356
|
}
|
|
357
|
else if (ballooncon == 6)
|
|
358
|
{
|
|
359
|
msgsetloc(0, [Die Now] AND I'LL THROW IN [50] [Bullets] FOR FREE!Wait for inputClose Message"[Die Now] AND I'LL&THROW IN [50]&[Bullets] FOR FREE!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_141_0" );
|
|
360
|
ballooncon = 0;
|
|
361
|
balloonend = 1;
|
|
362
|
}
|
|
363
|
else if (ballooncon == 7)
|
|
364
|
{
|
|
365
|
msgsetloc(0, KRIS!! THINK!! WHAT ARE MY [Eggs] GOING TO DO!?Wait for inputClose Message"KRIS!! THINK!!&WHAT ARE MY&[Eggs] GOING TO DO!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_142_0" );
|
|
366
|
ballooncon = 0;
|
|
367
|
balloonend = 1;
|
|
368
|
}
|
|
369
|
else if (ballooncon == 8)
|
|
370
|
{
|
|
371
|
msgsetloc(0, YOU DON'T NEED [Friends]!!Wait for inputClose Message"YOU DON'T NEED [Friends]!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_143_0" );
|
|
372
|
ballooncon = 9;
|
|
373
|
balloonend = 0;
|
|
374
|
}
|
|
375
|
else if (ballooncon == 9)
|
|
376
|
{
|
|
377
|
msgsetloc(0, I CAN MAKE MY HANDS INTO PHONES!!!Wait for inputClose Message"I CAN MAKE MY&HANDS INTO&PHONES!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_144_0" );
|
|
378
|
ballooncon = 0;
|
|
379
|
balloonend = 1;
|
|
380
|
}
|
|
381
|
else if (ballooncon == 10)
|
|
382
|
{
|
|
383
|
msgsetloc(0, I WILL GIVE YOU [3 Easy Payments of $9.99!]Wait for inputClose Message"I WILL GIVE YOU&[3 Easy Payments&of $9.99!]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_145_0" );
|
|
384
|
ballooncon = 0;
|
|
385
|
balloonend = 1;
|
|
386
|
}
|
|
387
|
else if (ballooncon == 11)
|
|
388
|
{
|
|
389
|
msgsetloc(0, I CAN ONLY [Kill] YOU [50-percent faster than similar products] OR [No Money Back!]Wait for inputClose Message"I CAN ONLY [Kill]&YOU [50-percent faster&than similar products]&OR [No Money Back!]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_146_0" );
|
|
390
|
ballooncon = 0;
|
|
391
|
balloonend = 1;
|
|
392
|
}
|
|
393
|
else if (ballooncon == 12)
|
|
394
|
{
|
|
395
|
msgsetloc(0, DO YOU WANNA BE A [Heart] ON A [Chain] YOUR WHOLE LIFE!?Wait for inputClose Message"DO YOU WANNA BE&A [Heart] ON A [Chain]&YOUR WHOLE LIFE!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_147_0" );
|
|
396
|
ballooncon = 0;
|
|
397
|
balloonend = 1;
|
|
398
|
}
|
|
399
|
else if (ballooncon == 13)
|
|
400
|
{
|
|
401
|
msgsetloc(0, Did you wanna be...Wait for inputClose Message"Did you wanna&be.../%", "obj_spamton_neo_enemy_slash_Step_0_gml_163_0" );
|
|
402
|
ballooncon = 0;
|
|
403
|
balloonend = 1;
|
|
404
|
}
|
|
405
|
else if (ballooncon == 15)
|
|
406
|
{
|
|
407
|
msgsetloc(0, GO [Ga-Ga] AND [Die]Wait for inputClose Message"GO [Ga-Ga]&AND [Die]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_173_0" );
|
|
408
|
ballooncon = 0;
|
|
409
|
balloonend = 1;
|
|
410
|
}
|
|
411
|
else if (ballooncon == 16)
|
|
412
|
{
|
|
413
|
msgsetloc(0, SLEEPING AT THE BOTTOM OF A DUMPSTER!Wait for inputClose Message"SLEEPING AT&THE BOTTOM OF&A DUMPSTER!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_174_0" );
|
|
414
|
ballooncon = 0;
|
|
415
|
balloonend = 1;
|
|
416
|
}
|
|
417
|
else if (ballooncon == 17)
|
|
418
|
{
|
|
419
|
msgsetloc(0, I TOLD YOU [4 Left] AND ASKED YOU [Buy] OR [Don't Buy]!Wait for inputClose Message"I TOLD YOU&[4 Left]&AND ASKED YOU&[Buy] OR [Don't Buy]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_175_0" );
|
|
420
|
ballooncon = 0;
|
|
421
|
balloonend = 1;
|
|
422
|
}
|
|
423
|
else if (ballooncon == 18)
|
|
424
|
{
|
|
425
|
msgsetloc(0, YOU'VE BEEN [Making], HAVEN'T YOU!Wait for inputClose Message"YOU'VE BEEN&[Making],&HAVEN'T YOU!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_176_0" );
|
|
426
|
ballooncon = 0;
|
|
427
|
balloonend = 1;
|
|
428
|
}
|
|
429
|
else if (ballooncon == 19)
|
|
430
|
{
|
|
431
|
msgsetloc(0, AND NOW THAT YOU HAVE YOUR OWN SUPPLY, YOU DON'T NEED ME!!!Wait for inputClose Message"AND NOW THAT&YOU HAVE YOUR&OWN SUPPLY,&YOU DON'T NEED ME!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_177_0" );
|
|
432
|
ballooncon = 0;
|
|
433
|
balloonend = 1;
|
|
434
|
}
|
|
435
|
else if (ballooncon == 20)
|
|
436
|
{
|
|
437
|
msgsetloc(0, I'VE ALWAYS BEEN A MAN OF THE [PIPIS]. A REAL [PIPIS] PERSON!Wait for inputClose Message"I'VE ALWAYS BEEN&A MAN OF THE [PIPIS].&A REAL [PIPIS]&PERSON!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_178_0" );
|
|
438
|
ballooncon = 0;
|
|
439
|
balloonend = 1;
|
|
440
|
}
|
|
441
|
else if (ballooncon == 21)
|
|
442
|
{
|
|
443
|
msgsetloc(0, OH, [Right]. THAT'S WHY I SOLD IT TO YOUWait for inputClose Message"OH, [Right].&THAT'S WHY I SOLD&IT TO YOU/%", "obj_spamton_neo_enemy_slash_Step_0_gml_179_0" );
|
|
444
|
ballooncon = 0;
|
|
445
|
balloonend = 1;
|
|
446
|
}
|
|
447
|
else if (ballooncon == 22)
|
|
448
|
{
|
|
449
|
msgsetloc(0, IS GONNA LET YOU DRINK UP THAT [Sweet, Sweet] [Freedom Sauce]?Wait for inputClose Message"IS GONNA LET&YOU DRINK UP&THAT [Sweet, Sweet]&[Freedom Sauce]?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_180_0" );
|
|
450
|
ballooncon = 0;
|
|
451
|
balloonend = 1;
|
|
452
|
}
|
|
453
|
else if (ballooncon == 23)
|
|
454
|
{
|
|
455
|
msgsetloc(0, WHEN YOU'RE [Crying] IN A [Broken Home] WISHING YOU LET YOUR OLD PAL SPAMTONWait for inputClose Message"WHEN YOU'RE [Crying]&IN A [Broken Home]&WISHING YOU LET&YOUR OLD PAL&SPAMTON/%", "obj_spamton_neo_enemy_slash_Step_0_gml_181_0" );
|
|
456
|
ballooncon = 24;
|
|
457
|
balloonend = 0;
|
|
458
|
}
|
|
459
|
else if (ballooncon == 24)
|
|
460
|
{
|
|
461
|
msgsetloc(0, [Kill You]Wait for inputClose Message"[Kill You]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_182_0" );
|
|
462
|
ballooncon = 0;
|
|
463
|
balloonend = 1;
|
|
464
|
}
|
|
465
|
else if (ballooncon == 25)
|
|
466
|
{
|
|
467
|
msgsetloc(0, BUT JUST LOOK, KRIS. LOOK AT THE [Power of NEO] AND ASK YOURSELF...Wait for inputClose Message"BUT JUST LOOK, KRIS.&LOOK AT THE [Power of&NEO] AND ASK YOURSELF.../%", "obj_spamton_neo_enemy_slash_Step_0_gml_207_0" );
|
|
468
|
ballooncon = 26;
|
|
469
|
balloonend = 0;
|
|
470
|
}
|
|
471
|
else if (ballooncon == 26)
|
|
472
|
{
|
|
473
|
msgsetloc(0, WELL, DON'T YOU?Wait for inputClose Message"WELL, DON'T YOU?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_208_0" );
|
|
474
|
ballooncon = 27;
|
|
475
|
balloonend = 0;
|
|
476
|
}
|
|
477
|
else if (ballooncon == 27)
|
|
478
|
{
|
|
479
|
msgsetloc(0, DON'T YOU WANNA BE A [Big Shot]!?Wait for inputClose Message"DON'T YOU WANNA&BE A [Big Shot]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_209_0" );
|
|
480
|
ballooncon = 0;
|
|
481
|
balloonend = 1;
|
|
482
|
}
|
|
483
|
else if (ballooncon == 28)
|
|
484
|
{
|
|
485
|
msgsetloc(0, I'LL ADMIT YOU'VE GOT SOME [Guts] KID!Wait for inputClose Message"I'LL ADMIT YOU'VE&GOT SOME [Guts]&KID!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_211_0" );
|
|
486
|
ballooncon = 29;
|
|
487
|
balloonend = 0;
|
|
488
|
}
|
|
489
|
else if (ballooncon == 29)
|
|
490
|
{
|
|
491
|
msgsetloc(0, BUT IN A [1 for 1] BATTLE, NEO NEVER LOSES!!!Wait for inputClose Message"BUT IN A [1 for 1]&BATTLE, NEO&NEVER LOSES!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_212_0" );
|
|
492
|
ballooncon = 30;
|
|
493
|
balloonend = 0;
|
|
494
|
}
|
|
495
|
else if (ballooncon == 30)
|
|
496
|
{
|
|
497
|
msgsetloc(0, IT'S TIME FOR A LITTLE [Bluelight Specil]Wait for inputClose Message"IT'S TIME FOR A&LITTLE [Bluelight Specil]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_213_0" );
|
|
498
|
ballooncon = 31;
|
|
499
|
balloonend = 0;
|
|
500
|
}
|
|
501
|
else if (ballooncon == 31)
|
|
502
|
{
|
|
503
|
msgsetloc(0, * Spamton Neo's ATTACK dropped! * Spamton Neo's DEFENSE rose greatly!Wait for inputClose Message"* Spamton Neo's ATTACK dropped!&* Spamton Neo's DEFENSE rose greatly!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_214_0" );
|
|
504
|
ballooncon = 32;
|
|
505
|
balloonend = 0;
|
|
506
|
specialcon = 1;
|
|
507
|
snd_play(snd_cardrive);
|
|
508
|
}
|
|
509
|
else if (ballooncon == 32)
|
|
510
|
{
|
|
511
|
msgsetloc(0, DIDN'T YOU KNOW [Neo] IS FAMOUS FOR ITS HIGH DEFENSE!?Wait for inputClose Message"DIDN'T YOU KNOW&[Neo] IS FAMOUS FOR&ITS HIGH DEFENSE!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_217_0" );
|
|
512
|
ballooncon = 33;
|
|
513
|
balloonend = 0;
|
|
514
|
partmode = 1;
|
|
515
|
snd_free(global.currentsong[1]);
|
|
516
|
global.currentsong[0] = snd_init("spamton_neo_meeting.ogg");
|
|
517
|
global.currentsong[1] = mus_play(global.currentsong[0]);
|
|
518
|
mus_loop(global.currentsong[0]);
|
|
519
|
snd_pitch(global.currentsong[0], 1.8);
|
|
520
|
}
|
|
521
|
else if (ballooncon == 33)
|
|
522
|
{
|
|
523
|
msgsetloc(0, NOW... ENJ0Y THE FIR3WORKS, KID!!!Wait for inputClose Message"NOW... ENJ0Y THE&FIR3WORKS, KID!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_225_0" );
|
|
524
|
ballooncon = 0;
|
|
525
|
balloonend = 1;
|
|
526
|
savemeactcon = 1;
|
|
527
|
event_user(1);
|
|
528
|
}
|
|
529
|
else if (ballooncon == 35)
|
|
530
|
{
|
|
531
|
msgsetloc(0, YOU THINK YOU CAN BEAT ME WITH YOUR FRIENDS' [Magic]!?Wait for inputClose Message"YOU THINK YOU&CAN BEAT ME WITH&YOUR FRIENDS' [Magic]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_227_0" );
|
|
532
|
ballooncon = 36;
|
|
533
|
balloonend = 0;
|
|
534
|
}
|
|
535
|
else if (ballooncon == 36)
|
|
536
|
{
|
|
537
|
msgsetloc(0, GO AHEAD, [Kid]... CALL ALL YOU WANT!Wait for inputClose Message"GO AHEAD, [Kid]...&CALL ALL YOU WANT!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_228_0" );
|
|
538
|
ballooncon = 37;
|
|
539
|
balloonend = 0;
|
|
540
|
}
|
|
541
|
else if (ballooncon == 37)
|
|
542
|
{
|
|
543
|
msgsetloc(0, NO ONE WILL EVER PICK UPWait for inputClose Message"NO ONE WILL&EVER PICK UP/%", "obj_spamton_neo_enemy_slash_Step_0_gml_229_0" );
|
|
544
|
ballooncon = 0;
|
|
545
|
balloonend = 1;
|
|
546
|
}
|
|
547
|
else if (ballooncon == 38)
|
|
548
|
{
|
|
549
|
msgsetloc(0, THE [Voice] RUNS OUT EVENTUALLYWait for inputClose Message"THE [Voice] RUNS&OUT EVENTUALLY/%", "obj_spamton_neo_enemy_slash_Step_0_gml_231_0" );
|
|
550
|
ballooncon = 39;
|
|
551
|
balloonend = 0;
|
|
552
|
}
|
|
553
|
else if (ballooncon == 39)
|
|
554
|
{
|
|
555
|
msgsetloc(0, YOUR [Voice] THEIR [Voice]Wait for inputClose Message"YOUR [Voice]&THEIR [Voice]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_232_0" );
|
|
556
|
ballooncon = 40;
|
|
557
|
balloonend = 0;
|
|
558
|
}
|
|
559
|
else if (ballooncon == 40)
|
|
560
|
{
|
|
561
|
msgsetloc(0, UNTIL YOU REALIZE YOU ARE ALL ALONEWait for inputClose Message"UNTIL YOU REALIZE&YOU ARE ALL ALONE/%", "obj_spamton_neo_enemy_slash_Step_0_gml_233_0" );
|
|
562
|
ballooncon = 0;
|
|
563
|
balloonend = 1;
|
|
564
|
}
|
|
565
|
else if (ballooncon == 41)
|
|
566
|
{
|
|
567
|
msgsetloc(0, YOU LOST IT WHEN YOU TRIED TO SEE TOO FAR....Wait for inputClose Message"YOU LOST IT WHEN&YOU TRIED TO SEE&TOO FAR..../%", "obj_spamton_neo_enemy_slash_Step_0_gml_235_0" );
|
|
568
|
ballooncon = 42;
|
|
569
|
balloonend = 0;
|
|
570
|
}
|
|
571
|
else if (ballooncon == 42)
|
|
572
|
{
|
|
573
|
msgsetloc(0, ... YOU LOST IT...Wait for inputClose Message"... YOU LOST IT.../%", "obj_spamton_neo_enemy_slash_Step_0_gml_236_0" );
|
|
574
|
ballooncon = 0;
|
|
575
|
balloonend = 1;
|
|
576
|
}
|
|
577
|
else if (ballooncon == 43)
|
|
578
|
{
|
|
579
|
msgsetloc(0, MUTTERING YOUR [Lost Friends] NAMES AT THE BOTTOM OF A [Dumpster]!Wait for inputClose Message"MUTTERING YOUR&[Lost Friends] NAMES&AT THE BOTTOM OF&A [Dumpster]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_238_0" );
|
|
580
|
ballooncon = 44;
|
|
581
|
balloonend = 0;
|
|
582
|
partmode = 40;
|
|
583
|
}
|
|
584
|
else if (ballooncon == 44)
|
|
585
|
{
|
|
586
|
msgsetloc(0, NO ONE'S GONNA HELP YOU!!!Wait for inputClose Message"NO ONE'S GONNA&HELP YOU!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_239_0" );
|
|
587
|
ballooncon = 45;
|
|
588
|
balloonend = 0;
|
|
589
|
}
|
|
590
|
else if (ballooncon == 45)
|
|
591
|
{
|
|
592
|
msgsetloc(0, GET THAT THROUGH YOUR [Beautiful Head], YOU LITTLE [Worm]!Wait for inputClose Message"GET THAT THROUGH&YOUR [Beautiful Head],&YOU LITTLE [Worm]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_240_0" );
|
|
593
|
ballooncon = 0;
|
|
594
|
balloonend = 1;
|
|
595
|
weirdpathendcon = 7;
|
|
596
|
}
|
|
597
|
talked = 0.7;
|
|
598
|
talktimer = 0;
|
|
599
|
if (correct_answer != 1)
|
|
600
|
{
|
|
601
|
if (ballooncon == 32)
|
|
602
|
{
|
|
603
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
604
|
}
|
|
605
|
else
|
|
606
|
{
|
|
607
|
global.typer = 72;
|
|
608
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
609
|
}
|
|
610
|
}
|
|
611
|
correct_answer = -1;
|
|
612
|
alarm[6] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_6.gml
if (endcon > 0)
{
if (balloonend == 1)
{
endcon = 4;
}
else
{
endcon = 2;
talktimer = 0;
}
}
else if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
613
|
}
|
|
614
|
}
|
|
615
|
if (talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && !i_ex(obj_choicer_neo))
|
|
616
|
{
|
|
617
|
talktimer++;
|
|
618
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
619
|
{
|
|
620
|
with (obj_writer)
|
|
621
|
instance_destroy();
|
|
622
|
talkedcon = 1;
|
|
623
|
}
|
|
624
|
if (talkedcon == 1)
|
|
625
|
{
|
|
626
|
if (partmode == 40)
|
|
627
|
{
|
|
628
|
partmode = 1;
|
|
629
|
shockthreshold = 0;
|
|
630
|
hurttimer2 = 0;
|
|
631
|
}
|
|
632
|
rtimer = 0;
|
|
633
|
if (!instance_exists(obj_spamton_cherub))
|
|
634
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 2;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
} (-1);
|
|
635
|
else
|
|
636
|
talktimer += 1;
|
|
637
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets"))
|
|
638
|
{
|
|
639
|
if (attackdebug >= 0)
|
|
640
|
rr = attackdebug;
|
|
641
|
if (difficultydebug >= 0)
|
|
642
|
difficulty = difficultydebug;
|
|
643
|
if (!instance_exists(obj_growtangle))
|
|
644
|
{
|
|
645
|
instance_create(__view_get(e__VW.XView, 0) + 245, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
646
|
if (rr == 0)
|
|
647
|
{
|
|
648
|
obj_growtangle.x += 54;
|
|
649
|
obj_growtangle.maxxscale = 3.2;
|
|
650
|
obj_growtangle.maxyscale = 1.5;
|
|
651
|
chargesfxtimer = 0;
|
|
652
|
dance_timer = 0;
|
|
653
|
armaim = -80;
|
|
654
|
if (difficulty == 3)
|
|
655
|
{
|
|
656
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
657
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (x + 50, y, 8);
|
|
658
|
with (obj_sneo_vine_cut)
|
|
659
|
hide = 1;
|
|
660
|
with (obj_sneo_vine_transition)
|
|
661
|
hide = 1;
|
|
662
|
}
|
|
663
|
}
|
|
664
|
if (rr == 3)
|
|
665
|
{
|
|
666
|
obj_growtangle.x += 44;
|
|
667
|
obj_growtangle.y += 54;
|
|
668
|
obj_growtangle.maxxscale = 2;
|
|
669
|
obj_growtangle.maxyscale = 2;
|
|
670
|
}
|
|
671
|
if (rr == 5)
|
|
672
|
{
|
|
673
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
674
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (x + 200, y, 8);
|
|
675
|
with (obj_sneo_vine_cut)
|
|
676
|
hide = 1;
|
|
677
|
with (obj_sneo_vine_transition)
|
|
678
|
hide = 1;
|
|
679
|
}
|
|
680
|
if (rr == 7)
|
|
681
|
{
|
|
682
|
obj_growtangle.x += 15;
|
|
683
|
obj_growtangle.maxxscale = 2;
|
|
684
|
obj_growtangle.maxyscale = 2;
|
|
685
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
686
|
}
|
|
687
|
else if (rr == 8)
|
|
688
|
{
|
|
689
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
690
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (x, cameray() + 20, 8);
|
|
691
|
with (obj_sneo_vine_cut)
|
|
692
|
hide = 1;
|
|
693
|
with (obj_sneo_vine_transition)
|
|
694
|
hide = 1;
|
|
695
|
}
|
|
696
|
else if (rr == 8.5 || rr == 4)
|
|
697
|
{
|
|
698
|
obj_growtangle.x += 64;
|
|
699
|
obj_growtangle.y += 8;
|
|
700
|
obj_growtangle.maxxscale = 3.2;
|
|
701
|
obj_growtangle.maxyscale = 1.5;
|
|
702
|
}
|
|
703
|
else if (rr == 6)
|
|
704
|
{
|
|
705
|
obj_growtangle.x += 58;
|
|
706
|
obj_growtangle.maxxscale = 3.3333333333333335;
|
|
707
|
obj_growtangle.maxyscale = 2.3;
|
|
708
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
709
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (x + 200, y, 16);
|
|
710
|
with (obj_sneo_vine_cut)
|
|
711
|
hide = 1;
|
|
712
|
with (obj_sneo_vine_transition)
|
|
713
|
hide = 1;
|
|
714
|
}
|
|
715
|
else if (rr == 9)
|
|
716
|
{
|
|
717
|
obj_growtangle.y += 10;
|
|
718
|
obj_growtangle.maxyscale = 1.9;
|
|
719
|
obj_growtangle.maxxscale = 2.5;
|
|
720
|
}
|
|
721
|
}
|
|
722
|
if (!instance_exists(obj_moveheart) && !instance_exists(obj_heart))
|
|
723
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy))
return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
724
|
}
|
|
725
|
}
|
|
726
|
}
|
|
727
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && attacked == 0)
|
|
728
|
{
|
|
729
|
rtimer += 1;
|
|
730
|
if (rtimer == 15)
|
|
731
|
{
|
|
732
|
if (rr == 0)
|
|
733
|
{
|
|
734
|
global.monsterattackname[myself] = "FlyingHeads";
|
|
735
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
736
|
dc.type = 0;
|
|
737
|
}
|
|
738
|
else if (rr == 1)
|
|
739
|
{
|
|
740
|
global.monsterattackname[myself] = "FootballPipis";
|
|
741
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
742
|
dc.type = 1;
|
|
743
|
}
|
|
744
|
else if (rr == 2)
|
|
745
|
{
|
|
746
|
global.monsterattackname[myself] = "HeartAttackNeo";
|
|
747
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
748
|
dc.type = 1.5;
|
|
749
|
dc.special = hellmode;
|
|
750
|
}
|
|
751
|
else if (rr == 3)
|
|
752
|
{
|
|
753
|
global.monsterattackname[myself] = "FootballPipis";
|
|
754
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
755
|
dc.type = 1;
|
|
756
|
}
|
|
757
|
else if (rr == 4)
|
|
758
|
{
|
|
759
|
global.monsterattackname[myself] = "Phonehands";
|
|
760
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
761
|
dc.type = 8.5;
|
|
762
|
}
|
|
763
|
else if (rr == 5)
|
|
764
|
{
|
|
765
|
global.monsterattackname[myself] = "PipisExplosion";
|
|
766
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
767
|
dc.type = 51;
|
|
768
|
dc.damage = 3;
|
|
769
|
dc.btimer = 35 - random(30);
|
|
770
|
}
|
|
771
|
else if (rr == 6)
|
|
772
|
{
|
|
773
|
global.monsterattackname[myself] = "RECREWColumns";
|
|
774
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
775
|
dc.type = 6;
|
|
776
|
}
|
|
777
|
else if (rr == 7)
|
|
778
|
{
|
|
779
|
global.monsterattackname[myself] = "SneoFaceAttack";
|
|
780
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
781
|
dc.type = 12;
|
|
782
|
dc.special = hellmode;
|
|
783
|
faceattackcount++;
|
|
784
|
}
|
|
785
|
else if (rr == 8)
|
|
786
|
{
|
|
787
|
global.monsterattackname[myself] = "Phonecall";
|
|
788
|
dc = instance_create(x - 10, y + 20, obj_sneo_phonecall);
|
|
789
|
dc.isattack = 1;
|
|
790
|
dc.target = mytarget;
|
|
791
|
if (difficulty == 3)
|
|
792
|
{
|
|
793
|
phoneevent = 2;
|
|
794
|
}
|
|
795
|
else
|
|
796
|
{
|
|
797
|
if (phoneevent >= 1)
|
|
798
|
dc.skipintro = 1;
|
|
799
|
phoneevent++;
|
|
800
|
}
|
|
801
|
}
|
|
802
|
else if (rr == 8.5)
|
|
803
|
{
|
|
804
|
global.monsterattackname[myself] = "Phonehands";
|
|
805
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
806
|
dc.type = 8.5;
|
|
807
|
}
|
|
808
|
else if (rr == 9)
|
|
809
|
{
|
|
810
|
global.monsterattackname[myself] = "NeoFinale";
|
|
811
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
812
|
dc.type = 9;
|
|
813
|
dc.target = 3;
|
|
814
|
}
|
|
815
|
else if (rr == 10)
|
|
816
|
{
|
|
817
|
global.monsterattackname[myself] = "diamonds";
|
|
818
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
819
|
dc.type = 1;
|
|
820
|
dc.target = 3;
|
|
821
|
partframe[5] = 3;
|
|
822
|
}
|
|
823
|
else
|
|
824
|
{
|
|
825
|
global.monsterattackname[myself] = "UnspecifiedSneoAttack";
|
|
826
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_sneo_bulletcontroller);
|
|
827
|
dc.type = rr;
|
|
828
|
}
|
|
829
|
scr_heartcolorscr_heartcolor
function scr_heartcolor(arg0)
{
__heartcolor = arg0;
if (__heartcolor == "red" || __heartcolor == 0)
{
with (obj_heart)
{
color = 0;
sprite_index = spr_heart;
}
}
if (__heartcolor == "yellow" || __heartcolor == 1)
{
with (obj_heart)
{
color = 1;
sprite_index = spr_yellowheart;
}
obj_grazebox.sprite_index = spr_grazeappear_yellow;
}
} ("yellow");
|
|
830
|
obj_heart.wspeed = global.sp;
|
|
831
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
832
|
if (rr == 1)
|
|
833
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (300);
|
|
834
|
if (rr == 2)
|
|
835
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (750 + (hellmode * 450));
|
|
836
|
if (rr == 2 && difficulty == 1)
|
|
837
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (850 + (hellmode * 450));
|
|
838
|
if (rr == 2 && difficulty == 6)
|
|
839
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (150);
|
|
840
|
if (rr == 6)
|
|
841
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (330);
|
|
842
|
if (rr == 7)
|
|
843
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (300);
|
|
844
|
if (rr == 5)
|
|
845
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
846
|
turns += 1;
|
|
847
|
global.typer = 6;
|
|
848
|
global.fc = 0;
|
|
849
|
rr = choose(0, 1, 2, 3);
|
|
850
|
if (rr == 0)
|
|
851
|
global.battlemsg[0] = stringsetloc(* The stage lights are shattered."* The stage lights are shattered.", "obj_spamton_neo_enemy_slash_Step_0_gml_294_0" );
|
|
852
|
if (rr == 1)
|
|
853
|
global.battlemsg[0] = stringsetloc(* It pulls the strings and makes them ring."* It pulls the strings and makes them ring.", "obj_spamton_neo_enemy_slash_Step_0_gml_295_0" );
|
|
854
|
if (rr == 2)
|
|
855
|
global.battlemsg[0] = stringsetloc(* The air crackles with freedom."* The air crackles with freedom.", "obj_spamton_neo_enemy_slash_Step_0_gml_296_0" );
|
|
856
|
if (rr == 3)
|
|
857
|
global.battlemsg[0] = stringsetloc(* Smells like rotten glass."* Smells like rotten glass.", "obj_spamton_neo_enemy_slash_Step_0_gml_297_0" );
|
|
858
|
attacked = 1;
|
|
859
|
}
|
|
860
|
else
|
|
861
|
{
|
|
862
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (120);
|
|
863
|
}
|
|
864
|
}
|
|
865
|
if (i_ex(obj_returnheart) && statustextupdate == 0)
|
|
866
|
{
|
|
867
|
statustextupdate = 1;
|
|
868
|
if (weirdpathendcon > 0)
|
|
869
|
{
|
|
870
|
if (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.06))
|
|
871
|
{
|
|
872
|
global.battlemsg[0] = stringsetloc(* Spamton NEO recovered HP with Pipis!"* Spamton NEO recovered HP with Pipis!", "obj_spamton_neo_enemy_slash_Step_0_gml_526_0" );
|
|
873
|
global.monsterhp[myself] = global.monstermaxhp[myself] * 0.06;
|
|
874
|
}
|
|
875
|
else
|
|
876
|
{
|
|
877
|
global.battlemsg[0] = stringsetloc(* Spamton NEO's DEFENSE is towering."* Spamton NEO's DEFENSE is towering.", "obj_spamton_neo_enemy_slash_Step_0_gml_527_0" );
|
|
878
|
}
|
|
879
|
}
|
|
880
|
else if (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.1) && haveusedfinalattack == 0)
|
|
881
|
{
|
|
882
|
global.battlemsg[0] = stringsetloc(* Spamton looks to the heavens."* Spamton looks to the heavens.", "obj_spamton_neo_enemy_slash_Step_0_gml_312_0" );
|
|
883
|
}
|
|
884
|
else if (bigshot == 1 && bigshotused == 0 && global.monsterhp[myself] > (global.monstermaxhp[myself] * 0.7))
|
|
885
|
{
|
|
886
|
global.battlemsg[0] = stringsetsubloc("* Hold and release ~1 to fire a BIG SHOT!", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (4), "obj_spamton_neo_enemy_slash_Step_0_gml_313_0");
|
|
887
|
}
|
|
888
|
else if (bigshot == 1 && bigshotused == 1)
|
|
889
|
{
|
|
890
|
if (statustextorder == 0)
|
|
891
|
global.battlemsg[0] = stringsetloc(* Spamton turns to the audience and laughs."* Spamton turns to the audience and laughs.", "obj_spamton_neo_enemy_slash_Step_0_gml_316_0" );
|
|
892
|
if (statustextorder == 1)
|
|
893
|
global.battlemsg[0] = stringsetloc(* Spamton appeals to the audience with a festive jig!"* Spamton appeals to the audience with a festive jig!", "obj_spamton_neo_enemy_slash_Step_0_gml_317_0" );
|
|
894
|
if (statustextorder == 2)
|
|
895
|
global.battlemsg[0] = stringsetloc(* Spamton begs to the audience, Spamton prays to the audience."* Spamton begs to the audience, Spamton prays to the audience.", "obj_spamton_neo_enemy_slash_Step_0_gml_318_0" );
|
|
896
|
if (statustextorder == 3)
|
|
897
|
global.battlemsg[0] = stringsetloc(* There is no audience."* There is no audience.", "obj_spamton_neo_enemy_slash_Step_0_gml_319_0" );
|
|
898
|
if (statustextorder == 6)
|
|
899
|
global.battlemsg[0] = stringsetloc(* Spamton begs the audience to stop taking the furniture out of his room."* Spamton begs the audience to stop taking the furniture out of his room.", "obj_spamton_neo_enemy_slash_Step_0_gml_320_0" );
|
|
900
|
if (statustextorder == 9)
|
|
901
|
global.battlemsg[0] = stringsetloc(* Spamton feels the sweet breeze as he takes a ride around town."* Spamton feels the sweet breeze as he takes a ride around town.", "obj_spamton_neo_enemy_slash_Step_0_gml_321_0" );
|
|
902
|
statustextorder++;
|
|
903
|
}
|
|
904
|
}
|
|
905
|
if ((keyboard_check_pressed(vk_f1) || gamepad_button_check_pressed(0, gp_stickr) || gamepad_button_check_pressed(1, gp_stickr) || gamepad_button_check_pressed(2, gp_stickr)) && party_heal == false && (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("menu") || scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk")))
|
|
906
|
{
|
|
907
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talktimer > 15)
|
|
908
|
{
|
|
909
|
talktimer = talkmax;
|
|
910
|
with (obj_writer)
|
|
911
|
instance_destroy();
|
|
912
|
}
|
|
913
|
var heal_buffer = 0;
|
|
914
|
for (var i = 0; i < 3; i++)
|
|
915
|
{
|
|
916
|
if (global.char[i] == 0)
|
|
917
|
continue;
|
|
918
|
var _hltarget = global.charinstance[i];
|
|
919
|
var _xx = 16;
|
|
920
|
var _yy = -38;
|
|
921
|
if (i == 1)
|
|
922
|
{
|
|
923
|
_xx = 34;
|
|
924
|
_yy = -32;
|
|
925
|
}
|
|
926
|
else if (i == 2)
|
|
927
|
{
|
|
928
|
_xx = 34;
|
|
929
|
_yy = -20;
|
|
930
|
}
|
|
931
|
var _cherub = instance_create(_hltarget.x + _xx, _hltarget.y + _yy, obj_spamton_cherub);
|
|
932
|
if (i == 0 && global.char[1] == 0)
|
|
933
|
{
|
|
934
|
_cherub.healer = true;
|
|
935
|
}
|
|
936
|
else
|
|
937
|
{
|
|
938
|
_cherub.heal_state = party_heal;
|
|
939
|
_cherub.timer = -5 * i;
|
|
940
|
_cherub.target = i;
|
|
941
|
if (i == 2 || global.char[i + 1] == 0)
|
|
942
|
_cherub.healer = true;
|
|
943
|
}
|
|
944
|
}
|
|
945
|
party_heal = true;
|
|
946
|
}
|
|
947
|
}
|
|
948
|
if (global.myfight == 3)
|
|
949
|
{
|
|
950
|
xx = __view_get(e__VW.XView, 0);
|
|
951
|
yy = __view_get(e__VW.YView, 0);
|
|
952
|
if (acting == 1 && actcon == 0 && savemeactcon == 0)
|
|
953
|
{
|
|
954
|
actcon = 1;
|
|
955
|
if (checkcount == 0)
|
|
956
|
{
|
|
957
|
msgsetloc(0, * SPAMTON NEO - YOU WON'T FIND HIGHER ATTACK AND DEFENSE ANYWHERE ELSE!!!Wait for input"* SPAMTON NEO - YOU WON'T FIND HIGHER ATTACK AND DEFENSE ANYWHERE ELSE!!!/", "obj_spamton_neo_enemy_slash_Step_0_gml_375_0" );
|
|
958
|
msgnextloc(* THE SMOOTH TASTE OF NEO "WAKE UP AND TASTE THE PAIN".Wait for inputClose Message"* THE SMOOTH TASTE OF NEO \"WAKE UP AND TASTE THE \\cRPAIN\\cW\"./%", "obj_spamton_neo_enemy_slash_Step_0_gml_376_0" );
|
|
959
|
msgnextloc(* [[note: pain is in red.]] .Wait for inputClose Message"* [[note: pain is in red.]] ./%", "obj_spamton_neo_enemy_slash_Step_0_gml_377_0" );
|
|
960
|
}
|
|
961
|
else
|
|
962
|
{
|
|
963
|
msgsetloc(0, * Spamton Neo - He is his own worst invention.Wait for inputClose Message"* Spamton Neo - He is his own worst invention./%", "obj_spamton_neo_enemy_slash_Step_0_gml_381_0" );
|
|
964
|
}
|
|
965
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
966
|
checkcount++;
|
|
967
|
}
|
|
968
|
if (acting == 1 && actcon == 0 && savemeactcon > 0)
|
|
969
|
{
|
|
970
|
actcon = 1;
|
|
971
|
if (savemeactcon < 5)
|
|
972
|
{
|
|
973
|
msgsetloc(0, * Kris called for help...Wait for input"* Kris called for help.../", "obj_spamton_neo_enemy_slash_Step_0_gml_617_0" );
|
|
974
|
msgnextloc(* ... but nobody came.Wait for inputClose Message"* ... but nobody came./%", "obj_spamton_neo_enemy_slash_Step_0_gml_618_0" );
|
|
975
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
976
|
}
|
|
977
|
else
|
|
978
|
{
|
|
979
|
msgsetloc(0, * You whispered Noelle's name...Wait for inputClose Message"* You whispered Noelle's name.../%", "obj_spamton_neo_enemy_slash_Step_0_gml_623_0" );
|
|
980
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
981
|
talktimer = 0;
|
|
982
|
actcon = 95;
|
|
983
|
alarm[4] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
984
|
}
|
|
985
|
savemeactcon++;
|
|
986
|
}
|
|
987
|
if (actcon == 96 && !i_ex(obj_writer))
|
|
988
|
{
|
|
989
|
talktimer++;
|
|
990
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
991
|
{
|
|
992
|
msgsetloc(0, ... HER?Wait for inputClose Message"... HER?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_637_0" );
|
|
993
|
global.typer = 72;
|
|
994
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
995
|
talktimer = 0;
|
|
996
|
actcon = 97;
|
|
997
|
alarm[4] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
998
|
}
|
|
999
|
}
|
|
1000
|
if (actcon == 98 && !i_ex(obj_writer))
|
|
1001
|
{
|
|
1002
|
talktimer++;
|
|
1003
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1004
|
{
|
|
1005
|
msgsetloc(0, YOU'RE STILL TRYING TO [Use] HER!?Wait for inputClose Message"YOU'RE STILL TRYING&TO [Use] HER!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_651_0" );
|
|
1006
|
global.typer = 72;
|
|
1007
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1008
|
actcon = 99;
|
|
1009
|
alarm[4] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1010
|
}
|
|
1011
|
}
|
|
1012
|
if (actcon == 100 && !i_ex(obj_writer))
|
|
1013
|
{
|
|
1014
|
talktimer++;
|
|
1015
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1016
|
{
|
|
1017
|
msgsetloc(0, HA HA HA HA!!!Wait for inputClose Message"HA HA HA HA!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_667_0" );
|
|
1018
|
global.typer = 72;
|
|
1019
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1020
|
snd_play(snd_sneo_laugh_long);
|
|
1021
|
laughtimer = 0;
|
|
1022
|
talktimer = 0;
|
|
1023
|
actcon = 101;
|
|
1024
|
alarm[4] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1025
|
}
|
|
1026
|
}
|
|
1027
|
if (actcon == 102 && !i_ex(obj_writer))
|
|
1028
|
{
|
|
1029
|
talktimer++;
|
|
1030
|
if (talktimer == 10)
|
|
1031
|
snd_stop(snd_sneo_laugh_long);
|
|
1032
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1033
|
{
|
|
1034
|
msgsetloc(0, YOU THINK SHE CAN [Hear] YOU NOW, MUTTERING HER NAME!?Wait for inputClose Message"YOU THINK SHE CAN&[Hear] YOU NOW,&MUTTERING HER NAME!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_685_0" );
|
|
1035
|
global.typer = 72;
|
|
1036
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1037
|
snd_stop(snd_sneo_laugh_long);
|
|
1038
|
partmode = 1;
|
|
1039
|
talktimer = 0;
|
|
1040
|
actcon = 103;
|
|
1041
|
alarm[4] = 15; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1042
|
}
|
|
1043
|
}
|
|
1044
|
if (actcon == 104 && !i_ex(obj_writer))
|
|
1045
|
{
|
|
1046
|
talktimer++;
|
|
1047
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1048
|
{
|
|
1049
|
msgsetloc(0, WHAT'S SHE GONNA DO, MAKE ME AN [Ice Cream]!?Wait for inputClose Message"WHAT'S SHE GONNA&DO, MAKE ME AN&[Ice Cream]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_701_0" );
|
|
1050
|
global.typer = 72;
|
|
1051
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1052
|
talktimer = 0;
|
|
1053
|
actcon = 105;
|
|
1054
|
alarm[4] = 15; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1055
|
}
|
|
1056
|
}
|
|
1057
|
if (actcon == 106 && !i_ex(obj_writer))
|
|
1058
|
{
|
|
1059
|
talktimer++;
|
|
1060
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1061
|
{
|
|
1062
|
partmode = 41;
|
|
1063
|
actcon = 107;
|
|
1064
|
laughtimer = 0;
|
|
1065
|
alarm[4] = 120; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1066
|
snd_free(global.currentsong[0]);
|
|
1067
|
}
|
|
1068
|
}
|
|
1069
|
if (actcon == 107 && alarm[4] < 62) gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1070
|
{
|
|
1071
|
headforceframe = 2;
|
|
1072
|
partrot[5] = 30;
|
|
1073
|
partmode = 99;
|
|
1074
|
snd_stop(snd_sneo_laugh_long);
|
|
1075
|
}
|
|
1076
|
if (actcon == 108 && !i_ex(obj_writer))
|
|
1077
|
{
|
|
1078
|
talktimer++;
|
|
1079
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1080
|
{
|
|
1081
|
partmode = 99;
|
|
1082
|
headforceframe = 2;
|
|
1083
|
msgsetloc(0, HEY, IS IT COLD IN HERE OR IS IT JUST ME?Wait for inputClose Message"HEY, IS IT COLD&IN HERE OR IS IT&JUST ME?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_739_0" );
|
|
1084
|
global.typer = 72;
|
|
1085
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1086
|
talktimer = 0;
|
|
1087
|
actcon = 109;
|
|
1088
|
alarm[4] = 40; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1089
|
}
|
|
1090
|
}
|
|
1091
|
if (actcon == 110)
|
|
1092
|
{
|
|
1093
|
talktimer++;
|
|
1094
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1095
|
{
|
|
1096
|
actcon = 111;
|
|
1097
|
snd_play(snd_noise);
|
|
1098
|
with (obj_writer)
|
|
1099
|
instance_destroy();
|
|
1100
|
with (obj_fountainkris_ch2_sideb)
|
|
1101
|
{
|
|
1102
|
blackall = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
1103
|
blackall.image_xscale = 999;
|
|
1104
|
blackall.image_yscale = 999;
|
|
1105
|
blackall.depth = 0;
|
|
1106
|
blackall.image_alpha = 1;
|
|
1107
|
blackall.image_blend = c_black;
|
|
1108
|
blackall.depth = -99999;
|
|
1109
|
}
|
|
1110
|
alarm[4] = 60; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1111
|
}
|
|
1112
|
}
|
|
1113
|
if (actcon == 112)
|
|
1114
|
{
|
|
1115
|
actcon = 113;
|
|
1116
|
snd_play(snd_icespell);
|
|
1117
|
alarm[4] = 12; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1118
|
}
|
|
1119
|
if (actcon == 114)
|
|
1120
|
{
|
|
1121
|
actcon = 115;
|
|
1122
|
snd_play(snd_damage);
|
|
1123
|
dmgwriter = instance_create(x + 64, y + 62, obj_dmgwriter);
|
|
1124
|
dmgwriter.damage = 684 + irandom(20);
|
|
1125
|
dmgwriter.type = 6;
|
|
1126
|
dmgwriter.depth = -999999;
|
|
1127
|
alarm[4] = 3; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1128
|
}
|
|
1129
|
if (actcon == 116)
|
|
1130
|
{
|
|
1131
|
actcon = 117;
|
|
1132
|
snd_stop(snd_damage);
|
|
1133
|
snd_play(snd_damage);
|
|
1134
|
dmgwriter = instance_create(x + 84, y + 90, obj_dmgwriter);
|
|
1135
|
dmgwriter.damage = 684 + irandom(20);
|
|
1136
|
dmgwriter.type = 6;
|
|
1137
|
dmgwriter.depth = -999999;
|
|
1138
|
alarm[4] = 3; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1139
|
}
|
|
1140
|
if (actcon == 118)
|
|
1141
|
{
|
|
1142
|
actcon = 119;
|
|
1143
|
snd_stop(snd_damage);
|
|
1144
|
snd_play(snd_damage);
|
|
1145
|
dmgwriter = instance_create(x + 66, y + 119, obj_dmgwriter);
|
|
1146
|
dmgwriter.damage = 684 + irandom(20);
|
|
1147
|
dmgwriter.type = 6;
|
|
1148
|
dmgwriter.depth = -999999;
|
|
1149
|
alarm[4] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1150
|
}
|
|
1151
|
if (actcon == 120)
|
|
1152
|
{
|
|
1153
|
event_user(3);
|
|
1154
|
obj_battlecontroller.skipvictory = 1;
|
|
1155
|
global.fighting = 0;
|
|
1156
|
if (i_ex(obj_fountainkris_ch2_sideb))
|
|
1157
|
obj_fountainkris_ch2_sideb.forcend = 1;
|
|
1158
|
if (i_ex(obj_fountainkris_ch2_sideb))
|
|
1159
|
obj_fountainkris_ch2_sideb.con = 21;
|
|
1160
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
1161
|
}
|
|
1162
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2)
|
|
1163
|
{
|
|
1164
|
if (acting == 2 && actcon == 0)
|
|
1165
|
{
|
|
1166
|
msgsetloc(0, * Kris used X-Slash!Wait for inputClose Message"* Kris used X-Slash!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_531_0" );
|
|
1167
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1168
|
acting = 0;
|
|
1169
|
actcon = 21;
|
|
1170
|
krs = scr_act_charspritescr_act_charsprite
function scr_act_charsprite(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("kris", spr_krisb_attack, 0.25, 1);
|
|
1171
|
krs.depth = obj_herokris.depth + 1;
|
|
1172
|
alarm[4] = 14; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1173
|
snd_pitch(snd_play(snd_scytheburst), 1.2);
|
|
1174
|
att = instance_create(x + 57, y + 76, obj_basicattack);
|
|
1175
|
att.image_xscale = 2;
|
|
1176
|
att.image_yscale = 2;
|
|
1177
|
caster = 0;
|
|
1178
|
global.hittarget[0] = 0;
|
|
1179
|
partmode = 40;
|
|
1180
|
shockthreshold = 15;
|
|
1181
|
shocktimer = 9999;
|
|
1182
|
hurttimer2 = 10;
|
|
1183
|
var dam = round((((global.battleat[obj_herokris.myself] * 150) / 20) - (global.monsterdf[myself] * 3)) * 1.25);
|
|
1184
|
scr_damage_enemyscr_damage_enemy
function scr_damage_enemy(arg0, arg1)
{
dm = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
if (caster < 4)
{
dm.type = global.char[caster] - 1;
if (global.char[caster] == 4)
dm.type = 6;
}
if (caster == 5)
dm.type = 5;
dm.damage = arg1;
global.monsterhp[arg0] -= arg1;
if (arg1 > 0)
{
with (global.monsterinstance[arg0])
{
shakex = 9;
state = 3;
hurttimer = 30;
}
if (i_ex(global.monsterinstance[arg0]))
global.monsterinstance[arg0].hurtamt = arg1;
}
global.hittarget[arg0] += 1;
if (arg1 == 0)
{
with (global.monsterinstance[arg0])
{
hurtamt = 0;
if (hurttimer <= 15 && candodge == 1)
{
dodgetimer = 0;
state = 4;
}
}
}
if (global.chapter == 2 && i_ex(obj_sweet_enemy) && global.monsterhp[arg0] <= 0)
global.monsterhp[arg0] = 1;
var a = 0;
if (global.chapter == 2 && i_ex(obj_queen_enemy))
a = 1;
if (global.chapter == 2 && i_ex(obj_spamton_neo_enemy))
a = 2;
if (global.chapter == 2 && i_ex(obj_berdlyb_enemy))
a = 3;
if (global.monsterhp[arg0] <= 0 && a == 0)
{
with (global.monsterinstance[arg0])
scr_monsterdefeat();
}
if (global.chapter == 2 && global.monsterhp[arg0] <= 0 && a == 3)
{
with (global.monsterinstance[arg0])
endcon = 1;
}
} (0, dam);
|
|
1185
|
}
|
|
1186
|
if (actcon == 22)
|
|
1187
|
{
|
|
1188
|
actcon = 23;
|
|
1189
|
scr_act_charsprite_endscr_act_charsprite_end
function scr_act_charsprite_end()
{
for (i = 0; i < 10; i++)
{
with (_charactsprite[i])
instance_destroy();
}
with (obj_heroparent)
{
if (image_alpha == 0)
{
image_alpha = 1;
acttimer = 0;
state = 0;
global.faceaction[myself] = 0;
}
}
} ();
|
|
1190
|
krs = scr_act_charspritescr_act_charsprite
function scr_act_charsprite(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("kris", spr_krisb_attack, 0.25, 1);
|
|
1191
|
krs.depth = obj_herokris.depth + 1;
|
|
1192
|
alarm[4] = 14; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1193
|
snd_pitch(snd_play(snd_scytheburst), 0.8);
|
|
1194
|
att = instance_create(x + 57, y + 76, obj_basicattack);
|
|
1195
|
att.image_xscale = -2;
|
|
1196
|
att.image_yscale = 2;
|
|
1197
|
caster = 0;
|
|
1198
|
global.hittarget[11] = 0;
|
|
1199
|
partmode = 40;
|
|
1200
|
shockthreshold = 15;
|
|
1201
|
shocktimer = 9999;
|
|
1202
|
hurttimer2 = 10;
|
|
1203
|
var dam = round((((global.battleat[obj_herokris.myself] * 150) / 20) - (global.monsterdf[myself] * 3)) * 1.25);
|
|
1204
|
scr_damage_enemyscr_damage_enemy
function scr_damage_enemy(arg0, arg1)
{
dm = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
if (caster < 4)
{
dm.type = global.char[caster] - 1;
if (global.char[caster] == 4)
dm.type = 6;
}
if (caster == 5)
dm.type = 5;
dm.damage = arg1;
global.monsterhp[arg0] -= arg1;
if (arg1 > 0)
{
with (global.monsterinstance[arg0])
{
shakex = 9;
state = 3;
hurttimer = 30;
}
if (i_ex(global.monsterinstance[arg0]))
global.monsterinstance[arg0].hurtamt = arg1;
}
global.hittarget[arg0] += 1;
if (arg1 == 0)
{
with (global.monsterinstance[arg0])
{
hurtamt = 0;
if (hurttimer <= 15 && candodge == 1)
{
dodgetimer = 0;
state = 4;
}
}
}
if (global.chapter == 2 && i_ex(obj_sweet_enemy) && global.monsterhp[arg0] <= 0)
global.monsterhp[arg0] = 1;
var a = 0;
if (global.chapter == 2 && i_ex(obj_queen_enemy))
a = 1;
if (global.chapter == 2 && i_ex(obj_spamton_neo_enemy))
a = 2;
if (global.chapter == 2 && i_ex(obj_berdlyb_enemy))
a = 3;
if (global.monsterhp[arg0] <= 0 && a == 0)
{
with (global.monsterinstance[arg0])
scr_monsterdefeat();
}
if (global.chapter == 2 && global.monsterhp[arg0] <= 0 && a == 3)
{
with (global.monsterinstance[arg0])
endcon = 1;
}
} (0, dam);
|
|
1205
|
}
|
|
1206
|
if (actcon == 24)
|
|
1207
|
{
|
|
1208
|
scr_act_charsprite_endscr_act_charsprite_end
function scr_act_charsprite_end()
{
for (i = 0; i < 10; i++)
{
with (_charactsprite[i])
instance_destroy();
}
with (obj_heroparent)
{
if (image_alpha == 0)
{
image_alpha = 1;
acttimer = 0;
state = 0;
global.faceaction[myself] = 0;
}
}
} ();
|
|
1209
|
actcon = 1;
|
|
1210
|
}
|
|
1211
|
if (acting == 3 && actcon == 0)
|
|
1212
|
{
|
|
1213
|
var n = irandom_range(42, 5555);
|
|
1214
|
var small_text = stringsetloc( Liked this!" Liked this!", "obj_spamton_neo_enemy_slash_Step_0_gml_928_0" );
|
|
1215
|
scr_smallfacescr_smallface
function scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
{
if (arg4 == "top")
... (0, "none", 6, "rightmid", "bottom", string("" + string([n]) + small_text));
|
|
1216
|
msgset(0, stringsetloc(* RECOVERED HP with pipis!Mini text 0 Wait for inputClose Message"* RECOVERED HP with pipis!\\f0 /%", "obj_spamton_neo_enemy_slash_Step_0_gml_581_0" ));
|
|
1217
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1218
|
acting = 0;
|
|
1219
|
actcon = 31;
|
|
1220
|
instance_create(obj_herokris.x + 105, obj_herokris.y + 50, obj_sneo_friedpipis);
|
|
1221
|
}
|
|
1222
|
if (actcon == 31 && !i_ex(obj_writer) && !instance_exists(obj_sneo_friedpipis))
|
|
1223
|
actcon = 1;
|
|
1224
|
}
|
|
1225
|
else
|
|
1226
|
{
|
|
1227
|
if ((acting == 2 && actcon == 0) || (acting == 3 && actcon == 0))
|
|
1228
|
{
|
|
1229
|
var a = 0;
|
|
1230
|
var maxv = 0;
|
|
1231
|
for (var i = 0; i < 6; i++)
|
|
1232
|
{
|
|
1233
|
if (partvisible[i] == 1 && partweakened[i] > 0)
|
|
1234
|
a++;
|
|
1235
|
if (partvisible[i] == 1)
|
|
1236
|
maxv++;
|
|
1237
|
}
|
|
1238
|
if (vinebgcount < 1)
|
|
1239
|
maxvinecount = maxv;
|
|
1240
|
var multicut = 1;
|
|
1241
|
if (global.hp[2] <= 0 && global.hp[3] <= 0 && acting == 2)
|
|
1242
|
{
|
|
1243
|
var mercyset = 4;
|
|
1244
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1245
|
mercyset = 100 - global.mercymod[myself];
|
|
1246
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1247
|
if (mercyset == 0)
|
|
1248
|
{
|
|
1249
|
with (obj_dmgwriter)
|
|
1250
|
{
|
|
1251
|
if (type == 5)
|
|
1252
|
instance_destroy();
|
|
1253
|
}
|
|
1254
|
msgsetloc(0, * You tried to snap a wire... but it failed!Wait for inputClose Message"* You tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_946_0" );
|
|
1255
|
}
|
|
1256
|
else
|
|
1257
|
{
|
|
1258
|
msgsetloc(0, * You snapped desperately!Wait for input"* You snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_949_0" );
|
|
1259
|
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_950_0" );
|
|
1260
|
}
|
|
1261
|
multicut = 2;
|
|
1262
|
}
|
|
1263
|
else if (acting == 3)
|
|
1264
|
{
|
|
1265
|
snapallcount++;
|
|
1266
|
if (snapallcount == 2)
|
|
1267
|
snapallcount = 0;
|
|
1268
|
var mercyset = 7;
|
|
1269
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1270
|
mercyset = 100 - global.mercymod[myself];
|
|
1271
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1272
|
if (mercyset == 0)
|
|
1273
|
{
|
|
1274
|
with (obj_dmgwriter)
|
|
1275
|
{
|
|
1276
|
if (type == 5)
|
|
1277
|
instance_destroy();
|
|
1278
|
}
|
|
1279
|
msgsetloc(0, * Everyone tried to snap wires... but it failed!Wait for inputClose Message"* Everyone tried to snap wires... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_961_0" );
|
|
1280
|
}
|
|
1281
|
else
|
|
1282
|
{
|
|
1283
|
msgsetloc(0, * Everyone snapped wires!Wait for inputClose Message"* Everyone snapped wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_964_0" );
|
|
1284
|
}
|
|
1285
|
}
|
|
1286
|
else
|
|
1287
|
{
|
|
1288
|
var simultext = (simultotal == 1) ? stringsetloc(* You snapped a wire!Wait for inputClose Message"* You snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_275_0" ) : stringsetloc(* You snapped a wire!Wait for inputClose Message"* You snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_275_1" );
|
|
1289
|
var mercyset = 2;
|
|
1290
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1291
|
mercyset = 100 - global.mercymod[myself];
|
|
1292
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1293
|
if (mercyset == 0)
|
|
1294
|
{
|
|
1295
|
with (obj_dmgwriter)
|
|
1296
|
{
|
|
1297
|
if (type == 5)
|
|
1298
|
instance_destroy();
|
|
1299
|
}
|
|
1300
|
msgsetloc(0, * You tried to snap a wire... but it failed!Wait for inputClose Message"* You tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_973_0" );
|
|
1301
|
}
|
|
1302
|
else
|
|
1303
|
{
|
|
1304
|
msgset(0, simultext);
|
|
1305
|
}
|
|
1306
|
}
|
|
1307
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1308
|
if (acting == 2)
|
|
1309
|
alarm[4] = 30; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1310
|
else
|
|
1311
|
actcon = 1;
|
|
1312
|
acting = 0;
|
|
1313
|
}
|
|
1314
|
if (acting == 5 && actcon == 0)
|
|
1315
|
{
|
|
1316
|
actcon = 12;
|
|
1317
|
acting = 0;
|
|
1318
|
alarm[4] = 15; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1319
|
instance_create(x, y, obj_sneo_throwkris_vine_controller);
|
|
1320
|
scr_rememberxyscr_rememberxy
function scr_rememberxy()
{
___myrememberx = x;
___myremembery = y;
} ();
|
|
1321
|
scr_move_to_point_over_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (x - 40, cameray() + 195, 8);
|
|
1322
|
}
|
|
1323
|
}
|
|
1324
|
if (actcon == 13)
|
|
1325
|
{
|
|
1326
|
msgsetsubloc(0, "* Press ~1 to throw, aim for the weakpoint!", scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (6), "obj_spamton_neo_enemy_slash_Step_0_gml_534_0");
|
|
1327
|
with (obj_herokris)
|
|
1328
|
visible = 0;
|
|
1329
|
with (obj_herosusie)
|
|
1330
|
visible = 0;
|
|
1331
|
throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_sneo_throwkris);
|
|
1332
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1333
|
actcon = 14;
|
|
1334
|
}
|
|
1335
|
if (actcon == 15)
|
|
1336
|
{
|
|
1337
|
with (obj_sneo_throwkris_vine_controller)
|
|
1338
|
con = 2;
|
|
1339
|
scr_move_to_rememberxyscr_move_to_rememberxy
function scr_move_to_rememberxy(arg0)
{
scr_move_to_point_over_time(___myrememberx, ___myremembery, arg0);
} (8);
|
|
1340
|
actcon = 16;
|
|
1341
|
alarm[4] = 15; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1342
|
}
|
|
1343
|
if (actcon == 17)
|
|
1344
|
actcon = 1;
|
|
1345
|
if (actingsus == 1 && actconsus == 1)
|
|
1346
|
{
|
|
1347
|
var i = irandom(5);
|
|
1348
|
var a = -1;
|
|
1349
|
var maxv = 0;
|
|
1350
|
repeat (6)
|
|
1351
|
{
|
|
1352
|
if (partvisible[i] == 1 && partweakened[i] > 0)
|
|
1353
|
{
|
|
1354
|
a = i;
|
|
1355
|
break;
|
|
1356
|
}
|
|
1357
|
i++;
|
|
1358
|
if (i > 5)
|
|
1359
|
i = 0;
|
|
1360
|
if (partvisible[i] == 1)
|
|
1361
|
maxv++;
|
|
1362
|
}
|
|
1363
|
if (vinebgcount < 1)
|
|
1364
|
maxvinecount = maxv;
|
|
1365
|
var multicut = 1;
|
|
1366
|
if (global.hp[1] <= 0 && global.hp[3] <= 0)
|
|
1367
|
{
|
|
1368
|
var mercyset = 4;
|
|
1369
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1370
|
mercyset = 100 - global.mercymod[myself];
|
|
1371
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1372
|
if (mercyset == 0)
|
|
1373
|
{
|
|
1374
|
with (obj_dmgwriter)
|
|
1375
|
{
|
|
1376
|
if (type == 5)
|
|
1377
|
instance_destroy();
|
|
1378
|
}
|
|
1379
|
msgsetloc(0, * Susie tried to snap a wire... but it failed!Wait for inputClose Message"* Susie tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1127_0" );
|
|
1380
|
}
|
|
1381
|
else
|
|
1382
|
{
|
|
1383
|
msgsetloc(0, * Susie snapped desperately!Wait for input"* Susie snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_1130_0" );
|
|
1384
|
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1131_0" );
|
|
1385
|
}
|
|
1386
|
multicut = 2;
|
|
1387
|
}
|
|
1388
|
else
|
|
1389
|
{
|
|
1390
|
var mercyset = 2;
|
|
1391
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1392
|
mercyset = 100 - global.mercymod[myself];
|
|
1393
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1394
|
if (mercyset == 0)
|
|
1395
|
{
|
|
1396
|
with (obj_dmgwriter)
|
|
1397
|
{
|
|
1398
|
if (type == 5)
|
|
1399
|
instance_destroy();
|
|
1400
|
}
|
|
1401
|
msgsetloc(0, * Susie tried to snap a wire... but it failed!Wait for inputClose Message"* Susie tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1140_0" );
|
|
1402
|
}
|
|
1403
|
else
|
|
1404
|
{
|
|
1405
|
msgsetloc(0, * Susie snapped a wire!Wait for inputClose Message"* Susie snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1141_0" );
|
|
1406
|
}
|
|
1407
|
}
|
|
1408
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1409
|
actconsus = 0;
|
|
1410
|
actingsus = 0;
|
|
1411
|
alarm[4] = 30; gml_Object_obj_spamton_neo_enemy_Alarm_4.gml
actcon += 1;
|
|
1412
|
}
|
|
1413
|
if (actingsus == 2 && actconsus == 1)
|
|
1414
|
{
|
|
1415
|
actingsus = 0;
|
|
1416
|
actcon = 1;
|
|
1417
|
bigshotcount = 20;
|
|
1418
|
msgsetloc(0, * You Super Charged! Can charge bullets faster! Lasts 20 shots.Wait for inputClose Message"* You Super Charged! Can charge bullets faster! Lasts 20 shots./%", "obj_spamton_neo_enemy_slash_Step_0_gml_898_0" );
|
|
1419
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1420
|
}
|
|
1421
|
if (actingral == 1 && actconral == 1)
|
|
1422
|
{
|
|
1423
|
var i = irandom(5);
|
|
1424
|
var a = -1;
|
|
1425
|
var maxv = 0;
|
|
1426
|
repeat (6)
|
|
1427
|
{
|
|
1428
|
if (partvisible[i] == 1 && partweakened[i] > 0)
|
|
1429
|
{
|
|
1430
|
a = i;
|
|
1431
|
break;
|
|
1432
|
}
|
|
1433
|
i++;
|
|
1434
|
if (i > 5)
|
|
1435
|
i = 0;
|
|
1436
|
if (partvisible[i] == 1)
|
|
1437
|
maxv++;
|
|
1438
|
}
|
|
1439
|
if (vinebgcount < 1)
|
|
1440
|
maxvinecount = maxv;
|
|
1441
|
var multicut = 1;
|
|
1442
|
if (global.hp[1] <= 0 && global.hp[2] <= 0)
|
|
1443
|
{
|
|
1444
|
multicut = 2;
|
|
1445
|
var mercyset = 4;
|
|
1446
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1447
|
mercyset = 100 - global.mercymod[myself];
|
|
1448
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1449
|
if (mercyset == 0)
|
|
1450
|
{
|
|
1451
|
with (obj_dmgwriter)
|
|
1452
|
{
|
|
1453
|
if (type == 5)
|
|
1454
|
instance_destroy();
|
|
1455
|
}
|
|
1456
|
msgsetloc(0, * Ralsei tried to snap a wire... but it failed!Wait for inputClose Message"* Ralsei tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1273_0" );
|
|
1457
|
}
|
|
1458
|
else
|
|
1459
|
{
|
|
1460
|
msgsetloc(0, * Ralsei snapped desperately!Wait for input"* Ralsei snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_1276_0" );
|
|
1461
|
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1277_0" );
|
|
1462
|
}
|
|
1463
|
}
|
|
1464
|
else
|
|
1465
|
{
|
|
1466
|
var mercyset = 2;
|
|
1467
|
if ((global.mercymod[myself] + mercyset) > 100)
|
|
1468
|
mercyset = 100 - global.mercymod[myself];
|
|
1469
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, mercyset);
|
|
1470
|
if (mercyset == 0)
|
|
1471
|
{
|
|
1472
|
with (obj_dmgwriter)
|
|
1473
|
{
|
|
1474
|
if (type == 5)
|
|
1475
|
instance_destroy();
|
|
1476
|
}
|
|
1477
|
msgsetloc(0, * Ralsei tried to snap a wire... but it failed!Wait for inputClose Message"* Ralsei tried to snap a wire... but it failed!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1285_0" );
|
|
1478
|
}
|
|
1479
|
else
|
|
1480
|
{
|
|
1481
|
msgsetloc(0, * Ralsei snapped a wire!Wait for inputClose Message"* Ralsei snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1288_0" );
|
|
1482
|
}
|
|
1483
|
}
|
|
1484
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1485
|
actconral = 0;
|
|
1486
|
actingral = 0;
|
|
1487
|
actcon = 1;
|
|
1488
|
}
|
|
1489
|
if (actingral == 2 && actconral == 1)
|
|
1490
|
{
|
|
1491
|
actconral = 0;
|
|
1492
|
actingral = 0;
|
|
1493
|
actcon = 1;
|
|
1494
|
if (instance_number(obj_sneo_tiny_ralsei) < 4)
|
|
1495
|
{
|
|
1496
|
var simultext = (simultotal == 1) ? stringsetloc(* The power Ralsei's fluffy warmth surrounds you!.Wait for inputClose Message"* The power Ralsei's fluffy warmth surrounds you!./%", "obj_spamton_neo_enemy_slash_Step_0_gml_643_0" ) : stringsetloc(* Ralsei defended you!Wait for inputClose Message"* Ralsei defended you!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_643_1" );
|
|
1497
|
msgset(0, simultext);
|
|
1498
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1499
|
var aa = 0;
|
|
1500
|
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i++)
|
|
1501
|
{
|
|
1502
|
fluff[i] = instance_find(obj_sneo_tiny_ralsei, i);
|
|
1503
|
fluff[i].place = aa * 90;
|
|
1504
|
aa++;
|
|
1505
|
}
|
|
1506
|
repeat (2)
|
|
1507
|
{
|
|
1508
|
instance_create(x, y, obj_sneo_tiny_ralsei);
|
|
1509
|
var a = 0;
|
|
1510
|
if (instance_number(obj_sneo_tiny_ralsei) == 4)
|
|
1511
|
{
|
|
1512
|
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1)
|
|
1513
|
{
|
|
1514
|
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i);
|
|
1515
|
enemy[i].place = a;
|
|
1516
|
a += 90;
|
|
1517
|
}
|
|
1518
|
}
|
|
1519
|
if (instance_number(obj_sneo_tiny_ralsei) == 3)
|
|
1520
|
{
|
|
1521
|
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1)
|
|
1522
|
{
|
|
1523
|
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i);
|
|
1524
|
enemy[i].place = a;
|
|
1525
|
a += 180;
|
|
1526
|
}
|
|
1527
|
}
|
|
1528
|
if (instance_number(obj_sneo_tiny_ralsei) == 2)
|
|
1529
|
{
|
|
1530
|
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1)
|
|
1531
|
{
|
|
1532
|
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i);
|
|
1533
|
enemy[i].place = a;
|
|
1534
|
a += 270;
|
|
1535
|
}
|
|
1536
|
}
|
|
1537
|
}
|
|
1538
|
}
|
|
1539
|
else
|
|
1540
|
{
|
|
1541
|
msgsetloc(0, * Too many fluff balls! * Can't make any more!Wait for inputClose Message"* Too many fluff balls!&* Can't make any more!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_679_0" );
|
|
1542
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1543
|
var a = 2;
|
|
1544
|
if (global.hp[2] < global.hp[3])
|
|
1545
|
a = 2;
|
|
1546
|
if (global.hp[2] < global.hp[4])
|
|
1547
|
a = 2;
|
|
1548
|
if (global.hp[3] < global.hp[2])
|
|
1549
|
a = 3;
|
|
1550
|
if (global.hp[3] < global.hp[4])
|
|
1551
|
a = 3;
|
|
1552
|
if (global.hp[4] < global.hp[2])
|
|
1553
|
a = 4;
|
|
1554
|
if (global.hp[4] < global.hp[3])
|
|
1555
|
a = 4;
|
|
1556
|
global.hp[a] += 10;
|
|
1557
|
snd_play(snd_boost);
|
|
1558
|
}
|
|
1559
|
}
|
|
1560
|
if ((actcon == 1 && !instance_exists(obj_writer)) || actconsus == 20 || actconral == 20)
|
|
1561
|
{
|
|
1562
|
usedact = 1;
|
|
1563
|
if (global.mercymod[myself] > 99 && endcon == 0)
|
|
1564
|
endcon = 1;
|
|
1565
|
else if (endcon == 0)
|
|
1566
|
scr_nextactscr_nextact
function scr_nextact()
{
global.acting[0] = 0;
global.acting[1] = 0;
global.acting[2] = 0;
global.actingsingle[global.currentactingchar] = 0;
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
with (__minstance)
{
acting = 0;
actcon = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
}
var singleactcomplete = 0;
while (global.currentactingchar < 3)
{
global.currentactingchar++;
if (global.currentactingchar < 3)
{
if (global.actingsingle[global.currentactingchar] == 1)
{
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
if (global.char[global.currentactingchar] == 2)
{
with (__minstance)
actconsus = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 3)
{
with (__minstance)
actconral = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 4)
{
with (__minstance)
actconnoe = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
}
}
}
if (global.currentactingchar >= 3)
{
with (obj_monsterparent)
{
acting = 0;
actingsus = 0;
actingral = 0;
actingnoe = 0;
}
global.currentactingchar = 0;
scr_attackphase();
}
else if (!singleactcomplete)
{
scr_act_simul();
}
} ();
|
|
1567
|
}
|
|
1568
|
}
|
|
1569
|
if (endcon == 1)
|
|
1570
|
{
|
|
1571
|
endtimer++;
|
|
1572
|
if (endtimer == 1)
|
|
1573
|
{
|
|
1574
|
snd_free(global.batmusic[0]);
|
|
1575
|
event_user(3);
|
|
1576
|
}
|
|
1577
|
if (endtimer > 0 && endtimer < 91)
|
|
1578
|
{
|
|
1579
|
if (i_ex(obj_ch2_sceneex2))
|
|
1580
|
{
|
|
1581
|
obj_ch2_sceneex2.trackspeed = lerp(-15, 0, endtimer / 90);
|
|
1582
|
obj_ch2_sceneex2.cityscape_speed_max = lerp(5, 0, endtimer / 90);
|
|
1583
|
}
|
|
1584
|
}
|
|
1585
|
if (endtimer == 91)
|
|
1586
|
{
|
|
1587
|
didwejustdie = 1;
|
|
1588
|
if (global.mercymod[myself] > 99)
|
|
1589
|
sneo_defeat_cutscene_version = 1;
|
|
1590
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
} () > 2)
|
|
1591
|
sneo_defeat_cutscene_version = 2;
|
|
1592
|
if (sneo_defeat_cutscene_version == 0)
|
|
1593
|
{
|
|
1594
|
}
|
|
1595
|
if (sneo_defeat_cutscene_version == 2)
|
|
1596
|
{
|
|
1597
|
msgsetloc(0, My esteem customer I see you are attempting to deplete my HP!Wait for inputClose Message"My esteem customer&I see you are attempting to deplete my HP!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1492_0" );
|
|
1598
|
partmode = 99;
|
|
1599
|
endcon = 2;
|
|
1600
|
global.typer = 72;
|
|
1601
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1602
|
}
|
|
1603
|
else
|
|
1604
|
{
|
|
1605
|
msgsetloc(0, WAIT!! [$!?!] THE PRESSES!Wait for inputClose Message"WAIT!!&[$!?!] THE PRESSES!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1009_0" );
|
|
1606
|
partmode = 99;
|
|
1607
|
endcon = 2;
|
|
1608
|
global.typer = 72;
|
|
1609
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1610
|
}
|
|
1611
|
endtimer = 0;
|
|
1612
|
endcon = 2;
|
|
1613
|
talktimer = 0;
|
|
1614
|
ballooncon = 1;
|
|
1615
|
balloonend = 0;
|
|
1616
|
}
|
|
1617
|
}
|
|
1618
|
if (sneo_defeat_cutscene_version == 0)
|
|
1619
|
{
|
|
1620
|
if (endcon == 2)
|
|
1621
|
{
|
|
1622
|
talktimer++;
|
|
1623
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1624
|
{
|
|
1625
|
with (obj_writer)
|
|
1626
|
instance_destroy();
|
|
1627
|
if (ballooncon == 1)
|
|
1628
|
{
|
|
1629
|
msgsetloc(0, HAHAHA... KRIS!!! YOU THINK DEPLETING MY [8000 Life Points]Wait for inputClose Message"HAHAHA... KRIS!!!&YOU THINK DEPLETING&MY [8000 Life Points]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1034_0" );
|
|
1630
|
ballooncon = 2;
|
|
1631
|
balloonend = 0;
|
|
1632
|
shocktimer = 9999;
|
|
1633
|
hurttimer2 = 10;
|
|
1634
|
partmode = 40;
|
|
1635
|
}
|
|
1636
|
else if (ballooncon == 2)
|
|
1637
|
{
|
|
1638
|
msgsetloc(0, MEANS YOU'VE WON [A Free Meal] TO [Winning]?!Wait for inputClose Message"MEANS YOU'VE WON&[A Free Meal] TO&[Winning]?!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1038_0" );
|
|
1639
|
ballooncon = 3;
|
|
1640
|
balloonend = 0;
|
|
1641
|
shocktimer = 9999;
|
|
1642
|
hurttimer2 = 10;
|
|
1643
|
}
|
|
1644
|
else if (ballooncon == 3)
|
|
1645
|
{
|
|
1646
|
msgsetloc(0, NO!!! NO!!! NE-O!!Wait for inputClose Message"NO!!! NO!!! NE-O!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1042_0" );
|
|
1647
|
ballooncon = 4;
|
|
1648
|
balloonend = 0;
|
|
1649
|
shocktimer = 9999;
|
|
1650
|
hurttimer2 = 10;
|
|
1651
|
}
|
|
1652
|
else if (ballooncon == 4)
|
|
1653
|
{
|
|
1654
|
msgsetloc(0, KRIS!! YOUR [Deal] HAS FAILED!! [NEO] NEVER LOSES!!Wait for inputClose Message"KRIS!!&YOUR [Deal] HAS FAILED!!&[NEO] NEVER LOSES!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1046_0" );
|
|
1655
|
ballooncon = 5;
|
|
1656
|
balloonend = 0;
|
|
1657
|
shocktimer = 9999;
|
|
1658
|
hurttimer2 = 10;
|
|
1659
|
}
|
|
1660
|
else if (ballooncon == 5)
|
|
1661
|
{
|
|
1662
|
msgsetloc(0, THIS IS [Victory Smoke]!! IT MEANS IT'S TIME FOR MY [Second Form]!Wait for inputClose Message"THIS IS [Victory Smoke]!!&IT MEANS IT'S TIME&FOR MY [Second Form]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1052_0" );
|
|
1663
|
ballooncon = 6;
|
|
1664
|
balloonend = 0;
|
|
1665
|
shockthreshold = 10;
|
|
1666
|
hurttimer2 = 20;
|
|
1667
|
snd_play(snd_damage);
|
|
1668
|
dontchangepose = 0;
|
|
1669
|
smokethreshold = 10;
|
|
1670
|
partmode = 40;
|
|
1671
|
repeat (6)
|
|
1672
|
{
|
|
1673
|
var smokey = instance_create(x + 50, y + 80, obj_afterimage_grow);
|
|
1674
|
smokey.visible = 0;
|
|
1675
|
with (smokey)
|
|
1676
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (scr_var, 1, "visible", 1);
|
|
1677
|
smokey.depth = depth + 10;
|
|
1678
|
smokey.image_alpha = 2.5;
|
|
1679
|
smokey.sprite_index = spr_cakesmoke;
|
|
1680
|
smokey.hspeed = random_range(2, 10);
|
|
1681
|
smokey.gravity = -0.5;
|
|
1682
|
smokey.friction = 0.2;
|
|
1683
|
smokey.vspeed = random_range(-1, -8);
|
|
1684
|
}
|
|
1685
|
}
|
|
1686
|
else if (ballooncon == 6)
|
|
1687
|
{
|
|
1688
|
msgsetloc(0, ARE YOU READY KRIS!? FOR MY [Next Trick]!Wait for inputClose Message"ARE YOU READY KRIS!?&FOR MY [Next Trick]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1058_0" );
|
|
1689
|
ballooncon = 7;
|
|
1690
|
balloonend = 0;
|
|
1691
|
}
|
|
1692
|
else if (ballooncon == 7)
|
|
1693
|
{
|
|
1694
|
msgsetloc(0, I WILL FILL MY [Body] WITH [Electricaty] AND BECOME SPAMTON [EX]!Wait for inputClose Message"I WILL FILL MY [Body]&WITH [Electricaty] AND BECOME&SPAMTON [EX]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1062_0" );
|
|
1695
|
ballooncon = 8;
|
|
1696
|
balloonend = 0;
|
|
1697
|
}
|
|
1698
|
else if (ballooncon == 8)
|
|
1699
|
{
|
|
1700
|
if (i_ex(obj_ch2_sceneex2))
|
|
1701
|
obj_ch2_sceneex2.trackspeed = 20;
|
|
1702
|
msgsetloc(0, ARE YOU READY [Kids]!?Wait for inputClose Message"ARE YOU READY [Kids]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1068_0" );
|
|
1703
|
ballooncon = 9;
|
|
1704
|
balloonend = 0;
|
|
1705
|
shockthreshold = 10;
|
|
1706
|
hurttimer2 = 10;
|
|
1707
|
snd_play(snd_sneo_overpower);
|
|
1708
|
snd_loop(snd_sneo_overpower);
|
|
1709
|
snd_pitch(snd_sneo_overpower, 0.3);
|
|
1710
|
targetbgspeed = -5;
|
|
1711
|
}
|
|
1712
|
else if (ballooncon == 9)
|
|
1713
|
{
|
|
1714
|
msgsetloc(0, [Turn Up The JUICE!] [Turn Up The JUICE!]Wait for inputClose Message"[Turn Up The JUICE!]&[Turn Up The JUICE!]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1076_0" );
|
|
1715
|
ballooncon = 10;
|
|
1716
|
balloonend = 0;
|
|
1717
|
shockthreshold = 5;
|
|
1718
|
snd_pitch(snd_sneo_overpower, 0.5);
|
|
1719
|
targetbgspeed = -9;
|
|
1720
|
smokethreshold = 1;
|
|
1721
|
}
|
|
1722
|
else if (ballooncon == 10)
|
|
1723
|
{
|
|
1724
|
msgsetloc(0, [Make Sure You Don't Get It On Your Shoese!]Wait for inputClose Message"[Make Sure You Don't&Get It On Your Shoese!]/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1083_0" );
|
|
1725
|
ballooncon = 11;
|
|
1726
|
balloonend = 0;
|
|
1727
|
shockthreshold = 3;
|
|
1728
|
snd_pitch(snd_sneo_overpower, 0.7);
|
|
1729
|
targetbgspeed = -13;
|
|
1730
|
}
|
|
1731
|
else if (ballooncon == 11)
|
|
1732
|
{
|
|
1733
|
msgsetloc(0, ARE YOU GETTING ALL THIS [Mike]!? I'M FINALLYWait for inputClose Message"ARE YOU GETTING&ALL THIS [Mike]!?&I'M FINALLY/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1089_0" );
|
|
1734
|
ballooncon = 12;
|
|
1735
|
balloonend = 0;
|
|
1736
|
shockthreshold = 2;
|
|
1737
|
snd_pitch(snd_sneo_overpower, 0.9);
|
|
1738
|
targetbgspeed = -17;
|
|
1739
|
}
|
|
1740
|
else if (ballooncon == 12)
|
|
1741
|
{
|
|
1742
|
msgsetloc(0, I'M FINALLY GONNA BE A BIG SHOT!!!Wait for inputClose Message"I'M FINALLY GONNA&BE A BIG SHOT!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1095_0" );
|
|
1743
|
ballooncon = 13;
|
|
1744
|
balloonend = 0;
|
|
1745
|
shockthreshold = 1;
|
|
1746
|
snd_pitch(snd_sneo_overpower, 1.1);
|
|
1747
|
targetbgspeed = -21;
|
|
1748
|
}
|
|
1749
|
else if (ballooncon == 13)
|
|
1750
|
{
|
|
1751
|
msgsetloc(0, HERE I GO!!!! WATCH ME FLY, [MAMA]!!!!Wait for inputClose Message"HERE I GO!!!!&WATCH ME FLY,&[MAMA]!!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1101_0" );
|
|
1752
|
ballooncon = 0;
|
|
1753
|
balloonend = 1;
|
|
1754
|
shocktimer = 1;
|
|
1755
|
snd_pitch(snd_sneo_overpower, 1.3);
|
|
1756
|
targetbgspeed = -25;
|
|
1757
|
}
|
|
1758
|
endcon = 3;
|
|
1759
|
global.typer = 72;
|
|
1760
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1761
|
if (ballooncon >= 8)
|
|
1762
|
{
|
|
1763
|
with (obj_writer)
|
|
1764
|
shake = 2;
|
|
1765
|
}
|
|
1766
|
if (ballooncon == 0)
|
|
1767
|
{
|
|
1768
|
with (obj_writer)
|
|
1769
|
{
|
|
1770
|
shake = 3;
|
|
1771
|
rate = 3;
|
|
1772
|
}
|
|
1773
|
}
|
|
1774
|
alarm[6] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_6.gml
if (endcon > 0)
{
if (balloonend == 1)
{
endcon = 4;
}
else
{
endcon = 2;
talktimer = 0;
}
}
else if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
1775
|
}
|
|
1776
|
if (i_ex(obj_ch2_sceneex2))
|
|
1777
|
obj_ch2_sceneex2.trackspeed = lerp(obj_ch2_sceneex2.trackspeed, targetbgspeed * 6, 0.1);
|
|
1778
|
if (i_ex(obj_ch2_sceneex2))
|
|
1779
|
obj_ch2_sceneex2.cityscape_speed_max = lerp(obj_ch2_sceneex2.cityscape_speed_max, targetbgspeed, 0.1);
|
|
1780
|
}
|
|
1781
|
if (endcon == 4)
|
|
1782
|
{
|
|
1783
|
talktimer++;
|
|
1784
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1785
|
{
|
|
1786
|
endtimer++;
|
|
1787
|
if (endtimer <= 90)
|
|
1788
|
snd_pitch(snd_sneo_overpower, lerp(1.3, 2, endtimer / 90));
|
|
1789
|
if (endtimer == 120)
|
|
1790
|
{
|
|
1791
|
violentendflash = 1;
|
|
1792
|
endtimer = 140;
|
|
1793
|
}
|
|
1794
|
if (endtimer == 151)
|
|
1795
|
{
|
|
1796
|
audio_stop_sound(snd_sneo_overpower);
|
|
1797
|
with (obj_afterimage_grow)
|
|
1798
|
instance_destroy();
|
|
1799
|
snd_play(snd_explosion);
|
|
1800
|
whiteall = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
1801
|
whiteall.image_xscale = 999;
|
|
1802
|
whiteall.image_yscale = 999;
|
|
1803
|
whiteall.depth = 0;
|
|
1804
|
whiteall.image_alpha = 0;
|
|
1805
|
}
|
|
1806
|
if (endtimer > 150 && endtimer < 162)
|
|
1807
|
whiteall.image_alpha = lerp(0, 1, (endtimer - 150) / 11);
|
|
1808
|
if (endtimer == 300)
|
|
1809
|
{
|
|
1810
|
blackall = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
1811
|
blackall.image_xscale = 999;
|
|
1812
|
blackall.image_yscale = 999;
|
|
1813
|
blackall.depth = -1;
|
|
1814
|
blackall.image_alpha = 0;
|
|
1815
|
blackall.image_blend = c_black;
|
|
1816
|
}
|
|
1817
|
if (endtimer > 300 && endtimer < 331)
|
|
1818
|
blackall.image_alpha = lerp(0, 1, (endtimer - 300) / 30);
|
|
1819
|
if (endtimer == 331)
|
|
1820
|
{
|
|
1821
|
with (whiteall)
|
|
1822
|
{
|
|
1823
|
if (global.hp[1] < 1)
|
|
1824
|
global.hp[1] = 1;
|
|
1825
|
if (global.hp[2] < 1)
|
|
1826
|
global.hp[2] = 1;
|
|
1827
|
if (global.hp[3] < 1)
|
|
1828
|
global.hp[3] = 1;
|
|
1829
|
if (i_ex(obj_ch2_sceneex2))
|
|
1830
|
obj_ch2_sceneex2.forcend = 1;
|
|
1831
|
if (i_ex(obj_ch2_sceneex2))
|
|
1832
|
obj_ch2_sceneex2.con = 13;
|
|
1833
|
}
|
|
1834
|
}
|
|
1835
|
}
|
|
1836
|
}
|
|
1837
|
}
|
|
1838
|
if (sneo_defeat_cutscene_version == 1)
|
|
1839
|
{
|
|
1840
|
if (endcon == 2)
|
|
1841
|
{
|
|
1842
|
var aa = 0;
|
|
1843
|
if (instance_exists(obj_ch2_sceneex2) && obj_ch2_sceneex2.shop_spamton_bg_con > 0 && obj_ch2_sceneex2.shop_spamton_bg_con < 3)
|
|
1844
|
aa = 1;
|
|
1845
|
talktimer++;
|
|
1846
|
if ((button3_p() && talktimer > 15 && aa == 0) || (!i_ex(obj_writer) && aa == 0))
|
|
1847
|
{
|
|
1848
|
if (ballooncon == 7 && instance_exists(obj_ch2_sceneex2) && obj_ch2_sceneex2.shop_spamton_bg_con < 3)
|
|
1849
|
{
|
|
1850
|
obj_ch2_sceneex2.shop_spamton_bg_con = 1;
|
|
1851
|
aa = 1;
|
|
1852
|
}
|
|
1853
|
}
|
|
1854
|
if ((button3_p() && talktimer > 15 && aa == 0) || (!i_ex(obj_writer) && aa == 0))
|
|
1855
|
{
|
|
1856
|
with (obj_writer)
|
|
1857
|
instance_destroy();
|
|
1858
|
if (ballooncon == 1)
|
|
1859
|
{
|
|
1860
|
headendcon = 1;
|
|
1861
|
msgsetloc(0, MY... MY [Wires]... THEY'RE ALMOST [Gone]!?Wait for inputClose Message"MY... MY [Wires]...&THEY'RE ALMOST [Gone]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1172_0" );
|
|
1862
|
ballooncon = 2;
|
|
1863
|
balloonend = 0;
|
|
1864
|
partmode = 1;
|
|
1865
|
}
|
|
1866
|
else if (ballooncon == 2)
|
|
1867
|
{
|
|
1868
|
msgsetloc(0, KRIS... YOU... YOU'RE [Gifting] ME MY [Freedom]?!Wait for inputClose Message"KRIS... YOU...&YOU'RE [Gifting] ME&MY [Freedom]?!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1176_0" );
|
|
1869
|
ballooncon = 3;
|
|
1870
|
balloonend = 0;
|
|
1871
|
}
|
|
1872
|
else if (ballooncon == 3)
|
|
1873
|
{
|
|
1874
|
headendcon = 2;
|
|
1875
|
msgsetloc(0, KRIS... AFTER EVERYTHING I DID TO YOU...!?Wait for inputClose Message"KRIS... AFTER EVERYTHING&I DID TO YOU...!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1181_0" );
|
|
1876
|
ballooncon = 4;
|
|
1877
|
balloonend = 0;
|
|
1878
|
partmode = 1;
|
|
1879
|
}
|
|
1880
|
else if (ballooncon == 4)
|
|
1881
|
{
|
|
1882
|
headendcon = 3;
|
|
1883
|
msgsetloc(0, AFTER ALL THE [Unforgettable D3als] [Free KROMER] I GAVE YOUWait for inputClose Message"AFTER ALL THE&[Unforgettable D3als]&[Free KROMER] I&GAVE YOU/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1186_0" );
|
|
1884
|
ballooncon = 5;
|
|
1885
|
balloonend = 0;
|
|
1886
|
partmode = 1;
|
|
1887
|
}
|
|
1888
|
else if (ballooncon == 5)
|
|
1889
|
{
|
|
1890
|
msgsetloc(0, YOU'RE FINALLY REPAYING MY [Genorisity]!?Wait for inputClose Message"YOU'RE FINALLY&REPAYING MY&[Genorisity]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1190_0" );
|
|
1891
|
ballooncon = 6;
|
|
1892
|
balloonend = 0;
|
|
1893
|
}
|
|
1894
|
else if (ballooncon == 6)
|
|
1895
|
{
|
|
1896
|
headendcon = 2;
|
|
1897
|
msgsetloc(0, KRIS!!! I UNDERSTAND NOW!! THE GREATEST DEAL OF ALL!!!Wait for inputClose Message"KRIS!!! I UNDERSTAND&NOW!! THE GREATEST&DEAL OF ALL!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1195_0" );
|
|
1898
|
ballooncon = 7;
|
|
1899
|
balloonend = 0;
|
|
1900
|
partmode = 99;
|
|
1901
|
}
|
|
1902
|
else if (ballooncon == 7)
|
|
1903
|
{
|
|
1904
|
headendcon = 3;
|
|
1905
|
global.currentsong[0] = snd_init("spamton_happy.ogg");
|
|
1906
|
global.currentsong[1] = mus_play(global.currentsong[0]);
|
|
1907
|
mus_loop(global.currentsong[0]);
|
|
1908
|
msgsetloc(0, [Friendship]!!!Wait for inputClose Message"[Friendship]!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1202_0" );
|
|
1909
|
ballooncon = 8;
|
|
1910
|
balloonend = 0;
|
|
1911
|
partmode = 36;
|
|
1912
|
}
|
|
1913
|
else if (ballooncon == 8)
|
|
1914
|
{
|
|
1915
|
msgsetloc(0, KRIS!!! MY DAYS AS A [Long-Nosed Doll] ARE OVER!!!Wait for inputClose Message"KRIS!!! MY DAYS AS&A [Long-Nosed Doll]&ARE OVER!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1208_0" );
|
|
1916
|
ballooncon = 9;
|
|
1917
|
balloonend = 0;
|
|
1918
|
}
|
|
1919
|
else if (ballooncon == 9)
|
|
1920
|
{
|
|
1921
|
msgsetloc(0, CUT THAT [Wire] AND MAKE ME A [Real Boy]!!Wait for inputClose Message"CUT THAT&[Wire] AND MAKE&ME A [Real Boy]!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1212_0" );
|
|
1922
|
ballooncon = 10;
|
|
1923
|
balloonend = 0;
|
|
1924
|
}
|
|
1925
|
else if (ballooncon == 10)
|
|
1926
|
{
|
|
1927
|
msgsetloc(0, ARE YOU WATCHING, [Heaven]!? IT'S TIME FOR SPAMTON'S [Comeback Special]!Wait for inputClose Message"ARE YOU WATCHING,&[Heaven]!? IT'S&TIME FOR SPAMTON'S&[Comeback Special]!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1216_0" );
|
|
1928
|
ballooncon = 11;
|
|
1929
|
balloonend = 0;
|
|
1930
|
}
|
|
1931
|
else if (ballooncon == 11)
|
|
1932
|
{
|
|
1933
|
msgsetloc(0, AND THIS TIME... I LIVE FOR MYSELF!!!Wait for inputClose Message"AND THIS TIME...&I LIVE FOR MYSELF!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1220_0" );
|
|
1934
|
ballooncon = 12;
|
|
1935
|
balloonend = 0;
|
|
1936
|
}
|
|
1937
|
else if (ballooncon == 12)
|
|
1938
|
{
|
|
1939
|
msgsetloc(0, NO... MYSELF AND MY [Friend(s)]!!!Wait for inputClose Message"NO... MYSELF AND&MY [Friend(s)]!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1225_0" );
|
|
1940
|
ballooncon = 13;
|
|
1941
|
balloonend = 0;
|
|
1942
|
partmode = 36;
|
|
1943
|
}
|
|
1944
|
else if (ballooncon == 13)
|
|
1945
|
{
|
|
1946
|
msgsetloc(0, HERE I GO!!!! WATCH ME FLY, [MAMA]!!!!Wait for inputClose Message"HERE I GO!!!!&WATCH ME FLY,&[MAMA]!!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1229_0" );
|
|
1947
|
ballooncon = 0;
|
|
1948
|
balloonend = 1;
|
|
1949
|
partmode = 36;
|
|
1950
|
dancealtcon = 2;
|
|
1951
|
}
|
|
1952
|
endcon = 3;
|
|
1953
|
global.typer = 72;
|
|
1954
|
scr_enemyblconscr_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;
}
} (x - 10, global.monstery[myself], 10);
|
|
1955
|
if (ballooncon >= 8)
|
|
1956
|
{
|
|
1957
|
with (obj_writer)
|
|
1958
|
shake = 2;
|
|
1959
|
}
|
|
1960
|
if (ballooncon == 13 || ballooncon == 0)
|
|
1961
|
{
|
|
1962
|
with (obj_writer)
|
|
1963
|
{
|
|
1964
|
shake = 3;
|
|
1965
|
rate = 3;
|
|
1966
|
}
|
|
1967
|
}
|
|
1968
|
alarm[6] = 1; gml_Object_obj_spamton_neo_enemy_Alarm_6.gml
if (endcon > 0)
{
if (balloonend == 1)
{
endcon = 4;
}
else
{
endcon = 2;
talktimer = 0;
}
}
else if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
1969
|
}
|
|
1970
|
if (i_ex(obj_ch2_sceneex2))
|
|
1971
|
obj_ch2_sceneex2.trackspeed = lerp(obj_ch2_sceneex2.trackspeed, targetbgspeed * 6, 0.1);
|
|
1972
|
if (i_ex(obj_ch2_sceneex2))
|
|
1973
|
obj_ch2_sceneex2.cityscape_speed_max = lerp(obj_ch2_sceneex2.cityscape_speed_max, targetbgspeed, 0.1);
|
|
1974
|
if (ballooncon == 13)
|
|
1975
|
{
|
|
1976
|
siner += 2;
|
|
1977
|
for (var i = 0; i < 8; i += 1)
|
|
1978
|
partsiner[i] += 0.6;
|
|
1979
|
}
|
|
1980
|
}
|
|
1981
|
if (endcon == 4)
|
|
1982
|
{
|
|
1983
|
talktimer++;
|
|
1984
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
1985
|
{
|
|
1986
|
endtimer++;
|
|
1987
|
if (endtimer == 1)
|
|
1988
|
{
|
|
1989
|
snd_free(global.currentsong[0]);
|
|
1990
|
snd_play(snd_noise);
|
|
1991
|
snd_play(snd_damage);
|
|
1992
|
blackall4 = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
1993
|
blackall4.image_xscale = 999;
|
|
1994
|
blackall4.image_yscale = 999;
|
|
1995
|
blackall4.depth = obj_ch2_sceneex2.depth - 1;
|
|
1996
|
blackall4.image_alpha = 0.5;
|
|
1997
|
blackall4.image_blend = c_black;
|
|
1998
|
vine = instance_create(x, y, obj_sneo_vine_cut);
|
|
1999
|
vine.x1 = x + partx[4] + (partxoff[4] / 1.2) + 20 + (sin(partsiner[4] / 25) * 1.8);
|
|
2000
|
vine.x2 = x + partx[4] + (partxoff[4] / 1.5) + 32;
|
|
2001
|
vine.y1 = ((y + party[4]) - 10) + partyoff[4];
|
|
2002
|
vine.y2 = -400;
|
|
2003
|
vine.depth = depth + 1;
|
|
2004
|
vine.vineid = 4;
|
|
2005
|
vfx = instance_create(x + partx[4] + (partxoff[4] / 1.2) + 16, y - 35, obj_sneo_vine_weak);
|
|
2006
|
vfx.depth = depth - 5;
|
|
2007
|
lastwirecon = 3;
|
|
2008
|
partmode = 99;
|
|
2009
|
if (i_ex(obj_ch2_sceneex2))
|
|
2010
|
{
|
|
2011
|
obj_ch2_sceneex2.cityscape_speed_max = 0;
|
|
2012
|
obj_ch2_sceneex2.cityscape_speed = 0;
|
|
2013
|
obj_ch2_sceneex2.trackspeed = 0;
|
|
2014
|
}
|
|
2015
|
}
|
|
2016
|
if (endtimer == 91)
|
|
2017
|
{
|
|
2018
|
depth = -99999;
|
|
2019
|
blackall = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
2020
|
blackall.image_xscale = 999;
|
|
2021
|
blackall.image_yscale = 999;
|
|
2022
|
blackall.depth = 0;
|
|
2023
|
blackall.image_alpha = 1;
|
|
2024
|
blackall.image_blend = c_black;
|
|
2025
|
partmode = 43;
|
|
2026
|
}
|
|
2027
|
if (endtimer == 330)
|
|
2028
|
{
|
|
2029
|
blackall2 = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
2030
|
blackall2.image_xscale = 999;
|
|
2031
|
blackall2.image_yscale = 999;
|
|
2032
|
blackall2.depth = 0;
|
|
2033
|
blackall2.image_alpha = 1;
|
|
2034
|
blackall2.image_blend = c_black;
|
|
2035
|
blackall2.depth = -999999;
|
|
2036
|
}
|
|
2037
|
if (endtimer == 450)
|
|
2038
|
{
|
|
2039
|
with (blackall2)
|
|
2040
|
{
|
|
2041
|
if (global.hp[1] < 1)
|
|
2042
|
global.hp[1] = 1;
|
|
2043
|
if (global.hp[2] < 1)
|
|
2044
|
global.hp[2] = 1;
|
|
2045
|
if (global.hp[3] < 1)
|
|
2046
|
global.hp[3] = 1;
|
|
2047
|
if (i_ex(obj_ch2_sceneex2))
|
|
2048
|
obj_ch2_sceneex2.forcend = 1;
|
|
2049
|
if (i_ex(obj_ch2_sceneex2))
|
|
2050
|
obj_ch2_sceneex2.con = 13;
|
|
2051
|
}
|
|
2052
|
}
|
|
2053
|
}
|
|
2054
|
if (ballooncon == 0 && endtimer == 0)
|
|
2055
|
{
|
|
2056
|
siner += 3;
|
|
2057
|
for (var i = 0; i < 8; i += 1)
|
|
2058
|
partsiner[i] += 0.9;
|
|
2059
|
}
|
|
2060
|
}
|
|
2061
|
}
|
|
2062
|
if (endcon == 10)
|
|
2063
|
{
|
|
2064
|
endcon = 11;
|
|
2065
|
obj_battlecontroller.skipvictory = 1;
|
|
2066
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
2067
|
}
|
|
2068
|
if (weirdpathendcon == 6)
|
|
2069
|
{
|
|
2070
|
partmode = 40;
|
|
2071
|
dontchangepose = 0;
|
|
2072
|
}
|
|
2073
|
if (stoprumblesfx > 0)
|
|
2074
|
stoprumblesfx--;
|
|
2075
|
if (stoprumblesfx == 1)
|
|
2076
|
audio_stop_sound(snd_rumble);
|
|
2077
|
if (scr_debugscr_debug
function scr_debug()
{
return 0;
} ())
|
|
2078
|
{
|
|
2079
|
}
|
|
2080
|
}
|
|
2081
|
|
|
2082
|
enum e__VW
|
|
2083
|
{
|
|
2084
|
XView,
|
|
2085
|
YView,
|
|
2086
|
WView,
|
|
2087
|
HView,
|
|
2088
|
Angle,
|
|
2089
|
HBorder,
|
|
2090
|
VBorder,
|
|
2091
|
HSpeed,
|
|
2092
|
VSpeed,
|
|
2093
|
Object,
|
|
2094
|
Visible,
|
|
2095
|
XPort,
|
|
2096
|
YPort,
|
|
2097
|
WPort,
|
|
2098
|
HPort,
|
|
2099
|
Camera,
|
|
2100
|
SurfaceID
|
|
2101
|
}
|