Undertale script viewer

← back to main script listing

gml_Object_obj_sorrybody_Other_11

(view raw script w/o annotations or w/e)
1
if (ch == 1)
2
{
3
    if (obj_heart.x == obj_heart.xprevious && obj_heart.y == obj_heart.yprevious)
4
        
scr_damagestandard_x
scr_damagestandard_x

scr_damagestandard(0, 0, 0, 0, 0);
();
5
}
6
if (ch == 0)
7
{
8
    if (obj_heart.x != obj_heart.xprevious || obj_heart.y != obj_heart.yprevious)
9
        
scr_damagestandard_x
scr_damagestandard_x

scr_damagestandard(0, 0, 0, 0, 0);
();
10
}