Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_puzzle1_Step_0

(view raw script w/o annotations or w/e)
1
if (turn == 3)
2
{
3
    audio_play_sound(snd_success, 1, 0)
4
    global.flag[1 First Dark Ruins switch puzzle completion] = true
5
    turn++
6
}
7
if (turn == 4 || global.flag[1 First Dark Ruins switch puzzle completion] == true)
8
    done = true