Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shadow_mantle_dash_hitbox_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0.25;
2
image_xscale = 1.5;
3
image_yscale = 1.5;
4
timer = 0;
5
con = 0;
6
damage = 2;
7
mysolid = 0;
8
active_hitbox = true;
9
if (!i_ex(obj_shadow_mantle_enemy))
10
{
11
    instance_destroy();
12
    exit;
13
}
14
depth = obj_shadow_mantle_enemy.depth - 1;
15
destroyonhit = false;
16
if (obj_shadow_mantle_enemy.hp < 5 && obj_mainchara_board.myhealth < 4)
17
    damage = 1;
18
krisonly = false;