Deltarune (Chapter 2) 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
stretch = 0.2;
9
stretchgo = 1;
10
lightf = merge_color(c_purple, c_white, 0.6);
11
lightb = merge_color(c_aqua, c_white, 0.5);
12
lightg = merge_color(c_lime, c_white, 0.5);
13
lighty = merge_color(c_yellow, c_white, 0.3);
14
init = 0;
15
kill = 0;
16
killtimer = 0;
17
killactive = 0;
18
with (obj_dmgwriter)
19
{
20
    if (type != 3)
21
        killtimer = 0;
22
}
23
specialmessage = 0;
24
stayincamera = 1;
25
xx = camerax();
26
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");