Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_thrash_intro_Create_0

(view raw script w/o annotations or w/e)
1
f = 2;
2
state = 0;
3
timer = 0;
4
image_speed = 0;
5
image_xscale = -2;
6
image_yscale = 2;
7
image_index = 1;
8
vspeed = 80 / f;
9
depth = -10;
10
obj_3d_bg_effect.slow_down = 1;
11
headsprite = spr_bhero_head_c;
12
punchcon = 0;
13
punchtimer = 0;
14
basex = 320;
15
basey = 390;
16
siner = 0;
17
missnoise = 0;
18
miss_timer = 0;
19
shaketimer = 4;
20
movetime = 0;
21
if (global.flag[220 thrash_machine_head] == 1)
22
    headsprite = spr_bhero_head_b;
23
if (global.flag[220 thrash_machine_head] == 2)
24
    headsprite = spr_bhero_head_a;
25
if (global.flag[220 thrash_machine_head] == 3)
26
    headsprite = spr_bhero_head_d;
27
headcolor = make_color_hsv(global.flag[223 thrash_head_color] * 8, 255, 255);
28
glow = 0;