1 |
if (global.monstertype[myself] == 21K.Round 2) |
2 |
secondtime = 1 |
3 |
if (global.monster[myself] == 1) |
4 |
{ |
5 |
global.flag[(51 + myself)] = 4 |
6 |
if (secondtime == 1) |
7 |
milk_counter = 99 |
8 |
if (secondtime == 1) |
9 |
ralsei_lecture = 99 |
10 |
if (global.mnfight == 1 && talked == 0) |
11 |
{ |
12 |
scr_randomtargetscr_randomtargetfunction scr_randomtarget() //gml_Script_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
}
} () |
13 |
if (!instance_exists(obj_darkener)) |
14 |
instance_create(0, 0, obj_darkener) |
15 |
milkmax = 1000 |
16 |
if (milk_counter > 0) |
17 |
milkmax = 600 |
18 |
if (global.monsterhp[myself] > milkmax) |
19 |
{ |
20 |
if ((!instance_exists(obj_moveheart)) && (!instance_exists(obj_heart))) |
21 |
scr_moveheartscr_moveheartfunction scr_moveheart() //gml_Script_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);
} () |
22 |
if (!instance_exists(obj_growtangle)) |
23 |
instance_create(((__view_get((0 << 0), 0)) + 320), ((__view_get((1 << 0), 0)) + 170), obj_growtangle) |
24 |
} |
25 |
global.mnfight = 2 |
26 |
rtimer = 0 |
27 |
global.typer = 50 |
28 |
talked = 2 |
29 |
attacked = 0 |
30 |
talktimer = 0 |
31 |
} |
32 |
if (talked == 2) |
33 |
global.mnfight = 2 |
34 |
if (global.mnfight == 2 && attacked == 0) |
35 |
{ |
36 |
rtimer += 1 |
37 |
if (rtimer == 12) |
38 |
{ |
39 |
talked = 0 |
40 |
milkmax = 1000 |
41 |
if (milk_counter > 0) |
42 |
milkmax = 600 |
43 |
if (global.monsterhp[myself] <= milkmax) |
44 |
{ |
45 |
if (scon == 0) |
46 |
scon = 1 |
47 |
} |
48 |
else |
49 |
{ |
50 |
if (!instance_exists(obj_checkers_leap)) |
51 |
{ |
52 |
if (attacktype == 0) |
53 |
rr = 0 |
54 |
if (attacktype == 1) |
55 |
rr = 3 |
56 |
if (attacktype == 2) |
57 |
rr = 1 |
58 |
if (attacktype == 3) |
59 |
rr = 2 |
60 |
dc = instance_create(x, y, obj_checkers_leap) |
61 |
dc.leapmode = rr |
62 |
dc.target = mytarget |
63 |
dc.damage = global.monsterat[myself] * 5 |
64 |
attacktype += 1 |
65 |
if (attacktype > 3) |
66 |
attacktype = 0 |
67 |
} |
68 |
siner = 0 |
69 |
visible = 0 |
70 |
turns += 1 |
71 |
} |
72 |
global.turntimer = 999 |
73 |
attacked = 1 |
74 |
global.typer = 6 |
75 |
global.fc = 0 |
76 |
rr = choose(0) |
77 |
global.battlemsg[0] = * K.Round shuffles furiously.stringsetloc("* K.Round shuffles furiously.", "obj_checkers_enemy_slash_Step_0_gml_77_0") |
78 |
if (global.monsterstatus[myself] == 1) |
79 |
global.battlemsg[0] = * K.Round looks weak.stringsetloc("* K.Round looks weak.", "obj_checkers_enemy_slash_Step_0_gml_79_0") |
80 |
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3)) |
81 |
global.battlemsg[0] = * K.Round's shuffle becomes lethargic.stringsetloc("* K.Round's shuffle becomes lethargic.", "obj_checkers_enemy_slash_Step_0_gml_80_0") |
82 |
if (crown > 0) |
83 |
global.battlemsg[0] = stringsetsubloc("* The crown is \\cY~1-percent\\cW loose!", string(crown), "obj_checkers_enemy_slash_Step_0_gml_82_0") |
84 |
} |
85 |
else |
86 |
global.turntimer = 120 |
87 |
} |
88 |
if (global.mnfight == 2) |
89 |
{ |
90 |
if (global.turntimer <= 1) |
91 |
{ |
92 |
if (battlecancel == 1) |
93 |
global.mercymod[myself] = 999 |
94 |
if (battlecancel == 2) |
95 |
{ |
96 |
with (obj_battlecontroller) |
97 |
noreturn = 1 |
98 |
con = 1 |
99 |
battlecancel = 3 |
100 |
} |
101 |
} |
102 |
} |
103 |
} |
104 |
if (scon == 1) |
105 |
{ |
106 |
if (milk_counter > 0) |
107 |
scon = 1.5 |
108 |
else |
109 |
{ |
110 |
with (obj_writer) |
111 |
instance_destroy() |
112 |
global.msg[0] = * K. ROUND felt stressed out and attacked!Wait for inputClose Messagestringsetloc("* K. ROUND felt stressed out and attacked!/%", "obj_checkers_enemy_slash_Step_0_gml_119_0") |
113 |
scr_battletext_default() |
114 |
scon = 1.5 |
115 |
} |
116 |
} |
117 |
if (scon == 1.5 && (!instance_exists(obj_writer))) |
118 |
{ |
119 |
snd_play(snd_magicsprinkle) |
120 |
with (obj_writer) |
121 |
instance_destroy() |
122 |
global.msg[0] = * K. ROUND practiced self-care!stringsetloc("* K. ROUND practiced self-care!", "obj_checkers_enemy_slash_Step_0_gml_129_0") |
123 |
global.turntimer = 999 |
124 |
scr_battletext_default() |
125 |
milk = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} ((x - 100), (y + 60), spr_checkers_milk) |
126 |
with (milk) |
127 |
{ |
128 |
image_speed = 0 |
129 |
image_xscale = 4 |
130 |
image_yscale = 4 |
131 |
image_alpha = 0 |
132 |
} |
133 |
milk.depth = depth - 1 |
134 |
scon = 2 |
135 |
milktimer = 0 |
136 |
} |
137 |
if (scon == 2) |
138 |
{ |
139 |
with (milk) |
140 |
{ |
141 |
image_xscale -= 0.2 |
142 |
image_yscale -= 0.2 |
143 |
image_alpha += 0.1 |
144 |
} |
145 |
milktimer += 1 |
146 |
if (milktimer >= 10) |
147 |
{ |
148 |
scon = 3 |
149 |
milktimer = 0 |
150 |
with (milk) |
151 |
image_alpha = 1.4 |
152 |
} |
153 |
} |
154 |
if (scon == 3) |
155 |
{ |
156 |
milktimer += 1 |
157 |
if (milktimer >= 25) |
158 |
{ |
159 |
scon = 4 |
160 |
milktimer = 0 |
161 |
} |
162 |
} |
163 |
if (scon == 4) |
164 |
{ |
165 |
with (milk) |
166 |
{ |
167 |
hspeed += 2 |
168 |
image_alpha -= 0.1 |
169 |
} |
170 |
milktimer += 1 |
171 |
if (milktimer == 10) |
172 |
{ |
173 |
if (global.monsterat[myself] < 10) |
174 |
global.monsterat[myself] += 0.5 |
175 |
snd_play(snd_power) |
176 |
milkheal = 700 |
177 |
if (milk_counter == 0) |
178 |
milkheal = 300 |
179 |
global.monsterhp[myself] += milkheal |
180 |
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter) |
181 |
with (healamt) |
182 |
{ |
183 |
delay = 8 |
184 |
type = 3 |
185 |
damage = 700 |
186 |
} |
187 |
healamt.damage = milkheal |
188 |
hanim = instance_create(x, y, obj_healanim) |
189 |
hanim.target = id |
190 |
} |
191 |
if (milktimer >= 15) |
192 |
{ |
193 |
with (milk) |
194 |
instance_destroy() |
195 |
scon = 5 |
196 |
milktimer = 0 |
197 |
} |
198 |
} |
199 |
if (scon == 5) |
200 |
{ |
201 |
milktimer += 1 |
202 |
if (milktimer >= 30) |
203 |
{ |
204 |
if (milk_counter > 0) |
205 |
{ |
206 |
with (obj_writer) |
207 |
instance_destroy() |
208 |
scon = 0 |
209 |
milktimer = 0 |
210 |
global.turntimer = 0 |
211 |
} |
212 |
else |
213 |
{ |
214 |
with (obj_writer) |
215 |
instance_destroy() |
216 |
scon = 6 |
217 |
global.msg[0] = * K. ROUND's HP and ATTACK went up!Wait for inputstringsetloc("* K. ROUND's HP and ATTACK went up!/", "obj_checkers_enemy_slash_Step_0_gml_226_0") |
218 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (1, 3) |
219 |
global.msg[2] = * Susie!Delay 11 Stop attacking it!Delay 11 You're making it stronger!Wait for inputstringsetloc("* Susie^1! Stop attacking it^1! You're making it stronger!/", "obj_checkers_enemy_slash_Step_0_gml_228_0") |
220 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (3, 3) |
221 |
global.msg[4] = * Pssh,Delay 11 and let it think I'm AFRAID?Delay 11 No way!Wait for inputClose Messagestringsetloc("* Pssh^1, and let it think I'm AFRAID^1? No way!/%", "obj_checkers_enemy_slash_Step_0_gml_230_0") |
222 |
scr_battletext_default() |
223 |
} |
224 |
milk_counter += 1 |
225 |
} |
226 |
} |
227 |
if (scon == 6) |
228 |
{ |
229 |
if (!instance_exists(obj_writer)) |
230 |
{ |
231 |
global.fc = 0 |
232 |
scon = 0 |
233 |
milktimer = 0 |
234 |
global.turntimer = 0 |
235 |
} |
236 |
} |
237 |
if (global.myfight == 3) |
238 |
{ |
239 |
xx = __view_get((0 << 0), 0) |
240 |
yy = __view_get((1 << 0), 0) |
241 |
if (acting == 1 && actcon == 0) |
242 |
{ |
243 |
actcon = 1 |
244 |
if (secondtime == 0) |
245 |
{ |
246 |
global.msg[0] = * K.ROUND - AT 9 DF 3 * Check?Delay 11 * That's chess,Delay 11 not checkers!Wait for inputClose Messagestringsetloc("* K.ROUND - AT 9 DF 3&* Check^1?&* That's chess^1, not checkers!/%", "obj_checkers_enemy_slash_Step_0_gml_263_0") |
247 |
global.actname[myself][0] = Checkersstringsetloc("Checkers", "obj_checkers_enemy_slash_Step_0_gml_264_0") |
248 |
global.flag[246 checkers_act] = 1 |
249 |
if (checked == 1) |
250 |
global.msg[0] = * K.ROUND - AT 9 DF 3 * That's better.Wait for inputClose Messagestringsetloc("* K.ROUND - AT 9 DF 3&* That's better./%", "obj_checkers_enemy_slash_Step_0_gml_268_0") |
251 |
checked = 1 |
252 |
} |
253 |
else |
254 |
{ |
255 |
if (global.flag[246 checkers_act] == 1) |
256 |
{ |
257 |
global.msg[0] = * K.ROUND - AT 9 DF 3 * Watch out for its Flying King attack!Wait for inputstringsetloc("* K.ROUND - AT 9 DF 3&* Watch out for its Flying King attack!/", "obj_checkers_enemy_slash_Step_0_gml_277_0") |
258 |
global.msg[1] = * (Also,Delay 11 you need to get the CROWN off of its head.)Wait for inputClose Messagestringsetloc("* (Also^1, you need to get the CROWN off of its head.)/%", "obj_checkers_enemy_slash_Step_0_gml_278_0") |
259 |
} |
260 |
else |
261 |
{ |
262 |
global.msg[0] = * K.ROUND - AT 9 DF 3 * It's being controlled into attacking...!Wait for inputstringsetloc("* K.ROUND - AT 9 DF 3&* It's being controlled into attacking...!/", "obj_checkers_enemy_slash_Step_0_gml_282_0") |
263 |
global.msg[1] = * (Though,Delay 11 wouldn't it just attack anyway...?)Wait for inputClose Messagestringsetloc("* (Though^1, wouldn't it just attack anyway...?)/%", "obj_checkers_enemy_slash_Step_0_gml_283_0") |
264 |
} |
265 |
checked = 1 |
266 |
} |
267 |
scr_battletext_default() |
268 |
} |
269 |
if (acting == 2 && actcon == 0) |
270 |
{ |
271 |
if (secondtime == 0) |
272 |
crown += 15 |
273 |
if (secondtime == 1) |
274 |
crown += 18 |
275 |
global.msg[0] = * You bowed to K. ROUND.Wait for inputClose Messagestringsetloc("* You bowed to K. ROUND./%", "obj_checkers_enemy_slash_Step_0_gml_296_0") |
276 |
with (obj_herokris) |
277 |
visible = 0 |
278 |
global.faceaction[0] = 0 |
279 |
global.charaction[0] = 0 |
280 |
bowkris = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (obj_herokris.x, obj_herokris.y, spr_krisb_bow) |
281 |
with (bowkris) |
282 |
{ |
283 |
scr_oflashscr_oflashfunction scr_oflash() //gml_Script_scr_oflash
{
_oflash = instance_create(x, y, obj_oflash)
_oflash.image_xscale = image_xscale
_oflash.image_speed = 0
_oflash.image_index = image_index
_oflash.image_yscale = image_yscale
if (global.chapter == 2 && object_index == obj_mauswheel_enemy)
_oflash.sprite_index = spr_mauswheel_idle
else
_oflash.sprite_index = sprite_index
_oflash.depth = depth - 1
_oflash.target = id
return _oflash;
} () |
284 |
a = scr_afterimagescr_afterimagefunction scr_afterimage() //gml_Script_scr_afterimage
{
afterimage = instance_create(x, y, obj_afterimage)
afterimage.sprite_index = sprite_index
afterimage.image_index = image_index
afterimage.image_blend = image_blend
afterimage.image_speed = 0
afterimage.depth = depth
afterimage.image_xscale = image_xscale
afterimage.image_yscale = image_yscale
afterimage.image_angle = image_angle
return afterimage;
} () |
285 |
a.hspeed = 5 |
286 |
a.depth = depth + 1 |
287 |
} |
288 |
snd_play(snd_item) |
289 |
scr_battletext_default() |
290 |
actcon = 20 |
291 |
} |
292 |
if (actcon == 20 && (!instance_exists(obj_writer))) |
293 |
{ |
294 |
visible = 0 |
295 |
bowcheck = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (x, y, spr_checkers_bow) |
296 |
with (bowcheck) |
297 |
image_speed = 0.334 |
298 |
global.fc = 0 |
299 |
global.typer = 4 |
300 |
global.msg[0] = * It bowed back.Delay 11 * Its crown loosened a little.Wait for inputClose Messagestringsetloc("* It bowed back^1.&* Its crown loosened a little./%", "obj_checkers_enemy_slash_Step_0_gml_327_0") |
301 |
if (ralsei_lecture == 0 && secondtime == 0) |
302 |
{ |
303 |
global.msg[0] = * It bowed back.Delay 11 * Its crown loosened a little.Wait for inputstringsetloc("* It bowed back^1.&* Its crown loosened a little./", "obj_checkers_enemy_slash_Step_0_gml_330_0") |
304 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (1, 0) |
305 |
global.msg[2] = * That's it,Delay 11 Kris!Delay 11 If we can get its crown off...Wait for inputstringsetloc("* That's it^1, Kris^1! If we can get its crown off.../", "obj_checkers_enemy_slash_Step_0_gml_332_0") |
306 |
global.msg[3] = Face 8* It should turn back into a little guy...!Wait for inputstringsetloc("\\E8* It should turn back into a little guy...!/", "obj_checkers_enemy_slash_Step_0_gml_333_0") |
307 |
global.msg[4] = Face 0* Susie!Delay 11 Help us bow at it!Wait for inputstringsetloc("\\E0* Susie^1! Help us bow at it!/", "obj_checkers_enemy_slash_Step_0_gml_334_0") |
308 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (5, 0) |
309 |
global.msg[6] = * Nah,Delay 11 it's crown'll come off...Wait for inputstringsetloc("* Nah^1, it's crown'll come off.../", "obj_checkers_enemy_slash_Step_0_gml_336_0") |
310 |
global.msg[7] = Face 4* When I smash this guy into the GROUND!Wait for inputstringsetloc("\\E4* When I smash this guy into the GROUND!/", "obj_checkers_enemy_slash_Step_0_gml_337_0") |
311 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (8, 1) |
312 |
global.msg[9] = * ...Wait for inputClose Messagestringsetloc("* .../%", "obj_checkers_enemy_slash_Step_0_gml_339_0") |
313 |
ralsei_lecture = 1 |
314 |
} |
315 |
if (thrown == 0 && secondtime == 1) |
316 |
{ |
317 |
if (bowcounter == 0) |
318 |
{ |
319 |
global.fc = 2 |
320 |
global.fe = 3 |
321 |
global.typer = 45 |
322 |
global.msg[0] = * Huh!? That hardly did anything!Wait for inputstringsetloc("* Huh!? That hardly did anything!/", "obj_checkers_enemy_slash_Step_0_gml_349_0") |
323 |
global.msg[1] = Face 1* How can we push off that CROWN...?Wait for inputstringsetloc("\\E1* How can we push off that CROWN...?/", "obj_checkers_enemy_slash_Step_0_gml_350_0") |
324 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (2, 1) |
325 |
global.msg[3] = * ... Hmm.Wait for inputClose Messagestringsetloc("* ... Hmm./%", "obj_checkers_enemy_slash_Step_0_gml_352_0") |
326 |
} |
327 |
if (bowcounter == 1) |
328 |
{ |
329 |
global.fc = 2 |
330 |
global.fe = 3 |
331 |
global.typer = 45 |
332 |
global.msg[0] = * It's still hardly working!Wait for inputstringsetloc("* It's still hardly working!/", "obj_checkers_enemy_slash_Step_0_gml_359_0") |
333 |
global.msg[1] = Face 6* Whatever can we do,Delay 11 Kris...?Wait for inputstringsetloc("\\E6* Whatever can we do^1, Kris...?/", "obj_checkers_enemy_slash_Step_0_gml_360_0") |
334 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (2, 2) |
335 |
global.msg[3] = * ... Hey.Wait for inputClose Messagestringsetloc("* ... Hey./%", "obj_checkers_enemy_slash_Step_0_gml_362_0") |
336 |
} |
337 |
if (bowcounter == 2) |
338 |
{ |
339 |
global.fc = 2 |
340 |
global.fe = 8 |
341 |
global.typer = 45 |
342 |
global.msg[0] = * Sometimes persistence is key,Delay 11 Kris!!Wait for inputstringsetloc("* Sometimes persistence is key^1, Kris!!/", "obj_checkers_enemy_slash_Step_0_gml_369_0") |
343 |
global.msg[1] = Face 6* It'll be hard,Delay 11 but we can do it!!Wait for inputstringsetloc("\\E6* It'll be hard^1, but we can do it!!/", "obj_checkers_enemy_slash_Step_0_gml_370_0") |
344 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (2, 7) |
345 |
global.msg[3] = * HEY YOU GUYS!!!Wait for inputClose Messagestringsetloc("* HEY YOU GUYS!!!/%", "obj_checkers_enemy_slash_Step_0_gml_372_0") |
346 |
} |
347 |
} |
348 |
bowcounter += 1 |
349 |
scr_battletextscr_battletextfunction scr_battletext() //gml_Script_scr_battletext
{
xx = __view_get((0 << 0), 0)
yy = __view_get((1 << 0), 0)
if (global.fc != 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
if (global.fc == 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
myface = instance_create((xx + 26), (yy + 380), obj_face)
with (battlewriter)
{
dialoguer = 1
facer = 1
if (global.fc == 0 && originalcharline == 33)
charline = 26
}
return battlewriter;
} () |
350 |
actcon = 21 |
351 |
} |
352 |
if (actcon == 21 && (!instance_exists(obj_writer))) |
353 |
{ |
354 |
with (bowkris) |
355 |
instance_destroy() |
356 |
with (bowcheck) |
357 |
instance_destroy() |
358 |
visible = 1 |
359 |
with (obj_herokris) |
360 |
visible = 1 |
361 |
actcon = 1 |
362 |
} |
363 |
if (secondtime == 0) |
364 |
{ |
365 |
if (acting == 3 && actcon == 0) |
366 |
{ |
367 |
crown += 20 |
368 |
global.msg[0] = * You and Ralsei bowed.Wait for inputClose Messagestringsetloc("* You and Ralsei bowed./%", "obj_checkers_enemy_slash_Step_0_gml_398_0") |
369 |
with (obj_herokris) |
370 |
visible = 0 |
371 |
with (obj_heroralsei) |
372 |
visible = 0 |
373 |
global.faceaction[0] = 0 |
374 |
global.charaction[0] = 0 |
375 |
global.faceaction[1] = 0 |
376 |
global.charaction[1] = 0 |
377 |
bowkris = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (obj_herokris.x, obj_herokris.y, spr_krisb_bow) |
378 |
with (bowkris) |
379 |
{ |
380 |
scr_oflashscr_oflashfunction scr_oflash() //gml_Script_scr_oflash
{
_oflash = instance_create(x, y, obj_oflash)
_oflash.image_xscale = image_xscale
_oflash.image_speed = 0
_oflash.image_index = image_index
_oflash.image_yscale = image_yscale
if (global.chapter == 2 && object_index == obj_mauswheel_enemy)
_oflash.sprite_index = spr_mauswheel_idle
else
_oflash.sprite_index = sprite_index
_oflash.depth = depth - 1
_oflash.target = id
return _oflash;
} () |
381 |
a = scr_afterimagescr_afterimagefunction scr_afterimage() //gml_Script_scr_afterimage
{
afterimage = instance_create(x, y, obj_afterimage)
afterimage.sprite_index = sprite_index
afterimage.image_index = image_index
afterimage.image_blend = image_blend
afterimage.image_speed = 0
afterimage.depth = depth
afterimage.image_xscale = image_xscale
afterimage.image_yscale = image_yscale
afterimage.image_angle = image_angle
return afterimage;
} () |
382 |
a.hspeed = 5 |
383 |
a.depth = depth + 1 |
384 |
} |
385 |
bowral = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (obj_heroralsei.x, obj_heroralsei.y, spr_ralseib_bow) |
386 |
with (bowral) |
387 |
{ |
388 |
scr_oflashscr_oflashfunction scr_oflash() //gml_Script_scr_oflash
{
_oflash = instance_create(x, y, obj_oflash)
_oflash.image_xscale = image_xscale
_oflash.image_speed = 0
_oflash.image_index = image_index
_oflash.image_yscale = image_yscale
if (global.chapter == 2 && object_index == obj_mauswheel_enemy)
_oflash.sprite_index = spr_mauswheel_idle
else
_oflash.sprite_index = sprite_index
_oflash.depth = depth - 1
_oflash.target = id
return _oflash;
} () |
389 |
a = scr_afterimagescr_afterimagefunction scr_afterimage() //gml_Script_scr_afterimage
{
afterimage = instance_create(x, y, obj_afterimage)
afterimage.sprite_index = sprite_index
afterimage.image_index = image_index
afterimage.image_blend = image_blend
afterimage.image_speed = 0
afterimage.depth = depth
afterimage.image_xscale = image_xscale
afterimage.image_yscale = image_yscale
afterimage.image_angle = image_angle
return afterimage;
} () |
390 |
a.hspeed = 5 |
391 |
a.depth = depth + 1 |
392 |
} |
393 |
snd_play(snd_item) |
394 |
scr_battletext_default() |
395 |
actcon = 30 |
396 |
} |
397 |
} |
398 |
if (actcon == 30 && (!instance_exists(obj_writer))) |
399 |
{ |
400 |
visible = 0 |
401 |
bowcheck = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (x, y, spr_checkers_bow) |
402 |
with (bowcheck) |
403 |
image_speed = 0.5 |
404 |
global.msg[0] = * K. ROUND bowed back.Delay 11 * Its crown loosened!Wait for inputClose Messagestringsetloc("* K. ROUND bowed back^1.&* Its crown loosened!/%", "obj_checkers_enemy_slash_Step_0_gml_442_0") |
405 |
if (ralsei_lecture == 0 && secondtime == 0) |
406 |
{ |
407 |
global.msg[0] = * K. ROUND bowed back.Delay 11 * Its crown loosened!Wait for inputstringsetloc("* K. ROUND bowed back^1.&* Its crown loosened!/", "obj_checkers_enemy_slash_Step_0_gml_445_0") |
408 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (1, 0) |
409 |
global.msg[2] = * That's it,Delay 11 Kris!Delay 11 If we can get its crown off...Wait for inputstringsetloc("* That's it^1, Kris^1! If we can get its crown off.../", "obj_checkers_enemy_slash_Step_0_gml_447_0") |
410 |
global.msg[3] = Face 8* It should turn back into a little guy...!Wait for inputstringsetloc("\\E8* It should turn back into a little guy...!/", "obj_checkers_enemy_slash_Step_0_gml_448_0") |
411 |
global.msg[4] = Face 0* Susie!Delay 11 Help us bow at it!Wait for inputstringsetloc("\\E0* Susie^1! Help us bow at it!/", "obj_checkers_enemy_slash_Step_0_gml_449_0") |
412 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (5, 0) |
413 |
global.msg[6] = * Nah,Delay 11 its crown'll come off...Wait for inputstringsetloc("* Nah^1, its crown'll come off.../", "obj_checkers_enemy_slash_Step_0_gml_451_0") |
414 |
global.msg[7] = Face 4* When I smash this guy to the GROUND!Wait for inputstringsetloc("\\E4* When I smash this guy to the GROUND!/", "obj_checkers_enemy_slash_Step_0_gml_452_0") |
415 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (8, 1) |
416 |
global.msg[9] = * ...Wait for inputClose Messagestringsetloc("* .../%", "obj_checkers_enemy_slash_Step_0_gml_454_0") |
417 |
ralsei_lecture = 1 |
418 |
} |
419 |
scr_battletext_default() |
420 |
actcon = 31 |
421 |
} |
422 |
if (actcon == 31 && (!instance_exists(obj_writer))) |
423 |
{ |
424 |
with (bowral) |
425 |
instance_destroy() |
426 |
with (bowkris) |
427 |
instance_destroy() |
428 |
with (bowcheck) |
429 |
instance_destroy() |
430 |
visible = 1 |
431 |
with (obj_heroralsei) |
432 |
visible = 1 |
433 |
with (obj_herokris) |
434 |
visible = 1 |
435 |
actcon = 1 |
436 |
} |
437 |
if (secondtime == 1) |
438 |
{ |
439 |
if (acting == 3 && actcon == 0) |
440 |
{ |
441 |
if (thrown == 1) |
442 |
{ |
443 |
with (trsus) |
444 |
instance_destroy() |
445 |
thrown = 2 |
446 |
} |
447 |
if (thrown > 0) |
448 |
{ |
449 |
global.actname[myself][2] = Throwstringsetloc("Throw", "obj_checkers_enemy_slash_Step_0_gml_487_0") |
450 |
global.msg[0] = stringsetsubloc("* Press ~1 to determine the ANGLE!", scr_get_input_namescr_get_input_namefunction scr_get_input_name(argument0) //gml_Script_scr_get_input_name
{
var _control = "[?]"
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[argument0]
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[argument0]] + right_bracket
if (!is_string(_control))
_control = "[?]"
else
return _control;
} (6), "obj_checkers_enemy_slash_Step_0_gml_489_0") |
451 |
flash = 0 |
452 |
becomeflash = 0 |
453 |
scr_battletext_default() |
454 |
actcon = 90 |
455 |
instance_create(x, y, obj_throwtarget) |
456 |
throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_throwralsei) |
457 |
visible = 0 |
458 |
global.faceaction[1] = 0 |
459 |
global.charaction[1] = 0 |
460 |
global.faceaction[2] = 0 |
461 |
global.charaction[2] = 0 |
462 |
with (obj_herosusie) |
463 |
visible = 0 |
464 |
with (obj_heroralsei) |
465 |
visible = 0 |
466 |
snd_play(snd_grab) |
467 |
} |
468 |
else |
469 |
{ |
470 |
global.typer = 31 |
471 |
global.fc = 2 |
472 |
global.fe = 6 |
473 |
global.msg[0] = * Susie?Delay 11 You want to ACT?Delay 11 Aww, what's your idea?Wait for inputstringsetloc("* Susie^1? You want to ACT^1? Aww, what's your idea?/", "obj_checkers_enemy_slash_Step_0_gml_510_0") |
474 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (1, 0) |
475 |
global.msg[2] = * Umm...Delay 11 well...Delay 11 how do I say this.Wait for inputstringsetloc("* Umm..^1. well..^1. how do I say this./", "obj_checkers_enemy_slash_Step_0_gml_512_0") |
476 |
global.msg[3] = * I kind of...Delay 11 * Need you for this one.Wait for inputstringsetloc("* I kind of..^1.&* Need you for this one./", "obj_checkers_enemy_slash_Step_0_gml_513_0") |
477 |
scr_ralfacescr_ralfacefunction scr_ralface(argument0, argument1) //gml_Script_scr_ralface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(argument1), "scr_ralface_slash_scr_ralface_gml_1_0")
} (4, 8) |
478 |
global.msg[5] = * That's fine,Delay 11 Susie!Delay 11 * I'll help!Wait for inputstringsetloc("* That's fine^1, Susie^1!&* I'll help!/", "obj_checkers_enemy_slash_Step_0_gml_515_0") |
479 |
global.msg[6] = Face 0* You want to apologize to it for earlier,Delay 11 right?Wait for inputstringsetloc("\\E0* You want to apologize to it for earlier^1, right?/", "obj_checkers_enemy_slash_Step_0_gml_516_0") |
480 |
scr_susfacescr_susfacefunction scr_susface(argument0, argument1) //gml_Script_scr_susface
{
global.msg[argument0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(argument1), "scr_susface_slash_scr_susface_gml_1_0")
} (7, 2) |
481 |
global.msg[8] = * Nah,Delay 11 I just need you to stay still.Wait for inputClose Messagestringsetloc("* Nah^1, I just need you to stay still./%", "obj_checkers_enemy_slash_Step_0_gml_518_0") |
482 |
actcon = 10 |
483 |
scr_battletextscr_battletextfunction scr_battletext() //gml_Script_scr_battletext
{
xx = __view_get((0 << 0), 0)
yy = __view_get((1 << 0), 0)
if (global.fc != 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
if (global.fc == 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
myface = instance_create((xx + 26), (yy + 380), obj_face)
with (battlewriter)
{
dialoguer = 1
facer = 1
if (global.fc == 0 && originalcharline == 33)
charline = 26
}
return battlewriter;
} () |
484 |
} |
485 |
} |
486 |
} |
487 |
if (acting == 4 && actcon == 0) |
488 |
{ |
489 |
actcon = 1 |
490 |
global.msg[0] = * You explained to K. Round about the importance of dodging Susie's attacks.Wait for inputstringsetloc("* You explained to K. Round about the importance of dodging Susie's attacks./", "obj_checkers_enemy_slash_Step_0_gml_531_0") |
491 |
global.msg[1] = * But it didn't seem to understand...Wait for inputClose Messagestringsetloc("* But it didn't seem to understand.../%", "obj_checkers_enemy_slash_Step_0_gml_532_0") |
492 |
if (warned == 1) |
493 |
{ |
494 |
global.msg[0] = * You started making siren noises with your mouth and looking at Susie.Wait for inputstringsetloc("* You started making siren noises with your mouth and looking at Susie./", "obj_checkers_enemy_slash_Step_0_gml_535_0") |
495 |
global.msg[1] = * K. Round still didn't understand...Wait for inputClose Messagestringsetloc("* K. Round still didn't understand.../%", "obj_checkers_enemy_slash_Step_0_gml_536_0") |
496 |
} |
497 |
if (warned == 2) |
498 |
{ |
499 |
global.msg[0] = * You started explaining that Susie is really dangerous and strong.Wait for inputstringsetloc("* You started explaining that Susie is really dangerous and strong./", "obj_checkers_enemy_slash_Step_0_gml_540_0") |
500 |
global.msg[1] = * Susie got a large boost to her morale.Wait for inputstringsetloc("* Susie got a large boost to her morale./", "obj_checkers_enemy_slash_Step_0_gml_541_0") |
501 |
global.msg[2] = * Susie's ATTACK went up massively...!Wait for inputClose Messagestringsetloc("* Susie's ATTACK went up massively...!/%", "obj_checkers_enemy_slash_Step_0_gml_542_0") |
502 |
global.battleat[2] *= 1.5 |
503 |
} |
504 |
warned += 1 |
505 |
scr_battletext_default() |
506 |
} |
507 |
if (actcon == 1 && (!instance_exists(obj_writer))) |
508 |
{ |
509 |
actcon = 0 |
510 |
if (crown >= 100) |
511 |
{ |
512 |
global.mercymod[myself] = 999 |
513 |
actcon = 50 |
514 |
} |
515 |
else |
516 |
scr_attackphasescr_attackphasefunction scr_attackphase() //gml_Script_scr_attackphase
{
with (obj_battlecontroller)
{
techwon = 0
if ( scr_monsterpop() == 0)
techwon = 1
if (global.chapter == 2 && i_ex(obj_berdlyb_enemy) && obj_berdlyb_enemy.endcon == 1)
techwon = 1
else if (techwon == 1)
scr_wincombat()
if (techwon == 0)
{
for (__hiti = 0; __hiti < 3; __hiti++)
global.hittarget[__hiti] = 0
fightphase = 1
global.charturn = 3
if (global.charaction[0] == 4 || global.charaction[0] == 2)
fightphase = 0
if (global.charaction[1] == 4 || global.charaction[1] == 2)
fightphase = 0
if (global.charaction[2] == 4 || global.charaction[2] == 2)
fightphase = 0
if (global.myfight == 4)
fightphase = 1
if (fightphase == 1)
{
global.myfight = 1
instance_create((xx + 2), (yy + 365), obj_attackpress)
}
else
{
global.myfight = 4
instance_create(0, 0, obj_spellphase)
}
}
}
} () |
517 |
} |
518 |
if (actcon == 10 && (!instance_exists(obj_writer))) |
519 |
{ |
520 |
actcon = 11 |
521 |
alarm[4] = 30 |
522 |
with (obj_herosusie) |
523 |
visible = 0 |
524 |
with (obj_heroralsei) |
525 |
visible = 0 |
526 |
thrown = 1 |
527 |
trsus = scr_dark_markerscr_dark_markerfunction scr_dark_marker(argument0, argument1, argument2) //gml_Script_scr_dark_marker
{
thismarker = instance_create(argument0, argument1, obj_marker)
with (thismarker)
{
sprite_index = argument2
image_speed = 0
image_xscale = 2
image_yscale = 2
}
return thismarker;
} (obj_herosusie.x, obj_herosusie.y, spr_susieb_throwralseiready) |
528 |
snd_play(snd_grab) |
529 |
} |
530 |
if (actcon == 12) |
531 |
{ |
532 |
global.fe = 7 |
533 |
global.msg[0] = * Kris!Delay 11 We gotta get that CROWN off its head!Wait for inputstringsetloc("* Kris^1! We gotta get that CROWN off its head!/", "obj_checkers_enemy_slash_Step_0_gml_578_0") |
534 |
global.msg[1] = * Help me throw Ralsei at it!Wait for inputClose Messagestringsetloc("* Help me throw Ralsei at it!/%", "obj_checkers_enemy_slash_Step_0_gml_579_0") |
535 |
scr_battletextscr_battletextfunction scr_battletext() //gml_Script_scr_battletext
{
xx = __view_get((0 << 0), 0)
yy = __view_get((1 << 0), 0)
if (global.fc != 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
if (global.fc == 0)
battlewriter = instance_create((xx + 30), (yy + 376), obj_writer)
myface = instance_create((xx + 26), (yy + 380), obj_face)
with (battlewriter)
{
dialoguer = 1
facer = 1
if (global.fc == 0 && originalcharline == 33)
charline = 26
}
return battlewriter;
} () |
536 |
actcon = 13 |
537 |
} |
538 |
if (actcon == 13 && (!instance_exists(obj_writer))) |
539 |
actcon = 0 |
540 |
if (actcon == 50) |
541 |
{ |
542 |
visible = 0 |
543 |
snd_free_all() |
544 |
animtest = instance_create(x, y, obj_checker_animtest) |
545 |
animtest.sprite_index = spr_smallchecker_transform3 |
546 |
animtest.image_xscale = 2 |
547 |
animtest.image_yscale = 2 |
548 |
animtest.type = 1 |
549 |
actcon = 51 |
550 |
} |
551 |
} |
552 |
if (global.myfight == 7) |
553 |
hspeed = 15 |