1 |
if (bigshot == 1) |
2 |
global.sp = 5; |
3 |
if (cantspareinit == 0 && scr_sideb_get_phasescr_sideb_get_phasefunction 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_phasefunction 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_isphasefunction 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_phasefunction 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_phasefunction 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_phasefunction 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_isphasefunction 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_phasefunction 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_phasefunction 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_isphasefunction 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_randomtargetfunction 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_isphasefunction 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_phasefunction 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_phasefunction 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_enemyblconfunction 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_default(); |
604 |
} |
605 |
else |
606 |
{ |
607 |
global.typer = 72; |
608 |
scr_enemyblconscr_enemyblconfunction 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; |
613 |
} |
614 |
} |
615 |
if (talked == 1 && scr_isphasescr_isphasefunction 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_blconskipfunction 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_isphasefunction 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_rememberxy(); |
657 |
scr_move_to_point_over_time(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_rememberxy(); |
674 |
scr_move_to_point_over_time(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_rememberxy(); |
686 |
} |
687 |
else if (rr == 8) |
688 |
{ |
689 |
scr_rememberxy(); |
690 |
scr_move_to_point_over_time(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_rememberxy(); |
709 |
scr_move_to_point_over_time(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_moveheartfunction 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_isphasefunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_bulletspawnerfunction 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_heartcolorfunction 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_turntimer(260); |
832 |
if (rr == 1) |
833 |
scr_turntimer(300); |
834 |
if (rr == 2) |
835 |
scr_turntimer(750 + (hellmode * 450)); |
836 |
if (rr == 2 && difficulty == 1) |
837 |
scr_turntimer(850 + (hellmode * 450)); |
838 |
if (rr == 2 && difficulty == 6) |
839 |
scr_turntimer(150); |
840 |
if (rr == 6) |
841 |
scr_turntimer(330); |
842 |
if (rr == 7) |
843 |
scr_turntimer(300); |
844 |
if (rr == 5) |
845 |
scr_turntimer(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_turntimer(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_namefunction 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_isphasefunction 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_isphasefunction 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_isphasefunction 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_default(); |
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_default(); |
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_default(); |
981 |
talktimer = 0; |
982 |
actcon = 95; |
983 |
alarm[4] = 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_enemyblconfunction 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; |
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_enemyblconfunction 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; |
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_enemyblconfunction 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; |
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_enemyblconfunction 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; |
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_enemyblconfunction 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; |
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; |
1066 |
snd_free(global.currentsong[0]); |
1067 |
} |
1068 |
} |
1069 |
if (actcon == 107 && alarm[4] < 62) |
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_enemyblconfunction 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; |
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_markerfunction 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; |
1111 |
} |
1112 |
} |
1113 |
if (actcon == 112) |
1114 |
{ |
1115 |
actcon = 113; |
1116 |
snd_play(snd_icespell); |
1117 |
alarm[4] = 12; |
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; |
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; |
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; |
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_wincombatfunction 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_phasefunction 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_default(); |
1168 |
acting = 0; |
1169 |
actcon = 21; |
1170 |
krs = scr_act_charspritescr_act_charspritefunction 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; |
1173 |
snd_play(snd_scytheburst); |
1174 |
snd_pitch(snd_scytheburst, 1.2); |
1175 |
att = instance_create(x + 57, y + 76, obj_basicattack); |
1176 |
att.image_xscale = 2; |
1177 |
att.image_yscale = 2; |
1178 |
caster = 0; |
1179 |
global.hittarget[0] = 0; |
1180 |
partmode = 40; |
1181 |
shockthreshold = 15; |
1182 |
shocktimer = 9999; |
1183 |
hurttimer2 = 10; |
1184 |
var dam = round((((global.battleat[obj_herokris.myself] * 150) / 20) - (global.monsterdf[myself] * 3)) * 1.25); |
1185 |
scr_damage_enemyscr_damage_enemyfunction 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); |
1186 |
} |
1187 |
if (actcon == 22) |
1188 |
{ |
1189 |
actcon = 23; |
1190 |
scr_act_charsprite_endscr_act_charsprite_endfunction 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;
}
}
} (); |
1191 |
krs = scr_act_charspritescr_act_charspritefunction 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); |
1192 |
krs.depth = obj_herokris.depth + 1; |
1193 |
alarm[4] = 14; |
1194 |
snd_play(snd_scytheburst); |
1195 |
snd_pitch(snd_scytheburst, 0.8); |
1196 |
att = instance_create(x + 57, y + 76, obj_basicattack); |
1197 |
att.image_xscale = -2; |
1198 |
att.image_yscale = 2; |
1199 |
caster = 0; |
1200 |
global.hittarget[11] = 0; |
1201 |
partmode = 40; |
1202 |
shockthreshold = 15; |
1203 |
shocktimer = 9999; |
1204 |
hurttimer2 = 10; |
1205 |
var dam = round((((global.battleat[obj_herokris.myself] * 150) / 20) - (global.monsterdf[myself] * 3)) * 1.25); |
1206 |
scr_damage_enemyscr_damage_enemyfunction 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); |
1207 |
} |
1208 |
if (actcon == 24) |
1209 |
{ |
1210 |
scr_act_charsprite_endscr_act_charsprite_endfunction 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;
}
}
} (); |
1211 |
actcon = 1; |
1212 |
} |
1213 |
if (acting == 3 && actcon == 0) |
1214 |
{ |
1215 |
var n = irandom_range(42, 5555); |
1216 |
var small_text = stringsetloc( Liked this!" Liked this!", "obj_spamton_neo_enemy_slash_Step_0_gml_928_0" ); |
1217 |
scr_smallfacescr_smallfacefunction 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)); |
1218 |
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" )); |
1219 |
scr_battletext_default(); |
1220 |
acting = 0; |
1221 |
actcon = 31; |
1222 |
instance_create(obj_herokris.x + 105, obj_herokris.y + 50, obj_sneo_friedpipis); |
1223 |
} |
1224 |
if (actcon == 31 && !i_ex(obj_writer) && !instance_exists(obj_sneo_friedpipis)) |
1225 |
actcon = 1; |
1226 |
} |
1227 |
else |
1228 |
{ |
1229 |
if ((acting == 2 && actcon == 0) || (acting == 3 && actcon == 0)) |
1230 |
{ |
1231 |
var a = 0; |
1232 |
var maxv = 0; |
1233 |
for (var i = 0; i < 6; i++) |
1234 |
{ |
1235 |
if (partvisible[i] == 1 && partweakened[i] > 0) |
1236 |
a++; |
1237 |
if (partvisible[i] == 1) |
1238 |
maxv++; |
1239 |
} |
1240 |
if (vinebgcount < 1) |
1241 |
maxvinecount = maxv; |
1242 |
var multicut = 1; |
1243 |
if (global.hp[2] <= 0 && global.hp[3] <= 0 && acting == 2) |
1244 |
{ |
1245 |
var mercyset = 4; |
1246 |
if ((global.mercymod[myself] + mercyset) > 100) |
1247 |
mercyset = 100 - global.mercymod[myself]; |
1248 |
scr_mercyaddscr_mercyaddfunction 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); |
1249 |
if (mercyset == 0) |
1250 |
{ |
1251 |
with (obj_dmgwriter) |
1252 |
{ |
1253 |
if (type == 5) |
1254 |
instance_destroy(); |
1255 |
} |
1256 |
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" ); |
1257 |
} |
1258 |
else |
1259 |
{ |
1260 |
msgsetloc(0, * You snapped desperately!Wait for input"* You snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_949_0" ); |
1261 |
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_950_0" ); |
1262 |
} |
1263 |
multicut = 2; |
1264 |
} |
1265 |
else if (acting == 3) |
1266 |
{ |
1267 |
snapallcount++; |
1268 |
if (snapallcount == 2) |
1269 |
snapallcount = 0; |
1270 |
var mercyset = 7; |
1271 |
if ((global.mercymod[myself] + mercyset) > 100) |
1272 |
mercyset = 100 - global.mercymod[myself]; |
1273 |
scr_mercyaddscr_mercyaddfunction 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); |
1274 |
if (mercyset == 0) |
1275 |
{ |
1276 |
with (obj_dmgwriter) |
1277 |
{ |
1278 |
if (type == 5) |
1279 |
instance_destroy(); |
1280 |
} |
1281 |
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" ); |
1282 |
} |
1283 |
else |
1284 |
{ |
1285 |
msgsetloc(0, * Everyone snapped wires!Wait for inputClose Message"* Everyone snapped wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_964_0" ); |
1286 |
} |
1287 |
} |
1288 |
else |
1289 |
{ |
1290 |
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" ); |
1291 |
var mercyset = 2; |
1292 |
if ((global.mercymod[myself] + mercyset) > 100) |
1293 |
mercyset = 100 - global.mercymod[myself]; |
1294 |
scr_mercyaddscr_mercyaddfunction 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); |
1295 |
if (mercyset == 0) |
1296 |
{ |
1297 |
with (obj_dmgwriter) |
1298 |
{ |
1299 |
if (type == 5) |
1300 |
instance_destroy(); |
1301 |
} |
1302 |
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" ); |
1303 |
} |
1304 |
else |
1305 |
{ |
1306 |
msgset(0, simultext); |
1307 |
} |
1308 |
} |
1309 |
scr_battletext_default(); |
1310 |
if (acting == 2) |
1311 |
alarm[4] = 30; |
1312 |
else |
1313 |
actcon = 1; |
1314 |
acting = 0; |
1315 |
} |
1316 |
if (acting == 5 && actcon == 0) |
1317 |
{ |
1318 |
actcon = 12; |
1319 |
acting = 0; |
1320 |
alarm[4] = 15; |
1321 |
instance_create(x, y, obj_sneo_throwkris_vine_controller); |
1322 |
scr_rememberxy(); |
1323 |
scr_move_to_point_over_time(x - 40, cameray() + 195, 8); |
1324 |
} |
1325 |
} |
1326 |
if (actcon == 13) |
1327 |
{ |
1328 |
msgsetsubloc(0, "* Press ~1 to throw, aim for the weakpoint!", scr_get_input_namescr_get_input_namefunction 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"); |
1329 |
with (obj_herokris) |
1330 |
visible = 0; |
1331 |
with (obj_herosusie) |
1332 |
visible = 0; |
1333 |
throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_sneo_throwkris); |
1334 |
scr_battletext_default(); |
1335 |
actcon = 14; |
1336 |
} |
1337 |
if (actcon == 15) |
1338 |
{ |
1339 |
with (obj_sneo_throwkris_vine_controller) |
1340 |
con = 2; |
1341 |
scr_move_to_rememberxy(8); |
1342 |
actcon = 16; |
1343 |
alarm[4] = 15; |
1344 |
} |
1345 |
if (actcon == 17) |
1346 |
actcon = 1; |
1347 |
if (actingsus == 1 && actconsus == 1) |
1348 |
{ |
1349 |
var i = irandom(5); |
1350 |
var a = -1; |
1351 |
var maxv = 0; |
1352 |
repeat (6) |
1353 |
{ |
1354 |
if (partvisible[i] == 1 && partweakened[i] > 0) |
1355 |
{ |
1356 |
a = i; |
1357 |
break; |
1358 |
} |
1359 |
i++; |
1360 |
if (i > 5) |
1361 |
i = 0; |
1362 |
if (partvisible[i] == 1) |
1363 |
maxv++; |
1364 |
} |
1365 |
if (vinebgcount < 1) |
1366 |
maxvinecount = maxv; |
1367 |
var multicut = 1; |
1368 |
if (global.hp[1] <= 0 && global.hp[3] <= 0) |
1369 |
{ |
1370 |
var mercyset = 4; |
1371 |
if ((global.mercymod[myself] + mercyset) > 100) |
1372 |
mercyset = 100 - global.mercymod[myself]; |
1373 |
scr_mercyaddscr_mercyaddfunction 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); |
1374 |
if (mercyset == 0) |
1375 |
{ |
1376 |
with (obj_dmgwriter) |
1377 |
{ |
1378 |
if (type == 5) |
1379 |
instance_destroy(); |
1380 |
} |
1381 |
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" ); |
1382 |
} |
1383 |
else |
1384 |
{ |
1385 |
msgsetloc(0, * Susie snapped desperately!Wait for input"* Susie snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_1130_0" ); |
1386 |
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1131_0" ); |
1387 |
} |
1388 |
multicut = 2; |
1389 |
} |
1390 |
else |
1391 |
{ |
1392 |
var mercyset = 2; |
1393 |
if ((global.mercymod[myself] + mercyset) > 100) |
1394 |
mercyset = 100 - global.mercymod[myself]; |
1395 |
scr_mercyaddscr_mercyaddfunction 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); |
1396 |
if (mercyset == 0) |
1397 |
{ |
1398 |
with (obj_dmgwriter) |
1399 |
{ |
1400 |
if (type == 5) |
1401 |
instance_destroy(); |
1402 |
} |
1403 |
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" ); |
1404 |
} |
1405 |
else |
1406 |
{ |
1407 |
msgsetloc(0, * Susie snapped a wire!Wait for inputClose Message"* Susie snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1141_0" ); |
1408 |
} |
1409 |
} |
1410 |
scr_battletext_default(); |
1411 |
actconsus = 0; |
1412 |
actingsus = 0; |
1413 |
alarm[4] = 30; |
1414 |
} |
1415 |
if (actingsus == 2 && actconsus == 1) |
1416 |
{ |
1417 |
actingsus = 0; |
1418 |
actcon = 1; |
1419 |
bigshotcount = 20; |
1420 |
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" ); |
1421 |
scr_battletext_default(); |
1422 |
} |
1423 |
if (actingral == 1 && actconral == 1) |
1424 |
{ |
1425 |
var i = irandom(5); |
1426 |
var a = -1; |
1427 |
var maxv = 0; |
1428 |
repeat (6) |
1429 |
{ |
1430 |
if (partvisible[i] == 1 && partweakened[i] > 0) |
1431 |
{ |
1432 |
a = i; |
1433 |
break; |
1434 |
} |
1435 |
i++; |
1436 |
if (i > 5) |
1437 |
i = 0; |
1438 |
if (partvisible[i] == 1) |
1439 |
maxv++; |
1440 |
} |
1441 |
if (vinebgcount < 1) |
1442 |
maxvinecount = maxv; |
1443 |
var multicut = 1; |
1444 |
if (global.hp[1] <= 0 && global.hp[2] <= 0) |
1445 |
{ |
1446 |
multicut = 2; |
1447 |
var mercyset = 4; |
1448 |
if ((global.mercymod[myself] + mercyset) > 100) |
1449 |
mercyset = 100 - global.mercymod[myself]; |
1450 |
scr_mercyaddscr_mercyaddfunction 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); |
1451 |
if (mercyset == 0) |
1452 |
{ |
1453 |
with (obj_dmgwriter) |
1454 |
{ |
1455 |
if (type == 5) |
1456 |
instance_destroy(); |
1457 |
} |
1458 |
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" ); |
1459 |
} |
1460 |
else |
1461 |
{ |
1462 |
msgsetloc(0, * Ralsei snapped desperately!Wait for input"* Ralsei snapped desperately!/", "obj_spamton_neo_enemy_slash_Step_0_gml_1276_0" ); |
1463 |
msgnextloc(* Broke 2 wires!Wait for inputClose Message"* Broke 2 wires!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1277_0" ); |
1464 |
} |
1465 |
} |
1466 |
else |
1467 |
{ |
1468 |
var mercyset = 2; |
1469 |
if ((global.mercymod[myself] + mercyset) > 100) |
1470 |
mercyset = 100 - global.mercymod[myself]; |
1471 |
scr_mercyaddscr_mercyaddfunction 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); |
1472 |
if (mercyset == 0) |
1473 |
{ |
1474 |
with (obj_dmgwriter) |
1475 |
{ |
1476 |
if (type == 5) |
1477 |
instance_destroy(); |
1478 |
} |
1479 |
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" ); |
1480 |
} |
1481 |
else |
1482 |
{ |
1483 |
msgsetloc(0, * Ralsei snapped a wire!Wait for inputClose Message"* Ralsei snapped a wire!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1288_0" ); |
1484 |
} |
1485 |
} |
1486 |
scr_battletext_default(); |
1487 |
actconral = 0; |
1488 |
actingral = 0; |
1489 |
actcon = 1; |
1490 |
} |
1491 |
if (actingral == 2 && actconral == 1) |
1492 |
{ |
1493 |
actconral = 0; |
1494 |
actingral = 0; |
1495 |
actcon = 1; |
1496 |
if (instance_number(obj_sneo_tiny_ralsei) < 4) |
1497 |
{ |
1498 |
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" ); |
1499 |
msgset(0, simultext); |
1500 |
scr_battletext_default(); |
1501 |
var aa = 0; |
1502 |
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i++) |
1503 |
{ |
1504 |
fluff[i] = instance_find(obj_sneo_tiny_ralsei, i); |
1505 |
fluff[i].place = aa * 90; |
1506 |
aa++; |
1507 |
} |
1508 |
repeat (2) |
1509 |
{ |
1510 |
instance_create(x, y, obj_sneo_tiny_ralsei); |
1511 |
var a = 0; |
1512 |
if (instance_number(obj_sneo_tiny_ralsei) == 4) |
1513 |
{ |
1514 |
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1) |
1515 |
{ |
1516 |
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i); |
1517 |
enemy[i].place = a; |
1518 |
a += 90; |
1519 |
} |
1520 |
} |
1521 |
if (instance_number(obj_sneo_tiny_ralsei) == 3) |
1522 |
{ |
1523 |
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1) |
1524 |
{ |
1525 |
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i); |
1526 |
enemy[i].place = a; |
1527 |
a += 180; |
1528 |
} |
1529 |
} |
1530 |
if (instance_number(obj_sneo_tiny_ralsei) == 2) |
1531 |
{ |
1532 |
for (var i = 0; i < instance_number(obj_sneo_tiny_ralsei); i += 1) |
1533 |
{ |
1534 |
enemy[i] = instance_find(obj_sneo_tiny_ralsei, i); |
1535 |
enemy[i].place = a; |
1536 |
a += 270; |
1537 |
} |
1538 |
} |
1539 |
} |
1540 |
} |
1541 |
else |
1542 |
{ |
1543 |
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" ); |
1544 |
scr_battletext_default(); |
1545 |
var a = 2; |
1546 |
if (global.hp[2] < global.hp[3]) |
1547 |
a = 2; |
1548 |
if (global.hp[2] < global.hp[4]) |
1549 |
a = 2; |
1550 |
if (global.hp[3] < global.hp[2]) |
1551 |
a = 3; |
1552 |
if (global.hp[3] < global.hp[4]) |
1553 |
a = 3; |
1554 |
if (global.hp[4] < global.hp[2]) |
1555 |
a = 4; |
1556 |
if (global.hp[4] < global.hp[3]) |
1557 |
a = 4; |
1558 |
global.hp[a] += 10; |
1559 |
snd_play(snd_boost); |
1560 |
} |
1561 |
} |
1562 |
if ((actcon == 1 && !instance_exists(obj_writer)) || actconsus == 20 || actconral == 20) |
1563 |
{ |
1564 |
usedact = 1; |
1565 |
if (global.mercymod[myself] > 99 && endcon == 0) |
1566 |
endcon = 1; |
1567 |
else if (endcon == 0) |
1568 |
scr_nextactscr_nextactfunction 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();
}
} (); |
1569 |
} |
1570 |
} |
1571 |
if (endcon == 1) |
1572 |
{ |
1573 |
endtimer++; |
1574 |
if (endtimer == 1) |
1575 |
{ |
1576 |
snd_free(global.batmusic[0]); |
1577 |
event_user(3); |
1578 |
} |
1579 |
if (endtimer > 0 && endtimer < 91) |
1580 |
{ |
1581 |
if (i_ex(obj_ch2_sceneex2)) |
1582 |
{ |
1583 |
obj_ch2_sceneex2.trackspeed = lerp(-15, 0, endtimer / 90); |
1584 |
obj_ch2_sceneex2.cityscape_speed_max = lerp(5, 0, endtimer / 90); |
1585 |
} |
1586 |
} |
1587 |
if (endtimer == 91) |
1588 |
{ |
1589 |
didwejustdie = 1; |
1590 |
if (global.mercymod[myself] > 99) |
1591 |
sneo_defeat_cutscene_version = 1; |
1592 |
if (scr_sideb_get_phasescr_sideb_get_phasefunction 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) |
1593 |
sneo_defeat_cutscene_version = 2; |
1594 |
if (sneo_defeat_cutscene_version == 0) |
1595 |
{ |
1596 |
} |
1597 |
if (sneo_defeat_cutscene_version == 2) |
1598 |
{ |
1599 |
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" ); |
1600 |
partmode = 99; |
1601 |
endcon = 2; |
1602 |
global.typer = 72; |
1603 |
scr_enemyblconscr_enemyblconfunction 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); |
1604 |
} |
1605 |
else |
1606 |
{ |
1607 |
msgsetloc(0, WAIT!! [$!?!] THE PRESSES!Wait for inputClose Message"WAIT!!&[$!?!] THE PRESSES!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1009_0" ); |
1608 |
partmode = 99; |
1609 |
endcon = 2; |
1610 |
global.typer = 72; |
1611 |
scr_enemyblconscr_enemyblconfunction 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); |
1612 |
} |
1613 |
endtimer = 0; |
1614 |
endcon = 2; |
1615 |
talktimer = 0; |
1616 |
ballooncon = 1; |
1617 |
balloonend = 0; |
1618 |
} |
1619 |
} |
1620 |
if (sneo_defeat_cutscene_version == 0) |
1621 |
{ |
1622 |
if (endcon == 2) |
1623 |
{ |
1624 |
talktimer++; |
1625 |
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer)) |
1626 |
{ |
1627 |
with (obj_writer) |
1628 |
instance_destroy(); |
1629 |
if (ballooncon == 1) |
1630 |
{ |
1631 |
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" ); |
1632 |
ballooncon = 2; |
1633 |
balloonend = 0; |
1634 |
shocktimer = 9999; |
1635 |
hurttimer2 = 10; |
1636 |
partmode = 40; |
1637 |
} |
1638 |
else if (ballooncon == 2) |
1639 |
{ |
1640 |
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" ); |
1641 |
ballooncon = 3; |
1642 |
balloonend = 0; |
1643 |
shocktimer = 9999; |
1644 |
hurttimer2 = 10; |
1645 |
} |
1646 |
else if (ballooncon == 3) |
1647 |
{ |
1648 |
msgsetloc(0, NO!!! NO!!! NE-O!!Wait for inputClose Message"NO!!! NO!!! NE-O!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1042_0" ); |
1649 |
ballooncon = 4; |
1650 |
balloonend = 0; |
1651 |
shocktimer = 9999; |
1652 |
hurttimer2 = 10; |
1653 |
} |
1654 |
else if (ballooncon == 4) |
1655 |
{ |
1656 |
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" ); |
1657 |
ballooncon = 5; |
1658 |
balloonend = 0; |
1659 |
shocktimer = 9999; |
1660 |
hurttimer2 = 10; |
1661 |
} |
1662 |
else if (ballooncon == 5) |
1663 |
{ |
1664 |
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" ); |
1665 |
ballooncon = 6; |
1666 |
balloonend = 0; |
1667 |
shockthreshold = 10; |
1668 |
hurttimer2 = 20; |
1669 |
snd_play(snd_damage); |
1670 |
dontchangepose = 0; |
1671 |
smokethreshold = 10; |
1672 |
partmode = 40; |
1673 |
repeat (6) |
1674 |
{ |
1675 |
var smokey = instance_create(x + 50, y + 80, obj_afterimage_grow); |
1676 |
smokey.visible = 0; |
1677 |
with (smokey) |
1678 |
scr_script_delayedscr_script_delayedfunction 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); |
1679 |
smokey.depth = depth + 10; |
1680 |
smokey.image_alpha = 2.5; |
1681 |
smokey.sprite_index = spr_cakesmoke; |
1682 |
smokey.hspeed = random_range(2, 10); |
1683 |
smokey.gravity = -0.5; |
1684 |
smokey.friction = 0.2; |
1685 |
smokey.vspeed = random_range(-1, -8); |
1686 |
} |
1687 |
} |
1688 |
else if (ballooncon == 6) |
1689 |
{ |
1690 |
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" ); |
1691 |
ballooncon = 7; |
1692 |
balloonend = 0; |
1693 |
} |
1694 |
else if (ballooncon == 7) |
1695 |
{ |
1696 |
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" ); |
1697 |
ballooncon = 8; |
1698 |
balloonend = 0; |
1699 |
} |
1700 |
else if (ballooncon == 8) |
1701 |
{ |
1702 |
if (i_ex(obj_ch2_sceneex2)) |
1703 |
obj_ch2_sceneex2.trackspeed = 20; |
1704 |
msgsetloc(0, ARE YOU READY [Kids]!?Wait for inputClose Message"ARE YOU READY [Kids]!?/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1068_0" ); |
1705 |
ballooncon = 9; |
1706 |
balloonend = 0; |
1707 |
shockthreshold = 10; |
1708 |
hurttimer2 = 10; |
1709 |
snd_play(snd_sneo_overpower); |
1710 |
snd_loop(snd_sneo_overpower); |
1711 |
snd_pitch(snd_sneo_overpower, 0.3); |
1712 |
targetbgspeed = -5; |
1713 |
} |
1714 |
else if (ballooncon == 9) |
1715 |
{ |
1716 |
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" ); |
1717 |
ballooncon = 10; |
1718 |
balloonend = 0; |
1719 |
shockthreshold = 5; |
1720 |
snd_pitch(snd_sneo_overpower, 0.5); |
1721 |
targetbgspeed = -9; |
1722 |
smokethreshold = 1; |
1723 |
} |
1724 |
else if (ballooncon == 10) |
1725 |
{ |
1726 |
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" ); |
1727 |
ballooncon = 11; |
1728 |
balloonend = 0; |
1729 |
shockthreshold = 3; |
1730 |
snd_pitch(snd_sneo_overpower, 0.7); |
1731 |
targetbgspeed = -13; |
1732 |
} |
1733 |
else if (ballooncon == 11) |
1734 |
{ |
1735 |
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" ); |
1736 |
ballooncon = 12; |
1737 |
balloonend = 0; |
1738 |
shockthreshold = 2; |
1739 |
snd_pitch(snd_sneo_overpower, 0.9); |
1740 |
targetbgspeed = -17; |
1741 |
} |
1742 |
else if (ballooncon == 12) |
1743 |
{ |
1744 |
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" ); |
1745 |
ballooncon = 13; |
1746 |
balloonend = 0; |
1747 |
shockthreshold = 1; |
1748 |
snd_pitch(snd_sneo_overpower, 1.1); |
1749 |
targetbgspeed = -21; |
1750 |
} |
1751 |
else if (ballooncon == 13) |
1752 |
{ |
1753 |
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" ); |
1754 |
ballooncon = 0; |
1755 |
balloonend = 1; |
1756 |
shocktimer = 1; |
1757 |
snd_pitch(snd_sneo_overpower, 1.3); |
1758 |
targetbgspeed = -25; |
1759 |
} |
1760 |
endcon = 3; |
1761 |
global.typer = 72; |
1762 |
scr_enemyblconscr_enemyblconfunction 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); |
1763 |
if (ballooncon >= 8) |
1764 |
{ |
1765 |
with (obj_writer) |
1766 |
shake = 2; |
1767 |
} |
1768 |
if (ballooncon == 0) |
1769 |
{ |
1770 |
with (obj_writer) |
1771 |
{ |
1772 |
shake = 3; |
1773 |
rate = 3; |
1774 |
} |
1775 |
} |
1776 |
alarm[6] = 1; |
1777 |
} |
1778 |
if (i_ex(obj_ch2_sceneex2)) |
1779 |
obj_ch2_sceneex2.trackspeed = lerp(obj_ch2_sceneex2.trackspeed, targetbgspeed * 6, 0.1); |
1780 |
if (i_ex(obj_ch2_sceneex2)) |
1781 |
obj_ch2_sceneex2.cityscape_speed_max = lerp(obj_ch2_sceneex2.cityscape_speed_max, targetbgspeed, 0.1); |
1782 |
} |
1783 |
if (endcon == 4) |
1784 |
{ |
1785 |
talktimer++; |
1786 |
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer)) |
1787 |
{ |
1788 |
endtimer++; |
1789 |
if (endtimer <= 90) |
1790 |
snd_pitch(snd_sneo_overpower, lerp(1.3, 2, endtimer / 90)); |
1791 |
if (endtimer == 120) |
1792 |
{ |
1793 |
violentendflash = 1; |
1794 |
endtimer = 140; |
1795 |
} |
1796 |
if (endtimer == 151) |
1797 |
{ |
1798 |
audio_stop_sound(snd_sneo_overpower); |
1799 |
with (obj_afterimage_grow) |
1800 |
instance_destroy(); |
1801 |
snd_play(snd_explosion); |
1802 |
whiteall = scr_dark_markerscr_dark_markerfunction 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); |
1803 |
whiteall.image_xscale = 999; |
1804 |
whiteall.image_yscale = 999; |
1805 |
whiteall.depth = 0; |
1806 |
whiteall.image_alpha = 0; |
1807 |
} |
1808 |
if (endtimer > 150 && endtimer < 162) |
1809 |
whiteall.image_alpha = lerp(0, 1, (endtimer - 150) / 11); |
1810 |
if (endtimer == 300) |
1811 |
{ |
1812 |
blackall = scr_dark_markerscr_dark_markerfunction 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); |
1813 |
blackall.image_xscale = 999; |
1814 |
blackall.image_yscale = 999; |
1815 |
blackall.depth = -1; |
1816 |
blackall.image_alpha = 0; |
1817 |
blackall.image_blend = c_black; |
1818 |
} |
1819 |
if (endtimer > 300 && endtimer < 331) |
1820 |
blackall.image_alpha = lerp(0, 1, (endtimer - 300) / 30); |
1821 |
if (endtimer == 331) |
1822 |
{ |
1823 |
with (whiteall) |
1824 |
{ |
1825 |
if (global.hp[1] < 1) |
1826 |
global.hp[1] = 1; |
1827 |
if (global.hp[2] < 1) |
1828 |
global.hp[2] = 1; |
1829 |
if (global.hp[3] < 1) |
1830 |
global.hp[3] = 1; |
1831 |
if (i_ex(obj_ch2_sceneex2)) |
1832 |
obj_ch2_sceneex2.forcend = 1; |
1833 |
if (i_ex(obj_ch2_sceneex2)) |
1834 |
obj_ch2_sceneex2.con = 13; |
1835 |
} |
1836 |
} |
1837 |
} |
1838 |
} |
1839 |
} |
1840 |
if (sneo_defeat_cutscene_version == 1) |
1841 |
{ |
1842 |
if (endcon == 2) |
1843 |
{ |
1844 |
var aa = 0; |
1845 |
if (instance_exists(obj_ch2_sceneex2) && obj_ch2_sceneex2.shop_spamton_bg_con > 0 && obj_ch2_sceneex2.shop_spamton_bg_con < 3) |
1846 |
aa = 1; |
1847 |
talktimer++; |
1848 |
if ((button3_p() && talktimer > 15 && aa == 0) || (!i_ex(obj_writer) && aa == 0)) |
1849 |
{ |
1850 |
if (ballooncon == 7 && instance_exists(obj_ch2_sceneex2) && obj_ch2_sceneex2.shop_spamton_bg_con < 3) |
1851 |
{ |
1852 |
obj_ch2_sceneex2.shop_spamton_bg_con = 1; |
1853 |
aa = 1; |
1854 |
} |
1855 |
} |
1856 |
if ((button3_p() && talktimer > 15 && aa == 0) || (!i_ex(obj_writer) && aa == 0)) |
1857 |
{ |
1858 |
with (obj_writer) |
1859 |
instance_destroy(); |
1860 |
if (ballooncon == 1) |
1861 |
{ |
1862 |
headendcon = 1; |
1863 |
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" ); |
1864 |
ballooncon = 2; |
1865 |
balloonend = 0; |
1866 |
partmode = 1; |
1867 |
} |
1868 |
else if (ballooncon == 2) |
1869 |
{ |
1870 |
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" ); |
1871 |
ballooncon = 3; |
1872 |
balloonend = 0; |
1873 |
} |
1874 |
else if (ballooncon == 3) |
1875 |
{ |
1876 |
headendcon = 2; |
1877 |
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" ); |
1878 |
ballooncon = 4; |
1879 |
balloonend = 0; |
1880 |
partmode = 1; |
1881 |
} |
1882 |
else if (ballooncon == 4) |
1883 |
{ |
1884 |
headendcon = 3; |
1885 |
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" ); |
1886 |
ballooncon = 5; |
1887 |
balloonend = 0; |
1888 |
partmode = 1; |
1889 |
} |
1890 |
else if (ballooncon == 5) |
1891 |
{ |
1892 |
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" ); |
1893 |
ballooncon = 6; |
1894 |
balloonend = 0; |
1895 |
} |
1896 |
else if (ballooncon == 6) |
1897 |
{ |
1898 |
headendcon = 2; |
1899 |
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" ); |
1900 |
ballooncon = 7; |
1901 |
balloonend = 0; |
1902 |
partmode = 99; |
1903 |
} |
1904 |
else if (ballooncon == 7) |
1905 |
{ |
1906 |
headendcon = 3; |
1907 |
global.currentsong[0] = snd_init("spamton_happy.ogg"); |
1908 |
global.currentsong[1] = mus_play(global.currentsong[0]); |
1909 |
mus_loop(global.currentsong[0]); |
1910 |
msgsetloc(0, [Friendship]!!!Wait for inputClose Message"[Friendship]!!!/%", "obj_spamton_neo_enemy_slash_Step_0_gml_1202_0" ); |
1911 |
ballooncon = 8; |
1912 |
balloonend = 0; |
1913 |
partmode = 36; |
1914 |
} |
1915 |
else if (ballooncon == 8) |
1916 |
{ |
1917 |
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" ); |
1918 |
ballooncon = 9; |
1919 |
balloonend = 0; |
1920 |
} |
1921 |
else if (ballooncon == 9) |
1922 |
{ |
1923 |
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" ); |
1924 |
ballooncon = 10; |
1925 |
balloonend = 0; |
1926 |
} |
1927 |
else if (ballooncon == 10) |
1928 |
{ |
1929 |
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" ); |
1930 |
ballooncon = 11; |
1931 |
balloonend = 0; |
1932 |
} |
1933 |
else if (ballooncon == 11) |
1934 |
{ |
1935 |
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" ); |
1936 |
ballooncon = 12; |
1937 |
balloonend = 0; |
1938 |
} |
1939 |
else if (ballooncon == 12) |
1940 |
{ |
1941 |
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" ); |
1942 |
ballooncon = 13; |
1943 |
balloonend = 0; |
1944 |
partmode = 36; |
1945 |
} |
1946 |
else if (ballooncon == 13) |
1947 |
{ |
1948 |
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" ); |
1949 |
ballooncon = 0; |
1950 |
balloonend = 1; |
1951 |
partmode = 36; |
1952 |
dancealtcon = 2; |
1953 |
} |
1954 |
endcon = 3; |
1955 |
global.typer = 72; |
1956 |
scr_enemyblconscr_enemyblconfunction 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); |
1957 |
if (ballooncon >= 8) |
1958 |
{ |
1959 |
with (obj_writer) |
1960 |
shake = 2; |
1961 |
} |
1962 |
if (ballooncon == 13 || ballooncon == 0) |
1963 |
{ |
1964 |
with (obj_writer) |
1965 |
{ |
1966 |
shake = 3; |
1967 |
rate = 3; |
1968 |
} |
1969 |
} |
1970 |
alarm[6] = 1; |
1971 |
} |
1972 |
if (i_ex(obj_ch2_sceneex2)) |
1973 |
obj_ch2_sceneex2.trackspeed = lerp(obj_ch2_sceneex2.trackspeed, targetbgspeed * 6, 0.1); |
1974 |
if (i_ex(obj_ch2_sceneex2)) |
1975 |
obj_ch2_sceneex2.cityscape_speed_max = lerp(obj_ch2_sceneex2.cityscape_speed_max, targetbgspeed, 0.1); |
1976 |
if (ballooncon == 13) |
1977 |
{ |
1978 |
siner += 2; |
1979 |
for (var i = 0; i < 8; i += 1) |
1980 |
partsiner[i] += 0.6; |
1981 |
} |
1982 |
} |
1983 |
if (endcon == 4) |
1984 |
{ |
1985 |
talktimer++; |
1986 |
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer)) |
1987 |
{ |
1988 |
endtimer++; |
1989 |
if (endtimer == 1) |
1990 |
{ |
1991 |
snd_free(global.currentsong[0]); |
1992 |
snd_play(snd_noise); |
1993 |
snd_play(snd_damage); |
1994 |
blackall4 = scr_dark_markerscr_dark_markerfunction 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); |
1995 |
blackall4.image_xscale = 999; |
1996 |
blackall4.image_yscale = 999; |
1997 |
blackall4.depth = obj_ch2_sceneex2.depth - 1; |
1998 |
blackall4.image_alpha = 0.5; |
1999 |
blackall4.image_blend = c_black; |
2000 |
vine = instance_create(x, y, obj_sneo_vine_cut); |
2001 |
vine.x1 = x + partx[4] + (partxoff[4] / 1.2) + 20 + (sin(partsiner[4] / 25) * 1.8); |
2002 |
vine.x2 = x + partx[4] + (partxoff[4] / 1.5) + 32; |
2003 |
vine.y1 = ((y + party[4]) - 10) + partyoff[4]; |
2004 |
vine.y2 = -400; |
2005 |
vine.depth = depth + 1; |
2006 |
vine.vineid = 4; |
2007 |
vfx = instance_create(x + partx[4] + (partxoff[4] / 1.2) + 16, y - 35, obj_sneo_vine_weak); |
2008 |
vfx.depth = depth - 5; |
2009 |
lastwirecon = 3; |
2010 |
partmode = 99; |
2011 |
if (i_ex(obj_ch2_sceneex2)) |
2012 |
{ |
2013 |
obj_ch2_sceneex2.cityscape_speed_max = 0; |
2014 |
obj_ch2_sceneex2.cityscape_speed = 0; |
2015 |
obj_ch2_sceneex2.trackspeed = 0; |
2016 |
} |
2017 |
} |
2018 |
if (endtimer == 91) |
2019 |
{ |
2020 |
depth = -99999; |
2021 |
blackall = scr_dark_markerscr_dark_markerfunction 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); |
2022 |
blackall.image_xscale = 999; |
2023 |
blackall.image_yscale = 999; |
2024 |
blackall.depth = 0; |
2025 |
blackall.image_alpha = 1; |
2026 |
blackall.image_blend = c_black; |
2027 |
partmode = 43; |
2028 |
} |
2029 |
if (endtimer == 330) |
2030 |
{ |
2031 |
blackall2 = scr_dark_markerscr_dark_markerfunction 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); |
2032 |
blackall2.image_xscale = 999; |
2033 |
blackall2.image_yscale = 999; |
2034 |
blackall2.depth = 0; |
2035 |
blackall2.image_alpha = 1; |
2036 |
blackall2.image_blend = c_black; |
2037 |
blackall2.depth = -999999; |
2038 |
} |
2039 |
if (endtimer == 450) |
2040 |
{ |
2041 |
with (blackall2) |
2042 |
{ |
2043 |
if (global.hp[1] < 1) |
2044 |
global.hp[1] = 1; |
2045 |
if (global.hp[2] < 1) |
2046 |
global.hp[2] = 1; |
2047 |
if (global.hp[3] < 1) |
2048 |
global.hp[3] = 1; |
2049 |
if (i_ex(obj_ch2_sceneex2)) |
2050 |
obj_ch2_sceneex2.forcend = 1; |
2051 |
if (i_ex(obj_ch2_sceneex2)) |
2052 |
obj_ch2_sceneex2.con = 13; |
2053 |
} |
2054 |
} |
2055 |
} |
2056 |
if (ballooncon == 0 && endtimer == 0) |
2057 |
{ |
2058 |
siner += 3; |
2059 |
for (var i = 0; i < 8; i += 1) |
2060 |
partsiner[i] += 0.9; |
2061 |
} |
2062 |
} |
2063 |
} |
2064 |
if (endcon == 10) |
2065 |
{ |
2066 |
endcon = 11; |
2067 |
obj_battlecontroller.skipvictory = 1; |
2068 |
scr_wincombatscr_wincombatfunction 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;
}
} (); |
2069 |
} |
2070 |
if (weirdpathendcon == 6) |
2071 |
{ |
2072 |
partmode = 40; |
2073 |
dontchangepose = 0; |
2074 |
} |
2075 |
if (stoprumblesfx > 0) |
2076 |
stoprumblesfx--; |
2077 |
if (stoprumblesfx == 1) |
2078 |
audio_stop_sound(snd_rumble); |
2079 |
if (scr_debug()) |
2080 |
{ |
2081 |
if (instance_exists(obj_battletester)) |
2082 |
{ |
2083 |
var debugstring = "0-9/Numpad: Specific attack#-/Numpad Decimal for random attack#M to toggle music"; |
2084 |
scr_debug_print_persistentscr_debug_print_persistentfunction scr_debug_print_persistent(arg0)
{
draw_set_halign(fa_right);
var dcolor = draw_get_color();
draw_set_color(c_black);
draw_text_transformed(621, 11, string_hash_to_newline(arg0), 0.5, 0.5, 0);
draw_set_color(dcolor);
draw_text_transformed(620, 10, string_hash_to_newline(arg0), 0.5, 0.5, 0);
draw_set_halign(fa_left);
} (debugstring); |
2085 |
} |
2086 |
if (keyboard_check_pressed(ord("M"))) |
2087 |
{ |
2088 |
if (songplaying) |
2089 |
{ |
2090 |
songtime = audio_sound_get_track_position(global.batmusic[1]); |
2091 |
audio_pause_sound(global.batmusic[1]); |
2092 |
songplaying = 0; |
2093 |
} |
2094 |
else |
2095 |
{ |
2096 |
if (musicdebug == 0) |
2097 |
{ |
2098 |
global.batmusic[1] = snd_init("spamton_neo_mix_ex_wip.ogg"); |
2099 |
mus_loop(global.batmusic[1]); |
2100 |
musicdebug = 1; |
2101 |
} |
2102 |
else |
2103 |
{ |
2104 |
songtime = (songtime + resumeinterval) - (songtime % resumeinterval); |
2105 |
if (songtime > 140) |
2106 |
songtime = 0; |
2107 |
audio_sound_set_track_position(global.batmusic[1], songtime); |
2108 |
audio_resume_sound(global.batmusic[1]); |
2109 |
} |
2110 |
songplaying = 1; |
2111 |
} |
2112 |
} |
2113 |
attackdebug = scr_attack_overridescr_attack_overridefunction scr_attack_override(arg0, arg1, arg2)
{
var __attackdebug = arg0;
if (arg1 > 10)
arg1 = 10;
if (keyboard_check_pressed(vk_decimal) || keyboard_check_pressed(189))
{
__attackdebug = -1;
scr_debug_print(arg2 + " attack randomized.");
}
else
{
for (i = 0; i < arg1; i++)
{
if (keyboard_check_pressed(ord(string(i))) || keyboard_check_pressed(vk_numpad0 + i))
__attackdebug = i;
}
for (i = arg1; i < 10; i++)
{
if (keyboard_check_pressed(ord(string(i))) || keyboard_check_pressed(vk_numpad0 + i))
scr_debug_print(arg2 + " does not have an attack no. " + string(i));
}
}
if (__attackdebug != arg0 && __attackdebug > -1)
scr_debug_print(arg2 + " attack set to no. " + string(__attackdebug));
if (keyboard_check_pressed(vk_tab))
{
if (window_get_height() == 480)
{
var __screensize = floor(display_get_height() / 480);
window_set_size(640 * __screensize, 480 * __screensize);
}
else
{
window_set_size(640, 480);
}
}
return __attackdebug;
} (attackdebug, 10, "SNEO"); |
2114 |
} |
2115 |
} |
2116 |
|
2117 |
enum e__VW |
2118 |
{ |
2119 |
XView, |
2120 |
YView, |
2121 |
WView, |
2122 |
HView, |
2123 |
Angle, |
2124 |
HBorder, |
2125 |
VBorder, |
2126 |
HSpeed, |
2127 |
VSpeed, |
2128 |
Object, |
2129 |
Visible, |
2130 |
XPort, |
2131 |
YPort, |
2132 |
WPort, |
2133 |
HPort, |
2134 |
Camera, |
2135 |
SurfaceID |
2136 |
} |