Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_jackenstein_enemy_Step_0

(view raw script w/o annotations or w/e)
1
if (init == false)
2
{
3
    init = true;
4
    with (obj_heroparent)
5
        visible = false;
6
}
7
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
() && keyboard_check_pressed(ord("T")))
8
{
9
    phaseturn = 8;
10
    
scr_debug_print
scr_debug_print

function
scr_debug_print(arg0)
{ } function print_message(arg0) { } function debug_print(arg0) { } function scr_debug_clear_all() { scr_debug_clear_persistent(); }
("phaseturn = " + string(phaseturn));
11
}
12
if (i_ex(obj_battlecontroller) && obj_battlecontroller.victory == 1 && obj_battlecontroller.victoried == 0)
13
{
14
    with (susiemarker)
15
        instance_destroy();
16
    with (ralseimarker)
17
        instance_destroy();
18
    x = -9999;
19
    y = -9999;
20
    with (obj_npc_jackenstein)
21
        visible = true;
22
    if (fader != -1 && i_ex(fader))
23
    {
24
        with (fader)
25
        {
26
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_lerp_var_instance, 45, id, "image_alpha", 1, 0, 30);
27
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_doom, 45, id, 30, true);
28
        }
29
    }
30
    global.charinstance[0].x = 2256;
31
    global.charinstance[0].y = 1961;
32
    global.charinstance[1].x = 2208;
33
    global.charinstance[1].y = 1945;
34
    global.charinstance[2].x = 2172;
35
    global.charinstance[2].y = 1950;
36
    with (obj_afterimage)
37
        instance_destroy();
38
    with (obj_battlecontroller)
39
        dancing_jackolantern_con = 0;
40
    if (i_ex(obj_ch4_DCA08D))
41
    {
42
        with (obj_ch4_DCA08D.jackenstein)
43
            stopdrawing = true;
44
    }
45
    obj_battlecontroller.skipvictory = 1;
46
    global.flag[39 dojo_abort?] = 1;
47
    global.turntimer = 0;
48
    with (obj_lightsource_heartlight)
49
        instance_destroy();
50
}
51
if (global.monster[myself] == 1)
52
{
53
    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] <= 1)
54
    {
55
        talked = -1;
56
        endcon = 1;
57
        end_cutscene_version = 1;
58
    }
59
    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)
60
    {
61
        rs_rand = choose(0, 1, 2, 3, 4);
62
        
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; } }
();
63
        if (!instance_exists(obj_darkener))
64
        {
65
            if (unleash == 1)
66
                myattackchoice = 9;
67
            else
68
                event_user(0);
69
            instance_create(0, 0, obj_darkener);
70
            fun = 0;
71
            global.typer = 88;
72
            var rand = choose(0, 1);
73
            if (rand == 0)
74
                msgsetloc(0, 
GO... BACK...Wait for inputClose Message
"GO... BACK.../%", "obj_jackenstein_enemy_slash_Step_0_gml_72_0"
);
75
            if (rand == 1)
76
                msgsetloc(0, 
DARK ZONE!
BABY YEAH!Wait for inputClose Message
"DARK ZONE!&BABY YEAH!/%", "obj_jackenstein_enemy_slash_Step_0_gml_73_0"
);
77
            if (unleashfirstused == 0 || myattackchoice == 9)
78
            {
79
                if (myattackchoice == 0)
80
                {
81
                    msgsetloc(0, 
... GHO HO HO...
THERE'S NO ESCAIPE
FROM THE [DARK ZONE]Wait for inputClose Message
"... GHO HO HO...&THERE'S NO ESCAIPE&FROM THE [DARK ZONE]/%", "obj_jackenstein_enemy_slash_Step_0_gml_77_0"
);
82
                    ballooncon = 1;
83
                    balloonend = 0;
84
                }
85
                else if (myattackchoice == 1)
86
                {
87
                    msgsetloc(0, 
...GO BACK...
... YOUR TAKING...
TOO LONG...Wait for inputClose Message
"...GO BACK...&... YOUR TAKING...&TOO LONG.../%", "obj_jackenstein_enemy_slash_Step_0_gml_78_0"
);
88
                    ballooncon = 2;
89
                    balloonend = 0;
90
                }
91
                else if (myattackchoice == 2)
92
                {
93
                    msgsetloc(0, 
WHAT THE HEACK
WAS THAT PUMKIN
THAT WAS SCAIRY!!!Wait for inputClose Message
"WHAT THE HEACK&WAS THAT PUMKIN&THAT WAS SCAIRY!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_79_0"
);
94
                    ballooncon = 2.5;
95
                    balloonend = 0;
96
                }
97
                else if (myattackchoice == 3)
98
                {
99
                    msgsetloc(0, 
OH NO!!! I CAN'T
FIND MY PUMKIN...!!
BUT MAYBE...
IT WILL FIND...Wait for inputClose Message
"OH NO!!! I CAN'T&FIND MY PUMKIN...!!&BUT MAYBE...&IT WILL FIND.../%", "obj_jackenstein_enemy_slash_Step_0_gml_80_0"
);
100
                    ballooncon = 3;
101
                    balloonend = 0;
102
                }
103
                else if (myattackchoice == 4)
104
                {
105
                    msgsetloc(0, 
GO... BACK...
BEFORE LONG...Wait for inputClose Message
"GO... BACK...&BEFORE LONG.../%", "obj_jackenstein_enemy_slash_Step_0_gml_81_0"
);
106
                    ballooncon = 4;
107
                    balloonend = 0;
108
                }
109
                else if (myattackchoice == 5)
110
                {
111
                    msgsetloc(0, 
YOU DIDN'T GO BACKWait for inputClose Message
"YOU DIDN'T GO BACK/%", "obj_jackenstein_enemy_slash_Step_0_gml_82_0"
);
112
                    ballooncon = 5;
113
                    balloonend = 0;
114
                }
115
                else if (myattackchoice == 6)
116
                {
117
                    msgsetloc(0, 
NO MOIRE MISTER
NAICE GUIY...Wait for inputClose Message
"NO MOIRE MISTER&NAICE GUIY.../%", "obj_jackenstein_enemy_slash_Step_0_gml_83_0"
);
118
                    ballooncon = 6;
119
                    balloonend = 0;
120
                }
121
                else if (myattackchoice == 7)
122
                {
123
                    msgsetloc(0, 
ENOUGH!!! MY
PATIANCE RUNS THINWait for inputClose Message
"ENOUGH!!! MY&PATIANCE RUNS THIN/%", "obj_jackenstein_enemy_slash_Step_0_gml_84_0"
);
124
                    ballooncon = 9;
125
                    balloonend = 0;
126
                }
127
                else if (myattackchoice == 8)
128
                {
129
                    msgsetloc(0, 
... FOOL THAT YOU ARE...
YOU REALIZE NOT WHAT
FRAIGHTFUL FOARCES
AWAIT YOU...Wait for inputClose Message
"... FOOL THAT YOU ARE...&YOU REALIZE NOT WHAT&FRAIGHTFUL FOARCES&AWAIT YOU.../%", "obj_jackenstein_enemy_slash_Step_0_gml_85_0"
);
130
                    ballooncon = 10;
131
                    balloonend = 0;
132
                }
133
                else if (myattackchoice == 10 && finalattackballoon == 0)
134
                {
135
                    msgsetloc(0, 
YOAR STILL HEAR...?
INTERESTING...Wait for inputClose Message
"YOAR STILL HEAR...?&INTERESTING.../%", "obj_jackenstein_enemy_slash_Step_0_gml_86_0"
);
136
                    ballooncon = 12;
137
                    balloonend = 0;
138
                    finalattackballoon = 1;
139
                }
140
                else if (myattackchoice == 10 && finalattackballoon == 1)
141
                {
142
                    msgsetloc(0, 
FINE... BE TRAPPED
IN THE [DARK ZONE]...
FOAREVER!!!Wait for inputClose Message
"FINE... BE TRAPPED&IN THE [DARK ZONE]...&FOAREVER!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_87_0"
);
143
                    ballooncon = 0;
144
                    balloonend = 1;
145
                }
146
                else if (myattackchoice == 9)
147
                {
148
                    unleashcount++;
149
                    if (unleashcount == 1)
150
                    {
151
                        msgsetloc(0, 
YOU DAIRE BRING
LAIGHTS TO MY
LAIRE!? HA HA...Wait for inputClose Message
"YOU DAIRE BRING&LAIGHTS TO MY&LAIRE!? HA HA.../%", "obj_jackenstein_enemy_slash_Step_0_gml_92_0"
);
152
                        ballooncon = 13;
153
                        balloonend = 0;
154
                        unleashfirstused = 1;
155
                    }
156
                    if (unleashcount == 2)
157
                    {
158
                        msgsetloc(0, 
NO!!! NOT THE
LAIGHT!!! IT
BURNS!!!Wait for inputClose Message
"NO!!! NOT THE&LAIGHT!!! IT&BURNS!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_93_0"
);
159
                        ballooncon = 15;
160
                        balloonend = 0;
161
                    }
162
                    if (unleashcount == 3)
163
                    {
164
                        msgsetloc(0, 
NO!!! THE LAIGHT!!
DON'T BROING IT
CLOASE TO MY FAICE!!!Wait for inputClose Message
"NO!!! THE LAIGHT!!&DON'T BROING IT&CLOASE TO MY FAICE!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_94_0"
);
165
                        ballooncon = 0;
166
                        balloonend = 1;
167
                    }
168
                    if (unleashcount > 3)
169
                    {
170
                        msgsetloc(0, 
NO!!! NOT THE
LAIGHT!!!Wait for inputClose Message
"NO!!! NOT THE&LAIGHT!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_95_0"
);
171
                        ballooncon = 0;
172
                        balloonend = 1;
173
                    }
174
                }
175
            }
176
            else
177
            {
178
                msgsetloc(0, 
NO!!! THE LAIGHT!!!
IT HAS EFFECTS
ON ME!!!Wait for inputClose Message
"NO!!! THE LAIGHT!!!&IT HAS EFFECTS&ON ME!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_98_0"
);
179
                ballooncon = 17;
180
                balloonend = 0;
181
                unleashfirstused = 0;
182
            }
183
            unleash = 0;
184
            if (ralseitalks == 1 && instance_exists(obj_heroralsei))
185
            {
186
                global.typer = 74;
187
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_z; return myblcon; } }
(obj_heroralsei.x + 75, obj_heroralsei.y + 15, 7);
188
                
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);
189
            }
190
            else if (susietalks == 1 && instance_exists(obj_herosusie))
191
            {
192
                global.typer = 75;
193
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_z; return myblcon; } }
(obj_herosusie.x + 75, obj_herosusie.y + 15, 7);
194
                
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);
195
            }
196
            else
197
            {
198
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_z; return myblcon; } }
(x, global.monstery[myself] - 20, 10);
199
            }
200
            ralseitalks = 0;
201
            susietalks = 0;
202
            if (ballooncon == 0)
203
            {
204
                talked = 0.5;
205
                talktimer = 0;
206
            }
207
            else
208
            {
209
                talked = 0.6;
210
                talktimer = 0;
211
            }
212
            rtimer = 0;
213
        }
214
    }
215
    if (talked == 0.5)
216
    {
217
        talktimer++;
218
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
219
        {
220
            with (obj_writer)
221
                instance_destroy();
222
            alarm[6]
 = 1;
gml_Object_obj_jackenstein_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; }
223
        }
224
    }
225
    if (talked == 0.6)
226
    {
227
        talktimer++;
228
        if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
229
        {
230
            with (obj_writer)
231
                instance_destroy();
232
            if (ballooncon == 1)
233
            {
234
                msgsetloc(0, 
UNLESS...
YOU LEAVEWait for inputClose Message
"UNLESS... &YOU LEAVE/%", "obj_jackenstein_enemy_slash_Step_0_gml_141_0"
);
235
                ballooncon = 0;
236
                balloonend = 1;
237
            }
238
            else if (ballooncon == 2)
239
            {
240
                msgsetloc(0, 
YOUR TAKING...
TOO LONG...!!!Wait for inputClose Message
"YOUR TAKING...&TOO LONG...!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_142_0"
);
241
                ballooncon = 0;
242
                balloonend = 1;
243
            }
244
            else if (ballooncon == 2.5)
245
            {
246
                msgsetloc(0, 
JUST KIDDING
THAT WAS MINE :)Wait for inputClose Message
"JUST KIDDING &THAT WAS MINE :)/%", "obj_jackenstein_enemy_slash_Step_0_gml_143_0"
);
247
                ballooncon = 0;
248
                balloonend = 1;
249
            }
250
            else if (ballooncon == 3)
251
            {
252
                msgsetloc(0, 
... YOUWait for inputClose Message
"... YOU/%", "obj_jackenstein_enemy_slash_Step_0_gml_144_0"
);
253
                ballooncon = 0;
254
                balloonend = 1;
255
            }
256
            else if (ballooncon == 4)
257
            {
258
                msgsetloc(0, 
... GO BACK!!!
BEFORE LONG!!!Wait for inputClose Message
"... GO BACK!!!&BEFORE LONG!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_145_0"
);
259
                ballooncon = 0;
260
                balloonend = 1;
261
            }
262
            else if (ballooncon == 5)
263
            {
264
                msgsetloc(0, 
:(Wait for inputClose Message
":(/%", "obj_jackenstein_enemy_slash_Step_0_gml_146_0"
);
265
                ballooncon = 0;
266
                balloonend = 1;
267
            }
268
            else if (ballooncon == 6)
269
            {
270
                msgsetloc(0, 
INSTEAD.Wait for inputClose Message
"INSTEAD./%", "obj_jackenstein_enemy_slash_Step_0_gml_147_0"
);
271
                ballooncon = 7;
272
                balloonend = 0;
273
            }
274
            else if (ballooncon == 7)
275
            {
276
                msgsetloc(0, 
MR. VERY
NAICE GUYWait for inputClose Message
"MR. VERY&NAICE GUY/%", "obj_jackenstein_enemy_slash_Step_0_gml_148_0"
);
277
                ballooncon = 8;
278
                balloonend = 0;
279
            }
280
            else if (ballooncon == 8)
281
            {
282
                msgsetloc(0, 
LEAVE :)Wait for inputClose Message
"LEAVE :)/%", "obj_jackenstein_enemy_slash_Step_0_gml_149_0"
);
283
                ballooncon = 0;
284
                balloonend = 1;
285
            }
286
            else if (ballooncon == 9)
287
            {
288
                msgsetloc(0, 
NO MORE KEYS!!!
DRESS IN HUMILIATIONWait for inputClose Message
"NO MORE KEYS!!!&DRESS IN HUMILIATION/%", "obj_jackenstein_enemy_slash_Step_0_gml_150_0"
);
289
                ballooncon = 0;
290
                balloonend = 1;
291
            }
292
            else if (ballooncon == 10)
293
            {
294
                msgsetloc(0, 
TONAIGHT, ON THE MOST
HAUNTED OF NAIGHTS...
I SHALL INFLICT YOU WITH
MY GRAITEST CURSE...Wait for inputClose Message
"TONAIGHT, ON THE MOST&HAUNTED OF NAIGHTS...&I SHALL INFLICT YOU WITH&MY GRAITEST CURSE.../%", "obj_jackenstein_enemy_slash_Step_0_gml_151_0"
);
295
                ballooncon = 11;
296
                balloonend = 0;
297
            }
298
            else if (ballooncon == 11)
299
            {
300
                msgsetloc(0, 
THE SAME THING I WAS
USING THE WHOLE TIMEWait for inputClose Message
"THE SAME THING I WAS&USING THE WHOLE TIME/%", "obj_jackenstein_enemy_slash_Step_0_gml_152_0"
);
301
                ballooncon = 0;
302
                balloonend = 1;
303
            }
304
            else if (ballooncon == 12)
305
            {
306
                msgsetloc(0, 
INTERESTING...
BUT IT SUCKS... :(Wait for inputClose Message
"INTERESTING...&BUT IT SUCKS... :(/%", "obj_jackenstein_enemy_slash_Step_0_gml_153_0"
);
307
                ballooncon = 0;
308
                balloonend = 1;
309
            }
310
            else if (ballooncon == 13)
311
            {
312
                msgsetloc(0, 
IN THIS PLAICE
OF TRUE DARK...Wait for inputClose Message
"IN THIS PLAICE&OF TRUE DARK.../%", "obj_jackenstein_enemy_slash_Step_0_gml_154_0"
);
313
                ballooncon = 14;
314
                balloonend = 0;
315
            }
316
            else if (ballooncon == 14)
317
            {
318
                msgsetloc(0, 
LAIGHT HAS NO
AFFECT ON ME!!!Wait for inputClose Message
"LAIGHT HAS NO&AFFECT ON ME!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_155_0"
);
319
                ballooncon = 0;
320
                balloonend = 1;
321
            }
322
            else if (ballooncon == 15)
323
            {
324
                msgsetloc(0, 
TO THINK MY
OWN PELLETS
WOULD BE USED
AGAINST MEWait for inputClose Message
"TO THINK MY&OWN PELLETS&WOULD BE USED&AGAINST ME/%", "obj_jackenstein_enemy_slash_Step_0_gml_156_0"
);
325
                ballooncon = 0;
326
                balloonend = 1;
327
            }
328
            else if (ballooncon == 17)
329
            {
330
                msgsetloc(0, 
STOP USING THAT!!!
TEARRIBLE!!!
GO TO [DARK]!!!Wait for inputClose Message
"STOP USING THAT!!!&TEARRIBLE!!!&GO TO [DARK]!!!/%", "obj_jackenstein_enemy_slash_Step_0_gml_157_0"
);
331
                ballooncon = 0;
332
                balloonend = 1;
333
            }
334
            talked = 0.7;
335
            global.typer = 88;
336
            if (ralseitalks == 1 && instance_exists(obj_heroralsei))
337
            {
338
                global.typer = 74;
339
                
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");
340
                
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);
341
            }
342
            else if (susietalks == 1 && instance_exists(obj_herosusie))
343
            {
344
                global.typer = 75;
345
                
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");
346
                
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);
347
            }
348
            else
349
            {
350
                
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_z; return myblcon; } }
(x, global.monstery[myself] - 20, 10);
351
            }
352
            ralseitalks = 0;
353
            susietalks = 0;
354
            alarm[6]
 = 1;
gml_Object_obj_jackenstein_enemy_Alarm_6.gml

if (balloonend == 1) { talked = 1; } else { talked = 0.6; talktimer = 0; }
355
        }
356
    }
357
    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") && !i_ex(obj_writer))
358
    {
359
        if (flashcon == 0)
360
        {
361
            fadeaway = 1;
362
            flashcon = 1;
363
            flashtimer = 14;
364
            image_alpha = 0;
365
            with (obj_afterimage)
366
                instance_destroy();
367
        }
368
        if (flashtimer == 1)
369
            global.mnfight = 1.5;
370
    }
371
    if (global.mnfight == 1.5)
372
    {
373
        if (!instance_exists(obj_growtangle))
374
        {
375
            if (myattackchoice == 0)
376
                instance_create((__view_get(e__VW.XView, 0) + 320) - 112, __view_get(e__VW.YView, 0) + 170 + 21, obj_growtangle);
377
            if (myattackchoice == 1)
378
                instance_create(__view_get(e__VW.XView, 0) + 320 + 92, __view_get(e__VW.YView, 0) + 170 + 28, obj_growtangle);
379
            if (myattackchoice == 2)
380
                instance_create((__view_get(e__VW.XView, 0) + 320) - 5, (__view_get(e__VW.YView, 0) + 170) - 5, obj_growtangle);
381
            if (myattackchoice == 3)
382
                instance_create(__view_get(e__VW.XView, 0) + 320 + 92, __view_get(e__VW.YView, 0) + 170 + 64, obj_growtangle);
383
            if (myattackchoice == 4)
384
                instance_create((__view_get(e__VW.XView, 0) + 320) - 5, __view_get(e__VW.YView, 0) + 170 + 90, obj_growtangle);
385
            if (myattackchoice == 5)
386
                instance_create((__view_get(e__VW.XView, 0) + 320) - 109, __view_get(e__VW.YView, 0) + 170 + 83, obj_growtangle);
387
            if (myattackchoice == 6)
388
                instance_create(__view_get(e__VW.XView, 0) + 320 + 70, __view_get(e__VW.YView, 0) + 170 + 61, obj_growtangle);
389
            if (myattackchoice == 7)
390
                instance_create(__view_get(e__VW.XView, 0) + 320 + 95, __view_get(e__VW.YView, 0) + 170 + 55, obj_growtangle);
391
            if (myattackchoice == 8)
392
                instance_create((__view_get(e__VW.XView, 0) + 320) - 161, __view_get(e__VW.YView, 0) + 170 + 101, obj_growtangle);
393
            if (myattackchoice == 9)
394
                instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170 + 90, obj_growtangle);
395
            if (myattackchoice == 10)
396
                instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170 + 24, obj_growtangle);
397
        }
398
        with (obj_growtangle)
399
        {
400
            visible = false;
401
            image_xscale = 2;
402
            image_yscale = 2;
403
            image_alpha = 1;
404
            depth = 15;
405
            timer = 15;
406
        }
407
        instance_create_depth(0, 0, -15, obj_ghosthouse_fadein);
408
        obj_growtangle.visible = false;
409
        if (!instance_exists(obj_moveheart) && !i_ex(obj_heart))
410
            
scr_moveheart
scr_moveheart

function
scr_moveheart()
{ global.inv = 0; if (global.chapter == 4 && (i_ex(obj_hammer_of_justice_enemy) || i_ex(obj_sound_of_justice_enemy))) return instance_create(obj_herosusie.x - 250, obj_herosusie.y + 40, obj_moveheart); else return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart); }
();
411
        with (obj_growtangle)
412
        {
413
            image_xscale = 2;
414
            image_yscale = 2;
415
            timer = maxtimer;
416
            x = __view_get(e__VW.XView, 0) + 320;
417
            y = __view_get(e__VW.YView, 0) + 170;
418
        }
419
        global.mnfight = 2;
420
        
scr_turntimer
scr_turntimer

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(90);
421
    }
422
    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)
423
    {
424
        rtimer += 1;
425
        if (rtimer == 8)
426
        {
427
            with (obj_darkness_overlay)
428
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("fade_in", 1, 0.75, 30, 1, "out");
429
            with (obj_lightsource_heartlight)
430
            {
431
                current_radius = 0;
432
                if (other.ract)
433
                {
434
                    radius += 10;
435
                    biggerrad += 12;
436
                }
437
            }
438
            if (myattackchoice == 0)
439
            {
440
                global.monsterattackname[myself] = "jack 1";
441
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
442
                dc.type = 146;
443
            }
444
            else if (myattackchoice == 1)
445
            {
446
                global.monsterattackname[myself] = "jack 2";
447
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
448
                dc.type = 147;
449
            }
450
            else if (myattackchoice == 2)
451
            {
452
                global.monsterattackname[myself] = "jack 3";
453
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
454
                dc.type = 151;
455
            }
456
            else if (myattackchoice == 3)
457
            {
458
                global.monsterattackname[myself] = "jack 4";
459
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
460
                dc.type = 150;
461
            }
462
            else if (myattackchoice == 4)
463
            {
464
                global.monsterattackname[myself] = "jack 5";
465
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
466
                dc.type = 148;
467
            }
468
            else if (myattackchoice == 5)
469
            {
470
                global.monsterattackname[myself] = "jack 6";
471
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
472
                dc.type = 153;
473
            }
474
            else if (myattackchoice == 6)
475
            {
476
                global.monsterattackname[myself] = "jack 7";
477
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
478
                dc.type = 149;
479
            }
480
            else if (myattackchoice == 7)
481
            {
482
                global.monsterattackname[myself] = "jack 8";
483
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
484
                dc.type = 152;
485
            }
486
            else if (myattackchoice == 8)
487
            {
488
                global.monsterattackname[myself] = "jack 9";
489
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
490
                dc.type = 154;
491
            }
492
            else if (myattackchoice == 9)
493
            {
494
                global.monsterattackname[myself] = "jack lightup";
495
                dc = 
scr_bulletspawner
scr_bulletspawner

function
scr_bulletspawner(arg0, arg1, arg2)
{ __dc = instance_create(arg0, arg1, arg2); __dc.creator = myself; __dc.creatorid = id; __dc.target = mytarget; __dc.damage = global.monsterat[myself] * 5; return __dc; }
(x, y, obj_dbulletcontroller);
496
                dc.type = 155;
497
            }
498
            else if (myattackchoice == 10)
499
            {
500
                global.monsterattackname[myself] = "jack 10";
501
                dc = 
scr_bulletspawner
scr_bulletspawner

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

function
scr_turntimer(arg0)
{ if (global.turntimer < arg0) global.turntimer = arg0; }
(200);
505
            turns += 1;
506
            global.typer = 6;
507
            global.fc = 0;
508
            rr = choose(0, 1, 2, 3, 4, 5, 6, 7);
509
            if (rr == 0)
510
                global.battlemsg[0] = stringsetloc(
* You are in the DARK ZONE.
"* You are in the DARK ZONE.", "obj_jackenstein_enemy_slash_Step_0_gml_307_0"
);
511
            if (rr == 1)
512
                global.battlemsg[0] = stringsetloc(
* Everything seems OK.
"* Everything seems OK.", "obj_jackenstein_enemy_slash_Step_0_gml_308_0"
);
513
            if (rr == 2)
514
                global.battlemsg[0] = stringsetloc(
* Too dark to see near the walls.
"* Too dark to see near the walls.", "obj_jackenstein_enemy_slash_Step_0_gml_309_0"
);
515
            if (rr == 3)
516
                global.battlemsg[0] = stringsetloc(
* Too dark to see near the walls.
* There's a pit here!
"* Too dark to see near the walls.&* There's a pit here!", "obj_jackenstein_enemy_slash_Step_0_gml_310_0"
);
517
            if (rr == 4)
518
            {
519
                var small_text = stringsetloc(
K... Kris?
"K... Kris?", "obj_jackenstein_enemy_slash_Step_0_gml_313_0"
);
520
                
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 == "toriel") global.smsprite[arg0] = asset_get_index("spr_face_t" + string(arg2)); 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) ...
(0, "ralsei", 13, "right", "bottom", small_text);
521
                var _str1 = "";
522
                if (global.hp[3] > 0)
523
                    _str1 = "\\f0";
524
                global.battlemsg[0] = stringsetsubloc("* Too dark to see near the walls.&* There's something fluffy in here!~1", _str1, "obj_jackenstein_enemy_slash_Step_0_gml_316_0");
525
            }
526
            if (rr == 5)
527
            {
528
                var small_text = stringsetloc(
That's ME, dumbass!
"That's ME, dumbass!", "obj_jackenstein_enemy_slash_Step_0_gml_321_0"
);
529
                var loc = ["right", "bottom"];
530
                if (global.lang == "ja")
531
                    loc[0] = 380;
532
                
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 == "toriel") global.smsprite[arg0] = asset_get_index("spr_face_t" + string(arg2)); 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) ...
(0, "susie", 5, loc[0], loc[1], small_text);
533
                var _str2 = "";
534
                if (global.hp[2] > 0)
535
                    _str2 = "\\f0";
536
                global.battlemsg[0] = stringsetsubloc("* Too dark to see near the walls.&* There's something very Susie-like in here!~1", _str2, "obj_jackenstein_enemy_slash_Step_0_gml_323_0");
537
            }
538
            if (rr == 6)
539
                global.battlemsg[0] = stringsetloc(
* Too dark to see near the walls.
* There's a texture of a dog playing maracas in here!
"* Too dark to see near the walls.&* There's a texture of a dog playing maracas in here!", "obj_jackenstein_enemy_slash_Step_0_gml_325_0"
);
540
            if (rr == 7)
541
                global.battlemsg[0] = stringsetloc(
* Too dark to see near the walls.
* There's something miniboss-shaped in here!
"* Too dark to see near the walls.&* There's something miniboss-shaped in here!", "obj_jackenstein_enemy_slash_Step_0_gml_326_0"
);
542
            var rand = irandom(99);
543
            if (rand < 3 && global.flag[456 beat_snowgrave_neo] == 1)
544
                global.battlemsg[0] = stringsetloc(
* You can imagine Berdly in your head warning you about Grues.
* Smells like rotting fruit.
"* You can imagine Berdly in your head warning you about Grues.&* Smells like rotting fruit.", "obj_jackenstein_enemy_slash_Step_0_gml_329_0"
);
545
            attacked = 1;
546
        }
547
    }
548
    if (global.turntimer > 1)
549
    {
550
        with (obj_dmgwriter_boogie)
551
        {
552
            killtimer = 0;
553
            killactive = 0;
554
            kill = 0;
555
        }
556
    }
557
    if (global.mnfight == 2 && global.turntimer <= 1)
558
    {
559
        scaredycat = false;
560
        if (global.tension >= 150)
561
            global.battlemsg[0] = stringsetloc(
* The atmosphere feels tense... (You can use UNLEASH!)
"* The atmosphere feels tense... (You can use \\cYUNLEASH\\c0!)", "obj_jackenstein_enemy_slash_Step_0_gml_340_0"
);
562
        sact = false;
563
        ract = false;
564
        fadeaway = 0;
565
        if (myattackchoice == 2)
566
            obj_battlecontroller.dancing_jackolantern_con = 1;
567
        rr = -1;
568
    }
569
    if (i_ex(obj_battlecontroller) && i_ex(obj_battlecontroller.battlewriter))
570
    {
571
        if (obj_battlecontroller.battlewriter.reachedend == 1 && rr == 6 && fun == 0)
572
        {
573
            snd_play(snd_pombark);
574
            fun = 1;
575
        }
576
        if (obj_battlecontroller.battlewriter.reachedend == 1 && rr == 7 && fun == 0)
577
        {
578
            msgsetloc(0, 
H-HEY!Wait for inputClose Message
"H-HEY!/%", "obj_jackenstein_enemy_slash_Step_0_gml_351_0"
);
579
            global.typer = 88;
580
            
scr_enemyblcon
scr_enemyblcon

function
scr_enemyblcon(arg0, arg1, arg2)
{ if (arg2 == 0) { mywriter = instance_create(arg0, arg1, obj_writer); return mywriter; } if (arg2 == 1) { myblcon = instance_create(arg0, arg1, obj_battleblcon); return myblcon; } if (arg2 == 2) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_v; return myblcon; } if (arg2 == 3) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; return myblcon; } if (arg2 == 4) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 0; myblcon.image_speed = 0; return myblcon; } if (arg2 == 5) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.image_index = 1; myblcon.image_speed = 0; return myblcon; } if (arg2 == 6) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_clubs; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 7) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_r; myblcon.image_index = 2; myblcon.image_speed = 0; return myblcon; } if (arg2 == 8) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long_tall; return myblcon; } if (arg2 == 10) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_long; myblcon.auto_length = 1; return myblcon; } if (arg2 == 11) { myblcon = instance_create(arg0, arg1, obj_battleblcon); myblcon.sprite_index = spr_battleblcon_z; return myblcon; } }
(x, global.monstery[myself] - 20, 10);
581
            fun = 2;
582
        }
583
    }
584
    if (fun == 2)
585
    {
586
        funtimer++;
587
        if (funtimer == 60)
588
        {
589
            with (myblcon)
590
                instance_destroy();
591
        }
592
    }
593
}
594
if (global.myfight == 3)
595
{
596
    xx = __view_get(e__VW.XView, 0);
597
    yy = __view_get(e__VW.YView, 0);
598
    if (acting == 1 && actcon == 0)
599
    {
600
        checkcount++;
601
        if (checkcount == 1)
602
        {
603
            msgsetloc(0, 
* JACKENSTEIN - An unsightly beast that lives in total darkness.Wait for input
"* JACKENSTEIN - An unsightly beast that lives in total darkness./", "obj_jackenstein_enemy_slash_Step_0_gml_370_0"
);
604
            msgnextloc(
* Gather TREASURE to gain TP, and use "UNLEASH" to light him up!Wait for inputClose Message
"* Gather \\cYTREASURE\\cW to gain TP, and use \"UNLEASH\" to light him up!/%", "obj_jackenstein_enemy_slash_Step_0_gml_371_0"
);
605
        }
606
        else
607
        {
608
            msgsetloc(0, 
* You CHECKed Jackenstein...
* You remember that DEFENDing gives you TP!Wait for input
"* You CHECKed Jackenstein...&* You remember that \\cYDEFEND\\c0ing gives you TP!/", "obj_jackenstein_enemy_slash_Step_0_gml_377_0"
);
609
            msgnextloc(
* You remember Susie and Ralsei might have their own ACTs as well...!Wait for inputClose Message
"* You remember Susie and Ralsei might have their own ACTs as well...!/%", "obj_jackenstein_enemy_slash_Step_0_gml_378_0"
);
610
        }
611
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
612
        actcon = 1;
613
    }
614
    if (acting == 2 && actcon == 0)
615
    {
616
        msgsetloc(0, 
* Kris's SOUL emitted a brilliant light!Wait for inputClose Message
"* Kris's SOUL emitted a brilliant light!/%", "obj_jackenstein_enemy_slash_Step_0_gml_379_0"
);
617
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
618
        acting = 2.1;
619
    }
620
    if (acting == 2.1 && actcon == 0 && !i_ex(obj_writer))
621
    {
622
        acting = 2.2;
623
        with (obj_herokris)
624
            
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; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
();
625
        heart = instance_create_depth(obj_herokris.x + 30, obj_herokris.y + 50, ralseimarker.depth - 1999, obj_purify_event);
626
        heart.faster = true;
627
    }
628
    if (acting == 2.2 && actcon == 0 && !i_ex(obj_purify_event))
629
    {
630
        unleash = 1;
631
        acting = 0;
632
        actcon = 1;
633
    }
634
    if (acting == 3 && actcon == 0)
635
    {
636
        scaredycatcount++;
637
        scaredycat = true;
638
        if (scaredycatcount == 1)
639
            msgsetloc(0, 
* Your heart pumped nervously!
* SPEED increased for 1 turn!
* Everyone's DEFENSE down!Wait for inputClose Message
"* Your heart pumped nervously!&* SPEED increased for 1 turn!&* Everyone's DEFENSE down!/%", "obj_jackenstein_enemy_slash_Step_0_gml_405_0"
);
640
        else
641
            msgsetloc(0, 
* Scared! SPEED up, DEF down!Wait for inputClose Message
"* Scared! SPEED up, DEF down!/%", "obj_jackenstein_enemy_slash_Step_0_gml_406_0"
);
642
        
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
643
        snd_play(snd_drive);
644
        actcon = 1;
645
    }
646
    if (actingsus == 1 && actconsus == 1)
647
    {
648
        if (global.actsimulsus[myself][0] == 0)
649
        {
650
            msgsetloc(0, 
* Susie sniffs out treasure! It's easier to pick stuff up!Wait for inputClose Message
"* Susie sniffs out treasure! It's easier to pick stuff up!/%", "obj_jackenstein_enemy_slash_Step_0_gml_418_0"
);
651
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
652
            actconsus = 20;
653
            global.actsimulsus[myself][0] = 1;
654
        }
655
        else
656
        {
657
            msgsetloc(0, 
* Susie sniffs out treasure!
"* Susie sniffs out treasure!", "obj_jackenstein_enemy_slash_Step_0_gml_425_0"
);
658
            
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");
659
            if (simulordersus == 0)
660
                actconsus = 20;
661
            else
662
                actconsus = 0;
663
        }
664
        actingsus = 0;
665
        sact = true;
666
    }
667
    if (actingral == 1 && actconral == 1)
668
    {
669
        if (global.actsimulral[myself][0] == 0)
670
        {
671
            msgsetloc(0, 
* Ralsei lit up! The light grew larger and stronger!Wait for inputClose Message
"* Ralsei lit up! The light grew larger and stronger!/%", "obj_jackenstein_enemy_slash_Step_0_gml_439_0"
);
672
            
scr_battletext_default
scr_battletext_default

function
scr_battletext_default()
{ global.fc = 0; global.typer = 4;
scr_battletext();
return battlewriter; }
();
673
            actconral = 20;
674
            global.actsimulral[myself][0] = 1;
675
        }
676
        else
677
        {
678
            msgsetloc(0, 
* Ralsei lit up! Light grew!
"* Ralsei lit up! Light grew!", "obj_jackenstein_enemy_slash_Step_0_gml_446_0"
);
679
            
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");
680
            if (simulorderral == 0)
681
                actconral = 20;
682
            else
683
                actconral = 0;
684
        }
685
        actingral = 0;
686
        ract = true;
687
    }
688
    if (actcon == 20 || actconsus == 20 || actconral == 20)
689
    {
690
        if (
scr_terminate_writer
scr_terminate_writer

function
scr_terminate_writer()
{ __writerkilled = 0; __writerkillable = 0; __writerended = 0; if (instance_exists(obj_writer)) { obj_writer.__endcheckid = id; with (obj_writer) { if (reachedend == 1) { with (__endcheckid) __writerended++; } } if (__writerended == instance_number(obj_writer)) __writerkillable = 1; } else { __writerkilled = 1; } if (button1_p() && __writerkillable == 1) { with (obj_writer) instance_destroy(); __writerkilled = 1; } return __writerkilled; }
())
691
        {
692
            actconsus = -1;
693
            actconral = -1;
694
            actcon = 1;
695
        }
696
    }
697
    if (actcon == 1 && !instance_exists(obj_writer))
698
        
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 (i_ex(obj_sound_of_justice_enemy) && obj_sound_of_justice_enemy.phase == 1) { global.charturn = 3; global.myfight = 3; global.currentactingchar = 0; if (global.acting[0] == 0)
scr_nextact();
if (global.acting[0] == 1 && global.actingsimul[0] == 1)
scr_act_simul();
exit; } 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();
} }
();
699
}
700
if (state == 3)
701
{
702
    
scr_enemyhurt_tired_after_damage
scr_enemyhurt_tired_after_damage

function
scr_enemyhurt_tired_after_damage(arg0)
{ if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * arg0))
scr_monster_make_tired(myself);
}
(0.5);
703
    
scr_enemy_hurt
scr_enemy_hurt

function
scr_enemy_hurt()
{ hurttimer -= 1; if (hurttimer < 0) { state = 0; } else { if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1; if (hurtshake > 1) { if (shakex > 0) shakex -= 1; if (shakex < 0) shakex += 1; shakex = -shakex; hurtshake = 0; } } }
();
704
}
705
if (i_ex(obj_herosusie) && i_ex(susiemarker))
706
{
707
    if (susiemarker.sprite_index == spr_susie_eyes_idle || susiemarker.sprite_index == spr_nothing)
708
    {
709
        susieblinktimer++;
710
        if (susieblinktimer == 140)
711
        {
712
            susieblinktimer = choose(40, 75, 90);
713
            susiemarker.sprite_index = spr_susie_eyes_blink;
714
            susietimer = 0;
715
        }
716
    }
717
    if (susiemarker.sprite_index == spr_susie_eyes_blink)
718
    {
719
        susietimer++;
720
        if (susietimer == 12)
721
        {
722
            susiemarker.sprite_index = spr_susie_eyes_idle;
723
            susietimer = 0;
724
        }
725
    }
726
    if (obj_herosusie.thissprite == obj_herosusie.defendsprite)
727
        susiemarker.sprite_index = spr_susie_eyes_defend;
728
    if (obj_herosusie.thissprite != obj_herosusie.defendsprite && susiemarker.sprite_index == spr_susie_eyes_defend)
729
        susiemarker.sprite_index = spr_susie_eyes_idle;
730
    if (obj_herosusie.thissprite == obj_herosusie.defeatsprite)
731
        susiemarker.sprite_index = spr_susie_eyes_defeat;
732
    if (obj_herosusie.thissprite != obj_herosusie.defeatsprite && susiemarker.sprite_index == spr_susie_eyes_defeat)
733
        susiemarker.sprite_index = spr_susie_eyes_idle;
734
    if (obj_herosusie.thissprite == obj_herosusie.spellsprite)
735
    {
736
        susiemarker.sprite_index = spr_susie_eyes_spell;
737
        if (global.faceaction[obj_herosusie.myself] == 10)
738
            susiemarker.sprite_index = spr_susie_eyes_spare;
739
    }
740
    if (obj_herosusie.thissprite != obj_herosusie.spellsprite && susiemarker.sprite_index == spr_susie_eyes_spell)
741
        susiemarker.sprite_index = spr_susie_eyes_idle;
742
    if (obj_herosusie.thissprite != obj_herosusie.spellsprite && susiemarker.sprite_index == spr_susie_eyes_spare)
743
        susiemarker.sprite_index = spr_susie_eyes_idle;
744
    if (obj_herosusie.thissprite == obj_herosusie.actsprite)
745
        susiemarker.sprite_index = spr_susie_eyes_act;
746
    if (obj_herosusie.thissprite != obj_herosusie.actsprite && susiemarker.sprite_index == spr_susie_eyes_act)
747
        susiemarker.sprite_index = spr_susie_eyes_idle;
748
    if (obj_herosusie.thissprite == obj_herosusie.itemsprite)
749
        susiemarker.sprite_index = spr_susie_eyes_item;
750
    if (obj_herosusie.thissprite != obj_herosusie.itemsprite && susiemarker.sprite_index == spr_susie_eyes_item)
751
        susiemarker.sprite_index = spr_susie_eyes_idle;
752
    if (obj_herosusie.thissprite == obj_herosusie.attacksprite)
753
        susiemarker.sprite_index = spr_susie_eyes_attack;
754
    if (obj_herosusie.thissprite != obj_herosusie.attacksprite && susiemarker.sprite_index == spr_susie_eyes_attack)
755
        susiemarker.sprite_index = spr_susie_eyes_idle;
756
    if (obj_herosusie.hurt == 1 && global.hp[global.char[obj_herosusie.myself]] > 0)
757
        susiemarker.sprite_index = spr_susie_eyes_hurt;
758
    else if (susiemarker.sprite_index == spr_susie_eyes_hurt)
759
        susiemarker.sprite_index = spr_susie_eyes_idle;
760
}
761
if (i_ex(obj_heroralsei) && i_ex(ralseimarker))
762
{
763
    if (ralseimarker.sprite_index == spr_ralsei_eyes_idle || ralseimarker.sprite_index == spr_nothing)
764
    {
765
        ralseiblinktimer++;
766
        if (ralseiblinktimer == 140)
767
        {
768
            ralseiblinktimer = choose(40, 75, 90);
769
            ralseimarker.sprite_index = spr_ralsei_eyes_blink;
770
            ralseitimer = 0;
771
        }
772
    }
773
    if (ralseimarker.sprite_index == spr_ralsei_eyes_blink)
774
    {
775
        ralseitimer++;
776
        if (ralseitimer == 12)
777
        {
778
            ralseimarker.sprite_index = spr_ralsei_eyes_idle;
779
            ralseitimer = 0;
780
        }
781
    }
782
    if (obj_heroralsei.thissprite == obj_heroralsei.defendsprite)
783
        ralseimarker.sprite_index = spr_ralsei_eyes_defend;
784
    if (obj_heroralsei.thissprite != obj_heroralsei.defendsprite && ralseimarker.sprite_index == spr_ralsei_eyes_defend)
785
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
786
    if (obj_heroralsei.thissprite == obj_heroralsei.defeatsprite)
787
        ralseimarker.sprite_index = spr_ralsei_eyes_defeated;
788
    if (obj_heroralsei.thissprite != obj_heroralsei.defeatsprite && ralseimarker.sprite_index == spr_ralsei_eyes_defeated)
789
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
790
    if (obj_heroralsei.thissprite == obj_heroralsei.spellsprite)
791
        ralseimarker.sprite_index = spr_ralsei_eyes_spell;
792
    if (obj_heroralsei.thissprite != obj_heroralsei.spellsprite && ralseimarker.sprite_index == spr_ralsei_eyes_spell)
793
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
794
    if (obj_heroralsei.thissprite == obj_heroralsei.actsprite)
795
        ralseimarker.sprite_index = spr_ralsei_eyes_act;
796
    if (obj_heroralsei.thissprite != obj_heroralsei.actsprite && ralseimarker.sprite_index == spr_ralsei_eyes_act)
797
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
798
    if (obj_heroralsei.thissprite == obj_heroralsei.itemsprite)
799
        ralseimarker.sprite_index = spr_ralsei_eyes_item;
800
    if (obj_heroralsei.thissprite != obj_heroralsei.itemsprite && ralseimarker.sprite_index == spr_ralsei_eyes_item)
801
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
802
    if (obj_heroralsei.thissprite == obj_heroralsei.attacksprite)
803
        ralseimarker.sprite_index = spr_ralsei_eyes_attack;
804
    if (obj_heroralsei.thissprite != obj_heroralsei.attacksprite && ralseimarker.sprite_index == spr_ralsei_eyes_attack)
805
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
806
    if (obj_heroralsei.hurt == 1 && global.hp[global.char[obj_heroralsei.myself]] > 0)
807
        ralseimarker.sprite_index = spr_ralsei_eyes_hurt;
808
    else if (ralseimarker.sprite_index == spr_ralsei_eyes_hurt)
809
        ralseimarker.sprite_index = spr_ralsei_eyes_idle;
810
}
811
if (!fadeaway)
812
{
813
    if (image_alpha < 1)
814
        image_alpha += 0.1;
815
    juststartedbulletphase = true;
816
    eyeflashtimer = 0;
817
}
818
else
819
{
820
    if (juststartedbulletphase == true)
821
    {
822
        juststartedbulletphase = false;
823
        eyeflashtimer++;
824
    }
825
    if (eyeflashtimer > 0)
826
        eyeflashtimer++;
827
    if (image_alpha > 0)
828
        image_alpha -= 0.1;
829
}
830
if (image_alpha == 1)
831
{
832
    if (global.mercymod[myself] <= 20 && (jackotimer % 4) == 0)
833
    {
834
        inst = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
835
        inst.fadeSpeed = 0.15;
836
        inst.image_index = siner;
837
        inst.y = y + (sin(siner / 1.35) * 8);
838
    }
839
    if (global.mercymod[myself] >= 20 && global.mercymod[myself] <= 50 && (jackotimer % 4) == 0)
840
    {
841
        inst = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
842
        inst.fadeSpeed = 0.07;
843
        inst.image_index = siner;
844
        inst.y = y + (sin(siner / 1.35) * 8);
845
    }
846
    if (global.mercymod[myself] >= 50 && (jackotimer % 4) == 0)
847
    {
848
        inst = 
scr_afterimage
scr_afterimage

function
scr_afterimage()
{ afterimage = instance_create(x, y, obj_afterimage); afterimage.sprite_index = sprite_index; afterimage.image_index = image_index; afterimage.image_blend = image_blend; afterimage.image_speed = 0; afterimage.depth = depth; afterimage.image_xscale = image_xscale; afterimage.image_yscale = image_yscale; afterimage.image_angle = image_angle; return afterimage; }
();
849
        inst.fadeSpeed = 0.04;
850
        inst.image_index = siner;
851
        inst.y = y + (sin(siner / 1.35) * 8);
852
    }
853
}
854
855
enum e__VW
856
{
857
    XView,
858
    YView,
859
    WView,
860
    HView,
861
    Angle,
862
    HBorder,
863
    VBorder,
864
    HSpeed,
865
    VSpeed,
866
    Object,
867
    Visible,
868
    XPort,
869
    YPort,
870
    WPort,
871
    HPort,
872
    Camera,
873
    SurfaceID
874
}