Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_puzzle2_Step_0

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