"use strict";

var start = function() {
	document.getElementById("world").style.display = "inline";
	document.getElementById("startButton").style.display = "none";
	
	var sprites = initGame();
	
	var audio = initSound();
	
	var game = new Game(document.getElementById("world"), sprites, audio);
}

function initGame() {
	var spriteLoader = new SpriteLoader();
	var sprites = {};
	var spriteNames = ["enemy", "turtleWithACrown", "coverTurtleWithACrown", "catBoss"];
	for (var i = 1; i < 7; i++) {
		spriteNames.push("connor/connorL" + i);
		spriteNames.push("connor/connorR" + i);
	}
	spriteLoader.load("./assets/images", spriteNames, ".png", function (loadedSprites) {
		for (var spriteName in loadedSprites) {
			sprites[spriteName] = loadedSprites[spriteName];
		}
	});
	
	return sprites;
}

function initSound() {
	var soundLoader = new SoundLoader();
	var audio = {};
	var audioNames = ["casanova", "jumpFins", "pewPewBizNiss", "enemyDamageBraqoon", "meow", "pokemonRuby"];
	var extensions = [".mp3", ".wav", ".wav", ".wav", ".wav", ".mp3"];
	soundLoader.load("./assets/sounds", audioNames, extensions, function (loadedAudio) {
		for (var audioName in loadedAudio) {
			audio[audioName] = loadedAudio[audioName];
		}
	});
	return audio;
}
@@ -471,16 +471,37 @@
 catBoss%22
+/*, %22quadrapusBoss%22*/
 %5D;%0D%0A%09for
@@ -1293,12 +1293,14 @@
 rn audio;%0D%0A%7D
+%0D%0A

Update init.js