Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_seesaw_puzzle_recreator_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        cutscene_wait(1)
5
        break
6
    case 1:
7
        cutscene_dialogue()
8
        with (msg)
9
        {
10
            talker[0] = 1161
11
            message[0] = "* Dammit!"
12
            message[1] = "* Better try again."
13
            prt[0] = 370
14
            prt[1] = 370
15
        }
16
        break
17
    case 2:
18
        cutscene_wait(0.5)
19
        break
20
    case 3:
21
        instance_create(0, 0, obj_factory_02_seesaw_puzzle)
22
        obj_factory_02_seesaw_puzzle.seesaw_puzzle_activate = true
23
        instance_destroy()
24
        break
25
}