Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_jokerbattleevent_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
{
3
    scr_encountersetup
scr_encountersetup

function scr_encountersetup(arg0) { xx = __view_get(e__VW.XView, 0); yy = __view_get(e__VW.YView, 0); for (i = 0; i < 3; i += 1) { global.heromakex[i] = xx + 80; global.heromakey[i] = yy + 50 + (80 * i); global.monsterinstancetype[i] = obj_lancerboss; global.monstertype[i] = 1Enemy (placeholder/G-BODY); global.monstermakex[i] = xx + 540; global.monstermakey[i] = yy + 160 + (80 * i); } if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0) global.heromakey[0] = yy + 140; if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0) { global.heromakey[0] = yy + 100; global.heromakey[1] = yy + 180; } switch (arg0) { case 0: break; case 1: global.monsterinstancetype[0] = obj_placeholderenemy; global.monstertype[0] = 1Enemy (placeholder/G-BODY); global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_placeholderenemy; global.monstertype[1] = 1Enemy (placeholder/G-BODY); global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); break; case 2: global.monsterinstancetype[0] = obj_lancerboss; global.monstertype[0] = 2Lancer; global.monstermakex[0] = xx + 540; global.monstermakey[0] = yy + 200; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); break; case 3: global.monsterinstancetype[0] = obj_dummyenemy; global.monstertype[0] = 3Dummy; global.monstermakex[0] = xx + 500; global.monstermakey[0] = yy + 160; if (instance_exists(obj_npc_room)) { global.monstermakex[0] = obj_npc_room.xstart; global.monstermakey[0] = obj_npc_room.ystart; } global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); break; case 4: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 140; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); global.battlemsg[0] =
* Rudinn drew near!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_82_0")
; if (global.flag[500 times_rudinn_fought] >= 1) global.battlemsg[0] =
* A different Rudinn from last time drew near!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_83_0")
; if (global.flag[500 times_rudinn_fought] == 2) global.battlemsg[0] =
* Assumedly another different Rudinn appeared!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_84_0")
; break; case 5: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_diamondenemy; global.monstertype[1] = 5Rudinn; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); global.battlemsg[0] =
* A necklace of Rudinns blocks your path.
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_100_0")
; break; case 6: global.monsterinstancetype[0] = obj_diamondenemy; global.monstertype[0] = 5Rudinn; global.monstermakex[0] = xx + 480; global.monstermakey[0] = yy + 110; global.monsterinstancetype[1] = obj_heartenemy; global.monstertype[1] = 6Hathy; global.monstermakex[1] = xx + 500; global.monstermakey[1] = yy + 200; global.monstertype[2] = 0(None); global.battlemsg[0] =
* Rudinn and Hathy blocked the way!
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_116_0")
; break; case 7: global.monsterinstancetype[0] = obj_smallcheckers_enemy; global.monstertype[0] = 9C.Round; global.monstermakex[0] = xx + 440; global.monstermakey[0] = yy + 150; global.monstertype[1] = 0(None); global.monstertype[2] = 0(None); global.battlemsg[0] =
* C. Round attacked violently!
* (You recall Ralsei's advice to include Susie in an ACT.)
scr_84_get_lang_string("scr_encountersetup_slash_scr_encountersetup_gml_128_0")
; ...
(25);
4
    x = global.monstermakex[0];
5
    y = global.monstermakey[0] + 100;
6
    with (obj_mainchara)
7
        visible = 0;
8
    with (obj_caterpillarchara)
9
        visible = 0;
10
    for (i = 0; i < 3; i += 1)
11
    {
12
        c[i] = 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; }
(global.heromakex[i] - 100, global.heromakey[i], spr_krisr_dark);
13
        with (c[i])
14
        {
15
            scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
16
            hspeed = 2;
17
            image_speed = 0.2;
18
        }
19
        if (quick == 1)
20
        {
21
            with (c[i])
22
            {
23
                x += 1;
24
                scr_depth
scr_depth

function scr_depth() { depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
25
                hspeed = 5;
26
                image_speed = 0.334;
27
            }
28
        }
29
    }
30
    k = c[0];
31
    s = c[1];
32
    with (s)
33
        sprite_index = spr_susier_dark;
34
    r = c[2];
35
    with (r)
36
        sprite_index = spr_ralseir;
37
    con = 2;
38
    alarm[4] = 83;
39
    if (quick == 1)
40
        alarm[4] = 33;
41
}
42
if (con == 2)
43
    global.interact = 1;
44
if (con == 3)
45
{
46
    for (i = 0; i < 3; i += 1)
47
    {
48
        with (c[i])
49
            scr_halt
scr_halt

function scr_halt() { image_index = 0; image_speed = 0; speed = 0; }
();
50
    }
51
    con = 4;
52
    alarm[4] = 20;
53
    if (quick == 1)
54
    {
55
        con = 6;
56
        alarm[4] = -10;
57
    }
58
}
59
if (con == 5)
60
{
61
    snd_play(snd_joker_laugh1);
62
    global.typer = 35;
63
    global.fc = 0;
64
    global.msg[0] = 
* UEE HEE!Delay 11
* VISITORS,Delay 11 VISITORS!Delay 11
* NOW WE CAN PLAY,Delay 11 PLAY!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_59_0")
;
65
    global.msg[1] = 
* THEN,Delay 11 AFTER YOU,Delay 11 I CAN PLAY WITH EVERYONE ELSE,Delay 11 TOO!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_60_0")
;
66
    scr_ralface
scr_ralface

function scr_ralface(arg0, arg1) { global.msg[arg0] = scr_84_get_subst_string(
\TX \F0 \E~1 \FR \TR Close Message
scr_84_get_lang_string("scr_ralface_slash_scr_ralface_gml_1_0")
, string(arg1)); }
(2, 0);
67
    global.msg[3] = 
* So what are we playing,Delay 11 exactly...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_62_0")
;
68
    scr_noface
scr_noface

function scr_noface(arg0) { global.msg[arg0] =
\TX \F0 \T0 Close Message
scr_84_get_lang_string("scr_noface_slash_scr_noface_gml_1_0")
; }
(4);
69
    global.msg[5] = 
\TJ* OH,Delay 11 IT'S JUST A SIMPLE NUMBERS GAME.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_64_0")
;
70
    instance_create(0, 0, obj_dialoguer);
71
    con = 6;
72
}
73
if (con == 6 && !d_ex())
74
{
75
    image_speed = 0.5;
76
    snd_play(snd_joker_laugh0);
77
    con = 9;
78
    alarm[4] = 10;
79
}
80
if (con == 10)
81
{
82
    snd_play(snd_rudebuster_swing);
83
    bulcon = 1;
84
    smax = 2;
85
    con = 11;
86
    alarm[4] = 10;
87
}
88
if (bulcon == 1)
89
{
90
    for (i = 0; i < smax; i += 1)
91
    {
92
        sbul[i] = 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; }
(s.x + 70, (-i * 100) - 40, spr_joker_scythebody);
93
        with (sbul[i])
94
            vspeed = 24;
95
        with (sbul[i])
96
            image_angle = random(360);
97
    }
98
    bulcon = 2;
99
}
100
if (bulcon == 2)
101
{
102
    below = 0;
103
    for (i = 0; i < smax; i += 1)
104
    {
105
        with (sbul[i])
106
        {
107
            image_angle += 24;
108
            aft = 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; }
();
109
            with (aft)
110
                image_alpha = 0.5;
111
        }
112
        if (sbul[i].y >= (__view_get(e__VW.YView, 0) + 580))
113
            below += 1;
114
    }
115
    if (below >= smax)
116
        bulcon = 3;
117
}
118
if (con == 12)
119
{
120
    with (s)
121
        sprite_index = spr_susie_shock_r;
122
    with (r)
123
        sprite_index = spr_ralsei_shock_overworld;
124
    for (i = 0; i < 3; i += 1)
125
    {
126
        with (c[i])
127
        {
128
            hspeed = -10;
129
            friction = 1;
130
        }
131
    }
132
    con = 13;
133
    alarm[4] = 45;
134
    if (quick == 1)
135
    {
136
        con = 22;
137
        alarm[4] = 40;
138
        snd_free_all();
139
    }
140
}
141
if (con == 14)
142
{
143
    image_speed = 0;
144
    with (s)
145
        sprite_index = spr_susier_dark_unhappy;
146
    with (r)
147
        sprite_index = spr_ralseir;
148
    global.typer = 30;
149
    global.fe = 0;
150
    global.typer = 35;
151
    global.fc = 0;
152
    global.msg[0] = 
* WHEN YOUR HP DROPS TO 0,Delay 11 YOU LOSE!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_140_0")
;
153
    scr_susface
scr_susface

function scr_susface(arg0, arg1) { global.msg[arg0] = scr_84_get_subst_string(
\TX \F0 \E~1 \FS \TS Close Message
scr_84_get_lang_string("scr_susface_slash_scr_susface_gml_1_0")
, string(arg1)); }
(1, 0);
154
    global.msg[2] = 
* So that's the kinda game you wanna play,Delay 11 huh...?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_142_0")
;
155
    global.msg[3] = 
\E2* Then,Delay 11 I gotta warn you...Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_143_0")
;
156
    instance_create(0, 0, obj_dialoguer);
157
    con = 15.1;
158
}
159
if (con == 15.1 && !d_ex())
160
{
161
    with (s)
162
        sprite_index = spr_susieb_attack;
163
    with (r)
164
        sprite_index = spr_ralseib_attack;
165
    with (k)
166
        sprite_index = spr_krisb_attack;
167
    for (i = 0; i < 3; i += 1)
168
    {
169
        c[i].image_index = 0;
170
        c[i].image_speed = 0.25;
171
    }
172
    con = 16;
173
    alarm[4] = 60;
174
    snd_play(snd_laz_c);
175
}
176
if (con == 16)
177
{
178
    if (s.image_index >= 5)
179
        s.image_speed = 0;
180
    if (k.image_index >= 6)
181
        k.image_speed = 0;
182
    if (r.image_index >= 5)
183
        r.image_speed = 0;
184
}
185
if (con == 17)
186
{
187
    global.fe = 3;
188
    global.msg[0] = 
* You're dealing with a couple of sharks.Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_175_0")
;
189
    instance_create(0, 0, obj_dialoguer);
190
    con = 18;
191
}
192
if (con == 18 && !d_ex())
193
{
194
    jlaugh = snd_loop(snd_joker_laugh0);
195
    image_speed = 0.25;
196
    con = 19;
197
    alarm[4] = 15;
198
}
199
if (con == 20)
200
{
201
    global.typer = 35;
202
    global.fc = 0;
203
    global.msg[0] = 
* UEE HEE HEE!Delay 11 SHARK-TO-SHARK!Delay 11 I WOULDN'T HAVE IT ANY OTHER WAY!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_192_0")
;
204
    global.msg[1] = 
* NOW,Delay 11 NOW!!Delay 11
* LET THE GAMES BEGIN!!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_193_0")
;
205
    con = 21;
206
    instance_create(0, 0, obj_dialoguer);
207
}
208
if (con == 21 && !d_ex())
209
{
210
    snd_free_all();
211
    snd_stop(jlaugh);
212
    con = 22;
213
    alarm[4] = 1;
214
}
215
if (con == 23)
216
{
217
    obj_mainchara.x = k.x;
218
    obj_mainchara.y = k.y;
219
    global.cinstance[0].x = s.x;
220
    global.cinstance[0].y = s.y;
221
    global.cinstance[1].x = r.x;
222
    global.cinstance[1].y = r.y;
223
    with (global.cinstance[0])
224
        scr_caterpillar_interpolate
scr_caterpillar_interpolate

function scr_caterpillar_interpolate() { remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = global.facing; for (i = target; i > 0; i -= 1) { facing[i] = 2; remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target)); remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target)); } }
();
225
    with (global.cinstance[1])
226
        scr_caterpillar_interpolate
scr_caterpillar_interpolate

function scr_caterpillar_interpolate() { remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = global.facing; for (i = target; i > 0; i -= 1) { facing[i] = 2; remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target)); remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target)); } }
();
227
    scr_caterpillar_facing
scr_caterpillar_facing

function scr_caterpillar_facing(arg0) { with (obj_caterpillarchara) { for (i = 0; i < 25; i += 1) facing[i] = arg0; } }
(1);
228
    with (obj_mainchara)
229
        visible = 1;
230
    with (global.cinstance[0])
231
        visible = 1;
232
    with (global.cinstance[1])
233
        visible = 1;
234
    with (k)
235
        visible = 0;
236
    with (r)
237
        visible = 0;
238
    with (s)
239
        visible = 0;
240
    global.flag[9 battle_music] = 1;
241
    global.batmusic[0] = snd_init("joker.ogg");
242
    global.encounterno = 25;
243
    global.specialbattle = 3;
244
    instance_create(0, 0, obj_encounterbasic);
245
    con = 25;
246
    bultimer = 0;
247
    bulcon = 10;
248
}
249
if (bulcon == 10)
250
{
251
    image_speed = 0.5;
252
    bultimer += 1;
253
    aft = 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; }
();
254
    with (aft)
255
        image_alpha = 0.5;
256
    y -= 16;
257
    x += 5;
258
    bultimer += 1;
259
    if (bultimer >= 10)
260
        bulcon = 11;
261
}
262
if (con == 25)
263
{
264
    if (instance_exists(obj_battlecontroller))
265
    {
266
        visible = 0;
267
        with (obj_jokerbg_triangle_real)
268
            on = 1;
269
        if (global.flag[8 simplify_vfx] == 1)
270
        {
271
            with (obj_jokerbg_triangle_real)
272
                on = 0;
273
        }
274
        con = 28;
275
    }
276
}
277
if (con == 28)
278
{
279
    if (!instance_exists(obj_battlecontroller))
280
    {
281
        if (global.flag[241 JEVIL_plot] != 6)
282
            global.flag[241 JEVIL_plot] = 7;
283
        con = 29;
284
        alarm[4] = 30;
285
    }
286
}
287
if (con == 30)
288
{
289
    with (obj_caterpillarchara)
290
    {
291
        if (lsprite == spr_susier_dark)
292
        {
293
            lsprite = spr_susier_dark_unhappy;
294
            sprite_index = spr_susier_dark_unhappy;
295
        }
296
    }
297
    global.currentsong[0] = snd_init("prejoker.ogg");
298
    global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.7, 0.75);
299
    with (obj_joker_body)
300
    {
301
        fade = 1;
302
        dancelv = 0;
303
        floatsinerspeed = 1;
304
        condition = 0;
305
    }
306
    if (!instance_exists(obj_battlecontroller))
307
    {
308
        global.typer = 35;
309
        global.fc = 0;
310
        global.msg[0] = 
* HA HA HA.Delay 11
* WHAT FUN!!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_294_0")
;
311
        global.msg[1] = 
* YOU'RE FAST,Delay 11 FAST,Delay 11 STRONG,Delay 11 STRONG.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_295_0")
;
312
        global.msg[2] = 
* BUT THERE ARE YET FASTER,Delay 11 YET STRONGER.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_296_0")
;
313
        global.msg[3] = 
* THE HAND OF THE KNIGHT IS DRIFTING FORWARD.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_297_0")
;
314
        global.msg[4] = 
* SOON,Delay 11 THE "QUEEN" RETURNS,Delay 11 AND HELL'S ROAR BUBBLES FROM THE DEPTHS...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_298_0")
;
315
        global.msg[5] = 
* LIGHTNERS,Delay 11 CAN YOU STOP IT?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_299_0")
;
316
        global.msg[6] = 
* UEE HEE HEE!Delay 11Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_300_0")
;
317
        global.msg[7] = 
* EITHER WAY,Delay 11 A MISCHIEF-MISCHIEF,Delay 11 A CHAOS-CHAOS...!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_301_0")
;
318
        global.msg[8] = 
* LIGHTNERS!Delay 11
* FROM INSIDE YOUR LITTLE CELL!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_302_0")
;
319
        global.msg[9] = 
* TAKE ME AND DO YOUR STRONGEST---!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_303_0")
;
320
        if (global.flag[241 JEVIL_plot] == 7)
321
        {
322
            global.msg[0] = 
* WHAT FUN!!!Delay 11
* I'M EXHAUSTED!!!Delay 11
* YOU KIDS TIRED ME UP!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_307_0")
;
323
            global.msg[1] = 
* NOW I WILL SLEEP FOR THE OTHER 100 YEARS.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_308_0")
;
324
            global.msg[2] = 
* UNFORTUNATELY, YOU KIDS CANNOT HAVE SUCH A PLEASANT DREAM.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_309_0")
;
325
            global.msg[3] = 
* FROM NOW,Delay 11 A NIGHTMARE WILL AWAKEN IN YOUR HEARTS.Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_310_0")
;
326
            global.msg[4] = 
* IN THE SHADOW OF THE KNIGHT'S HAND...Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_311_0")
;
327
            global.msg[5] = 
* LIGHTNERS,Delay 11 CAN YOU STOP IT?Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_312_0")
;
328
            global.msg[6] = 
* UEE HEE HEE!Delay 11Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_313_0")
;
329
            global.msg[7] = 
* EITHER WAY,Delay 11 A MISCHIEF-MISCHIEF,Delay 11 A CHAOS-CHAOS...!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_314_0")
;
330
            global.msg[8] = 
* LIGHTNERS!Delay 11
* FROM INSIDE YOUR LITTLE CELL!!Wait for input
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_315_0")
;
331
            global.msg[9] = 
* TAKE THIS AND DO YOUR STRONGEST---!Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_316_0")
;
332
        }
333
        con = 31;
334
        instance_create(0, 0, obj_dialoguer);
335
    }
336
}
337
if (con == 31 && !d_ex())
338
{
339
    with (obj_joker_body)
340
    {
341
        condition = 5;
342
        timer = 0;
343
    }
344
    con = 32;
345
    alarm[4] = 60;
346
}
347
if (con == 33)
348
{
349
    con = 34;
350
    snd_play(snd_joker_laugh0);
351
    global.typer = 6;
352
    global.fc = 0;
353
    scr_keyitemget
scr_keyitemget

function scr_keyitemget(arg0) { i = 0; loop = 1; noroom = 0; global.item[12] = 999; while (loop == 1) { if (global.keyitem[i] == 0) { global.keyitem[i] = arg0; break; } if (i == 12) { noroom = 1; break; } i += 1; } script_execute(scr_keyiteminfo_all); }
(13);
354
    global.msg[0] = 
* (You got ShadowCrystal.)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_362_0")
;
355
    instance_create(0, 0, obj_dialoguer);
356
}
357
if (con == 34 && !d_ex())
358
{
359
    if (global.flag[241 JEVIL_plot] == 6)
360
    {
361
        scr_weaponget
scr_weaponget

function scr_weaponget(arg0) { i = 0; loop = 1; noroom = 0; global.weapon[12] = 999; while (loop == 1) { if (global.weapon[i] == 0) { global.weapon[i] = arg0; break; } if (i == 12) { noroom = 1; break; } i += 1; } script_execute(scr_weaponinfo_all); }
(7);
362
        if (noroom == 0)
363
        {
364
            global.msg[0] = 
* (DEVILSKNIFE was added to your WEAPONs.)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_344_0")
;
365
        }
366
        else
367
        {
368
            global.msg[0] = 
* (A strange chest appeared outside the room...)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_348_0")
;
369
            global.flag[242 JEVIL_chest] = 1;
370
        }
371
    }
372
    else
373
    {
374
        scr_armorget
scr_armorget

function scr_armorget(arg0) { i = 0; loop = 1; noroom = 0; global.armor[12] = 999; while (loop == 1) { if (global.armor[i] == 0) { global.armor[i] = arg0; break; } if (i == 12) { noroom = 1; break; } i += 1; } script_execute(scr_armorinfo_all); }
(7);
375
        if (noroom == 0)
376
        {
377
            global.msg[0] = 
* (JEVILSTAIL was added to your ARMORs.)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_357_0")
;
378
        }
379
        else
380
        {
381
            global.msg[0] = 
* (A strange chest appeared outside the room...)Wait for inputClose Message
scr_84_get_lang_string
scr_84_get_lang_string

function scr_84_get_lang_string(arg0) { return ds_map_find_value(global.lang_map, arg0); }
("obj_jokerbattleevent_slash_Step_0_gml_361_0")
;
382
            global.flag[242 JEVIL_chest] = 2;
383
        }
384
    }
385
    con = 35;
386
    instance_create(0, 0, obj_dialoguer);
387
}
388
if (con == 35 && !d_ex())
389
{
390
    fade = instance_create(0, 0, obj_fadeout);
391
    fade.fadespeed = 0.02;
392
    con = 36;
393
    alarm[4] = 60;
394
}
395
if (con == 37)
396
{
397
    global.entrance = 2;
398
    global.interact = 3;
399
    global.facing = 3;
400
    instance_create(0, 0, obj_persistentfadein);
401
    room_goto(room_cc_prison_prejoker);
402
    con = 38;
403
}
404
405
enum e__VW
406
{
407
    XView,
408
    YView,
409
    WView,
410
    HView,
411
    Angle,
412
    HBorder,
413
    VBorder,
414
    HSpeed,
415
    VSpeed,
416
    Object,
417
    Visible,
418
    XPort,
419
    YPort,
420
    WPort,
421
    HPort,
422
    Camera,
423
    SurfaceID
424
}