Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queen_enemy_Step_0

(view raw script w/o annotations or w/e)
1
if (global.monster[myself] == 1)
2
{
3
    if (actcon == 36 && alarm[4]
 > 17)
gml_Object_obj_queen_enemy_Alarm_4.gml

actcon += 1;
4
    {
5
        siner2 = 0;
6
    }
7
    else
8
    {
9
        siner2++;
10
        y += sin(siner2 / 8);
11
    }
12
    if (endcon == 0)
13
    {
14
        if (instance_exists(obj_queen_battlesolid_wine) || instance_exists(obj_queen_wineglass) || instance_exists(obj_queenshield_intro))
15
            idlesprite = spr_queen_chair_1_battle;
16
        else
17
            idlesprite = spr_queen_chair_1_old;
18
    }
19
    if (init == 0)
20
    {
21
        init = 1;
22
        global.typer = 70;
23
        global.charturn = 3;
24
        msgsetloc(0, 
Ah My Sweet
Idiot ChildrenWait for inputClose Message
"Ah My Sweet&Idiot Children/%", "obj_queen_enemy_slash_Step_0_gml_12_0"
);
25
        
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
26
        ballooncon = 15;
27
        balloonend = 0;
28
        talked = 0.6;
29
        talktimer = 0;
30
    }
31
    if (instance_exists(obj_queenshield_enemy))
32
    {
33
        obj_queenshield_enemy.queenhandx = x + 32;
34
        obj_queenshield_enemy.queenhandy = y + 10;
35
    }
36
    if (shieldbrokecon == 1)
37
    {
38
        if (
scr_sideb_get_phase
scr_sideb_get_phase

function
scr_sideb_get_phase()
{ var phase = 0; if (global.flag[916 snowgrave_fail] == 0) { if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4) phase = 1; if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7) phase = 2; if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20) phase = 3; if (global.flag[915 snowgrave_plot] >= 20) phase = 4; } return phase; }
() < 1)
39
        {
40
            var a = choose(0, 1, 2);
41
            if (a == 0)
42
                snd_play(snd_queen_hoot_0);
43
            if (a == 1)
44
                snd_play(snd_queen_hoot_1);
45
            if (a == 2)
46
                snd_play(snd_queen_hoot_2);
47
        }
48
        if (shieldjustbroke == 1)
49
            shieldjustbroke = 0;
50
        sprite_index = spr_queen_hurt;
51
        if (hspeed == 0)
52
        {
53
            hspeed = 20;
54
            x = xstart;
55
            remx = x;
56
        }
57
        else
58
        {
59
            if (hspeed < 0)
60
                hspeed = 0;
61
            hspeed += 20;
62
            if (hspeed > 28)
63
                hspeed = 28;
64
        }
65
        image_speed = 0.4;
66
        shieldbrokecon = 2;
67
    }
68
    if (shieldbrokecon == 2)
69
    {
70
        hspeed -= 2;
71
        if (x <= (remx - hspeed) && hspeed < -5)
72
        {
73
            x = remx;
74
            shieldbrokecon = 0;
75
            hspeed = 0;
76
            sprite_index = spr_queen_drunk;
77
            image_speed = 0.16666666666666666;
78
        }
79
    }
80
    if (wineglasscon == 1)
81
    {
82
        with (obj_queenshield_enemy)
83
            appearcon = 2;
84
        with (obj_queen_battlesolid_wine)
85
            instance_destroy();
86
        wineglass = instance_create(x + 29, y + 10, obj_queen_battlesolid_wine);
87
        obj_queen_battlesolid_wine.nofill = 1;
88
        instance_create(x + 10, y, obj_queen_wine_shine);
89
        winetimer = 0;
90
        wineglasscon = 2;
91
        sprite_index = spr_queen_throw_wineglass;
92
    }
93
    if (wineglasscon == 2)
94
    {
95
        wineglass.y += sin(siner2 / 8);
96
        winetimer++;
97
        if (winetimer >= 30)
98
        {
99
            wineglass._idealx = camerax() + 320;
100
            wineglass._idealy = cameray() + 228;
101
            wineglass._remx = wineglass.x;
102
            wineglass._remy = wineglass.y;
103
            sprite_index = spr_queen_drunk;
104
            image_speed = 0.16666666666666666;
105
            wineglasscon = 3;
106
            winetimer = 0;
107
        }
108
    }
109
    if (wineglasscon == 3)
110
    {
111
        winetimer++;
112
        var movetimer = winetimer;
113
        with (wineglass)
114
        {
115
            after = instance_create(x, y, obj_afterimage);
116
            after.x = x;
117
            after.y = y;
118
            after.image_speed = 0;
119
            after.image_xscale = image_xscale;
120
            after.image_yscale = image_yscale;
121
            after.sprite_index = sprite_index;
122
            after.depth = depth + 1;
123
            after.image_blend = c_lime;
124
            x = lerp(_remx, _idealx, movetimer / 15);
125
            y = lerp(_remy, _idealy, movetimer / 15);
126
            image_xscale = lerp(0.4, 2, movetimer / 15);
127
            image_yscale = lerp(0.6, 2, movetimer / 15);
128
        }
129
        if (winetimer >= 15)
130
        {
131
            wineglasscon = 0;
132
            with (obj_queen_bulletcontroller)
133
                init = 3;
134
            with (obj_queen_wineglass)
135
                visible = true;
136
            with (obj_queen_battlesolid_wine)
137
                instance_destroy();
138
        }
139
    }
140
    if (wineglasscon == 10)
141
    {
142
        winetimer++;
143
        sprite_index = spr_queen_throw_wineglass;
144
        if (winetimer == 1)
145
        {
146
            if (!instance_exists(obj_queen_battlesolid_wine))
147
                wineglass = instance_create(x + 35, y + 13, obj_queen_battlesolid_wine);
148
            obj_queen_battlesolid_wine.image_angle = -20;
149
        }
150
        if (winetimer <= 15)
151
        {
152
            instance_create(x + 35, y + 13, obj_queen_drink_droplet);
153
            droplet = instance_create(x + 35, y + 13, obj_queen_drink_droplet);
154
            droplet.offset = 0.033;
155
        }
156
        if (winetimer == 25)
157
        {
158
            wineglasscon = 0;
159
            obj_queen_battlesolid_wine.image_angle = 0;
160
            sprite_index = spr_queen_chair_1_old;
161
        }
162
    }
163
    if (intro == 2 && !i_ex(obj_writer))
164
    {
165
        intro = 0;
166
        global.charturn = 0;
167
    }
168
    global.mercymod[myself] = 0;
169
    if (i_ex(obj_battlecontroller))
170
    {
171
        if (y > (cameray() + 100))
172
            depth = obj_battlecontroller.depth + 1;
173
        else
174
            depth = obj_battlecontroller.depth - 1;
175
    }
176
    if (instance_exists(obj_berdlyplug_enemy))
177
        event_user(1);
178
    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 && turn > 14)
179
    {
180
        if (global.monsterdf[myself] > -25)
181
            global.monsterdf[myself] -= 5;
182
    }
183
    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 && global.monsterhp[myself] <= 0) || (
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 && bardlymercy > 99) || (talked == -1 && endcon == 0))
184
    {
185
        talked = -1;
186
        wintimer++;
187
        if (bardlymercy > 99)
188
        {
189
            if (wintimer == 1)
190
                sprite_index = spr_queen_chair_1_old;
191
            if (wintimer == 90)
192
                endcon = 1;
193
        }
194
        else
195
        {
196
            if (wintimer == 30)
197
                sprite_index = spr_queen_chair_1_old;
198
            if (wintimer == 90)
199
                endcon = 1;
200
        }
201
    }
202
    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)
203
    {
204
        with (obj_queen_enemy)
205
            event_user(2);
206
    }
207
    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 && instance_exists(obj_queenshield_enemy))
208
    {
209
        alarm[5]
 = 30;
gml_Object_obj_queen_enemy_Alarm_5.gml

talked = 0.5;
210
        talked = 0.4;
211
        if (shieldhp <= 5 || shieldacthp < 1)
212
        {
213
            with (obj_queenshield_enemy)
214
            {
215
                shieldhurt = 2;
216
                shieldhurttimer = 0;
217
            }
218
            with (obj_queen_battlesolid_wine)
219
                instance_destroy();
220
            if (shieldhp <= 5 || shieldacthp < 1)
221
            {
222
                shieldhp = 0;
223
                shieldbrokecon = 1;
224
                shieldjustbroke = 1;
225
                sprite_index = spr_queen_drunk;
226
                snd_play(snd_queen_hoot_0);
227
            }
228
            if (phase == 4)
229
                usefinalattack = 1;
230
            shieldjustwentdown = 1;
231
        }
232
        else
233
        {
234
            with (obj_queenshield_enemy)
235
                appearcon = 2;
236
        }
237
    }
238
    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)
239
    {
240
        talked = 0.5;
241
        if (instance_exists(obj_queenshield_enemy))
242
        {
243
            obj_queenshield_enemy.turn++;
244
            if (obj_queenshield_enemy.turn > 1)
245
            {
246
                if (shieldhp > 0)
247
                    shieldhp -= ceil(shieldmaxhp * 0.1);
248
            }
249
        }
250
    }
251
    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.5)
252
    {
253
        
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; } }
();
254
        if (!instance_exists(obj_darkener))
255
            instance_create(0, 0, obj_darkener);
256
        if (aimact > 0)
257
            aimact -= 1;
258
        with (obj_heartmarker)
259
            instance_destroy();
260
        sprite_index = spr_queen_chair_1_old;
261
        state = 0;
262
        ballooncon = 0;
263
        balloonsubcon = 0;
264
        balloonend = 1;
265
        talkedcon = 0;
266
        ralseitalks = 0;
267
        susietalks = 0;
268
        attackdone = 0;
269
        rr = choose(0, 1, 2, 3);
270
        if (rr == 0)
271
            msgsetloc(0, 
(Regal Laughter)Wait for inputClose Message
"(Regal Laughter)/%", "obj_queen_enemy_slash_Step_0_gml_123_0"
);
272
        if (rr == 1)
273
            msgsetloc(0, 
Enjoy Your:
DestructionWait for inputClose Message
"Enjoy Your:&Destruction/%", "obj_queen_enemy_slash_Step_0_gml_124_0"
);
274
        if (rr == 2)
275
            msgsetloc(0, 
I'm ComputerWait for inputClose Message
"I'm Computer/%", "obj_queen_enemy_slash_Step_0_gml_125_0"
);
276
        if (rr == 3)
277
            msgsetloc(0, 
Perish Under
My Bosom Or
WhateverWait for inputClose Message
"Perish Under&My Bosom Or&Whatever/%", "obj_queen_enemy_slash_Step_0_gml_126_0"
);
278
        if (usefinalattack >= 1 && finalattackdialoguecon < 5)
279
        {
280
            if (finalattackdialoguecon == 0)
281
            {
282
                msgsetloc(0, 
Enough You Foolish
Children!Wait for inputClose Message
"Enough You Foolish&Children!/%", "obj_queen_enemy_slash_Step_0_gml_328_0"
);
283
                ballooncon = 22;
284
                balloonend = 0;
285
            }
286
            if (finalattackdialoguecon == 1)
287
                msgsetloc(0, 
So That Final Move
Was Supposed To Be
Cooler But The
Internet Is DownWait for inputClose Message
"So That Final Move&Was Supposed To Be&Cooler But The&Internet Is Down/%", "obj_queen_enemy_slash_Step_0_gml_329_0_b"
);
288
            if (finalattackdialoguecon == 2)
289
            {
290
                msgsetloc(0, 
Yeah My Final
Attack LikeWait for inputClose Message
"Yeah My Final&Attack Like/%", "obj_queen_enemy_slash_Step_0_gml_329_0"
);
291
                ballooncon = 25;
292
                balloonend = 0;
293
            }
294
            if (finalattackdialoguecon == 3)
295
                msgsetloc(0, 
It Would Have Been
A Really Sick
Final Attack Kris
You Would Have
Loved ItWait for inputClose Message
"It Would Have Been&A Really Sick&Final Attack Kris&You Would Have&Loved It/%", "obj_queen_enemy_slash_Step_0_gml_330_0"
);
296
            if (finalattackdialoguecon == 4)
297
                msgsetloc(0, 
Yeah Still Thinking
About That Move
HashtagFinalAttackWait for inputClose Message
"Yeah Still Thinking&About That Move&HashtagFinalAttack/%", "obj_queen_enemy_slash_Step_0_gml_331_0"
);
298
            finalattackdialoguecon++;
299
            if (balloonorder < 14)
300
                balloonorder = 14;
301
        }
302
        else if (drunk == 1 && drunkcount == 0 && balloonorder > 13)
303
        {
304
            drunkcount = 1;
305
            msgsetloc(0, 
Guys I Think I
Drank Too Much Of
This Battery Acid
(Ages 3 And Up)Wait for inputClose Message
"Guys I Think I&Drank Too Much Of&This Battery Acid&(Ages 3 And Up)/%", "obj_queen_enemy_slash_Step_0_gml_128_0"
);
306
        }
307
        else
308
        {
309
            if (balloonorder == 0)
310
            {
311
                msgsetloc(0, 
Queen,
think of the
Lightners!Wait for inputClose Message
"Queen,&think of the&Lightners!/%", "obj_queen_enemy_slash_Step_0_gml_131_0"
);
312
                ballooncon = 1;
313
                balloonend = 0;
314
                ralseitalks = 1;
315
            }
316
            if (balloonorder == 1)
317
                msgsetloc(0, 
Think! Lightners
Have Already Been
Enslaved By Me
And My KinWait for inputClose Message
"Think! Lightners&Have Already Been&Enslaved By Me&And My Kin/%", "obj_queen_enemy_slash_Step_0_gml_132_0"
);
318
            if (balloonorder == 2)
319
            {
320
                msgsetloc(0, 
Each Day They
Spend Hours
Worshipping
In Glowing RaptureWait for inputClose Message
"Each Day They&Spend Hours&Worshipping&In Glowing Rapture/%", "obj_queen_enemy_slash_Step_0_gml_133_0"
);
321
                ballooncon = 3;
322
                balloonend = 0;
323
            }
324
            if (balloonorder == 3)
325
            {
326
                msgsetloc(0, 
Staring, Tapping,
To Receive JoyWait for inputClose Message
"Staring, Tapping,&To Receive Joy/%", "obj_queen_enemy_slash_Step_0_gml_134_0"
);
327
                ballooncon = 4;
328
                balloonend = 0;
329
            }
330
            if (balloonorder == 4)
331
            {
332
                msgsetloc(0, 
... Until Recently,
When The Town's
Internet DisappearedWait for inputClose Message
"... Until Recently,&When The Town's&Internet Disappeared/%", "obj_queen_enemy_slash_Step_0_gml_135_0"
);
333
                ballooncon = 5;
334
                balloonend = 0;
335
            }
336
            if (balloonorder == 5)
337
            {
338
                msgsetloc(0, 
Noelle...
Then Who Will
Help Her?Wait for inputClose Message
"Noelle...&Then Who Will&Help Her?/%", "obj_queen_enemy_slash_Step_0_gml_136_0"
);
339
                ballooncon = 6;
340
                balloonend = 0;
341
            }
342
            if (balloonorder == 6)
343
            {
344
                msgsetloc(0, 
Is What I
Wondered, Until
The KNIGHT
appeared...Wait for inputClose Message
"Is What I&Wondered, Until&The KNIGHT&appeared.../%", "obj_queen_enemy_slash_Step_0_gml_137_0"
);
345
                ballooncon = 8;
346
                balloonend = 0;
347
            }
348
            if (balloonorder == 7)
349
            {
350
                msgsetloc(0, 
Now, The
Path Is ClearWait for inputClose Message
"Now, The&Path Is Clear/%", "obj_queen_enemy_slash_Step_0_gml_138_0"
);
351
                ballooncon = 9;
352
                balloonend = 0;
353
            }
354
            if (balloonorder == 8)
355
            {
356
                msgsetloc(0, 
Then With
The World
Covered In
DarknessWait for inputClose Message
"Then With&The World&Covered In&Darkness/%", "obj_queen_enemy_slash_Step_0_gml_139_0"
);
357
                ballooncon = 10;
358
                balloonend = 0;
359
            }
360
            if (balloonorder == 9)
361
            {
362
                msgsetloc(0, 
Instead, Everyone
Can Live In
My Perfect MansionWait for inputClose Message
"Instead, Everyone&Can Live In&My Perfect Mansion/%", "obj_queen_enemy_slash_Step_0_gml_140_0"
);
363
                ballooncon = 11;
364
                balloonend = 0;
365
            }
366
            if (balloonorder == 10)
367
                msgsetloc(0, 
Now, Stop Resisting
And Welcome The
New Age Of DarknessWait for inputClose Message
"Now, Stop Resisting&And Welcome The&New Age Of Darkness/%", "obj_queen_enemy_slash_Step_0_gml_141_0"
);
368
            if (balloonorder == 11)
369
            {
370
                msgsetloc(0, 
We won't let
you control
everyone with
your wires!Wait for inputClose Message
"We won't let&you control&everyone with&your wires!/%", "obj_queen_enemy_slash_Step_0_gml_142_0"
);
371
                ballooncon = 12;
372
                balloonend = 0;
373
                ralseitalks = 1;
374
            }
375
            if (balloonorder == 12)
376
            {
377
                msgsetloc(0, 
Uhh, you're
literally
controlling
Berdly now.Wait for inputClose Message
"Uhh, you're&literally&controlling&Berdly now./%", "obj_queen_enemy_slash_Step_0_gml_143_0"
);
378
                ballooncon = 13;
379
                balloonend = 0;
380
                susietalks = 1;
381
            }
382
            if (balloonorder == 13)
383
            {
384
                msgsetloc(0, 
Why Did You
Want OneWait for inputClose Message
"Why Did You&Want One/%", "obj_queen_enemy_slash_Step_0_gml_146_0"
);
385
                ballooncon = 14;
386
                balloonend = 0;
387
                instance_create(camerax() + 200, cameray() - 30, obj_queen_battle_plug);
388
                instance_create(camerax() + 300, cameray() - 30, obj_queen_battle_plug);
389
                instance_create(camerax() + 400, cameray() - 30, obj_queen_battle_plug);
390
            }
391
            balloonorder++;
392
        }
393
        if (
scr_sideb_get_phase
scr_sideb_get_phase

function
scr_sideb_get_phase()
{ var phase = 0; if (global.flag[916 snowgrave_fail] == 0) { if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4) phase = 1; if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7) phase = 2; if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20) phase = 3; if (global.flag[915 snowgrave_plot] >= 20) phase = 4; } return phase; }
() < 2)
394
            global.typer = 70;
395
        else
396
            global.typer = 71;
397
        if (ralseitalks == 1 && instance_exists(obj_heroralsei))
398
        {
399
            global.typer = 74;
400
            
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(obj_heroralsei.x + 75, obj_heroralsei.y + 15, 7);
401
            
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);
402
        }
403
        else if (susietalks == 1 && instance_exists(obj_herosusie))
404
        {
405
            global.typer = 75;
406
            
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(obj_herosusie.x + 75, obj_herosusie.y + 15, 7);
407
            
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);
408
        }
409
        else
410
        {
411
            
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
412
        }
413
        ralseitalks = 0;
414
        susietalks = 0;
415
        drunk = 0;
416
        if (ballooncon == 0)
417
        {
418
            talked = 1;
419
            talktimer = 0;
420
        }
421
        else
422
        {
423
            talked = 0.6;
424
            talktimer = 0;
425
        }
426
    }
427
    if (talked == 0.6)
428
    {
429
        talktimer++;
430
        if ((button3_p() && talktimer > 15 && susieinterrupts == 0) || !i_ex(obj_writer) || (susieinterrupts == 1 && talktimer > 15))
431
        {
432
            with (obj_writer)
433
                instance_destroy();
434
            if (ballooncon == 1)
435
            {
436
                msgsetloc(0, 
Aren't we
supposed to
make them
happy?Wait for inputClose Message
"Aren't we&supposed to&make them&happy?/%", "obj_queen_enemy_slash_Step_0_gml_183_0"
);
437
                ballooncon = 2;
438
                ralseitalks = 1;
439
            }
440
            else if (ballooncon == 2)
441
            {
442
                msgsetloc(0, 
Is That Not
What I Am Doing?Wait for inputClose Message
"Is That Not&What I Am Doing?/%", "obj_queen_enemy_slash_Step_0_gml_184_0"
);
443
                ballooncon = 0;
444
                balloonend = 1;
445
            }
446
            else if (ballooncon == 3)
447
            {
448
                msgsetloc(0, 
Our Screens Of
Funny Animals And
Candied GamesWait for inputClose Message
"Our Screens Of&Funny Animals And&Candied Games/%", "obj_queen_enemy_slash_Step_0_gml_186_0"
);
449
                ballooncon = 0;
450
                balloonend = 1;
451
            }
452
            else if (ballooncon == 4)
453
            {
454
                msgsetloc(0, 
Staring, Tapping,
To Avoid PainWait for inputClose Message
"Staring, Tapping,&To Avoid Pain/%", "obj_queen_enemy_slash_Step_0_gml_188_0"
);
455
                ballooncon = 0;
456
                balloonend = 1;
457
            }
458
            else if (ballooncon == 5)
459
            {
460
                msgsetloc(0, 
Now The Refuge
They Take In
The Screens Will
Slowly FadeWait for inputClose Message
"Now The Refuge&They Take In&The Screens Will&Slowly Fade/%", "obj_queen_enemy_slash_Step_0_gml_190_0"
);
461
                ballooncon = 0;
462
                balloonend = 1;
463
            }
464
            else if (ballooncon == 6)
465
            {
466
                msgsetloc(0, 
Her Strange
And Sad SearchesWait for inputClose Message
"Her Strange&And Sad Searches/%", "obj_queen_enemy_slash_Step_0_gml_192_0"
);
467
                ballooncon = 7;
468
            }
469
            else if (ballooncon == 7)
470
            {
471
                msgsetloc(0, 
Who Will
Answer Them?Wait for inputClose Message
"Who Will&Answer Them?/%", "obj_queen_enemy_slash_Step_0_gml_193_0"
);
472
                ballooncon = 0;
473
                balloonend = 1;
474
            }
475
            else if (ballooncon == 8)
476
            {
477
                msgsetloc(0, 
And Created
This Wonderful
World Of
DarknessWait for inputClose Message
"And Created&This Wonderful&World Of&Darkness/%", "obj_queen_enemy_slash_Step_0_gml_195_0"
);
478
                ballooncon = 0;
479
                balloonend = 1;
480
            }
481
            else if (ballooncon == 9)
482
            {
483
                msgsetloc(0, 
All I Have
To Do Is Expand
This Dark WorldWait for inputClose Message
"All I Have&To Do Is Expand&This Dark World/%", "obj_queen_enemy_slash_Step_0_gml_197_0"
);
484
                ballooncon = 0;
485
                balloonend = 1;
486
            }
487
            else if (ballooncon == 10)
488
            {
489
                msgsetloc(0, 
No One Will
Have To Suffer
AnymoreWait for inputClose Message
"No One Will&Have To Suffer&Anymore/%", "obj_queen_enemy_slash_Step_0_gml_199_0"
);
490
                ballooncon = 0;
491
                balloonend = 1;
492
            }
493
            else if (ballooncon == 11)
494
            {
495
                msgsetloc(0, 
Everyday Blissfully
Worshipping Me
Like We Both DeserveWait for inputClose Message
"Everyday Blissfully&Worshipping Me&Like We Both Deserve/%", "obj_queen_enemy_slash_Step_0_gml_201_0"
);
496
                ballooncon = 0;
497
                balloonend = 1;
498
            }
499
            else if (ballooncon == 12)
500
            {
501
                msgsetloc(0, 
Woah When
Did I Say
I Would Do
ThatWait for inputClose Message
"Woah When&Did I Say&I Would Do&That/%", "obj_queen_enemy_slash_Step_0_gml_203_0"
);
502
                ballooncon = 0;
503
                balloonend = 1;
504
            }
505
            else if (ballooncon == 13)
506
            {
507
                msgsetloc(0, 
Oh Yeah
That's Just
For Him OnlyWait for inputClose Message
"Oh Yeah&That's Just&For Him Only/%", "obj_queen_enemy_slash_Step_0_gml_205_0"
);
508
                ballooncon = 0;
509
                balloonend = 1;
510
            }
511
            else if (ballooncon == 14)
512
            {
513
                msgsetloc(0, 
No!!!!Wait for inputClose Message
"No!!!!/%", "obj_queen_enemy_slash_Step_0_gml_207_0"
);
514
                ballooncon = 0;
515
                balloonend = 1;
516
                susietalks = 1;
517
                with (obj_queen_battle_plug)
518
                    con = 2;
519
            }
520
            else if (ballooncon == 15)
521
            {
522
                msgsetloc(0, 
You Are Just In
Time To Witness
My World DominationWait for inputClose Message
"You Are Just In&Time To Witness&My World Domination/%", "obj_queen_enemy_slash_Step_0_gml_212_0"
);
523
                ballooncon = 16;
524
            }
525
            else if (ballooncon == 16)
526
            {
527
                msgsetloc(0, 
With Noelle In
My PossessionWait for inputClose Message
"With Noelle In&My Possession/%", "obj_queen_enemy_slash_Step_0_gml_213_0"
);
528
                ballooncon = 17;
529
            }
530
            else if (ballooncon == 17)
531
            {
532
                msgsetloc(0, 
It Is Only A
Matter Of Time
Before Her
Will TurnsWait for inputClose Message
"It Is Only A&Matter Of Time&Before Her&Will Turns/%", "obj_queen_enemy_slash_Step_0_gml_214_0"
);
533
                ballooncon = 18;
534
            }
535
            else if (ballooncon == 18)
536
            {
537
                msgsetloc(0, 
And She
Unleashes Her
PowerWait for inputClose Message
"And She&Unleashes Her&Power/%", "obj_queen_enemy_slash_Step_0_gml_215_0"
);
538
                ballooncon = 19;
539
            }
540
            else if (ballooncon == 19)
541
            {
542
                msgsetloc(0, 
Blanketing The
World In --Wait for inputClose Message
"Blanketing The&World In --/%", "obj_queen_enemy_slash_Step_0_gml_216_0"
);
543
                ballooncon = 20;
544
                susieinterrupts = 1;
545
            }
546
            else if (ballooncon == 20)
547
            {
548
                msgsetloc(0, 
Too late,
dumbass!Wait for inputClose Message
"Too late,&dumbass!/%", "obj_queen_enemy_slash_Step_0_gml_218_0"
);
549
                ballooncon = 21;
550
                susietalks = 1;
551
                susieinterrupts = 0;
552
            }
553
            else if (ballooncon == 21)
554
            {
555
                msgsetloc(0, 
Noelle's
with Berdly!Wait for inputClose Message
"Noelle's&with Berdly!/%", "obj_queen_enemy_slash_Step_0_gml_219_0"
);
556
                ballooncon = 0;
557
                balloonend = 1;
558
                susietalks = 1;
559
            }
560
            else if (ballooncon == 22)
561
            {
562
                msgsetloc(0, 
You May Have
Survived My
Attacks (Regular)Wait for inputClose Message
"You May Have&Survived My&Attacks (Regular)/%", "obj_queen_enemy_slash_Step_0_gml_432_0"
);
563
                ballooncon = 23;
564
            }
565
            else if (ballooncon == 23)
566
            {
567
                msgsetloc(0, 
But I've Been:
Secretly Been
Downloading My
Ultimate Move
The Whole TimeWait for inputClose Message
"But I've Been:&Secretly Been&Downloading My&Ultimate Move&The Whole Time/%", "obj_queen_enemy_slash_Step_0_gml_433_0"
);
568
                ballooncon = 24;
569
            }
570
            else if (ballooncon == 24)
571
            {
572
                msgsetloc(0, 
Now, Perish
In The Bosom Of:
My Hellish ReignWait for inputClose Message
"Now, Perish&In The Bosom Of:&My Hellish Reign/%", "obj_queen_enemy_slash_Step_0_gml_434_0"
);
573
                ballooncon = 0;
574
                balloonend = 1;
575
            }
576
            else if (ballooncon == 25)
577
            {
578
                msgsetloc(0, 
I Was Going To Put
Like Memes In It
And StuffWait for inputClose Message
"I Was Going To Put&Like Memes In It&And Stuff/%", "obj_queen_enemy_slash_Step_0_gml_436_0"
);
579
                ballooncon = 0;
580
                balloonend = 1;
581
            }
582
            talked = 0.7;
583
            if (
scr_sideb_get_phase
scr_sideb_get_phase

function
scr_sideb_get_phase()
{ var phase = 0; if (global.flag[916 snowgrave_fail] == 0) { if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4) phase = 1; if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7) phase = 2; if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20) phase = 3; if (global.flag[915 snowgrave_plot] >= 20) phase = 4; } return phase; }
() < 2)
584
                global.typer = 70;
585
            else
586
                global.typer = 71;
587
            if (ralseitalks == 1 && instance_exists(obj_heroralsei))
588
            {
589
                global.typer = 74;
590
                
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("ralsei");
591
                
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);
592
            }
593
            else if (susietalks == 1 && instance_exists(obj_herosusie))
594
            {
595
                global.typer = 75;
596
                
scr_heroblcon
scr_heroblcon

function
scr_heroblcon(arg0)
{ var heroobj = -69420; switch (arg0) { case 1: case "kris": case "kr": heroobj = obj_herokris; break; case 2: case "susie": case "su": heroobj = obj_herosusie; break; case 3: case "ralsei": case "ra": heroobj = obj_heroralsei; break; case 4: case "noelle": case "no": heroobj = obj_heronoelle; break; default: heroobj = -69420; break; } if (i_ex(heroobj)) { var heroballoon =
scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1; return heroballoon; } else { return false; } }
("susie");
597
                
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);
598
            }
599
            else
600
            {
601
                
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
602
            }
603
            ralseitalks = 0;
604
            susietalks = 0;
605
            alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
606
        }
607
    }
608
    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"))
609
    {
610
        talktimer++;
611
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
612
        {
613
            with (obj_writer)
614
                instance_destroy();
615
            talkedcon = 1;
616
        }
617
        if (talkedcon == 1)
618
        {
619
            rtimer = 0;
620
            
scr_blconskip
scr_blconskip

function
scr_blconskip(arg0)
{ if (arg0 >= 0) { if (button1_p() && talktimer > arg0) talktimer = talkmax; talktimer += 1; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); global.mnfight = 2; } } else if (arg0 == -1) { if (instance_exists(obj_writer) == false) global.mnfight = 2; } else if (arg0 == -2) { talktimer += 1; if (talktimer > 15) talktimer = talkmax; if (talktimer >= talkmax) { with (obj_writer) instance_destroy(); global.mnfight = 2; } } }
(-1);
621
            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"))
622
            {
623
                if (rtimer == 0 && attackdone == 0)
624
                {
625
                    attackdone = 1;
626
                    if (attackdebug < 0)
627
                        event_user(0);
628
                    else
629
                        rr = attackdebug;
630
                    if (difficultydebug != 0)
631
                        difficulty = difficultydebug;
632
                    if (!instance_exists(obj_growtangle))
633
                    {
634
                        if (rr == 1)
635
                        {
636
                            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 200, obj_growtangle);
637
                        }
638
                        else if (rr == 5)
639
                        {
640
                            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 237, obj_growtangle);
641
                        }
642
                        else if (rr == 7)
643
                        {
644
                            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 200, obj_growtangle);
645
                            obj_growtangle.maxxscale = 2;
646
                            obj_growtangle.maxyscale = 1.5;
647
                        }
648
                        else if (rr == 9)
649
                        {
650
                            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 200, obj_growtangle);
651
                            if (difficulty == 1)
652
                            {
653
                                obj_growtangle.maxxscale = 1.5;
654
                                obj_growtangle.maxyscale = 2;
655
                            }
656
                        }
657
                        else
658
                        {
659
                            instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
660
                        }
661
                    }
662
                    if (rr == 2)
663
                    {
664
                        obj_growtangle.sprite_index = spr_nothing;
665
                        obj_growtangle.visible = false;
666
                    }
667
                }
668
                if (!instance_exists(obj_moveheart) && !instance_exists(obj_heart) && rr != 2)
669
                    
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy)) return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart); else return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
670
            }
671
        }
672
    }
673
    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)
674
    {
675
        rtimer += 1;
676
        if (rtimer == 16)
677
        {
678
            switch (rr)
679
            {
680
                case 0:
681
                    global.monsterattackname[myself] = "ImageSearch";
682
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
683
                    dc.type = 0;
684
                    dc.special = difficulty;
685
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
686
                    break;
687
                case 1:
688
                    global.monsterattackname[myself] = "QueenUltimate";
689
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
690
                    dc.type = 1;
691
                    if (ultimateattackused == 0)
692
                        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(371);
693
                    if (ultimateattackused == 1)
694
                        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(311);
695
                    break;
696
                case 2:
697
                    global.monsterattackname[myself] = "Wine";
698
                    with (obj_queen_enemy)
699
                    {
700
                        wineglasscon = 1;
701
                        drink = 0;
702
                    }
703
                    shieldjustwentup = 1;
704
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
705
                    dc.type = 2;
706
                    dc.bufferattack = bufferattack;
707
                    if (difficulty == 1)
708
                        dc.type = 2.1;
709
                    if (difficulty == 2)
710
                        dc.type = 2.2;
711
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(400);
712
                    break;
713
                case 3:
714
                    global.monsterattackname[myself] = "Stomp";
715
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
716
                    dc.type = 3;
717
                    dc.bufferattack = bufferattack;
718
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(240);
719
                    if (difficulty == 1)
720
                        dc.type = 3.1;
721
                    if (difficulty == 2)
722
                        dc.type = 3.2;
723
                    if (difficulty == 3)
724
                    {
725
                        dc.type = 3.3;
726
                        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(190);
727
                    }
728
                    if (difficulty == 4)
729
                        dc.type = 3.4;
730
                    break;
731
                case 4:
732
                    global.monsterattackname[myself] = "NewSocialMedia";
733
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
734
                    dc.type = 106;
735
                    dc.bufferattack = bufferattack;
736
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(250);
737
                    if (difficulty == 1)
738
                    {
739
                        dc.type = 107;
740
                        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
741
                    }
742
                    if (difficulty == 2)
743
                    {
744
                        dc.type = 105;
745
                        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
746
                    }
747
                    break;
748
                case 5:
749
                    global.monsterattackname[myself] = "Bufferbullet";
750
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
751
                    dc.type = 5;
752
                    dc.bufferattack = bufferattack;
753
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
754
                    break;
755
                case 6:
756
                    global.monsterattackname[myself] = "Explosion";
757
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
758
                    dc.type = 6;
759
                    dc.bufferattack = bufferattack;
760
                    if (difficulty == 1)
761
                        dc.type = 6.1;
762
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
763
                    break;
764
                case 7:
765
                    if (difficulty == 0)
766
                    {
767
                        global.monsterattackname[myself] = "BerdlyTornado";
768
                        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
769
                        dc.type = 112;
770
                    }
771
                    if (difficulty == 1)
772
                    {
773
                        global.monsterattackname[myself] = "BerdlyTornado";
774
                        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
775
                        dc.type = 113;
776
                    }
777
                    if (difficulty == 2)
778
                    {
779
                        global.monsterattackname[myself] = "BerdlyFeather";
780
                        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
781
                        dc.type = 7;
782
                    }
783
                    if (difficulty == 3)
784
                    {
785
                        global.monsterattackname[myself] = "BerdlyFeather";
786
                        dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
787
                        dc.type = 7.5;
788
                    }
789
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(266);
790
                    break;
791
                case 8:
792
                    global.monsterattackname[myself] = "QueenLaser";
793
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
794
                    dc.type = 100;
795
                    dc.bufferattack = bufferattack;
796
                    if (difficulty == 1)
797
                        dc.type = 101;
798
                    if (difficulty == 2)
799
                        dc.type = 102;
800
                    if (difficulty == 3)
801
                        dc.type = 114;
802
                    if (difficulty == 4)
803
                        dc.type = 115;
804
                    if (difficulty == 5)
805
                        dc.type = 116;
806
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(245);
807
                    break;
808
                case 9:
809
                    global.monsterattackname[myself] = "Plug";
810
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
811
                    dc.bufferattack = bufferattack;
812
                    dc.damage = global.monsterat[obj_queen_enemy.myself] * 5;
813
                    dc.target = mytarget;
814
                    if (difficulty == 0)
815
                        dc.type = 110;
816
                    if (difficulty == 1)
817
                        dc.type = 111;
818
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
819
                    break;
820
                case 10:
821
                    global.monsterattackname[myself] = "Birthday";
822
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
823
                    dc.type = 8;
824
                    dc.special = 5;
825
                    dc.bufferattack = bufferattack;
826
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
827
                    break;
828
                default:
829
                    global.monsterattackname[myself] = "Unknown";
830
                    dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_queen_bulletcontroller);
831
                    dc.type = rr;
832
                    dc.bufferattack = bufferattack;
833
                    
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(300);
834
            }
835
            if (rr != 7 && instance_exists(obj_berdlyplug_enemy))
836
                obj_berdlyplug_enemy.alphacon = 1;
837
            turns += 1;
838
            global.typer = 6;
839
            global.fc = 0;
840
            rr = choose(0, 1, 2, 3);
841
            if (rr == 0)
842
                global.battlemsg[0] = stringsetloc(
* The skyline echoes with regal laughter.
"* The skyline echoes with regal laughter.", "obj_queen_enemy_slash_Step_0_gml_462_0"
);
843
            if (rr == 1)
844
                global.battlemsg[0] = stringsetloc(
* The fountain flows ominously.
"* The fountain flows ominously.", "obj_queen_enemy_slash_Step_0_gml_463_0"
);
845
            if (rr == 2)
846
                global.battlemsg[0] = stringsetloc(
* The battlefield feels electric.
"* The battlefield feels electric.", "obj_queen_enemy_slash_Step_0_gml_464_0"
);
847
            if (rr == 3)
848
                global.battlemsg[0] = stringsetloc(
* Smells like overclocked high heels.
"* Smells like overclocked high heels.", "obj_queen_enemy_slash_Step_0_gml_465_0"
);
849
            if (shieldjustwentdown == 1)
850
                global.battlemsg[0] = stringsetloc(
* Queen's acid shield is down!
"* Queen's acid shield is down!", "obj_queen_enemy_slash_Step_0_gml_467_0"
);
851
            if (shieldjustwentup == 1)
852
                global.battlemsg[0] = stringsetloc(
* Queen's acid shield is formed!
"* Queen's acid shield is formed!", "obj_queen_enemy_slash_Step_0_gml_468_0"
);
853
            shieldjustwentdown = 0;
854
            shieldjustwentup = 0;
855
            attacked = 1;
856
        }
857
        else
858
        {
859
            
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(120);
860
        }
861
    }
862
}
863
if (global.myfight == 3)
864
{
865
    var xx = __view_get(e__VW.XView, 0);
866
    yy = __view_get(e__VW.YView, 0);
867
    var shieldbreaking = 0;
868
    if (instance_exists(obj_queenshield_enemy) && obj_queenshield_enemy.shieldhurt == 2)
869
        shieldbreaking = 1;
870
    if (!instance_exists(obj_queenshield_enemy) || shieldbreaking == 1)
871
    {
872
        if (acting == 4)
873
            acting = 5;
874
        else if (acting == 5)
875
            acting = 6;
876
    }
877
    else if (acting == 3)
878
    {
879
        acting = 5;
880
    }
881
    else if (acting == 4)
882
    {
883
        acting = 6;
884
    }
885
    if (acting == 1 && actcon == 0 && !instance_exists(obj_berdlyplug_enemy))
886
    {
887
        actcon = 1;
888
        msgsetloc(0, 
* QUEEN - Her drinking glass generates a powerful barrier. Break or lower it!Wait for inputClose Message
"* QUEEN - Her drinking glass generates a powerful barrier. Break or lower it!/%", "obj_queen_enemy_slash_Step_0_gml_338_0"
);
889
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
890
    }
891
    if (acting == 1 && actcon == 0 && instance_exists(obj_berdlyplug_enemy))
892
    {
893
        if (!instance_exists(obj_queenshield_enemy))
894
        {
895
            msgsetloc(0, 
* You shook Berdly's wire!Wait for inputClose Message
"* You shook Berdly's wire!/%", "obj_queen_enemy_slash_Step_0_gml_346_0"
);
896
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
897
            var mercyset = 5;
898
            if (global.hp[2] <= 0 && global.hp[3] <= 0)
899
                mercyset = 8;
900
            if ((mercyset + bardlymercy) > 100)
901
                mercyset = 100 - bardlymercy;
902
            bardlymercy += mercyset;
903
            __mercydmgwriter = instance_create(obj_berdlyplug_enemy.x + 20, (obj_berdlyplug_enemy.y + 20) - (global.hittarget[0] * 20), obj_dmgwriter);
904
            __mercydmgwriter.damage = mercyset;
905
            __mercydmgwriter.type = 5;
906
            with (obj_berdlyplug_enemy)
907
                event_user(0);
908
            with (obj_dmgwriter)
909
            {
910
                x = obj_berdlyplug_enemy.x;
911
                y = obj_berdlyplug_enemy.y + 20;
912
            }
913
            obj_dmgwriter.depth = obj_queen_enemy.depth - 1;
914
            actcon = 1;
915
        }
916
        else
917
        {
918
            shield_damage_buffer += 1;
919
            if (global.hp[2] <= 0 && global.hp[3] <= 0)
920
                shield_damage_buffer += 1.5;
921
            if (krisflattercount == 0)
922
            {
923
                
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 (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("no_name");
924
                msgsetloc(0, 
* You made a memorable and charming toast to Queen!Wait for input
"* You made a memorable and charming toast to Queen!/", "obj_queen_enemy_slash_Step_0_gml_764_0"
);
925
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("queen", "1");
926
                var small_text = stringsetloc(
(Why did they make it so emotional?)
"(Why did they make it so emotional?)", "obj_queen_enemy_slash_Step_0_gml_766_0"
);
927
                if (jp == 0)
928
                    
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 6, 338, 46, small_text);
929
                if (jp == 1)
930
                    
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 6, 458, 46, small_text);
931
                msgnextloc(
Face C* Wow Spoken Like A Real TrucieMini text 0 Wait for inputClose Message
"\\EC* Wow Spoken Like A Real Trucie\\f0 /%", "obj_queen_enemy_slash_Step_0_gml_768_0"
);
932
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
933
                waitnextactsusie = 1;
934
                waitnextactralsei = 1;
935
                if (actingsus == 1 && susieflattercount > 0 && actingral == 1 && ralseiflattercount > 0)
936
                    changesimulorder = 1;
937
                if (actingsus == 1 && susieflattercount == 0 && actingral == 1 && ralseiflattercount > 0)
938
                    changesimulorder = 2;
939
                if (actingsus == 0 && actingral == 1 && ralseiflattercount > 0)
940
                    changesimulorder = 2;
941
                if (actingral == 0 && actingsus == 1 && susieflattercount > 0)
942
                    changesimulorder = 5;
943
            }
944
            else
945
            {
946
                var aa = 0;
947
                if (actingsus == 1 && susieflattercount == 0 && actingral == 1 && ralseiflattercount == 0)
948
                    aa = 1;
949
                if (actingral != 1 && actingsus == 1 && susieflattercount == 0)
950
                    aa = 1;
951
                if (actingsus != 1 && actingral == 1 && ralseiflattercount == 0)
952
                    aa = 1;
953
                if (simultotal == 1 || aa == 1)
954
                {
955
                    msgsetloc(0, 
* You made a memorable and charming toast to Queen!Wait for inputClose Message
"* You made a memorable and charming toast to Queen!/%", "obj_queen_enemy_slash_Step_0_gml_788_0"
);
956
                    
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
957
                    if (actingsus == 1 && susieflattercount == 0)
958
                        waitnextactsusie = 1;
959
                    if (actingral == 1 && ralseiflattercount == 0)
960
                        waitnextactralsei = 1;
961
                    if (actingsus == 1 && susieflattercount == 0 && actingral == 1 && ralseiflattercount > 0)
962
                        changesimulorder = 3;
963
                }
964
                else
965
                {
966
                    if (actingsus == 1 && susieflattercount == 0)
967
                        waitnextactsusie = 1;
968
                    if (actingral == 1 && ralseiflattercount == 0)
969
                        waitnextactralsei = 1;
970
                    if (actingsus == 1 && susieflattercount == 0 && actingral == 1 && ralseiflattercount > 0)
971
                        changesimulorder = 3;
972
                    msgsetloc(0, 
* You toasted Queen!Wait for inputClose Message
"* You toasted Queen!/%", "obj_queen_enemy_slash_Step_0_gml_803_0"
);
973
                    
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); }
("kris");
974
                }
975
            }
976
            krisflattercount++;
977
            acting = 100;
978
        }
979
    }
980
    if (acting == 2 && actcon == 0)
981
    {
982
        if (!instance_exists(obj_queenshield_enemy))
983
        {
984
            msgsetloc(0, 
* Everyone loosens Berdly!Wait for inputClose Message
"* Everyone loosens Berdly!/%", "obj_queen_enemy_slash_Step_0_gml_371_0"
);
985
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
986
            var mercyset = 15;
987
            if ((mercyset + bardlymercy) > 100)
988
                mercyset = 100 - bardlymercy;
989
            bardlymercy += mercyset;
990
            __mercydmgwriter = instance_create(obj_berdlyplug_enemy.x + 20, (obj_berdlyplug_enemy.y + 20) - (global.hittarget[0] * 20), obj_dmgwriter);
991
            __mercydmgwriter.damage = mercyset;
992
            __mercydmgwriter.type = 5;
993
            with (obj_berdlyplug_enemy)
994
                event_user(0);
995
            with (obj_dmgwriter)
996
            {
997
                x = obj_berdlyplug_enemy.x;
998
                y = obj_berdlyplug_enemy.y + 20;
999
            }
1000
            obj_dmgwriter.depth = obj_queen_enemy.depth - 1;
1001
            actcon = 1;
1002
        }
1003
        else
1004
        {
1005
            shield_damage_buffer += 3;
1006
            if (groupflattercount == 0)
1007
            {
1008
                
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 (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("ralsei");
1009
                msgsetloc(0, 
Face F* (That glass of acid is generating her shield!)Wait for input
"\\EF* (That glass of acid is generating her shield!)/", "obj_queen_enemy_slash_Step_0_gml_840_0"
);
1010
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "1");
1011
                msgnextloc(
Face 3* So, uh... you gonna drink all that?Wait for input
"\\E3* So, uh... you gonna drink all that?/", "obj_queen_enemy_slash_Step_0_gml_842_0"
);
1012
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("queen", "1");
1013
                msgnextloc(
Face 6* No This Is All Mine You Can't Have ItWait for inputClose Message
"\\E6* No This Is All Mine You Can't Have It/%", "obj_queen_enemy_slash_Step_0_gml_844_0"
);
1014
                
scr_battletext
scr_battletext

function
scr_battletext()
{ xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); if (global.fc != 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); if (global.fc == 0) battlewriter = instance_create(xx + 30, yy + 376, obj_writer); myface = instance_create(xx + 26, yy + 380, obj_face); with (battlewriter) { dialoguer = 1; facer = 1; if (global.fc == 0 && originalcharline == 33) charline = 26; } return battlewriter; } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }
();
1015
            }
1016
            else
1017
            {
1018
                msgsetloc(0, 
* Everyone toasted to Queen!Wait for inputClose Message
"* Everyone toasted to Queen!/%", "obj_queen_enemy_slash_Step_0_gml_384_0"
);
1019
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1020
            }
1021
            groupflattercount++;
1022
            acting = 100;
1023
        }
1024
    }
1025
    if ((acting == 3 && actcon == 0) || (acting == 4 && actcon == 0))
1026
    {
1027
        if (acting == 3)
1028
            throwX = 0;
1029
        if (acting == 4)
1030
            throwX = 1;
1031
        actcon = 32;
1032
        acting = 0;
1033
        alarm[4]
 = 15;
gml_Object_obj_queen_enemy_Alarm_4.gml

actcon += 1;
1034
        ___myrememberx = xstart;
1035
        ___myremembery = ystart;
1036
        siner = 0;
1037
        if (!instance_exists(obj_queenshield_enemy))
1038
        {
1039
            obj_berdlyplug_enemy.con = 1;
1040
            instance_create(__view_get(e__VW.XView, 0) + 380, __view_get(e__VW.YView, 0) + 50, obj_queen_throw_controller);
1041
            
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; }
(x - 40, cameray() + 195, 8);
1042
        }
1043
    }
1044
    if (acting == 5 && actcon == 0)
1045
    {
1046
        global.msg[0] = stringsetloc(
* Your SOUL shined its power on Susie!Wait for inputClose Message
"* Your SOUL shined its power on Susie!/%", "obj_queen_enemy_slash_Step_0_gml_410_0"
);
1047
        actcon = 10;
1048
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1049
        acttimer = 0;
1050
    }
1051
    if (acting == 6 && actcon == 0)
1052
    {
1053
        global.msg[0] = stringsetloc(
* Your SOUL shined its power on RALSEI!Wait for inputClose Message
"* Your SOUL shined its power on RALSEI!/%", "obj_queen_enemy_slash_Step_0_gml_419_0"
);
1054
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1055
        actcon = 20;
1056
        acttimer = 0;
1057
    }
1058
    var _susie_simul = 0;
1059
    if (waitnextactsusie == 1 && i_ex(obj_writer))
1060
        _susie_simul = 1;
1061
    if (actingsus == 1 && actconsus == 1 && _susie_simul == 0)
1062
    {
1063
        if (!instance_exists(obj_queenshield_enemy))
1064
        {
1065
            msgsetloc(0, 
* Susie loosens one of Berdly's wires!Wait for inputClose Message
"* Susie loosens one of Berdly's wires!/%", "obj_queen_enemy_slash_Step_0_gml_429_0"
);
1066
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1067
            var mercyset = 5;
1068
            if (global.hp[1] <= 0 && global.hp[3] <= 0)
1069
                mercyset = 8;
1070
            if ((mercyset + bardlymercy) > 100)
1071
                mercyset = 100 - bardlymercy;
1072
            bardlymercy += mercyset;
1073
            __mercydmgwriter = instance_create(obj_berdlyplug_enemy.x + 20, (obj_berdlyplug_enemy.y + 20) - (global.hittarget[0] * 20), obj_dmgwriter);
1074
            __mercydmgwriter.damage = mercyset;
1075
            __mercydmgwriter.type = 5;
1076
            with (obj_berdlyplug_enemy)
1077
                event_user(0);
1078
            with (obj_dmgwriter)
1079
            {
1080
                x = obj_berdlyplug_enemy.x;
1081
                y = obj_berdlyplug_enemy.y + 20;
1082
            }
1083
            obj_dmgwriter.depth = obj_queen_enemy.depth - 1;
1084
            actcon = 1;
1085
        }
1086
        else
1087
        {
1088
            shield_damage_buffer += 1;
1089
            if (global.hp[1] <= 0 && global.hp[3] <= 0)
1090
                shield_damage_buffer += 1.5;
1091
            if (susieflattercount == 0)
1092
            {
1093
                
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 (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("no_name");
1094
                msgsetloc(0, 
* Susie made a toast to Queen...?Wait for input
"* Susie made a toast to Queen...?/", "obj_queen_enemy_slash_Step_0_gml_928_0"
);
1095
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("susie", "1");
1096
                msgnextloc(
Face K* Pretty cool how we're... uh, gonna kick your ass.Wait for input
"\\EK* Pretty cool how we're... uh, gonna kick your ass./", "obj_queen_enemy_slash_Step_0_gml_930_0"
);
1097
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("queen", "1");
1098
                msgnextloc(
Face 1* It's A Good Thing I Have No Standards For ThisWait for inputClose Message
"\\E1* It's A Good Thing I Have No Standards For This/%", "obj_queen_enemy_slash_Step_0_gml_932_0"
);
1099
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1100
                waitnextactralsei = 1;
1101
                if (actingral == 1)
1102
                    changesimulorder = 2;
1103
            }
1104
            else if (simultotal == 1 || changesimulorder == 5)
1105
            {
1106
                waitnextactralsei = 1;
1107
                if (changesimulorder == 5)
1108
                {
1109
                    simulordersus = 0;
1110
                    changesimulorder = 0;
1111
                }
1112
                msgsetloc(0, 
* Susie made an offensive toast to Queen!Wait for inputClose Message
"* Susie made an offensive toast to Queen!/%", "obj_queen_enemy_slash_Step_0_gml_946_0"
);
1113
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1114
            }
1115
            else
1116
            {
1117
                if (changesimulorder == 1)
1118
                {
1119
                    simulordersus = 0;
1120
                    simulorderral = 1;
1121
                    changesimulorder = 0;
1122
                }
1123
                if (actingral == 1 && ralseiflattercount == 0)
1124
                    waitnextactralsei = 1;
1125
                if (actingral == 1 && ralseiflattercount > 0)
1126
                    waitnextactralsei = 0;
1127
                msgsetloc(0, 
* Susie toasted Queen!Wait for inputClose Message
"* Susie toasted Queen!/%", "obj_queen_enemy_slash_Step_0_gml_955_0"
);
1128
                
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");
1129
            }
1130
            susieflattercount++;
1131
            acting = 100;
1132
        }
1133
        actconsus = 0;
1134
        actingsus = 0;
1135
    }
1136
    var _ralsei_simul = 0;
1137
    if (waitnextactralsei == 1 && i_ex(obj_writer))
1138
        _ralsei_simul = 1;
1139
    if (actingral == 1 && actconral == 1 && _ralsei_simul == 0)
1140
    {
1141
        if (!instance_exists(obj_queenshield_enemy))
1142
        {
1143
            msgsetloc(0, 
* Ralsei loosens one of Berdly's wires!Wait for inputClose Message
"* Ralsei loosens one of Berdly's wires!/%", "obj_queen_enemy_slash_Step_0_gml_457_0"
);
1144
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1145
            var mercyset = 5;
1146
            if (global.hp[1] <= 0 && global.hp[2] <= 0)
1147
                mercyset = 8;
1148
            if ((mercyset + bardlymercy) > 100)
1149
                mercyset = 100 - bardlymercy;
1150
            bardlymercy += mercyset;
1151
            __mercydmgwriter = instance_create(obj_berdlyplug_enemy.x + 20, (obj_berdlyplug_enemy.y + 20) - (global.hittarget[0] * 20), obj_dmgwriter);
1152
            __mercydmgwriter.damage = mercyset;
1153
            __mercydmgwriter.type = 5;
1154
            with (obj_berdlyplug_enemy)
1155
                event_user(0);
1156
            with (obj_dmgwriter)
1157
            {
1158
                x = obj_berdlyplug_enemy.x;
1159
                y = obj_berdlyplug_enemy.y + 20;
1160
            }
1161
            obj_dmgwriter.depth = obj_queen_enemy.depth - 1;
1162
            actcon = 1;
1163
        }
1164
        else
1165
        {
1166
            shield_damage_buffer += 1;
1167
            if (global.hp[1] <= 0 && global.hp[2] <= 0)
1168
                shield_damage_buffer += 1.5;
1169
            if (ralseiflattercount == 0)
1170
            {
1171
                
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 (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("no_name");
1172
                msgsetloc(0, 
* Ralsei made a toast to Queen!Wait for input
"* Ralsei made a toast to Queen!/", "obj_queen_enemy_slash_Step_0_gml_1003_0"
);
1173
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("ralsei", "1");
1174
                msgnextloc(
Face 2* A toast to you, er, making me wear a butler outfit!Wait for input
"\\E2* A toast to you, er, making me wear a butler outfit!/", "obj_queen_enemy_slash_Step_0_gml_1005_0"
);
1175
                
scr_anyface_next
scr_anyface_next

function
scr_anyface_next(arg0, arg1)
{ global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
}
("queen", "1");
1176
                msgnextloc(
Face L* Bro That's Weird But OKWait for inputClose Message
"\\EL* Bro That's Weird But OK/%", "obj_queen_enemy_slash_Step_0_gml_1007_0"
);
1177
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1178
            }
1179
            else if (simultotal == 1 || changesimulorder == 2)
1180
            {
1181
                if (changesimulorder == 2)
1182
                {
1183
                    simulorderral = 0;
1184
                    changesimulorder = 0;
1185
                }
1186
                msgsetloc(0, 
* Ralsei made a slightly cringeworthy toast to Queen!Wait for inputClose Message
"* Ralsei made a slightly cringeworthy toast to Queen!/%", "obj_queen_enemy_slash_Step_0_gml_1015_0"
);
1187
                
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1188
            }
1189
            else
1190
            {
1191
                if (changesimulorder == 3)
1192
                {
1193
                    simulorderral = 1;
1194
                    changesimulorder = 0;
1195
                }
1196
                if (changesimulorder == 4)
1197
                {
1198
                    simulorderral = 0;
1199
                    changesimulorder = 0;
1200
                }
1201
                msgsetloc(0, 
* Ralsei toasted Queen!Wait for inputClose Message
"* Ralsei toasted Queen!/%", "obj_queen_enemy_slash_Step_0_gml_472_0"
);
1202
                
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");
1203
            }
1204
            ralseiflattercount++;
1205
            acting = 100;
1206
        }
1207
        actconral = 0;
1208
        actingral = 0;
1209
    }
1210
    if (actingral == 2 && actconral == 1)
1211
    {
1212
        msgsetloc(0, 
* Aiming with Throw is easier next turn!Wait for inputClose Message
"* Aiming with Throw is easier next turn!/%", "obj_queen_enemy_slash_Step_0_gml_483_0"
);
1213
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1214
        aimact = 2;
1215
        actconral = 0;
1216
        actingral = 0;
1217
        actcon = 1;
1218
    }
1219
    if (acting == 100 && !instance_exists(obj_writer))
1220
    {
1221
        acting = 0;
1222
        actcon = 1;
1223
        drunk = 1;
1224
        wineglasscon = 10;
1225
        drink = 1;
1226
        winetimer = 0;
1227
        shieldhp -= (shieldmaxhp * (shield_damage_buffer / shieldactmaxhp));
1228
        shield_damage_buffer = 0;
1229
        with (obj_queenshield_enemy)
1230
            event_user(0);
1231
        if (shieldacthp <= 0)
1232
        {
1233
            msgsetloc(0, 
* Queen sips from her acid!Wait for inputClose Message
"* Queen sips from her acid!/%", "obj_queen_enemy_slash_Step_0_gml_504_0"
);
1234
            msgnextloc(
* She is out of acid, her shield powers down!Wait for inputClose Message
"* She is out of acid, her shield powers down!/%", "obj_queen_enemy_slash_Step_0_gml_505_0"
);
1235
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1236
        }
1237
        else
1238
        {
1239
            msgsetloc(0, 
* Queen sips from her acid!Wait for inputClose Message
"* Queen sips from her acid!/%", "obj_queen_enemy_slash_Step_0_gml_510_0"
);
1240
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1241
        }
1242
    }
1243
    if (actcon == 33)
1244
    {
1245
        if (aimact == 0)
1246
            msgsetsubloc(0, "* Press ~1 to throw, aim for the weakpoint!", 
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_queen_enemy_slash_Step_0_gml_519_0");
1247
        else
1248
            msgsetloc(0, 
* Use UP and DOWN to Aim for the wires!
"* Use UP and DOWN to Aim for the wires!", "obj_queen_enemy_slash_Step_0_gml_520_0"
);
1249
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
1250
        with (obj_herokris)
1251
            visible = 0;
1252
        with (obj_herosusie)
1253
            visible = 0;
1254
        throwsus = instance_create(obj_herosusie.x, obj_herosusie.y, obj_queen_throwkris);
1255
        if (throwX == 1)
1256
        {
1257
            throwsus.throwXcon = 1;
1258
            with (obj_heroralsei)
1259
                visible = 0;
1260
        }
1261
        actcon = 34;
1262
    }
1263
    if (actcon == 35)
1264
    {
1265
        with (obj_queen_throw_controller)
1266
        {
1267
            con = 2;
1268
            lerpintimer = 0;
1269
        }
1270
        
scr_move_to_rememberxy
scr_move_to_rememberxy

function
scr_move_to_rememberxy(arg0)
{
scr_move_to_point_over_time(___myrememberx, ___myremembery, arg0);
}
(8);
1271
        if (instance_exists(obj_queenshield_enemy))
1272
        {
1273
            actcon = 1;
1274
        }
1275
        else
1276
        {
1277
            actcon = 36;
1278
            alarm[4]
 = 25;
gml_Object_obj_queen_enemy_Alarm_4.gml

actcon += 1;
1279
        }
1280
    }
1281
    if (actcon == 37)
1282
        actcon = 1;
1283
    if (actcon == 10)
1284
    {
1285
        acttimer += 1;
1286
        if (acttimer >= 10 || !instance_exists(obj_writer))
1287
        {
1288
            acttimer = 0;
1289
            actcon = 11;
1290
        }
1291
    }
1292
    if (actcon == 11)
1293
    {
1294
        global.faceaction[1] = 2;
1295
        global.charaction[1] = 2;
1296
        global.charaction[1] = 2;
1297
        global.charspecial[1] = 5;
1298
        global.chartarget[1] = 0;
1299
        global.acting[1] = 0;
1300
        snd_play(snd_boost);
1301
        heartanim = instance_create(obj_herokris.x + 30, obj_herokris.y + 50, obj_animation);
1302
        with (heartanim)
1303
        {
1304
            depth = -20;
1305
            image_index = 0;
1306
            image_xscale = 2;
1307
            image_yscale = 2;
1308
            image_speed = 1;
1309
            sprite_index = spr_soulshining;
1310
        }
1311
        with (obj_herokris)
1312
            
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_index = image_index; _oflash.image_yscale = image_yscale; if (global.chapter == 2 && object_index == obj_mauswheel_enemy) _oflash.sprite_index = spr_mauswheel_idle; else _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1313
        with (obj_herosusie)
1314
            
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_index = image_index; _oflash.image_yscale = image_yscale; if (global.chapter == 2 && object_index == obj_mauswheel_enemy) _oflash.sprite_index = spr_mauswheel_idle; else _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1315
        actcon = 12;
1316
    }
1317
    if (actcon == 12)
1318
    {
1319
        acttimer += 1;
1320
        if (acttimer >= 20)
1321
        {
1322
            actcon = 1;
1323
            with (obj_herosusie)
1324
                state = 0;
1325
        }
1326
    }
1327
    if (actcon == 20)
1328
    {
1329
        acttimer += 1;
1330
        if (acttimer >= 10 || !instance_exists(obj_writer))
1331
        {
1332
            acttimer = 0;
1333
            actcon = 21;
1334
        }
1335
    }
1336
    if (actcon == 21)
1337
    {
1338
        global.faceaction[2] = 2;
1339
        global.charaction[2] = 2;
1340
        global.charspecial[2] = 6;
1341
        global.chartarget[2] = 0;
1342
        global.acting[2] = 0;
1343
        snd_play(snd_boost);
1344
        heartanim = instance_create(obj_herokris.x + 30, obj_herokris.y + 50, obj_animation);
1345
        with (heartanim)
1346
        {
1347
            depth = -20;
1348
            image_index = 0;
1349
            image_xscale = 2;
1350
            image_yscale = 2;
1351
            image_speed = 1;
1352
            sprite_index = spr_soulshining;
1353
        }
1354
        with (obj_heroralsei)
1355
            
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_index = image_index; _oflash.image_yscale = image_yscale; if (global.chapter == 2 && object_index == obj_mauswheel_enemy) _oflash.sprite_index = spr_mauswheel_idle; else _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1356
        with (obj_herokris)
1357
            
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_index = image_index; _oflash.image_yscale = image_yscale; if (global.chapter == 2 && object_index == obj_mauswheel_enemy) _oflash.sprite_index = spr_mauswheel_idle; else _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
1358
        actcon = 22;
1359
    }
1360
    if (actcon == 22)
1361
    {
1362
        acttimer += 1;
1363
        if (acttimer >= 20)
1364
        {
1365
            actcon = 1;
1366
            with (obj_heroralsei)
1367
                state = 0;
1368
        }
1369
    }
1370
    if (actcon == 1 && !instance_exists(obj_writer) && !instance_exists(obj_queen_drink_droplet))
1371
    {
1372
        waitnextactsusie = 0;
1373
        waitnextactralsei = 0;
1374
        changesimulorder = 0;
1375
        
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();
} }
();
1376
    }
1377
}
1378
sactionboxy = ((y - ystart) / 2) - 20;
1379
if (
scr_debug
scr_debug

function
scr_debug()
{ return 0; }
())
1380
{
1381
}
1382
if (endcon == 1)
1383
{
1384
    snd_free(global.batmusic[0]);
1385
    if (defeat_cutscene_version == 0)
1386
    {
1387
        msgsetloc(0, 
Not Bad You
Foolish ChildrenWait for inputClose Message
"Not Bad You&Foolish Children/%", "obj_queen_enemy_slash_Step_0_gml_1067_0"
);
1388
        endcon = 2;
1389
    }
1390
    else
1391
    {
1392
        msgsetloc(0, 
...?Wait for inputClose Message
"...?/%", "obj_queen_enemy_slash_Step_0_gml_1074_0"
);
1393
        endcon = 3;
1394
    }
1395
    global.mercymod[myself] = bardlymercy;
1396
    event_user(3);
1397
    endtimer = 0;
1398
    ballooncon = 1;
1399
    balloonend = 0;
1400
    talktimer = 0;
1401
    global.typer = 70;
1402
    
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
1403
    defeat_cutscene_version = (global.flag[529 encount_berdly_1] == 2 || global.flag[529 encount_berdly_1] == 3) && (global.flag[550 encount_berdly_2] == 2 || global.flag[550 encount_berdly_2] == 3) && (global.flag[548 encount_queen] == 2 || global.flag[548 encount_queen] == 3);
1404
}
1405
if (defeat_cutscene_version == 0)
1406
{
1407
    if (endcon == 2)
1408
    {
1409
        talktimer++;
1410
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
1411
        {
1412
            with (obj_writer)
1413
                instance_destroy();
1414
            if (ballooncon == 1)
1415
            {
1416
                if (bardlymercy > 99)
1417
                    msgsetloc(0, 
But No Matter
How Long This
Battle Drags OnWait for inputClose Message
"But No Matter&How Long This&Battle Drags On/%", "obj_queen_enemy_slash_Step_0_gml_1108_0"
);
1418
                else
1419
                    msgsetloc(0, 
But Even If You
Deplete The Health
Points (Of My: Chair)Wait for inputClose Message
"But Even If You&Deplete The Health&Points (Of My: Chair)/%", "obj_queen_enemy_slash_Step_0_gml_1109_0"
);
1420
                ballooncon = 2;
1421
                balloonend = 0;
1422
            }
1423
            else if (ballooncon == 2)
1424
            {
1425
                msgsetloc(0, 
I Can Simply Make
Another Barrier Using
My: DrinkWait for inputClose Message
"I Can Simply Make&Another Barrier Using&My: Drink/%", "obj_queen_enemy_slash_Step_0_gml_1114_0"
);
1426
                ballooncon = 3;
1427
                balloonend = 0;
1428
            }
1429
            else if (ballooncon == 3)
1430
            {
1431
                msgsetloc(0, 
Bottoms UpWait for inputClose Message
"Bottoms Up/%", "obj_queen_enemy_slash_Step_0_gml_1118_0"
);
1432
                ballooncon = 4;
1433
                balloonend = 0;
1434
            }
1435
            else if (ballooncon == 4)
1436
            {
1437
                sprite_index = spr_queen_chair_1_old;
1438
                msgsetloc(0, 
Wait A SecondWait for inputClose Message
"Wait A Second/%", "obj_queen_enemy_slash_Step_0_gml_1123_0"
);
1439
                ballooncon = 5;
1440
                balloonend = 0;
1441
            }
1442
            else if (ballooncon == 5)
1443
            {
1444
                sprite_index = spr_queen_chair_1_old;
1445
                msgsetloc(0, 
Hey Chat Does Anyone
Know What Happened
To That StuffWait for inputClose Message
"Hey Chat Does Anyone&Know What Happened&To That Stuff/%", "obj_queen_enemy_slash_Step_0_gml_1128_0"
);
1446
                ballooncon = 0;
1447
                balloonend = 1;
1448
            }
1449
            endcon = 3;
1450
            global.typer = 70;
1451
            
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
1452
            if (ballooncon != 4 && ballooncon != 5)
1453
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1454
        }
1455
    }
1456
    if (endcon == 3 && !i_ex(obj_writer))
1457
    {
1458
        if (ballooncon == 4)
1459
        {
1460
            endtimer++;
1461
            if (endtimer == 1)
1462
            {
1463
                sprite_index = spr_queen_throw_wineglass;
1464
                snd_play(snd_error);
1465
            }
1466
            if (endtimer == 60)
1467
            {
1468
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1469
                endtimer = 0;
1470
            }
1471
        }
1472
        if (ballooncon == 5)
1473
        {
1474
            endtimer++;
1475
            if (endtimer == 1)
1476
            {
1477
                sprite_index = spr_queen_throw_wineglass;
1478
                snd_play(snd_error);
1479
            }
1480
            if (endtimer == 60)
1481
            {
1482
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1483
                endtimer = 0;
1484
            }
1485
        }
1486
    }
1487
    if (endcon == 4)
1488
    {
1489
        talktimer++;
1490
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
1491
        {
1492
            endtimer++;
1493
            if (endtimer == 1)
1494
            {
1495
                global.fighting = 0;
1496
                if (i_ex(obj_ch2_scene25))
1497
                    obj_ch2_scene25.forcend = 1;
1498
            }
1499
        }
1500
    }
1501
}
1502
if (defeat_cutscene_version == 1)
1503
{
1504
    if (endcon == 2 && extracon == 0)
1505
    {
1506
        talktimer++;
1507
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
1508
        {
1509
            extratimer++;
1510
            if (extratimer == 1)
1511
            {
1512
                obj_berdlyplug_enemy.shake2 = 10;
1513
                snd_play(snd_damage);
1514
            }
1515
            if (extratimer == 50)
1516
                extracon = 1;
1517
        }
1518
    }
1519
    if (endcon == 2 && extracon == 1)
1520
    {
1521
        talktimer++;
1522
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
1523
        {
1524
            with (obj_writer)
1525
                instance_destroy();
1526
            if (ballooncon == 1)
1527
            {
1528
                idlesprite = spr_cutscene_25_queen_chair_shocked;
1529
                msgsetloc(0, 
What TheWait for inputClose Message
"What The/%", "obj_queen_enemy_slash_Step_0_gml_1181_0"
);
1530
                ballooncon = 2;
1531
                balloonend = 0;
1532
            }
1533
            else if (ballooncon == 2)
1534
            {
1535
                msgsetloc(0, 
What Are
You DoingWait for inputClose Message
"What Are&You Doing/%", "obj_queen_enemy_slash_Step_0_gml_1186_0"
);
1536
                ballooncon = 3;
1537
                balloonend = 0;
1538
            }
1539
            else if (ballooncon == 3)
1540
            {
1541
                msgsetloc(0, 
Why Isn't
My Control
Wire WorkingWait for inputClose Message
"Why Isn't&My Control&Wire Working/%", "obj_queen_enemy_slash_Step_0_gml_1190_0"
);
1542
                ballooncon = 4;
1543
                balloonend = 0;
1544
            }
1545
            else if (ballooncon == 4)
1546
            {
1547
                msgsetloc(0, 
Thanks to...
my comrades'
kindness...
their MERCY!Wait for inputClose Message
"Thanks to...&my comrades'&kindness...&their MERCY!/%", "obj_queen_enemy_slash_Step_0_gml_1195_0"
);
1548
                ballooncon = 5;
1549
                balloonend = 0;
1550
            }
1551
            else if (ballooncon == 5)
1552
            {
1553
                msgsetloc(0, 
Now...Wait for inputClose Message
"Now.../%", "obj_queen_enemy_slash_Step_0_gml_1200_0"
);
1554
                ballooncon = 6;
1555
                balloonend = 0;
1556
            }
1557
            else if (ballooncon == 6)
1558
            {
1559
                msgsetloc(0, 
It's time...
for me to
take my
freedom!!Wait for inputClose Message
"It's time...&for me to&take my&freedom!!/%", "obj_queen_enemy_slash_Step_0_gml_1204_0"
);
1560
                ballooncon = 0;
1561
                balloonend = 1;
1562
            }
1563
            endcon = 3;
1564
            if (ballooncon > 4 || ballooncon == 0)
1565
            {
1566
                global.typer = 69;
1567
                var xx = 30;
1568
                if (ballooncon == 0 || ballooncon == 6)
1569
                    xx = 75;
1570
                
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(obj_berdlyplug_enemy.x + xx, obj_berdlyplug_enemy.ystart + 15, 7);
1571
            }
1572
            else
1573
            {
1574
                global.typer = 70;
1575
                
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_clubs; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } }
(x - 10, global.monstery[myself], 10);
1576
            }
1577
            if (ballooncon != 2 && ballooncon != 5)
1578
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1579
        }
1580
    }
1581
    if (endcon == 3 && !i_ex(obj_writer))
1582
    {
1583
        if (ballooncon == 1)
1584
        {
1585
            endtimer++;
1586
            if (endtimer == 2)
1587
            {
1588
                obj_berdlyplug_enemy.shake2 = 10;
1589
                snd_play(snd_damage);
1590
            }
1591
            if (endtimer == 42)
1592
            {
1593
                obj_berdlyplug_enemy.shake2 = 10;
1594
                snd_play(snd_damage);
1595
            }
1596
            if (endtimer == 102)
1597
            {
1598
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1599
                endtimer = 0;
1600
            }
1601
        }
1602
        if (ballooncon == 2)
1603
        {
1604
            endtimer++;
1605
            if (endtimer == 1)
1606
                obj_berdlyplug_enemy.savey = obj_berdlyplug_enemy.y;
1607
            if (endtimer < 30)
1608
            {
1609
                obj_berdlyplug_enemy.x = lerp(obj_berdlyplug_enemy.xstart, camerax() + (camerawidth() / 2.5), endtimer / 30);
1610
                obj_berdlyplug_enemy.ystart = lerp(obj_berdlyplug_enemy.savey, cameray() + (cameraheight() / 3.5), endtimer / 30);
1611
            }
1612
            if (endtimer == 60)
1613
                obj_berdlyplug_enemy.image_xscale *= -1;
1614
            if (endtimer == 90)
1615
            {
1616
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1617
                endtimer = 0;
1618
            }
1619
        }
1620
        if (ballooncon == 5)
1621
        {
1622
            endtimer++;
1623
            if (endtimer == 1)
1624
            {
1625
                obj_berdlyplug_enemy.sprite_index = spr_cutscene_25_berdly_grab_plug;
1626
                obj_berdlyplug_enemy.shake2 = 10;
1627
                obj_berdlyplug_enemy.image_xscale *= -1;
1628
                obj_berdlyplug_enemy.x -= 50;
1629
                snd_play(snd_grab);
1630
            }
1631
            if (endtimer == 30)
1632
            {
1633
                alarm[6]
 = 1;
gml_Object_obj_queen_enemy_Alarm_6.gml

if (endcon > 0) { if (balloonend == 1) { endcon = 4; } else { endcon = 2; talktimer = 0; } } else if (balloonend == 1) { talked = 1; if (intro == 1) { intro = 2; talked = 0; } } else { talked = 0.6; talktimer = 0; }
1634
                endtimer = 0;
1635
            }
1636
        }
1637
    }
1638
    if (endcon == 4)
1639
    {
1640
        talktimer++;
1641
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
1642
        {
1643
            endtimer++;
1644
            if (endtimer == 1)
1645
            {
1646
                snd_play(snd_great_shine);
1647
                whiteall = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(-10, -10, spr_pixel_white);
1648
                whiteall.image_xscale = 999;
1649
                whiteall.image_yscale = 999;
1650
                whiteall.depth = -99999;
1651
                whiteall.image_alpha = 0;
1652
            }
1653
            if (endtimer > 0 && endtimer < 16)
1654
                whiteall.image_alpha = lerp(0, 1, endtimer / 15);
1655
            if (endtimer > 25 && endtimer < 41)
1656
                whiteall.image_alpha = lerp(1, 0, (endtimer - 25) / 15);
1657
            if (endtimer >= 42)
1658
            {
1659
                global.fighting = 0;
1660
                instance_destroy(obj_battlecontroller);
1661
            }
1662
        }
1663
    }
1664
}
1665
1666
enum e__VW
1667
{
1668
    XView,
1669
    YView,
1670
    WView,
1671
    HView,
1672
    Angle,
1673
    HBorder,
1674
    VBorder,
1675
    HSpeed,
1676
    VSpeed,
1677
    Object,
1678
    Visible,
1679
    XPort,
1680
    YPort,
1681
    WPort,
1682
    HPort,
1683
    Camera,
1684
    SurfaceID
1685
}