Undertale script viewer

← back to main script listing

gml_Object_obj_glowshroom_Step_0

(view raw script w/o annotations or w/e)
1
if (myinteract == 1)
2
{
3
    if (snd_isplaying(snd_movemenu) == 0)
4
        snd_play(snd_movemenu);
5
    if (image_index == 0)
6
    {
7
        image_index = 1;
8
        glow = 1;
9
    }
10
    else
11
    {
12
        image_index = 0;
13
        glow = 0;
14
    }
15
    myinteract = 0;
16
}