Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_hotland_roof_cutscene_pacifist_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
global.player_can_run = false;
4
if (global.route != 2 || global.hotland_flag[1] >= 1)
5
{
6
    instance_destroy();
7
    exit;
8
}
9
if (global.hotland_flag[3] > 0 && route == 2)
10
{
11
    instance_destroy();
12
    exit;
13
}
14
with (instance_create_depth(205, 300, 0, obj_martlet_npc))
15
{
16
    can_walk = false;
17
    up_sprite = 3617;
18
    right_sprite = 3143;
19
    down_sprite = 2486;
20
    left_sprite = 3622;
21
    up_sprite_idle = 2324;
22
    right_sprite_idle = 3294;
23
    down_sprite_idle = 3564;
24
    left_sprite_idle = 1469;
25
    npc_direction = "up";
26
}
27
scene = 0;
28
cutscene_timer = 0;
29
cutscene_music = 0;
30
draw_alpha = 0;
31
draw_alpha_white = 0;
32
draw_clover_yellow_alpha = 0;