Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_bigshot_Other_10

(view raw script w/o annotations or w/e)
1
if (playerhit)
2
{
3
    if (timer > 0)
4
        exit;
5
    timer = 1;
6
    destroyable = 0;
7
    attackisdone = 1;
8
    depth -= 40;
9
    hspeed = 0;
10
    if (obj_sneo_lastattack.skip_2nd_part_hp > 0)
11
    {
12
    }
13
    obj_sneo_lastattack.endattack = 3;
14
    xx = x;
15
    yy = y;
16
}
17
else
18
{
19
}