Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dmgwriter_Create_0

(view raw script w/o annotations or w/e)
1
spec = 0;
2
delaytimer = 0;
3
delay = 2;
4
active = 0;
5
damage = round(random(600));
6
bounces = 0;
7
type = -1;
8
mercytimer = 0;
9
stretch = 0.2;
10
stretchgo = 1;
11
lightf = merge_color(c_purple, c_white, 0.6);
12
lightb = merge_color(c_aqua, c_white, 0.5);
13
lightg = merge_color(c_lime, c_white, 0.5);
14
lighty = merge_color(c_yellow, c_white, 0.3);
15
aqcolor = merge_color(c_aqua, c_blue, 0.3);
16
dkgreen = merge_color(c_green, c_black, 0.05);
17
init = 0;
18
nohbounce = false;
19
kill = 0;
20
killtimer = 0;
21
killactive = 0;
22
with (obj_dmgwriter)
23
{
24
    if (type != 3)
25
        killtimer = 0;
26
}
27
specialmessage = 0;
28
stayincamera = 1;
29
xx = camerax();
30
message_sprite = 
scr_84_get_sprite
scr_84_get_sprite

function
scr_84_get_sprite(arg0)
{ return ds_map_find_value(global.chemg_sprite_map, arg0); }
("spr_battlemsg");