Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_battle_fighting_yellow_final_Other_7

related scripts: Alarm_1 • Alarm_2 • Alarm_3 • Create_0 • Destroy_0 • Draw_0 • Other_11 • Other_12 • Other_25 • Other_5 • Other_7 • Step_0 • Step_2

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_heart_yellow_ready)
2
{
3
    sprite_index = spr_heart_yellow_hold;
4
    image_index = 0;
5
    image_speed = 1;
6
}
7
if (sprite_index == spr_heart_yellow_shoot)
8
{
9
    sprite_index = spr_heart_yellow_up;
10
    image_index = 0;
11
    image_speed = 0;
12
}