Undertale script viewer

← back to main script listing

gml_Object_obj_foodsound_Create_0

(view raw script w/o annotations or w/e)
1
alarm[0] = 10;
gml_Object_obj_foodsound_Alarm_0.gml

if (soundtype == 2) snd_play(snd_spooky); if (soundtype == 0) snd_play(snd_power); instance_destroy();
2
soundtype = 0;
3
snd_play(snd_swallow);