Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shadow_mantle_enemy_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 1/3;
2
ohmygodimonfire = 0;
3
specialcontimer = 0;
4
flameframe = 0;
5
hp = 30;
6
hp_max = hp;
7
hp = 30;
8
timer = 0;
9
con = 0;
10
siner = 0;
11
hurttimer = 0;
12
telegraphtimer = 0;
13
telegraphused = 0;
14
attacktimer = 10;
15
burstwaveused = 0;
16
enemywaveused = 0;
17
flamewaveused = 0;
18
dashused = 0;
19
dashcount = 0;
20
lastused = "none";
21
speedrun = 0;
22
state = "init";
23
movecon = 0;
24
movetimer = 0;
25
movestyle = "none";
26
targetx = x;
27
targety = y;
28
if (!variable_global_exists("shadow_mantle_losses"))
29
    global.shadow_mantle_losses = 0;
30
hitsduringenemies = 0;
31
spawnenemies = 0;
32
spawnenemiestimer = 0;
33
howlongenemiesalive = 0;
34
damagetakenduringattack = 0;
35
darkcandydrop = false;
36
waittimer = 0;
37
flamewavecon = 0;
38
flamewavetimer = 0;
39
burstwavecon = 0;
40
burstwavetimer = 0;
41
phase = 1;
42
phasetransitioncon = 0;
43
phasetransitiontimer = 0;
44
dashcon = 0;
45
dashtimer = 0;
46
dashhitboxtimer = 0;
47
ultimatecon = 0;
48
ultimatetimer = 0;
49
timeshitthisphase = 1;
50
firetrailtimer = 0;
51
_type = 0;
52
global.currentsong[0] = snd_init("nightmare_boss_heavy.ogg");
53
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
54
damage = 2;
55
mysolid = 0;
56
active_hitbox = false;