Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_flowery_enemy_Step_0

related scripts: Alarm_4Alarm_6CleanUp_0Create_0Draw_0KeyPress_13Other_10Other_11Other_15Other_22Other_4Step_0

(view raw script w/o annotations or w/e)
1
var _cx = camerax();
2
var _cy = cameray();
3
var _mcx = camerax() + camerawidth();
4
var _random = random(spread_range);
5
var _mercy = 0;
6
var _maxmercy = 0;
7
if (phase == 1)
8
    _maxmercy = 10;
9
if (phase == 2)
10
    _maxmercy = 20;
11
if (phase == 3)
12
    _maxmercy = 30;
13
if (phase == 4)
14
    _maxmercy = 40;
15
if (phase == 5)
16
    _maxmercy = 50;
17
if (phase == 6)
18
    _maxmercy = 80;
19
if (init == false)
20
{
21
    if (i_ex(obj_herokris))
22
    {
23
        krisflower = instance_create_depth(x, y, obj_herokris.depth, obj_flowery_hero_flower);
24
        krisflower.hero = 1;
25
    }
26
    if (i_ex(obj_herosusie))
27
    {
28
        susieflower = instance_create_depth(x, y, obj_herosusie.depth, obj_flowery_hero_flower);
29
        susieflower.hero = 2;
30
    }
31
    if (i_ex(obj_heroralsei))
32
    {
33
        ralseiflower = instance_create_depth(x, y, obj_heroralsei.depth, obj_flowery_hero_flower);
34
        ralseiflower.hero = 3;
35
    }
36
    if (global.tempflag[74] == 7)
37
        moar_tension = 1.1;
38
    if (global.tempflag[74] == 8)
39
        moar_tension = 1.2;
40
    if (global.tempflag[74] == 9)
41
        moar_tension = 1.25;
42
    if (global.tempflag[74] == 10)
43
        moar_tension = 1.3;
44
    if (global.tempflag[74] == 11)
45
        moar_tension = 1.35;
46
    if (global.tempflag[74] == 12)
47
        moar_tension = 1.4;
48
    if (global.tempflag[74] >= 13)
49
        moar_tension = 1.5;
50
    init = true;
51
}
52
if (
scr_debug
scr_debug

function
scr_debug()
{ return global.debug == 1; }
())
53
{
54
    if (keyboard_check_pressed(ord("P")) && debugtimer == 0)
55
    {
56
        
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 10);
57
        mercyaddcon = 1;
58
        phasetransition_con = 0;
59
        debugtimer = 8;
60
        overwrite_correct = 0;
61
        if (phase == 2 && aqua_and_purple_enter == 0)
62
        {
63
            aqua_and_purple_enter = 1;
64
            debugtimer = 40;
65
        }
66
        if (phase == 3 && green_and_orange_enter == 0)
67
        {
68
            green_and_orange_enter = 1;
69
            debugtimer = 40;
70
        }
71
        if (phase == 4 && yellow_and_blue_enter == 0)
72
        {
73
            yellow_and_blue_enter = 1;
74
            debugtimer = 40;
75
        }
76
    }
77
    if (debugtimer > 0)
78
        debugtimer--;
79
    _category = "";
80
    var _pressed = false;
81
    var _pattern = "";
82
    if (keyboard_check_pressed(vk_alt))
83
    {
84
        pattern_category++;
85
        if (pattern_category > 5)
86
            pattern_category = 0;
87
        pattern_test = 0 + (pattern_category * 10);
88
        _pressed = true;
89
        _pattern = " - 1.";
90
    }
91
    if (keyboard_check_pressed(vk_control))
92
    {
93
        pattern_category--;
94
        if (pattern_category < 0)
95
            pattern_category = 5;
96
        pattern_test = 0 + (pattern_category * 10);
97
        _pressed = true;
98
        _pattern = " - 1.";
99
    }
100
    switch (pattern_category)
101
    {
102
        case 0:
103
            _category = "No Forced Patterns.";
104
            category_size = 0;
105
            break;
106
        case 1:
107
            _category = "Jarona";
108
            category_size = 5;
109
            break;
110
        case 2:
111
            _category = "Chase";
112
            category_size = 9;
113
            break;
114
        case 3:
115
            _category = "Fist";
116
            category_size = 3;
117
            break;
118
        case 4:
119
            _category = "Boxes";
120
            category_size = 4;
121
            break;
122
        case 5:
123
            _category = "The Final Jarona";
124
            category_size = 1;
125
            break;
126
    }
127
    if (keyboard_check_pressed(ord("1")))
128
    {
129
        pattern_test = 0 + (pattern_category * 10);
130
        _pressed = true;
131
    }
132
    if (keyboard_check_pressed(ord("2")))
133
    {
134
        pattern_test = 1 + (pattern_category * 10);
135
        _pressed = true;
136
    }
137
    if (keyboard_check_pressed(ord("3")))
138
    {
139
        pattern_test = 2 + (pattern_category * 10);
140
        _pressed = true;
141
    }
142
    if (keyboard_check_pressed(ord("4")))
143
    {
144
        pattern_test = 3 + (pattern_category * 10);
145
        _pressed = true;
146
    }
147
    if (keyboard_check_pressed(ord("5")))
148
    {
149
        pattern_test = 4 + (pattern_category * 10);
150
        _pressed = true;
151
    }
152
    if (keyboard_check_pressed(ord("6")))
153
    {
154
        pattern_test = 5 + (pattern_category * 10);
155
        _pressed = true;
156
    }
157
    if (keyboard_check_pressed(ord("7")))
158
    {
159
        pattern_test = 6 + (pattern_category * 10);
160
        _pressed = true;
161
    }
162
    if (keyboard_check_pressed(ord("8")))
163
    {
164
        pattern_test = 7 + (pattern_category * 10);
165
        _pressed = true;
166
    }
167
    if (keyboard_check_pressed(ord("9")))
168
    {
169
        pattern_test = 8 + (pattern_category * 10);
170
        _pressed = true;
171
    }
172
    pattern_test = min(pattern_test, ((pattern_category * 10) + category_size) - 1);
173
    _pattern = "(N/A)";
174
    switch (pattern_test)
175
    {
176
        case 10:
177
            _pattern = "Jarona Easy";
178
            myattackchoice = 0;
179
            break;
180
        case 11:
181
            _pattern = "Jarona Medium";
182
            myattackchoice = 1;
183
            break;
184
        case 12:
185
            _pattern = "Jarona with Bullet(Med)";
186
            myattackchoice = 2;
187
            break;
188
        case 13:
189
            _pattern = "Jarona with Bullets(Hard)";
190
            myattackchoice = 14;
191
            break;
192
        case 14:
193
            _pattern = "Jarona with Orange";
194
            myattackchoice = 16;
195
            break;
196
        case 20:
197
            _pattern = "Chase Tutorial";
198
            myattackchoice = 3;
199
            break;
200
        case 21:
201
            _pattern = "Chase Open";
202
            myattackchoice = 4;
203
            break;
204
        case 22:
205
            _pattern = "Chase Closed";
206
            myattackchoice = 5;
207
            break;
208
        case 23:
209
            _pattern = "Chase Closed Hard";
210
            myattackchoice = 6;
211
            break;
212
        case 24:
213
            _pattern = "Chase Open (Random)";
214
            myattackchoice = 12;
215
            break;
216
        case 25:
217
            _pattern = "Chase With Bullets";
218
            myattackchoice = 13;
219
            break;
220
        case 26:
221
            _pattern = "Chase Blue Yellow";
222
            myattackchoice = 15;
223
            break;
224
        case 27:
225
            _pattern = "Dash Tutorial";
226
            myattackchoice = 17;
227
            break;
228
        case 28:
229
            _pattern = "Blue Chase";
230
            myattackchoice = 20;
231
            break;
232
        case 30:
233
            _pattern = "Fist Basic Easy";
234
            myattackchoice = 7;
235
            break;
236
        case 31:
237
            _pattern = "Fist Basic Med.";
238
            myattackchoice = 8;
239
            break;
240
        case 32:
241
            _pattern = "Fist Basic Hard";
242
            myattackchoice = 9;
243
            break;
244
        case 40:
245
            _pattern = "Boxes Easy";
246
            myattackchoice = 10;
247
            break;
248
        case 41:
249
            _pattern = "Boxes Medium";
250
            myattackchoice = 11;
251
            break;
252
        case 42:
253
            _pattern = "Aqua Knives";
254
            myattackchoice = 21;
255
            break;
256
        case 43:
257
            _pattern = "Rotating Stars";
258
            myattackchoice = 22;
259
            break;
260
        case 50:
261
            _pattern = "SUPER JARONA";
262
            myattackchoice = 19;
263
            break;
264
    }
265
    if (_pressed)
266
    {
267
        if (pattern_category)
268
            
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
("Pattern set to " + _pattern);
269
        else
270
            
scr_debug_print
scr_debug_print

function
scr_debug_print()
{ if (!
scr_debug())
exit; } function scr_debug_clear_all() { }
(_category);
271
        with (scr_afterimage_fog(id, 16777215, 16))
272
        {
273
            depth = other.depth - 1;
274
            image_alpha = 0.5;
275
            
scr_script_repeat
scr_script_repeat

function
scr_script_repeat()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = -2; __scriptdelay.max_time = argument[1]; __scriptdelay.rate = argument[2]; __scriptdelay.constant = 1; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 3); __i++) __scriptdelay.script_arg[__i] = argument[__i + 3]; __scriptdelay.arg_count = argument_count - 3; return __scriptdelay; }
(function()
276
            {
277
                color = make_color_hsv((global.time * 10) % 255, 255, 192);
278
            }, 16, 1);
279
        }
280
        snd_play(snd_boost, 0.5, 1.5);
281
    }
282
}
283
if (global.mercymod[myself] >= 10 && global.mercymod[myself] < 20 && phase == 1)
284
{
285
    phase = 2;
286
    actshavechangedbattlemsg = true;
287
    event_user(0);
288
}
289
if (global.mercymod[myself] >= 20 && global.mercymod[myself] < 30 && phase == 2)
290
{
291
    phase = 3;
292
    phaseturn = 0;
293
    event_user(0);
294
}
295
if (global.mercymod[myself] >= 30 && global.mercymod[myself] < 40 && phase == 3)
296
{
297
    phase = 4;
298
    phaseturn = 0;
299
    failedpreviousact = false;
300
    event_user(0);
301
    snd_play(snd_awkward);
302
    with (purple_marker)
303
        sprite_index = spr_seth_idle_dizzy_flowery;
304
    with (purple_marker)
305
        speed = 4;
306
    with (purple_marker)
307
        direction = 180;
308
    with (purple_marker)
309
        gravity_direction = 0;
310
    with (purple_marker)
311
        gravity = 0.3;
312
    with (aqua_marker)
313
        sprite_index = spr_enemy_aqua_spin;
314
    with (aqua_marker)
315
        image_speed = 1/3;
316
    with (aqua_marker)
317
        speed = 4;
318
    with (aqua_marker)
319
        direction = 180;
320
    with (aqua_marker)
321
        gravity_direction = 0;
322
    with (aqua_marker)
323
        gravity = 0.3;
324
    NOOO_MERCY = true;
325
}
326
if (global.mercymod[myself] >= 40 && global.mercymod[myself] < 50 && phase == 4)
327
{
328
    phase = 5;
329
    phaseturn = 0;
330
    actshavechangedbattlemsg = true;
331
    failedpreviousact = false;
332
    event_user(0);
333
    with (green_marker)
334
        sprite_index = spr_enemy_green_witharmandpan_flowery;
335
    with (green_marker)
336
        image_speed = 0;
337
    with (green_marker)
338
        vspeed = -10;
339
    with (green_marker)
340
        depth = obj_flowery_enemy.depth - 1;
341
    with (green_marker)
342
        scr_delay_var("image_index", 1, 13);
343
    with (green_marker)
344
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(snd_play, 13, snd_item);
345
    with (orange_marker)
346
        scr_delay_var("visible", false, 13);
347
    with (orange_marker)
348
        scr_delay_var("sprite_index", 5450, 13);
349
    orange_fixibility_fix = 13;
350
    NOOO_MERCY = true;
351
}
352
if (global.mercymod[myself] >= 50 && global.mercymod[myself] < 60 && phase == 5)
353
{
354
    phase = 6;
355
    phaseturn = 0;
356
    actshavechangedbattlemsg = true;
357
    failedpreviousact = false;
358
    event_user(0);
359
    with (blue_marker)
360
        
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
361
    with (blue_marker)
362
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, xstart, 56, 2, "in");
363
    with (blue_marker)
364
        vspeed = -2;
365
    with (blue_marker)
366
        sprite_index = spr_blue_hover;
367
    with (blue_marker)
368
        image_speed = 1/3;
369
    with (yellow_marker)
370
        sprite_index = spr_yellow_jump;
371
    with (yellow_marker)
372
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, xstart + 200, 60, 2, "in");
373
    with (yellow_marker)
374
        vspeed = -2;
375
    NOOO_MERCY = true;
376
}
377
if (global.mercymod[myself] >= 80 && phase == 6)
378
{
379
    phase = 7;
380
    phaseturn = 0;
381
    phasetransition_con = 20;
382
    event_user(0);
383
}
384
if (introcon == 1 && !i_ex(obj_writer))
385
{
386
    global.charturn = 3;
387
    introtimer++;
388
    if (introtimer == 10)
389
    {
390
        
scr_randomtarget
scr_randomtarget

function
scr_randomtarget()
{ abletotarget = 1; if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0) abletotarget = 0; mytarget = choose(0, 1, 2); if (abletotarget == 1) { while (global.charcantarget[mytarget] == 0) mytarget = choose(0, 1, 2); } else { mytarget = 3; } global.targeted[mytarget] = 1; if (global.chapter >= 2 && mytarget != 3) { if (global.charcantarget[0]) global.targeted[0] = 1; if (global.charcantarget[1]) global.targeted[1] = 1; if (global.charcantarget[2]) global.targeted[2] = 1; mytarget = 4; } }
();
391
        if (!instance_exists(obj_growtangle))
392
            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
393
        with (obj_growtangle)
394
            visible = false;
395
        if (!instance_exists(obj_moveheart))
396
            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
397
    }
398
    if (introtimer == 21)
399
    {
400
        global.monsterattackname[myself] = "FloweryDashTutorial";
401
        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
402
        dc.type = 637;
403
        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(9999999);
404
        introcon = 2;
405
        with (obj_battlecontroller)
406
            noreturn = 1;
407
    }
408
}
409
if (introcon == 2 && !i_ex(obj_writer) && !i_ex(obj_dbulletcontroller))
410
{
411
    if ((global.hp[1] < 1 || global.hp[3] < 1) && phase != 5 && phase != 6)
412
        global.actsimulsus[myself][0] = 0;
413
    else
414
        global.actsimulsus[myself][0] = 1;
415
    if ((global.hp[1] < 1 || global.hp[2] < 1) && phase != 5 && phase != 6)
416
        global.actsimulral[myself][0] = 0;
417
    else
418
        global.actsimulral[myself][0] = 1;
419
    
scr_spellmenu_setup
scr_spellmenu_setup

function
scr_spellmenu_setup()
{ var __actnamecheck = 0; var __monstertype = global.monstertype[0]; for (__i = 1; __i < 3; __i++) { if (global.monster[__i] == 1 && global.monstertype[__i] != __monstertype) { if (global.encounterno != 222) __actnamecheck = 1; } } for (__i = 0; __i < 3; __i++) { for (__fj = 0; __fj < 6; __fj++) { global.battlespell[__i][__fj] = 0; if (global.char[__i] == 1) { if (global.canact[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcost[0][__fj]; global.battlespellname[__i][__fj] = global.actname[0][__fj]; global.battlespelldesc[__i][__fj] = global.actdesc[0][__fj]; global.battlespelltarget[__i][__fj] = 0; global.battlespellspecial[__i][__fj] = 1; } } if (global.char[__i] == 2) { if (global.canactsus[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostsus[0][__fj]; global.battlespellname[__i][__fj] = global.actnamesus[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
S-Action
"S-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1053_0"
);
global.battlespelldesc[__i][__fj] = global.actdescsus[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 2; } } if (global.char[__i] == 3) { if (global.canactral[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostral[0][__fj]; global.battlespellname[__i][__fj] = global.actnameral[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
R-Action
"R-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1057_0"
);
global.battlespelldesc[__i][__fj] = global.actdescral[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 3; } } if (global.char[__i] == 4) { if (global.canactnoe[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostnoe[0][__fj]; global.battlespellname[__i][__fj] = global.actnamenoe[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
N-Action
"N-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1061_0"
);
global.battlespelldesc[__i][__fj] = global.actdescnoe[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 4; } } } }
scr_spellinfo_all();
for (__i = 0; __i < 3; __i++) { for (__fj = 0; __fj < 12; __fj++) { __ib = global.battleactcount[__i] + __fj; global.battlespell[__i][__ib] = global.spell[global.char[__i]][__fj]; global.battlespellcost[__i][__ib] = global.spellcost[global.char[__i]][__fj]; global.battlespellname[__i][__ib] = global.spellnameb[global.char[__i]][__fj]; global.battlespelldesc[__i][__ib] = global.spelldescb[global.char[__i]][__fj]; global.battlespelltarget[__i][__ib] = global.spelltarget[global.char[__i]][__fj]; } } }
();
420
    introcon = 3;
421
    if (global.hp[1] > 0)
422
        global.charturn = 0;
423
    else if (global.hp[2] > 0)
424
        global.charturn = 1;
425
    else if (global.hp[3] > 0)
426
        global.charturn = 2;
427
    with (obj_growtangle)
428
        growcon = 3;
429
    with (obj_heart)
430
    {
431
        instance_create(x, y, obj_returnheart);
432
        instance_destroy();
433
    }
434
}
435
with (obj_dmgwriter)
436
{
437
    if (type == 5)
438
    {
439
        with (obj_dmgwriter)
440
            depth = -999999;
441
    }
442
}
443
if (global.monster[myself] == 1)
444
{
445
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && global.mercymod[myself] >= 100 && endcon == 0)
446
        endcon = 1;
447
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && global.monsterhp[myself] <= (global.monstermaxhp[myself] * 0.99) && healingscenecon == 0)
448
    {
449
        if (global.flag[1873] < 3)
450
            global.flag[1873]++;
451
        healingscenecon = 1;
452
        if (global.flag[1873] >= 2)
453
            healingscenecon = 3;
454
        else
455
            force_hurt_sprite = true;
456
    }
457
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && talked == 0 && endcon == 0 && phasetransition_con == 0 && healingscenecon == 0 && flowery_blowkiss_scene_con == 0)
458
    {
459
        event_user(1);
460
        
scr_randomtarget
scr_randomtarget

function
scr_randomtarget()
{ abletotarget = 1; if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0) abletotarget = 0; mytarget = choose(0, 1, 2); if (abletotarget == 1) { while (global.charcantarget[mytarget] == 0) mytarget = choose(0, 1, 2); } else { mytarget = 3; } global.targeted[mytarget] = 1; if (global.chapter >= 2 && mytarget != 3) { if (global.charcantarget[0]) global.targeted[0] = 1; if (global.charcantarget[1]) global.targeted[1] = 1; if (global.charcantarget[2]) global.targeted[2] = 1; mytarget = 4; } }
();
461
        setbattlemsg = false;
462
        with (obj_battlecontroller)
463
            skipsusieturn = false;
464
        with (obj_battlecontroller)
465
            skipralseiturn = false;
466
        if (!instance_exists(obj_darkener))
467
            instance_create(0, 0, obj_darkener);
468
        with (obj_heroparent)
469
            mercycon = 0;
470
        if (state == 10 && sprite_index == spr_flowery_kiss)
471
        {
472
            state = 0;
473
            sprite_index = spr_flowery_idle3;
474
        }
475
        global.typer = 50;
476
        var __rand = choose(0, 1, 2, 3);
477
        if (__rand == 0)
478
            msgsetloc(0, 
Kris... isn't
your mother
calling you?Wait for inputClose Message
"Kris... isn't&your mother&calling you?/%", "obj_flowery_enemy_slash_Step_0_gml_544_0"
);
479
        if (__rand == 1)
480
            msgsetloc(0, 
Asgore... I
won't let you
down, oldbuddy!Wait for inputClose Message
"Asgore... I&won't let you&down, oldbuddy!/%", "obj_flowery_enemy_slash_Step_0_gml_545_0_b"
);
481
        if (__rand == 2)
482
            msgsetloc(0, 
Hah! You think
you can match
my style!?Wait for inputClose Message
"Hah! You think&you can match&my style!?/%", "obj_flowery_enemy_slash_Step_0_gml_546_0"
);
483
        if (__rand == 3)
484
            msgsetloc(0, 
Is that really
just what "HEROES"
can do!?Wait for inputClose Message
"Is that really&just what \"HEROES\"&can do!?/%", "obj_flowery_enemy_slash_Step_0_gml_547_0"
);
485
        ballooncon = 0;
486
        balloonend = 1;
487
        with (obj_battlecontroller)
488
            noreturn = 0;
489
        if ((phase == 1 || phase == 2) && phase_1_2_turn < 6)
490
        {
491
            phase_1_2_turn++;
492
            if (damage_taken_during_tutorial >= 4)
493
            {
494
                msgsetloc(0, 
I'll never let you
get to the Dark
Fountain...!Wait for inputClose Message
"I'll never let you&get to the Dark&Fountain...!/%", "obj_flowery_enemy_slash_Step_0_gml_366_0"
);
495
                ballooncon = 2;
496
                balloonend = 0;
497
                phase_1_2_turn--;
498
                damage_taken_during_tutorial = 0;
499
            }
500
            else if (global.flag[1865] > 1 && phase_1_2_turn == 1)
501
            {
502
                if (ralsei_tutorial_string_con != -1)
503
                    ralsei_tutorial_string_con = 1;
504
                msgsetloc(0, 
Here,Delay 11 let me
start over...Wait for inputClose Message
"Here^1, let me&start over.../%", "obj_flowery_enemy_slash_Step_0_gml_374_0"
);
505
                ballooncon = 99;
506
                balloonend = 0;
507
            }
508
            else if (phase_1_2_turn == 2 || (global.flag[1865] == 1 && phase_1_2_turn == 1))
509
            {
510
                msgsetloc(0, 
You know,Delay 11 I had
wanted you
to meet the
other flowers.Wait for inputClose Message
"You know^1, I had&wanted you&to meet the&other flowers./%", "obj_flowery_enemy_slash_Step_0_gml_380_0"
);
511
                ballooncon = 11;
512
                balloonend = 0;
513
                if (global.flag[1865] == 1)
514
                    phase_1_2_turn = 2;
515
            }
516
            else if (phase_1_2_turn == 3)
517
            {
518
                msgsetloc(0, 
If everyone
could just
be friends...Wait for inputClose Message
"If everyone&could just&be friends.../%", "obj_flowery_enemy_slash_Step_0_gml_386_0"
);
519
                ballooncon = 12;
520
                balloonend = 0;
521
            }
522
            else if (phase_1_2_turn == 4)
523
            {
524
                msgsetloc(0, 
But,Delay 11 I see your
hearts are set
in stone.Wait for inputClose Message
"But^1, I see your&hearts are set&in stone./%", "obj_flowery_enemy_slash_Step_0_gml_393_0"
);
525
                ballooncon = 13;
526
                balloonend = 0;
527
            }
528
            else if (phase_1_2_turn == 5)
529
            {
530
                msgsetloc(0, 
Imagine that...
a branch where
we didn't have
to fight.Wait for inputClose Message
"Imagine that...&a branch where&we didn't have&to fight./%", "obj_flowery_enemy_slash_Step_0_gml_399_0"
);
531
                ballooncon = 14;
532
                balloonend = 0;
533
            }
534
        }
535
        else if (phase == 3 && phases3turn < 4)
536
        {
537
            phases3turn++;
538
            if (phases3turn == 1)
539
            {
540
                msgsetloc(0, 
I won't lose...
My friends are
behind me!Wait for inputClose Message
"I won't lose...&My friends are&behind me!/%", "obj_flowery_enemy_slash_Step_0_gml_408_0"
);
541
                ballooncon = 31;
542
                balloonend = 0;
543
                if (aqua_and_purple_enter == 0)
544
                    aqua_and_purple_enter = 1;
545
                global.battlemsg[0] = stringsetloc(
* Flowery's friends Aqua and Seth appeared!
"* Flowery's friends Aqua and Seth appeared!", "obj_flowery_enemy_slash_Step_0_gml_822_0"
);
546
            }
547
            else if (phases3turn == 2)
548
            {
549
                msgsetloc(0, 
Aqua!Delay 11 Let's play
knife cutting game!Wait for inputClose Message
"Aqua^1! Let's play&knife cutting game!/%", "obj_flowery_enemy_slash_Step_0_gml_548_0"
);
550
                ballooncon = 33;
551
                balloonend = 0;
552
            }
553
            else if (phases3turn == 3)
554
            {
555
                msgsetloc(0, 
Asgore!!
Play, play!!Wait for inputClose Message
"Asgore!!&Play, play!!/%", "obj_flowery_enemy_slash_Step_0_gml_422_0"
);
556
                ballooncon = 34;
557
                balloonend = 0;
558
            }
559
            else if (phases3turn == 4)
560
            {
561
                msgsetloc(0, 
This is...Wait for inputClose Message
"This is.../%", "obj_flowery_enemy_slash_Step_0_gml_625_0"
);
562
                ballooncon = 34.1;
563
                balloonend = 0;
564
            }
565
        }
566
        else if (phase == 4 && phases4turn < 4)
567
        {
568
            phases4turn++;
569
            if (phases4turn == 1)
570
            {
571
                if (green_and_orange_enter == 0)
572
                    green_and_orange_enter = 1;
573
                msgsetloc(0, 
Orange!Delay 11 Be brave,
it's your turn!Wait for inputClose Message
"Orange^1! Be brave,&it's your turn!/%", "obj_flowery_enemy_slash_Step_0_gml_431_0"
);
574
                ballooncon = 41;
575
                balloonend = 0;
576
            }
577
            else if (phases4turn == 2)
578
            {
579
                msgsetloc(0, 
Green! How about
a $999 tip!?Wait for inputClose Message
"Green! How about&a $999 tip!?/%", "obj_flowery_enemy_slash_Step_0_gml_437_0"
);
580
                ballooncon = 0;
581
                balloonend = 1;
582
                green_marker.sprite_index = spr_green_nods_left;
583
            }
584
            else if (phases4turn == 3)
585
            {
586
                msgsetloc(0, 
Asgore... if I'm
courageous... you'll
be proud of me, right!?Wait for inputClose Message
"Asgore... if I'm&courageous... you'll&be proud of me, right!?/%", "obj_flowery_enemy_slash_Step_0_gml_445_0"
);
587
                ballooncon = 0;
588
                balloonend = 1;
589
            }
590
            else if (phases4turn == 4)
591
            {
592
                msgsetloc(0, 
Why won't you
LOSE!?Wait for inputClose Message
"Why won't you&LOSE!?/%", "obj_flowery_enemy_slash_Step_0_gml_657_0"
);
593
                ballooncon = 60;
594
                balloonend = 0;
595
            }
596
        }
597
        else if (phase == 5 && phases5turn < 4)
598
        {
599
            phases5turn++;
600
            if (phases5turn == 1)
601
            {
602
                idlesprite = spr_flowery_idle3;
603
                if (yellow_and_blue_enter == 0)
604
                    yellow_and_blue_enter = 1;
605
                msgsetloc(0, 
... Blue!Wait for inputClose Message
"... Blue!/%", "obj_flowery_enemy_slash_Step_0_gml_454_0"
);
606
                ballooncon = 51;
607
                balloonend = 0;
608
            }
609
            else if (phases5turn == 2)
610
            {
611
                msgsetloc(0, 
Yellow! Tonight...
justice rides
together!Wait for inputClose Message
"Yellow! Tonight...&justice rides&together!/%", "obj_flowery_enemy_slash_Step_0_gml_460_0"
);
612
                ballooncon = 52;
613
                balloonend = 0;
614
            }
615
            else if (phases5turn == 3)
616
            {
617
                msgsetloc(0, 
Asgore!! This
justice's for you!Wait for inputClose Message
"Asgore!! This&justice's for you!/%", "obj_flowery_enemy_slash_Step_0_gml_466_0"
);
618
                ballooncon = 53;
619
                balloonend = 0;
620
            }
621
        }
622
        else if (phase == 6 && phases6turn < 3)
623
        {
624
            phases6turn++;
625
            if (phases6turn == 1)
626
            {
627
                msgsetloc(0, 
Enough, Kris!
I don't need a trial
to expose the truth!Wait for inputClose Message
"Enough, Kris!&I don't need a trial&to expose the truth!/%", "obj_flowery_enemy_slash_Step_0_gml_31_0"
);
628
                ballooncon = 200;
629
                balloonend = 0;
630
            }
631
            else if (phases6turn == 2)
632
            {
633
                msgsetloc(0, 
... that's not
like you, Kris!Wait for inputClose Message
"... that's not&like you, Kris!/%", "obj_flowery_enemy_slash_Step_0_gml_697_0"
);
634
                ballooncon = 0;
635
                balloonend = 1;
636
            }
637
        }
638
        global.typer = 50;
639
        if (phase == 3 && phases3turn == 3)
640
        {
641
            global.typer = 50;
642
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(aqua_marker.x - 28, aqua_marker.y + 40, 10);
643
            with (obj_battleblcon)
644
                flowery_aqua_float = true;
645
        }
646
        else if (ballooncon == 34.1)
647
        {
648
            global.typer = 50;
649
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(purple_marker.x - 18, purple_marker.y + 20, 10);
650
            with (obj_battleblcon)
651
                flowery_aqua_float = true;
652
        }
653
        else if (ballooncon == 53)
654
        {
655
            global.typer = 50;
656
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(yellow_marker.x - 34, yellow_marker.y + 97, 10);
657
            with (obj_battleblcon)
658
                flowery_aqua_float = true;
659
        }
660
        else if ((phase == 4 && phases4turn == 3) || (phase == 4 && phases4turn == 4))
661
        {
662
            global.typer = 50;
663
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(orange_marker.x - 10, orange_marker.y + 15, 10);
664
            with (obj_battleblcon)
665
                flowery_float = true;
666
            if (phases4turn == 4)
667
                phases4turn++;
668
        }
669
        else if (ralseitalks == 1 && instance_exists(obj_heroralsei))
670
        {
671
            global.typer = 74;
672
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_heroralsei.x + 95, obj_heroralsei.y + 48, 14);
673
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_heroralsei);
674
        }
675
        else if (susietalks == 1 && instance_exists(obj_herosusie))
676
        {
677
            global.typer = 75;
678
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_herosusie.x + 95, obj_herosusie.y + 40, 14);
679
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
680
        }
681
        else
682
        {
683
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
684
            with (obj_battleblcon)
685
                flowery_float = true;
686
        }
687
        ralseitalks = 0;
688
        susietalks = 0;
689
        if (balloonend == 1)
690
        {
691
            talked = 0.5;
692
            talktimer = 0;
693
            alarm[6]
 = 1;
gml_Object_obj_flowery_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; }
694
        }
695
        else
696
        {
697
            talked = 0.6;
698
            talktimer = 0;
699
        }
700
        rtimer = 0;
701
    }
702
    if (talked == 0.6 && yellow_and_blue_enter != 1)
703
    {
704
        talktimer++;
705
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
706
        {
707
            with (obj_writer)
708
                instance_destroy();
709
            if (ballooncon == 1)
710
            {
711
                msgsetloc(0, 
Try keeping up
with THIS!Wait for inputClose Message
"Try keeping up&with THIS!/%", "obj_flowery_enemy_slash_Step_0_gml_523_0"
);
712
                ballooncon = 0;
713
                balloonend = 1;
714
            }
715
            else if (ballooncon == 2)
716
            {
717
                msgsetloc(0, 
Hey,Delay 11 tutorial boy!
Stop dazzling and
teach them
how to fight.Wait for inputClose Message
"Hey^1, tutorial boy!&Stop dazzling and&teach them&how to fight./%", "obj_flowery_enemy_slash_Step_0_gml_525_0"
);
718
                ballooncon = 3;
719
                balloonend = 0;
720
            }
721
            else if (ballooncon == 3)
722
            {
723
                msgsetloc(0, 
Face C* I, I...Wait for input
"\\EC* I, I.../", "obj_flowery_enemy_slash_Step_0_gml_526_0"
);
724
                msgnextsubloc(
Face A* Kris... hold down
Argument â„–11
to charge...Wait for input
"\\EA* Kris... hold down&~1&to charge.../",
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(4), "obj_flowery_enemy_slash_Step_0_gml_763_0"
);
725
                msgnextloc(
Face Q* ... and release it to dash!Wait for input
"\\EQ* ... and release it to dash!/", "obj_flowery_enemy_slash_Step_0_gml_750_0"
);
726
                msgnextloc(
Face I* Tap the button for a short dash, and hold it to go a little longer!Wait for input
"\\EI* Tap the button for a short dash, and hold it to go a little longer!/", "obj_flowery_enemy_slash_Step_0_gml_765_0"
);
727
                msgnextloc(
Face A* While dashing, you can hit blue bullets...Wait for input
"\\EA* While dashing, you can hit blue bullets.../", "obj_flowery_enemy_slash_Step_0_gml_529_0"
);
728
                msgnextloc(
Face Q* Doing this gives you a speed boost, so hit as many as you can!Wait for input
"\\EQ* Doing this gives you a speed boost, so hit as many as you can!/", "obj_flowery_enemy_slash_Step_0_gml_530_0"
);
729
                msgnextloc(
Face R* ... and, Kris?Wait for input
"\\ER* ... and, Kris?/", "obj_flowery_enemy_slash_Step_0_gml_531_0"
);
730
                msgnextloc(
Face j* Don't hold back.Wait for inputClose Message
"\\Ej* Don't hold back./%", "obj_flowery_enemy_slash_Step_0_gml_532_0"
);
731
                ballooncon = 10;
732
                balloonend = 0;
733
                ralseitalks = 2;
734
            }
735
            else if (ballooncon == 10)
736
            {
737
                msgsetloc(0, 
...Delay 11 as if you
have a choice!Wait for inputClose Message
"..^1. as if you&have a choice!/%", "obj_flowery_enemy_slash_Step_0_gml_533_0"
);
738
                ballooncon = 0;
739
                ralseitalks = 0;
740
                balloonend = 1;
741
                with (obj_face)
742
                    instance_destroy();
743
            }
744
            else if (ballooncon == 99)
745
            {
746
                msgsetloc(0, 
Maybe,Delay 11 just maybe,
this time you'll
LISTEN!Wait for inputClose Message
"Maybe^1, just maybe,&this time you'll&LISTEN!/%", "obj_flowery_enemy_slash_Step_0_gml_536_0"
);
747
                ballooncon = 0;
748
                balloonend = 1;
749
            }
750
            else if (ballooncon == 11)
751
            {
752
                msgsetloc(0, 
...Delay 11 to see how
wonderful they
all are.Wait for inputClose Message
"..^1. to see how &wonderful they&all are./%", "obj_flowery_enemy_slash_Step_0_gml_539_0"
);
753
                ballooncon = 0;
754
                balloonend = 1;
755
            }
756
            else if (ballooncon == 12)
757
            {
758
                msgsetloc(0, 
You might
turn over
a new leaf.Wait for inputClose Message
"You might&turn over&a new leaf./%", "obj_flowery_enemy_slash_Step_0_gml_541_0"
);
759
                ballooncon = 0;
760
                balloonend = 1;
761
            }
762
            else if (ballooncon == 13)
763
            {
764
                msgsetloc(0, 
Your world,Delay 11 your
Fountain is more
important than
ours...Wait for inputClose Message
"Your world^1, your&Fountain is more&important than&ours.../%", "obj_flowery_enemy_slash_Step_0_gml_543_0"
);
765
                ballooncon = 0;
766
                balloonend = 1;
767
            }
768
            else if (ballooncon == 14)
769
            {
770
                msgsetloc(0, 
We could even
call it a
"pacifist root".Wait for inputClose Message
"We could even&call it a&\"pacifist root\"./%", "obj_flowery_enemy_slash_Step_0_gml_545_0"
);
771
                ballooncon = 0;
772
                balloonend = 1;
773
            }
774
            else if (ballooncon == 31)
775
            {
776
                msgsetloc(0, 
Seth,Delay 11 remember
the patterns
I taught you!?Wait for inputClose Message
"Seth^1, remember&the patterns&I taught you!?/%", "obj_flowery_enemy_slash_Step_0_gml_416_0"
);
777
                ballooncon = 32;
778
                balloonend = 0;
779
            }
780
            else if (ballooncon == 32)
781
            {
782
                msgsetloc(0, 
Heh, I improved
them! Watch!Wait for inputClose Message
"Heh, I improved&them! Watch!/%", "obj_flowery_enemy_slash_Step_0_gml_551_0"
);
783
                balloonend = 1;
784
            }
785
            else if (ballooncon == 33)
786
            {
787
                msgsetloc(0, 
Uee hee hee,
it's always so
fun!Wait for inputClose Message
"Uee hee hee,&it's always so&fun!/%", "obj_flowery_enemy_slash_Step_0_gml_549_0"
);
788
                balloonend = 1;
789
            }
790
            else if (ballooncon == 34)
791
            {
792
                msgsetloc(0, 
Just gotta get
smarter...for Asgore!Wait for inputClose Message
"Just gotta get&smarter...for Asgore!/%", "obj_flowery_enemy_slash_Step_0_gml_555_0"
);
793
                balloonend = 1;
794
            }
795
            else if (ballooncon == 34.1)
796
            {
797
                msgsetloc(0, 
Our dream!Wait for inputClose Message
"Our dream!/%", "obj_flowery_enemy_slash_Step_0_gml_777_0"
);
798
                ballooncon = 34.2;
799
                balloonend = 0;
800
            }
801
            else if (ballooncon == 34.2)
802
            {
803
                msgsetloc(0, 
Uuu,
nightmare,
nightmare!Wait for inputClose Message
"Uuu,&nightmare,&nightmare!/%", "obj_flowery_enemy_slash_Step_0_gml_778_0"
);
804
                balloonend = 1;
805
            }
806
            else if (ballooncon == 41)
807
            {
808
                msgsetloc(0, 
Flowery! Big bro! They
won't beat our COMBO!Wait for inputClose Message
"Flowery! Big bro! They&won't beat our COMBO!/%", "obj_flowery_enemy_slash_Step_0_gml_556_0"
);
809
                balloonend = 1;
810
            }
811
            else if (ballooncon == 60)
812
            {
813
                msgsetloc(0, 
Don't cry, Orange.
Tears are for a
wedding's day...Wait for inputClose Message
"Don't cry, Orange.&Tears are for a&wedding's day.../%", "obj_flowery_enemy_slash_Step_0_gml_783_0"
);
814
                balloonend = 1;
815
            }
816
            else if (ballooncon == 51)
817
            {
818
                msgsetloc(0, 
We know, Flowery...
we're here to play
our part.Wait for inputClose Message
"We know, Flowery...&we're here to play&our part./%", "obj_flowery_enemy_slash_Step_0_gml_559_0"
);
819
                balloonend = 1;
820
            }
821
            else if (ballooncon == 52)
822
            {
823
                msgsetloc(0, 
You got it,
pard'ner!!Wait for inputClose Message
"You got it,&pard'ner!!/%", "obj_flowery_enemy_slash_Step_0_gml_561_0"
);
824
                balloonend = 1;
825
            }
826
            else if (ballooncon == 53)
827
            {
828
                msgsetloc(0, 
Will he witness
our dance?Wait for inputClose Message
"Will he witness&our dance?/%", "obj_flowery_enemy_slash_Step_0_gml_563_0"
);
829
                balloonend = 1;
830
            }
831
            else if (ballooncon == 200)
832
            {
833
                msgsetloc(0, 
We've watched you
since you were a
child...Wait for inputClose Message
"We've watched you&since you were a&child.../%", "obj_flowery_enemy_slash_Step_0_gml_43_0"
);
834
                ballooncon = 201;
835
                balloonend = 0;
836
            }
837
            else if (ballooncon == 201)
838
            {
839
                msgsetloc(0, 
And I know that
you've CHANGED!Wait for inputClose Message
"And I know that&you've CHANGED!/%", "obj_flowery_enemy_slash_Step_0_gml_58_0"
);
840
                ballooncon = 202;
841
                balloonend = 0;
842
            }
843
            else if (ballooncon == 202)
844
            {
845
                msgsetloc(0, 
I don't know
what your plans
are, but...Wait for inputClose Message
"I don't know&what your plans&are, but.../%", "obj_flowery_enemy_slash_Step_0_gml_73_0"
);
846
                ballooncon = 203;
847
                balloonend = 0;
848
            }
849
            else if (ballooncon == 203)
850
            {
851
                msgsetloc(0, 
If they involve
Asgore... this is
as far as you go!Wait for inputClose Message
"If they involve&Asgore... this is&as far as you go!/%", "obj_flowery_enemy_slash_Step_0_gml_88_0"
);
852
                ballooncon = 204;
853
                balloonend = 0;
854
            }
855
            else if (ballooncon == 204)
856
            {
857
                msgsetloc(0, 
Feel it!
Smell it!
The power
of flowers!Wait for inputClose Message
"Feel it!&Smell it!&The power&of flowers!/%", "obj_flowery_enemy_slash_Step_0_gml_691_0"
);
858
                ballooncon = 0;
859
                balloonend = 1;
860
            }
861
            talked = 0.7;
862
            global.typer = 50;
863
            if ((ballooncon == 34.2 && balloonend == 1) || (ballooncon == 33 && balloonend == 1))
864
            {
865
                global.typer = 50;
866
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(aqua_marker.x - 28, aqua_marker.y + 40, 10);
867
                ballooncon = 0;
868
                with (obj_battleblcon)
869
                    flowery_aqua_float = true;
870
            }
871
            else if ((ballooncon == 32 && balloonend == 1) || ballooncon == 34)
872
            {
873
                global.typer = 50;
874
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(camerax() + 514, purple_marker.y + 20, 10);
875
                ballooncon = 0;
876
                with (obj_battleblcon)
877
                    flowery_aqua_float = true;
878
            }
879
            else if (ballooncon == 41)
880
            {
881
                global.typer = 50;
882
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(orange_marker.x - 10, orange_marker.y + 15, 10);
883
                ballooncon = 0;
884
                with (obj_battleblcon)
885
                    flowery_float = true;
886
            }
887
            else if (ballooncon == 52)
888
            {
889
                global.typer = 50;
890
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(yellow_marker.x - 34, yellow_marker.y + 97, 10);
891
                ballooncon = 0;
892
                with (obj_battleblcon)
893
                    flowery_aqua_float = true;
894
            }
895
            else if (ballooncon == 51 || ballooncon == 53)
896
            {
897
                global.typer = 50;
898
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(blue_marker.x - 28, blue_marker.y + 54, 10);
899
                ballooncon = 0;
900
                with (obj_battleblcon)
901
                    flowery_aqua_float = true;
902
            }
903
            else if (ralseitalks == 1 && instance_exists(obj_heroralsei))
904
            {
905
                global.typer = 74;
906
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_heroralsei.x + 95, obj_heroralsei.y + 48, 14);
907
                
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_heroralsei);
908
            }
909
            else if (ralseitalks == 2 && instance_exists(obj_heroralsei))
910
            {
911
                
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
912
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "i");
913
                
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
914
            }
915
            else if (susietalks == 1 && instance_exists(obj_herosusie))
916
            {
917
                global.typer = 75;
918
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_herosusie.x + 95, obj_herosusie.y + 40, 14);
919
                
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
920
            }
921
            else
922
            {
923
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
924
                with (obj_battleblcon)
925
                    flowery_float = true;
926
            }
927
            susietalks = 0;
928
            ralseitalks = 0;
929
            alarm[6]
 = 1;
gml_Object_obj_flowery_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; }
930
        }
931
    }
932
    if (talked == 1 && 
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("enemytalk") && endcon == 0 && phasetransition_con == 0 && healingscenecon == 0 && flowery_blowkiss_scene_con == 0 && !i_ex(obj_writer))
933
        global.mnfight = 1.5;
934
    if (global.mnfight == 1.5 && endcon == 0 && phasetransition_con == 0 && healingscenecon == 0 && flowery_blowkiss_scene_con == 0)
935
    {
936
        if (!instance_exists(obj_growtangle))
937
            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
938
        with (obj_growtangle)
939
        {
940
            maxxscale = camerawidth() / 70;
941
            maxyscale = 0.6779661016949152;
942
            x -= 5;
943
            if (other.myattackchoice == 17)
944
                visible = false;
945
        }
946
        if (myattackchoice == 0 || myattackchoice == 1 || myattackchoice == 2 || myattackchoice == 16 || myattackchoice == 18 || myattackchoice == 19 || myattackchoice == 7 || myattackchoice == 8 || myattackchoice == 9)
947
        {
948
            var _jarona = instance_create(x, y, obj_orangeheart_floweryjarona);
949
            if (myattackchoice == 18)
950
                _jarona.can_kidding = true;
951
            if (myattackchoice == 19)
952
            {
953
                _jarona.visible = false;
954
                depth = obj_growtangle.depth + 1;
955
            }
956
            else
957
            {
958
                visible = false;
959
            }
960
        }
961
        else
962
        {
963
            depth = obj_growtangle.depth + 1;
964
        }
965
        if (myattackchoice == 8 || myattackchoice == 16)
966
        {
967
            with (orange_marker)
968
            {
969
                visible = false;
970
                with (instance_create(x, y, obj_marker))
971
                {
972
                    sprite_index = spr_orange_base;
973
                    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
974
                    depth = obj_growtangle.depth - 1;
975
                    
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, camerax() + 530, 15);
976
                    
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("y", y, cameray() + 224, 15);
977
                    
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0] = arg1; target = arg0; } return _doom; }
(id, 15);
978
                }
979
            }
980
        }
981
        if (!instance_exists(obj_moveheart))
982
        {
983
            with (
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
())
984
            {
985
                distx = (obj_growtangle.x - 10 - 75) + 10;
986
                disty = (obj_growtangle.y - 10) + 10;
987
                dist = point_distance(x, y, distx, disty);
988
                move_towards_point(distx, disty, dist / 12);
989
                alarm[0] = 12;
990
            }
991
        }
992
        global.mnfight = 2;
993
        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(90);
994
        if (!instance_exists(obj_moveheart))
995
        {
996
            with (
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
())
997
            {
998
                distx = (obj_growtangle.x - 10 - 75) + 10;
999
                disty = (obj_growtangle.y - 10) + 10;
1000
                dist = point_distance(x, y, distx, disty);
1001
                move_towards_point(distx, disty, dist / 12);
1002
                alarm[0] = 12;
1003
            }
1004
        }
1005
        global.mnfight = 2;
1006
        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(90);
1007
    }
1008
    if (
scr_isphase
scr_isphase

function
scr_isphase(arg0)
{ __isphase = 0; if (arg0 == "menu" && global.myfight == 0) __isphase = 1; if (arg0 == "acting" && global.myfight == 3) __isphase = 1; if (arg0 == "victory" && global.myfight == 7) __isphase = 1; if (arg0 == "attack" || arg0 == "fight") { if (global.myfight == 1) __isphase = 1; } if (arg0 == "spell" || arg0 == "item") { if (global.myfight == 4) __isphase = 1; } if (arg0 == "enemytalk" || arg0 == "balloon") { if (global.mnfight == 1) __isphase = 1; } if (arg0 == "enemyattack" || arg0 == "bullets") { if (global.mnfight == 2) __isphase = 1; } return __isphase; }
("bullets") && attacked == 0 && endcon == 0 && healingscenecon == 0 && flowery_blowkiss_scene_con == 0)
1009
    {
1010
        rtimer++;
1011
        if (rtimer == 12)
1012
        {
1013
            with (obj_heromover)
1014
                instance_destroy();
1015
            with (kawkaw_marker)
1016
            {
1017
                if (sprite_index == spr_kawakaw_happy)
1018
                {
1019
                    sprite_index = spr_kawkaw_blow_wind;
1020
                    image_xscale = 2;
1021
                    x -= 82;
1022
                }
1023
            }
1024
            with (green_marker)
1025
                sprite_index = spr_green_together;
1026
            if (myattackchoice == 0)
1027
            {
1028
                global.monsterattackname[myself] = "FloweryDeflect1";
1029
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1030
                dc.type = 620;
1031
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3200);
1032
            }
1033
            if (myattackchoice == 1)
1034
            {
1035
                global.monsterattackname[myself] = "FloweryDeflect2";
1036
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1037
                dc.type = 621;
1038
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3200);
1039
            }
1040
            if (myattackchoice == 2)
1041
            {
1042
                global.monsterattackname[myself] = "FloweryDeflect3";
1043
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1044
                dc.type = 634;
1045
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3200);
1046
            }
1047
            if (myattackchoice == 3)
1048
            {
1049
                global.monsterattackname[myself] = "FloweryWallsTutorial";
1050
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1051
                dc.type = 623;
1052
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1053
            }
1054
            if (myattackchoice == 4)
1055
            {
1056
                global.monsterattackname[myself] = "FloweryChase";
1057
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1058
                dc.type = 624;
1059
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1060
            }
1061
            if (myattackchoice == 5)
1062
            {
1063
                global.monsterattackname[myself] = "FloweryChase2";
1064
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1065
                dc.type = 625;
1066
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1067
            }
1068
            if (myattackchoice == 6)
1069
            {
1070
                global.monsterattackname[myself] = "FloweryChase2Harder";
1071
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1072
                dc.type = 626;
1073
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1074
            }
1075
            if (myattackchoice == 7)
1076
            {
1077
                global.monsterattackname[myself] = "FloweryBulletsFistEasy";
1078
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1079
                dc.type = 627;
1080
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1081
            }
1082
            if (myattackchoice == 8)
1083
            {
1084
                global.monsterattackname[myself] = "FloweryBulletsFistMedium";
1085
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1086
                dc.type = 628;
1087
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1088
            }
1089
            if (myattackchoice == 9)
1090
            {
1091
                global.monsterattackname[myself] = "FloweryBulletsFistHard";
1092
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1093
                dc.type = 629;
1094
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1095
            }
1096
            if (myattackchoice == 10)
1097
            {
1098
                global.monsterattackname[myself] = "FloweryBoxesEasy";
1099
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1100
                dc.type = 630;
1101
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1102
            }
1103
            if (myattackchoice == 11)
1104
            {
1105
                global.monsterattackname[myself] = "FloweryBoxesMedium";
1106
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1107
                dc.type = 631;
1108
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1109
            }
1110
            if (myattackchoice == 12)
1111
            {
1112
                global.monsterattackname[myself] = "FloweryChase2Random";
1113
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1114
                dc.type = 632;
1115
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1116
            }
1117
            if (myattackchoice == 13)
1118
            {
1119
                global.monsterattackname[myself] = "FloweryChaseWithBullets";
1120
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1121
                dc.type = 633;
1122
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1123
            }
1124
            if (myattackchoice == 14)
1125
            {
1126
                global.monsterattackname[myself] = "FloweryDeflect2point5";
1127
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1128
                dc.type = 622;
1129
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3200);
1130
            }
1131
            if (myattackchoice == 15)
1132
            {
1133
                global.monsterattackname[myself] = "FloweryChaseBlueYellow";
1134
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1135
                dc.type = 635;
1136
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1137
            }
1138
            if (myattackchoice == 16)
1139
            {
1140
                global.monsterattackname[myself] = "FloweryDeflectOrange";
1141
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1142
                dc.type = 636;
1143
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3200);
1144
            }
1145
            if (myattackchoice == 17)
1146
            {
1147
                global.monsterattackname[myself] = "FloweryDashTutorial";
1148
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1149
                dc.type = 637;
1150
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(9999999);
1151
            }
1152
            if (myattackchoice == 18)
1153
            {
1154
                global.monsterattackname[myself] = "JustKidding";
1155
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1156
                dc.type = 638;
1157
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(3800);
1158
            }
1159
            if (myattackchoice == 19)
1160
            {
1161
                global.monsterattackname[myself] = "SuperJarona";
1162
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1163
                dc.type = 639;
1164
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(9999);
1165
            }
1166
            if (myattackchoice == 20)
1167
            {
1168
                global.monsterattackname[myself] = "BlueChase";
1169
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1170
                dc.type = 640;
1171
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(380);
1172
            }
1173
            if (myattackchoice == 21)
1174
            {
1175
                global.monsterattackname[myself] = "AquaKnives";
1176
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1177
                dc.type = 641;
1178
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1179
            }
1180
            if (myattackchoice == 22)
1181
            {
1182
                global.monsterattackname[myself] = "OrbitStars";
1183
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
1184
                dc.type = 647;
1185
                
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(320);
1186
            }
1187
            turns++;
1188
            attacked = 1;
1189
        }
1190
    }
1191
    if (global.mnfight == 2 && global.turntimer <= 1)
1192
    {
1193
        if (setbattlemsg == false)
1194
        {
1195
            if ((global.hp[1] < 1 || global.hp[3] < 1) && phase != 5 && phase != 6)
1196
                global.actsimulsus[myself][0] = 0;
1197
            else
1198
                global.actsimulsus[myself][0] = 1;
1199
            if ((global.hp[1] < 1 || global.hp[2] < 1) && phase != 5 && phase != 6)
1200
                global.actsimulral[myself][0] = 0;
1201
            else
1202
                global.actsimulral[myself][0] = 1;
1203
            
scr_spellmenu_setup
scr_spellmenu_setup

function
scr_spellmenu_setup()
{ var __actnamecheck = 0; var __monstertype = global.monstertype[0]; for (__i = 1; __i < 3; __i++) { if (global.monster[__i] == 1 && global.monstertype[__i] != __monstertype) { if (global.encounterno != 222) __actnamecheck = 1; } } for (__i = 0; __i < 3; __i++) { for (__fj = 0; __fj < 6; __fj++) { global.battlespell[__i][__fj] = 0; if (global.char[__i] == 1) { if (global.canact[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcost[0][__fj]; global.battlespellname[__i][__fj] = global.actname[0][__fj]; global.battlespelldesc[__i][__fj] = global.actdesc[0][__fj]; global.battlespelltarget[__i][__fj] = 0; global.battlespellspecial[__i][__fj] = 1; } } if (global.char[__i] == 2) { if (global.canactsus[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostsus[0][__fj]; global.battlespellname[__i][__fj] = global.actnamesus[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
S-Action
"S-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1053_0"
);
global.battlespelldesc[__i][__fj] = global.actdescsus[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 2; } } if (global.char[__i] == 3) { if (global.canactral[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostral[0][__fj]; global.battlespellname[__i][__fj] = global.actnameral[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
R-Action
"R-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1057_0"
);
global.battlespelldesc[__i][__fj] = global.actdescral[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 3; } } if (global.char[__i] == 4) { if (global.canactnoe[0][__fj] == 1) { global.battlespell[__i][__fj] = -1; if (global.battleactcount[__i] < (__fj + 1)) global.battleactcount[__i] = __fj + 1; global.battlespellcost[__i][__fj] = global.actcostnoe[0][__fj]; global.battlespellname[__i][__fj] = global.actnamenoe[0][__fj]; if (__actnamecheck) global.battlespellname[__i][__fj] = stringsetloc(
N-Action
"N-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1061_0"
);
global.battlespelldesc[__i][__fj] = global.actdescnoe[0][__fj]; global.battlespelltarget[__i][__fj] = 2; global.battlespellspecial[__i][__fj] = 4; } } } }
scr_spellinfo_all();
for (__i = 0; __i < 3; __i++) { for (__fj = 0; __fj < 12; __fj++) { __ib = global.battleactcount[__i] + __fj; global.battlespell[__i][__ib] = global.spell[global.char[__i]][__fj]; global.battlespellcost[__i][__ib] = global.spellcost[global.char[__i]][__fj]; global.battlespellname[__i][__ib] = global.spellnameb[global.char[__i]][__fj]; global.battlespelldesc[__i][__ib] = global.spelldescb[global.char[__i]][__fj]; global.battlespelltarget[__i][__ib] = global.spelltarget[global.char[__i]][__fj]; } } }
();
1204
            if (phase == 5)
1205
                event_user(0);
1206
            tpsave = global.tension;
1207
            global.typer = 6;
1208
            global.fc = 0;
1209
            draw_set_valign(fa_top);
1210
            draw_set_halign(fa_left);
1211
            if (phase == 1 || phase == 2)
1212
            {
1213
                rr = choose(0, 1, 2);
1214
                if (rr == 0)
1215
                    global.battlemsg[0] = stringsetloc(
* Flowery emits the fragrance of hope!
"* Flowery emits the fragrance of hope!", "obj_flowery_enemy_slash_Step_0_gml_815_0"
);
1216
                if (rr == 1)
1217
                    global.battlemsg[0] = stringsetloc(
* Flowery holds onto his dream.
"* Flowery holds onto his dream.", "obj_flowery_enemy_slash_Step_0_gml_816_0"
);
1218
                if (rr == 2)
1219
                    global.battlemsg[0] = stringsetloc(
* Flowery blooms in bravery.
"* Flowery blooms in bravery.", "obj_flowery_enemy_slash_Step_0_gml_817_0"
);
1220
            }
1221
            if (phase == 3)
1222
            {
1223
                if (aqua_phase_balloon_order <= 1)
1224
                {
1225
                    global.battlemsg[0] = stringsetloc(
* Flowery's friends Aqua and Seth appeared!
"* Flowery's friends Aqua and Seth appeared!", "obj_flowery_enemy_slash_Step_0_gml_822_0"
);
1226
                    if (phaseturn < 1)
1227
                        phaseturn = 1;
1228
                }
1229
                if (aqua_phase_balloon_order == 2)
1230
                    global.battlemsg[0] = stringsetloc(
* Flowery shows Aqua how to safely hold a knife!
"* Flowery shows Aqua how to safely hold a knife!", "obj_flowery_enemy_slash_Step_0_gml_823_0"
);
1231
                if (aqua_phase_balloon_order == 3)
1232
                    global.battlemsg[0] = stringsetloc(
* Flowery shows Seth how to be more confident!
"* Flowery shows Seth how to be more confident!", "obj_flowery_enemy_slash_Step_0_gml_824_0"
);
1233
                if (aqua_phase_balloon_order >= 4)
1234
                    global.battlemsg[0] = stringsetloc(
* Flowery looks on at Aqua and Seth proudly!
"* Flowery looks on at Aqua and Seth proudly!", "obj_flowery_enemy_slash_Step_0_gml_825_0"
);
1235
                aqua_phase_balloon_order++;
1236
            }
1237
            if (phase == 4)
1238
            {
1239
                if (orange_phase_balloon_order == 1)
1240
                    global.battlemsg[0] = stringsetloc(
* Flowery's little sister Orange,Delay 11 and kitchen partner Green appeared!
"* Flowery's little sister Orange^1, and kitchen partner Green appeared!", "obj_flowery_enemy_slash_Step_0_gml_829_0"
);
1241
                if (orange_phase_balloon_order == 2)
1242
                    global.battlemsg[0] = stringsetloc(
* Orange rides on Flowery's fist as they punch together!
"* Orange rides on Flowery's fist as they punch together!", "obj_flowery_enemy_slash_Step_0_gml_830_0"
);
1243
                if (orange_phase_balloon_order == 3)
1244
                    global.battlemsg[0] = stringsetloc(
* Green and Flowery come up with a new recipe!
"* Green and Flowery come up with a new recipe!", "obj_flowery_enemy_slash_Step_0_gml_831_0"
);
1245
                if (orange_phase_balloon_order >= 4)
1246
                {
1247
                    global.battlemsg[0] = stringsetloc(
* Flowery looks on at Orange and Green proudly!
"* Flowery looks on at Orange and Green proudly!", "obj_flowery_enemy_slash_Step_0_gml_832_0"
);
1248
                    phaseturn = 2;
1249
                }
1250
                orange_phase_balloon_order++;
1251
            }
1252
            if (phase == 5)
1253
            {
1254
                if (phaseturn == 1)
1255
                    global.battlemsg[0] = stringsetloc(
* Flowery's sparring partner Yellow and dance rival Blue appeared!
"* Flowery's sparring partner Yellow and dance rival Blue appeared!", "obj_flowery_enemy_slash_Step_0_gml_836_0"
);
1256
                if (phaseturn == 2)
1257
                    global.battlemsg[0] = stringsetloc(
* Flowery and Yellow point towards you side-by-side!
"* Flowery and Yellow point towards you side-by-side!", "obj_flowery_enemy_slash_Step_0_gml_837_0"
);
1258
                if (phaseturn == 3)
1259
                    global.battlemsg[0] = stringsetloc(
* Flowery pirouettes!Delay 11 ...Delay 11 but,Delay 11 Blue shakes his head.
"* Flowery pirouettes^1! ..^1. but^1, Blue shakes his head.", "obj_flowery_enemy_slash_Step_0_gml_838_0"
);
1260
                if (phaseturn >= 4)
1261
                    global.battlemsg[0] = stringsetloc(
* Flowery and Yellow stand strong against you!
* Blue hangs back...
"* Flowery and Yellow stand strong against you!&* Blue hangs back...", "obj_flowery_enemy_slash_Step_0_gml_839_0"
);
1262
            }
1263
            if (actshavechangedbattlemsg == true && phase != 5)
1264
            {
1265
                global.battlemsg[0] = stringsetloc(
* Your ACTs changed!
"* Your ACTs changed!", "obj_flowery_enemy_slash_Step_0_gml_1025_0"
);
1266
                actshavechangedbattlemsg = false;
1267
            }
1268
            if (phase == 6)
1269
                global.battlemsg[0] = stringsetloc(
* Susie glances at you...Delay 11 she looks like she has an idea!
"* Susie glances at you..^1. she looks like she has an idea!", "obj_flowery_enemy_slash_Step_0_gml_841_0"
);
1270
            if (ralsei_tutorial_string_con == 1)
1271
            {
1272
                
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
1273
                global.battlemsg[0] = stringsetsub(ralsei_tutorial_string, 
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(4));
1274
                ralsei_tutorial_string_con = 0;
1275
            }
1276
            if (partytiredbattlemsg == true)
1277
            {
1278
                global.battlemsg[0] = stringsetloc(
* TP gain reduced this turn!
"* TP gain reduced this turn!", "obj_flowery_enemy_slash_Step_0_gml_862_0"
);
1279
                partytiredbattlemsg = false;
1280
            }
1281
            setbattlemsg = true;
1282
            with (obj_heroparent)
1283
                mercycon = 1;
1284
        }
1285
    }
1286
}
1287
if (global.myfight == 3)
1288
{
1289
    xx = __view_get(e__VW.XView, 0);
1290
    yy = __view_get(e__VW.YView, 0);
1291
    if (acting == 1 && actcon == 0)
1292
    {
1293
        actcon = 1;
1294
        sprite_set_offset(spr_flowers, 10, 0);
1295
        global.writerimg[0] = spr_flowers;
1296
        global.writerimg[1] = spr_flowers;
1297
        msgsetloc(0, 
* FLOWERY - AT \I0 DF \I1
* A being taken shape from the Golden Flower.Wait for input
"* FLOWERY - AT \\I0 DF \\I1&* A being taken shape from the Golden Flower./", "obj_flowery_enemy_slash_Step_0_gml_886_0"
);
1298
        msgnextloc(
* Everything about him is an illusion...Delay 11 but,Delay 11 with hope,Delay 11 can he make it real!?Wait for inputClose Message
"* Everything about him is an illusion..^1. but^1, with hope^1, can he make it real!?/%", "obj_flowery_enemy_slash_Step_0_gml_887_0"
);
1299
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1300
    }
1301
    if (phase == 1)
1302
    {
1303
        var _str = stringsetloc(
* Press with the right timing to POSE!
"* Press with the right timing to POSE!", "obj_flowery_enemy_slash_Step_0_gml_893_0"
);
1304
        if (acting == 2 && actcon == 0)
1305
        {
1306
            acting = 3.1;
1307
            pose_alone = true;
1308
            msgsetsubloc(0, 
* You posed alone!
Argument â„–11Wait for inputClose Message
"* You posed alone!&~1/%", _str, "obj_flowery_enemy_slash_Step_0_gml_903_0"
);
1309
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1310
        }
1311
        if (acting == 3 && actcon == 0)
1312
        {
1313
            acting = 3.1;
1314
            pose_alone = false;
1315
            msgsetsubloc(0, 
* Everyone posed together!
Argument â„–11Wait for inputClose Message
"* Everyone posed together!&~1/%", _str, "obj_flowery_enemy_slash_Step_0_gml_913_0"
);
1316
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1317
            if (shi_recruited)
1318
            {
1319
                with (shi_marker)
1320
                    
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 290, y, 8);
1321
            }
1322
            if (shinobeetle_recruited)
1323
            {
1324
                with (shinobeetle_marker)
1325
                    
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 270, y, 8);
1326
            }
1327
            if (kawkaw_recruited)
1328
            {
1329
                with (kawkaw_marker)
1330
                    
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 180, y, 8);
1331
            }
1332
        }
1333
        if (acting == 3.1 && actcon == 0 && ((i_ex(obj_writer) && obj_writer.reachedend == 1) || !i_ex(obj_writer)))
1334
        {
1335
            instance_create(camerax() + 304, cameray() + 80, obj_scarecrow_intimidate);
1336
            box = instance_create(camerax() + 320, cameray() + 220, obj_scarecrow_intimidate2);
1337
            box.parentid = id;
1338
            acting = 3.2;
1339
        }
1340
        if (acting == 3.2 && actcon == 0 && !i_ex(obj_scarecrow_intimidate2))
1341
        {
1342
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("kris");
1343
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
1344
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
1345
            with (obj_writer)
1346
                instance_destroy();
1347
        }
1348
        if (create_afterimage == true)
1349
        {
1350
            create_afterimage_timer++;
1351
            if ((create_afterimage_timer % 6) == 0)
1352
            {
1353
                var _heroobj = 1430;
1354
                if (pose_alone == true)
1355
                    _heroobj = 1432;
1356
                with (_heroobj)
1357
                {
1358
                    afterimage = instance_create(x, y, obj_afterimage_fog);
1359
                    afterimage.sprite_index = sprite_index;
1360
                    afterimage.image_index = image_index;
1361
                    afterimage.image_blend = image_blend;
1362
                    afterimage.image_speed = 0;
1363
                    afterimage.depth = depth;
1364
                    afterimage.image_xscale = image_xscale;
1365
                    afterimage.image_yscale = image_yscale;
1366
                    afterimage.image_angle = image_angle;
1367
                    with (afterimage)
1368
                    {
1369
                        speed = 2.7;
1370
                        direction = irandom(360);
1371
                        fadeSpeed = 0.1;
1372
                    }
1373
                }
1374
                if (shi_recruited)
1375
                {
1376
                    with (shi_marker)
1377
                    {
1378
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1379
                        afterimage.sprite_index = sprite_index;
1380
                        afterimage.image_index = image_index;
1381
                        afterimage.image_blend = image_blend;
1382
                        afterimage.image_speed = 0;
1383
                        afterimage.depth = depth;
1384
                        afterimage.image_xscale = image_xscale;
1385
                        afterimage.image_yscale = image_yscale;
1386
                        afterimage.image_angle = image_angle;
1387
                        with (afterimage)
1388
                        {
1389
                            speed = 2.7;
1390
                            direction = irandom(360);
1391
                            fadeSpeed = 0.1;
1392
                        }
1393
                    }
1394
                }
1395
                if (shinobeetle_recruited)
1396
                {
1397
                    with (shinobeetle_marker)
1398
                    {
1399
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1400
                        afterimage.sprite_index = sprite_index;
1401
                        afterimage.image_index = image_index;
1402
                        afterimage.image_blend = image_blend;
1403
                        afterimage.image_speed = 0;
1404
                        afterimage.depth = depth;
1405
                        afterimage.image_xscale = image_xscale;
1406
                        afterimage.image_yscale = image_yscale;
1407
                        afterimage.image_angle = image_angle;
1408
                        with (afterimage)
1409
                        {
1410
                            speed = 2.7;
1411
                            direction = irandom(360);
1412
                            fadeSpeed = 0.1;
1413
                        }
1414
                    }
1415
                }
1416
                if (kawkaw_recruited)
1417
                {
1418
                    with (kawkaw_marker)
1419
                    {
1420
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1421
                        afterimage.sprite_index = sprite_index;
1422
                        afterimage.image_index = image_index;
1423
                        afterimage.image_blend = image_blend;
1424
                        afterimage.image_speed = 0;
1425
                        afterimage.depth = depth;
1426
                        afterimage.image_xscale = image_xscale;
1427
                        afterimage.image_yscale = image_yscale;
1428
                        afterimage.image_angle = image_angle;
1429
                        with (afterimage)
1430
                        {
1431
                            speed = 2.7;
1432
                            direction = irandom(360);
1433
                            fadeSpeed = 0.1;
1434
                        }
1435
                    }
1436
                }
1437
            }
1438
        }
1439
    }
1440
    if (phase == 2)
1441
    {
1442
        if ((acting == 2 || acting == 3) && actcon == 0)
1443
        {
1444
            msgsetsubloc(0, 
* Argument â„–11 repeatedly to blow away!
"* ~1 repeatedly to blow away!",
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(4),
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(6), "obj_flowery_enemy_slash_Step_0_gml_1028_0"
);
1445
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1446
            with (obj_writer)
1447
            {
1448
                rate = 33;
1449
                pos = 60;
1450
            }
1451
            custombody = 0;
1452
            if (acting == 2)
1453
                custombody = 1;
1454
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_blow_wind, 0, true);
1455
            if (acting == 3)
1456
            {
1457
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_blow_wind, 0, true);
1458
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_blow_wind, 0, true);
1459
                if (floradinn_recruited)
1460
                {
1461
                    with (floradin_marker)
1462
                        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 180, y, 8);
1463
                }
1464
                if (leafling_recruited)
1465
                {
1466
                    with (leafling_marker)
1467
                        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 180, y, 8);
1468
                }
1469
                if (kawkaw_recruited)
1470
                {
1471
                    with (kawkaw_marker)
1472
                        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(camerax() + 180, y, 8);
1473
                }
1474
                with (obj_heroparent)
1475
                {
1476
                    
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1477
                    a = 
scr_afterimage
scr_afterimage

function
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; }
();
1478
                    a.hspeed = 2.5;
1479
                    a.depth = depth + 1;
1480
                    b = 
scr_afterimage
scr_afterimage

function
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; }
();
1481
                    b.image_alpha = 0.6;
1482
                    b.hspeed = 5;
1483
                    b.depth = depth + 2;
1484
                }
1485
            }
1486
            acting = 101;
1487
        }
1488
    }
1489
    if (acting == 101 && actcon == 0)
1490
    {
1491
        if (progress > 0)
1492
            progress -= 0.2;
1493
        if (button1_p() == 1 && presscount_1 < 5)
1494
        {
1495
            snd_stop(snd_whistlebreath);
1496
            snd_play_x(snd_whistlebreath, 1, 1 + (presstimer / 100));
1497
            state = 10;
1498
            image_speed = 0;
1499
            image_index = 0.5;
1500
            sprite_index = spr_flowery_wind;
1501
            if (floradinn_recruited)
1502
            {
1503
                with (floradin_marker)
1504
                    image_index = 1;
1505
            }
1506
            if (leafling_recruited)
1507
            {
1508
                with (leafling_marker)
1509
                    image_index = 1;
1510
            }
1511
            if (kawkaw_recruited)
1512
            {
1513
                with (kawkaw_marker)
1514
                    image_index = 1;
1515
            }
1516
            progress += 12;
1517
            if (acttimer > 160)
1518
                progress += 75;
1519
            starttimer = true;
1520
            blown = 1;
1521
            blowanimtimer = 20;
1522
            onoff = 0;
1523
            shakeamt = 5;
1524
            repeat (6)
1525
            {
1526
                dustparticle = instance_create(x + random(sprite_width - 40) + 2, y + 20 + random(sprite_height - 20), obj_animation);
1527
                with (dustparticle)
1528
                {
1529
                    sprite_index = spr_rabbick_dustorb;
1530
                    speed = 6;
1531
                    image_index = 1;
1532
                    direction = 10 + random(70);
1533
                    image_speed = 0.5;
1534
                    image_xscale = 2;
1535
                    image_yscale = 2;
1536
                    gravity_direction = 0;
1537
                    gravity = 0.7;
1538
                    friction = 0.4;
1539
                    image_alpha = 0.5;
1540
                    depth = 15;
1541
                }
1542
                if (blown == 1)
1543
                {
1544
                    with (dustparticle)
1545
                    {
1546
                        image_alpha = 1;
1547
                        depth = -10;
1548
                    }
1549
                }
1550
            }
1551
        }
1552
        if (blowanimtimer == 12)
1553
        {
1554
            if (floradinn_recruited)
1555
            {
1556
                with (floradin_marker)
1557
                    image_index = 0;
1558
            }
1559
            if (leafling_recruited)
1560
            {
1561
                with (leafling_marker)
1562
                    image_index = 0;
1563
            }
1564
            if (kawkaw_recruited)
1565
            {
1566
                with (kawkaw_marker)
1567
                    image_index = 0;
1568
            }
1569
        }
1570
        presstimer++;
1571
        if (presstimer == 30)
1572
        {
1573
            presstimer = 0;
1574
            presscount_1 = 0;
1575
        }
1576
        if (progress >= 150)
1577
            progress = 150;
1578
        if (starttimer == true)
1579
            acttimer += 2;
1580
        if (acttimer >= acttimermax || progress >= 150)
1581
        {
1582
            starttimer = false;
1583
            acting = 102;
1584
            blown = 0;
1585
            acttimer = 0;
1586
            with (obj_writer)
1587
                instance_destroy();
1588
        }
1589
    }
1590
    if (acting == 102 && actcon == 0)
1591
    {
1592
        if (floradinn_recruited)
1593
        {
1594
            with (floradin_marker)
1595
                image_index = 0;
1596
        }
1597
        if (leafling_recruited)
1598
        {
1599
            with (leafling_marker)
1600
                image_index = 0;
1601
        }
1602
        if (kawkaw_recruited)
1603
        {
1604
            with (kawkaw_marker)
1605
                image_index = 0;
1606
        }
1607
        if (progress < 100)
1608
        {
1609
            sprite_index = spr_flowery_idle3;
1610
            msgsetloc(0, 
* You ran out of time!Wait for inputClose Message
"* You ran out of time!/%", "obj_flowery_enemy_slash_Step_0_gml_1150_0"
);
1611
        }
1612
        else
1613
        {
1614
            msgsetloc(0, 
* You made Flowery's hair blow beautifully!Wait for inputClose Message
"* You made Flowery's hair blow beautifully!/%", "obj_flowery_enemy_slash_Step_0_gml_1154_0"
);
1615
            _mercy = 5;
1616
            if ((global.mercymod[myself] + _mercy) > _maxmercy)
1617
                _mercy = _maxmercy - global.mercymod[myself];
1618
            
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, _mercy);
1619
            mercyaddcon = 1;
1620
            sprite_index = spr_flowery_wind2;
1621
        }
1622
        image_speed = 0.16666666666666666;
1623
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1624
        if (global.mercymod[myself] >= 20)
1625
            flowery_blowkiss_scene_con = 1;
1626
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("kris");
1627
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
1628
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
1629
        if (custombody == 0)
1630
            acting = 0;
1631
        actcon = 1;
1632
        progress = 0;
1633
        blowaway = true;
1634
    }
1635
    if (phase == 3)
1636
    {
1637
        if ((acting == 2 || acting == 3) && actcon == 0)
1638
        {
1639
            var _pickedcorrectly = false;
1640
            if (correctact == (acting - 1))
1641
                _pickedcorrectly = true;
1642
            if (overwrite_correct == 1)
1643
                _pickedcorrectly = false;
1644
            if (overwrite_correct == 2)
1645
                _pickedcorrectly = true;
1646
            _pickedcorrectly = true;
1647
            if (actcon == 0 && acting != 151)
1648
            {
1649
                event_user(0);
1650
                snd_play(snd_pirouette);
1651
            }
1652
            if (_pickedcorrectly == true && actcon == 0)
1653
            {
1654
                actcon = 1;
1655
                if (acting == 2)
1656
                    msgsetloc(0, 
* You spin!Wait for inputClose Message
"* You spin!/%", "obj_flowery_enemy_slash_Step_0_gml_1237_0"
);
1657
                else
1658
                    msgsetloc(0, 
* Everyone spins!Wait for inputClose Message
"* Everyone spins!/%", "obj_flowery_enemy_slash_Step_0_gml_1194_0"
);
1659
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1660
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_krisb_pirouette, 1/3, true);
1661
                if (acting == 3)
1662
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_pirouette, 1/3, true);
1663
                if (acting == 3)
1664
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_pirouette, 1/3, true);
1665
                with (obj_herokris)
1666
                {
1667
                    
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1668
                    a = 
scr_afterimage
scr_afterimage

function
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; }
();
1669
                    a.hspeed = 2.5;
1670
                    a.depth = depth + 1;
1671
                    b = 
scr_afterimage
scr_afterimage

function
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; }
();
1672
                    b.image_alpha = 0.6;
1673
                    b.hspeed = 5;
1674
                    b.depth = depth + 2;
1675
                }
1676
                if (acting == 3)
1677
                {
1678
                    with (obj_herosusie)
1679
                    {
1680
                        
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1681
                        a = 
scr_afterimage
scr_afterimage

function
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; }
();
1682
                        a.hspeed = 2.5;
1683
                        a.depth = depth + 1;
1684
                        b = 
scr_afterimage
scr_afterimage

function
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; }
();
1685
                        b.image_alpha = 0.6;
1686
                        b.hspeed = 5;
1687
                        b.depth = depth + 2;
1688
                    }
1689
                    with (obj_heroralsei)
1690
                    {
1691
                        
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1692
                        a = 
scr_afterimage
scr_afterimage

function
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; }
();
1693
                        a.hspeed = 2.5;
1694
                        a.depth = depth + 1;
1695
                        b = 
scr_afterimage
scr_afterimage

function
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; }
();
1696
                        b.image_alpha = 0.6;
1697
                        b.hspeed = 5;
1698
                        b.depth = depth + 2;
1699
                    }
1700
                }
1701
                if (failedpreviousact == true)
1702
                {
1703
                    if (global.mercymod[myself] == 20)
1704
                    {
1705
                        _mercy = 10;
1706
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1707
                            _mercy = _maxmercy - global.mercymod[myself];
1708
                        
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, _mercy);
1709
                        mercyaddcon = 1;
1710
                    }
1711
                    if (global.mercymod[myself] == 25)
1712
                    {
1713
                        _mercy = 5;
1714
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1715
                            _mercy = _maxmercy - global.mercymod[myself];
1716
                        
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, _mercy);
1717
                        mercyaddcon = 1;
1718
                    }
1719
                    aqua_mercy += 100;
1720
                    with (aqua_marker)
1721
                    {
1722
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1723
                        __mercydmgwriter.damage = 100;
1724
                        __mercydmgwriter.type = 5;
1725
                    }
1726
                    purple_mercy += 100;
1727
                    with (purple_marker)
1728
                    {
1729
                        __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1730
                        __mercydmgwriter.damage = 100;
1731
                        __mercydmgwriter.type = 5;
1732
                    }
1733
                }
1734
                else
1735
                {
1736
                    if (global.mercymod[myself] < 30)
1737
                    {
1738
                        _mercy = 5;
1739
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1740
                            _mercy = _maxmercy - global.mercymod[myself];
1741
                        
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, _mercy);
1742
                        mercyaddcon = 1;
1743
                    }
1744
                    else
1745
                    {
1746
                        purple_marker.sprite_index = spr_seth_idle_dizzy_flowery;
1747
                        aqua_marker.sprite_index = spr_enemy_aqua_spin;
1748
                    }
1749
                    if (sethaqua_defeated_with_violence == true)
1750
                    {
1751
                        aqua_mercy += 80;
1752
                        with (aqua_marker)
1753
                        {
1754
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1755
                            __mercydmgwriter.damage = 80;
1756
                            __mercydmgwriter.type = 5;
1757
                        }
1758
                        purple_mercy += 80;
1759
                        with (purple_marker)
1760
                        {
1761
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1762
                            __mercydmgwriter.damage = 80;
1763
                            __mercydmgwriter.type = 5;
1764
                        }
1765
                    }
1766
                    else
1767
                    {
1768
                        aqua_mercy += 50;
1769
                        with (aqua_marker)
1770
                        {
1771
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1772
                            __mercydmgwriter.damage = 50;
1773
                            __mercydmgwriter.type = 5;
1774
                        }
1775
                        purple_mercy += 50;
1776
                        with (purple_marker)
1777
                        {
1778
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1779
                            __mercydmgwriter.damage = 50;
1780
                            __mercydmgwriter.type = 5;
1781
                        }
1782
                    }
1783
                }
1784
            }
1785
            if (acting == 151)
1786
            {
1787
                acttimer++;
1788
                if (acttimer == 1)
1789
                {
1790
                    snd_play(snd_strongwind_loop, 0.1, 1.2);
1791
                    snd_volume(snd_strongwind_loop, 2, 5);
1792
                }
1793
                if (acttimer >= 1 && acttimer < 60)
1794
                {
1795
                    repeat (6)
1796
                        drop_petal2(((_cx + 640) - (spread_range * 0.5)) + _random, (_cy - (spread_range * 0.5)) + _random, true, -12, 1);
1797
                }
1798
                if (acttimer == 31)
1799
                    snd_volume(snd_strongwind_loop, 0, 30);
1800
                if (acttimer >= 60 && !i_ex(obj_writer))
1801
                {
1802
                    snd_stop(snd_strongwind_loop);
1803
                    snd_play(snd_awkward);
1804
                    defensedowntimer = 30;
1805
                    msgsetloc(0, 
* Party's DEFENSE dropped this turn!Wait for inputClose Message
"* Party's DEFENSE dropped this turn!/%", "obj_flowery_enemy_slash_Step_0_gml_1304_0"
);
1806
                    
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1807
                    actcon = 1;
1808
                    acting = 0;
1809
                    acttimer = 0;
1810
                }
1811
            }
1812
        }
1813
    }
1814
    if (phase == 4)
1815
    {
1816
        if ((acting == 2 || acting == 3) && actcon == 0)
1817
        {
1818
            var _pickedcorrectly = false;
1819
            if (correctact == (acting - 1))
1820
                _pickedcorrectly = true;
1821
            if (overwrite_correct == 1)
1822
                _pickedcorrectly = false;
1823
            if (overwrite_correct == 2)
1824
                _pickedcorrectly = true;
1825
            _pickedcorrectly = true;
1826
            if (actcon == 0 && acting != 201 && acting != 202)
1827
                event_user(0);
1828
            if (_pickedcorrectly == true && actcon == 0)
1829
            {
1830
                actcon = 1;
1831
                if (acting == 2)
1832
                    msgsetloc(0, 
* You praise Flowery!Wait for inputClose Message
"* You praise Flowery!/%", "obj_flowery_enemy_slash_Step_0_gml_1655_0"
);
1833
                if (acting == 3)
1834
                    msgsetloc(0, 
* Everyone praises Flowery!Wait for inputClose Message
"* Everyone praises Flowery!/%", "obj_flowery_enemy_slash_Step_0_gml_1328_0"
);
1835
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1836
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_krisb_bow, 1/3, true);
1837
                if (acting == 3)
1838
                {
1839
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_clap, 1/3, true);
1840
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_battle_clap, 1/3, true);
1841
                }
1842
                acting = 202;
1843
                global.actcost[myself][1] = 200;
1844
                idlesprite = spr_flowery_idle3_blush;
1845
                with (green_marker)
1846
                    sprite_index = spr_green_nods_left;
1847
                with (orange_marker)
1848
                    sprite_index = spr_enemy_orange_idle_base_blush;
1849
                with (obj_heroparent)
1850
                {
1851
                    
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1852
                    a = 
scr_afterimage
scr_afterimage

function
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; }
();
1853
                    a.hspeed = 2.5;
1854
                    a.depth = depth + 1;
1855
                    b = 
scr_afterimage
scr_afterimage

function
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; }
();
1856
                    b.image_alpha = 0.6;
1857
                    b.hspeed = 5;
1858
                    b.depth = depth + 2;
1859
                }
1860
                if (global.mercymod[myself] < 40)
1861
                {
1862
                    _mercy = 5;
1863
                    if ((global.mercymod[myself] + _mercy) > _maxmercy)
1864
                        _mercy = _maxmercy - global.mercymod[myself];
1865
                    
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, _mercy);
1866
                }
1867
                if (failedpreviousact == true)
1868
                {
1869
                    orange_mercy += 100;
1870
                    with (orange_marker)
1871
                    {
1872
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1873
                        __mercydmgwriter.damage = 100;
1874
                        __mercydmgwriter.type = 5;
1875
                    }
1876
                    green_mercy += 100;
1877
                    with (green_marker)
1878
                    {
1879
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1880
                        __mercydmgwriter.damage = 100;
1881
                        __mercydmgwriter.type = 5;
1882
                    }
1883
                }
1884
                else if (defeatedpink == true)
1885
                {
1886
                    orange_mercy += 80;
1887
                    with (orange_marker)
1888
                    {
1889
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1890
                        __mercydmgwriter.damage = 80;
1891
                        __mercydmgwriter.type = 5;
1892
                    }
1893
                    green_mercy += 80;
1894
                    with (green_marker)
1895
                    {
1896
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1897
                        __mercydmgwriter.damage = 80;
1898
                        __mercydmgwriter.type = 5;
1899
                    }
1900
                }
1901
                else
1902
                {
1903
                    orange_mercy += 50;
1904
                    with (orange_marker)
1905
                    {
1906
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1907
                        __mercydmgwriter.damage = 50;
1908
                        __mercydmgwriter.type = 5;
1909
                    }
1910
                    green_mercy += 50;
1911
                    with (green_marker)
1912
                    {
1913
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1914
                        __mercydmgwriter.damage = 50;
1915
                        __mercydmgwriter.type = 5;
1916
                    }
1917
                }
1918
                if (defeatedpink == true)
1919
                {
1920
                    snd_play(snd_pink_laugh_long);
1921
                    inst = instance_create(camerax() + 320, cameray() + 160, obj_marker);
1922
                    inst.sprite_index = spr_pink_peace_sign_centered;
1923
                    with (inst)
1924
                    {
1925
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 0.45, 0, 20, 2, "in");
1926
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_xscale", 5, 3, 20, 2, "in");
1927
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_yscale", 5, 3, 20, 2, "in");
1928
                        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(instance_destroy, 20);
1929
                    }
1930
                }
1931
            }
1932
            if (acting == 202 && !i_ex(obj_writer))
1933
            {
1934
                acting = 0;
1935
                actcon = 1;
1936
                sprite_index = spr_flowery_thumbs_down;
1937
                image_index = 0;
1938
                image_speed = 1/3;
1939
                orange_marker.sprite_index = spr_orange_thumbs_down;
1940
                green_marker.sprite_index = spr_green_guilty;
1941
                
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1942
                a = 
scr_afterimage
scr_afterimage

function
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; }
();
1943
                a.hspeed = -2.5;
1944
                a.depth = depth + 1;
1945
                b = 
scr_afterimage
scr_afterimage

function
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; }
();
1946
                b.image_alpha = 0.6;
1947
                b.hspeed = -5;
1948
                b.depth = depth + 2;
1949
                msgsetloc(0, 
* Everyone got TIRED!Wait for inputClose Message
"* Everyone got TIRED!/%", "obj_flowery_enemy_slash_Step_0_gml_1440_0"
);
1950
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1951
                snd_stop(snd_hurt1);
1952
                snd_play(snd_hurt1);
1953
                with (obj_heroparent)
1954
                    hurt = 1;
1955
                with (obj_heroparent)
1956
                {
1957
                    __tiredwriter = instance_create(x, y + 40, obj_dmgwriter);
1958
                    __tiredwriter.typeb = 13;
1959
                    __tiredwriter.type = 13;
1960
                }
1961
                snd_play_x(snd_spellcast, 0.5, 0.9);
1962
            }
1963
        }
1964
    }
1965
    if (phase == 5)
1966
    {
1967
        if (acting == 2 && actcon == 0)
1968
        {
1969
            if (global.hp[2] < 1)
1970
            {
1971
                star = 1;
1972
                
scr_healitemspell
scr_healitemspell

function
scr_healitemspell(arg0)
{ var __healAmount = arg0;
scr_heal(star, __healAmount);
global.spelldelay = 15; with (global.charinstance[star]) { ha = instance_create(x, y, obj_healanim); ha.target = id; dmgwr =
scr_dmgwriter_selfchar();
with (dmgwr) { delay = 8; type = 3; damage = __healAmount; } if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) { with (dmgwr) specialmessage = 3; } tu += 1; return ha; } }
(abs(global.hp[2]) + 1);
1973
                global.hp[2] = 1;
1974
            }
1975
            if (global.hp[3] < 1)
1976
            {
1977
                star = 2;
1978
                
scr_healitemspell
scr_healitemspell

function
scr_healitemspell(arg0)
{ var __healAmount = arg0;
scr_heal(star, __healAmount);
global.spelldelay = 15; with (global.charinstance[star]) { ha = instance_create(x, y, obj_healanim); ha.target = id; dmgwr =
scr_dmgwriter_selfchar();
with (dmgwr) { delay = 8; type = 3; damage = __healAmount; } if (global.hp[global.char[myself]] >= global.maxhp[global.char[myself]]) { with (dmgwr) specialmessage = 3; } tu += 1; return ha; } }
(abs(global.hp[3]) + 1);
1979
                global.hp[3] = 1;
1980
            }
1981
            if (global.tempflag[70] == 1)
1982
            {
1983
                msgset_add(stringsetloc(
What? Delay 11An
accusation
again?Wait for inputClose Message
"What?^1 An&accusation&again?/%", "obj_flowery_enemy_slash_Step_0_gml_1848_0"
), x - 15, y + 30, 10, 50);
1984
                msgset_add_func(function()
1985
                {
1986
                    if (i_ex(obj_heroralsei))
1987
                    {
1988
                        repeat (3)
1989
                            make_petal_storm(obj_heroralsei.x + 120, obj_heroralsei.y + 48, obj_heroralsei.depth, 12);
1990
                    }
1991
                    talked = -1;
1992
                    scr_var_delayed("talked", 1, 30);
1993
                });
1994
                msgset_add(stringsetloc(
If you want
to "beleave"
things can change...Wait for inputClose Message
"If you want&to \"beleave\"&things can change.../%", "obj_flowery_enemy_slash_Step_0_gml_1873_0"
), x - 15, y + 30, 10, 50);
1995
                msgset_add(stringsetloc(
Prove it
on your side,
sprinkles.Wait for inputClose Message
"Prove it&on your side,&sprinkles./%", "obj_flowery_enemy_slash_Step_0_gml_1874_0"
), x - 15, y + 30, 10, 50);
1996
                msgset_add_func(function()
1997
                {
1998
                    
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(function()
1999
                    {
2000
                        with (obj_battlecontroller)
2001
                        {
2002
                            havechar[2] = 0;
2003
                            charpos[2] = 0;
2004
                            with (obj_heroralsei)
2005
                            {
2006
                                ralsei_marker = instance_create_depth(x, y, depth, obj_marker);
2007
                                ralsei_marker.sprite_index = spr_ralsei_shocked_right;
2008
                                ralsei_marker.image_speed = 0.16666666666666666;
2009
                                ralsei_marker.image_xscale = image_xscale;
2010
                                ralsei_marker.image_yscale = image_yscale;
2011
                                ralsei_marker.hspeed = -20;
2012
                                instance_destroy();
2013
                            }
2014
                            with (obj_flowery_hero_flower)
2015
                            {
2016
                                if (hero == 3)
2017
                                    hspeed = -20;
2018
                            }
2019
                            global.hp[3] = 0;
2020
                            global.acting[3] = 1;
2021
                            global.char[2] = 0;
2022
                            global.charmove[2] = 0;
2023
                            global.charauto[2] = 0;
2024
                            chartotal--;
2025
                        }
2026
                        with (obj_flowery_enemy)
2027
                            ralsei_removed = true;
2028
                        with (obj_flowery_enemy)
2029
                            remove_ralsei_con = 1;
2030
                    }, 12);
2031
                    with (obj_orbitparticle)
2032
                    {
2033
                        do_movement = false;
2034
                        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x_center", x_center, x_center - 300, 20);
2035
                    }
2036
                    with (obj_heroralsei)
2037
                    {
2038
                        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(snd_play, 9, snd_grab);
2039
                        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(scr_lerpvar, 9, "x", x, x - 180, 12);
2040
                        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; } function scr_script_delayed_until() { var __scriptdelay = instance_create(0, 0, obj_script_delayed_function); __scriptdelay.script = argument[0]; __scriptdelay.condition = 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; } function delay_function(arg0, arg1) { return
scr_script_delayed(arg0, arg1);
}
(scr_battle_sprite_set, 9, "ralsei", 1447, 0.16666666666666666, true);
2041
                    }
2042
                    talked = -1;
2043
                    scr_var_delayed("talked", 1, 30);
2044
                });
2045
                msgset_add_func(function()
2046
                {
2047
                    with (obj_battlecontroller)
2048
                        skipsusieturn = true;
2049
                    global.faceaction[1] = 0;
2050
                    global.charaction[1] = 0;
2051
                    global.acting[1] = 0;
2052
                    global.actingsingle[1] = 0;
2053
                    with (obj_battlecontroller)
2054
                        skipralseiturn = true;
2055
                    global.faceaction[2] = 0;
2056
                    global.charaction[2] = 0;
2057
                    global.acting[2] = 0;
2058
                    global.actingsingle[2] = 0;
2059
                    actcon = 1;
2060
                    acting = 0;
2061
                    talked = 0;
2062
                    with (yellow_marker)
2063
                        sprite_index = spr_yellow_idle;
2064
                    with (blue_marker)
2065
                    {
2066
                        sprite_index = spr_enemy_blue_ballet;
2067
                        image_index = 0;
2068
                        image_speed = 0.16666666666666666;
2069
                    }
2070
                    global.mercymod[myself] += 10;
2071
                    mercyaddcon = 1;
2072
                    event_user(0);
2073
                });
2074
                flowery_balloon();
2075
                actcon = 0.2;
2076
            }
2077
            else
2078
            {
2079
                with (obj_flowery_lyrics)
2080
                    target_alpha = 0;
2081
                
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2082
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "i");
2083
                msgsetloc(0, 
Face i* Enough! With this ACT... I'm finishing this!Wait for input
"\\Ei* Enough! With this ACT... I'm finishing this!/", "obj_flowery_enemy_slash_Step_0_gml_1468_0"
);
2084
                msgnextloc(
Face k* Let me prove...Delay 11 without a doubt...Wait for input
"\\Ek* Let me prove..^1. without a doubt.../", "obj_flowery_enemy_slash_Step_0_gml_1469_0"
);
2085
                msgnextloc(
Face j* Flowery isn't as innocent as he behaves!Wait for inputClose Message
"\\Ej* Flowery isn't as innocent as he behaves!/%", "obj_flowery_enemy_slash_Step_0_gml_1470_0"
);
2086
                
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2087
                actcon = 0.1;
2088
                if (irandom(1))
2089
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_lawyer, 0.16666666666666666, true);
2090
                else
2091
                    
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("kris", spr_kris_lawyer_alt, 0.16666666666666666, true);
2092
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_lawyer, 0.16666666666666666, true);
2093
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_lawyer, 0.16666666666666666, true);
2094
                with (obj_herokris)
2095
                    depth = -500;
2096
                with (obj_herosusie)
2097
                    depth = -502;
2098
                with (obj_heroralsei)
2099
                    depth = -504;
2100
                with (obj_herokris)
2101
                {
2102
                    with (instance_create_depth(x + 60, y + 56, depth - 0.1, obj_marker))
2103
                    {
2104
                        sprite_index = spr_trial_podium;
2105
                        image_index = 1;
2106
                        image_speed = 0;
2107
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2108
                        
scr_script_repeat
scr_script_repeat

function
scr_script_repeat()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = -2; __scriptdelay.max_time = argument[1]; __scriptdelay.rate = argument[2]; __scriptdelay.constant = 1; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 3); __i++) __scriptdelay.script_arg[__i] = argument[__i + 3]; __scriptdelay.arg_count = argument_count - 3; return __scriptdelay; }
(function()
2109
                        {
2110
                            if (i_ex(obj_herokris))
2111
                            {
2112
                                y = obj_herokris.y + 56;
2113
                                depth = obj_herokris.depth - 1;
2114
                            }
2115
                            else
2116
                            {
2117
                                instance_destroy();
2118
                            }
2119
                        }, -1, 1);
2120
                    }
2121
                }
2122
                with (obj_herosusie)
2123
                {
2124
                    with (instance_create_depth(x + 60, y + 62, depth - 0.1, obj_marker))
2125
                    {
2126
                        sprite_index = spr_trial_podium;
2127
                        image_speed = 0;
2128
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2129
                        
scr_script_repeat
scr_script_repeat

function
scr_script_repeat()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = -2; __scriptdelay.max_time = argument[1]; __scriptdelay.rate = argument[2]; __scriptdelay.constant = 1; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 3); __i++) __scriptdelay.script_arg[__i] = argument[__i + 3]; __scriptdelay.arg_count = argument_count - 3; return __scriptdelay; }
(function()
2130
                        {
2131
                            if (i_ex(obj_herosusie))
2132
                            {
2133
                                y = obj_herosusie.y + 62;
2134
                                depth = obj_herosusie.depth - 1;
2135
                            }
2136
                            else
2137
                            {
2138
                                instance_destroy();
2139
                            }
2140
                        }, -1, 1);
2141
                    }
2142
                }
2143
                with (obj_heroralsei)
2144
                {
2145
                    with (instance_create_depth(x + 60, y + 72, depth - 0.1, obj_marker))
2146
                    {
2147
                        sprite_index = spr_trial_podium;
2148
                        image_index = 1;
2149
                        image_speed = 0;
2150
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2151
                        
scr_script_repeat
scr_script_repeat

function
scr_script_repeat()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = -2; __scriptdelay.max_time = argument[1]; __scriptdelay.rate = argument[2]; __scriptdelay.constant = 1; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 3); __i++) __scriptdelay.script_arg[__i] = argument[__i + 3]; __scriptdelay.arg_count = argument_count - 3; return __scriptdelay; }
(function()
2152
                        {
2153
                            if (i_ex(obj_heroralsei))
2154
                            {
2155
                                y = obj_heroralsei.y + 72;
2156
                                depth = obj_heroralsei.depth - 1;
2157
                            }
2158
                            else
2159
                            {
2160
                                instance_destroy();
2161
                            }
2162
                        }, -1, 1);
2163
                    }
2164
                }
2165
                global.faceaction[0] = 6;
2166
                global.faceaction[1] = 6;
2167
                global.faceaction[2] = 6;
2168
                global.charaction[0] = 6;
2169
                global.charaction[1] = 6;
2170
                global.charaction[2] = 6;
2171
            }
2172
        }
2173
        if (acting == 2 && actcon == 0.1)
2174
        {
2175
            if (!i_ex(obj_writer))
2176
            {
2177
                actcon = 0.2;
2178
                with (blue_marker)
2179
                {
2180
                    sprite_index = spr_blue_poses_unhappy;
2181
                    image_index = 2;
2182
                    image_speed = 0;
2183
                }
2184
                with (yellow_marker)
2185
                    sprite_index = spr_yellow_shock_left;
2186
                with (instance_create(0, 0, obj_yellow_trial_manager))
2187
                {
2188
                    trial_id = 99;
2189
                    ds_list_add(evidence_list, [stringsetloc(
Metal Cuff
"Metal Cuff", "obj_flowery_enemy_slash_Step_0_gml_1583_0"
), stringsetloc(
Hangs from the wall.
"Hangs from the wall.", "obj_flowery_enemy_slash_Step_0_gml_1584_0"
), 9, 10]);
2190
                    ds_list_add(evidence_list, [stringsetloc(
Moss
"Moss", "obj_flowery_enemy_slash_Step_0_gml_1585_0"
), stringsetloc(
Has a bite taken#out of it.
"Has a bite taken#out of it.", "obj_flowery_enemy_slash_Step_0_gml_1586_0"
), 10, 11]);
2191
                    ds_list_add(evidence_list, [stringsetloc(
Prisoncloth
"Prisoncloth", "obj_flowery_enemy_slash_Step_0_gml_1587_0"
), stringsetloc(
A prisoner wears it.
"A prisoner wears it.", "obj_flowery_enemy_slash_Step_0_gml_1588_0"
), 11, 12]);
2192
                    can_control = true;
2193
                    evidence_mode = true;
2194
                    evidence_choice = true;
2195
                    can_cancel = false;
2196
                }
2197
                with (obj_yellow_trial_manager)
2198
                {
2199
                    flowery_mode = true;
2200
                    begin_trial();
2201
                    evidence_mode = false;
2202
                    can_control = false;
2203
                    with (obj_trial_perp)
2204
                        y = testimony_y;
2205
                }
2206
                with (obj_trial_perp)
2207
                    depth = -501;
2208
                scr_var_delayed("actcon", 0.11, 25);
2209
            }
2210
        }
2211
        if (acting == 2 && actcon == 0.11)
2212
        {
2213
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
2214
            
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "i");
2215
            msgsetloc(0, 
Face i* Susie and Kris...Delay 11 were jailed illegally!Wait for inputClose Message
"\\Ei* Susie and Kris..^1. were jailed illegally!/%", "obj_flowery_enemy_slash_Step_0_gml_1618_0"
);
2216
            
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2217
            actcon = 0.111;
2218
        }
2219
        if (acting == 2 && actcon == 0.111)
2220
        {
2221
            if (!i_ex(obj_writer))
2222
            {
2223
                with (obj_yellow_trial_manager)
2224
                {
2225
                    snd_play(snd_boost);
2226
                    evidence_mode = true;
2227
                    can_control = true;
2228
                    flowery_mode = false;
2229
                    spotlight_offset = -90;
2230
                }
2231
                with (obj_trial_perp)
2232
                {
2233
                    y -= 90;
2234
                    testimony_y -= 90;
2235
                }
2236
                actcon = 0.2;
2237
            }
2238
        }
2239
        if (acting == 2 && actcon == 0.2 && talked != -1)
2240
            flowery_balloon_control();
2241
    }
2242
    if (phase == 6)
2243
    {
2244
        if (acting == 2 && actcon == 0)
2245
        {
2246
            with (obj_flowery_lyrics)
2247
                target_alpha = 0;
2248
            acttimer = 0;
2249
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
2250
            msgsetloc(0, 
* (You listened to Susie's Idea!)Wait for input
"* (You listened to Susie's Idea!)/", "obj_flowery_enemy_slash_Step_0_gml_1660_0"
);
2251
            if (global.flag[1874] == 0)
2252
            {
2253
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "A");
2254
                msgnextloc(
Face 0* (Kris...Delay 11 I just noticed from what Flowery said,Delay 11 but...)Wait for input
"\\E0* (Kris..^1. I just noticed from what Flowery said^1, but...)/", "obj_flowery_enemy_slash_Step_0_gml_1663_0"
);
2255
                msgnextloc(
Face 4* (The flowers we're on stopped going up a while ago!)Wait for input
"\\E4* (The flowers we're on stopped going up a while ago!)/", "obj_flowery_enemy_slash_Step_0_gml_1664_0"
);
2256
                msgnextloc(
Face D* (If you want to get to the Dark Fountain...)Wait for input
"\\ED* (If you want to get to the Dark Fountain...)/", "obj_flowery_enemy_slash_Step_0_gml_1665_0"
);
2257
                msgnextloc(
Face 2* (We gotta find another way...Delay 11 got it!?)Wait for inputClose Message
"\\E2* (We gotta find another way..^1. got it!?)/%", "obj_flowery_enemy_slash_Step_0_gml_1666_0"
);
2258
                acting = 2.11;
2259
                global.tempflag[73] = 1;
2260
            }
2261
            else
2262
            {
2263
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "D");
2264
                msgnextloc(
Face D* (Kris...Delay 11 took a while,Delay 11 but...)Wait for input
"\\ED* (Kris..^1. took a while^1, but...)/", "obj_flowery_enemy_slash_Step_0_gml_1675_0"
);
2265
                msgnextloc(
Face A* (We're finally up high enough for another shot!)Wait for input
"\\EA* (We're finally up high enough for another shot!)/", "obj_flowery_enemy_slash_Step_0_gml_1676_0"
);
2266
                msgnextloc(
Face 2* (You got it this time,Delay 11 Kris?)Wait for input
"\\E2* (You got it this time^1, Kris?)/", "obj_flowery_enemy_slash_Step_0_gml_1689_0"
);
2267
                msgnextloc(
Face l* Kris,Delay 11 this is it!!Delay 11 Go!!!Wait for inputClose Message
"\\El* Kris^1, this is it!^1! Go!!!/%", "obj_flowery_enemy_slash_Step_0_gml_1723_0"
);
2268
                acting = 2.91;
2269
            }
2270
            
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2271
        }
2272
        if (acting == 2.11 && actcon == 0)
2273
        {
2274
            acttimer++;
2275
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2276
            {
2277
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_point_right_normal, 9, true);
2278
                with (obj_writer)
2279
                    instance_destroy();
2280
                
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
2281
                msgsetloc(0, 
Face H* Hey,Delay 11 Flowery! Asgore's falling over there!!Wait for inputClose Message
"\\EH* Hey^1, Flowery! Asgore's falling over there!!/%", "obj_flowery_enemy_slash_Step_0_gml_1714_0"
);
2282
                
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2283
                acting = 2.12;
2284
            }
2285
        }
2286
        if (acting == 2.12 && actcon == 0)
2287
        {
2288
            acttimer++;
2289
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2290
            {
2291
                idlesprite = spr_flowery_turn_shocked_more;
2292
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2293
                with (obj_writer)
2294
                    instance_destroy();
2295
                
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("flowery");
2296
                msgsetloc(0, 
Face 9* O-Oldbuddy!?Wait for inputClose Message
"\\E9* O-Oldbuddy!?/%", "obj_flowery_enemy_slash_Step_0_gml_1705_0"
);
2297
                
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2298
                acting = 2.13;
2299
            }
2300
        }
2301
        if (acting == 2.13 && actcon == 0)
2302
        {
2303
            acttimer++;
2304
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2305
            {
2306
                with (obj_writer)
2307
                    instance_destroy();
2308
                acting = 2.14;
2309
            }
2310
        }
2311
        if (acting == 2.14 && actcon == 0 && !i_ex(obj_writer))
2312
        {
2313
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
2314
            msgsetloc(0, 
Face l* Kris,Delay 11 this is it!!Delay 11 Go!!!Wait for inputClose Message
"\\El* Kris^1, this is it!^1! Go!!!/%", "obj_flowery_enemy_slash_Step_0_gml_1723_0"
);
2315
            
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = camerax(); yy = cameray(); 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; }
();
2316
            acting = 2.91;
2317
        }
2318
        if (acting == 2.91 && actcon == 0)
2319
        {
2320
            acttimer++;
2321
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2322
            {
2323
                snd_play(snd_grab);
2324
                with (obj_writer)
2325
                    instance_destroy();
2326
                var last_cam_x = camerax();
2327
                var last_cam_y = cameray();
2328
                with (obj_herokris)
2329
                    visible = 0;
2330
                with (obj_herosusie)
2331
                    visible = 0;
2332
                with (obj_marker)
2333
                {
2334
                    persistent = true;
2335
                    scr_delay_var("persistent", false, 5);
2336
                }
2337
                with (obj_flowery_hero_flower)
2338
                {
2339
                    persistent = true;
2340
                    scr_delay_var("persistent", false, 5);
2341
                }
2342
                with (obj_flowery_marker)
2343
                {
2344
                    persistent = true;
2345
                    scr_delay_var("persistent", false, 5);
2346
                }
2347
                with (obj_heroparent)
2348
                {
2349
                    persistent = true;
2350
                    scr_delay_var("persistent", false, 5);
2351
                }
2352
                with (obj_battlecontroller)
2353
                {
2354
                    persistent = true;
2355
                    scr_delay_var("persistent", false, 5);
2356
                }
2357
                with (obj_tensionbar)
2358
                {
2359
                    persistent = true;
2360
                    scr_delay_var("persistent", false, 5);
2361
                }
2362
                with (obj_flowery_throwkris)
2363
                {
2364
                    persistent = true;
2365
                    scr_delay_var("persistent", false, 5);
2366
                }
2367
                with (obj_flowery_enemy)
2368
                {
2369
                    persistent = true;
2370
                    scr_delay_var("persistent", false, 5);
2371
                }
2372
                with (obj_flowery_towery)
2373
                {
2374
                    persistent = true;
2375
                    scr_delay_var("persistent", false, 5);
2376
                }
2377
                with (obj_flowery_tower_decoration)
2378
                {
2379
                    persistent = true;
2380
                    scr_delay_var("persistent", false, 5);
2381
                }
2382
                with (obj_script_delayed)
2383
                    persistent = true;
2384
                room_goto(room_dw_fcastle_flowerclimb);
2385
                var camshiftx = -last_cam_x;
2386
                var camshifty = 11640 - last_cam_y;
2387
                with (obj_marker)
2388
                {
2389
                    x += camshiftx;
2390
                    xstart = x;
2391
                    y += camshifty;
2392
                    ystart = y;
2393
                }
2394
                with (obj_flowery_hero_flower)
2395
                {
2396
                    x += camshiftx;
2397
                    xstart = x;
2398
                    y += camshifty;
2399
                    ystart = y;
2400
                }
2401
                with (obj_flowery_marker)
2402
                {
2403
                    x += camshiftx;
2404
                    xstart = x;
2405
                    y += camshifty;
2406
                    ystart = y;
2407
                }
2408
                with (obj_heroparent)
2409
                {
2410
                    x += camshiftx;
2411
                    xstart = x;
2412
                    y += camshifty;
2413
                    ystart = y;
2414
                }
2415
                with (obj_battlecontroller)
2416
                {
2417
                    x += camshiftx;
2418
                    xstart = x;
2419
                    y += camshifty;
2420
                    ystart = y;
2421
                }
2422
                with (obj_tensionbar)
2423
                {
2424
                    x += camshiftx;
2425
                    xstart = x;
2426
                    y += camshifty;
2427
                    ystart = y;
2428
                }
2429
                with (obj_flowery_throwkris)
2430
                {
2431
                    x += camshiftx;
2432
                    xstart = x;
2433
                    y += camshifty;
2434
                    ystart = y;
2435
                }
2436
                with (obj_script_delayed)
2437
                {
2438
                    x += camshiftx;
2439
                    xstart = x;
2440
                    y += camshifty;
2441
                    ystart = y;
2442
                }
2443
                with (obj_flowery_enemy)
2444
                {
2445
                    x += camshiftx;
2446
                    xstart = x;
2447
                    y += camshifty;
2448
                    ystart = y;
2449
                }
2450
                acting = 2.92;
2451
                acttimer = 0;
2452
            }
2453
        }
2454
        if (acting == 2.92 && actcon == 0)
2455
        {
2456
            with (obj_mainchara)
2457
                x = -1000;
2458
            with (obj_caterpillarchara)
2459
                x = -1000;
2460
            acttimer++;
2461
            if (acttimer == 2)
2462
                throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_flowery_throwkris);
2463
            if (acttimer == 32)
2464
            {
2465
                with (obj_flowery_throwkris)
2466
                {
2467
                    image_index = 0;
2468
                    image_speed = 0.5;
2469
                    sprite_index = spr_susieb_attack_unarmed;
2470
                    throwcon = 2;
2471
                    snd_play(snd_ultraswing);
2472
                    snd_play(snd_jump);
2473
                    marker = instance_create(x, y, obj_marker);
2474
                    marker.sprite_index = spr_kris_jump_ball;
2475
                    marker.image_speed = 1/3;
2476
                    marker.image_xscale = 2;
2477
                    marker.image_yscale = 2;
2478
                    
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0] = arg1; target = arg0; } return _doom; }
(marker, 20);
2479
                    with (marker)
2480
                        
scr_jump_to_point
scr_jump_to_point

function
scr_jump_to_point(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; trackangle = arg4; } return ___jump; }
(camerax() + 320, cameray() - 200, 12, 20);
2481
                    with (obj_dw_fcastle_flowerclimb)
2482
                        start_pan();
2483
                    with (obj_battlecontroller)
2484
                        hidebattleui = 1;
2485
                    with (obj_tensionbar)
2486
                    {
2487
                        alarm[5] = 15;
2488
                        hspeed = -10;
2489
                        friction = -0.4;
2490
                    }
2491
                }
2492
            }
2493
            if (acttimer == 100)
2494
            {
2495
                with (obj_battlecontroller)
2496
                {
2497
                    with (obj_monsterparent)
2498
                        instance_destroy();
2499
                    with (obj_bulletparent)
2500
                        instance_destroy();
2501
                    with (obj_tensionbar)
2502
                        instance_destroy();
2503
                    global.fighting = 0;
2504
                    instance_destroy();
2505
                    exit;
2506
                }
2507
            }
2508
        }
2509
    }
2510
    if (actingsus == 1 && actconsus == 1)
2511
    {
2512
        var rand = choose(0, 1, 2, 3);
2513
        var afterimagescale = 2;
2514
        if (rand == 0)
2515
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_lawyer, 0, true);
2516
        if (rand == 1)
2517
        {
2518
            sprite_set_offset(spr_susie_cook_ja, 16, 5);
2519
            sprite_set_offset(spr_susie_cook, 16, 5);
2520
            if (global.lang == "ja")
2521
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_cook_ja, 1, 1);
2522
            else
2523
                
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_cook, 1, 1);
2524
            afterimagescale = 1;
2525
        }
2526
        if (rand == 2)
2527
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susieb_virokun, 0, true);
2528
        if (rand == 3)
2529
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_cowboy, 0, true);
2530
        with (obj_herosusie)
2531
        {
2532
            _oflash = 
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2533
            _oflash.image_xscale = afterimagescale;
2534
            _oflash.image_yscale = afterimagescale;
2535
            a = 
scr_afterimage
scr_afterimage

function
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; }
();
2536
            a.hspeed = 2.5;
2537
            a.depth = depth + 1;
2538
            a.image_xscale = afterimagescale;
2539
            a.image_yscale = afterimagescale;
2540
            b = 
scr_afterimage
scr_afterimage

function
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; }
();
2541
            b.image_alpha = 0.6;
2542
            b.hspeed = 5;
2543
            b.depth = depth + 2;
2544
            b.image_xscale = afterimagescale;
2545
            b.image_yscale = afterimagescale;
2546
        }
2547
        if (global.actsimulsus[myself][0] == 0)
2548
        {
2549
            msgsetloc(0, 
* Susie gives her all!Delay 11 TP and Mercy increased!Wait for inputClose Message
"* Susie gives her all^1! TP and Mercy increased!/%", "obj_flowery_enemy_slash_Step_0_gml_1855_0"
);
2550
            actcon = 1;
2551
            actconsus = 0;
2552
            actingsus = 1.1;
2553
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2554
            if (global.hp[1] < 1 && global.hp[3] < 1)
2555
            {
2556
                if (NOOO_MERCY == false)
2557
                {
2558
                    if (phase == 3)
2559
                    {
2560
                        aqua_mercy += 50;
2561
                        with (aqua_marker)
2562
                        {
2563
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2564
                            __mercydmgwriter.damage = 50;
2565
                            __mercydmgwriter.type = 5;
2566
                        }
2567
                        purple_mercy += 50;
2568
                        with (purple_marker)
2569
                        {
2570
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2571
                            __mercydmgwriter.damage = 50;
2572
                            __mercydmgwriter.type = 5;
2573
                        }
2574
                    }
2575
                    if (phase == 4)
2576
                    {
2577
                        orange_mercy += 50;
2578
                        with (orange_marker)
2579
                        {
2580
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2581
                            __mercydmgwriter.damage = 50;
2582
                            __mercydmgwriter.type = 5;
2583
                        }
2584
                        green_mercy += 50;
2585
                        with (green_marker)
2586
                        {
2587
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2588
                            __mercydmgwriter.damage = 50;
2589
                            __mercydmgwriter.type = 5;
2590
                        }
2591
                    }
2592
                }
2593
                
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 5);
2594
            }
2595
            else if (global.hp[1] < 1 || global.hp[3] < 1)
2596
            {
2597
                if (NOOO_MERCY == false)
2598
                {
2599
                    if (phase == 3)
2600
                    {
2601
                        aqua_mercy += 30;
2602
                        with (aqua_marker)
2603
                        {
2604
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2605
                            __mercydmgwriter.damage = 30;
2606
                            __mercydmgwriter.type = 5;
2607
                        }
2608
                        purple_mercy += 30;
2609
                        with (purple_marker)
2610
                        {
2611
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2612
                            __mercydmgwriter.damage = 30;
2613
                            __mercydmgwriter.type = 5;
2614
                        }
2615
                    }
2616
                    if (phase == 4)
2617
                    {
2618
                        orange_mercy += 30;
2619
                        with (orange_marker)
2620
                        {
2621
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2622
                            __mercydmgwriter.damage = 30;
2623
                            __mercydmgwriter.type = 5;
2624
                        }
2625
                        green_mercy += 30;
2626
                        with (green_marker)
2627
                        {
2628
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2629
                            __mercydmgwriter.damage = 30;
2630
                            __mercydmgwriter.type = 5;
2631
                        }
2632
                    }
2633
                }
2634
                
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 3);
2635
            }
2636
            mercyaddcon = 1;
2637
        }
2638
        else
2639
        {
2640
            msgsetloc(0, 
* Susie gives her all!Delay 11 TP increased!
"* Susie gives her all^1! TP increased!", "obj_flowery_enemy_slash_Step_0_gml_1854_0"
);
2641
            
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("susie");
2642
            if (simulordersus == 0)
2643
                actconsus = 20;
2644
            else
2645
                actconsus = 0;
2646
        }
2647
        
scr_tensionheal
scr_tensionheal

function
scr_tensionheal(arg0)
{ global.tension += arg0; if (global.tension > global.maxtension) global.tension = global.maxtension; if (global.chapter == 5 && i_ex(obj_tensionbar) && global.tension > obj_tensionbar.maxtensionlimit) global.tension = obj_tensionbar.maxtensionlimit; }
(30);
2648
        mercyaddcon = 1;
2649
    }
2650
    if (actingral == 1 && actconral == 1)
2651
    {
2652
        var rand = choose(0, 1, 2, 3);
2653
        if (rand == 0)
2654
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_lawyer, 0, true);
2655
        if (rand == 1)
2656
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_cook, 0, true);
2657
        if (rand == 2)
2658
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralseib_virokun, 0, true);
2659
        if (rand == 3)
2660
            
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_cowboy, 0, true);
2661
        with (obj_heroralsei)
2662
        {
2663
            
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
2664
            a = 
scr_afterimage
scr_afterimage

function
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; }
();
2665
            a.hspeed = 2.5;
2666
            a.depth = depth + 1;
2667
            b = 
scr_afterimage
scr_afterimage

function
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; }
();
2668
            b.image_alpha = 0.6;
2669
            b.hspeed = 5;
2670
            b.depth = depth + 2;
2671
        }
2672
        if (global.actsimulral[myself][0] == 0)
2673
        {
2674
            msgsetloc(0, 
* Ralsei gives his all!Delay 11 TP and Mercy increased!Wait for inputClose Message
"* Ralsei gives his all^1! TP and Mercy increased!/%", "obj_flowery_enemy_slash_Step_0_gml_1886_0"
);
2675
            actcon = 1;
2676
            actconral = 0;
2677
            actingral = 1.1;
2678
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2679
            if (global.hp[1] < 1 && global.hp[2] < 1)
2680
            {
2681
                if (NOOO_MERCY == false)
2682
                {
2683
                    if (phase == 3)
2684
                    {
2685
                        aqua_mercy += 50;
2686
                        with (aqua_marker)
2687
                        {
2688
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2689
                            __mercydmgwriter.damage = 50;
2690
                            __mercydmgwriter.type = 5;
2691
                        }
2692
                        purple_mercy += 50;
2693
                        with (purple_marker)
2694
                        {
2695
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2696
                            __mercydmgwriter.damage = 50;
2697
                            __mercydmgwriter.type = 5;
2698
                        }
2699
                    }
2700
                    if (phase == 4)
2701
                    {
2702
                        orange_mercy += 50;
2703
                        with (orange_marker)
2704
                        {
2705
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2706
                            __mercydmgwriter.damage = 50;
2707
                            __mercydmgwriter.type = 5;
2708
                        }
2709
                        green_mercy += 50;
2710
                        with (green_marker)
2711
                        {
2712
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2713
                            __mercydmgwriter.damage = 50;
2714
                            __mercydmgwriter.type = 5;
2715
                        }
2716
                    }
2717
                }
2718
                if (NOOO_MERCY == false)
2719
                    
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 5);
2720
            }
2721
            else if (global.hp[1] < 1 || global.hp[2] < 1)
2722
            {
2723
                if (NOOO_MERCY == false)
2724
                {
2725
                    if (phase == 3)
2726
                    {
2727
                        aqua_mercy += 30;
2728
                        with (aqua_marker)
2729
                        {
2730
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2731
                            __mercydmgwriter.damage = 30;
2732
                            __mercydmgwriter.type = 5;
2733
                        }
2734
                        purple_mercy += 30;
2735
                        with (purple_marker)
2736
                        {
2737
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2738
                            __mercydmgwriter.damage = 30;
2739
                            __mercydmgwriter.type = 5;
2740
                        }
2741
                    }
2742
                    if (phase == 4)
2743
                    {
2744
                        orange_mercy += 30;
2745
                        with (orange_marker)
2746
                        {
2747
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2748
                            __mercydmgwriter.damage = 30;
2749
                            __mercydmgwriter.type = 5;
2750
                        }
2751
                        green_mercy += 30;
2752
                        with (green_marker)
2753
                        {
2754
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2755
                            __mercydmgwriter.damage = 30;
2756
                            __mercydmgwriter.type = 5;
2757
                        }
2758
                    }
2759
                }
2760
                if (NOOO_MERCY == false)
2761
                    
scr_mercyadd
scr_mercyadd

function
scr_mercyadd(arg0, arg1)
{ global.mercymod[arg0] += arg1; if (global.mercymod[arg0] < 0) global.mercymod[arg0] = 0; if (global.mercymod[arg0] >= 100) global.mercymod[arg0] = 100; var _playsound = 1; if (arg1 <= 0) _playsound = 0; with (obj_dmgwriter) { if (type == 5 && mercytimer < 8) _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]++; return __mercydmgwriter; }
(myself, 3);
2762
            }
2763
            mercyaddcon = 1;
2764
        }
2765
        else
2766
        {
2767
            msgsetloc(0, 
* Ralsei gives his all!Delay 11 TP increased!
"* Ralsei gives his all^1! TP increased!", "obj_flowery_enemy_slash_Step_0_gml_1885_0"
);
2768
            
scr_simultext
scr_simultext

function
scr_simultext(arg0)
{ __simulorder = 0; if (arg0 == "kris") __simulorder = simulorderkri; if (arg0 == "susie") __simulorder = simulordersus; if (arg0 == "ralsei") __simulorder = simulorderral; if (arg0 == "noelle") __simulorder = simulordernoe; __yoffset = __simulorder * 30; global.typer = 4; battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer); }
("ralsei");
2769
            if (simulorderral == 0)
2770
                actconral = 20;
2771
            else
2772
                actconral = 0;
2773
        }
2774
        
scr_tensionheal
scr_tensionheal

function
scr_tensionheal(arg0)
{ global.tension += arg0; if (global.tension > global.maxtension) global.tension = global.maxtension; if (global.chapter == 5 && i_ex(obj_tensionbar) && global.tension > obj_tensionbar.maxtensionlimit) global.tension = obj_tensionbar.maxtensionlimit; }
(30);
2775
        mercyaddcon = 1;
2776
    }
2777
    if (actcon == 20 || actconsus == 20 || actconral == 20)
2778
    {
2779
        if (
scr_terminate_writer
scr_terminate_writer

function
scr_terminate_writer()
{ __writerkilled = 0; __writerkillable = 0; __writerended = 0; if (instance_exists(obj_writer)) { obj_writer.__endcheckid = id; with (obj_writer) { if (reachedend == 1) { with (__endcheckid) __writerended++; } } if (__writerended == instance_number(obj_writer)) __writerkillable = 1; } else { __writerkilled = 1; } if (button1_p() && __writerkillable == 1) { with (obj_writer) instance_destroy(); __writerkilled = 1; } return __writerkilled; }
())
2780
        {
2781
            actconsus = -1;
2782
            actconral = -1;
2783
            actcon = 1;
2784
        }
2785
    }
2786
    if (actcon == 1 && !instance_exists(obj_writer))
2787
    {
2788
        if (state == 10 && (sprite_index == spr_flowery_blown || sprite_index == spr_flowery_blown2))
2789
            sprite_index = spr_flowery_idle3;
2790
        if (actingsus == 1)
2791
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2792
        if (actingral == 1)
2793
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
2794
        if (actingsus == 1.1)
2795
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2796
        if (actingral == 1.1)
2797
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
2798
        if (phase == 1 || phase == 3 || phase == 4 || phase == 5)
2799
        {
2800
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("kris");
2801
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2802
            
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
2803
            
scr_act_charsprite_end
scr_act_charsprite_end

function
scr_act_charsprite_end()
{ for (i = 0; i < 10; i++) { with (_charactsprite[i]) instance_destroy(); } with (obj_heroparent) { if (image_alpha == 0) { image_alpha = 1; acttimer = 0; state = 0; global.faceaction[myself] = 0; } } }
();
2804
            sprite_index = spr_flowery_idle3;
2805
            image_speed = 0.16666666666666666;
2806
            with (orange_marker)
2807
                sprite_index = spr_enemy_orange_flowery_angry;
2808
        }
2809
        if (flowery_blowkiss_scene_con == 1)
2810
        {
2811
        }
2812
        else
2813
        {
2814
            with (floradin_marker)
2815
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart, ystart, 8);
2816
            with (leafling_marker)
2817
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart, ystart, 8);
2818
            with (kawkaw_marker)
2819
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart, ystart, 8);
2820
            with (shi_marker)
2821
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart, ystart, 8);
2822
            with (shinobeetle_marker)
2823
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart, ystart, 8);
2824
        }
2825
        state = 0;
2826
        
scr_nextact
scr_nextact

function
scr_nextact()
{ global.acting[0] = 0; global.acting[1] = 0; global.acting[2] = 0; global.actingsingle[global.currentactingchar] = 0; __minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]]; with (__minstance) { acting = 0; actcon = 0; actconsus = 0; actconral = 0; actconnoe = 0; } var singleactcomplete = 0; while (global.currentactingchar < 3) { global.currentactingchar++; if (global.currentactingchar < 3) { if (global.actingsingle[global.currentactingchar] == 1) { __minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]]; if (global.char[global.currentactingchar] == 2) { with (__minstance) actconsus = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } if (global.char[global.currentactingchar] == 3) { with (__minstance) actconral = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } if (global.char[global.currentactingchar] == 4) { with (__minstance) actconnoe = 1; if (global.actingsimul[global.currentactingchar] == 0) singleactcomplete = 1; break; } } } } if (global.currentactingchar >= 3) { with (obj_monsterparent) { acting = 0; actingsus = 0; actingral = 0; actingnoe = 0; } global.currentactingchar = 0;
scr_attackphase();
} else if (!singleactcomplete) {
scr_act_simul();
} }
();
2827
    }
2828
}
2829
if (state == 3)
2830
    
scr_enemy_hurt
scr_enemy_hurt

function
scr_enemy_hurt()
{ hurttimer -= 1; if (hurttimer < 0) { state = 0; } else { if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1; if (hurtshake > 1) { if (shakex > 0) shakex -= 1; if (shakex < 0) shakex += 1; shakex = -shakex; hurtshake = 0; } } }
();
2831
if (healingscenecon == 1)
2832
{
2833
    healingscenetimer++;
2834
    if (healingscenetimer == 1)
2835
    {
2836
        msgsetloc(0, 
Heh...Delay 11 so that's
it?Delay 11 You're just
gonna cut me down...?Wait for inputClose Message
"Heh..^1. so that's&it^1? You're just&gonna cut me down...?/%", "obj_flowery_enemy_slash_Step_0_gml_1956_0"
);
2837
        global.typer = 50;
2838
        
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
2839
    }
2840
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
2841
    {
2842
        healingscenetimer = 0;
2843
        healingscenecon = 2;
2844
        with (obj_writer)
2845
            instance_destroy();
2846
        snd_play(snd_bump);
2847
        with (obj_herosusie)
2848
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2849
        with (obj_heroralsei)
2850
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
2851
        snd_play(snd_sussurprise);
2852
        sprite_set_offset(spr_susie_look_down, -5, -1);
2853
        sprite_set_offset(spr_ralsei_susie_lift_head_r, -6, -5);
2854
        
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_look_down, 0, true);
2855
        
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_susie_lift_head_r, 0, true);
2856
        msgsetloc(0, 
...Wait for inputClose Message
".../%", "obj_flowery_enemy_slash_Step_0_gml_1982_0"
);
2857
        global.typer = 75;
2858
        
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_herosusie.x + 95, obj_herosusie.y + 40, 14);
2859
        
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
2860
    }
2861
}
2862
if (healingscenecon == 2)
2863
{
2864
    healingscenetimer++;
2865
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
2866
    {
2867
        healingscenetimer = 0;
2868
        healingscenecon = 3;
2869
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2870
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("ralsei");
2871
    }
2872
}
2873
if (healingscenecon == 3)
2874
{
2875
    healingscenetimer++;
2876
    if (healingscenetimer == 1)
2877
    {
2878
        
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("susie", spr_susie_heal_full, 0.5, false);
2879
        with (obj_herosusie)
2880
            image_index = 5;
2881
        if (global.flag[1873] >= 2)
2882
        {
2883
            var _cost = 0;
2884
            if (global.flag[1045 susie_heal_practice] == 0)
2885
                _cost = 200;
2886
            if (global.flag[1045 susie_heal_practice] == 1)
2887
                _cost = 197.5;
2888
            if (global.flag[1045 susie_heal_practice] == 2)
2889
                _cost = 197.5;
2890
            if (global.flag[1045 susie_heal_practice] == 3)
2891
                _cost = 197.5;
2892
            if (global.flag[1045 susie_heal_practice] == 4)
2893
                _cost = 195;
2894
            if (global.flag[1045 susie_heal_practice] == 5)
2895
                _cost = 195;
2896
            if (global.flag[1045 susie_heal_practice] == 6)
2897
                _cost = 195;
2898
            if (global.flag[1045 susie_heal_practice] == 7)
2899
                _cost = 192.5;
2900
            if (global.flag[1045 susie_heal_practice] == 8)
2901
                _cost = 192.5;
2902
            if (global.flag[1045 susie_heal_practice] == 9)
2903
                _cost = 192.5;
2904
            if (global.flag[1045 susie_heal_practice] == 10)
2905
                _cost = 190;
2906
            if (global.flag[1045 susie_heal_practice] == 11)
2907
                _cost = 190;
2908
            if (global.flag[1045 susie_heal_practice] == 12)
2909
                _cost = 190;
2910
            if (global.flag[1045 susie_heal_practice] == 13)
2911
                _cost = 187.5;
2912
            if (global.flag[1045 susie_heal_practice] == 14)
2913
                _cost = 187.5;
2914
            if (global.flag[1045 susie_heal_practice] >= 15)
2915
                _cost = 187.5;
2916
            global.tension -= _cost;
2917
            if (global.tension < 0)
2918
                global.tension = 0;
2919
        }
2920
    }
2921
    if (healingscenetimer == 11)
2922
    {
2923
        inst = instance_create(obj_herosusie.x + 52, obj_herosusie.y + 28, obj_susie_heal_projectile);
2924
        inst.gravity = 1;
2925
        inst.gravity_direction = 0;
2926
        inst.image_xscale = 3;
2927
        inst.image_yscale = 3;
2928
        inst.image_speed = 1;
2929
        snd_stop(snd_chargeshot_charge);
2930
        snd_play_x(snd_heartshot_dr_b, 1, 0.4);
2931
    }
2932
    if (healingscenetimer == 37)
2933
    {
2934
        with (obj_susie_heal_projectile)
2935
        {
2936
            anim = instance_create(x + 30 + 12, y + 9, obj_animation);
2937
            anim.sprite_index = spr_healing_sparkle;
2938
            anim.image_xscale = 2;
2939
            anim.image_yscale = 2;
2940
            instance_destroy();
2941
        }
2942
        with (obj_flowery_enemy)
2943
        {
2944
            ha = instance_create(x, y, obj_healanim);
2945
            ha.target = id;
2946
            caster = 1;
2947
            global.monsterhp[myself] = global.monstermaxhp[myself];
2948
            instance_create_depth(x, y + 50, depth - 10, obj_dmgwriter);
2949
            with (obj_dmgwriter)
2950
            {
2951
                delay = 4;
2952
                caster = 1;
2953
                damage = ceil(
scr_heal_amount_modify_by_equipment
scr_heal_amount_modify_by_equipment

function
scr_heal_amount_modify_by_equipment(arg0)
{ var ___healAmount = arg0; var ___healAdd = 0; if (global.chararmor1[global.char[caster]] == 26) ___healAdd += ceil(___healAmount / 8); if (global.chararmor2[global.char[caster]] == 26) ___healAdd += ceil(___healAmount / 8); if (global.chararmor1[global.char[caster]] == 30) ___healAdd += ceil(___healAmount / 8); if (global.chararmor2[global.char[caster]] == 30) ___healAdd += ceil(___healAmount / 8); return ___healAmount + ___healAdd; }
((global.battlemag[1] * 5) + 15 + (2 * global.flag[1045 susie_heal_practice])));
2954
                type = 3;
2955
                image_index = 2;
2956
                image_blend = c_lime;
2957
                image_speed = 0;
2958
            }
2959
            if (global.hp[3] < 1)
2960
            {
2961
                with (obj_dmgwriter)
2962
                    typeb = 3;
2963
            }
2964
            snd_stop(snd_power);
2965
            snd_play(snd_power);
2966
        }
2967
        with (obj_battlecontroller)
2968
            disablesusieralseiattack = true;
2969
        
scr_battle_sprite_reset
scr_battle_sprite_reset

function
scr_battle_sprite_reset(arg0)
{ _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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 0; hurt = 0; attacktimer = 0; attacked = 0; global.faceaction[myself] = 0; } } }
("susie");
2970
    }
2971
    if (healingscenetimer == 57)
2972
    {
2973
        if (global.flag[1873] < 3)
2974
        {
2975
            msgsetloc(0, 
No...Delay 11 that's not
the way we're
gonna beat you!Wait for inputClose Message
"No..^1. that's not&the way we're&gonna beat you!/%", "obj_flowery_enemy_slash_Step_0_gml_2085_0"
);
2976
            global.typer = 75;
2977
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_herosusie.x + 95, obj_herosusie.y + 40, 14);
2978
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_herosusie);
2979
            healingscenecon = 3.5;
2980
            healingscenetimer = 0;
2981
        }
2982
        else
2983
        {
2984
            healingscenecon = 4;
2985
            healingscenetimer = 0;
2986
        }
2987
        if (global.hp[3] < 1)
2988
            healingscenecon = 9;
2989
    }
2990
}
2991
if (healingscenecon == 3.5)
2992
{
2993
    healingscenetimer++;
2994
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
2995
    {
2996
        with (obj_writer)
2997
            instance_destroy();
2998
        healingscenecon = 4;
2999
        healingscenetimer = 0;
3000
    }
3001
}
3002
if (healingscenecon == 4)
3003
{
3004
    healingscenetimer++;
3005
    if (healingscenetimer == 1)
3006
    {
3007
        if (global.flag[1873] >= 2)
3008
        {
3009
            var _cost = 80;
3010
            global.tension -= _cost;
3011
            if (global.tension < 0)
3012
                global.tension = 0;
3013
        }
3014
        
scr_battle_sprite_set
scr_battle_sprite_set

function
scr_battle_sprite_set(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; } if (instance_exists(_charinstance)) { with (_charinstance) { state = 8; hurt = 0; attacktimer = 0; sprite_index = arg1; image_speed = arg2; image_index = 0; if (arg3 == 0) maxframes = image_number; if (arg3 == -1) maxframes = -1; global.faceaction[myself] = 0; } } }
("ralsei", spr_ralsei_spell, 0.5, false);
3015
    }
3016
    if (healingscenetimer == 6)
3017
    {
3018
        with (obj_flowery_enemy)
3019
        {
3020
            ha = instance_create(x, y, obj_healanim);
3021
            ha.target = id;
3022
            instance_create_depth(x, y + 30, depth - 10, obj_dmgwriter);
3023
            with (obj_dmgwriter)
3024
            {
3025
                delay = 4;
3026
                caster = 2;
3027
                damage = ceil(
scr_heal_amount_modify_by_equipment
scr_heal_amount_modify_by_equipment

function
scr_heal_amount_modify_by_equipment(arg0)
{ var ___healAmount = arg0; var ___healAdd = 0; if (global.chararmor1[global.char[caster]] == 26) ___healAdd += ceil(___healAmount / 8); if (global.chararmor2[global.char[caster]] == 26) ___healAdd += ceil(___healAmount / 8); if (global.chararmor1[global.char[caster]] == 30) ___healAdd += ceil(___healAmount / 8); if (global.chararmor2[global.char[caster]] == 30) ___healAdd += ceil(___healAmount / 8); return ___healAmount + ___healAdd; }
(global.battlemag[2] * 5));
3028
                type = 3;
3029
                image_index = 2;
3030
                image_blend = c_lime;
3031
                image_speed = 0;
3032
            }
3033
            with (obj_dmgwriter)
3034
                typeb = 3;
3035
            snd_stop(snd_power);
3036
            snd_play(snd_power);
3037
        }
3038
    }
3039
    if (healingscenetimer >= 20)
3040
    {
3041
        force_hurt_sprite = false;
3042
        healingscenetimer = 0;
3043
        healingscenecon = 0;
3044
        if (global.flag[1873] == 1)
3045
            healingscenecon = 5;
3046
    }
3047
}
3048
if (healingscenecon == 5)
3049
{
3050
    if (i_ex(obj_heroralsei))
3051
    {
3052
        global.typer = 50;
3053
        msgsetloc(0, 
Heh...Delay 11 aren't
you supposed to
listen to Kris,
Raly...?Wait for inputClose Message
"Heh..^1. aren't&you supposed to&listen to Kris,&Raly...?/%", "obj_flowery_enemy_slash_Step_0_gml_2155_0"
);
3054
        
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
3055
        with (obj_battleblcon)
3056
            flowery_float = true;
3057
    }
3058
    healingscenecon = 6;
3059
}
3060
if (healingscenecon == 6)
3061
{
3062
    healingscenetimer++;
3063
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3064
    {
3065
        with (obj_writer)
3066
            instance_destroy();
3067
        if (i_ex(obj_heroralsei))
3068
        {
3069
            msgsetloc(0, 
...Delay 11 you're already
going to lose.Delay 11 Let
me...Wait for inputClose Message
"..^1. you're already&going to lose^1. Let&me.../%", "obj_flowery_enemy_slash_Step_0_gml_2168_0"
);
3070
            global.typer = 74;
3071
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_heroralsei.x + 100, obj_heroralsei.y + 40, 14);
3072
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_heroralsei);
3073
        }
3074
        healingscenetimer = 0;
3075
        healingscenecon = 7;
3076
    }
3077
}
3078
if (healingscenecon == 7)
3079
{
3080
    healingscenetimer++;
3081
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3082
    {
3083
        with (obj_writer)
3084
            instance_destroy();
3085
        if (i_ex(obj_heroralsei))
3086
        {
3087
            msgsetloc(0, 
Beat you
my way!Wait for inputClose Message
"Beat you&my way!/%", "obj_flowery_enemy_slash_Step_0_gml_2185_0"
);
3088
            global.typer = 74;
3089
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(obj_heroralsei.x + 100, obj_heroralsei.y + 40, 14);
3090
            
scr_guardpeek
scr_guardpeek

function
scr_guardpeek(arg0)
{ if (global.faceaction[arg0.myself] == 4) { var _peeker = 0; if (arg0 == obj_heroralsei) { obj_heroralsei.image_alpha = 0; _peeker =
scr_battle_marker(obj_heroralsei.x, obj_heroralsei.y, spr_ralsei_defend_peek);
_peeker.depth = obj_heroralsei.depth; _peeker.sourceobject = obj_heroralsei; _peeker.endanimation = spr_ralsei_redefend; } else if (arg0 == obj_herosusie) { obj_herosusie.image_alpha = 0; _peeker =
scr_battle_marker(obj_herosusie.x, obj_herosusie.y, spr_susie_defend_peek);
_peeker.depth = obj_herosusie.depth; _peeker.sourceobject = obj_herosusie; } return _peeker; } }
(obj_heroralsei);
3091
        }
3092
        healingscenetimer = 0;
3093
        healingscenecon = 8;
3094
    }
3095
}
3096
if (healingscenecon == 8)
3097
{
3098
    healingscenetimer++;
3099
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3100
    {
3101
        with (obj_writer)
3102
            instance_destroy();
3103
        if (i_ex(obj_heroralsei))
3104
        {
3105
            idlesprite = spr_flowery_shake_head;
3106
            image_speed = 1/3;
3107
            global.typer = 50;
3108
            msgsetloc(0, 
Heh.Delay 11 ...
Whatever you say,
Raly.Wait for inputClose Message
"Heh^1. ...&Whatever you say,&Raly./%", "obj_flowery_enemy_slash_Step_0_gml_2206_0"
);
3109
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
3110
            with (obj_battleblcon)
3111
                flowery_float = true;
3112
        }
3113
        healingscenetimer = 0;
3114
        healingscenecon = 9;
3115
    }
3116
}
3117
if (healingscenecon == 9)
3118
{
3119
    healingscenetimer++;
3120
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3121
    {
3122
        with (obj_writer)
3123
            instance_destroy();
3124
        if (cannot_fight_text_used == false)
3125
        {
3126
            msgsetloc(0, 
* (Susie and Ralsei cannot FIGHT anymore.)Wait for inputClose Message
"* (Susie and Ralsei cannot FIGHT anymore.)/%", "obj_flowery_enemy_slash_Step_0_gml_2221_0"
);
3127
            if (phase == 6)
3128
                msgsetloc(0, 
* (Susie cannot FIGHT anymore.)Wait for inputClose Message
"* (Susie cannot FIGHT anymore.)/%", "obj_flowery_enemy_slash_Step_0_gml_2725_0"
);
3129
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
3130
        }
3131
        cannot_fight_text_used = true;
3132
        healingscenetimer = 0;
3133
        healingscenecon = 10;
3134
    }
3135
}
3136
if (healingscenecon == 10 && !i_ex(obj_writer))
3137
{
3138
    if (green_and_orange_enter == 2)
3139
        orange_marker.y -= 14;
3140
    idlesprite = spr_flowery_idle3;
3141
    image_speed = 0.16666666666666666;
3142
    healingscenetimer = 0;
3143
    healingscenecon = 0;
3144
    force_hurt_sprite = false;
3145
}
3146
if (flowery_blowkiss_scene_con == 1 && !i_ex(obj_writer) && global.myfight == -1 && healingscenecon == 0)
3147
{
3148
    state = 0;
3149
    global.typer = 50;
3150
    msgsetloc(0, 
Heh!Delay 11 You think that's
gonna stop me!?Wait for inputClose Message
"Heh^1! You think that's&gonna stop me!?/%", "obj_flowery_enemy_slash_Step_0_gml_2267_0"
);
3151
    
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
3152
    with (obj_battleblcon)
3153
        flowery_float = true;
3154
    flowery_blowkiss_scene_con = 2;
3155
}
3156
if (flowery_blowkiss_scene_con == 2)
3157
{
3158
    flowery_blowkiss_scene_timer++;
3159
    if ((button3_p() && flowery_blowkiss_scene_timer > 15) || !i_ex(obj_writer))
3160
    {
3161
        with (obj_writer)
3162
            instance_destroy();
3163
        global.typer = 50;
3164
        msgsetloc(0, 
You're not the
only one that
can ACT!Wait for inputClose Message
"You're not the&only one that&can ACT!/%", "obj_flowery_enemy_slash_Step_0_gml_2281_0"
);
3165
        
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; 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_long; 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; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_left; return myblcon; } if (arg2 == 12) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v2_right; return myblcon; } if (arg2 == 13) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = 2; return myblcon; } if (arg2 == 14) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; myblcon.side = -1; return myblcon; } if (arg2 == 15) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; ...
(x - 8, y + 40, 10);
3166
        with (obj_battleblcon)
3167
            flowery_float = true;
3168
        flowery_blowkiss_scene_timer = 0;
3169
        flowery_blowkiss_scene_con = 3;
3170
    }
3171
}
3172
if (flowery_blowkiss_scene_con == 3)
3173
{
3174
    flowery_blowkiss_scene_timer++;
3175
    if ((button3_p() && flowery_blowkiss_scene_timer > 15) || !i_ex(obj_writer))
3176
    {
3177
        with (obj_writer)
3178
            instance_destroy();
3179
        flowery_blowkiss_scene_timer = 0;
3180
        flowery_blowkiss_scene_con = 4;
3181
    }
3182
}
3183
if (flowery_blowkiss_scene_con == 4)
3184
{
3185
    flowery_blowkiss_scene_timer++;
3186
    if (flowery_blowkiss_scene_timer == 1)
3187
    {
3188
        state = 10;
3189
        sprite_index = spr_flowery_kiss;
3190
        image_speed = 0.16666666666666666;
3191
        image_index = 0;
3192
        snd_play_flowery(740);
3193
        speed = 4;
3194
        direction = 0;
3195
        friction = 0.5;
3196
        snd_play(snd_wing, 1, 0.8);
3197
    }
3198
    if (flowery_blowkiss_scene_timer == 9)
3199
    {
3200
        speed = 10;
3201
        direction = 180;
3202
        friction = 0.5;
3203
        snd_play(snd_wing, 1, 1.2);
3204
        snd_play(snd_strongwind_loop, 0.1, 1.2);
3205
        snd_volume(snd_strongwind_loop, 2, 5);
3206
    }
3207
    if (flowery_blowkiss_scene_timer == 12)
3208
    {
3209
        image_speed = 0;
3210
        image_index = 3;
3211
    }
3212
    if (flowery_blowkiss_scene_timer == 40)
3213
    {
3214
        image_speed = 0;
3215
        image_index = 3;
3216
        with (obj_herokris)
3217
        {
3218
            sprite_index = spr_krisb_hurt;
3219
            state = 8;
3220
        }
3221
        with (obj_herosusie)
3222
        {
3223
            sprite_index = spr_susieb_hurt;
3224
            state = 8;
3225
        }
3226
        with (obj_heroralsei)
3227
        {
3228
            sprite_index = spr_ralsei_hurt_fixed;
3229
            state = 8;
3230
        }
3231
        if (floradinn_recruited)
3232
        {
3233
            with (floradin_marker)
3234
            {
3235
                sprite_index = spr_floradin_hurt;
3236
                image_xscale *= -1;
3237
                x += 67;
3238
                xstart = x;
3239
                y -= 4;
3240
            }
3241
        }
3242
        if (leafling_recruited)
3243
        {
3244
            with (leafling_marker)
3245
            {
3246
                sprite_index = spr_leafling_hurt;
3247
                image_xscale *= -1;
3248
                x += 50;
3249
                xstart = x;
3250
            }
3251
        }
3252
        if (kawkaw_recruited)
3253
        {
3254
            with (kawkaw_marker)
3255
            {
3256
                sprite_index = spr_kawkaw_hurt;
3257
                image_xscale *= -1;
3258
                x += 80;
3259
                xstart = x;
3260
            }
3261
        }
3262
    }
3263
    if (flowery_blowkiss_scene_timer >= 40 && flowery_blowkiss_scene_timer < 100)
3264
    {
3265
        with (obj_heroparent)
3266
            x = (xstart - 2) + irandom(4);
3267
        if (floradinn_recruited)
3268
        {
3269
            with (floradin_marker)
3270
                x = (xstart - 2) + irandom(4);
3271
        }
3272
        if (leafling_recruited)
3273
        {
3274
            with (leafling_marker)
3275
                x = (xstart - 2) + irandom(4);
3276
        }
3277
        if (kawkaw_recruited)
3278
        {
3279
            with (kawkaw_marker)
3280
                x = (xstart - 2) + irandom(4);
3281
        }
3282
    }
3283
    if (flowery_blowkiss_scene_timer >= 20 && flowery_blowkiss_scene_timer < 90)
3284
    {
3285
        repeat (1)
3286
            drop_petal(x + 8, y + 44, true, 0, 1);
3287
    }
3288
    if (flowery_blowkiss_scene_timer == 60)
3289
    {
3290
        snd_volume(snd_strongwind_loop, 0, 30);
3291
        if (floradinn_recruited)
3292
        {
3293
            with (floradin_marker)
3294
            {
3295
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3296
                spareanim.sprite_index = sprite_index;
3297
                spareanim.sprite_index = spr_enemy_floradin_spared;
3298
                spareanim.image_xscale = image_xscale;
3299
                spareanim.image_index = 0;
3300
                spareanim.image_yscale = image_yscale;
3301
                instance_destroy();
3302
            }
3303
        }
3304
        if (leafling_recruited)
3305
        {
3306
            with (leafling_marker)
3307
            {
3308
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3309
                spareanim.sprite_index = sprite_index;
3310
                spareanim.sprite_index = spr_leafling_spare2;
3311
                spareanim.image_xscale = image_xscale;
3312
                spareanim.image_index = 0;
3313
                spareanim.image_yscale = image_yscale;
3314
                instance_destroy();
3315
            }
3316
        }
3317
        if (kawkaw_recruited)
3318
        {
3319
            with (kawkaw_marker)
3320
            {
3321
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3322
                spareanim.sprite_index = sprite_index;
3323
                spareanim.sprite_index = spr_kakaw_bobhead;
3324
                spareanim.image_xscale = image_xscale;
3325
                spareanim.image_index = 0;
3326
                spareanim.image_yscale = image_yscale;
3327
                instance_destroy();
3328
            }
3329
        }
3330
        snd_play_x(snd_mercyadd, 0.8, 1);
3331
        with (obj_heroparent)
3332
        {
3333
            if (object_index != obj_herokris)
3334
            {
3335
                __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
3336
                __mercydmgwriter.damage = 10;
3337
                __mercydmgwriter.type = 5;
3338
                mercy += 10;
3339
                mercycon = 1;
3340
            }
3341
        }
3342
    }
3343
    if (flowery_blowkiss_scene_timer == 100)
3344
    {
3345
        snd_stop(snd_strongwind_loop);
3346
        
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(xstart - 40, ystart - 34, 2);
3347
        with (obj_heroparent)
3348
        {
3349
            x = xstart;
3350
            state = 0;
3351
        }
3352
    }
3353
    if (flowery_blowkiss_scene_timer == 103)
3354
    {
3355
        x = xstart;
3356
        y = ystart;
3357
        sprite_index = idlesprite;
3358
        image_speed = 0.16666666666666666;
3359
        state = 0;
3360
    }
3361
    if (flowery_blowkiss_scene_timer == 105)
3362
    {
3363
        phase = 3;
3364
        phaseturn = 0;
3365
        blowawaybattlemsg = true;
3366
        flowery_blowkiss_scene_timer = 0;
3367
        flowery_blowkiss_scene_con = 0;
3368
    }
3369
}
3370
if (endcon == 1)
3371
{
3372
    endtimer++;
3373
    if (endtimer == 30)
3374
    {
3375
        endtimer = 0;
3376
        endcon = 2;
3377
    }
3378
}
3379
if (defensedowntimer > 0)
3380
{
3381
    defensedowntimer--;
3382
    if ((defensedowntimer % 7) == 0)
3383
    {
3384
        with (obj_heroparent)
3385
        {
3386
            var _x = 10 + irandom(70);
3387
            var _y = 10 + irandom(80);
3388
            if (object_index == obj_herosusie)
3389
            {
3390
                _x = 10 + irandom(70);
3391
                _y = 10 + irandom(80);
3392
            }
3393
            if (object_index == obj_heroralsei)
3394
            {
3395
                _x = 10 + irandom(70);
3396
                _y = 10 + irandom(80);
3397
            }
3398
            inst = instance_create(x + _x, y + _y, obj_afterimage);
3399
            inst.sprite_index = spr_rhythmgame_editor_arrow;
3400
            inst.image_blend = c_red;
3401
            inst.image_index = 0;
3402
            inst.image_angle = 270;
3403
            inst.image_speed = 0;
3404
            inst.image_xscale = 2;
3405
            inst.image_yscale = 2;
3406
            inst.vspeed = 6;
3407
            inst.friction = 0.3;
3408
            inst.fadeSpeed = 0.1;
3409
        }
3410
    }
3411
}
3412
if (mercyaddcon == 1)
3413
{
3414
    mercyaddtimer++;
3415
    if (mercyaddtimer == 1)
3416
    {
3417
        snd_stop(snd_whistlebreath);
3418
        snd_play_x(snd_whistlebreath, 1, 1 + (presstimer / 100));
3419
        state = 10;
3420
        image_speed = 0;
3421
        image_index = 0.5;
3422
        sprite_index = spr_flowery_blown2;
3423
        blown = 1;
3424
        blowanimtimer = 20;
3425
        onoff = 0;
3426
        shakeamt = 5;
3427
        repeat (6)
3428
        {
3429
            dustparticle = instance_create(x + random(sprite_width - 40) + 2, y + 20 + random(sprite_height - 20), obj_animation);
3430
            with (dustparticle)
3431
            {
3432
                sprite_index = spr_rabbick_dustorb;
3433
                speed = 6;
3434
                image_index = 1;
3435
                direction = 10 + random(70);
3436
                image_speed = 0.5;
3437
                image_xscale = 2;
3438
                image_yscale = 2;
3439
                gravity_direction = 0;
3440
                gravity = 0.7;
3441
                friction = 0.4;
3442
                image_alpha = 0.5;
3443
                depth = 15;
3444
            }
3445
            with (dustparticle)
3446
            {
3447
                image_alpha = 1;
3448
                depth = -10;
3449
            }
3450
        }
3451
    }
3452
    if (mercyaddtimer >= 10)
3453
    {
3454
        mercyaddtimer = 0;
3455
        mercyaddcon = 0;
3456
        state = 0;
3457
        sprite_index = spr_flowery_idle3;
3458
        image_speed = 0.16666666666666666;
3459
    }
3460
}
3461
if (aqua_and_purple_enter == 1)
3462
{
3463
    NOOO_MERCY = false;
3464
    with (purple_marker)
3465
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, camerax() + 532, 15, 2, "out");
3466
    with (aqua_marker)
3467
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, camerax() + 543, 15, 2, "out");
3468
    with (aqua_marker)
3469
        scr_delay_var("sprite_index", 6096, 22);
3470
    with (aqua_marker)
3471
        scr_delay_var("image_speed", 0.16666666666666666, 22);
3472
    aqua_and_purple_enter = 2;
3473
}
3474
if (orange_jump_con == 1)
3475
{
3476
    NOOO_MERCY = false;
3477
    orange_jump_timer++;
3478
    if (i_ex(orange_marker))
3479
    {
3480
        orange_marker.x = lerp(xstart + 150, camerax() + 494, orange_jump_timer / 5);
3481
        orange_marker.y = lerp(ystart - 80, cameray() + 90, orange_jump_timer / 5);
3482
    }
3483
    if (orange_jump_timer >= 5)
3484
    {
3485
        orange_jump_timer = 0;
3486
        orange_jump_con = 0;
3487
        with (orange_marker)
3488
        {
3489
            xstart = x;
3490
            ystart = y;
3491
        }
3492
    }
3493
}
3494
if (green_and_orange_enter == 1 && debugtimer < 1)
3495
{
3496
    NOOO_MERCY = false;
3497
    orange_jump_con = 1;
3498
    with (green_marker)
3499
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, camerax() + 536, 15, 2, "out");
3500
    green_and_orange_enter = 2;
3501
}
3502
if (yellow_and_blue_enter == 1 && debugtimer < 1)
3503
{
3504
    NOOO_MERCY = false;
3505
    with (orange_marker)
3506
        sprite_index = spr_nothing;
3507
    yellow_and_blue_enter_timer++;
3508
    if (yellow_and_blue_enter_timer == 1)
3509
    {
3510
        with (blue_marker)
3511
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, camerax() + 502, 15, 2, "out");
3512
    }
3513
    if (yellow_and_blue_enter_timer < 13)
3514
    {
3515
        with (yellow_marker)
3516
            y = lerp((cameray() + 160) - 600, cameray() + 160, other.yellow_and_blue_enter_timer / 12);
3517
    }
3518
    if (yellow_and_blue_enter_timer < 14)
3519
    {
3520
        with (yellow_marker)
3521
        {
3522
            with (
scr_afterimage_monochrome
scr_afterimage_monochrome

function
scr_afterimage_monochrome(arg0, arg1)
{ afterimage = instance_create(x, y, obj_afterimage_onecolor); afterimage.tint = arg0; afterimage.additive = arg1; 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; } function scr_afterimage_monochrome_parallax(arg0, arg1, arg2) { afterimage = instance_create(x, y, obj_afterimage_onecolor_parallax); afterimage.tint = arg0; afterimage.additive = arg1; 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; afterimage.parallax_depth = arg2; return afterimage; }
(65535, true))
3523
                image_alpha = 0.6;
3524
        }
3525
    }
3526
    if (yellow_and_blue_enter_timer == 13)
3527
    {
3528
        with (yellow_marker)
3529
            sprite_index = spr_yellow_cool_landing;
3530
        snd_play(snd_whack_absurdlyloud, 0.2, 0.8);
3531
        with (yellow_marker)
3532
        {
3533
            anim = instance_create(bbox_left, bbox_bottom, obj_animation);
3534
            with (anim)
3535
            {
3536
                sprite_index = spr_plat_impact_shatter;
3537
                hspeed = 6;
3538
                friction = 0.4;
3539
                image_speed = 0.5;
3540
                
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
3541
                image_xscale = -2;
3542
            }
3543
            for (var i = 1; i < 5; i++)
3544
            {
3545
                var ai = instance_create_depth(x - 80, y + 180, -100000, obj_afterimage_screen);
3546
                with (ai)
3547
                {
3548
                    xscale = 1;
3549
                    yscale = 1;
3550
                    alpha = 0.3;
3551
                    xrate = 0.03 * i;
3552
                    yrate = 0.03 * i;
3553
                    faderate = 0.025;
3554
                }
3555
            }
3556
        }
3557
    }
3558
    if (yellow_and_blue_enter_timer == 43)
3559
    {
3560
        with (yellow_marker)
3561
            sprite_index = spr_yellow_idle;
3562
        with (yellow_marker)
3563
            image_xscale = 2;
3564
        with (yellow_marker)
3565
            x -= 72;
3566
        with (yellow_marker)
3567
            ystart = y;
3568
        yellow_and_blue_enter = 2;
3569
    }
3570
}
3571
purple_marker.y = purple_marker.ystart + (sin(float_siner * 0.5) * 8);
3572
if (aqua_and_purple_enter >= 1 && green_and_orange_enter < 2)
3573
    event_user(5);
3574
aqua_marker.y = aqua_marker.ystart + (sin(float_siner * 0.5) * 8);
3575
if (orange_jump_con == 0)
3576
    orange_marker.y = orange_marker.ystart + (sin(float_siner * 0.33) * 5);
3577
if (phase < 5)
3578
    green_marker.y = green_marker.ystart + (sin(float_siner * 0.5) * 8);
3579
if (!i_ex(obj_yellow_trial_manager))
3580
{
3581
    blue_marker.y = blue_marker.ystart + (sin(float_siner * 0.5) * 8);
3582
    if (yellow_marker.sprite_index == spr_yellow_idle)
3583
        yellow_marker.y = yellow_marker.ystart + (sin(float_siner * 0.5) * 8);
3584
}
3585
if (aqua_mercy >= 100)
3586
    aqua_mercy = 100;
3587
if (purple_mercy >= 100)
3588
    purple_mercy = 100;
3589
if (orange_mercy >= 100)
3590
    orange_mercy = 100;
3591
if (green_mercy >= 100)
3592
    green_mercy = 100;
3593
if (blue_mercy >= 100)
3594
    blue_mercy = 100;
3595
if (yellow_mercy >= 100)
3596
    yellow_mercy = 100;
3597
if (make_orange_visible_con == 1)
3598
{
3599
    var _end = true;
3600
    for (var i = 0; i < instance_number(obj_marker_fancy); i++)
3601
    {
3602
        marker[i] = instance_find(obj_marker_fancy, i);
3603
        if (marker[i].sprite_index == spr_enemy_orange_walk_left)
3604
            _end = false;
3605
    }
3606
    if (_end == true)
3607
    {
3608
        make_orange_visible_con = 0;
3609
        with (orange_marker)
3610
            visible = true;
3611
    }
3612
}
3613
with (yellow_marker)
3614
{
3615
    depth = other.depth - 60;
3616
    if (i_ex(obj_yellow_trial_manager))
3617
        depth = obj_yellow_trial_manager.depth + 60;
3618
}
3619
if (i_ex(obj_growtangle))
3620
{
3621
    with (yellow_marker)
3622
        depth = obj_growtangle.depth;
3623
}
3624
if (i_ex(orange_marker) && phase < 5)
3625
    orange_marker.image_alpha = 1;
3626
else if (i_ex(orange_marker) && phase >= 5)
3627
    orange_marker.image_alpha = 0;
3628
if (orange_fixibility_fix > 0)
3629
{
3630
    orange_fixibility_fix--;
3631
    with (orange_marker)
3632
        image_alpha = 1;
3633
}
3634
with (obj_orangeheart_floweryjarona)
3635
{
3636
    if (appearance == 1)
3637
    {
3638
        with (obj_flowery_enemy)
3639
            orange_marker.image_alpha = 0;
3640
    }
3641
}
3642
3643
enum e__VW
3644
{
3645
    XView,
3646
    YView,
3647
    WView,
3648
    HView,
3649
    Angle,
3650
    HBorder,
3651
    VBorder,
3652
    HSpeed,
3653
    VSpeed,
3654
    Object,
3655
    Visible,
3656
    XPort,
3657
    YPort,
3658
    WPort,
3659
    HPort,
3660
    Camera,
3661
    SurfaceID
3662
}