Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_bigshot_Other_15

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_sneo_bigshot_l)
2
{
3
    playerhit = 1;
4
    event_user(0);
5
    with (obj_spamton_neo_enemy)
6
        event_user(2);
7
}
8
else if (sprite_index == spr_sneo_bigshot_s)
9
{
10
    if (active == 1)
11
    {
12
        with (obj_spamton_neo_enemy)
13
            event_user(2);
14
        if (destroyonhit == 1)
15
            instance_destroy();
16
    }
17
}