Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_clover_dunes_24_Step_0

(view raw script w/o annotations or w/e)
1
if global.dialogue_open
2
    return;
3
event_inherited()
4
if (npc_arrived == 1)
5
{
6
    can_walk = false
7
    if (instance_exists(obj_martlet_npc) && obj_martlet_npc.npc_arrived != 1)
8
        return;
9
    npc_arrived = 0
10
    alarm[0] = 30
alarm[0]

obj_pulley_elevator.scene = 1 audio_play_sound(snd_undertale_thud, 1, 0) obj_pl.direction = 270 obj_pl.x = x obj_pl.y = y obj_pl.image_alpha = 1 instance_destroy()
11
}
12
obj_pl.x = x
13
obj_pl.y = y
14
depth = obj_pl.depth - 1
15
if (player_fade_out == true)
16
{
17
    if (image_alpha > 0)
18
        image_alpha -= 0.1
19
    else if (!alarm[0])
20
        alarm[0] = 15
alarm[0]

obj_pulley_elevator.scene = 1 audio_play_sound(snd_undertale_thud, 1, 0) obj_pl.direction = 270 obj_pl.x = x obj_pl.y = y obj_pl.image_alpha = 1 instance_destroy()
21
}