<commit_before>var game = new Phaser.Game(960, 600, Phaser.AUTO, '');

var player = null;
var level = null;
var enemies = null;
var coins = null;
var score = null;

var TRIANGLE_ENEMY = 0;
var SNAKE_ENEMY = 1;
var STAIRS_ENEMY = 2;
var SIMPLE_ENEMY = 3;

function geraEnemyFloor() {
	return (game.world.height - 90) - 134;
}

function geraEnemyMiddle() {
	return (game.world.height - 90) - 2 * 134;
}

function geraEnemyTop() {
	return (game.world.height - 90) - 3 * 134;
}

function selecionaEnemy() {
	var ran = Math.round(Math.random() * 3);

	if (ran == 0) {
		return geraEnemyFloor();
	} else if (ran == 1) {
		return geraEnemyMiddle();
	} else if (ran == 2) {
		return geraEnemyTop();
	}
}

game.state.add('warning', warningState);
game.state.add('load', loadState);
game.state.add('menu', menuState);
game.state.add('credits', creditsState);
game.state.add('play', playState);
game.state.add('gameover', gameoverState);

//game.state.start('warning');
game.state.start('play');<commit_msg>colocando tela de aviso<commit_after>var game = new Phaser.Game(960, 600, Phaser.AUTO, '');

var player = null;
var level = null;
var enemies = null;
var coins = null;
var score = null;

var TRIANGLE_ENEMY = 0;
var SNAKE_ENEMY = 1;
var STAIRS_ENEMY = 2;
var SIMPLE_ENEMY = 3;

function geraEnemyFloor() {
	return (game.world.height - 90) - 134;
}

function geraEnemyMiddle() {
	return (game.world.height - 90) - 2 * 134;
}

function geraEnemyTop() {
	return (game.world.height - 90) - 3 * 134;
}

function selecionaEnemy() {
	var ran = Math.round(Math.random() * 3);

	if (ran == 0) {
		return geraEnemyFloor();
	} else if (ran == 1) {
		return geraEnemyMiddle();
	} else if (ran == 2) {
		return geraEnemyTop();
	}
}

game.state.add('warning', warningState);
game.state.add('load', loadState);
game.state.add('menu', menuState);
game.state.add('credits', creditsState);
game.state.add('play', playState);
game.state.add('gameover', gameoverState);

game.state.start('warning');
{'fraction_non_alphanumeric': 0.16869300911854104, 'fraction_numerical': 0.031408308004052685, 'mean_word_length': 4.381471389645776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6066774', 'n_tokens_mistral': 834, 'n_tokens_neox': 759, 'n_words': 181}