Advertisement
Guest User

Untitled

a guest
Oct 14th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Initiating variables and such!
  2.  
  3. p1Character = undefined;
  4. p2Character = undefined;
  5.  
  6. selectedChoice = 0; // the choice selected in a menu.
  7. startChoices = 2; // how many choices there are in the start menu.
  8. startChoiceArray[0] = "Start";
  9. startChoiceArray[1] = "Quit Game";
  10.  
  11.  
  12. charSelecting = 0;
  13. charBackSelected = false; // a boolean (true or false variable) that will tell us if we are situated on the "Back button".
  14. characterArray[0] = "Blondman"; // This array will contain our different characters.
  15. characterArray[1] = "Shrek";
  16. characterArray[2] = "Redhead";
  17.  
  18. // Fighting Room variables
  19. fightTimer = 5; // We're using whole seconds to count
  20. fightAlarm = 10; // Seconds of match remaining when the timer should make us aware that little time is left
  21. fightReset = 5;
  22.  
  23. // Defining the buttons
  24. global.buttonAccept = ord('C');
  25. global.buttonCancel = ord('X');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement