Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_wild_east_cutscene_05_Create_0

(view raw script w/o annotations or w/e)
1
scene = 0
2
cutscene_timer = 0
3
cutscene_music = 0
4
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 }
()
5
scr_radio_fade
scr_radio_fade

function scr_radio_fade(argument0, argument1) //gml_Script_scr_radio_fade { var fade_vol = argument0 var fade_len = argument1 with (obj_radio) audio_sound_gain(current_song, fade_vol, fade_len) }
(0, 0)
6
if (global.dunes_flag[22] == 0)
7
{
8
    instance_create(720, 375, obj_starlo_npc)
9
    instance_create(700, 375, obj_player_npc)
10
    obj_player_npc.npc_direction = "down"
11
    __view_set((9 << 0), 0, 1169)
12
    instance_create(920, 385, obj_ace_npc)
13
    instance_create(920, 400, obj_mooch_npc)
14
    instance_create(440, 390, obj_moray_npc)
15
    instance_create(720, 680, obj_ed_npc)
16
}
17
else
18
{
19
    instance_create(700, 375, obj_player_npc)
20
    obj_player_npc.npc_direction = "down"
21
    instance_create(720, 600, obj_starlo_npc)
22
    with (obj_starlo_npc)
23
    {
24
        up_sprite = 207
25
        right_sprite = 237
26
        down_sprite = 240
27
        left_sprite = 236
28
        up_sprite_idle = 206
29
        right_sprite_idle = 235
30
        down_sprite_idle = 230
31
        left_sprite_idle = 232
32
    }
33
    instance_create(730, 420, obj_ace_npc)
34
    instance_create(750, 375, obj_mooch_npc)
35
    instance_create(660, 375, obj_moray_npc)
36
    instance_create(690, 420, obj_ed_npc)
37
    obj_ace_npc.npc_direction = "up"
38
    obj_ed_npc.npc_direction = "up"
39
    obj_moray_npc.npc_direction = "right"
40
    obj_mooch_npc.npc_direction = "left"
41
    scene = 21
42
}