Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sme_yellow_rhythm_selection_Other_10

(view raw script w/o annotations or w/e)
1
var heart = obj_heart_battle_fighting_yellow_rhythm
2
y = pos_y
3
if (heart.move_x < 0)
4
{
5
    x = pos_left_x
6
    image_index = 0
7
}
8
else if (heart.move_x > 0)
9
{
10
    x = pos_right_x
11
    image_index = 2
12
}
13
else
14
{
15
    x = pos_center_x
16
    image_index = 1
17
}