Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_white_soul_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart_battle_fighting_parent))
2
{
3
    instance_destroy()
4
    return;
5
}
6
x = xstart
7
y = ystart
8
x += irandom_range(-2, 2)
9
y += irandom_range(-2, 2)
10
obj_heart_battle_fighting_parent.x = x
11
obj_heart_battle_fighting_parent.y = y
12
image_index = obj_heart_battle_fighting_parent.image_index