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", 5463, 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
                {
1331
                    if (sprite_index == spr_kakaw_tongue)
1332
                        sprite_index = spr_kawkaw_blow_wind;
1333
                    if (image_xscale == -2)
1334
                    {
1335
                        image_xscale = 2;
1336
                        x -= 82;
1337
                    }
1338
                    
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);
1339
                }
1340
            }
1341
        }
1342
        if (acting == 3.1 && actcon == 0 && ((i_ex(obj_writer) && obj_writer.reachedend == 1) || !i_ex(obj_writer)))
1343
        {
1344
            instance_create(camerax() + 304, cameray() + 80, obj_scarecrow_intimidate);
1345
            box = instance_create(camerax() + 320, cameray() + 220, obj_scarecrow_intimidate2);
1346
            box.parentid = id;
1347
            acting = 3.2;
1348
        }
1349
        if (acting == 3.2 && actcon == 0 && !i_ex(obj_scarecrow_intimidate2))
1350
        {
1351
            
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");
1352
            
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");
1353
            
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");
1354
            with (obj_writer)
1355
                instance_destroy();
1356
        }
1357
        if (create_afterimage == true)
1358
        {
1359
            create_afterimage_timer++;
1360
            if ((create_afterimage_timer % 6) == 0)
1361
            {
1362
                var _heroobj = 1432;
1363
                if (pose_alone == true)
1364
                    _heroobj = 1434;
1365
                with (_heroobj)
1366
                {
1367
                    afterimage = instance_create(x, y, obj_afterimage_fog);
1368
                    afterimage.sprite_index = sprite_index;
1369
                    afterimage.image_index = image_index;
1370
                    afterimage.image_blend = image_blend;
1371
                    afterimage.image_speed = 0;
1372
                    afterimage.depth = depth;
1373
                    afterimage.image_xscale = image_xscale;
1374
                    afterimage.image_yscale = image_yscale;
1375
                    afterimage.image_angle = image_angle;
1376
                    with (afterimage)
1377
                    {
1378
                        speed = 2.7;
1379
                        direction = irandom(360);
1380
                        fadeSpeed = 0.1;
1381
                    }
1382
                }
1383
                if (shi_recruited)
1384
                {
1385
                    with (shi_marker)
1386
                    {
1387
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1388
                        afterimage.sprite_index = sprite_index;
1389
                        afterimage.image_index = image_index;
1390
                        afterimage.image_blend = image_blend;
1391
                        afterimage.image_speed = 0;
1392
                        afterimage.depth = depth;
1393
                        afterimage.image_xscale = image_xscale;
1394
                        afterimage.image_yscale = image_yscale;
1395
                        afterimage.image_angle = image_angle;
1396
                        with (afterimage)
1397
                        {
1398
                            speed = 2.7;
1399
                            direction = irandom(360);
1400
                            fadeSpeed = 0.1;
1401
                        }
1402
                    }
1403
                }
1404
                if (shinobeetle_recruited)
1405
                {
1406
                    with (shinobeetle_marker)
1407
                    {
1408
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1409
                        afterimage.sprite_index = sprite_index;
1410
                        afterimage.image_index = image_index;
1411
                        afterimage.image_blend = image_blend;
1412
                        afterimage.image_speed = 0;
1413
                        afterimage.depth = depth;
1414
                        afterimage.image_xscale = image_xscale;
1415
                        afterimage.image_yscale = image_yscale;
1416
                        afterimage.image_angle = image_angle;
1417
                        with (afterimage)
1418
                        {
1419
                            speed = 2.7;
1420
                            direction = irandom(360);
1421
                            fadeSpeed = 0.1;
1422
                        }
1423
                    }
1424
                }
1425
                if (kawkaw_recruited)
1426
                {
1427
                    with (kawkaw_marker)
1428
                    {
1429
                        afterimage = instance_create(x, y, obj_afterimage_fog);
1430
                        afterimage.sprite_index = sprite_index;
1431
                        afterimage.image_index = image_index;
1432
                        afterimage.image_blend = image_blend;
1433
                        afterimage.image_speed = 0;
1434
                        afterimage.depth = depth;
1435
                        afterimage.image_xscale = image_xscale;
1436
                        afterimage.image_yscale = image_yscale;
1437
                        afterimage.image_angle = image_angle;
1438
                        with (afterimage)
1439
                        {
1440
                            speed = 2.7;
1441
                            direction = irandom(360);
1442
                            fadeSpeed = 0.1;
1443
                        }
1444
                    }
1445
                }
1446
            }
1447
        }
1448
    }
1449
    if (phase == 2)
1450
    {
1451
        if ((acting == 2 || acting == 3) && actcon == 0)
1452
        {
1453
            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"
);
1454
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1455
            with (obj_writer)
1456
            {
1457
                rate = 33;
1458
                pos = 60;
1459
            }
1460
            custombody = 0;
1461
            if (acting == 2)
1462
                custombody = 1;
1463
            
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);
1464
            if (acting == 3)
1465
            {
1466
                
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);
1467
                
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);
1468
                if (floradinn_recruited)
1469
                {
1470
                    with (floradin_marker)
1471
                        
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);
1472
                }
1473
                if (leafling_recruited)
1474
                {
1475
                    with (leafling_marker)
1476
                        
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);
1477
                }
1478
                if (kawkaw_recruited)
1479
                {
1480
                    with (kawkaw_marker)
1481
                        
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);
1482
                }
1483
                with (obj_heroparent)
1484
                {
1485
                    
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; }
();
1486
                    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; }
();
1487
                    a.hspeed = 2.5;
1488
                    a.depth = depth + 1;
1489
                    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; }
();
1490
                    b.image_alpha = 0.6;
1491
                    b.hspeed = 5;
1492
                    b.depth = depth + 2;
1493
                }
1494
            }
1495
            acting = 101;
1496
        }
1497
    }
1498
    if (acting == 101 && actcon == 0)
1499
    {
1500
        if (progress > 0)
1501
            progress -= 0.2;
1502
        if (button1_p() == 1 && presscount_1 < 5)
1503
        {
1504
            snd_stop(snd_whistlebreath);
1505
            snd_play_x(snd_whistlebreath, 1, 1 + (presstimer / 100));
1506
            state = 10;
1507
            image_speed = 0;
1508
            image_index = 0.5;
1509
            sprite_index = spr_flowery_wind;
1510
            if (floradinn_recruited)
1511
            {
1512
                with (floradin_marker)
1513
                    image_index = 1;
1514
            }
1515
            if (leafling_recruited)
1516
            {
1517
                with (leafling_marker)
1518
                    image_index = 1;
1519
            }
1520
            if (kawkaw_recruited)
1521
            {
1522
                with (kawkaw_marker)
1523
                    image_index = 1;
1524
            }
1525
            progress += 12;
1526
            if (acttimer > 160)
1527
                progress += 75;
1528
            starttimer = true;
1529
            blown = 1;
1530
            blowanimtimer = 20;
1531
            onoff = 0;
1532
            shakeamt = 5;
1533
            repeat (6)
1534
            {
1535
                dustparticle = instance_create(x + random(sprite_width - 40) + 2, y + 20 + random(sprite_height - 20), obj_animation);
1536
                with (dustparticle)
1537
                {
1538
                    sprite_index = spr_rabbick_dustorb;
1539
                    speed = 6;
1540
                    image_index = 1;
1541
                    direction = 10 + random(70);
1542
                    image_speed = 0.5;
1543
                    image_xscale = 2;
1544
                    image_yscale = 2;
1545
                    gravity_direction = 0;
1546
                    gravity = 0.7;
1547
                    friction = 0.4;
1548
                    image_alpha = 0.5;
1549
                    depth = 15;
1550
                }
1551
                if (blown == 1)
1552
                {
1553
                    with (dustparticle)
1554
                    {
1555
                        image_alpha = 1;
1556
                        depth = -10;
1557
                    }
1558
                }
1559
            }
1560
        }
1561
        if (blowanimtimer == 12)
1562
        {
1563
            if (floradinn_recruited)
1564
            {
1565
                with (floradin_marker)
1566
                    image_index = 0;
1567
            }
1568
            if (leafling_recruited)
1569
            {
1570
                with (leafling_marker)
1571
                    image_index = 0;
1572
            }
1573
            if (kawkaw_recruited)
1574
            {
1575
                with (kawkaw_marker)
1576
                    image_index = 0;
1577
            }
1578
        }
1579
        presstimer++;
1580
        if (presstimer == 30)
1581
        {
1582
            presstimer = 0;
1583
            presscount_1 = 0;
1584
        }
1585
        if (progress >= 150)
1586
            progress = 150;
1587
        if (starttimer == true)
1588
            acttimer += 2;
1589
        if (acttimer >= acttimermax || progress >= 150)
1590
        {
1591
            starttimer = false;
1592
            acting = 102;
1593
            blown = 0;
1594
            acttimer = 0;
1595
            with (obj_writer)
1596
                instance_destroy();
1597
        }
1598
    }
1599
    if (acting == 102 && actcon == 0)
1600
    {
1601
        if (floradinn_recruited)
1602
        {
1603
            with (floradin_marker)
1604
                image_index = 0;
1605
        }
1606
        if (leafling_recruited)
1607
        {
1608
            with (leafling_marker)
1609
                image_index = 0;
1610
        }
1611
        if (kawkaw_recruited)
1612
        {
1613
            with (kawkaw_marker)
1614
                image_index = 0;
1615
        }
1616
        if (progress < 100)
1617
        {
1618
            sprite_index = spr_flowery_idle3;
1619
            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"
);
1620
        }
1621
        else
1622
        {
1623
            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"
);
1624
            _mercy = 5;
1625
            if ((global.mercymod[myself] + _mercy) > _maxmercy)
1626
                _mercy = _maxmercy - global.mercymod[myself];
1627
            
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);
1628
            mercyaddcon = 1;
1629
            sprite_index = spr_flowery_wind2;
1630
        }
1631
        image_speed = 0.16666666666666666;
1632
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1633
        if (global.mercymod[myself] >= 20)
1634
            flowery_blowkiss_scene_con = 1;
1635
        
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");
1636
        
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");
1637
        
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");
1638
        if (custombody == 0)
1639
            acting = 0;
1640
        actcon = 1;
1641
        progress = 0;
1642
        blowaway = true;
1643
    }
1644
    if (phase == 3)
1645
    {
1646
        if ((acting == 2 || acting == 3) && actcon == 0)
1647
        {
1648
            var _pickedcorrectly = false;
1649
            if (correctact == (acting - 1))
1650
                _pickedcorrectly = true;
1651
            if (overwrite_correct == 1)
1652
                _pickedcorrectly = false;
1653
            if (overwrite_correct == 2)
1654
                _pickedcorrectly = true;
1655
            _pickedcorrectly = true;
1656
            if (actcon == 0 && acting != 151)
1657
            {
1658
                event_user(0);
1659
                snd_play(snd_pirouette);
1660
            }
1661
            if (_pickedcorrectly == true && actcon == 0)
1662
            {
1663
                actcon = 1;
1664
                if (acting == 2)
1665
                    msgsetloc(0, 
* You spin!Wait for inputClose Message
"* You spin!/%", "obj_flowery_enemy_slash_Step_0_gml_1237_0"
);
1666
                else
1667
                    msgsetloc(0, 
* Everyone spins!Wait for inputClose Message
"* Everyone spins!/%", "obj_flowery_enemy_slash_Step_0_gml_1194_0"
);
1668
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1669
                
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);
1670
                if (acting == 3)
1671
                    
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);
1672
                if (acting == 3)
1673
                    
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);
1674
                with (obj_herokris)
1675
                {
1676
                    
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; }
();
1677
                    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; }
();
1678
                    a.hspeed = 2.5;
1679
                    a.depth = depth + 1;
1680
                    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; }
();
1681
                    b.image_alpha = 0.6;
1682
                    b.hspeed = 5;
1683
                    b.depth = depth + 2;
1684
                }
1685
                if (acting == 3)
1686
                {
1687
                    with (obj_herosusie)
1688
                    {
1689
                        
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; }
();
1690
                        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; }
();
1691
                        a.hspeed = 2.5;
1692
                        a.depth = depth + 1;
1693
                        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; }
();
1694
                        b.image_alpha = 0.6;
1695
                        b.hspeed = 5;
1696
                        b.depth = depth + 2;
1697
                    }
1698
                    with (obj_heroralsei)
1699
                    {
1700
                        
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; }
();
1701
                        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; }
();
1702
                        a.hspeed = 2.5;
1703
                        a.depth = depth + 1;
1704
                        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; }
();
1705
                        b.image_alpha = 0.6;
1706
                        b.hspeed = 5;
1707
                        b.depth = depth + 2;
1708
                    }
1709
                }
1710
                if (failedpreviousact == true)
1711
                {
1712
                    if (global.mercymod[myself] == 20)
1713
                    {
1714
                        _mercy = 10;
1715
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1716
                            _mercy = _maxmercy - global.mercymod[myself];
1717
                        
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);
1718
                        mercyaddcon = 1;
1719
                    }
1720
                    if (global.mercymod[myself] == 25)
1721
                    {
1722
                        _mercy = 5;
1723
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1724
                            _mercy = _maxmercy - global.mercymod[myself];
1725
                        
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);
1726
                        mercyaddcon = 1;
1727
                    }
1728
                    aqua_mercy += 100;
1729
                    with (aqua_marker)
1730
                    {
1731
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1732
                        __mercydmgwriter.damage = 100;
1733
                        __mercydmgwriter.type = 5;
1734
                    }
1735
                    purple_mercy += 100;
1736
                    with (purple_marker)
1737
                    {
1738
                        __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1739
                        __mercydmgwriter.damage = 100;
1740
                        __mercydmgwriter.type = 5;
1741
                    }
1742
                }
1743
                else
1744
                {
1745
                    if (global.mercymod[myself] < 30)
1746
                    {
1747
                        _mercy = 5;
1748
                        if ((global.mercymod[myself] + _mercy) > _maxmercy)
1749
                            _mercy = _maxmercy - global.mercymod[myself];
1750
                        
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);
1751
                        mercyaddcon = 1;
1752
                    }
1753
                    else
1754
                    {
1755
                        purple_marker.sprite_index = spr_seth_idle_dizzy_flowery;
1756
                        aqua_marker.sprite_index = spr_enemy_aqua_spin;
1757
                    }
1758
                    if (sethaqua_defeated_with_violence == true)
1759
                    {
1760
                        aqua_mercy += 80;
1761
                        with (aqua_marker)
1762
                        {
1763
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1764
                            __mercydmgwriter.damage = 80;
1765
                            __mercydmgwriter.type = 5;
1766
                        }
1767
                        purple_mercy += 80;
1768
                        with (purple_marker)
1769
                        {
1770
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1771
                            __mercydmgwriter.damage = 80;
1772
                            __mercydmgwriter.type = 5;
1773
                        }
1774
                    }
1775
                    else
1776
                    {
1777
                        aqua_mercy += 50;
1778
                        with (aqua_marker)
1779
                        {
1780
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1781
                            __mercydmgwriter.damage = 50;
1782
                            __mercydmgwriter.type = 5;
1783
                        }
1784
                        purple_mercy += 50;
1785
                        with (purple_marker)
1786
                        {
1787
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
1788
                            __mercydmgwriter.damage = 50;
1789
                            __mercydmgwriter.type = 5;
1790
                        }
1791
                    }
1792
                }
1793
            }
1794
            if (acting == 151)
1795
            {
1796
                acttimer++;
1797
                if (acttimer == 1)
1798
                {
1799
                    snd_play(snd_strongwind_loop, 0.1, 1.2);
1800
                    snd_volume(snd_strongwind_loop, 2, 5);
1801
                }
1802
                if (acttimer >= 1 && acttimer < 60)
1803
                {
1804
                    repeat (6)
1805
                        drop_petal2(((_cx + 640) - (spread_range * 0.5)) + _random, (_cy - (spread_range * 0.5)) + _random, true, -12, 1);
1806
                }
1807
                if (acttimer == 31)
1808
                    snd_volume(snd_strongwind_loop, 0, 30);
1809
                if (acttimer >= 60 && !i_ex(obj_writer))
1810
                {
1811
                    snd_stop(snd_strongwind_loop);
1812
                    snd_play(snd_awkward);
1813
                    defensedowntimer = 30;
1814
                    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"
);
1815
                    
scr_battletext_default
scr_battletext_default

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

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1845
                
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);
1846
                if (acting == 3)
1847
                {
1848
                    
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);
1849
                    
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);
1850
                }
1851
                acting = 202;
1852
                global.actcost[myself][1] = 200;
1853
                idlesprite = spr_flowery_idle3_blush;
1854
                with (green_marker)
1855
                    sprite_index = spr_green_nods_left;
1856
                with (orange_marker)
1857
                    sprite_index = spr_enemy_orange_idle_base_blush;
1858
                with (obj_heroparent)
1859
                {
1860
                    
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; }
();
1861
                    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; }
();
1862
                    a.hspeed = 2.5;
1863
                    a.depth = depth + 1;
1864
                    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; }
();
1865
                    b.image_alpha = 0.6;
1866
                    b.hspeed = 5;
1867
                    b.depth = depth + 2;
1868
                }
1869
                if (global.mercymod[myself] < 40)
1870
                {
1871
                    _mercy = 5;
1872
                    if ((global.mercymod[myself] + _mercy) > _maxmercy)
1873
                        _mercy = _maxmercy - global.mercymod[myself];
1874
                    
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);
1875
                }
1876
                if (failedpreviousact == true)
1877
                {
1878
                    orange_mercy += 100;
1879
                    with (orange_marker)
1880
                    {
1881
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1882
                        __mercydmgwriter.damage = 100;
1883
                        __mercydmgwriter.type = 5;
1884
                    }
1885
                    green_mercy += 100;
1886
                    with (green_marker)
1887
                    {
1888
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1889
                        __mercydmgwriter.damage = 100;
1890
                        __mercydmgwriter.type = 5;
1891
                    }
1892
                }
1893
                else if (defeatedpink == true)
1894
                {
1895
                    orange_mercy += 80;
1896
                    with (orange_marker)
1897
                    {
1898
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1899
                        __mercydmgwriter.damage = 80;
1900
                        __mercydmgwriter.type = 5;
1901
                    }
1902
                    green_mercy += 80;
1903
                    with (green_marker)
1904
                    {
1905
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1906
                        __mercydmgwriter.damage = 80;
1907
                        __mercydmgwriter.type = 5;
1908
                    }
1909
                }
1910
                else
1911
                {
1912
                    orange_mercy += 50;
1913
                    with (orange_marker)
1914
                    {
1915
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1916
                        __mercydmgwriter.damage = 50;
1917
                        __mercydmgwriter.type = 5;
1918
                    }
1919
                    green_mercy += 50;
1920
                    with (green_marker)
1921
                    {
1922
                        __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
1923
                        __mercydmgwriter.damage = 50;
1924
                        __mercydmgwriter.type = 5;
1925
                    }
1926
                }
1927
                if (defeatedpink == true)
1928
                {
1929
                    snd_play(snd_pink_laugh_long);
1930
                    inst = instance_create(camerax() + 320, cameray() + 160, obj_marker);
1931
                    inst.sprite_index = spr_pink_peace_sign_centered;
1932
                    with (inst)
1933
                    {
1934
                        
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");
1935
                        
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");
1936
                        
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");
1937
                        
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);
1938
                    }
1939
                }
1940
            }
1941
            if (acting == 202 && !i_ex(obj_writer))
1942
            {
1943
                acting = 0;
1944
                actcon = 1;
1945
                sprite_index = spr_flowery_thumbs_down;
1946
                image_index = 0;
1947
                image_speed = 1/3;
1948
                orange_marker.sprite_index = spr_orange_thumbs_down;
1949
                green_marker.sprite_index = spr_green_guilty;
1950
                
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; }
();
1951
                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; }
();
1952
                a.hspeed = -2.5;
1953
                a.depth = depth + 1;
1954
                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; }
();
1955
                b.image_alpha = 0.6;
1956
                b.hspeed = -5;
1957
                b.depth = depth + 2;
1958
                msgsetloc(0, 
* Everyone got TIRED!Wait for inputClose Message
"* Everyone got TIRED!/%", "obj_flowery_enemy_slash_Step_0_gml_1440_0"
);
1959
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1960
                snd_stop(snd_hurt1);
1961
                snd_play(snd_hurt1);
1962
                with (obj_heroparent)
1963
                    hurt = 1;
1964
                with (obj_heroparent)
1965
                {
1966
                    __tiredwriter = instance_create(x, y + 40, obj_dmgwriter);
1967
                    __tiredwriter.typeb = 13;
1968
                    __tiredwriter.type = 13;
1969
                }
1970
                snd_play_x(snd_spellcast, 0.5, 0.9);
1971
            }
1972
        }
1973
    }
1974
    if (phase == 5)
1975
    {
1976
        if (acting == 2 && actcon == 0)
1977
        {
1978
            if (global.hp[2] < 1)
1979
            {
1980
                star = 1;
1981
                
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);
1982
                global.hp[2] = 1;
1983
            }
1984
            if (global.hp[3] < 1)
1985
            {
1986
                star = 2;
1987
                
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);
1988
                global.hp[3] = 1;
1989
            }
1990
            if (global.tempflag[70] == 1)
1991
            {
1992
                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);
1993
                msgset_add_func(function()
1994
                {
1995
                    if (i_ex(obj_heroralsei))
1996
                    {
1997
                        repeat (3)
1998
                            make_petal_storm(obj_heroralsei.x + 120, obj_heroralsei.y + 48, obj_heroralsei.depth, 12);
1999
                    }
2000
                    talked = -1;
2001
                    scr_var_delayed("talked", 1, 30);
2002
                });
2003
                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);
2004
                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);
2005
                msgset_add_func(function()
2006
                {
2007
                    
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()
2008
                    {
2009
                        with (obj_battlecontroller)
2010
                        {
2011
                            havechar[2] = 0;
2012
                            charpos[2] = 0;
2013
                            with (obj_heroralsei)
2014
                            {
2015
                                ralsei_marker = instance_create_depth(x, y, depth, obj_marker);
2016
                                ralsei_marker.sprite_index = spr_ralsei_shocked_right;
2017
                                ralsei_marker.image_speed = 0.16666666666666666;
2018
                                ralsei_marker.image_xscale = image_xscale;
2019
                                ralsei_marker.image_yscale = image_yscale;
2020
                                ralsei_marker.hspeed = -20;
2021
                                instance_destroy();
2022
                            }
2023
                            with (obj_flowery_hero_flower)
2024
                            {
2025
                                if (hero == 3)
2026
                                    hspeed = -20;
2027
                            }
2028
                            global.hp[3] = 0;
2029
                            global.acting[3] = 1;
2030
                            global.char[2] = 0;
2031
                            global.charmove[2] = 0;
2032
                            global.charauto[2] = 0;
2033
                            chartotal--;
2034
                        }
2035
                        with (obj_flowery_enemy)
2036
                            ralsei_removed = true;
2037
                        with (obj_flowery_enemy)
2038
                            remove_ralsei_con = 1;
2039
                    }, 12);
2040
                    with (obj_orbitparticle)
2041
                    {
2042
                        do_movement = false;
2043
                        
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);
2044
                    }
2045
                    with (obj_heroralsei)
2046
                    {
2047
                        
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);
2048
                        
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);
2049
                        
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", 1449, 0.16666666666666666, true);
2050
                    }
2051
                    talked = -1;
2052
                    scr_var_delayed("talked", 1, 30);
2053
                });
2054
                msgset_add_func(function()
2055
                {
2056
                    with (obj_battlecontroller)
2057
                        skipsusieturn = true;
2058
                    global.faceaction[1] = 0;
2059
                    global.charaction[1] = 0;
2060
                    global.acting[1] = 0;
2061
                    global.actingsingle[1] = 0;
2062
                    with (obj_battlecontroller)
2063
                        skipralseiturn = true;
2064
                    global.faceaction[2] = 0;
2065
                    global.charaction[2] = 0;
2066
                    global.acting[2] = 0;
2067
                    global.actingsingle[2] = 0;
2068
                    actcon = 1;
2069
                    acting = 0;
2070
                    talked = 0;
2071
                    with (yellow_marker)
2072
                        sprite_index = spr_yellow_idle;
2073
                    with (blue_marker)
2074
                    {
2075
                        sprite_index = spr_enemy_blue_ballet;
2076
                        image_index = 0;
2077
                        image_speed = 0.16666666666666666;
2078
                    }
2079
                    global.mercymod[myself] += 10;
2080
                    mercyaddcon = 1;
2081
                    event_user(0);
2082
                });
2083
                flowery_balloon();
2084
                actcon = 0.2;
2085
            }
2086
            else
2087
            {
2088
                with (obj_flowery_lyrics)
2089
                    target_alpha = 0;
2090
                
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");
2091
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "i");
2092
                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"
);
2093
                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"
);
2094
                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"
);
2095
                
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; }
();
2096
                actcon = 0.1;
2097
                if (irandom(1))
2098
                    
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);
2099
                else
2100
                    
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);
2101
                
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);
2102
                
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);
2103
                with (obj_herokris)
2104
                    depth = -500;
2105
                with (obj_herosusie)
2106
                    depth = -502;
2107
                with (obj_heroralsei)
2108
                    depth = -504;
2109
                with (obj_herokris)
2110
                {
2111
                    with (instance_create_depth(x + 60, y + 56, depth - 0.1, obj_marker))
2112
                    {
2113
                        sprite_index = spr_trial_podium;
2114
                        image_index = 1;
2115
                        image_speed = 0;
2116
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2117
                        
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()
2118
                        {
2119
                            if (i_ex(obj_herokris))
2120
                            {
2121
                                y = obj_herokris.y + 56;
2122
                                depth = obj_herokris.depth - 1;
2123
                            }
2124
                            else
2125
                            {
2126
                                instance_destroy();
2127
                            }
2128
                        }, -1, 1);
2129
                    }
2130
                }
2131
                with (obj_herosusie)
2132
                {
2133
                    with (instance_create_depth(x + 60, y + 62, depth - 0.1, obj_marker))
2134
                    {
2135
                        sprite_index = spr_trial_podium;
2136
                        image_speed = 0;
2137
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2138
                        
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()
2139
                        {
2140
                            if (i_ex(obj_herosusie))
2141
                            {
2142
                                y = obj_herosusie.y + 62;
2143
                                depth = obj_herosusie.depth - 1;
2144
                            }
2145
                            else
2146
                            {
2147
                                instance_destroy();
2148
                            }
2149
                        }, -1, 1);
2150
                    }
2151
                }
2152
                with (obj_heroralsei)
2153
                {
2154
                    with (instance_create_depth(x + 60, y + 72, depth - 0.1, obj_marker))
2155
                    {
2156
                        sprite_index = spr_trial_podium;
2157
                        image_index = 1;
2158
                        image_speed = 0;
2159
                        
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2160
                        
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()
2161
                        {
2162
                            if (i_ex(obj_heroralsei))
2163
                            {
2164
                                y = obj_heroralsei.y + 72;
2165
                                depth = obj_heroralsei.depth - 1;
2166
                            }
2167
                            else
2168
                            {
2169
                                instance_destroy();
2170
                            }
2171
                        }, -1, 1);
2172
                    }
2173
                }
2174
                global.faceaction[0] = 6;
2175
                global.faceaction[1] = 6;
2176
                global.faceaction[2] = 6;
2177
                global.charaction[0] = 6;
2178
                global.charaction[1] = 6;
2179
                global.charaction[2] = 6;
2180
            }
2181
        }
2182
        if (acting == 2 && actcon == 0.1)
2183
        {
2184
            if (!i_ex(obj_writer))
2185
            {
2186
                actcon = 0.2;
2187
                with (blue_marker)
2188
                {
2189
                    sprite_index = spr_blue_poses_unhappy;
2190
                    image_index = 2;
2191
                    image_speed = 0;
2192
                }
2193
                with (yellow_marker)
2194
                    sprite_index = spr_yellow_shock_left;
2195
                with (instance_create(0, 0, obj_yellow_trial_manager))
2196
                {
2197
                    trial_id = 99;
2198
                    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]);
2199
                    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]);
2200
                    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]);
2201
                    can_control = true;
2202
                    evidence_mode = true;
2203
                    evidence_choice = true;
2204
                    can_cancel = false;
2205
                }
2206
                with (obj_yellow_trial_manager)
2207
                {
2208
                    flowery_mode = true;
2209
                    begin_trial();
2210
                    evidence_mode = false;
2211
                    can_control = false;
2212
                    with (obj_trial_perp)
2213
                        y = testimony_y;
2214
                }
2215
                with (obj_trial_perp)
2216
                    depth = -501;
2217
                scr_var_delayed("actcon", 0.11, 25);
2218
            }
2219
        }
2220
        if (acting == 2 && actcon == 0.11)
2221
        {
2222
            
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");
2223
            
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "i");
2224
            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"
);
2225
            
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; }
();
2226
            actcon = 0.111;
2227
        }
2228
        if (acting == 2 && actcon == 0.111)
2229
        {
2230
            if (!i_ex(obj_writer))
2231
            {
2232
                with (obj_yellow_trial_manager)
2233
                {
2234
                    snd_play(snd_boost);
2235
                    evidence_mode = true;
2236
                    can_control = true;
2237
                    flowery_mode = false;
2238
                    spotlight_offset = -90;
2239
                }
2240
                with (obj_trial_perp)
2241
                {
2242
                    y -= 90;
2243
                    testimony_y -= 90;
2244
                }
2245
                actcon = 0.2;
2246
            }
2247
        }
2248
        if (acting == 2 && actcon == 0.2 && talked != -1)
2249
            flowery_balloon_control();
2250
    }
2251
    if (phase == 6)
2252
    {
2253
        if (acting == 2 && actcon == 0)
2254
        {
2255
            with (obj_flowery_lyrics)
2256
                target_alpha = 0;
2257
            acttimer = 0;
2258
            
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");
2259
            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"
);
2260
            if (global.flag[1874] == 0)
2261
            {
2262
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "A");
2263
                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"
);
2264
                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"
);
2265
                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"
);
2266
                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"
);
2267
                acting = 2.11;
2268
                global.tempflag[73] = 1;
2269
            }
2270
            else
2271
            {
2272
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "D");
2273
                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"
);
2274
                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"
);
2275
                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"
);
2276
                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"
);
2277
                acting = 2.91;
2278
            }
2279
            
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; }
();
2280
        }
2281
        if (acting == 2.11 && actcon == 0)
2282
        {
2283
            acttimer++;
2284
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2285
            {
2286
                
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);
2287
                with (obj_writer)
2288
                    instance_destroy();
2289
                
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");
2290
                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"
);
2291
                
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; }
();
2292
                acting = 2.12;
2293
            }
2294
        }
2295
        if (acting == 2.12 && actcon == 0)
2296
        {
2297
            acttimer++;
2298
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2299
            {
2300
                idlesprite = spr_flowery_turn_shocked_more;
2301
                
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); }
();
2302
                with (obj_writer)
2303
                    instance_destroy();
2304
                
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");
2305
                msgsetloc(0, 
Face 9* O-Oldbuddy!?Wait for inputClose Message
"\\E9* O-Oldbuddy!?/%", "obj_flowery_enemy_slash_Step_0_gml_1705_0"
);
2306
                
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; }
();
2307
                acting = 2.13;
2308
            }
2309
        }
2310
        if (acting == 2.13 && actcon == 0)
2311
        {
2312
            acttimer++;
2313
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2314
            {
2315
                with (obj_writer)
2316
                    instance_destroy();
2317
                acting = 2.14;
2318
            }
2319
        }
2320
        if (acting == 2.14 && actcon == 0 && !i_ex(obj_writer))
2321
        {
2322
            
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");
2323
            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"
);
2324
            
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; }
();
2325
            acting = 2.91;
2326
        }
2327
        if (acting == 2.91 && actcon == 0)
2328
        {
2329
            acttimer++;
2330
            if ((button3_p() && acttimer > 15) || !i_ex(obj_writer))
2331
            {
2332
                snd_play(snd_grab);
2333
                with (obj_writer)
2334
                    instance_destroy();
2335
                var last_cam_x = camerax();
2336
                var last_cam_y = cameray();
2337
                with (obj_herokris)
2338
                    visible = 0;
2339
                with (obj_herosusie)
2340
                    visible = 0;
2341
                with (obj_marker)
2342
                {
2343
                    persistent = true;
2344
                    scr_delay_var("persistent", false, 5);
2345
                }
2346
                with (obj_flowery_hero_flower)
2347
                {
2348
                    persistent = true;
2349
                    scr_delay_var("persistent", false, 5);
2350
                }
2351
                with (obj_flowery_marker)
2352
                {
2353
                    persistent = true;
2354
                    scr_delay_var("persistent", false, 5);
2355
                }
2356
                with (obj_heroparent)
2357
                {
2358
                    persistent = true;
2359
                    scr_delay_var("persistent", false, 5);
2360
                }
2361
                with (obj_battlecontroller)
2362
                {
2363
                    persistent = true;
2364
                    scr_delay_var("persistent", false, 5);
2365
                }
2366
                with (obj_tensionbar)
2367
                {
2368
                    persistent = true;
2369
                    scr_delay_var("persistent", false, 5);
2370
                }
2371
                with (obj_flowery_throwkris)
2372
                {
2373
                    persistent = true;
2374
                    scr_delay_var("persistent", false, 5);
2375
                }
2376
                with (obj_flowery_enemy)
2377
                {
2378
                    persistent = true;
2379
                    scr_delay_var("persistent", false, 5);
2380
                }
2381
                with (obj_flowery_towery)
2382
                {
2383
                    persistent = true;
2384
                    scr_delay_var("persistent", false, 5);
2385
                }
2386
                with (obj_flowery_tower_decoration)
2387
                {
2388
                    persistent = true;
2389
                    scr_delay_var("persistent", false, 5);
2390
                }
2391
                with (obj_script_delayed)
2392
                    persistent = true;
2393
                room_goto(room_dw_fcastle_flowerclimb);
2394
                var camshiftx = -last_cam_x;
2395
                var camshifty = 11640 - last_cam_y;
2396
                with (obj_marker)
2397
                {
2398
                    x += camshiftx;
2399
                    xstart = x;
2400
                    y += camshifty;
2401
                    ystart = y;
2402
                }
2403
                with (obj_flowery_hero_flower)
2404
                {
2405
                    x += camshiftx;
2406
                    xstart = x;
2407
                    y += camshifty;
2408
                    ystart = y;
2409
                }
2410
                with (obj_flowery_marker)
2411
                {
2412
                    x += camshiftx;
2413
                    xstart = x;
2414
                    y += camshifty;
2415
                    ystart = y;
2416
                }
2417
                with (obj_heroparent)
2418
                {
2419
                    x += camshiftx;
2420
                    xstart = x;
2421
                    y += camshifty;
2422
                    ystart = y;
2423
                }
2424
                with (obj_battlecontroller)
2425
                {
2426
                    x += camshiftx;
2427
                    xstart = x;
2428
                    y += camshifty;
2429
                    ystart = y;
2430
                }
2431
                with (obj_tensionbar)
2432
                {
2433
                    x += camshiftx;
2434
                    xstart = x;
2435
                    y += camshifty;
2436
                    ystart = y;
2437
                }
2438
                with (obj_flowery_throwkris)
2439
                {
2440
                    x += camshiftx;
2441
                    xstart = x;
2442
                    y += camshifty;
2443
                    ystart = y;
2444
                }
2445
                with (obj_script_delayed)
2446
                {
2447
                    x += camshiftx;
2448
                    xstart = x;
2449
                    y += camshifty;
2450
                    ystart = y;
2451
                }
2452
                with (obj_flowery_enemy)
2453
                {
2454
                    x += camshiftx;
2455
                    xstart = x;
2456
                    y += camshifty;
2457
                    ystart = y;
2458
                }
2459
                acting = 2.92;
2460
                acttimer = 0;
2461
            }
2462
        }
2463
        if (acting == 2.92 && actcon == 0)
2464
        {
2465
            with (obj_mainchara)
2466
                x = -1000;
2467
            with (obj_caterpillarchara)
2468
                x = -1000;
2469
            acttimer++;
2470
            if (acttimer == 2)
2471
                throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_flowery_throwkris);
2472
            if (acttimer == 32)
2473
            {
2474
                with (obj_flowery_throwkris)
2475
                {
2476
                    image_index = 0;
2477
                    image_speed = 0.5;
2478
                    sprite_index = spr_susieb_attack_unarmed;
2479
                    throwcon = 2;
2480
                    snd_play(snd_ultraswing);
2481
                    snd_play(snd_jump);
2482
                    marker = instance_create(x, y, obj_marker);
2483
                    marker.sprite_index = spr_kris_jump_ball;
2484
                    marker.image_speed = 1/3;
2485
                    marker.image_xscale = 2;
2486
                    marker.image_yscale = 2;
2487
                    
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);
2488
                    with (marker)
2489
                        
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);
2490
                    with (obj_dw_fcastle_flowerclimb)
2491
                        start_pan();
2492
                    with (obj_battlecontroller)
2493
                        hidebattleui = 1;
2494
                    with (obj_tensionbar)
2495
                    {
2496
                        alarm[5] = 15;
2497
                        hspeed = -10;
2498
                        friction = -0.4;
2499
                    }
2500
                }
2501
            }
2502
            if (acttimer == 100)
2503
            {
2504
                with (obj_battlecontroller)
2505
                {
2506
                    with (obj_monsterparent)
2507
                        instance_destroy();
2508
                    with (obj_bulletparent)
2509
                        instance_destroy();
2510
                    with (obj_tensionbar)
2511
                        instance_destroy();
2512
                    global.fighting = 0;
2513
                    instance_destroy();
2514
                    exit;
2515
                }
2516
            }
2517
        }
2518
    }
2519
    if (actingsus == 1 && actconsus == 1)
2520
    {
2521
        var rand = choose(0, 1, 2, 3);
2522
        var afterimagescale = 2;
2523
        if (rand == 0)
2524
            
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);
2525
        if (rand == 1)
2526
        {
2527
            sprite_set_offset(spr_susie_cook_ja, 16, 5);
2528
            sprite_set_offset(spr_susie_cook, 16, 5);
2529
            if (global.lang == "ja")
2530
                
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);
2531
            else
2532
                
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);
2533
            afterimagescale = 1;
2534
        }
2535
        if (rand == 2)
2536
            
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);
2537
        if (rand == 3)
2538
            
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);
2539
        with (obj_herosusie)
2540
        {
2541
            _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; }
();
2542
            _oflash.image_xscale = afterimagescale;
2543
            _oflash.image_yscale = afterimagescale;
2544
            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; }
();
2545
            a.hspeed = 2.5;
2546
            a.depth = depth + 1;
2547
            a.image_xscale = afterimagescale;
2548
            a.image_yscale = afterimagescale;
2549
            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; }
();
2550
            b.image_alpha = 0.6;
2551
            b.hspeed = 5;
2552
            b.depth = depth + 2;
2553
            b.image_xscale = afterimagescale;
2554
            b.image_yscale = afterimagescale;
2555
        }
2556
        if (global.actsimulsus[myself][0] == 0)
2557
        {
2558
            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"
);
2559
            actcon = 1;
2560
            actconsus = 0;
2561
            actingsus = 1.1;
2562
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2563
            if (global.hp[1] < 1 && global.hp[3] < 1)
2564
            {
2565
                if (NOOO_MERCY == false)
2566
                {
2567
                    if (phase == 3)
2568
                    {
2569
                        aqua_mercy += 50;
2570
                        with (aqua_marker)
2571
                        {
2572
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2573
                            __mercydmgwriter.damage = 50;
2574
                            __mercydmgwriter.type = 5;
2575
                        }
2576
                        purple_mercy += 50;
2577
                        with (purple_marker)
2578
                        {
2579
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2580
                            __mercydmgwriter.damage = 50;
2581
                            __mercydmgwriter.type = 5;
2582
                        }
2583
                    }
2584
                    if (phase == 4)
2585
                    {
2586
                        orange_mercy += 50;
2587
                        with (orange_marker)
2588
                        {
2589
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2590
                            __mercydmgwriter.damage = 50;
2591
                            __mercydmgwriter.type = 5;
2592
                        }
2593
                        green_mercy += 50;
2594
                        with (green_marker)
2595
                        {
2596
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2597
                            __mercydmgwriter.damage = 50;
2598
                            __mercydmgwriter.type = 5;
2599
                        }
2600
                    }
2601
                }
2602
                
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);
2603
            }
2604
            else if (global.hp[1] < 1 || global.hp[3] < 1)
2605
            {
2606
                if (NOOO_MERCY == false)
2607
                {
2608
                    if (phase == 3)
2609
                    {
2610
                        aqua_mercy += 30;
2611
                        with (aqua_marker)
2612
                        {
2613
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2614
                            __mercydmgwriter.damage = 30;
2615
                            __mercydmgwriter.type = 5;
2616
                        }
2617
                        purple_mercy += 30;
2618
                        with (purple_marker)
2619
                        {
2620
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2621
                            __mercydmgwriter.damage = 30;
2622
                            __mercydmgwriter.type = 5;
2623
                        }
2624
                    }
2625
                    if (phase == 4)
2626
                    {
2627
                        orange_mercy += 30;
2628
                        with (orange_marker)
2629
                        {
2630
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2631
                            __mercydmgwriter.damage = 30;
2632
                            __mercydmgwriter.type = 5;
2633
                        }
2634
                        green_mercy += 30;
2635
                        with (green_marker)
2636
                        {
2637
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2638
                            __mercydmgwriter.damage = 30;
2639
                            __mercydmgwriter.type = 5;
2640
                        }
2641
                    }
2642
                }
2643
                
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);
2644
            }
2645
            mercyaddcon = 1;
2646
            if (global.mercymod[myself] >= 20 && phase == 2)
2647
                flowery_blowkiss_scene_con = 1;
2648
        }
2649
        else
2650
        {
2651
            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"
);
2652
            
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");
2653
            if (simulordersus == 0)
2654
                actconsus = 20;
2655
            else
2656
                actconsus = 0;
2657
        }
2658
        
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);
2659
        mercyaddcon = 1;
2660
    }
2661
    if (actingral == 1 && actconral == 1)
2662
    {
2663
        var rand = choose(0, 1, 2, 3);
2664
        if (rand == 0)
2665
            
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);
2666
        if (rand == 1)
2667
            
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);
2668
        if (rand == 2)
2669
            
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);
2670
        if (rand == 3)
2671
            
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);
2672
        with (obj_heroralsei)
2673
        {
2674
            
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; }
();
2675
            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; }
();
2676
            a.hspeed = 2.5;
2677
            a.depth = depth + 1;
2678
            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; }
();
2679
            b.image_alpha = 0.6;
2680
            b.hspeed = 5;
2681
            b.depth = depth + 2;
2682
        }
2683
        if (global.actsimulral[myself][0] == 0)
2684
        {
2685
            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"
);
2686
            actcon = 1;
2687
            actconral = 0;
2688
            actingral = 1.1;
2689
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
2690
            if (global.hp[1] < 1 && global.hp[2] < 1)
2691
            {
2692
                if (NOOO_MERCY == false)
2693
                {
2694
                    if (phase == 3)
2695
                    {
2696
                        aqua_mercy += 50;
2697
                        with (aqua_marker)
2698
                        {
2699
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2700
                            __mercydmgwriter.damage = 50;
2701
                            __mercydmgwriter.type = 5;
2702
                        }
2703
                        purple_mercy += 50;
2704
                        with (purple_marker)
2705
                        {
2706
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2707
                            __mercydmgwriter.damage = 50;
2708
                            __mercydmgwriter.type = 5;
2709
                        }
2710
                    }
2711
                    if (phase == 4)
2712
                    {
2713
                        orange_mercy += 50;
2714
                        with (orange_marker)
2715
                        {
2716
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2717
                            __mercydmgwriter.damage = 50;
2718
                            __mercydmgwriter.type = 5;
2719
                        }
2720
                        green_mercy += 50;
2721
                        with (green_marker)
2722
                        {
2723
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2724
                            __mercydmgwriter.damage = 50;
2725
                            __mercydmgwriter.type = 5;
2726
                        }
2727
                    }
2728
                }
2729
                
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);
2730
            }
2731
            else if (global.hp[1] < 1 || global.hp[2] < 1)
2732
            {
2733
                if (NOOO_MERCY == false)
2734
                {
2735
                    if (phase == 3)
2736
                    {
2737
                        aqua_mercy += 30;
2738
                        with (aqua_marker)
2739
                        {
2740
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2741
                            __mercydmgwriter.damage = 30;
2742
                            __mercydmgwriter.type = 5;
2743
                        }
2744
                        purple_mercy += 30;
2745
                        with (purple_marker)
2746
                        {
2747
                            __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
2748
                            __mercydmgwriter.damage = 30;
2749
                            __mercydmgwriter.type = 5;
2750
                        }
2751
                    }
2752
                    if (phase == 4)
2753
                    {
2754
                        orange_mercy += 30;
2755
                        with (orange_marker)
2756
                        {
2757
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2758
                            __mercydmgwriter.damage = 30;
2759
                            __mercydmgwriter.type = 5;
2760
                        }
2761
                        green_mercy += 30;
2762
                        with (green_marker)
2763
                        {
2764
                            __mercydmgwriter = instance_create(x, y + 20, obj_dmgwriter);
2765
                            __mercydmgwriter.damage = 30;
2766
                            __mercydmgwriter.type = 5;
2767
                        }
2768
                    }
2769
                }
2770
                
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);
2771
            }
2772
            mercyaddcon = 1;
2773
            if (global.mercymod[myself] >= 20 && phase == 2)
2774
                flowery_blowkiss_scene_con = 1;
2775
        }
2776
        else
2777
        {
2778
            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"
);
2779
            
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");
2780
            if (simulorderral == 0)
2781
                actconral = 20;
2782
            else
2783
                actconral = 0;
2784
        }
2785
        
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);
2786
        mercyaddcon = 1;
2787
    }
2788
    if (actcon == 20 || actconsus == 20 || actconral == 20)
2789
    {
2790
        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; }
())
2791
        {
2792
            actconsus = -1;
2793
            actconral = -1;
2794
            actcon = 1;
2795
        }
2796
    }
2797
    if (actcon == 1 && !instance_exists(obj_writer))
2798
    {
2799
        if (state == 10 && (sprite_index == spr_flowery_blown || sprite_index == spr_flowery_blown2))
2800
            sprite_index = spr_flowery_idle3;
2801
        if (actingsus == 1)
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; } } }
("susie");
2803
        if (actingral == 1)
2804
            
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");
2805
        if (actingsus == 1.1)
2806
            
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");
2807
        if (actingral == 1.1)
2808
            
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");
2809
        if (phase == 1 || phase == 3 || phase == 4 || phase == 5)
2810
        {
2811
            
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");
2812
            
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");
2813
            
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");
2814
            
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; } } }
();
2815
            sprite_index = spr_flowery_idle3;
2816
            image_speed = 0.16666666666666666;
2817
            with (orange_marker)
2818
                sprite_index = spr_enemy_orange_flowery_angry;
2819
        }
2820
        if (flowery_blowkiss_scene_con == 1)
2821
        {
2822
        }
2823
        else
2824
        {
2825
            with (floradin_marker)
2826
                
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);
2827
            with (leafling_marker)
2828
                
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);
2829
            with (kawkaw_marker)
2830
                
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);
2831
            with (shi_marker)
2832
                
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);
2833
            with (shinobeetle_marker)
2834
                
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);
2835
        }
2836
        state = 0;
2837
        
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();
} }
();
2838
    }
2839
}
2840
if (state == 3)
2841
    
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; } } }
();
2842
if (healingscenecon == 1)
2843
{
2844
    healingscenetimer++;
2845
    if (healingscenetimer == 1)
2846
    {
2847
        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"
);
2848
        global.typer = 50;
2849
        
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);
2850
    }
2851
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
2852
    {
2853
        healingscenetimer = 0;
2854
        healingscenecon = 2;
2855
        with (obj_writer)
2856
            instance_destroy();
2857
        snd_play(snd_bump);
2858
        with (obj_herosusie)
2859
            
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); }
();
2860
        with (obj_heroralsei)
2861
            
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); }
();
2862
        snd_play(snd_sussurprise);
2863
        sprite_set_offset(spr_susie_look_down, -5, -1);
2864
        sprite_set_offset(spr_ralsei_susie_lift_head_r, -6, -5);
2865
        
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);
2866
        
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);
2867
        msgsetloc(0, 
...Wait for inputClose Message
".../%", "obj_flowery_enemy_slash_Step_0_gml_1982_0"
);
2868
        global.typer = 75;
2869
        
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);
2870
        
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);
2871
    }
2872
}
2873
if (healingscenecon == 2)
2874
{
2875
    healingscenetimer++;
2876
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
2877
    {
2878
        healingscenetimer = 0;
2879
        healingscenecon = 3;
2880
        
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");
2881
        
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");
2882
    }
2883
}
2884
if (healingscenecon == 3)
2885
{
2886
    healingscenetimer++;
2887
    if (healingscenetimer == 1)
2888
    {
2889
        
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);
2890
        with (obj_herosusie)
2891
            image_index = 5;
2892
        if (global.flag[1873] >= 2)
2893
        {
2894
            var _cost = 0;
2895
            if (global.flag[1045 susie_heal_practice] == 0)
2896
                _cost = 200;
2897
            if (global.flag[1045 susie_heal_practice] == 1)
2898
                _cost = 197.5;
2899
            if (global.flag[1045 susie_heal_practice] == 2)
2900
                _cost = 197.5;
2901
            if (global.flag[1045 susie_heal_practice] == 3)
2902
                _cost = 197.5;
2903
            if (global.flag[1045 susie_heal_practice] == 4)
2904
                _cost = 195;
2905
            if (global.flag[1045 susie_heal_practice] == 5)
2906
                _cost = 195;
2907
            if (global.flag[1045 susie_heal_practice] == 6)
2908
                _cost = 195;
2909
            if (global.flag[1045 susie_heal_practice] == 7)
2910
                _cost = 192.5;
2911
            if (global.flag[1045 susie_heal_practice] == 8)
2912
                _cost = 192.5;
2913
            if (global.flag[1045 susie_heal_practice] == 9)
2914
                _cost = 192.5;
2915
            if (global.flag[1045 susie_heal_practice] == 10)
2916
                _cost = 190;
2917
            if (global.flag[1045 susie_heal_practice] == 11)
2918
                _cost = 190;
2919
            if (global.flag[1045 susie_heal_practice] == 12)
2920
                _cost = 190;
2921
            if (global.flag[1045 susie_heal_practice] == 13)
2922
                _cost = 187.5;
2923
            if (global.flag[1045 susie_heal_practice] == 14)
2924
                _cost = 187.5;
2925
            if (global.flag[1045 susie_heal_practice] >= 15)
2926
                _cost = 187.5;
2927
            global.tension -= _cost;
2928
            if (global.tension < 0)
2929
                global.tension = 0;
2930
        }
2931
    }
2932
    if (healingscenetimer == 11)
2933
    {
2934
        inst = instance_create(obj_herosusie.x + 52, obj_herosusie.y + 28, obj_susie_heal_projectile);
2935
        inst.gravity = 1;
2936
        inst.gravity_direction = 0;
2937
        inst.image_xscale = 3;
2938
        inst.image_yscale = 3;
2939
        inst.image_speed = 1;
2940
        snd_stop(snd_chargeshot_charge);
2941
        snd_play_x(snd_heartshot_dr_b, 1, 0.4);
2942
    }
2943
    if (healingscenetimer == 37)
2944
    {
2945
        with (obj_susie_heal_projectile)
2946
        {
2947
            anim = instance_create(x + 30 + 12, y + 9, obj_animation);
2948
            anim.sprite_index = spr_healing_sparkle;
2949
            anim.image_xscale = 2;
2950
            anim.image_yscale = 2;
2951
            instance_destroy();
2952
        }
2953
        with (obj_flowery_enemy)
2954
        {
2955
            ha = instance_create(x, y, obj_healanim);
2956
            ha.target = id;
2957
            caster = 1;
2958
            global.monsterhp[myself] = global.monstermaxhp[myself];
2959
            instance_create_depth(x, y + 50, depth - 10, obj_dmgwriter);
2960
            with (obj_dmgwriter)
2961
            {
2962
                delay = 4;
2963
                caster = 1;
2964
                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])));
2965
                type = 3;
2966
                image_index = 2;
2967
                image_blend = c_lime;
2968
                image_speed = 0;
2969
            }
2970
            if (global.hp[3] < 1)
2971
            {
2972
                with (obj_dmgwriter)
2973
                    typeb = 3;
2974
            }
2975
            snd_stop(snd_power);
2976
            snd_play(snd_power);
2977
        }
2978
        with (obj_battlecontroller)
2979
            disablesusieralseiattack = true;
2980
        
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");
2981
    }
2982
    if (healingscenetimer == 57)
2983
    {
2984
        if (global.flag[1873] < 3)
2985
        {
2986
            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"
);
2987
            global.typer = 75;
2988
            
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);
2989
            
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);
2990
            healingscenecon = 3.5;
2991
            healingscenetimer = 0;
2992
        }
2993
        else
2994
        {
2995
            healingscenecon = 4;
2996
            healingscenetimer = 0;
2997
        }
2998
        if (global.hp[3] < 1)
2999
            healingscenecon = 9;
3000
    }
3001
}
3002
if (healingscenecon == 3.5)
3003
{
3004
    healingscenetimer++;
3005
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3006
    {
3007
        with (obj_writer)
3008
            instance_destroy();
3009
        healingscenecon = 4;
3010
        healingscenetimer = 0;
3011
    }
3012
}
3013
if (healingscenecon == 4)
3014
{
3015
    healingscenetimer++;
3016
    if (healingscenetimer == 1)
3017
    {
3018
        if (global.flag[1873] >= 2)
3019
        {
3020
            var _cost = 80;
3021
            global.tension -= _cost;
3022
            if (global.tension < 0)
3023
                global.tension = 0;
3024
        }
3025
        
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);
3026
    }
3027
    if (healingscenetimer == 6)
3028
    {
3029
        with (obj_flowery_enemy)
3030
        {
3031
            ha = instance_create(x, y, obj_healanim);
3032
            ha.target = id;
3033
            instance_create_depth(x, y + 30, depth - 10, obj_dmgwriter);
3034
            with (obj_dmgwriter)
3035
            {
3036
                delay = 4;
3037
                caster = 2;
3038
                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));
3039
                type = 3;
3040
                image_index = 2;
3041
                image_blend = c_lime;
3042
                image_speed = 0;
3043
            }
3044
            with (obj_dmgwriter)
3045
                typeb = 3;
3046
            snd_stop(snd_power);
3047
            snd_play(snd_power);
3048
        }
3049
    }
3050
    if (healingscenetimer >= 20)
3051
    {
3052
        force_hurt_sprite = false;
3053
        healingscenetimer = 0;
3054
        healingscenecon = 0;
3055
        if (global.flag[1873] == 1)
3056
            healingscenecon = 5;
3057
    }
3058
}
3059
if (healingscenecon == 5)
3060
{
3061
    if (i_ex(obj_heroralsei))
3062
    {
3063
        global.typer = 50;
3064
        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"
);
3065
        
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);
3066
        with (obj_battleblcon)
3067
            flowery_float = true;
3068
    }
3069
    healingscenecon = 6;
3070
}
3071
if (healingscenecon == 6)
3072
{
3073
    healingscenetimer++;
3074
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3075
    {
3076
        with (obj_writer)
3077
            instance_destroy();
3078
        if (i_ex(obj_heroralsei))
3079
        {
3080
            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"
);
3081
            global.typer = 74;
3082
            
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);
3083
            
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);
3084
        }
3085
        healingscenetimer = 0;
3086
        healingscenecon = 7;
3087
    }
3088
}
3089
if (healingscenecon == 7)
3090
{
3091
    healingscenetimer++;
3092
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3093
    {
3094
        with (obj_writer)
3095
            instance_destroy();
3096
        if (i_ex(obj_heroralsei))
3097
        {
3098
            msgsetloc(0, 
Beat you
my way!Wait for inputClose Message
"Beat you&my way!/%", "obj_flowery_enemy_slash_Step_0_gml_2185_0"
);
3099
            global.typer = 74;
3100
            
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);
3101
            
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);
3102
        }
3103
        healingscenetimer = 0;
3104
        healingscenecon = 8;
3105
    }
3106
}
3107
if (healingscenecon == 8)
3108
{
3109
    healingscenetimer++;
3110
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3111
    {
3112
        with (obj_writer)
3113
            instance_destroy();
3114
        if (i_ex(obj_heroralsei))
3115
        {
3116
            idlesprite = spr_flowery_shake_head;
3117
            image_speed = 1/3;
3118
            global.typer = 50;
3119
            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"
);
3120
            
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);
3121
            with (obj_battleblcon)
3122
                flowery_float = true;
3123
        }
3124
        healingscenetimer = 0;
3125
        healingscenecon = 9;
3126
    }
3127
}
3128
if (healingscenecon == 9)
3129
{
3130
    healingscenetimer++;
3131
    if ((button3_p() && healingscenetimer > 15) || !i_ex(obj_writer))
3132
    {
3133
        with (obj_writer)
3134
            instance_destroy();
3135
        if (cannot_fight_text_used == false)
3136
        {
3137
            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"
);
3138
            if (phase == 6)
3139
                msgsetloc(0, 
* (Susie cannot FIGHT anymore.)Wait for inputClose Message
"* (Susie cannot FIGHT anymore.)/%", "obj_flowery_enemy_slash_Step_0_gml_2725_0"
);
3140
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
3141
        }
3142
        cannot_fight_text_used = true;
3143
        healingscenetimer = 0;
3144
        healingscenecon = 10;
3145
    }
3146
}
3147
if (healingscenecon == 10 && !i_ex(obj_writer))
3148
{
3149
    if (green_and_orange_enter == 2)
3150
        orange_marker.y -= 14;
3151
    idlesprite = spr_flowery_idle3;
3152
    image_speed = 0.16666666666666666;
3153
    healingscenetimer = 0;
3154
    healingscenecon = 0;
3155
    force_hurt_sprite = false;
3156
}
3157
if (flowery_blowkiss_scene_con == 1 && !i_ex(obj_writer) && global.myfight == -1 && healingscenecon == 0)
3158
{
3159
    state = 0;
3160
    global.typer = 50;
3161
    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"
);
3162
    
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);
3163
    with (obj_battleblcon)
3164
        flowery_float = true;
3165
    flowery_blowkiss_scene_con = 2;
3166
}
3167
if (flowery_blowkiss_scene_con == 2)
3168
{
3169
    flowery_blowkiss_scene_timer++;
3170
    if ((button3_p() && flowery_blowkiss_scene_timer > 15) || !i_ex(obj_writer))
3171
    {
3172
        with (obj_writer)
3173
            instance_destroy();
3174
        global.typer = 50;
3175
        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"
);
3176
        
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);
3177
        with (obj_battleblcon)
3178
            flowery_float = true;
3179
        flowery_blowkiss_scene_timer = 0;
3180
        flowery_blowkiss_scene_con = 3;
3181
    }
3182
}
3183
if (flowery_blowkiss_scene_con == 3)
3184
{
3185
    flowery_blowkiss_scene_timer++;
3186
    if ((button3_p() && flowery_blowkiss_scene_timer > 15) || !i_ex(obj_writer))
3187
    {
3188
        with (obj_writer)
3189
            instance_destroy();
3190
        flowery_blowkiss_scene_timer = 0;
3191
        flowery_blowkiss_scene_con = 4;
3192
    }
3193
}
3194
if (flowery_blowkiss_scene_con == 4)
3195
{
3196
    flowery_blowkiss_scene_timer++;
3197
    if (flowery_blowkiss_scene_timer < 100)
3198
    {
3199
        sprite_index = spr_flowery_kiss;
3200
        acting = 0;
3201
        state = 10;
3202
        mercyaddcon = 0;
3203
    }
3204
    if (flowery_blowkiss_scene_timer == 1)
3205
    {
3206
        state = 10;
3207
        sprite_index = spr_flowery_kiss;
3208
        image_speed = 0.16666666666666666;
3209
        image_index = 0;
3210
        snd_play_flowery(741);
3211
        speed = 4;
3212
        direction = 0;
3213
        friction = 0.5;
3214
        snd_play(snd_wing, 1, 0.8);
3215
    }
3216
    if (flowery_blowkiss_scene_timer == 9)
3217
    {
3218
        speed = 10;
3219
        direction = 180;
3220
        friction = 0.5;
3221
        snd_play(snd_wing, 1, 1.2);
3222
        snd_play(snd_strongwind_loop, 0.1, 1.2);
3223
        snd_volume(snd_strongwind_loop, 2, 5);
3224
    }
3225
    if (flowery_blowkiss_scene_timer == 12)
3226
    {
3227
        image_speed = 0;
3228
        image_index = 3;
3229
    }
3230
    if (flowery_blowkiss_scene_timer == 40)
3231
    {
3232
        image_speed = 0;
3233
        image_index = 3;
3234
        with (obj_herokris)
3235
        {
3236
            sprite_index = spr_krisb_hurt;
3237
            state = 8;
3238
        }
3239
        with (obj_herosusie)
3240
        {
3241
            sprite_index = spr_susieb_hurt;
3242
            state = 8;
3243
        }
3244
        with (obj_heroralsei)
3245
        {
3246
            sprite_index = spr_ralsei_hurt_fixed;
3247
            state = 8;
3248
        }
3249
        if (floradinn_recruited)
3250
        {
3251
            with (floradin_marker)
3252
            {
3253
                sprite_index = spr_floradin_hurt;
3254
                image_xscale *= -1;
3255
                x += 67;
3256
                xstart = x;
3257
                y -= 4;
3258
            }
3259
        }
3260
        if (leafling_recruited)
3261
        {
3262
            with (leafling_marker)
3263
            {
3264
                sprite_index = spr_leafling_hurt;
3265
                image_xscale *= -1;
3266
                x += 50;
3267
                xstart = x;
3268
            }
3269
        }
3270
        if (kawkaw_recruited)
3271
        {
3272
            with (kawkaw_marker)
3273
            {
3274
                sprite_index = spr_kawkaw_hurt;
3275
                image_xscale *= -1;
3276
                x += 80;
3277
                xstart = x;
3278
            }
3279
        }
3280
    }
3281
    if (flowery_blowkiss_scene_timer >= 40 && flowery_blowkiss_scene_timer < 100)
3282
    {
3283
        with (obj_heroparent)
3284
            x = (xstart - 2) + irandom(4);
3285
        if (floradinn_recruited)
3286
        {
3287
            with (floradin_marker)
3288
                x = (xstart - 2) + irandom(4);
3289
        }
3290
        if (leafling_recruited)
3291
        {
3292
            with (leafling_marker)
3293
                x = (xstart - 2) + irandom(4);
3294
        }
3295
        if (kawkaw_recruited)
3296
        {
3297
            with (kawkaw_marker)
3298
                x = (xstart - 2) + irandom(4);
3299
        }
3300
    }
3301
    if (flowery_blowkiss_scene_timer >= 20 && flowery_blowkiss_scene_timer < 90)
3302
    {
3303
        repeat (1)
3304
            drop_petal(x + 8, y + 44, true, 0, 1);
3305
    }
3306
    if (flowery_blowkiss_scene_timer == 60)
3307
    {
3308
        snd_volume(snd_strongwind_loop, 0, 30);
3309
        if (floradinn_recruited)
3310
        {
3311
            with (floradin_marker)
3312
            {
3313
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3314
                spareanim.sprite_index = sprite_index;
3315
                spareanim.sprite_index = spr_enemy_floradin_spared;
3316
                spareanim.image_xscale = image_xscale;
3317
                spareanim.image_index = 0;
3318
                spareanim.image_yscale = image_yscale;
3319
                instance_destroy();
3320
            }
3321
        }
3322
        if (leafling_recruited)
3323
        {
3324
            with (leafling_marker)
3325
            {
3326
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3327
                spareanim.sprite_index = sprite_index;
3328
                spareanim.sprite_index = spr_leafling_spare2;
3329
                spareanim.image_xscale = image_xscale;
3330
                spareanim.image_index = 0;
3331
                spareanim.image_yscale = image_yscale;
3332
                instance_destroy();
3333
            }
3334
        }
3335
        if (kawkaw_recruited)
3336
        {
3337
            with (kawkaw_marker)
3338
            {
3339
                spareanim = instance_create(x, y, obj_spareanim_flowery);
3340
                spareanim.sprite_index = sprite_index;
3341
                spareanim.sprite_index = spr_kakaw_bobhead;
3342
                spareanim.image_xscale = image_xscale;
3343
                spareanim.image_index = 0;
3344
                spareanim.image_yscale = image_yscale;
3345
                instance_destroy();
3346
            }
3347
        }
3348
        snd_play_x(snd_mercyadd, 0.8, 1);
3349
        with (obj_heroparent)
3350
        {
3351
            if (object_index != obj_herokris)
3352
            {
3353
                __mercydmgwriter = instance_create(x, y + 40, obj_dmgwriter);
3354
                __mercydmgwriter.damage = 10;
3355
                __mercydmgwriter.type = 5;
3356
                mercy += 10;
3357
                mercycon = 1;
3358
            }
3359
        }
3360
    }
3361
    if (flowery_blowkiss_scene_timer == 100)
3362
    {
3363
        snd_stop(snd_strongwind_loop);
3364
        
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);
3365
        with (obj_heroparent)
3366
        {
3367
            x = xstart;
3368
            state = 0;
3369
        }
3370
    }
3371
    if (flowery_blowkiss_scene_timer == 103)
3372
    {
3373
        x = xstart;
3374
        y = ystart;
3375
        sprite_index = idlesprite;
3376
        image_speed = 0.16666666666666666;
3377
        state = 0;
3378
    }
3379
    if (flowery_blowkiss_scene_timer == 105)
3380
    {
3381
        phase = 3;
3382
        phaseturn = 0;
3383
        blowawaybattlemsg = true;
3384
        flowery_blowkiss_scene_timer = 0;
3385
        flowery_blowkiss_scene_con = 0;
3386
    }
3387
}
3388
if (endcon == 1)
3389
{
3390
    endtimer++;
3391
    if (endtimer == 30)
3392
    {
3393
        endtimer = 0;
3394
        endcon = 2;
3395
    }
3396
}
3397
if (defensedowntimer > 0)
3398
{
3399
    defensedowntimer--;
3400
    if ((defensedowntimer % 7) == 0)
3401
    {
3402
        with (obj_heroparent)
3403
        {
3404
            var _x = 10 + irandom(70);
3405
            var _y = 10 + irandom(80);
3406
            if (object_index == obj_herosusie)
3407
            {
3408
                _x = 10 + irandom(70);
3409
                _y = 10 + irandom(80);
3410
            }
3411
            if (object_index == obj_heroralsei)
3412
            {
3413
                _x = 10 + irandom(70);
3414
                _y = 10 + irandom(80);
3415
            }
3416
            inst = instance_create(x + _x, y + _y, obj_afterimage);
3417
            inst.sprite_index = spr_rhythmgame_editor_arrow;
3418
            inst.image_blend = c_red;
3419
            inst.image_index = 0;
3420
            inst.image_angle = 270;
3421
            inst.image_speed = 0;
3422
            inst.image_xscale = 2;
3423
            inst.image_yscale = 2;
3424
            inst.vspeed = 6;
3425
            inst.friction = 0.3;
3426
            inst.fadeSpeed = 0.1;
3427
        }
3428
    }
3429
}
3430
if (mercyaddcon == 1)
3431
{
3432
    mercyaddtimer++;
3433
    if (mercyaddtimer == 1)
3434
    {
3435
        snd_stop(snd_whistlebreath);
3436
        snd_play_x(snd_whistlebreath, 1, 1 + (presstimer / 100));
3437
        state = 10;
3438
        image_speed = 0;
3439
        image_index = 0.5;
3440
        sprite_index = spr_flowery_blown2;
3441
        blown = 1;
3442
        blowanimtimer = 20;
3443
        onoff = 0;
3444
        shakeamt = 5;
3445
        repeat (6)
3446
        {
3447
            dustparticle = instance_create(x + random(sprite_width - 40) + 2, y + 20 + random(sprite_height - 20), obj_animation);
3448
            with (dustparticle)
3449
            {
3450
                sprite_index = spr_rabbick_dustorb;
3451
                speed = 6;
3452
                image_index = 1;
3453
                direction = 10 + random(70);
3454
                image_speed = 0.5;
3455
                image_xscale = 2;
3456
                image_yscale = 2;
3457
                gravity_direction = 0;
3458
                gravity = 0.7;
3459
                friction = 0.4;
3460
                image_alpha = 0.5;
3461
                depth = 15;
3462
            }
3463
            with (dustparticle)
3464
            {
3465
                image_alpha = 1;
3466
                depth = -10;
3467
            }
3468
        }
3469
    }
3470
    if (mercyaddtimer >= 10)
3471
    {
3472
        mercyaddtimer = 0;
3473
        mercyaddcon = 0;
3474
        state = 0;
3475
        sprite_index = spr_flowery_idle3;
3476
        image_speed = 0.16666666666666666;
3477
    }
3478
}
3479
if (aqua_and_purple_enter == 1)
3480
{
3481
    NOOO_MERCY = false;
3482
    with (purple_marker)
3483
        
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");
3484
    with (aqua_marker)
3485
        
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");
3486
    with (aqua_marker)
3487
        scr_delay_var("sprite_index", 6109, 22);
3488
    with (aqua_marker)
3489
        scr_delay_var("image_speed", 0.16666666666666666, 22);
3490
    aqua_and_purple_enter = 2;
3491
}
3492
if (orange_jump_con == 1)
3493
{
3494
    NOOO_MERCY = false;
3495
    orange_jump_timer++;
3496
    if (i_ex(orange_marker))
3497
    {
3498
        orange_marker.x = lerp(xstart + 150, camerax() + 494, orange_jump_timer / 5);
3499
        orange_marker.y = lerp(ystart - 80, cameray() + 90, orange_jump_timer / 5);
3500
    }
3501
    if (orange_jump_timer >= 5)
3502
    {
3503
        orange_jump_timer = 0;
3504
        orange_jump_con = 0;
3505
        with (orange_marker)
3506
        {
3507
            xstart = x;
3508
            ystart = y;
3509
        }
3510
    }
3511
}
3512
if (green_and_orange_enter == 1 && debugtimer < 1)
3513
{
3514
    NOOO_MERCY = false;
3515
    orange_jump_con = 1;
3516
    with (green_marker)
3517
        
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");
3518
    green_and_orange_enter = 2;
3519
}
3520
if (yellow_and_blue_enter == 1 && debugtimer < 1)
3521
{
3522
    NOOO_MERCY = false;
3523
    with (orange_marker)
3524
        sprite_index = spr_nothing;
3525
    yellow_and_blue_enter_timer++;
3526
    if (yellow_and_blue_enter_timer == 1)
3527
    {
3528
        with (blue_marker)
3529
            
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");
3530
    }
3531
    if (yellow_and_blue_enter_timer < 13)
3532
    {
3533
        with (yellow_marker)
3534
            y = lerp((cameray() + 160) - 600, cameray() + 160, other.yellow_and_blue_enter_timer / 12);
3535
    }
3536
    if (yellow_and_blue_enter_timer < 14)
3537
    {
3538
        with (yellow_marker)
3539
        {
3540
            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))
3541
                image_alpha = 0.6;
3542
        }
3543
    }
3544
    if (yellow_and_blue_enter_timer == 13)
3545
    {
3546
        with (yellow_marker)
3547
            sprite_index = spr_yellow_cool_landing;
3548
        snd_play(snd_whack_absurdlyloud, 0.2, 0.8);
3549
        with (yellow_marker)
3550
        {
3551
            anim = instance_create(bbox_left, bbox_bottom, obj_animation);
3552
            with (anim)
3553
            {
3554
                sprite_index = spr_plat_impact_shatter;
3555
                hspeed = 6;
3556
                friction = 0.4;
3557
                image_speed = 0.5;
3558
                
scr_darksize
scr_darksize

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