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() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
5
scr_radio_fade
scr_radio_fade

function scr_radio_fade(arg0, arg1) { var fade_vol = arg0; var fade_len = arg1; 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(e__VW.Object, 0, obj_starlo_npc);
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
}
43
44
enum e__VW
45
{
46
    XView,
47
    YView,
48
    WView,
49
    HView,
50
    Angle,
51
    HBorder,
52
    VBorder,
53
    HSpeed,
54
    VSpeed,
55
    Object,
56
    Visible,
57
    XPort,
58
    YPort,
59
    WPort,
60
    HPort,
61
    Camera,
62
    SurfaceID
63
}