Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gerson_growtangle_hit_fx_Step_2

(view raw script w/o annotations or w/e)
1
if (dir == -1)
2
    x = obj_growtangle.x + 74;
3
if (dir == 1)
4
    x = obj_growtangle.x - 74;
5
if (sprite_index == spr_gerson_box_hit_fx2)
6
{
7
    timer++;
8
    if (timer == 6)
9
        instance_destroy();
10
}