Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_plat_enm_yellow_miniboss_Collision_obj_plat_susieaxe_hbx

related scripts: Collision_obj_plat_enm_smallgloveCollision_obj_plat_playerCollision_obj_plat_susieaxe_hbx Create_0Destroy_0Draw_0Draw_72Other_19Other_4PreCreate_0Step_0Step_2

(view raw script w/o annotations or w/e)
1
with (other)
2
{
3
    if (!hit_check(other.id))
4
        exit;
5
}
6
shaketimer = 60;
7
shake = 5;
8
spawn_hit_petals(8, point_direction(other.x, other.y, x, y), 1);
9
with (other)
10
    do_hbx_hit(-4, -1, 1.5 - ((0.5 * other.hp) / other.__max_hp));