Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_button_puzzle_Step_0

(view raw script w/o annotations or w/e)
1
if (image_index == 0 && place_meeting(x, y, obj_pl))
2
{
3
    image_index = 1
4
    audio_play_sound(snd_switch, 10, 0)
5
    global.snowdin_flag[11] = 1
6
}