Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_kikky_screen_Step_0

related scripts: CleanUp_0Create_0Draw_0Step_0

(view raw script w/o annotations or w/e)
1
if (obj_kikky.happiness <= -500 && pitch)
2
{
3
    pitch = 0;
4
    snd_pitch(global.currentsong[1], 0.5);
5
}
6
if (!pitch && obj_kikky.happiness > -500)
7
{
8
    pitch = 1;
9
    snd_pitch(global.currentsong[1], 1);
10
}