Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mfnpc_Step_0

(view raw script w/o annotations or w/e)
1
if (global.flag[18 Micro Froggit fate] == 2)
2
{
3
    instance_destroy()
4
    return;
5
}
6
if (global.flag[18 Micro Froggit fate] == 0)
7
{
8
    if (path_position == 1 && waiter == 0)
9
    {
10
        audio_play_sound(snd_tinyfroggit, 1, 0)
11
        audio_sound_gain(snd_tinyfroggit, 2, 0)
12
        audio_sound_pitch(snd_tinyfroggit, 1.5)
13
        alarm[1] = 45
alarm[1]

action_set_hspeed(5) action_set_vspeed(-0.2) audio_play_sound(snd_tinyfroggit, 1, 0) audio_sound_gain(snd_tinyfroggit, 2, 0) audio_sound_pitch(snd_tinyfroggit, 1.5)
14
        waiter = 1
15
    }
16
}
17
else if (global.flag[18 Micro Froggit fate] == 1 && waiter == 0)
18
{
19
    instance_create((x + 150), y, obj_mfnpc2)
20
    waiter = 1
21
}