Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gh_fireball_linear_Step_2

(view raw script w/o annotations or w/e)
1
if (!checked)
2
{
3
    checked = true;
4
    if (sprite_index == spr_ghost_house_bullet)
5
    {
6
        if (type == 0)
7
            sprite_index = spr_ghost_house_pumpkin_horizontal;
8
        else
9
            sprite_index = spr_ghost_house_pumpkin_vertical;
10
        image_index = 2;
11
    }
12
}