Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_clover_dunes_20_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
    npc_arrived = 0
7
    can_walk = false
8
    alarm[0] = 30
alarm[0]

with (instance_create(x, y, obj_clover_minesjump)) { if (room == rm_dunes_20) hsp = 1.5 else hsp = -1.5 vsp = -2 end_player_alpha = false } instance_destroy()
9
}
10
obj_pl.x = x
11
obj_pl.y = y
12
if (player_fade_out == true)
13
{
14
    if (image_alpha > 0)
15
        image_alpha -= 0.1
16
    else if (!alarm[0])
17
        alarm[0] = 15
alarm[0]

with (instance_create(x, y, obj_clover_minesjump)) { if (room == rm_dunes_20) hsp = 1.5 else hsp = -1.5 vsp = -2 end_player_alpha = false } instance_destroy()
18
}