Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_room_controller_snowdin_13_Create_0

(view raw script w/o annotations or w/e)
1
var rephil = obj_snowdin_13_rephil
2
var toast = obj_snowdin_13_toast
3
var swig = obj_snowdin_13_swig
4
if (global.geno_complete[2] || global.player_can_travel || global.snowdin_flag[8] == 6)
5
{
6
    instance_destroy(rephil)
7
    instance_destroy(toast)
8
    instance_destroy(swig)
9
    global.snowdin_flag[8] = 6
10
}
11
scene = 0
12
timer = 0
13
if (global.snowdin_flag[8] == 1)
14
{
15
    timer = 15
16
    scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
17
    with (rephil)
18
    {
19
        y = 200
20
        sprite_index = spr_rephil_overworld_yellow
21
    }
22
    with (toast)
23
    {
24
        x = 190
25
        y = 200
26
        sprite_index = spr_toast_overworld_yellow
27
    }
28
    with (swig)
29
    {
30
        x = 130
31
        y = 200
32
        sprite_index = spr_swig_overworld_yellow
33
    }
34
}
35
if (global.snowdin_flag[8] == 2 || global.snowdin_flag[8] == 3)
36
{
37
    with (rephil)
38
    {
39
        y = 200
40
        sprite_index = spr_rephil_turn_overworld_yellow
41
    }
42
    with (toast)
43
    {
44
        x = 190
45
        y = 200
46
        sprite_index = spr_toast_turn_overworld_yellow
47
    }
48
    with (swig)
49
    {
50
        x = 130
51
        y = 200
52
        sprite_index = spr_swig_turn_overworld_yellow
53
    }
54
}
55
shufflers_turn = false
56
shufflers_turn_away = false
57
shufflers_failsafe = 0
58
shufflers_round = 1
59
shufflers_puzzle = false
60
shufflers_select = false
61
shufflers_win = false
62
shuffle_music = 159
63
failure = false