Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_bridgeSwapper_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
dontskip = 0;
3
skip = 0;
4
noflare = 0;
5
inert = 0;
6
if (room == room_dw_mansion_mouseLottery)
7
    skip = 1;
8
bridgetarget = "a_1";
9
bridgetarget2 = "a_2";
10
extflag = "null";
11
image_xscale = 1;
12
image_yscale = 1;
13
swapped = 0;
14
c_nred = make_color_rgb(231, 84, 77);
15
c_nblue = make_color_rgb(39, 167, 212);
16
timer = 0;
17
scr_depth_alt
scr_depth_alt

function
scr_depth_alt()
{ depth = 100000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); }
();
18
mtx = x + 2;
19
mty = y + 2;
20
rax = 0;
21
ray = 0;
22
dir = 2;
23
con = 0;
24
image_index = swapped;