Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(this.variables.lives <= 0) {
- this.variables.lives = 5;
- this.game.variables.foodCollected = null;
- this.game.variables.goalsScored = null;
- this.game.variables.mushroomsPicked = null;
- this.variables.money = 0;
- this.game.goToScene('Intro');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement