xKanaris

Untitled

Nov 3rd, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. if (scrButtonCheckPressed(global.menuLeftButton))
  2. {
  3. audio_play_sound(global.menuSound,0,false);
  4. select2 -= 1;
  5. if ((select2 == -1 && !exists[select]) || (select2 < -1))
  6. select2 = 0;
  7. }
  8. else if (scrButtonCheckPressed(global.menuRightButton))
  9. {
  10. audio_play_sound(global.menuSound,0,false);
  11. select2 += 1;
  12. if (select2 > 0)
  13. {
  14. if (exists[select])
  15. select2 = -1;
  16. else
  17. select2 = 0;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment