Undertale script viewer

← back to main script listing

gml_Object_obj_choicer_KeyPress_37

(view raw script w/o annotations or w/e)
1
if (mychoice == 0)
2
    mychoice = 1;
3
else
4
    mychoice = 0;
5
snd_play(snd_squeak);
6
if (mychoice == 1)
7
    x = x1;
8
else
9
    x = x0;