Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_encounterheart_Step_0

(view raw script w/o annotations or w/e)
1
if (image_index == 2)
2
    audio_play_sound(snd_battle, 10, 0)
3
if (image_index == 4)
4
    audio_play_sound(snd_battle, 10, 0)
5
if (x <= ((__view_get((0 << 0), 0)) + 25) && y >= ((__view_get((1 << 0), 0)) + 224))
6
{
7
    room_goto(enroom)
8
    instance_destroy()
9
    with (obj_battle_transition)
10
        instance_destroy()
11
}