Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_clover_snowdin_22_Step_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
if (npc_arrived == true)
3
{
4
    npc_arrived = false
5
    alarm[0] = 15
alarm[0]

scene = 1 audio_play_sound(snd_playerjump, 20, 0) image_speed = 0 image_index = 1 sprite_index = right_sprite action_sprite = true path_start(pt_clover_jump_snowdin_22_yellow, 3, path_action_stop, false)
6
}
7
if (scene == 1)
8
{
9
    if (path_position == 1)
10
    {
11
        action_sprite = true
12
        if (global.route == 3)
13
        {
14
            shader_on = false
15
            sprite_index = spr_snowdin_22_clover_sit_overworld_yellow_geno
16
        }
17
        else
18
            sprite_index = spr_snowdin_22_clover_sit_overworld_yellow
19
        image_speed = 0.25
20
        if (global.snowdin_flag[13] >= 2)
21
            obj_raft_snowdin_22.alarm[0] = 30
22
        scene = 2
23
    }
24
}
25
if (scene == 2)
26
{
27
    if (image_index > (image_number - 1))
28
        image_speed = 0
29
    if (obj_raft_snowdin_22.move == false)
30
        event_user(0)
31
}
32
obj_pl.x = x
33
obj_pl.y = y