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