Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_mfnpc2_Step_0

(view raw script w/o annotations or w/e)
1
if (path_position == 1 && waiter == 0)
2
{
3
    alarm[1] = 30;
gml_Object_obj_mfnpc2_Alarm_1.gml

audio_play_sound(snd_tinyfroggit, 1, 0); audio_sound_gain(snd_tinyfroggit, 2, 0); audio_sound_pitch(snd_tinyfroggit, 0.5); path_start(pt_microfrogb2, 6, path_action_stop, false); obj_mfnpc.alarm[2] = 35; alarm[2] = 65;
4
    waiter = 1;
5
}
6
if (finish == true && !instance_exists(obj_dialogue) && waiter == 1)
7
{
8
    alarm[3] = 10;
gml_Object_obj_mfnpc2_Alarm_3.gml

path_start(pt_microfrog, 6, path_action_stop, false); alarm[3] = 20;
9
    obj_mfnpc.alarm[3] = 20;
10
    waiter = 2;
11
}