Section 1
//AdLoader (CPMStar.AdLoader)
package CPMStar {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class AdLoader extends Sprite {
private var cpmstarLoader:Loader;
private var contentspotid:String;
public function AdLoader(_arg1:String){
this.contentspotid = _arg1;
addEventListener(Event.ADDED, addedHandler);
}
private function dispatchHandler(_arg1:Event):void{
dispatchEvent(_arg1);
}
private function addedHandler(_arg1:Event):void{
removeEventListener(Event.ADDED, addedHandler);
Security.allowDomain("server.cpmstar.com");
var _local2 = "http://server.cpmstar.com/adviewas3.swf";
var _local3:DisplayObjectContainer = parent;
cpmstarLoader = new Loader();
cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler);
cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler);
cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid)));
addChild(cpmstarLoader);
}
}
}//package CPMStar
Section 2
//BitmapAsset (mx.core.BitmapAsset)
package mx.core {
import flash.display.*;
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject {
mx_internal static const VERSION:String = "3.2.0.3958";
public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function get measuredWidth():Number{
if (bitmapData){
return (bitmapData.width);
};
return (0);
}
public function get measuredHeight():Number{
if (bitmapData){
return (bitmapData.height);
};
return (0);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
}
}//package mx.core
Section 3
//FlexBitmap (mx.core.FlexBitmap)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexBitmap extends Bitmap {
mx_internal static const VERSION:String = "3.2.0.3958";
public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
var bitmapData = _arg1;
var pixelSnapping = _arg2;
var smoothing = _arg3;
super(bitmapData, pixelSnapping, smoothing);
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 4
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 5
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.accessibility.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get visible():Boolean;
function get rotation():Number;
function localToGlobal(_arg1:Point):Point;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get blendMode():String;
function get scale9Grid():Rectangle;
function set name(_arg1:String):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function get accessibilityProperties():AccessibilityProperties;
function set scrollRect(_arg1:Rectangle):void;
function get cacheAsBitmap():Boolean;
function globalToLocal(_arg1:Point):Point;
function get height():Number;
function set blendMode(_arg1:String):void;
function get parent():DisplayObjectContainer;
function getBounds(_arg1:DisplayObject):Rectangle;
function get opaqueBackground():Object;
function set scale9Grid(_arg1:Rectangle):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function set alpha(_arg1:Number):void;
function set accessibilityProperties(_arg1:AccessibilityProperties):void;
function get width():Number;
function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
function set cacheAsBitmap(_arg1:Boolean):void;
function get scaleX():Number;
function get scaleY():Number;
function get scrollRect():Rectangle;
function get mouseX():Number;
function get mouseY():Number;
function set height(_arg1:Number):void;
function set mask(_arg1:DisplayObject):void;
function getRect(_arg1:DisplayObject):Rectangle;
function get alpha():Number;
function set transform(_arg1:Transform):void;
function move(_arg1:Number, _arg2:Number):void;
function get loaderInfo():LoaderInfo;
function get root():DisplayObject;
function hitTestObject(_arg1:DisplayObject):Boolean;
function set opaqueBackground(_arg1:Object):void;
function set visible(_arg1:Boolean):void;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function get transform():Transform;
function set filters(_arg1:Array):void;
function get x():Number;
function get y():Number;
function get filters():Array;
function set rotation(_arg1:Number):void;
function get stage():Stage;
}
}//package mx.core
Section 6
//IRepeaterClient (mx.core.IRepeaterClient)
package mx.core {
public interface IRepeaterClient {
function get instanceIndices():Array;
function set instanceIndices(_arg1:Array):void;
function get isDocument():Boolean;
function set repeaters(_arg1:Array):void;
function initializeRepeaterArrays(_arg1:IRepeaterClient):void;
function get repeaters():Array;
function set repeaterIndices(_arg1:Array):void;
function get repeaterIndices():Array;
}
}//package mx.core
Section 7
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 8
//SoundAsset (mx.core.SoundAsset)
package mx.core {
import flash.media.*;
public class SoundAsset extends Sound implements IFlexAsset {
mx_internal static const VERSION:String = "3.2.0.3958";
}
}//package mx.core
Section 9
//NameUtil (mx.utils.NameUtil)
package mx.utils {
import flash.display.*;
import mx.core.*;
import flash.utils.*;
public class NameUtil {
mx_internal static const VERSION:String = "3.2.0.3958";
private static var counter:int = 0;
public static function displayObjectToString(_arg1:DisplayObject):String{
var result:String;
var o:DisplayObject;
var s:String;
var indices:Array;
var displayObject = _arg1;
try {
o = displayObject;
while (o != null) {
if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){
break;
};
s = o.name;
if ((o is IRepeaterClient)){
indices = IRepeaterClient(o).instanceIndices;
if (indices){
s = (s + (("[" + indices.join("][")) + "]"));
};
};
result = ((result == null)) ? s : ((s + ".") + result);
o = o.parent;
};
} catch(e:SecurityError) {
};
return (result);
}
public static function createUniqueName(_arg1:Object):String{
if (!_arg1){
return (null);
};
var _local2:String = getQualifiedClassName(_arg1);
var _local3:int = _local2.indexOf("::");
if (_local3 != -1){
_local2 = _local2.substr((_local3 + 2));
};
var _local4:int = _local2.charCodeAt((_local2.length - 1));
if ((((_local4 >= 48)) && ((_local4 <= 57)))){
_local2 = (_local2 + "_");
};
return ((_local2 + counter++));
}
}
}//package mx.utils
Section 10
//AddGraphic (objects.AddGraphic)
package objects {
import mx.core.*;
public function AddGraphic(_arg1:uint, _arg2:uint, _arg3:String):BitmapAsset{
var _local4:BitmapAsset = new (Mario.classGFX.AccessGFX(_arg3));
_local4.x = _arg1;
_local4.y = _arg2;
return (_local4);
}
}//package objects
Section 11
//Back (objects.Back)
package objects {
import mx.core.*;
public class Back {
public var gfx1:BitmapAsset;
public var gfx2:BitmapAsset;
public function Back(_arg1:uint){
gfx1 = new (Mario.classGFX.AccessGFX(("back_" + _arg1)));
gfx2 = new (Mario.classGFX.AccessGFX(("back_" + _arg1)));
Mario.layerBack2.addChildAt(gfx1, 0);
Mario.layerBack2.addChildAt(gfx2, 0);
Update(0);
}
public function Update(_arg1:uint):void{
if (Player.pX > 0){
gfx1.x = -((((-(Mario.scrollX) + 200) / 5) % 400));
gfx2.x = (gfx1.x + 400);
} else {
gfx1.x = -(((((-(Mario.scrollX) + 200) / 5) + 4000) % 400));
gfx2.x = (gfx1.x + 400);
};
}
}
}//package objects
Section 12
//Background (objects.Background)
package objects {
import mx.core.*;
public class Background {
private var bX:Number;
private var bY:Number;
private var GFX:BitmapAsset;
private var parallel:Number;
public function Background(_arg1:int, _arg2:int, _arg3:String, _arg4:Number=0){
bX = _arg1;
bY = _arg2;
parallel = _arg4;
GFX = new (Mario.classGFX.AccessGFX(_arg3));
GFX.x = (bX + ((-(Mario.scrollX) + 200) * parallel));
GFX.y = bY;
Mario.layerBack.addChild(GFX);
}
public function Update(_arg1:uint):void{
if (Mario.playerControllable){
GFX.x = (bX + (((-(Mario.scrollX) + 200) - bX) * parallel));
};
}
public function Reset(_arg1:int):void{
GFX.x = (bX + (((-(Mario.scrollX) + 200) - bX) * parallel));
}
}
}//package objects
Section 13
//BBeetle (objects.BBeetle)
package objects {
import flash.display.*;
import flash.media.*;
public class BBeetle extends Enemy {
private var waiter:uint;// = 0
private var Mode:uint;// = 0
private var frame:uint;// = 0
private var SFXStomp:Sound;
private var wait:uint;// = 0
private var GFX:Array;
private var fall:Boolean;// = false
private var num:uint;// = 0
public function BBeetle(_arg1:uint, _arg2:uint){
SFXStomp = new (Mario.classSFX.accessSFX("stompduck"));
GFX = new Array(6);
super();
eX = _arg1;
eY = _arg2;
eWid = 20;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 20;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_shell_1"));
GFX[3] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_shell_2"));
GFX[4] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_shell_3"));
GFX[5] = new (Mario.classGFX.AccessGFX("enemy_bbeetle_shell_4"));
GFX[0].x = (eX - 2);
GFX[0].y = (eY - 4);
Mario.layerFore.addChild(GFX[0]);
}
override public function Stomp(_arg1:uint):void{
Player.hitStomp = true;
Player.Bounce(eY);
if (Mario.sounds){
SFXStomp.play();
};
}
override public function FireballHit(_arg1:uint, _arg2:int):Boolean{
if (Mario.sounds){
SFXKick.play();
};
return (true);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (active){
if (Mode == 0){
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, (eX - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(eX, eY)) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 1){
fall = true;
};
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 5);
if (fall){
dir = ((Player.pX > eX)) ? 1 : -1;
fall = false;
};
};
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 2);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 24);
GFX[frame].y = (eY - 4);
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
};
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
private function makeShell():void{
Mario.layerFore.removeChild(GFX[frame]);
frame = 2;
GFX[frame].x = (eX - 2);
GFX[frame].y = (eY - 2);
Mario.layerFore.addChild(GFX[frame]);
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 2), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_bbeetle_shell_1")));
return (true);
}
}
}//package objects
Section 14
//Block (objects.Block)
package objects {
import flash.media.*;
public class Block {
var bX:Number;
var bY:Number;
var SFXBrick:Sound;
public function Block(){
SFXBrick = new (Mario.classSFX.accessSFX("brick"));
super();
}
public function Headbutt(_arg1:uint):void{
}
public function Update(_arg1:uint):void{
}
}
}//package objects
Section 15
//Bonus (objects.Bonus)
package objects {
import flash.display.*;
import flash.media.*;
public class Bonus extends Block {
private var SFXSprout:Sound;
private var invisible:Boolean;
private var wait:uint;// = 0
private var SFXCoin:Sound;
private var GFX:Array;
public var type:uint;
private var frame:uint;// = 0
private var seq:Number;// = -1
public function Bonus(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:Boolean=false):void{
GFX = new Array(3);
SFXSprout = new (Mario.classSFX.accessSFX("sprout"));
SFXCoin = new (Mario.classSFX.accessSFX("coin"));
super();
invisible = _arg4;
bX = _arg1;
bY = _arg2;
type = _arg3;
if (type == 0){
GFX[0] = new (Mario.classGFX.AccessGFX("bonus_used"));
GFX[0].x = bX;
GFX[0].y = bY;
} else {
GFX[0] = new (Mario.classGFX.AccessGFX("bonus_bonus_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("bonus_bonus_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("bonus_bonus_3"));
GFX[0].x = (GFX[1].x = (GFX[2].x = bX));
GFX[0].y = (GFX[1].y = (GFX[2].y = bY));
};
if (!invisible){
Mario.layerWall.addChild(GFX[0]);
};
if (!invisible){
Mario.changeLevel((bX / 25), (bY / 25), "x");
};
}
override public function Headbutt(_arg1:uint):void{
if (type == 1){
Mario.Hud.Coins++;
Mario.Hud.RedrawCoins();
if (Mario.sounds){
SFXCoin.play();
};
Mario.instEffects.push(new Coin_Jump((bX + 5), (bY - 22)));
};
if (invisible){
Mario.changeLevel((bX / 25), (bY / 25), "x");
Player.pY = ((Math.floor((bY / 25)) * 25) + 25);
};
if (!invisible){
Mario.layerWall.removeChild(GFX[frame]);
};
GFX[0] = new (Mario.classGFX.AccessGFX("bonus_used"));
GFX[0].x = bX;
GFX[0].y = bY;
Mario.layerWall.addChild(GFX[0]);
frame = 0;
seq = Math.PI;
Mario.enemyHitFireball(bX, (bY - 2), 25, 2, Player.dir);
}
override public function Update(_arg1:uint):void{
if (seq == -1){
if (type > 0){
if (Player.hitHead){
if (Mario.playerCollide(bX, bY, 25, 26)){
Mario.headbuttSetDistance(_arg1, bX);
};
} else {
if (((((((invisible) && ((Player.gravity < 0)))) && (((Player.pY - Player.gravity) > (bY + 24))))) && (Mario.playerCollide(bX, bY, 25, 26)))){
Mario.headbuttSetDistance(_arg1, bX);
};
};
wait++;
if ((((wait == 6)) && (!(invisible)))){
Mario.layerWall.removeChild(GFX[frame]);
frame = ((frame + 1) % 3);
Mario.layerWall.addChild(GFX[frame]);
wait = 0;
};
};
} else {
if (seq > 0){
GFX[frame].y = (bY - (Math.sin(seq) * 10));
seq = (seq - (Math.PI / 10));
} else {
GFX[frame].y = bY;
switch (type){
case 2:
case 5:
Mario.instObjects.push(new Shroom(bX, bY));
if (Mario.sounds){
SFXSprout.play();
};
break;
case 3:
Mario.instObjects.push(new KillShroom(bX, bY));
if (Mario.sounds){
SFXSprout.play();
};
break;
case 4:
Mario.instObjects.push(new LifeShroom(bX, bY));
if (Mario.sounds){
SFXSprout.play();
};
break;
};
type = 0;
};
};
}
}
}//package objects
Section 16
//Bowser (objects.Bowser)
package objects {
import flash.media.*;
public class Bowser extends Enemy {
public var damageWait:uint;// = 0
public var hp:int;
private var SFXRadish:Sound;
public var hampau:uint;
public var ham:uint;
public var hammerer1:uint;// = 0
public var hammerer2:uint;// = 0
public var musicFundo:uint;// = 0
public var border:uint;
public var action:uint;// = 0
private var SFXBump:Sound;
public var firehp:uint;// = 6
public var fl:uint;
public var scroll:uint;// = 0
public var moveTo:uint;
private var SFXGrowl:Sound;
public var hamno:uint;
public var GFX:Array;
public var frameTime:uint;// = 0
public var waiter:uint;
private var SFXKill:Sound;
public var moveWait:uint;// = 0
private var SFXStomp:Sound;
public var frame:uint;// = 0
public function Bowser(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint, _arg8:uint){
GFX = new Array(4);
SFXBump = new (Mario.classSFX.accessSFX("bump"));
SFXStomp = new (Mario.classSFX.accessSFX("bowser_hit"));
SFXGrowl = new (Mario.classSFX.accessSFX("growl"));
SFXKill = new (Mario.classSFX.accessSFX("bowser_kill"));
SFXRadish = new (Mario.classSFX.accessSFX("radish"));
super();
GFX[0] = new (Mario.classGFX.AccessGFX("bowser_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("bowser_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("bowser_3"));
GFX[3] = new (Mario.classGFX.AccessGFX("bowser_4"));
fl = _arg5;
ham = _arg6;
hamno = _arg7;
hampau = _arg8;
border = _arg3;
moveTo = (eX = _arg1);
eWid = 40;
eHei = 46;
eY = _arg2;
hp = _arg4;
Mario.layerFore.addChild(GFX[frame]);
}
private function changeFrame(_arg1:uint):void{
Mario.layerFore.removeChild(GFX[frame]);
frame = _arg1;
Mario.layerFore.addChild(GFX[frame]);
}
override public function Stomp(_arg1:uint):void{
if (damageWait == 0){
Player.Bounce(eY);
hp--;
damageWait = 120;
firehp = 6;
if (Mario.sounds){
SFXStomp.play();
};
};
}
private function gfxPosition():void{
dir = ((Player.pX > eX)) ? 1 : -1;
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 5) + ((dir == -1)) ? 50 : 0);
GFX[frame].y = (eY - 10);
GFX[frame].alpha = Math.abs(Math.cos(((damageWait * Math.PI) / 30)));
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
return (false);
}
override public function Update(_arg1:uint):void{
var _local2:Fireball;
if (hp <= 0){
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Enemy_Fall((eX - 5), (eY - 10), dir, GFX[frame]));
Mario.instObjects.push(new BowserKilled());
if (Mario.sounds){
SFXKill.play();
};
Mario.classSFX.Play(-1);
return;
};
if (musicFundo > 0){
musicFundo++;
Mario.checkPoint = Mario.levelid;
};
if (scroll == 0){
if (Player.pX > (border - 200)){
scroll = 1;
if (Mario.music){
musicFundo = 1;
Mario.classSFX.Play(5);
Mario.musika = 5;
};
Mario.scrollEdge = (Player.pX - 200);
Mario.centerScreen(Player.pX);
Mario.scrolling = false;
};
} else {
if (scroll == 1){
if (Mario.scrollEdge < border){
Mario.scrollEdge++;
Mario.centerScreen((Mario.scrollEdge + 200));
if ((Player.pX + Math.round((Player.speed / 100))) < (Mario.scrollEdge + 2)){
Player.pX = (Mario.scrollEdge + 2);
Player.speed = Math.max(0, Player.speed);
if (((Mario.playerControllable) && (((Mario.levelColl(((Player.pX + Player.pWid) - 1), Player.pY)) || (Mario.levelColl(((Player.pX + Player.pWid) - 1), ((Player.pY + Player.pHei) - 1))))))){
Mario.hitPlayer(true);
};
};
} else {
scroll = 2;
};
};
};
gravity = (gravity + (Mario.gravity / 3));
eY = (eY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 4);
if (Math.random() < 0.05){
gravity = -4;
};
};
};
if ((((moveTo == eX)) && ((moveWait == 0)))){
switch (Math.floor((Math.random() * 2))){
case 0:
moveTo = ((border + 25) + Math.floor((Math.random() * 310)));
case 1:
moveWait = Math.floor((Math.random() * 40));
};
} else {
if (moveWait > 0){
moveWait--;
} else {
eX = (eX + (Mario.Sign((moveTo - eX)) * Math.min(2, Math.abs((moveTo - eX)))));
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (((Player.pY - Player.gravity) + Player.pHei) <= (eY + 5)){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
if (action == 0){
frameTime++;
if (frameTime > 15){
if (frame == 0){
changeFrame(1);
} else {
changeFrame(0);
};
frameTime = 0;
if ((Math.random() * 50) < (fl + ham)){
if ((Math.random() * fl) >= (Math.random() * ham)){
action = 1;
changeFrame(3);
waiter = 0;
} else {
action = 2;
changeFrame(3);
waiter = 0;
hammerer1 = hamno;
};
};
};
} else {
if (action == 1){
if (waiter < 80){
waiter++;
} else {
if (waiter == 80){
waiter++;
changeFrame(2);
if (Mario.sounds){
SFXGrowl.play();
};
Mario.instEffects.push(new BowserFlame(((eX + 5) + (20 * dir)), (eY + 10), dir, ((Player.pY + 30) - Player.pHei)));
} else {
if (waiter < 100){
waiter++;
} else {
if (waiter == 100){
changeFrame(0);
action = 0;
};
};
};
};
} else {
if (action == 2){
if (waiter < 80){
waiter++;
} else {
if (waiter == 80){
if (hammerer2 == 0){
if (hammerer1 > 0){
changeFrame(2);
_local2 = new Fireball(((eX + 5) + ((dir == 1)) ? 30 : 0), (eY + 10), dir, true);
_local2.dir = (dir * 3);
_local2.gravity = 0;
Mario.instObjects.push(_local2);
if (Mario.sounds){
SFXRadish.play();
};
hammerer1--;
} else {
changeFrame(0);
action = 0;
};
hammerer2 = hampau;
} else {
hammerer2--;
};
} else {
if (waiter < 100){
waiter++;
} else {
if (waiter == 100){
changeFrame(0);
action = 0;
};
};
};
};
};
};
};
if (damageWait > 0){
damageWait--;
};
gfxPosition();
}
override public function FireballHit(_arg1:uint, _arg2:int):Boolean{
if (damageWait == 0){
firehp--;
if (firehp == 0){
hp--;
damageWait = 120;
firehp = 6;
};
};
if (Mario.sounds){
SFXBump.play();
};
return (true);
}
}
}//package objects
Section 17
//BowserFlame (objects.BowserFlame)
package objects {
public class BowserFlame extends Effect {
public var GFX:Array;
public var frame:uint;// = 0
public var eX:uint;
public var eY:uint;
public var newy:uint;
public var dir:int;
public function BowserFlame(_arg1:uint, _arg2:uint, _arg3:int, _arg4:uint){
GFX = new Array(3);
super();
GFX[0] = new (Mario.classGFX.AccessGFX("bowser_flame_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("bowser_flame_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("bowser_flame_3"));
eX = _arg1;
eY = _arg2;
dir = _arg3;
newy = _arg4;
GFX[0].scaleX = dir;
GFX[1].scaleX = dir;
GFX[2].scaleX = dir;
GFX[frame].x = (eX + ((dir == -1)) ? 41 : -16);
GFX[frame].y = (eY - 3);
Mario.layerFore.addChildAt(GFX[0], 0);
}
override public function Update(_arg1:uint):void{
timer++;
if (timer == 6){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 3);
Mario.layerFore.addChildAt(GFX[frame], 0);
timer = 0;
};
eX = (eX + (dir * 3));
if (eY != newy){
eY = (eY + (Mario.Sign((newy - eY)) * Math.min(2, Math.abs((newy - eY)))));
};
GFX[frame].x = (eX + ((dir == -1)) ? 41 : -16);
GFX[frame].y = (eY - 3);
if (Math.abs((eX - Player.pX)) > 500){
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEffect(_arg1);
};
if (Mario.playerCollide(eX, eY, 25, 17)){
Mario.hitPlayer();
};
}
}
}//package objects
Section 18
//BowserKilled (objects.BowserKilled)
package objects {
import flash.display.*;
import flash.media.*;
public class BowserKilled extends Obj {
public var timer:uint;// = 0
public var gfx:Sprite;
public var SFXComplete:Sound;
public function BowserKilled(){
SFXComplete = new (Mario.classSFX.accessSFX("level_complete"));
gfx = new Sprite();
super();
gfx.graphics.beginFill(0);
gfx.graphics.drawRect(0, 0, 400, 375);
gfx.graphics.endFill();
}
override public function Update(_arg1:uint):void{
timer++;
if (timer > 130){
if (Mario.levelid < 12){
SFXComplete.play();
Swap();
Mario.removeObject(_arg1);
} else {
if (timer == 131){
Mario.layerGover.addChild(gfx);
gfx.alpha = 0;
} else {
gfx.alpha = (gfx.alpha + 0.1);
if (gfx.alpha > 1){
Mario.levelid++;
Mario.clearLevel();
Mario.decreaseI = 1;
};
};
};
};
}
private function Swap():void{
Mario.playerControllable = false;
Mario.layerFore.removeChild(Player.GFX2);
Mario.instEffects.push(new PlayerFinish(Player.pX, Player.pY, Player.gravity, Player.speed, Player.frame));
if (Mario.music){
SFXComplete.play();
};
}
}
}//package objects
Section 19
//Brick (objects.Brick)
package objects {
import mx.core.*;
public class Brick extends Block {
private var GFX:BitmapAsset;
private var seq:Number;// = 0
public function Brick(_arg1:uint, _arg2:uint):void{
bX = _arg1;
bY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("bonus_brick");
GFX = new (_local3);
GFX.x = bX;
GFX.y = bY;
Mario.layerWall.addChild(GFX);
Mario.changeLevel((bX / 25), (bY / 25), "x");
}
override public function Update(_arg1:uint):void{
if (Player.hitHead){
if (Mario.playerCollide(bX, bY, 25, 26)){
Mario.headbuttSetDistance(_arg1, bX);
};
};
if (seq > 0){
GFX.y = (bY - (Math.sin(seq) * 10));
seq = (seq - (Math.PI / 10));
} else {
GFX.y = bY;
};
}
override public function Headbutt(_arg1:uint):void{
Mario.enemyHitFireball(bX, (bY - 2), 25, 2, Player.dir);
if (Player.pSize >= 0){
Mario.layerWall.removeChild(GFX);
Mario.removeBlock(_arg1);
Mario.changeLevel((bX / 25), (bY / 25), " ");
Mario.instEffects.push(new Enemy_Fire(bX, bY, (Player.speed / 100), Mario.classGFX.AccessGFX("bonus_brick")));
if (Mario.sounds){
SFXBrick.play();
};
} else {
seq = Math.PI;
};
}
}
}//package objects
Section 20
//BrickMulti (objects.BrickMulti)
package objects {
import mx.core.*;
import flash.media.*;
public class BrickMulti extends Block {
private var coins:uint;// = 0
private var SFXCoin:Sound;
private var GFX:BitmapAsset;
private var seq:Number;// = 0
public function BrickMulti(_arg1:uint, _arg2:uint, _arg3:uint=5):void{
var _local4:Class;
SFXCoin = new (Mario.classSFX.accessSFX("coin"));
super();
bX = _arg1;
bY = _arg2;
this.coins = _arg3;
_local4 = Mario.classGFX.AccessGFX("bonus_brick");
GFX = new (_local4);
GFX.x = bX;
GFX.y = bY;
Mario.layerWall.addChild(GFX);
Mario.changeLevel((bX / 25), (bY / 25), "x");
}
override public function Update(_arg1:uint):void{
if ((((coins > 0)) && (Player.hitHead))){
if (Mario.playerCollide(bX, bY, 25, 26)){
Mario.headbuttSetDistance(_arg1, bX);
};
};
if (seq > 0){
GFX.y = (bY - (Math.sin(seq) * 10));
seq = (seq - (Math.PI / 10));
} else {
GFX.y = bY;
};
}
override public function Headbutt(_arg1:uint):void{
var _local2:Class;
seq = Math.PI;
if (coins > 0){
Mario.enemyHitFireball(bX, (bY - 2), 25, 2, Player.dir);
Mario.Hud.Coins++;
Mario.Hud.RedrawCoins();
Mario.instEffects.push(new Coin_Jump((bX + 5), (bY - 22)));
coins = (coins - 1);
if (Mario.sounds){
SFXCoin.play();
};
if (coins == 0){
Mario.layerWall.removeChild(GFX);
_local2 = Mario.classGFX.AccessGFX("bonus_used");
GFX = new (_local2);
GFX.x = bX;
GFX.y = bY;
Mario.layerWall.addChild(GFX);
};
};
}
}
}//package objects
Section 21
//Bullet (objects.Bullet)
package objects {
import flash.media.*;
public class Bullet extends Enemy {
private var wait:uint;// = 0
private var GFX:Array;
private var SFXStomp:Sound;
private var frame:uint;// = 0
public function Bullet(_arg1:uint, _arg2:uint){
GFX = new Array(3);
SFXStomp = new (Mario.classSFX.accessSFX("stomp"));
super();
eX = _arg1;
eY = _arg2;
dir = ((Player.pX > eX)) ? 3 : -3;
frame = Math.abs((-((wait / 8)) + 2));
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_bullet_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_bullet_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_bullet_3"));
GFX[frame].scaleX = (dir / 3);
GFX[frame].x = ((eX - 2) + ((dir > 0)) ? 0 : 25);
GFX[frame].y = (eY - 2);
Mario.layerFore.addChild(GFX[frame]);
}
override public function Update(_arg1:uint):void{
wait++;
if ((wait % 8) == 0){
Mario.layerFore.removeChild(GFX[frame]);
frame = Math.abs((-((wait / 8)) + 2));
Mario.layerFore.addChild(GFX[frame]);
if (wait == 32){
wait = 0;
};
};
eX = (eX + dir);
GFX[frame].scaleX = (dir / 3);
GFX[frame].x = ((eX - 2) + ((dir > 0)) ? 0 : 25);
GFX[frame].y = (eY - 2);
if (Mario.playerCollide(eX, eY, 21, 21)){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
if ((((eX > (Player.pX + 300))) || ((eX < (Player.pX - 300))))){
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
};
}
override public function FireballHit(_arg1:uint, _arg2:int):Boolean{
return (false);
}
override public function Stomp(_arg1:uint):void{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Player.hitStomp = true;
Player.Bounce(eY);
Mario.instEffects.push(new Enemy_Fall(eX, eY, Mario.Sign(dir), GFX[frame]));
if (Mario.sounds){
SFXStomp.play();
};
}
}
}//package objects
Section 22
//Cannon (objects.Cannon)
package objects {
import mx.core.*;
import flash.media.*;
public class Cannon extends Obj {
private var wait:uint;
private var GFX:BitmapAsset;
private var SFX:Sound;
public function Cannon(_arg1:uint, _arg2:uint){
SFX = new (Mario.classSFX.accessSFX("cannon"));
super();
oX = _arg1;
oY = _arg2;
wait = (60 + Math.floor((Math.random() * 100)));
GFX = new (Mario.classGFX.AccessGFX("Wall_T"));
GFX.x = oX;
GFX.y = oY;
Mario.layerEffects.addChild(GFX);
Mario.changeLevel((oX / 25), (oY / 25), "x");
}
override public function Update(_arg1:uint):void{
var _local2:Bullet;
wait--;
if (wait == 0){
if ((((Player.pX < (oX - 100))) || ((((Player.pX > (oX + 100))) && ((Math.abs((Player.pX - oX)) < 300)))))){
_local2 = new Bullet((oX + 2), (oY + 3));
Mario.instEnemies.push(_local2);
if ((((_local2.eX < (Player.pX + 300))) || ((_local2.eX > (Player.pX - 300))))){
if (Mario.sounds){
SFX.play();
};
};
};
wait = (60 + Math.floor((Math.random() * 100)));
};
}
}
}//package objects
Section 23
//Cloud (objects.Cloud)
package objects {
public class Cloud extends Effect {
private var GFX:Array;
private var frame:uint;// = 0
public function Cloud(_arg1:uint, _arg2:uint){
GFX = new Array(3);
super();
GFX[0] = new (Mario.classGFX.AccessGFX("back_cloud_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("back_cloud_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("back_cloud_3"));
GFX[0].x = (GFX[1].x = (GFX[2].x = _arg1));
GFX[0].y = (GFX[1].y = (GFX[2].y = _arg2));
Mario.layerEffects.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
timer++;
if (timer == 20){
Mario.layerEffects.removeChild(GFX[frame]);
frame = ((frame + 1) % 3);
Mario.layerEffects.addChild(GFX[frame]);
timer = 0;
};
}
}
}//package objects
Section 24
//Coin (objects.Coin)
package objects {
import flash.display.*;
import flash.media.*;
public class Coin extends Obj {
public var wait:uint;// = 0
private var SFXCoin:Sound;
private var GFX:Array;
public var frame:uint;// = 0
public function Coin(_arg1:Number, _arg2:Number){
GFX = new Array(3);
SFXCoin = new (Mario.classSFX.accessSFX("coin"));
super();
oX = (_arg1 + 4);
oY = (_arg2 + 2);
GFX[0] = new (Mario.classGFX.AccessGFX("object_coin_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("object_coin_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("object_coin_3"));
GFX[0].x = (GFX[1].x = (GFX[2].x = (oX - 4)));
GFX[0].y = (GFX[1].y = (GFX[2].y = (oY - 2)));
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
wait++;
if (wait == 4){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 3);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
if (Mario.playerCollide(oX, oY, 16, 22)){
Mario.Hud.Coins++;
Mario.Hud.RedrawCoins();
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeObject(_arg1);
if (Mario.sounds){
SFXCoin.play();
};
};
}
}
}//package objects
Section 25
//Coin_Jump (objects.Coin_Jump)
package objects {
import mx.core.*;
public class Coin_Jump extends Effect {
public var fX:Number;
public var fY:Number;
public var speed:Number;// = 10
public var GFX:BitmapAsset;
public var frame:uint;// = 1
public function Coin_Jump(_arg1:Number, _arg2:Number){
fX = (_arg1 - 5);
fY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("effect_coin_jump_1");
GFX = new (_local3);
GFX.x = fX;
GFX.y = fY;
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
frame = (((frame + 1) % 12) + 1);
fY = (fY - speed);
speed = (speed - Mario.gravity);
GFX.x = fX;
GFX.y = fY;
GFX.alpha = ((speed - 2) / 8);
Mario.layerFore.addChild(GFX);
if (speed < 2){
Mario.instEffects.push(new Points((fX + 7), (fY + 130), "200"));
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 26
//DeadMario (objects.DeadMario)
package objects {
import mx.core.*;
public class DeadMario extends Effect {
private var grav:Number;// = -5
private var fX:int;
private var fY:int;
private var GFX:BitmapAsset;
public function DeadMario(_arg1:int, _arg2:int){
fX = _arg1;
fY = _arg2;
timer = 0;
GFX = new (Mario.classGFX.AccessGFX("object_mario_dead"));
GFX.x = fX;
GFX.y = fY;
Mario.layerEffects.addChild(GFX);
}
override public function Update(_arg1:uint):void{
timer++;
if (timer > 40){
fY = (fY + grav);
if (timer > 60){
grav = Math.min((grav + Mario.gravity), 5);
};
GFX.y = fY;
if (fY > ((Mario.levelHei * 25) + 150)){
Mario.removeEffect(_arg1);
Mario.layerEffects.removeChild(GFX);
if (Mario.Hud.Lives == 0){
Mario.instObjects.push(new GameOver());
} else {
Mario.Hud.Lives--;
Mario.clearLevel();
Mario.decreaseI = 1;
};
};
};
}
}
}//package objects
Section 27
//Effect (objects.Effect)
package objects {
public class Effect {
var timer:uint;
public function Update(_arg1:uint):void{
}
}
}//package objects
Section 28
//Elevator (objects.Elevator)
package objects {
import mx.core.*;
public class Elevator extends Obj {
protected var wid:uint;// = 25
protected var holds:Boolean;// = false
protected var GFX:BitmapAsset;
public function Elevator(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:String){
oX = _arg1;
oY = _arg2;
this.wid = _arg3;
GFX = new (Mario.classGFX.AccessGFX(_arg4));
GFX.x = oX;
GFX.y = oY;
Mario.layerWall.addChild(GFX);
}
override public function Update(_arg1:uint):void{
Act();
if (!holds){
if ((((((Player.gravity > 0)) && ((((Player.pY + Player.pHei) - Player.gravity) < oY)))) && (Mario.playerCollide(oX, (oY - 2), wid, 2)))){
Player.elev = this;
holds = true;
Player.gravity = 0;
Player.pY = (oY - Player.pHei);
Player.ResetGraphic();
};
} else {
if (Mario.playerCollide(oX, (oY - 2), wid, 2)){
Player.gravity = 0;
Player.pY = (oY - Player.pHei);
Player.ResetGraphic();
} else {
this.free();
};
};
}
protected function Act():void{
}
public function free():void{
holds = false;
Player.elev = null;
}
}
}//package objects
Section 29
//ElevatorBounce (objects.ElevatorBounce)
package objects {
public class ElevatorBounce extends Elevator {
private var dir:int;
public function ElevatorBounce(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:String, _arg5:int=1){
super(_arg1, _arg2, _arg3, _arg4);
dir = _arg5;
}
override protected function Act():void{
if (((Mario.levelColl((oX + dir), oY)) || (Mario.levelColl((((oX + wid) - 1) + dir), oY)))){
dir = (dir * -1);
};
if (holds){
Player.pX = (Player.pX + dir);
};
oX = (oX + dir);
GFX.x = oX;
}
override public function free():void{
super.free();
}
}
}//package objects
Section 30
//ElevatorFall (objects.ElevatorFall)
package objects {
public class ElevatorFall extends Elevator {
private var grav:Number;// = 0
private var timer:uint;// = 0
public function ElevatorFall(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:String){
super(_arg1, _arg2, _arg3, _arg4);
}
override protected function Act():void{
if (((holds) || ((timer > 0)))){
timer++;
};
if (timer > 30){
grav = (grav + 0.2);
};
if (holds){
Player.pY = (Player.pY + Math.round(grav));
};
oY = (oY + Math.round(grav));
GFX.y = oY;
}
override public function free():void{
super.free();
Player.gravity = grav;
}
}
}//package objects
Section 31
//ElevatorLoop (objects.ElevatorLoop)
package objects {
public class ElevatorLoop extends Elevator {
private var grav:int;// = 0
public function ElevatorLoop(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:String, _arg5:int){
super(_arg1, _arg2, _arg3, _arg4);
grav = _arg5;
}
override protected function Act():void{
if (holds){
Player.pY = (Player.pY + Math.round(grav));
};
oY = (oY + Math.round(grav));
GFX.y = oY;
if (oY > 385){
oY = (oY - 400);
free();
} else {
if (oY < -25){
oY = (oY + 400);
free();
};
};
}
override public function free():void{
if (holds){
super.free();
Player.gravity = grav;
};
}
}
}//package objects
Section 32
//Enemy (objects.Enemy)
package objects {
import flash.media.*;
public class Enemy {
public var active:Boolean;// = false
public var bounce:Boolean;// = true
public var SFXKick:Sound;
public var alive:Boolean;// = true
public var eX:Number;
public var eY:Number;
public var gravity:Number;// = 0
public var dir:int;
public var eHei:uint;
public var eWid:uint;
public var stomped:Boolean;// = false
public var isShell:Boolean;// = false
public function Enemy(){
SFXKick = new (Mario.classSFX.accessSFX("kick"));
super();
}
public function Fire(_arg1:uint, _arg2:int):Boolean{
return (false);
}
public function Stomp(_arg1:uint):void{
}
public function Update(_arg1:uint):void{
}
public function FireballHit(_arg1:uint, _arg2:int):Boolean{
Fire(_arg1, _arg2);
Mario.instEffects.push(new Points((eX + 10), (eY - 5), "200"));
if (Mario.sounds){
SFXKick.play();
};
return (true);
}
}
}//package objects
Section 33
//Enemy_Fall (objects.Enemy_Fall)
package objects {
import mx.core.*;
public class Enemy_Fall extends Effect {
public var fX:Number;
public var fY:Number;
public var moveY:Number;// = 0
public var GFX:BitmapAsset;
public function Enemy_Fall(_arg1:Number, _arg2:Number, _arg3:int, _arg4:BitmapAsset){
GFX = _arg4;
fX = (_arg1 - ((_arg3 == -1)) ? -(GFX.width) : 0);
fY = (_arg2 + GFX.height);
GFX.x = fX;
GFX.y = fY;
GFX.scaleY = -1;
GFX.scaleX = _arg3;
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
moveY = (moveY + Mario.gravity);
fY = (fY + moveY);
GFX.x = fX;
GFX.y = fY;
if (fY > ((Mario.levelHei * 25) + 20)){
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 34
//Enemy_Fire (objects.Enemy_Fire)
package objects {
import flash.display.*;
import mx.core.*;
public class Enemy_Fire extends Effect {
public var fX:Number;
public var fY:Number;
public var moveX:Number;
public var moveY:Number;
public var GFX:Sprite;
public function Enemy_Fire(_arg1:Number, _arg2:Number, _arg3:int, _arg4:Class){
moveX = _arg3;
moveY = -6;
var _local5:BitmapAsset = new (_arg4);
new (_arg4).x = (-(_local5.width) / 2);
_local5.y = (-(_local5.height) / 2);
fX = (_arg1 + (_local5.width / 2));
fY = (_arg2 + (_local5.width / 2));
GFX = new Sprite();
GFX.x = fX;
GFX.y = fY;
GFX.addChild(_local5);
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
fX = (fX + moveX);
moveY = (moveY + Mario.gravity);
fY = (fY + moveY);
GFX.x = fX;
GFX.y = fY;
GFX.rotation = (GFX.rotation + (moveX * 4));
if (fY > ((Mario.levelHei * 25) + 20)){
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 35
//Finish (objects.Finish)
package objects {
import mx.core.*;
import flash.media.*;
public class Finish {
public var GFXBack:BitmapAsset;
public var GFXBar:BitmapAsset;
public var GFXArr:BitmapAsset;
public var collected:Boolean;// = false
public var dir:int;// = 2
public var fY:int;
public var GFXFore:BitmapAsset;
public var bX:int;
public var bY:int;
public var fX:int;
public var SFXComplete:Sound;
public function Finish(_arg1:int, _arg2:int){
SFXComplete = new (Mario.classSFX.accessSFX("level_complete"));
super();
fX = _arg1;
fY = _arg2;
bX = (_arg1 + 114);
bY = 0;
GFXArr = new (Mario.classGFX.AccessGFX("finish_4"));
GFXArr.x = fX;
GFXArr.y = fY;
Mario.layerEffects.addChild(GFXArr);
}
private function Swap():void{
Mario.playerControllable = false;
Mario.layerFore.removeChild(Player.GFX2);
Mario.instEffects.unshift(new PlayerFinish(Player.pX, Player.pY, Player.gravity, Player.speed, Player.frame));
Mario.classSFX.Play(-1);
if (Mario.music){
SFXComplete.play();
};
}
public function Update(_arg1:uint):void{
if (!collected){
if (Mario.playerCollide((fX + 20), (fY + 20), 500, 5)){
collected = true;
Swap();
};
};
}
}
}//package objects
Section 36
//Fire_Boom (objects.Fire_Boom)
package objects {
import flash.display.*;
import mx.core.*;
public class Fire_Boom extends Effect {
public var GFX:Sprite;
public function Fire_Boom(_arg1:Number, _arg2:Number){
timer = 0;
var _local3:Class = Mario.classGFX.AccessGFX("effect_fire_boom");
var _local4:BitmapAsset = new (_local3);
_local4.x = -12.5;
_local4.y = -12.5;
GFX = new Sprite();
GFX.x = _arg1;
GFX.y = _arg2;
GFX.addChild(_local4);
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
timer++;
GFX.alpha = (1.5 - (timer / 10));
GFX.scaleX = (timer / 10);
GFX.scaleY = (timer / 10);
if (timer == 10){
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 37
//Fireball (objects.Fireball)
package objects {
import flash.display.*;
import mx.core.*;
import flash.media.*;
public class Fireball extends Obj {
public var hostile:Boolean;
public var oWid:uint;// = 10
public var dir:int;
public var gravity:Number;// = 0
public var GFX:Sprite;
private var SFXBump:Sound;
public var oHei:uint;// = 10
public function Fireball(_arg1:int, _arg2:int, _arg3:Number, _arg4:Boolean=false){
SFXBump = new (Mario.classSFX.accessSFX("bump"));
super();
oX = _arg1;
oY = _arg2;
dir = (_arg3 * 6);
hostile = _arg4;
var _local5:Class = Mario.classGFX.AccessGFX("object_radish");
var _local6:BitmapAsset = new (_local5);
_local6.x = -6;
_local6.y = -6;
GFX = new Sprite();
GFX.x = oX;
GFX.y = oY;
GFX.addChild(_local6);
Mario.layerFore.addChild(GFX);
}
public function destroy(_arg1:uint):void{
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
if (!hostile){
Mario.radishNO--;
};
Mario.instEffects.push(new Fire_Boom(oX, oY));
}
override public function Update(_arg1:uint):void{
if (hostile){
if (Mario.playerCollide((oX - 4), (oY - 4), 9, 9)){
Mario.hitPlayer();
destroy(_arg1);
};
} else {
if (((Mario.enemyHitFireball((oX - 4), (oY - 4), 9, 9, dir)) || ((Math.abs((Player.pX - oX)) > 300)))){
destroy(_arg1);
return;
};
};
oX = (oX + dir);
if (((((Mario.levelColl((oX + (4 * Mario.Sign(dir))), (oY - 4))) || (Mario.levelColl((oX + (4 * Mario.Sign(dir))), (oY + 4))))) || ((oY > ((Mario.levelHei * 25) + 100))))){
destroy(_arg1);
return;
};
gravity = (gravity + Mario.gravity);
GFX.x = oX;
GFX.y = oY;
GFX.rotation = (GFX.rotation + 10);
}
}
}//package objects
Section 38
//Fireplant (objects.Fireplant)
package objects {
import flash.display.*;
import mx.core.*;
import flash.media.*;
public class Fireplant extends Obj {
public var hostile:Boolean;
public var oWid:uint;// = 10
public var dir:Number;
public var gravity:Number;// = 0
public var GFX:Sprite;
private var SFXBump:Sound;
public var oHei:uint;// = 10
public function Fireplant(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number){
SFXBump = new (Mario.classSFX.accessSFX("bump"));
super();
oX = _arg1;
oY = _arg2;
dir = _arg3;
gravity = _arg4;
var _local5:BitmapAsset = new (Mario.classGFX.AccessGFX("object_radish"));
_local5.x = -6;
_local5.y = -6;
GFX = new Sprite();
GFX.x = oX;
GFX.y = oY;
GFX.addChild(_local5);
Mario.layerFore.addChild(GFX);
}
public function destroy(_arg1:uint):void{
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
Mario.instEffects.push(new Fire_Boom(oX, oY));
}
override public function Update(_arg1:uint):void{
if (Mario.playerCollide((oX - 4), (oY - 4), 9, 9)){
Mario.hitPlayer();
destroy(_arg1);
return;
};
oX = (oX + dir);
oY = (oY + gravity);
gravity = (gravity + (Mario.gravity / 2));
if (Mario.levelColl(oX, oY)){
if (Mario.sounds){
SFXBump.play();
};
destroy(_arg1);
return;
};
GFX.x = oX;
GFX.y = oY;
GFX.rotation = (GFX.rotation + 10);
}
}
}//package objects
Section 39
//FlyGreen (objects.FlyGreen)
package objects {
import flash.display.*;
import flash.media.*;
public class FlyGreen extends Enemy {
private var wait:uint;// = 0
private var GFX:Array;
private var SFXStomp:Sound;
private var frame:uint;// = 0
public function FlyGreen(_arg1:uint, _arg2:uint){
GFX = new Array(2);
SFXStomp = new (Mario.classSFX.accessSFX("stompduck"));
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_fly_green_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_fly_green_2"));
GFX[0].x = (eX - 3);
GFX[0].y = (eY - 5);
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (active){
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, (eX - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(eX, eY)) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + (Mario.gravity / 2));
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = -4;
eY = ((Math.floor((eY / 25)) * 25) + 4);
};
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = (1 - frame);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 24);
GFX[frame].y = (eY - 16);
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (((Player.pY - Player.gravity) + Player.pHei) <= (eY + 5)){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 1), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_fly_green_1")));
return (true);
}
override public function Stomp(_arg1:uint):void{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEnemies.push(new TroopaGreen(eX, eY));
Player.hitStomp = true;
Player.Bounce(eY);
if (Mario.sounds){
SFXStomp.play();
};
}
}
}//package objects
Section 40
//FlyRed (objects.FlyRed)
package objects {
import flash.display.*;
import flash.media.*;
public class FlyRed extends Enemy {
private var SFXStomp:Sound;
private var frame:uint;// = 0
private var ydir:Number;
private var wait:uint;// = 0
private var starty:uint;
private var GFX:Array;
public function FlyRed(_arg1:uint, _arg2:uint){
GFX = new Array(2);
SFXStomp = new (Mario.classSFX.accessSFX("stompduck"));
super();
eX = _arg1;
eY = _arg2;
starty = eY;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
ydir = 0.1;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_fly_red_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_fly_red_2"));
GFX[0].x = (eX - 3);
GFX[0].y = (eY - 5);
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (active){
dir = ((Player.pX > eX)) ? 1 : -1;
gravity = (gravity + ydir);
eY = (eY + gravity);
gravity = ((gravity > 2)) ? 2 : ((gravity < -2)) ? -2 : gravity;
if (eY > (starty + 100)){
ydir = -0.1;
};
if (eY < starty){
ydir = 0.1;
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = (1 - frame);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 24);
GFX[frame].y = (eY - 16);
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (((Player.pY - Player.gravity) + Player.pHei) <= (eY + 5)){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
override public function Stomp(_arg1:uint):void{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEnemies.push(new TroopaRed(eX, eY));
Player.hitStomp = true;
Player.Bounce(eY);
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 1), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_fly_red_1")));
return (true);
}
}
}//package objects
Section 41
//GameEnd (objects.GameEnd)
package objects {
import flash.display.*;
import flash.text.*;
import mx.core.*;
import flash.media.*;
import flash.geom.*;
public class GameEnd {
private var bar2:Shape;
private var GFXC:Class;
private var timer:Number;// = 0
private var kiss:Sprite;
private var GFXK:Class;
private var bar:Shape;
private var cX:Number;
private var cY:Number;// = 20
private var SFXJ:Sound;
private var list:Array;
private var seq:uint;// = 0
private var kifu:Boolean;// = false
private var txt:TextField;
private var Jebs:Class;
private var castle:Sprite;
private var flash:Sprite;
public function GameEnd(){
GFXK = GameEnd_GFXK;
GFXC = GameEnd_GFXC;
castle = new Sprite();
kiss = new Sprite();
flash = new Sprite();
bar = new Shape();
bar2 = new Shape();
list = new Array();
txt = new TextField();
Jebs = GameEnd_Jebs;
super();
SFXJ = new Jebs();
flash.graphics.beginFill(0xFFFFFF);
flash.graphics.drawRect(0, 0, 400, 375);
flash.graphics.endFill();
Mario.playerControllable = false;
Player.GFX2.alpha = 0;
Mario.Hud.GFX.alpha = 0;
var _local1:BitmapAsset = new GFXK();
kiss.addChild(_local1);
kiss.x = (200 - (kiss.width / 2));
kiss.y = 40;
_local1 = new GFXC();
castle.addChild(_local1);
kiss.alpha = 0;
cX = (200 - (castle.width / 2));
castle.x = cX;
castle.y = cY;
Barer();
Mario.layerHide.addChild(castle);
Mario.layerGover.addChild(flash);
Mario.layerGover.addChild(kiss);
Mario.layerGover.addChild(bar);
Mario.layerGover.addChild(txt);
Mario.layerGover.addChild(bar2);
txt.textColor = 0xFFFFFF;
bar.alpha = 0;
bar2.alpha = 0;
flash.alpha = 0;
txt.scaleX = 1.5;
txt.x = 200;
txt.y = 309;
txt.scaleY = 1.5;
txt.autoSize = TextFieldAutoSize.CENTER;
txt.alpha = 0;
}
public function Throw():void{
if (list.length == 0){
list.push("enemy_goomba", "enemy_goomba", "bonus_used", "effect_hammer", "enemy_bbeetle_1", "enemy_bbeetle_2");
list.push("enemy_bbeetle_shell_1", "enemy_bbeetle_shell_2", "enemy_bbeetle_shell_3", "enemy_bbeetle_shell_4");
list.push("enemy_bullet_1", "enemy_bullet_2", "enemy_bullet_3", "enemy_fly_green_1", "enemy_fly_green_2");
list.push("enemy_fly_red_1", "enemy_fly_red_2", "enemy_hammer_1", "enemy_hammer_2", "enemy_jumper_1");
list.push("enemy_jumper_2", "enemy_jumper_3", "enemy_koopa_green_1", "enemy_koopa_green_2", "enemy_koopa_red_1");
list.push("enemy_koopa_red_2", "enemy_lakitu_1", "enemy_shell_green_1", "enemy_shell_green_2", "enemy_shell_green_3");
list.push("enemy_shell_green_4", "enemy_shell_red_1", "enemy_shell_red_2", "enemy_shell_red_3", "enemy_shell_red_4");
list.push("enemy_spiny_1", "enemy_spiny_2", "enemy_spiny_shell_1", "enemy_spiny_shell_2");
};
var _local1:uint = Math.floor((Math.random() * list.length));
Mario.instEffects.push(new Gamend_Fire(((cX + 70) + (Math.random() * (castle.width - 140))), (cY + 80), ((Math.random() * 4) - (Math.random() * 4)), list[_local1]));
}
public function Update(_arg1:uint):void{
if (Mario.music == 0){
kifu = true;
} else {
if (kifu){
if (seq == 0){
Mario.classSFX.Play(8);
};
kifu = false;
};
};
if (seq == 0){
if (timer == 0){
Mario.classSFX.Play(8);
};
cY = (cY + ((timer > 100)) ? ((timer - 100) / 135) : 0);
Mario.playerControllable = false;
Player.GFX2.alpha = 0;
Mario.Hud.GFX.alpha = 0;
castle.x = (cX + (Math.sin(timer) * 5));
castle.y = cY;
timer = (timer + 1);
Mario.instEffects.push(new Fire_Boom((cX + (Math.random() * castle.width)), 275));
if (Math.random() < 0.2){
Throw();
};
if (cY >= 265){
seq = 1;
timer = 2;
if (Mario.sounds){
SFXJ.play();
};
};
} else {
if (seq == 1){
flash.alpha = timer;
timer = (timer - 0.01);
if (timer <= 0){
seq = 2;
timer = -0.5;
};
} else {
if (seq == 2){
timer = (timer + 0.01);
kiss.alpha = timer;
bar.alpha = timer;
if (timer >= 1){
bar2.alpha = 1;
timer = 0;
seq = 3;
txt.htmlText = "<p align='center'>Squario \n2008 Mauft.com</p>";
txt.x = (200 - (txt.width / 2));
};
} else {
if (seq == 3){
timer = (timer + 0.01);
bar2.alpha = (1 - (Math.sin(timer) * 4));
if (timer > Math.PI){
timer = 0;
seq = 4;
txt.htmlText = "<p align='center'>Created by: Mauft.com\n Programming: Mauft.com\n Graphics: Mauft.com</p>";
txt.x = (200 - (txt.width / 2));
};
} else {
if (seq == 4){
timer = (timer + 0.01);
bar2.alpha = (1 - (Math.sin(timer) * 4));
if (timer > Math.PI){
timer = 0;
seq = 5;
txt.htmlText = "<p align='center'>\nSound Effects: Public Domain\nLevel Design: Mauft.com</p>";
txt.x = (200 - (txt.width / 2));
};
} else {
if (seq == 5){
timer = (timer + 0.01);
bar2.alpha = (1 - (Math.sin(timer) * 4));
if (timer > Math.PI){
timer = 0;
seq = 6;
txt.scaleX = 2.5;
txt.scaleY = 2.5;
txt.htmlText = "<p align='center'>Thank You for Playing!</p>";
txt.x = (200 - (txt.width / 2));
txt.y = (txt.y + 10);
};
} else {
if (seq == 6){
timer = (timer + 0.005);
bar2.alpha = (1 - (Math.sin(timer) * 4));
if (timer > Math.PI){
Mario.clearLevel(false);
Mario.TScreen = new TitleScreen();
Mario.sequence = 4;
Mario.decreaseI = 1;
Mario.stepping = true;
};
};
};
};
};
};
};
};
}
public function Barer():void{
var _local1:String = GradientType.LINEAR;
var _local2:Array = [0, 0];
var _local3:Array = [0, 1];
var _local4:Array = [0, 40];
var _local5:Matrix = new Matrix();
_local5.createGradientBox(400, 75, (Math.PI / 2));
var _local6:String = SpreadMethod.PAD;
bar.graphics.beginGradientFill(_local1, _local2, _local3, _local4, _local5, _local6);
bar.graphics.drawRect(0, 0, 400, 75);
bar.graphics.endFill();
bar.y = 300;
bar2.graphics.beginFill(0);
bar2.graphics.drawRect(0, 0, 400, 75);
bar2.graphics.endFill();
bar2.y = 315;
}
}
}//package objects
Section 42
//GameEnd_GFXC (objects.GameEnd_GFXC)
package objects {
import mx.core.*;
public class GameEnd_GFXC extends BitmapAsset {
}
}//package objects
Section 43
//GameEnd_GFXK (objects.GameEnd_GFXK)
package objects {
import mx.core.*;
public class GameEnd_GFXK extends BitmapAsset {
}
}//package objects
Section 44
//GameEnd_Jebs (objects.GameEnd_Jebs)
package objects {
import mx.core.*;
public class GameEnd_Jebs extends SoundAsset {
}
}//package objects
Section 45
//Gamend_Fire (objects.Gamend_Fire)
package objects {
import flash.display.*;
import mx.core.*;
public class Gamend_Fire extends Effect {
public var fX:Number;
public var fY:Number;
public var moveX:Number;
public var moveY:Number;
public var GFX:Sprite;
public function Gamend_Fire(_arg1:Number, _arg2:Number, _arg3:int, _arg4:String){
moveX = _arg3;
moveY = (-6 - (Math.random() * 5));
var _local5:BitmapAsset = new (Mario.classGFX.AccessGFX(_arg4));
new (Mario.classGFX.AccessGFX(_arg4)).x = (-(_local5.width) / 2);
_local5.y = (-(_local5.height) / 2);
fX = (_arg1 + (_local5.width / 2));
fY = (_arg2 + (_local5.width / 2));
GFX = new Sprite();
GFX.x = fX;
GFX.y = fY;
GFX.addChild(_local5);
Mario.layerHide.addChildAt(GFX, 0);
}
override public function Update(_arg1:uint):void{
fX = (fX + moveX);
moveY = (moveY + Mario.gravity);
fY = (fY + moveY);
GFX.x = fX;
GFX.y = fY;
GFX.rotation = (GFX.rotation + (moveX * 4));
if (fY > ((Mario.levelHei * 25) + 20)){
Mario.layerHide.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 46
//GameOver (objects.GameOver)
package objects {
import flash.text.*;
import mx.core.*;
import flash.media.*;
public class GameOver extends Obj {
private var SFXOver:Sound;
private var gfx3:BitmapAsset;
private var gfxT:BitmapAsset;
private var timer:uint;// = 0
private var gfx1:BitmapAsset;
private var gfx2:BitmapAsset;
private var sel:int;// = 0
private var gfx4:BitmapAsset;
public static var isGO:Boolean = false;
public static var nick:TextField = new TextField();
public static var canSend:Boolean = false;
public function GameOver(){
SFXOver = new (Mario.classSFX.accessSFX("gameover"));
super();
isGO = true;
canSend = true;
gfx1 = new (Mario.classGFX.AccessGFX("gameover"));
gfx2 = new (Mario.classGFX.AccessGFX("score"));
gfx3 = new (Mario.classGFX.AccessGFX("continue"));
gfx4 = new (Mario.classGFX.AccessGFX("quit"));
gfxT = new (Mario.classGFX.AccessGFX("type"));
gfx1.x = ((400 / 2) - (gfx1.width / 2));
gfx1.y = 50;
Mario.layerGover.addChild(gfx1);
nick.type = TextFieldType.INPUT;
nick.autoSize = TextFieldAutoSize.NONE;
nick.x = 82;
nick.y = 182;
nick.width = 225;
nick.height = 17;
nick.text = "Type in your nick!";
nick.maxChars = 21;
nick.textColor = 0;
if (Mario.music){
SFXOver.play();
};
}
override public function Update(_arg1:uint):void{
timer++;
if (timer == 180){
gfx2.x = ((400 / 2) - (gfx2.width / 2));
gfx2.y = 240;
gfx2.alpha = 1;
Mario.layerGover.addChild(gfx2);
gfx3.x = ((400 / 2) - (gfx3.width / 2));
gfx3.y = 280;
Mario.layerGover.addChild(gfx3);
gfx4.x = ((400 / 2) - (gfx4.width / 2));
gfx4.y = 320;
Mario.layerGover.addChild(gfx4);
gfxT.x = 80;
gfxT.y = 180;
gfxT.alpha = 1;
nick.alpha = 1;
nick.type = TextFieldType.INPUT;
Mario.layerGover.addChild(gfxT);
Mario.layerGover.addChild(nick);
};
if (timer > 180){
if (Mario.isKeyPressed(1)){
sel++;
if (!canSend){
sel = ((sel == 0)) ? 1 : 2;
};
if (sel == 3){
sel = 0;
};
} else {
if (Mario.isKeyPressed(3)){
sel--;
if (!canSend){
sel = ((sel == 0)) ? 2 : 1;
};
if (sel == -1){
sel = 2;
};
};
};
if (((((Mario.isKeyPressed(4)) || (Mario.isKeyPressed(6)))) || (Mario.isKeyPressed(7)))){
if (sel == 0){
if (canSend){
canSend = false;
sel = 1;
gfxT.alpha = 0.4;
gfx1.alpha = 0.4;
nick.alpha = 0.4;
nick.type = TextFieldType.DYNAMIC;
new Hiscore();
};
} else {
if (sel == 1){
isGO = false;
Mario.Hud.Lives = 2;
Mario.Hud.Pnts = 0;
Mario.checkPoint = 0;
Mario.Hud.RedrawPnts();
Mario.levelid = Math.max((Mario.levelid - 1), (Math.floor((Mario.levelid / 4)) * 4));
Mario.clearLevel();
Mario.decreaseI = 1;
} else {
if (sel == 2){
isGO = false;
Mario.clearLevel(false);
Mario.TScreen = new TitleScreen();
Mario.sequence = 4;
Mario.decreaseI = 1;
Mario.stepping = true;
};
};
};
};
};
if (sel == 0){
gfx2.alpha = 1;
gfx3.alpha = 0.5;
gfx4.alpha = 0.5;
} else {
if (sel == 1){
gfx2.alpha = 0.5;
gfx3.alpha = 1;
gfx4.alpha = 0.5;
} else {
gfx2.alpha = 0.5;
gfx3.alpha = 0.5;
gfx4.alpha = 1;
};
};
}
}
}//package objects
Section 47
//GFX (objects.GFX)
package objects {
public class GFX {
private var GFX_EN_SHELL_RED_2:Class;
private var GFX_EN_SHELL_RED_3:Class;
private var GFX_EN_FLY_RED_1:Class;
private var GFX_EN_FLY_RED_2:Class;
private var GFX_EN_SHELL_RED_1:Class;
private var GFX_FONT_COIN_1:Class;
private var GFX_FONT_COIN_3:Class;
private var GFX_WALL_ca:Class;
private var GFX_EN_SHELL_RED_4:Class;
private var GFX_FONT_COIN_2:Class;
private var GFX_EN_PPLANT_2:Class;
private var GFX_FONT_X:Class;
private var GFX_FONT_WORLD:Class;
private var GFX_FONT_2:Class;
private var GFX_WALL_cb:Class;
private var GFX_EFF_GOOMBA_STOMPED:Class;
private var GFX_EFF_POINTS_2000:Class;
private var GFX_BACK_CLOUD_1:Class;
private var GFX_BACK_CLOUD_2:Class;
private var GFX_BACK_CLOUD_3:Class;
private var GFX_EN_GOOMBA2:Class;
private var GFX_FONT_LINE:Class;
private var GFX_OB_COIN_1:Class;
private var GFX_OB_COIN_2:Class;
private var GFX_OB_COIN_3:Class;
private var GFX_EN_SPINY_SHELL_2:Class;
private var GFX_MARIO1_ENTER:Class;
private var GFX_EN_SPINY_SHELL_1:Class;
private var GFX_EFF_FIRE_BOOM:Class;
private var GFX_EN_LAKITU_1:Class;
private var GFX_EN_LAKITU_2:Class;
private var GFX_EN_FLY_GREEN_1:Class;
private var GFX_EN_FLY_GREEN_2:Class;
private var GFX_OB_KILLSHROOM:Class;
private var GFX_EFF_HAMMER:Class;
private var GFX_BACK_HILL:Class;
private var GFX_BON_BRICK2:Class;
private var GFX_BON_BRICK3:Class;
private var GFX_EN_JUMPER_1:Class;
private var GFX_EN_JUMPER_2:Class;
private var GFX_EN_JUMPER_3:Class;
private var GFX_MARIO1_BRAKE:Class;
private var GFX_BACK_BACK_1:Class;
private var GFX_BACK_BACK_2:Class;
private var GFX_BACK_BACK_3:Class;
private var GFX_BACK_BACK_4:Class;
private var GFX_BACK_BACK_5:Class;
private var GFX_EFF_POINTS_5000:Class;
private var GFX_EN_SPINY_1:Class;
private var GFX_EN_SPINY_2:Class;
private var GFX_MARIO_DEAD:Class;
private var GFX_MARIO0_ENTER:Class;
private var GFX_FINISH_4:Class;
private var GFX_EN_SHELL_GREEN_1:Class;
private var GFX_EN_SHELL_GREEN_2:Class;
private var GFX_EN_SHELL_GREEN_3:Class;
private var GFX_EN_SHELL_GREEN_4:Class;
private var GFX_BON_USED:Class;
private var GFX_EFF_POINTS_500:Class;
private var GFX_MARIO0_BRAKE:Class;
private var GFX_EN_PSTATIC_1:Class;
private var GFX_EN_PSTATIC_2:Class;
private var GFX_EN_PSTATIC_3:Class;
private var GFX_OB_LIFESHROOM:Class;
private var GFX_BACK_TREE_1:Class;
private var GFX_BACK_TREE_2:Class;
private var GFX_BACK_TREE_3:Class;
private var GFX_BACK_TREE_4:Class;
private var GFX_BACK_TREE_5:Class;
private var GFX_EN_KOOPA_GREEN_1:Class;
private var GFX_EN_KOOPA_GREEN_2:Class;
private var GFX_FONT_HEAD:Class;
private var GFX_EFF_POINTS_8000:Class;
private var GFX_EN_GOOMBA:Class;
private var GFX_EN_BBEETLE_SHELL_1:Class;
private var GFX_BACK_FOREST_1:Class;
private var GFX_BACK_FOREST_2:Class;
private var GFX_BACK_FOREST_3:Class;
private var GFX_BACK_FOREST_4:Class;
private var GFX_EN_BBEETLE_SHELL_2:Class;
private var GFX_EN_BBEETLE_SHELL_3:Class;
private var GFX_EN_BBEETLE_SHELL_4:Class;
private var GFX_BON_USED2:Class;
private var GFX_BON_USED3:Class;
private var GFX_BON_BRICK:Class;
private var GFX_WALL_0:Class;
private var GFX_WALL_2:Class;
private var GFX_EN_PFLAME_1:Class;
private var GFX_WALL_6:Class;
private var GFX_MARIO0_WALK_1:Class;
private var GFX_MARIO0_WALK_2:Class;
private var GFX_MARIO0_WALK_3:Class;
private var GFX_WALL_3:Class;
private var GFX_WALL_4:Class;
private var GFX_EN_PFLAME_2:Class;
private var GFX_BOWSER_1:Class;
private var GFX_BOWSER_2:Class;
private var GFX_BOWSER_3:Class;
private var GFX_BOWSER_4:Class;
private var GFX_WALL_B:Class;
private var GFX_EFF_POINTS_200:Class;
private var GFX_WALL_7:Class;
private var GFX_Z_GAMEOVER:Class;
private var GFX_WALL_9:Class;
private var GFX_Z_QUIT:Class;
private var GFX_WALL_C:Class;
private var GFX_EFF_GOOMBA_STOMPED2:Class;
private var GFX_WALL_5:Class;
private var GFX_WALL_G:Class;
private var GFX_WALL_H:Class;
private var GFX_WALL_8:Class;
private var GFX_BOWSER_FLAME_1:Class;
private var GFX_BOWSER_FLAME_2:Class;
private var GFX_BOWSER_FLAME_3:Class;
private var GFX_WALL_E:Class;
private var GFX_WALL_F:Class;
private var GFX_WALL_O:Class;
private var GFX_WALL_P:Class;
private var GFX_WALL_I:Class;
private var GFX_WALL_A:Class;
private var GFX_WALL_K:Class;
private var GFX_WALL_L:Class;
private var GFX_WALL_D:Class;
private var GFX_OB_RADISH:Class;
private var GFX_WALL_Q:Class;
private var GFX_WALL_a:Class;
private var GFX_WALL_b:Class;
private var GFX_WALL_c:Class;
private var GFX_BACK_TREE2_2:Class;
private var GFX_BACK_TREE2_3:Class;
private var GFX_BACK_TREE2_4:Class;
private var GFX_BACK_TREE2_5:Class;
private var GFX_WALL_h:Class;
private var GFX_MARIO0_JUMP:Class;
private var GFX_WALL_e:Class;
private var GFX_WALL_g:Class;
private var GFX_WALL_i:Class;
private var GFX_WALL_j:Class;
private var GFX_WALL_k:Class;
private var GFX_WALL_d:Class;
private var GFX_WALL_f:Class;
private var GFX_WALL_o:Class;
private var GFX_WALL_1:Class;
private var GFX_WALL_q:Class;
private var GFX_WALL_r:Class;
private var GFX_WALL_s:Class;
private var GFX_WALL_l:Class;
private var GFX_WALL_m:Class;
private var GFX_WALL_n:Class;
private var GFX_WALL_w:Class;
private var GFX_WALL_p:Class;
private var GFX_WALL_y:Class;
private var GFX_WALL_T:Class;
private var GFX_WALL_U:Class;
private var GFX_EFF_POINTS_100:Class;
private var GFX_WALL_v:Class;
private var GFX_WALL_M:Class;
private var GFX_WALL_x:Class;
private var GFX_WALL_R:Class;
private var GFX_WALL_t:Class;
private var GFX_WALL_u:Class;
private var GFX_WALL_J:Class;
private var GFX_BACK_CLOUDS_1:Class;
private var GFX_BACK_CLOUDS_2:Class;
private var GFX_BACK_CLOUDS_3:Class;
private var GFX_BACK_CLOUDS_4:Class;
private var GFX_BACK_CLOUDS_5:Class;
private var GFX_BACK_CLOUDS_6:Class;
private var GFX_BACK_CLOUDS_7:Class;
private var GFX_BACK_CLOUDS_8:Class;
private var GFX_EN_MILL:Class;
private var GFX_WALL_N:Class;
private var GFX_WALL_S:Class;
private var GFX_EN_BULLET_1:Class;
private var GFX_EN_BULLET_2:Class;
private var GFX_EN_BULLET_3:Class;
private var GFX_OB_SHROOM:Class;
private var GFX_BACK_FENCE_1:Class;
private var GFX_BACK_FENCE_2:Class;
private var GFX_BACK_FENCE_3:Class;
private var GFX_FONT_TIME:Class;
private var GFX_Z_SCORE:Class;
private var GFX_BON_BONUS_1:Class;
private var GFX_BON_BONUS_2:Class;
private var GFX_BON_BONUS_3:Class;
private var GFX_EN_BBEETLE_2:Class;
private var GFX_EN_BBEETLE_1:Class;
private var GFX_MARIO1_JUMP:Class;
private var GFX_EFF_ELEVATOR_1:Class;
private var GFX_EFF_ELEVATOR_2:Class;
private var GFX_EFF_ELEVATOR_4:Class;
private var GFX_MARIO1_WALK_1:Class;
private var GFX_MARIO1_WALK_2:Class;
private var GFX_EFF_ELEVATOR_3:Class;
private var GFX_EFF_POINTS_1UP:Class;
private var GFX_EN_KOOPA_RED_2:Class;
private var GFX_Z_CONTINUE:Class;
private var GFX_EN_KOOPA_RED_1:Class;
private var GFX_MARIO1_WALK_3:Class;
private var GFX_FONT_MARIO:Class;
private var GFX_WALL_a0:Class;
private var GFX_WALL_a1:Class;
private var GFX_WALL_a2:Class;
private var GFX_WALL_a3:Class;
private var GFX_WALL_a4:Class;
private var GFX_WALL_a5:Class;
private var GFX_WALL_a6:Class;
private var GFX_Z_TYPE:Class;
private var GFX_WALL_a8:Class;
private var GFX_WALL_a9:Class;
private var GFX_WALL_a7:Class;
private var GFX_WALL_b0:Class;
private var GFX_WALL_b2:Class;
private var GFX_WALL_b3:Class;
private var GFX_WALL_b4:Class;
private var GFX_WALL_b5:Class;
private var GFX_WALL_b8:Class;
private var GFX_WALL_b9:Class;
private var GFX_WALL_b6:Class;
private var GFX_WALL_b7:Class;
private var GFX_WALL_b1:Class;
private var GFX_WALL_aa:Class;
private var GFX_BACK_HILL_BIG:Class;
private var GFX_EFF_POINTS_1000:Class;
private var GFX_EN_PPLANT_1:Class;
private var GFX_WALL_c3:Class;
private var GFX_WALL_c4:Class;
private var GFX_WALL_c6:Class;
private var GFX_WALL_c7:Class;
private var GFX_WALL_c8:Class;
private var GFX_WALL_c9:Class;
private var GFX_FONT_0:Class;
private var GFX_FONT_1:Class;
private var GFX_WALL_c5:Class;
private var GFX_EN_HAMMER_2:Class;
private var GFX_FONT_4:Class;
private var GFX_WALL_c0:Class;
private var GFX_WALL_c1:Class;
private var GFX_WALL_ba:Class;
private var GFX_WALL_bb:Class;
private var GFX_FONT_3:Class;
private var GFX_FONT_5:Class;
private var GFX_FONT_6:Class;
private var GFX_FONT_8:Class;
private var GFX_WALL_c2:Class;
private var GFX_EN_HAMMER_1:Class;
private var GFX_FONT_7:Class;
private var GFX_WALL_ab:Class;
private var GFX_FONT_9:Class;
public function GFX(){
GFX_BACK_BACK_1 = GFX_GFX_BACK_BACK_1;
GFX_BACK_BACK_2 = GFX_GFX_BACK_BACK_2;
GFX_BACK_BACK_3 = GFX_GFX_BACK_BACK_3;
GFX_BACK_BACK_4 = GFX_GFX_BACK_BACK_4;
GFX_BACK_BACK_5 = GFX_GFX_BACK_BACK_5;
GFX_BACK_CLOUD_1 = GFX_GFX_BACK_CLOUD_1;
GFX_BACK_CLOUD_2 = GFX_GFX_BACK_CLOUD_2;
GFX_BACK_CLOUD_3 = GFX_GFX_BACK_CLOUD_3;
GFX_BACK_CLOUDS_1 = GFX_GFX_BACK_CLOUDS_1;
GFX_BACK_CLOUDS_2 = GFX_GFX_BACK_CLOUDS_2;
GFX_BACK_CLOUDS_3 = GFX_GFX_BACK_CLOUDS_3;
GFX_BACK_CLOUDS_4 = GFX_GFX_BACK_CLOUDS_4;
GFX_BACK_CLOUDS_5 = GFX_GFX_BACK_CLOUDS_5;
GFX_BACK_CLOUDS_6 = GFX_GFX_BACK_CLOUDS_6;
GFX_BACK_CLOUDS_7 = GFX_GFX_BACK_CLOUDS_7;
GFX_BACK_CLOUDS_8 = GFX_GFX_BACK_CLOUDS_8;
GFX_BACK_FENCE_1 = GFX_GFX_BACK_FENCE_1;
GFX_BACK_FENCE_2 = GFX_GFX_BACK_FENCE_2;
GFX_BACK_FENCE_3 = GFX_GFX_BACK_FENCE_3;
GFX_BACK_FOREST_1 = GFX_GFX_BACK_FOREST_1;
GFX_BACK_FOREST_2 = GFX_GFX_BACK_FOREST_2;
GFX_BACK_FOREST_3 = GFX_GFX_BACK_FOREST_3;
GFX_BACK_FOREST_4 = GFX_GFX_BACK_FOREST_4;
GFX_BACK_HILL = GFX_GFX_BACK_HILL;
GFX_BACK_HILL_BIG = GFX_GFX_BACK_HILL_BIG;
GFX_BACK_TREE_1 = GFX_GFX_BACK_TREE_1;
GFX_BACK_TREE_2 = GFX_GFX_BACK_TREE_2;
GFX_BACK_TREE_3 = GFX_GFX_BACK_TREE_3;
GFX_BACK_TREE_4 = GFX_GFX_BACK_TREE_4;
GFX_BACK_TREE_5 = GFX_GFX_BACK_TREE_5;
GFX_BACK_TREE2_2 = GFX_GFX_BACK_TREE2_2;
GFX_BACK_TREE2_3 = GFX_GFX_BACK_TREE2_3;
GFX_BACK_TREE2_4 = GFX_GFX_BACK_TREE2_4;
GFX_BACK_TREE2_5 = GFX_GFX_BACK_TREE2_5;
GFX_BON_BONUS_1 = GFX_GFX_BON_BONUS_1;
GFX_BON_BONUS_2 = GFX_GFX_BON_BONUS_2;
GFX_BON_BONUS_3 = GFX_GFX_BON_BONUS_3;
GFX_BON_BRICK = GFX_GFX_BON_BRICK;
GFX_BON_BRICK2 = GFX_GFX_BON_BRICK2;
GFX_BON_BRICK3 = GFX_GFX_BON_BRICK3;
GFX_BON_USED = GFX_GFX_BON_USED;
GFX_BON_USED2 = GFX_GFX_BON_USED2;
GFX_BON_USED3 = GFX_GFX_BON_USED3;
GFX_BOWSER_1 = GFX_GFX_BOWSER_1;
GFX_BOWSER_2 = GFX_GFX_BOWSER_2;
GFX_BOWSER_3 = GFX_GFX_BOWSER_3;
GFX_BOWSER_4 = GFX_GFX_BOWSER_4;
GFX_BOWSER_FLAME_1 = GFX_GFX_BOWSER_FLAME_1;
GFX_BOWSER_FLAME_2 = GFX_GFX_BOWSER_FLAME_2;
GFX_BOWSER_FLAME_3 = GFX_GFX_BOWSER_FLAME_3;
GFX_FINISH_4 = GFX_GFX_FINISH_4;
GFX_EFF_FIRE_BOOM = GFX_GFX_EFF_FIRE_BOOM;
GFX_EFF_GOOMBA_STOMPED = GFX_GFX_EFF_GOOMBA_STOMPED;
GFX_EFF_GOOMBA_STOMPED2 = GFX_GFX_EFF_GOOMBA_STOMPED2;
GFX_EFF_HAMMER = GFX_GFX_EFF_HAMMER;
GFX_EFF_POINTS_1UP = GFX_GFX_EFF_POINTS_1UP;
GFX_EFF_POINTS_100 = GFX_GFX_EFF_POINTS_100;
GFX_EFF_POINTS_200 = GFX_GFX_EFF_POINTS_200;
GFX_EFF_POINTS_500 = GFX_GFX_EFF_POINTS_500;
GFX_EFF_POINTS_1000 = GFX_GFX_EFF_POINTS_1000;
GFX_EFF_POINTS_2000 = GFX_GFX_EFF_POINTS_2000;
GFX_EFF_POINTS_5000 = GFX_GFX_EFF_POINTS_5000;
GFX_EFF_POINTS_8000 = GFX_GFX_EFF_POINTS_8000;
GFX_EFF_ELEVATOR_1 = GFX_GFX_EFF_ELEVATOR_1;
GFX_EFF_ELEVATOR_2 = GFX_GFX_EFF_ELEVATOR_2;
GFX_EFF_ELEVATOR_3 = GFX_GFX_EFF_ELEVATOR_3;
GFX_EFF_ELEVATOR_4 = GFX_GFX_EFF_ELEVATOR_4;
GFX_EN_BBEETLE_1 = GFX_GFX_EN_BBEETLE_1;
GFX_EN_BBEETLE_2 = GFX_GFX_EN_BBEETLE_2;
GFX_EN_BBEETLE_SHELL_1 = GFX_GFX_EN_BBEETLE_SHELL_1;
GFX_EN_BBEETLE_SHELL_2 = GFX_GFX_EN_BBEETLE_SHELL_2;
GFX_EN_BBEETLE_SHELL_3 = GFX_GFX_EN_BBEETLE_SHELL_3;
GFX_EN_BBEETLE_SHELL_4 = GFX_GFX_EN_BBEETLE_SHELL_4;
GFX_EN_BULLET_1 = GFX_GFX_EN_BULLET_1;
GFX_EN_BULLET_2 = GFX_GFX_EN_BULLET_2;
GFX_EN_BULLET_3 = GFX_GFX_EN_BULLET_3;
GFX_EN_FLY_GREEN_1 = GFX_GFX_EN_FLY_GREEN_1;
GFX_EN_FLY_GREEN_2 = GFX_GFX_EN_FLY_GREEN_2;
GFX_EN_FLY_RED_1 = GFX_GFX_EN_FLY_RED_1;
GFX_EN_FLY_RED_2 = GFX_GFX_EN_FLY_RED_2;
GFX_EN_GOOMBA = GFX_GFX_EN_GOOMBA;
GFX_EN_GOOMBA2 = GFX_GFX_EN_GOOMBA2;
GFX_EN_HAMMER_1 = GFX_GFX_EN_HAMMER_1;
GFX_EN_HAMMER_2 = GFX_GFX_EN_HAMMER_2;
GFX_EN_JUMPER_1 = GFX_GFX_EN_JUMPER_1;
GFX_EN_JUMPER_2 = GFX_GFX_EN_JUMPER_2;
GFX_EN_JUMPER_3 = GFX_GFX_EN_JUMPER_3;
GFX_EN_KOOPA_GREEN_1 = GFX_GFX_EN_KOOPA_GREEN_1;
GFX_EN_KOOPA_GREEN_2 = GFX_GFX_EN_KOOPA_GREEN_2;
GFX_EN_KOOPA_RED_1 = GFX_GFX_EN_KOOPA_RED_1;
GFX_EN_KOOPA_RED_2 = GFX_GFX_EN_KOOPA_RED_2;
GFX_EN_LAKITU_1 = GFX_GFX_EN_LAKITU_1;
GFX_EN_LAKITU_2 = GFX_GFX_EN_LAKITU_2;
GFX_EN_MILL = GFX_GFX_EN_MILL;
GFX_EN_PFLAME_1 = GFX_GFX_EN_PFLAME_1;
GFX_EN_PFLAME_2 = GFX_GFX_EN_PFLAME_2;
GFX_EN_PPLANT_1 = GFX_GFX_EN_PPLANT_1;
GFX_EN_PPLANT_2 = GFX_GFX_EN_PPLANT_2;
GFX_EN_PSTATIC_1 = GFX_GFX_EN_PSTATIC_1;
GFX_EN_PSTATIC_2 = GFX_GFX_EN_PSTATIC_2;
GFX_EN_PSTATIC_3 = GFX_GFX_EN_PSTATIC_3;
GFX_EN_SHELL_GREEN_1 = GFX_GFX_EN_SHELL_GREEN_1;
GFX_EN_SHELL_GREEN_2 = GFX_GFX_EN_SHELL_GREEN_2;
GFX_EN_SHELL_GREEN_3 = GFX_GFX_EN_SHELL_GREEN_3;
GFX_EN_SHELL_GREEN_4 = GFX_GFX_EN_SHELL_GREEN_4;
GFX_EN_SHELL_RED_1 = GFX_GFX_EN_SHELL_RED_1;
GFX_EN_SHELL_RED_2 = GFX_GFX_EN_SHELL_RED_2;
GFX_EN_SHELL_RED_3 = GFX_GFX_EN_SHELL_RED_3;
GFX_EN_SHELL_RED_4 = GFX_GFX_EN_SHELL_RED_4;
GFX_EN_SPINY_1 = GFX_GFX_EN_SPINY_1;
GFX_EN_SPINY_2 = GFX_GFX_EN_SPINY_2;
GFX_EN_SPINY_SHELL_1 = GFX_GFX_EN_SPINY_SHELL_1;
GFX_EN_SPINY_SHELL_2 = GFX_GFX_EN_SPINY_SHELL_2;
GFX_FONT_0 = GFX_GFX_FONT_0;
GFX_FONT_1 = GFX_GFX_FONT_1;
GFX_FONT_2 = GFX_GFX_FONT_2;
GFX_FONT_3 = GFX_GFX_FONT_3;
GFX_FONT_4 = GFX_GFX_FONT_4;
GFX_FONT_5 = GFX_GFX_FONT_5;
GFX_FONT_6 = GFX_GFX_FONT_6;
GFX_FONT_7 = GFX_GFX_FONT_7;
GFX_FONT_8 = GFX_GFX_FONT_8;
GFX_FONT_9 = GFX_GFX_FONT_9;
GFX_FONT_LINE = GFX_GFX_FONT_LINE;
GFX_FONT_COIN_1 = GFX_GFX_FONT_COIN_1;
GFX_FONT_COIN_2 = GFX_GFX_FONT_COIN_2;
GFX_FONT_COIN_3 = GFX_GFX_FONT_COIN_3;
GFX_FONT_HEAD = GFX_GFX_FONT_HEAD;
GFX_FONT_MARIO = GFX_GFX_FONT_MARIO;
GFX_FONT_TIME = GFX_GFX_FONT_TIME;
GFX_FONT_WORLD = GFX_GFX_FONT_WORLD;
GFX_FONT_X = GFX_GFX_FONT_X;
GFX_MARIO0_BRAKE = GFX_GFX_MARIO0_BRAKE;
GFX_MARIO0_ENTER = GFX_GFX_MARIO0_ENTER;
GFX_MARIO0_JUMP = GFX_GFX_MARIO0_JUMP;
GFX_MARIO0_WALK_1 = GFX_GFX_MARIO0_WALK_1;
GFX_MARIO0_WALK_2 = GFX_GFX_MARIO0_WALK_2;
GFX_MARIO0_WALK_3 = GFX_GFX_MARIO0_WALK_3;
GFX_MARIO1_BRAKE = GFX_GFX_MARIO1_BRAKE;
GFX_MARIO1_ENTER = GFX_GFX_MARIO1_ENTER;
GFX_MARIO1_JUMP = GFX_GFX_MARIO1_JUMP;
GFX_MARIO1_WALK_1 = GFX_GFX_MARIO1_WALK_1;
GFX_MARIO1_WALK_2 = GFX_GFX_MARIO1_WALK_2;
GFX_MARIO1_WALK_3 = GFX_GFX_MARIO1_WALK_3;
GFX_MARIO_DEAD = GFX_GFX_MARIO_DEAD;
GFX_OB_COIN_1 = GFX_GFX_OB_COIN_1;
GFX_OB_COIN_2 = GFX_GFX_OB_COIN_2;
GFX_OB_COIN_3 = GFX_GFX_OB_COIN_3;
GFX_OB_KILLSHROOM = GFX_GFX_OB_KILLSHROOM;
GFX_OB_LIFESHROOM = GFX_GFX_OB_LIFESHROOM;
GFX_OB_RADISH = GFX_GFX_OB_RADISH;
GFX_OB_SHROOM = GFX_GFX_OB_SHROOM;
GFX_Z_GAMEOVER = GFX_GFX_Z_GAMEOVER;
GFX_Z_SCORE = GFX_GFX_Z_SCORE;
GFX_Z_CONTINUE = GFX_GFX_Z_CONTINUE;
GFX_Z_QUIT = GFX_GFX_Z_QUIT;
GFX_Z_TYPE = GFX_GFX_Z_TYPE;
GFX_WALL_0 = GFX_GFX_WALL_0;
GFX_WALL_1 = GFX_GFX_WALL_1;
GFX_WALL_2 = GFX_GFX_WALL_2;
GFX_WALL_3 = GFX_GFX_WALL_3;
GFX_WALL_4 = GFX_GFX_WALL_4;
GFX_WALL_5 = GFX_GFX_WALL_5;
GFX_WALL_6 = GFX_GFX_WALL_6;
GFX_WALL_7 = GFX_GFX_WALL_7;
GFX_WALL_8 = GFX_GFX_WALL_8;
GFX_WALL_9 = GFX_GFX_WALL_9;
GFX_WALL_a = GFX_GFX_WALL_a;
GFX_WALL_b = GFX_GFX_WALL_b;
GFX_WALL_a0 = GFX_GFX_WALL_a0;
GFX_WALL_a1 = GFX_GFX_WALL_a1;
GFX_WALL_a2 = GFX_GFX_WALL_a2;
GFX_WALL_a3 = GFX_GFX_WALL_a3;
GFX_WALL_a4 = GFX_GFX_WALL_a4;
GFX_WALL_a5 = GFX_GFX_WALL_a5;
GFX_WALL_a6 = GFX_GFX_WALL_a6;
GFX_WALL_a7 = GFX_GFX_WALL_a7;
GFX_WALL_a8 = GFX_GFX_WALL_a8;
GFX_WALL_a9 = GFX_GFX_WALL_a9;
GFX_WALL_aa = GFX_GFX_WALL_aa;
GFX_WALL_ab = GFX_GFX_WALL_ab;
GFX_WALL_b0 = GFX_GFX_WALL_b0;
GFX_WALL_b1 = GFX_GFX_WALL_b1;
GFX_WALL_b2 = GFX_GFX_WALL_b2;
GFX_WALL_b3 = GFX_GFX_WALL_b3;
GFX_WALL_b4 = GFX_GFX_WALL_b4;
GFX_WALL_b5 = GFX_GFX_WALL_b5;
GFX_WALL_b6 = GFX_GFX_WALL_b6;
GFX_WALL_b7 = GFX_GFX_WALL_b7;
GFX_WALL_b8 = GFX_GFX_WALL_b8;
GFX_WALL_b9 = GFX_GFX_WALL_b9;
GFX_WALL_ba = GFX_GFX_WALL_ba;
GFX_WALL_bb = GFX_GFX_WALL_bb;
GFX_WALL_c0 = GFX_GFX_WALL_c0;
GFX_WALL_c1 = GFX_GFX_WALL_c1;
GFX_WALL_c2 = GFX_GFX_WALL_c2;
GFX_WALL_c3 = GFX_GFX_WALL_c3;
GFX_WALL_c4 = GFX_GFX_WALL_c4;
GFX_WALL_c5 = GFX_GFX_WALL_c5;
GFX_WALL_c6 = GFX_GFX_WALL_c6;
GFX_WALL_c7 = GFX_GFX_WALL_c7;
GFX_WALL_c8 = GFX_GFX_WALL_c8;
GFX_WALL_c9 = GFX_GFX_WALL_c9;
GFX_WALL_ca = GFX_GFX_WALL_ca;
GFX_WALL_cb = GFX_GFX_WALL_cb;
GFX_WALL_c = GFX_GFX_WALL_c;
GFX_WALL_d = GFX_GFX_WALL_d;
GFX_WALL_e = GFX_GFX_WALL_e;
GFX_WALL_f = GFX_GFX_WALL_f;
GFX_WALL_g = GFX_GFX_WALL_g;
GFX_WALL_h = GFX_GFX_WALL_h;
GFX_WALL_i = GFX_GFX_WALL_i;
GFX_WALL_j = GFX_GFX_WALL_j;
GFX_WALL_k = GFX_GFX_WALL_k;
GFX_WALL_l = GFX_GFX_WALL_l;
GFX_WALL_m = GFX_GFX_WALL_m;
GFX_WALL_n = GFX_GFX_WALL_n;
GFX_WALL_o = GFX_GFX_WALL_o;
GFX_WALL_p = GFX_GFX_WALL_p;
GFX_WALL_q = GFX_GFX_WALL_q;
GFX_WALL_r = GFX_GFX_WALL_r;
GFX_WALL_s = GFX_GFX_WALL_s;
GFX_WALL_t = GFX_GFX_WALL_t;
GFX_WALL_u = GFX_GFX_WALL_u;
GFX_WALL_v = GFX_GFX_WALL_v;
GFX_WALL_w = GFX_GFX_WALL_w;
GFX_WALL_x = GFX_GFX_WALL_x;
GFX_WALL_y = GFX_GFX_WALL_y;
GFX_WALL_A = GFX_GFX_WALL_A;
GFX_WALL_B = GFX_GFX_WALL_B;
GFX_WALL_C = GFX_GFX_WALL_C;
GFX_WALL_D = GFX_GFX_WALL_D;
GFX_WALL_E = GFX_GFX_WALL_E;
GFX_WALL_F = GFX_GFX_WALL_F;
GFX_WALL_G = GFX_GFX_WALL_G;
GFX_WALL_H = GFX_GFX_WALL_H;
GFX_WALL_I = GFX_GFX_WALL_I;
GFX_WALL_J = GFX_GFX_WALL_J;
GFX_WALL_K = GFX_GFX_WALL_K;
GFX_WALL_L = GFX_GFX_WALL_L;
GFX_WALL_M = GFX_GFX_WALL_M;
GFX_WALL_N = GFX_GFX_WALL_N;
GFX_WALL_O = GFX_GFX_WALL_O;
GFX_WALL_P = GFX_GFX_WALL_P;
GFX_WALL_Q = GFX_GFX_WALL_Q;
GFX_WALL_R = GFX_GFX_WALL_R;
GFX_WALL_S = GFX_GFX_WALL_S;
GFX_WALL_T = GFX_GFX_WALL_T;
GFX_WALL_U = GFX_GFX_WALL_U;
super();
}
public function AccessGFX(_arg1:String):Class{
if (Mario.levelGenre == 1){
switch (_arg1){
case "Wall_0":
return (GFX_WALL_b0);
case "Wall_1":
return (GFX_WALL_b1);
case "Wall_2":
return (GFX_WALL_b2);
case "Wall_3":
return (GFX_WALL_b3);
case "Wall_4":
return (GFX_WALL_b4);
case "Wall_5":
return (GFX_WALL_b5);
case "Wall_6":
return (GFX_WALL_b6);
case "Wall_7":
return (GFX_WALL_b7);
case "Wall_8":
return (GFX_WALL_b8);
case "Wall_9":
return (GFX_WALL_b9);
case "Wall_a":
return (GFX_WALL_ba);
case "Wall_b":
return (GFX_WALL_bb);
case "enemy_goomba":
return (GFX_EN_GOOMBA2);
case "effect_goomba_stomped":
return (GFX_EFF_GOOMBA_STOMPED2);
case "bonus_brick":
return (GFX_BON_BRICK3);
case "bonus_used":
return (GFX_BON_USED2);
};
} else {
if (Mario.levelGenre == 2){
switch (_arg1){
case "Wall_0":
return (GFX_WALL_c0);
case "Wall_1":
return (GFX_WALL_c1);
case "Wall_2":
return (GFX_WALL_c2);
case "Wall_3":
return (GFX_WALL_c3);
case "Wall_4":
return (GFX_WALL_c4);
case "Wall_5":
return (GFX_WALL_c5);
case "Wall_6":
return (GFX_WALL_c6);
case "Wall_7":
return (GFX_WALL_c7);
case "Wall_8":
return (GFX_WALL_c8);
case "Wall_9":
return (GFX_WALL_c9);
case "Wall_a":
return (GFX_WALL_ca);
case "Wall_b":
return (GFX_WALL_cb);
case "back_tree_2":
return (GFX_BACK_TREE2_2);
case "back_tree_3":
return (GFX_BACK_TREE2_3);
case "back_tree_4":
return (GFX_BACK_TREE2_4);
case "back_tree_5":
return (GFX_BACK_TREE2_5);
};
} else {
if (Mario.levelGenre == 3){
switch (_arg1){
case "Wall_0":
return (GFX_WALL_a0);
case "Wall_1":
return (GFX_WALL_a1);
case "Wall_2":
return (GFX_WALL_a2);
case "Wall_3":
return (GFX_WALL_a3);
case "Wall_4":
return (GFX_WALL_a4);
case "Wall_5":
return (GFX_WALL_a5);
case "Wall_6":
return (GFX_WALL_a6);
case "Wall_7":
return (GFX_WALL_a7);
case "Wall_8":
return (GFX_WALL_a8);
case "Wall_9":
return (GFX_WALL_a9);
case "Wall_a":
return (GFX_WALL_aa);
case "Wall_b":
return (GFX_WALL_ab);
case "enemy_goomba":
return (GFX_EN_GOOMBA2);
case "enemy_goomba_stomped":
return (GFX_EFF_GOOMBA_STOMPED2);
case "bonus_brick":
return (GFX_BON_BRICK2);
case "bonus_used":
return (GFX_BON_USED3);
};
};
};
};
switch (_arg1){
case "back_1":
return (GFX_BACK_BACK_1);
case "back_2":
return (GFX_BACK_BACK_2);
case "back_3":
return (GFX_BACK_BACK_3);
case "back_4":
return (GFX_BACK_BACK_4);
case "back_5":
return (GFX_BACK_BACK_5);
case "back_cloud_1":
return (GFX_BACK_CLOUD_1);
case "back_cloud_2":
return (GFX_BACK_CLOUD_2);
case "back_cloud_3":
return (GFX_BACK_CLOUD_3);
case "back_clouds_1":
return (GFX_BACK_CLOUDS_1);
case "back_clouds_2":
return (GFX_BACK_CLOUDS_2);
case "back_clouds_3":
return (GFX_BACK_CLOUDS_3);
case "back_clouds_4":
return (GFX_BACK_CLOUDS_4);
case "back_clouds_5":
return (GFX_BACK_CLOUDS_5);
case "back_clouds_6":
return (GFX_BACK_CLOUDS_6);
case "back_clouds_7":
return (GFX_BACK_CLOUDS_7);
case "back_clouds_8":
return (GFX_BACK_CLOUDS_8);
case "back_fence_1":
return (GFX_BACK_FENCE_1);
case "back_fence_2":
return (GFX_BACK_FENCE_2);
case "back_fence_3":
return (GFX_BACK_FENCE_3);
case "back_forest_1":
return (GFX_BACK_FOREST_1);
case "back_forest_2":
return (GFX_BACK_FOREST_2);
case "back_forest_3":
return (GFX_BACK_FOREST_3);
case "back_forest_4":
return (GFX_BACK_FOREST_4);
case "back_hill":
return (GFX_BACK_HILL);
case "back_hill_big":
return (GFX_BACK_HILL_BIG);
case "back_tree_1":
return (GFX_BACK_TREE_1);
case "back_tree_2":
return (GFX_BACK_TREE_2);
case "back_tree_3":
return (GFX_BACK_TREE_3);
case "back_tree_4":
return (GFX_BACK_TREE_4);
case "back_tree_5":
return (GFX_BACK_TREE_5);
case "bonus_bonus_1":
return (GFX_BON_BONUS_1);
case "bonus_bonus_2":
return (GFX_BON_BONUS_2);
case "bonus_bonus_3":
return (GFX_BON_BONUS_3);
case "bonus_brick":
return (GFX_BON_BRICK);
case "bonus_used":
return (GFX_BON_USED);
case "bowser_1":
return (GFX_BOWSER_1);
case "bowser_2":
return (GFX_BOWSER_2);
case "bowser_3":
return (GFX_BOWSER_3);
case "bowser_4":
return (GFX_BOWSER_4);
case "bowser_flame_1":
return (GFX_BOWSER_FLAME_1);
case "bowser_flame_2":
return (GFX_BOWSER_FLAME_2);
case "bowser_flame_3":
return (GFX_BOWSER_FLAME_3);
case "finish_4":
return (GFX_FINISH_4);
case "effect_fire_boom":
return (GFX_EFF_FIRE_BOOM);
case "effect_goomba_stomped":
return (GFX_EFF_GOOMBA_STOMPED);
case "effect_hammer":
return (GFX_EFF_HAMMER);
case "effect_points_1up":
return (GFX_EFF_POINTS_1UP);
case "effect_points_100":
return (GFX_EFF_POINTS_100);
case "effect_points_200":
return (GFX_EFF_POINTS_200);
case "effect_points_500":
return (GFX_EFF_POINTS_500);
case "effect_points_1000":
return (GFX_EFF_POINTS_1000);
case "effect_points_2000":
return (GFX_EFF_POINTS_2000);
case "effect_points_5000":
return (GFX_EFF_POINTS_5000);
case "effect_points_8000":
return (GFX_EFF_POINTS_8000);
case "elevator_1":
return (GFX_EFF_ELEVATOR_1);
case "elevator_2":
return (GFX_EFF_ELEVATOR_2);
case "elevator_3":
return (GFX_EFF_ELEVATOR_3);
case "elevator_4":
return (GFX_EFF_ELEVATOR_4);
case "enemy_bbeetle_1":
return (GFX_EN_BBEETLE_1);
case "enemy_bbeetle_2":
return (GFX_EN_BBEETLE_2);
case "enemy_bbeetle_shell_1":
return (GFX_EN_BBEETLE_SHELL_1);
case "enemy_bbeetle_shell_2":
return (GFX_EN_BBEETLE_SHELL_2);
case "enemy_bbeetle_shell_3":
return (GFX_EN_BBEETLE_SHELL_3);
case "enemy_bbeetle_shell_4":
return (GFX_EN_BBEETLE_SHELL_4);
case "enemy_bullet_1":
return (GFX_EN_BULLET_1);
case "enemy_bullet_2":
return (GFX_EN_BULLET_2);
case "enemy_bullet_3":
return (GFX_EN_BULLET_3);
case "enemy_fly_green_1":
return (GFX_EN_FLY_GREEN_1);
case "enemy_fly_green_2":
return (GFX_EN_FLY_GREEN_2);
case "enemy_fly_red_1":
return (GFX_EN_FLY_RED_1);
case "enemy_fly_red_2":
return (GFX_EN_FLY_RED_2);
case "enemy_goomba":
return (GFX_EN_GOOMBA);
case "enemy_hammer_1":
return (GFX_EN_HAMMER_1);
case "enemy_hammer_2":
return (GFX_EN_HAMMER_2);
case "enemy_jumper_1":
return (GFX_EN_JUMPER_1);
case "enemy_jumper_2":
return (GFX_EN_JUMPER_2);
case "enemy_jumper_3":
return (GFX_EN_JUMPER_3);
case "enemy_koopa_green_1":
return (GFX_EN_KOOPA_GREEN_1);
case "enemy_koopa_green_2":
return (GFX_EN_KOOPA_GREEN_2);
case "enemy_koopa_red_1":
return (GFX_EN_KOOPA_RED_1);
case "enemy_koopa_red_2":
return (GFX_EN_KOOPA_RED_2);
case "enemy_lakitu_1":
return (GFX_EN_LAKITU_1);
case "enemy_lakitu_2":
return (GFX_EN_LAKITU_2);
case "enemy_mill":
return (GFX_EN_MILL);
case "enemy_pflame_1":
return (GFX_EN_PFLAME_1);
case "enemy_pflame_2":
return (GFX_EN_PFLAME_2);
case "enemy_pplant_1":
return (GFX_EN_PPLANT_1);
case "enemy_pplant_2":
return (GFX_EN_PPLANT_2);
case "enemy_pstatic_1":
return (GFX_EN_PSTATIC_1);
case "enemy_pstatic_2":
return (GFX_EN_PSTATIC_2);
case "enemy_pstatic_3":
return (GFX_EN_PSTATIC_3);
case "enemy_shell_green_1":
return (GFX_EN_SHELL_GREEN_1);
case "enemy_shell_green_2":
return (GFX_EN_SHELL_GREEN_2);
case "enemy_shell_green_3":
return (GFX_EN_SHELL_GREEN_3);
case "enemy_shell_green_4":
return (GFX_EN_SHELL_GREEN_4);
case "enemy_shell_red_1":
return (GFX_EN_SHELL_RED_1);
case "enemy_shell_red_2":
return (GFX_EN_SHELL_RED_2);
case "enemy_shell_red_3":
return (GFX_EN_SHELL_RED_3);
case "enemy_shell_red_4":
return (GFX_EN_SHELL_RED_4);
case "enemy_spiny_1":
return (GFX_EN_SPINY_1);
case "enemy_spiny_2":
return (GFX_EN_SPINY_2);
case "enemy_spiny_shell_1":
return (GFX_EN_SPINY_SHELL_1);
case "enemy_spiny_shell_2":
return (GFX_EN_SPINY_SHELL_2);
case "font_0":
return (GFX_FONT_0);
case "font_1":
return (GFX_FONT_1);
case "font_2":
return (GFX_FONT_2);
case "font_3":
return (GFX_FONT_3);
case "font_4":
return (GFX_FONT_4);
case "font_5":
return (GFX_FONT_5);
case "font_6":
return (GFX_FONT_6);
case "font_7":
return (GFX_FONT_7);
case "font_8":
return (GFX_FONT_8);
case "font_9":
return (GFX_FONT_9);
case "font_-":
return (GFX_FONT_LINE);
case "font_coin_1":
return (GFX_FONT_COIN_1);
case "font_coin_2":
return (GFX_FONT_COIN_2);
case "font_coin_3":
return (GFX_FONT_COIN_3);
case "font_head":
return (GFX_FONT_HEAD);
case "font_mario":
return (GFX_FONT_MARIO);
case "font_time":
return (GFX_FONT_TIME);
case "font_world":
return (GFX_FONT_WORLD);
case "font_x":
return (GFX_FONT_X);
case "object_mario0_crouch":
return (GFX_MARIO0_WALK_1);
case "object_mario0_walk_1":
return (GFX_MARIO0_WALK_1);
case "object_mario0_walk_2":
return (GFX_MARIO0_WALK_2);
case "object_mario0_walk_3":
return (GFX_MARIO0_WALK_3);
case "object_mario0_jump":
return (GFX_MARIO0_JUMP);
case "object_mario0_brake":
return (GFX_MARIO0_BRAKE);
case "object_mario1_walk_1":
return (GFX_MARIO1_WALK_1);
case "object_mario1_walk_2":
return (GFX_MARIO1_WALK_2);
case "object_mario1_walk_3":
return (GFX_MARIO1_WALK_3);
case "object_mario1_jump":
return (GFX_MARIO1_JUMP);
case "object_mario1_brake":
return (GFX_MARIO1_BRAKE);
case "object_mario_dead":
return (GFX_MARIO_DEAD);
case "object_mario0_enter":
return (GFX_MARIO0_ENTER);
case "object_mario1_enter":
return (GFX_MARIO1_ENTER);
case "object_coin_1":
return (GFX_OB_COIN_1);
case "object_coin_2":
return (GFX_OB_COIN_2);
case "object_coin_3":
return (GFX_OB_COIN_3);
case "effect_coin_jump_1":
return (GFX_OB_COIN_1);
case "effect_coin_jump_2":
return (GFX_OB_COIN_2);
case "effect_coin_jump_3":
return (GFX_OB_COIN_3);
case "effect_coin_jump_4":
return (GFX_OB_COIN_2);
case "object_killshroom":
return (GFX_OB_KILLSHROOM);
case "object_lifeshroom":
return (GFX_OB_LIFESHROOM);
case "object_radish":
return (GFX_OB_RADISH);
case "object_shroom":
return (GFX_OB_SHROOM);
case "continue":
return (GFX_Z_CONTINUE);
case "gameover":
return (GFX_Z_GAMEOVER);
case "quit":
return (GFX_Z_QUIT);
case "score":
return (GFX_Z_SCORE);
case "type":
return (GFX_Z_TYPE);
case "Wall_0":
return (GFX_WALL_0);
case "Wall_1":
return (GFX_WALL_1);
case "Wall_2":
return (GFX_WALL_2);
case "Wall_3":
return (GFX_WALL_3);
case "Wall_4":
return (GFX_WALL_4);
case "Wall_5":
return (GFX_WALL_5);
case "Wall_6":
return (GFX_WALL_6);
case "Wall_7":
return (GFX_WALL_7);
case "Wall_8":
return (GFX_WALL_8);
case "Wall_9":
return (GFX_WALL_9);
case "Wall_a":
return (GFX_WALL_a);
case "Wall_b":
return (GFX_WALL_b);
case "Wall_c":
return (GFX_WALL_c);
case "Wall_d":
return (GFX_WALL_d);
case "Wall_e":
return (GFX_WALL_e);
case "Wall_f":
return (GFX_WALL_f);
case "Wall_g":
return (GFX_WALL_g);
case "Wall_h":
return (GFX_WALL_h);
case "Wall_i":
return (GFX_WALL_i);
case "Wall_j":
return (GFX_WALL_j);
case "Wall_k":
return (GFX_WALL_k);
case "Wall_l":
return (GFX_WALL_l);
case "Wall_m":
return (GFX_WALL_m);
case "Wall_n":
return (GFX_WALL_n);
case "Wall_o":
return (GFX_WALL_o);
case "Wall_p":
return (GFX_WALL_p);
case "Wall_q":
return (GFX_WALL_q);
case "Wall_r":
return (GFX_WALL_r);
case "Wall_s":
return (GFX_WALL_s);
case "Wall_t":
return (GFX_WALL_t);
case "Wall_u":
return (GFX_WALL_u);
case "Wall_v":
return (GFX_WALL_v);
case "Wall_w":
return (GFX_WALL_w);
case "Wall_x":
return (GFX_WALL_x);
case "Wall_y":
return (GFX_WALL_y);
case "Wall_A":
return (GFX_WALL_A);
case "Wall_B":
return (GFX_WALL_B);
case "Wall_C":
return (GFX_WALL_C);
case "Wall_D":
return (GFX_WALL_D);
case "Wall_E":
return (GFX_WALL_E);
case "Wall_F":
return (GFX_WALL_F);
case "Wall_G":
return (GFX_WALL_G);
case "Wall_H":
return (GFX_WALL_H);
case "Wall_I":
return (GFX_WALL_I);
case "Wall_J":
return (GFX_WALL_J);
case "Wall_K":
return (GFX_WALL_K);
case "Wall_L":
return (GFX_WALL_L);
case "Wall_M":
return (GFX_WALL_M);
case "Wall_N":
return (GFX_WALL_N);
case "Wall_O":
return (GFX_WALL_O);
case "Wall_P":
return (GFX_WALL_P);
case "Wall_Q":
return (GFX_WALL_Q);
case "Wall_R":
return (GFX_WALL_R);
case "Wall_S":
return (GFX_WALL_S);
case "Wall_T":
return (GFX_WALL_T);
case "Wall_U":
return (GFX_WALL_U);
};
return (GFX_FONT_0);
}
}
}//package objects
Section 48
//GFX_GFX_BACK_BACK_1 (objects.GFX_GFX_BACK_BACK_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_BACK_1 extends BitmapAsset {
}
}//package objects
Section 49
//GFX_GFX_BACK_BACK_2 (objects.GFX_GFX_BACK_BACK_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_BACK_2 extends BitmapAsset {
}
}//package objects
Section 50
//GFX_GFX_BACK_BACK_3 (objects.GFX_GFX_BACK_BACK_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_BACK_3 extends BitmapAsset {
}
}//package objects
Section 51
//GFX_GFX_BACK_BACK_4 (objects.GFX_GFX_BACK_BACK_4)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_BACK_4 extends BitmapAsset {
}
}//package objects
Section 52
//GFX_GFX_BACK_BACK_5 (objects.GFX_GFX_BACK_BACK_5)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_BACK_5 extends BitmapAsset {
}
}//package objects
Section 53
//GFX_GFX_BACK_CLOUD_1 (objects.GFX_GFX_BACK_CLOUD_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUD_1 extends BitmapAsset {
}
}//package objects
Section 54
//GFX_GFX_BACK_CLOUD_2 (objects.GFX_GFX_BACK_CLOUD_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUD_2 extends BitmapAsset {
}
}//package objects
Section 55
//GFX_GFX_BACK_CLOUD_3 (objects.GFX_GFX_BACK_CLOUD_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUD_3 extends BitmapAsset {
}
}//package objects
Section 56
//GFX_GFX_BACK_CLOUDS_1 (objects.GFX_GFX_BACK_CLOUDS_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_1 extends BitmapAsset {
}
}//package objects
Section 57
//GFX_GFX_BACK_CLOUDS_2 (objects.GFX_GFX_BACK_CLOUDS_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_2 extends BitmapAsset {
}
}//package objects
Section 58
//GFX_GFX_BACK_CLOUDS_3 (objects.GFX_GFX_BACK_CLOUDS_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_3 extends BitmapAsset {
}
}//package objects
Section 59
//GFX_GFX_BACK_CLOUDS_4 (objects.GFX_GFX_BACK_CLOUDS_4)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_4 extends BitmapAsset {
}
}//package objects
Section 60
//GFX_GFX_BACK_CLOUDS_5 (objects.GFX_GFX_BACK_CLOUDS_5)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_5 extends BitmapAsset {
}
}//package objects
Section 61
//GFX_GFX_BACK_CLOUDS_6 (objects.GFX_GFX_BACK_CLOUDS_6)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_6 extends BitmapAsset {
}
}//package objects
Section 62
//GFX_GFX_BACK_CLOUDS_7 (objects.GFX_GFX_BACK_CLOUDS_7)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_7 extends BitmapAsset {
}
}//package objects
Section 63
//GFX_GFX_BACK_CLOUDS_8 (objects.GFX_GFX_BACK_CLOUDS_8)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_CLOUDS_8 extends BitmapAsset {
}
}//package objects
Section 64
//GFX_GFX_BACK_FENCE_1 (objects.GFX_GFX_BACK_FENCE_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FENCE_1 extends BitmapAsset {
}
}//package objects
Section 65
//GFX_GFX_BACK_FENCE_2 (objects.GFX_GFX_BACK_FENCE_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FENCE_2 extends BitmapAsset {
}
}//package objects
Section 66
//GFX_GFX_BACK_FENCE_3 (objects.GFX_GFX_BACK_FENCE_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FENCE_3 extends BitmapAsset {
}
}//package objects
Section 67
//GFX_GFX_BACK_FOREST_1 (objects.GFX_GFX_BACK_FOREST_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FOREST_1 extends BitmapAsset {
}
}//package objects
Section 68
//GFX_GFX_BACK_FOREST_2 (objects.GFX_GFX_BACK_FOREST_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FOREST_2 extends BitmapAsset {
}
}//package objects
Section 69
//GFX_GFX_BACK_FOREST_3 (objects.GFX_GFX_BACK_FOREST_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FOREST_3 extends BitmapAsset {
}
}//package objects
Section 70
//GFX_GFX_BACK_FOREST_4 (objects.GFX_GFX_BACK_FOREST_4)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_FOREST_4 extends BitmapAsset {
}
}//package objects
Section 71
//GFX_GFX_BACK_HILL (objects.GFX_GFX_BACK_HILL)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_HILL extends BitmapAsset {
}
}//package objects
Section 72
//GFX_GFX_BACK_HILL_BIG (objects.GFX_GFX_BACK_HILL_BIG)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_HILL_BIG extends BitmapAsset {
}
}//package objects
Section 73
//GFX_GFX_BACK_TREE_1 (objects.GFX_GFX_BACK_TREE_1)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE_1 extends BitmapAsset {
}
}//package objects
Section 74
//GFX_GFX_BACK_TREE_2 (objects.GFX_GFX_BACK_TREE_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE_2 extends BitmapAsset {
}
}//package objects
Section 75
//GFX_GFX_BACK_TREE_3 (objects.GFX_GFX_BACK_TREE_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE_3 extends BitmapAsset {
}
}//package objects
Section 76
//GFX_GFX_BACK_TREE_4 (objects.GFX_GFX_BACK_TREE_4)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE_4 extends BitmapAsset {
}
}//package objects
Section 77
//GFX_GFX_BACK_TREE_5 (objects.GFX_GFX_BACK_TREE_5)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE_5 extends BitmapAsset {
}
}//package objects
Section 78
//GFX_GFX_BACK_TREE2_2 (objects.GFX_GFX_BACK_TREE2_2)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE2_2 extends BitmapAsset {
}
}//package objects
Section 79
//GFX_GFX_BACK_TREE2_3 (objects.GFX_GFX_BACK_TREE2_3)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE2_3 extends BitmapAsset {
}
}//package objects
Section 80
//GFX_GFX_BACK_TREE2_4 (objects.GFX_GFX_BACK_TREE2_4)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE2_4 extends BitmapAsset {
}
}//package objects
Section 81
//GFX_GFX_BACK_TREE2_5 (objects.GFX_GFX_BACK_TREE2_5)
package objects {
import mx.core.*;
public class GFX_GFX_BACK_TREE2_5 extends BitmapAsset {
}
}//package objects
Section 82
//GFX_GFX_BON_BONUS_1 (objects.GFX_GFX_BON_BONUS_1)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BONUS_1 extends BitmapAsset {
}
}//package objects
Section 83
//GFX_GFX_BON_BONUS_2 (objects.GFX_GFX_BON_BONUS_2)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BONUS_2 extends BitmapAsset {
}
}//package objects
Section 84
//GFX_GFX_BON_BONUS_3 (objects.GFX_GFX_BON_BONUS_3)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BONUS_3 extends BitmapAsset {
}
}//package objects
Section 85
//GFX_GFX_BON_BRICK (objects.GFX_GFX_BON_BRICK)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BRICK extends BitmapAsset {
}
}//package objects
Section 86
//GFX_GFX_BON_BRICK2 (objects.GFX_GFX_BON_BRICK2)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BRICK2 extends BitmapAsset {
}
}//package objects
Section 87
//GFX_GFX_BON_BRICK3 (objects.GFX_GFX_BON_BRICK3)
package objects {
import mx.core.*;
public class GFX_GFX_BON_BRICK3 extends BitmapAsset {
}
}//package objects
Section 88
//GFX_GFX_BON_USED (objects.GFX_GFX_BON_USED)
package objects {
import mx.core.*;
public class GFX_GFX_BON_USED extends BitmapAsset {
}
}//package objects
Section 89
//GFX_GFX_BON_USED2 (objects.GFX_GFX_BON_USED2)
package objects {
import mx.core.*;
public class GFX_GFX_BON_USED2 extends BitmapAsset {
}
}//package objects
Section 90
//GFX_GFX_BON_USED3 (objects.GFX_GFX_BON_USED3)
package objects {
import mx.core.*;
public class GFX_GFX_BON_USED3 extends BitmapAsset {
}
}//package objects
Section 91
//GFX_GFX_BOWSER_1 (objects.GFX_GFX_BOWSER_1)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_1 extends BitmapAsset {
}
}//package objects
Section 92
//GFX_GFX_BOWSER_2 (objects.GFX_GFX_BOWSER_2)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_2 extends BitmapAsset {
}
}//package objects
Section 93
//GFX_GFX_BOWSER_3 (objects.GFX_GFX_BOWSER_3)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_3 extends BitmapAsset {
}
}//package objects
Section 94
//GFX_GFX_BOWSER_4 (objects.GFX_GFX_BOWSER_4)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_4 extends BitmapAsset {
}
}//package objects
Section 95
//GFX_GFX_BOWSER_FLAME_1 (objects.GFX_GFX_BOWSER_FLAME_1)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_FLAME_1 extends BitmapAsset {
}
}//package objects
Section 96
//GFX_GFX_BOWSER_FLAME_2 (objects.GFX_GFX_BOWSER_FLAME_2)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_FLAME_2 extends BitmapAsset {
}
}//package objects
Section 97
//GFX_GFX_BOWSER_FLAME_3 (objects.GFX_GFX_BOWSER_FLAME_3)
package objects {
import mx.core.*;
public class GFX_GFX_BOWSER_FLAME_3 extends BitmapAsset {
}
}//package objects
Section 98
//GFX_GFX_EFF_ELEVATOR_1 (objects.GFX_GFX_EFF_ELEVATOR_1)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_ELEVATOR_1 extends BitmapAsset {
}
}//package objects
Section 99
//GFX_GFX_EFF_ELEVATOR_2 (objects.GFX_GFX_EFF_ELEVATOR_2)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_ELEVATOR_2 extends BitmapAsset {
}
}//package objects
Section 100
//GFX_GFX_EFF_ELEVATOR_3 (objects.GFX_GFX_EFF_ELEVATOR_3)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_ELEVATOR_3 extends BitmapAsset {
}
}//package objects
Section 101
//GFX_GFX_EFF_ELEVATOR_4 (objects.GFX_GFX_EFF_ELEVATOR_4)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_ELEVATOR_4 extends BitmapAsset {
}
}//package objects
Section 102
//GFX_GFX_EFF_FIRE_BOOM (objects.GFX_GFX_EFF_FIRE_BOOM)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_FIRE_BOOM extends BitmapAsset {
}
}//package objects
Section 103
//GFX_GFX_EFF_GOOMBA_STOMPED (objects.GFX_GFX_EFF_GOOMBA_STOMPED)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_GOOMBA_STOMPED extends BitmapAsset {
}
}//package objects
Section 104
//GFX_GFX_EFF_GOOMBA_STOMPED2 (objects.GFX_GFX_EFF_GOOMBA_STOMPED2)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_GOOMBA_STOMPED2 extends BitmapAsset {
}
}//package objects
Section 105
//GFX_GFX_EFF_HAMMER (objects.GFX_GFX_EFF_HAMMER)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_HAMMER extends BitmapAsset {
}
}//package objects
Section 106
//GFX_GFX_EFF_POINTS_100 (objects.GFX_GFX_EFF_POINTS_100)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_100 extends BitmapAsset {
}
}//package objects
Section 107
//GFX_GFX_EFF_POINTS_1000 (objects.GFX_GFX_EFF_POINTS_1000)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_1000 extends BitmapAsset {
}
}//package objects
Section 108
//GFX_GFX_EFF_POINTS_1UP (objects.GFX_GFX_EFF_POINTS_1UP)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_1UP extends BitmapAsset {
}
}//package objects
Section 109
//GFX_GFX_EFF_POINTS_200 (objects.GFX_GFX_EFF_POINTS_200)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_200 extends BitmapAsset {
}
}//package objects
Section 110
//GFX_GFX_EFF_POINTS_2000 (objects.GFX_GFX_EFF_POINTS_2000)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_2000 extends BitmapAsset {
}
}//package objects
Section 111
//GFX_GFX_EFF_POINTS_500 (objects.GFX_GFX_EFF_POINTS_500)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_500 extends BitmapAsset {
}
}//package objects
Section 112
//GFX_GFX_EFF_POINTS_5000 (objects.GFX_GFX_EFF_POINTS_5000)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_5000 extends BitmapAsset {
}
}//package objects
Section 113
//GFX_GFX_EFF_POINTS_8000 (objects.GFX_GFX_EFF_POINTS_8000)
package objects {
import mx.core.*;
public class GFX_GFX_EFF_POINTS_8000 extends BitmapAsset {
}
}//package objects
Section 114
//GFX_GFX_EN_BBEETLE_1 (objects.GFX_GFX_EN_BBEETLE_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_1 extends BitmapAsset {
}
}//package objects
Section 115
//GFX_GFX_EN_BBEETLE_2 (objects.GFX_GFX_EN_BBEETLE_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_2 extends BitmapAsset {
}
}//package objects
Section 116
//GFX_GFX_EN_BBEETLE_SHELL_1 (objects.GFX_GFX_EN_BBEETLE_SHELL_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_SHELL_1 extends BitmapAsset {
}
}//package objects
Section 117
//GFX_GFX_EN_BBEETLE_SHELL_2 (objects.GFX_GFX_EN_BBEETLE_SHELL_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_SHELL_2 extends BitmapAsset {
}
}//package objects
Section 118
//GFX_GFX_EN_BBEETLE_SHELL_3 (objects.GFX_GFX_EN_BBEETLE_SHELL_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_SHELL_3 extends BitmapAsset {
}
}//package objects
Section 119
//GFX_GFX_EN_BBEETLE_SHELL_4 (objects.GFX_GFX_EN_BBEETLE_SHELL_4)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BBEETLE_SHELL_4 extends BitmapAsset {
}
}//package objects
Section 120
//GFX_GFX_EN_BULLET_1 (objects.GFX_GFX_EN_BULLET_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BULLET_1 extends BitmapAsset {
}
}//package objects
Section 121
//GFX_GFX_EN_BULLET_2 (objects.GFX_GFX_EN_BULLET_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BULLET_2 extends BitmapAsset {
}
}//package objects
Section 122
//GFX_GFX_EN_BULLET_3 (objects.GFX_GFX_EN_BULLET_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_BULLET_3 extends BitmapAsset {
}
}//package objects
Section 123
//GFX_GFX_EN_FLY_GREEN_1 (objects.GFX_GFX_EN_FLY_GREEN_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_FLY_GREEN_1 extends BitmapAsset {
}
}//package objects
Section 124
//GFX_GFX_EN_FLY_GREEN_2 (objects.GFX_GFX_EN_FLY_GREEN_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_FLY_GREEN_2 extends BitmapAsset {
}
}//package objects
Section 125
//GFX_GFX_EN_FLY_RED_1 (objects.GFX_GFX_EN_FLY_RED_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_FLY_RED_1 extends BitmapAsset {
}
}//package objects
Section 126
//GFX_GFX_EN_FLY_RED_2 (objects.GFX_GFX_EN_FLY_RED_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_FLY_RED_2 extends BitmapAsset {
}
}//package objects
Section 127
//GFX_GFX_EN_GOOMBA (objects.GFX_GFX_EN_GOOMBA)
package objects {
import mx.core.*;
public class GFX_GFX_EN_GOOMBA extends BitmapAsset {
}
}//package objects
Section 128
//GFX_GFX_EN_GOOMBA2 (objects.GFX_GFX_EN_GOOMBA2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_GOOMBA2 extends BitmapAsset {
}
}//package objects
Section 129
//GFX_GFX_EN_HAMMER_1 (objects.GFX_GFX_EN_HAMMER_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_HAMMER_1 extends BitmapAsset {
}
}//package objects
Section 130
//GFX_GFX_EN_HAMMER_2 (objects.GFX_GFX_EN_HAMMER_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_HAMMER_2 extends BitmapAsset {
}
}//package objects
Section 131
//GFX_GFX_EN_JUMPER_1 (objects.GFX_GFX_EN_JUMPER_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_JUMPER_1 extends BitmapAsset {
}
}//package objects
Section 132
//GFX_GFX_EN_JUMPER_2 (objects.GFX_GFX_EN_JUMPER_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_JUMPER_2 extends BitmapAsset {
}
}//package objects
Section 133
//GFX_GFX_EN_JUMPER_3 (objects.GFX_GFX_EN_JUMPER_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_JUMPER_3 extends BitmapAsset {
}
}//package objects
Section 134
//GFX_GFX_EN_KOOPA_GREEN_1 (objects.GFX_GFX_EN_KOOPA_GREEN_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_KOOPA_GREEN_1 extends BitmapAsset {
}
}//package objects
Section 135
//GFX_GFX_EN_KOOPA_GREEN_2 (objects.GFX_GFX_EN_KOOPA_GREEN_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_KOOPA_GREEN_2 extends BitmapAsset {
}
}//package objects
Section 136
//GFX_GFX_EN_KOOPA_RED_1 (objects.GFX_GFX_EN_KOOPA_RED_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_KOOPA_RED_1 extends BitmapAsset {
}
}//package objects
Section 137
//GFX_GFX_EN_KOOPA_RED_2 (objects.GFX_GFX_EN_KOOPA_RED_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_KOOPA_RED_2 extends BitmapAsset {
}
}//package objects
Section 138
//GFX_GFX_EN_LAKITU_1 (objects.GFX_GFX_EN_LAKITU_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_LAKITU_1 extends BitmapAsset {
}
}//package objects
Section 139
//GFX_GFX_EN_LAKITU_2 (objects.GFX_GFX_EN_LAKITU_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_LAKITU_2 extends BitmapAsset {
}
}//package objects
Section 140
//GFX_GFX_EN_MILL (objects.GFX_GFX_EN_MILL)
package objects {
import mx.core.*;
public class GFX_GFX_EN_MILL extends BitmapAsset {
}
}//package objects
Section 141
//GFX_GFX_EN_PFLAME_1 (objects.GFX_GFX_EN_PFLAME_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PFLAME_1 extends BitmapAsset {
}
}//package objects
Section 142
//GFX_GFX_EN_PFLAME_2 (objects.GFX_GFX_EN_PFLAME_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PFLAME_2 extends BitmapAsset {
}
}//package objects
Section 143
//GFX_GFX_EN_PPLANT_1 (objects.GFX_GFX_EN_PPLANT_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PPLANT_1 extends BitmapAsset {
}
}//package objects
Section 144
//GFX_GFX_EN_PPLANT_2 (objects.GFX_GFX_EN_PPLANT_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PPLANT_2 extends BitmapAsset {
}
}//package objects
Section 145
//GFX_GFX_EN_PSTATIC_1 (objects.GFX_GFX_EN_PSTATIC_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PSTATIC_1 extends BitmapAsset {
}
}//package objects
Section 146
//GFX_GFX_EN_PSTATIC_2 (objects.GFX_GFX_EN_PSTATIC_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PSTATIC_2 extends BitmapAsset {
}
}//package objects
Section 147
//GFX_GFX_EN_PSTATIC_3 (objects.GFX_GFX_EN_PSTATIC_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_PSTATIC_3 extends BitmapAsset {
}
}//package objects
Section 148
//GFX_GFX_EN_SHELL_GREEN_1 (objects.GFX_GFX_EN_SHELL_GREEN_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_GREEN_1 extends BitmapAsset {
}
}//package objects
Section 149
//GFX_GFX_EN_SHELL_GREEN_2 (objects.GFX_GFX_EN_SHELL_GREEN_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_GREEN_2 extends BitmapAsset {
}
}//package objects
Section 150
//GFX_GFX_EN_SHELL_GREEN_3 (objects.GFX_GFX_EN_SHELL_GREEN_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_GREEN_3 extends BitmapAsset {
}
}//package objects
Section 151
//GFX_GFX_EN_SHELL_GREEN_4 (objects.GFX_GFX_EN_SHELL_GREEN_4)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_GREEN_4 extends BitmapAsset {
}
}//package objects
Section 152
//GFX_GFX_EN_SHELL_RED_1 (objects.GFX_GFX_EN_SHELL_RED_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_RED_1 extends BitmapAsset {
}
}//package objects
Section 153
//GFX_GFX_EN_SHELL_RED_2 (objects.GFX_GFX_EN_SHELL_RED_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_RED_2 extends BitmapAsset {
}
}//package objects
Section 154
//GFX_GFX_EN_SHELL_RED_3 (objects.GFX_GFX_EN_SHELL_RED_3)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_RED_3 extends BitmapAsset {
}
}//package objects
Section 155
//GFX_GFX_EN_SHELL_RED_4 (objects.GFX_GFX_EN_SHELL_RED_4)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SHELL_RED_4 extends BitmapAsset {
}
}//package objects
Section 156
//GFX_GFX_EN_SPINY_1 (objects.GFX_GFX_EN_SPINY_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SPINY_1 extends BitmapAsset {
}
}//package objects
Section 157
//GFX_GFX_EN_SPINY_2 (objects.GFX_GFX_EN_SPINY_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SPINY_2 extends BitmapAsset {
}
}//package objects
Section 158
//GFX_GFX_EN_SPINY_SHELL_1 (objects.GFX_GFX_EN_SPINY_SHELL_1)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SPINY_SHELL_1 extends BitmapAsset {
}
}//package objects
Section 159
//GFX_GFX_EN_SPINY_SHELL_2 (objects.GFX_GFX_EN_SPINY_SHELL_2)
package objects {
import mx.core.*;
public class GFX_GFX_EN_SPINY_SHELL_2 extends BitmapAsset {
}
}//package objects
Section 160
//GFX_GFX_FINISH_4 (objects.GFX_GFX_FINISH_4)
package objects {
import mx.core.*;
public class GFX_GFX_FINISH_4 extends BitmapAsset {
}
}//package objects
Section 161
//GFX_GFX_FONT_0 (objects.GFX_GFX_FONT_0)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_0 extends BitmapAsset {
}
}//package objects
Section 162
//GFX_GFX_FONT_1 (objects.GFX_GFX_FONT_1)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_1 extends BitmapAsset {
}
}//package objects
Section 163
//GFX_GFX_FONT_2 (objects.GFX_GFX_FONT_2)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_2 extends BitmapAsset {
}
}//package objects
Section 164
//GFX_GFX_FONT_3 (objects.GFX_GFX_FONT_3)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_3 extends BitmapAsset {
}
}//package objects
Section 165
//GFX_GFX_FONT_4 (objects.GFX_GFX_FONT_4)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_4 extends BitmapAsset {
}
}//package objects
Section 166
//GFX_GFX_FONT_5 (objects.GFX_GFX_FONT_5)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_5 extends BitmapAsset {
}
}//package objects
Section 167
//GFX_GFX_FONT_6 (objects.GFX_GFX_FONT_6)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_6 extends BitmapAsset {
}
}//package objects
Section 168
//GFX_GFX_FONT_7 (objects.GFX_GFX_FONT_7)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_7 extends BitmapAsset {
}
}//package objects
Section 169
//GFX_GFX_FONT_8 (objects.GFX_GFX_FONT_8)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_8 extends BitmapAsset {
}
}//package objects
Section 170
//GFX_GFX_FONT_9 (objects.GFX_GFX_FONT_9)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_9 extends BitmapAsset {
}
}//package objects
Section 171
//GFX_GFX_FONT_COIN_1 (objects.GFX_GFX_FONT_COIN_1)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_COIN_1 extends BitmapAsset {
}
}//package objects
Section 172
//GFX_GFX_FONT_COIN_2 (objects.GFX_GFX_FONT_COIN_2)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_COIN_2 extends BitmapAsset {
}
}//package objects
Section 173
//GFX_GFX_FONT_COIN_3 (objects.GFX_GFX_FONT_COIN_3)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_COIN_3 extends BitmapAsset {
}
}//package objects
Section 174
//GFX_GFX_FONT_HEAD (objects.GFX_GFX_FONT_HEAD)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_HEAD extends BitmapAsset {
}
}//package objects
Section 175
//GFX_GFX_FONT_LINE (objects.GFX_GFX_FONT_LINE)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_LINE extends BitmapAsset {
}
}//package objects
Section 176
//GFX_GFX_FONT_MARIO (objects.GFX_GFX_FONT_MARIO)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_MARIO extends BitmapAsset {
}
}//package objects
Section 177
//GFX_GFX_FONT_TIME (objects.GFX_GFX_FONT_TIME)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_TIME extends BitmapAsset {
}
}//package objects
Section 178
//GFX_GFX_FONT_WORLD (objects.GFX_GFX_FONT_WORLD)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_WORLD extends BitmapAsset {
}
}//package objects
Section 179
//GFX_GFX_FONT_X (objects.GFX_GFX_FONT_X)
package objects {
import mx.core.*;
public class GFX_GFX_FONT_X extends BitmapAsset {
}
}//package objects
Section 180
//GFX_GFX_MARIO_DEAD (objects.GFX_GFX_MARIO_DEAD)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO_DEAD extends BitmapAsset {
}
}//package objects
Section 181
//GFX_GFX_MARIO0_BRAKE (objects.GFX_GFX_MARIO0_BRAKE)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_BRAKE extends BitmapAsset {
}
}//package objects
Section 182
//GFX_GFX_MARIO0_ENTER (objects.GFX_GFX_MARIO0_ENTER)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_ENTER extends BitmapAsset {
}
}//package objects
Section 183
//GFX_GFX_MARIO0_JUMP (objects.GFX_GFX_MARIO0_JUMP)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_JUMP extends BitmapAsset {
}
}//package objects
Section 184
//GFX_GFX_MARIO0_WALK_1 (objects.GFX_GFX_MARIO0_WALK_1)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_WALK_1 extends BitmapAsset {
}
}//package objects
Section 185
//GFX_GFX_MARIO0_WALK_2 (objects.GFX_GFX_MARIO0_WALK_2)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_WALK_2 extends BitmapAsset {
}
}//package objects
Section 186
//GFX_GFX_MARIO0_WALK_3 (objects.GFX_GFX_MARIO0_WALK_3)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO0_WALK_3 extends BitmapAsset {
}
}//package objects
Section 187
//GFX_GFX_MARIO1_BRAKE (objects.GFX_GFX_MARIO1_BRAKE)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_BRAKE extends BitmapAsset {
}
}//package objects
Section 188
//GFX_GFX_MARIO1_ENTER (objects.GFX_GFX_MARIO1_ENTER)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_ENTER extends BitmapAsset {
}
}//package objects
Section 189
//GFX_GFX_MARIO1_JUMP (objects.GFX_GFX_MARIO1_JUMP)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_JUMP extends BitmapAsset {
}
}//package objects
Section 190
//GFX_GFX_MARIO1_WALK_1 (objects.GFX_GFX_MARIO1_WALK_1)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_WALK_1 extends BitmapAsset {
}
}//package objects
Section 191
//GFX_GFX_MARIO1_WALK_2 (objects.GFX_GFX_MARIO1_WALK_2)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_WALK_2 extends BitmapAsset {
}
}//package objects
Section 192
//GFX_GFX_MARIO1_WALK_3 (objects.GFX_GFX_MARIO1_WALK_3)
package objects {
import mx.core.*;
public class GFX_GFX_MARIO1_WALK_3 extends BitmapAsset {
}
}//package objects
Section 193
//GFX_GFX_OB_COIN_1 (objects.GFX_GFX_OB_COIN_1)
package objects {
import mx.core.*;
public class GFX_GFX_OB_COIN_1 extends BitmapAsset {
}
}//package objects
Section 194
//GFX_GFX_OB_COIN_2 (objects.GFX_GFX_OB_COIN_2)
package objects {
import mx.core.*;
public class GFX_GFX_OB_COIN_2 extends BitmapAsset {
}
}//package objects
Section 195
//GFX_GFX_OB_COIN_3 (objects.GFX_GFX_OB_COIN_3)
package objects {
import mx.core.*;
public class GFX_GFX_OB_COIN_3 extends BitmapAsset {
}
}//package objects
Section 196
//GFX_GFX_OB_KILLSHROOM (objects.GFX_GFX_OB_KILLSHROOM)
package objects {
import mx.core.*;
public class GFX_GFX_OB_KILLSHROOM extends BitmapAsset {
}
}//package objects
Section 197
//GFX_GFX_OB_LIFESHROOM (objects.GFX_GFX_OB_LIFESHROOM)
package objects {
import mx.core.*;
public class GFX_GFX_OB_LIFESHROOM extends BitmapAsset {
}
}//package objects
Section 198
//GFX_GFX_OB_RADISH (objects.GFX_GFX_OB_RADISH)
package objects {
import mx.core.*;
public class GFX_GFX_OB_RADISH extends BitmapAsset {
}
}//package objects
Section 199
//GFX_GFX_OB_SHROOM (objects.GFX_GFX_OB_SHROOM)
package objects {
import mx.core.*;
public class GFX_GFX_OB_SHROOM extends BitmapAsset {
}
}//package objects
Section 200
//GFX_GFX_WALL_0 (objects.GFX_GFX_WALL_0)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_0 extends BitmapAsset {
}
}//package objects
Section 201
//GFX_GFX_WALL_1 (objects.GFX_GFX_WALL_1)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_1 extends BitmapAsset {
}
}//package objects
Section 202
//GFX_GFX_WALL_2 (objects.GFX_GFX_WALL_2)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_2 extends BitmapAsset {
}
}//package objects
Section 203
//GFX_GFX_WALL_3 (objects.GFX_GFX_WALL_3)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_3 extends BitmapAsset {
}
}//package objects
Section 204
//GFX_GFX_WALL_4 (objects.GFX_GFX_WALL_4)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_4 extends BitmapAsset {
}
}//package objects
Section 205
//GFX_GFX_WALL_5 (objects.GFX_GFX_WALL_5)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_5 extends BitmapAsset {
}
}//package objects
Section 206
//GFX_GFX_WALL_6 (objects.GFX_GFX_WALL_6)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_6 extends BitmapAsset {
}
}//package objects
Section 207
//GFX_GFX_WALL_7 (objects.GFX_GFX_WALL_7)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_7 extends BitmapAsset {
}
}//package objects
Section 208
//GFX_GFX_WALL_8 (objects.GFX_GFX_WALL_8)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_8 extends BitmapAsset {
}
}//package objects
Section 209
//GFX_GFX_WALL_9 (objects.GFX_GFX_WALL_9)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_9 extends BitmapAsset {
}
}//package objects
Section 210
//GFX_GFX_WALL_A (objects.GFX_GFX_WALL_A)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_A extends BitmapAsset {
}
}//package objects
Section 211
//GFX_GFX_WALL_a (objects.GFX_GFX_WALL_a)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a extends BitmapAsset {
}
}//package objects
Section 212
//GFX_GFX_WALL_a0 (objects.GFX_GFX_WALL_a0)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a0 extends BitmapAsset {
}
}//package objects
Section 213
//GFX_GFX_WALL_a1 (objects.GFX_GFX_WALL_a1)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a1 extends BitmapAsset {
}
}//package objects
Section 214
//GFX_GFX_WALL_a2 (objects.GFX_GFX_WALL_a2)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a2 extends BitmapAsset {
}
}//package objects
Section 215
//GFX_GFX_WALL_a3 (objects.GFX_GFX_WALL_a3)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a3 extends BitmapAsset {
}
}//package objects
Section 216
//GFX_GFX_WALL_a4 (objects.GFX_GFX_WALL_a4)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a4 extends BitmapAsset {
}
}//package objects
Section 217
//GFX_GFX_WALL_a5 (objects.GFX_GFX_WALL_a5)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a5 extends BitmapAsset {
}
}//package objects
Section 218
//GFX_GFX_WALL_a6 (objects.GFX_GFX_WALL_a6)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a6 extends BitmapAsset {
}
}//package objects
Section 219
//GFX_GFX_WALL_a7 (objects.GFX_GFX_WALL_a7)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a7 extends BitmapAsset {
}
}//package objects
Section 220
//GFX_GFX_WALL_a8 (objects.GFX_GFX_WALL_a8)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a8 extends BitmapAsset {
}
}//package objects
Section 221
//GFX_GFX_WALL_a9 (objects.GFX_GFX_WALL_a9)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_a9 extends BitmapAsset {
}
}//package objects
Section 222
//GFX_GFX_WALL_aa (objects.GFX_GFX_WALL_aa)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_aa extends BitmapAsset {
}
}//package objects
Section 223
//GFX_GFX_WALL_ab (objects.GFX_GFX_WALL_ab)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_ab extends BitmapAsset {
}
}//package objects
Section 224
//GFX_GFX_WALL_B (objects.GFX_GFX_WALL_B)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_B extends BitmapAsset {
}
}//package objects
Section 225
//GFX_GFX_WALL_b (objects.GFX_GFX_WALL_b)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b extends BitmapAsset {
}
}//package objects
Section 226
//GFX_GFX_WALL_b0 (objects.GFX_GFX_WALL_b0)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b0 extends BitmapAsset {
}
}//package objects
Section 227
//GFX_GFX_WALL_b1 (objects.GFX_GFX_WALL_b1)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b1 extends BitmapAsset {
}
}//package objects
Section 228
//GFX_GFX_WALL_b2 (objects.GFX_GFX_WALL_b2)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b2 extends BitmapAsset {
}
}//package objects
Section 229
//GFX_GFX_WALL_b3 (objects.GFX_GFX_WALL_b3)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b3 extends BitmapAsset {
}
}//package objects
Section 230
//GFX_GFX_WALL_b4 (objects.GFX_GFX_WALL_b4)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b4 extends BitmapAsset {
}
}//package objects
Section 231
//GFX_GFX_WALL_b5 (objects.GFX_GFX_WALL_b5)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b5 extends BitmapAsset {
}
}//package objects
Section 232
//GFX_GFX_WALL_b6 (objects.GFX_GFX_WALL_b6)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b6 extends BitmapAsset {
}
}//package objects
Section 233
//GFX_GFX_WALL_b7 (objects.GFX_GFX_WALL_b7)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b7 extends BitmapAsset {
}
}//package objects
Section 234
//GFX_GFX_WALL_b8 (objects.GFX_GFX_WALL_b8)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b8 extends BitmapAsset {
}
}//package objects
Section 235
//GFX_GFX_WALL_b9 (objects.GFX_GFX_WALL_b9)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_b9 extends BitmapAsset {
}
}//package objects
Section 236
//GFX_GFX_WALL_ba (objects.GFX_GFX_WALL_ba)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_ba extends BitmapAsset {
}
}//package objects
Section 237
//GFX_GFX_WALL_bb (objects.GFX_GFX_WALL_bb)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_bb extends BitmapAsset {
}
}//package objects
Section 238
//GFX_GFX_WALL_c (objects.GFX_GFX_WALL_c)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c extends BitmapAsset {
}
}//package objects
Section 239
//GFX_GFX_WALL_C (objects.GFX_GFX_WALL_C)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_C extends BitmapAsset {
}
}//package objects
Section 240
//GFX_GFX_WALL_c0 (objects.GFX_GFX_WALL_c0)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c0 extends BitmapAsset {
}
}//package objects
Section 241
//GFX_GFX_WALL_c1 (objects.GFX_GFX_WALL_c1)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c1 extends BitmapAsset {
}
}//package objects
Section 242
//GFX_GFX_WALL_c2 (objects.GFX_GFX_WALL_c2)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c2 extends BitmapAsset {
}
}//package objects
Section 243
//GFX_GFX_WALL_c3 (objects.GFX_GFX_WALL_c3)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c3 extends BitmapAsset {
}
}//package objects
Section 244
//GFX_GFX_WALL_c4 (objects.GFX_GFX_WALL_c4)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c4 extends BitmapAsset {
}
}//package objects
Section 245
//GFX_GFX_WALL_c5 (objects.GFX_GFX_WALL_c5)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c5 extends BitmapAsset {
}
}//package objects
Section 246
//GFX_GFX_WALL_c6 (objects.GFX_GFX_WALL_c6)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c6 extends BitmapAsset {
}
}//package objects
Section 247
//GFX_GFX_WALL_c7 (objects.GFX_GFX_WALL_c7)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c7 extends BitmapAsset {
}
}//package objects
Section 248
//GFX_GFX_WALL_c8 (objects.GFX_GFX_WALL_c8)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c8 extends BitmapAsset {
}
}//package objects
Section 249
//GFX_GFX_WALL_c9 (objects.GFX_GFX_WALL_c9)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_c9 extends BitmapAsset {
}
}//package objects
Section 250
//GFX_GFX_WALL_ca (objects.GFX_GFX_WALL_ca)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_ca extends BitmapAsset {
}
}//package objects
Section 251
//GFX_GFX_WALL_cb (objects.GFX_GFX_WALL_cb)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_cb extends BitmapAsset {
}
}//package objects
Section 252
//GFX_GFX_WALL_d (objects.GFX_GFX_WALL_d)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_d extends BitmapAsset {
}
}//package objects
Section 253
//GFX_GFX_WALL_D (objects.GFX_GFX_WALL_D)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_D extends BitmapAsset {
}
}//package objects
Section 254
//GFX_GFX_WALL_E (objects.GFX_GFX_WALL_E)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_E extends BitmapAsset {
}
}//package objects
Section 255
//GFX_GFX_WALL_e (objects.GFX_GFX_WALL_e)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_e extends BitmapAsset {
}
}//package objects
Section 256
//GFX_GFX_WALL_F (objects.GFX_GFX_WALL_F)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_F extends BitmapAsset {
}
}//package objects
Section 257
//GFX_GFX_WALL_f (objects.GFX_GFX_WALL_f)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_f extends BitmapAsset {
}
}//package objects
Section 258
//GFX_GFX_WALL_G (objects.GFX_GFX_WALL_G)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_G extends BitmapAsset {
}
}//package objects
Section 259
//GFX_GFX_WALL_g (objects.GFX_GFX_WALL_g)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_g extends BitmapAsset {
}
}//package objects
Section 260
//GFX_GFX_WALL_H (objects.GFX_GFX_WALL_H)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_H extends BitmapAsset {
}
}//package objects
Section 261
//GFX_GFX_WALL_h (objects.GFX_GFX_WALL_h)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_h extends BitmapAsset {
}
}//package objects
Section 262
//GFX_GFX_WALL_I (objects.GFX_GFX_WALL_I)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_I extends BitmapAsset {
}
}//package objects
Section 263
//GFX_GFX_WALL_i (objects.GFX_GFX_WALL_i)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_i extends BitmapAsset {
}
}//package objects
Section 264
//GFX_GFX_WALL_J (objects.GFX_GFX_WALL_J)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_J extends BitmapAsset {
}
}//package objects
Section 265
//GFX_GFX_WALL_j (objects.GFX_GFX_WALL_j)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_j extends BitmapAsset {
}
}//package objects
Section 266
//GFX_GFX_WALL_K (objects.GFX_GFX_WALL_K)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_K extends BitmapAsset {
}
}//package objects
Section 267
//GFX_GFX_WALL_k (objects.GFX_GFX_WALL_k)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_k extends BitmapAsset {
}
}//package objects
Section 268
//GFX_GFX_WALL_L (objects.GFX_GFX_WALL_L)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_L extends BitmapAsset {
}
}//package objects
Section 269
//GFX_GFX_WALL_l (objects.GFX_GFX_WALL_l)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_l extends BitmapAsset {
}
}//package objects
Section 270
//GFX_GFX_WALL_m (objects.GFX_GFX_WALL_m)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_m extends BitmapAsset {
}
}//package objects
Section 271
//GFX_GFX_WALL_M (objects.GFX_GFX_WALL_M)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_M extends BitmapAsset {
}
}//package objects
Section 272
//GFX_GFX_WALL_n (objects.GFX_GFX_WALL_n)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_n extends BitmapAsset {
}
}//package objects
Section 273
//GFX_GFX_WALL_N (objects.GFX_GFX_WALL_N)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_N extends BitmapAsset {
}
}//package objects
Section 274
//GFX_GFX_WALL_o (objects.GFX_GFX_WALL_o)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_o extends BitmapAsset {
}
}//package objects
Section 275
//GFX_GFX_WALL_O (objects.GFX_GFX_WALL_O)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_O extends BitmapAsset {
}
}//package objects
Section 276
//GFX_GFX_WALL_P (objects.GFX_GFX_WALL_P)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_P extends BitmapAsset {
}
}//package objects
Section 277
//GFX_GFX_WALL_p (objects.GFX_GFX_WALL_p)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_p extends BitmapAsset {
}
}//package objects
Section 278
//GFX_GFX_WALL_q (objects.GFX_GFX_WALL_q)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_q extends BitmapAsset {
}
}//package objects
Section 279
//GFX_GFX_WALL_Q (objects.GFX_GFX_WALL_Q)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_Q extends BitmapAsset {
}
}//package objects
Section 280
//GFX_GFX_WALL_r (objects.GFX_GFX_WALL_r)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_r extends BitmapAsset {
}
}//package objects
Section 281
//GFX_GFX_WALL_R (objects.GFX_GFX_WALL_R)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_R extends BitmapAsset {
}
}//package objects
Section 282
//GFX_GFX_WALL_s (objects.GFX_GFX_WALL_s)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_s extends BitmapAsset {
}
}//package objects
Section 283
//GFX_GFX_WALL_S (objects.GFX_GFX_WALL_S)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_S extends BitmapAsset {
}
}//package objects
Section 284
//GFX_GFX_WALL_T (objects.GFX_GFX_WALL_T)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_T extends BitmapAsset {
}
}//package objects
Section 285
//GFX_GFX_WALL_t (objects.GFX_GFX_WALL_t)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_t extends BitmapAsset {
}
}//package objects
Section 286
//GFX_GFX_WALL_U (objects.GFX_GFX_WALL_U)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_U extends BitmapAsset {
}
}//package objects
Section 287
//GFX_GFX_WALL_u (objects.GFX_GFX_WALL_u)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_u extends BitmapAsset {
}
}//package objects
Section 288
//GFX_GFX_WALL_v (objects.GFX_GFX_WALL_v)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_v extends BitmapAsset {
}
}//package objects
Section 289
//GFX_GFX_WALL_w (objects.GFX_GFX_WALL_w)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_w extends BitmapAsset {
}
}//package objects
Section 290
//GFX_GFX_WALL_x (objects.GFX_GFX_WALL_x)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_x extends BitmapAsset {
}
}//package objects
Section 291
//GFX_GFX_WALL_y (objects.GFX_GFX_WALL_y)
package objects {
import mx.core.*;
public class GFX_GFX_WALL_y extends BitmapAsset {
}
}//package objects
Section 292
//GFX_GFX_Z_CONTINUE (objects.GFX_GFX_Z_CONTINUE)
package objects {
import mx.core.*;
public class GFX_GFX_Z_CONTINUE extends BitmapAsset {
}
}//package objects
Section 293
//GFX_GFX_Z_GAMEOVER (objects.GFX_GFX_Z_GAMEOVER)
package objects {
import mx.core.*;
public class GFX_GFX_Z_GAMEOVER extends BitmapAsset {
}
}//package objects
Section 294
//GFX_GFX_Z_QUIT (objects.GFX_GFX_Z_QUIT)
package objects {
import mx.core.*;
public class GFX_GFX_Z_QUIT extends BitmapAsset {
}
}//package objects
Section 295
//GFX_GFX_Z_SCORE (objects.GFX_GFX_Z_SCORE)
package objects {
import mx.core.*;
public class GFX_GFX_Z_SCORE extends BitmapAsset {
}
}//package objects
Section 296
//GFX_GFX_Z_TYPE (objects.GFX_GFX_Z_TYPE)
package objects {
import mx.core.*;
public class GFX_GFX_Z_TYPE extends BitmapAsset {
}
}//package objects
Section 297
//Goomba (objects.Goomba)
package objects {
import mx.core.*;
import flash.media.*;
public class Goomba extends Enemy {
private var GFX:BitmapAsset;
private var SFXStomp:Sound;
private var frame:uint;// = 0
public function Goomba(_arg1:uint, _arg2:uint){
SFXStomp = new (Mario.classSFX.accessSFX("stomp"));
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 21;
var _local3:Class = Mario.classGFX.AccessGFX("enemy_goomba");
GFX = new (_local3);
GFX.x = ((eX - 2) + ((frame > 15)) ? 25 : 0);
GFX.y = (eY - 4);
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
if (active){
stomped = false;
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, eX, eY, 2, eHei) == false){
if (((Mario.levelColl(eX, eY)) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 4);
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
frame = ((frame + 1) % 30);
if (frame > 15){
GFX.scaleX = -1;
} else {
GFX.scaleX = 1;
};
GFX.x = ((eX - 2) + ((frame > 15)) ? 25 : 0);
GFX.y = (eY - 4);
} else {
if (((((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))) || (((Mario.scrollEdge + 400) > eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
override public function Stomp(_arg1:uint):void{
Mario.instEffects.push(new Points((eX + 10), (eY - 5), "100"));
Player.hitStomp = true;
Player.Bounce(eY);
Mario.layerFore.removeChild(GFX);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Goomba_Stomped(eX, eY));
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 4), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_goomba")));
return (true);
}
}
}//package objects
Section 298
//Goomba_Stomped (objects.Goomba_Stomped)
package objects {
import mx.core.*;
public class Goomba_Stomped extends Effect {
public var fX:Number;
public var fY:Number;
public var GFX:BitmapAsset;
public var gravity:Number;// = 0
public function Goomba_Stomped(_arg1:Number, _arg2:Number){
timer = 50;
fX = _arg1;
fY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("effect_goomba_stomped");
GFX = new (_local3);
GFX.x = (_arg1 - 2);
GFX.y = (_arg2 - 4);
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
timer--;
GFX.alpha = (timer / 25);
gravity = (gravity + Mario.gravity);
fY = (fY + Math.floor(gravity));
if (((Mario.levelColl(fX, (fY + 20))) || (Mario.levelColl((fX + 20), (fY + 20))))){
gravity = 0;
fY = ((Math.floor((fY / 25)) * 25) + 4);
};
GFX.x = (fX - 2);
GFX.y = (fY - 4);
if (timer == 0){
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 299
//Hammer (objects.Hammer)
package objects {
import flash.display.*;
import mx.core.*;
public class Hammer extends Obj {
private var waiter:uint;// = 0
private var movY:Number;// = 0
private var movX:Number;// = 0
private var Troopa:HammerTroopa;
private var GFX:Sprite;
public function Hammer(_arg1:HammerTroopa){
GFX = new Sprite();
super();
Troopa = _arg1;
var _local2:BitmapAsset = new (Mario.classGFX.AccessGFX("effect_hammer"));
_local2.x = -10;
_local2.y = -6;
GFX.addChild(_local2);
oY = 0;
oX = 0;
Mario.layerEffects.addChild(GFX);
}
public function SetPos():void{
if (Troopa.dir == 1){
if (Troopa.frame == 0){
GFX.rotation = 0;
GFX.x = (Troopa.eX + 16);
GFX.y = (Troopa.eY - 2);
} else {
GFX.rotation = 90;
GFX.x = (Troopa.eX + 28);
GFX.y = (Troopa.eY + 22);
};
} else {
if (Troopa.frame == 0){
GFX.rotation = 0;
GFX.x = (Troopa.eX + 2);
GFX.y = (Troopa.eY - 2);
} else {
GFX.rotation = -90;
GFX.x = (Troopa.eX - 8);
GFX.y = (Troopa.eY + 22);
};
};
}
override public function Update(_arg1:uint):void{
waiter++;
if (waiter < 30){
SetPos();
} else {
if (waiter == 30){
SetPos();
oX = (GFX.x - 4);
oY = (GFX.y - 4);
movX = ((Troopa.dir * (Math.random() + 1)) * 2);
movY = -((Math.random() + (1 * 6)));
} else {
oX = (oX + movX);
oY = (oY + movY);
GFX.rotation = (GFX.rotation + (movX / 2));
GFX.x = (oX + 4);
GFX.y = (oY + 4);
movY = (movY + Mario.gravity);
if (Mario.playerCollide(oX, oY, 8, 8)){
Mario.hitPlayer();
};
};
};
if ((((((oY > ((Mario.levelHei * 25) + 250))) || ((oY < -200)))) || ((((Troopa.dead == true)) && ((waiter < 100)))))){
Mario.removeObject(_arg1);
Mario.layerEffects.removeChild(GFX);
};
}
}
}//package objects
Section 300
//HammerTroopa (objects.HammerTroopa)
package objects {
import flash.display.*;
import flash.media.*;
public class HammerTroopa extends Enemy {
private var attacking:uint;// = 0
public var dead:Boolean;
public var frame:uint;// = 0
private var jump:uint;// = 0
private var gotox:uint;// = 0
private var startx:uint;// = 0
private var GFX:Array;
private var SFXStomp:Sound;
private var wait:uint;// = 0
private var radisher:Boolean;
public function HammerTroopa(_arg1:uint, _arg2:uint, _arg3:Boolean=false){
GFX = new Array(2);
SFXStomp = new (Mario.classSFX.accessSFX("stomp"));
super();
eX = _arg1;
eY = _arg2;
startx = _arg1;
gotox = _arg1;
radisher = _arg3;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 35;
dir = 1;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_hammer_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_hammer_2"));
GFX[0].x = ((eX - 2) + ((dir > 0)) ? 0 : 25);
GFX[0].y = (eY - 4);
Mario.layerFore.addChild(GFX[0]);
}
override public function Stomp(_arg1:uint):void{
Mario.instEffects.push(new Points((eX + 10), (eY - 5), "100"));
Player.hitStomp = true;
dead = true;
Player.Bounce(eY);
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Enemy_Fall((eX - 4), (eY - 3), dir, GFX[frame]));
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
dead = true;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 4), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_hammer_1")));
return (true);
}
override public function Update(_arg1:uint):void{
if (active){
if ((((jump == 0)) && ((gravity == 0)))){
switch (Math.floor((Math.random() * 50))){
case 0:
gravity = -2;
if (eY < 275){
jump = 40;
};
break;
case 25:
gravity = -6;
break;
};
};
if (eX == gotox){
if (Math.floor((Math.random() * 20)) == 0){
gotox = Math.round((startx + (150 * (Math.random() - 0.5))));
};
};
if (attacking > 0){
attacking--;
} else {
if (Math.random() < 0.03){
if (!radisher){
attacking = 40;
Mario.instObjects.push(new Hammer(this));
};
};
};
eX = (eX + Mario.Sign((gotox - eX)));
stomped = false;
gravity = (gravity + (Mario.gravity / 3));
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (jump > 0){
jump--;
};
if ((((gravity > 0)) && ((jump == 0)))){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((((eY + eHei) - 1) / 25)) * 25) - 35);
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (((Player.pY - Player.gravity) + Player.pHei) <= ((eY + 5) - gravity)){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = (1 - frame);
Mario.layerFore.addChild(GFX[frame]);
dir = ((Player.pX > eX)) ? 1 : -1;
GFX[frame].scaleX = dir;
wait = 0;
if (frame == 0){
if (((((radisher) && ((attacking == 0)))) && ((Math.random() < 0.4)))){
attacking = 20;
Mario.instObjects.push(new Fireball((eX + 10), (eY + 10), (dir / 2), true));
};
};
};
GFX[frame].x = ((eX - 4) + ((dir > 0)) ? 0 : 25);
GFX[frame].y = (eY - 3);
} else {
if (((((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))) || (((Mario.scrollEdge + 400) > eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
}
}//package objects
Section 301
//Hiscore (objects.Hiscore)
package objects {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.net.*;
import flash.system.*;
public class Hiscore {
private var gfx:Sprite;
private var ender:Sprite;
private var l:URLLoader;
private var backer:Class;
private var r:URLRequest;
public static var isHS:Boolean = false;
public function Hiscore(){
backer = Hiscore_backer;
l = new URLLoader();
super();
isHS = true;
var _local1:int = Mario.Hud.Pnts;
var _local2:int = (((_local1 + 59) % 503) * 22);
var _local3:int = (Math.floor(((_local1 - 659) / 547)) + 11);
var _local4:int = (Math.floor((Math.floor(Math.sqrt(_local1)) / 100)) % 977);
Security.allowDomain("mauft.com");
r = new URLRequest(((((((((("http://mauft.com/gamedata/squario/Score.php?a=add&nick=" + GameOver.nick.text) + "&s=") + _local1.toString()) + "&d1=") + _local2.toString()) + "&d2=") + _local3.toString()) + "&d3=") + _local4.toString()));
l.load(r);
l.dataFormat = URLLoaderDataFormat.VARIABLES;
l.addEventListener(Event.COMPLETE, finished);
ender = new Sprite();
ender.alpha = 0;
ender.graphics.beginFill(0xFFFFFF);
ender.graphics.drawRect(162, 343, 76, 19);
}
private function finished(_arg1:Event):void{
gfx = new Sprite();
Mario.Hud.GFX.x = (Mario.Hud.GFX.x + 1000);
gfx.addChild(new backer());
Mario.layerGover.addChild(gfx);
gfx.addChild(makeTXT("#", 32, 35, 28, 19));
gfx.addChild(makeTXT("Nick", 65, 35, 219, 19));
gfx.addChild(makeTXT("Score", 289, 35, 76, 19));
var _local2:Sprite = new Sprite();
_local2.graphics.beginFill(0xFFFFFF, 1);
_local2.graphics.drawRect(32, (63 + (27 * Math.min(9, (l.data.place - 1)))), 28, 19);
_local2.graphics.drawRect(65, (63 + (27 * Math.min(9, (l.data.place - 1)))), 219, 19);
_local2.graphics.drawRect(289, (63 + (27 * Math.min(9, (l.data.place - 1)))), 76, 19);
gfx.addChild(_local2);
var _local3:uint = 1;
while (_local3 <= 10) {
if ((((_local3 == 10)) && ((l.data.place > 9)))){
gfx.addChild(makeTXT(l.data.place.toString(), 32, (35 + (_local3 * 27)), 28, 19));
gfx.addChild(makeTXT(GameOver.nick.text, 65, (35 + (_local3 * 27)), 219, 19));
gfx.addChild(makeTXT(Mario.Hud.Pnts.toString(), 289, (35 + (_local3 * 27)), 76, 19));
} else {
gfx.addChild(makeTXT(_local3.toString(), 32, (35 + (_local3 * 27)), 28, 19));
gfx.addChild(makeTXT(l.data[("n" + _local3.toString())], 65, (35 + (_local3 * 27)), 219, 19));
gfx.addChild(makeTXT(l.data[("s" + _local3.toString())], 289, (35 + (_local3 * 27)), 76, 19));
};
_local3++;
};
gfx.addChild(ender);
ender.addEventListener(MouseEvent.CLICK, end);
ender.addEventListener(MouseEvent.MOUSE_OVER, over);
ender.addEventListener(MouseEvent.MOUSE_OUT, out);
l.removeEventListener(Event.COMPLETE, finished);
}
private function makeTXT(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint):TextField{
var _local6:TextField = new TextField();
_local6.width = _arg4;
_local6.height = _arg5;
_local6.x = _arg2;
_local6.y = _arg3;
_local6.htmlText = (("<p align='center'><font face='verdana' color='#000000' size='13'>" + _arg1) + "</font></p>");
_local6.textColor = 0;
_local6.autoSize = TextFieldAutoSize.NONE;
_local6.selectable = false;
return (_local6);
}
private function over(_arg1:MouseEvent):void{
ender.alpha = 0.4;
}
private function out(_arg1:MouseEvent):void{
ender.alpha = 0;
}
private function end(_arg1:MouseEvent):void{
Mario.layerGover.removeChild(gfx);
Mario.Hud.GFX.x = (Mario.Hud.GFX.x - 1000);
isHS = false;
ender.removeEventListener(MouseEvent.CLICK, end);
ender.removeEventListener(MouseEvent.MOUSE_OVER, over);
ender.removeEventListener(MouseEvent.MOUSE_OUT, out);
}
}
}//package objects
Section 302
//Hiscore_backer (objects.Hiscore_backer)
package objects {
import mx.core.*;
public class Hiscore_backer extends BitmapAsset {
}
}//package objects
Section 303
//Jumper (objects.Jumper)
package objects {
public class Jumper extends Enemy {
private var wait:uint;// = 0
private var horimov:Number;
private var GFX:Array;
private var frame:uint;// = 0
public function Jumper(_arg1:uint, _arg2:uint, _arg3:Number=0, _arg4:int=-10){
GFX = new Array(3);
super();
eX = _arg1;
eY = _arg2;
eWid = 19;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_jumper_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_jumper_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_jumper_3"));
gravity = _arg4;
horimov = _arg3;
GFX[0].x = (eX + 1);
GFX[0].y = (eY + 2);
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
eY = (eY + gravity);
eX = (eX + horimov);
gravity = (gravity + (Mario.gravity / 2));
wait++;
if (wait == 4){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 3);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].x = (eX + 1);
GFX[frame].y = ((eY + 2) + ((gravity < 0)) ? 0 : 20);
GFX[frame].scaleY = ((gravity < 0)) ? 1 : -1;
if (Mario.playerCollide(eX, eY, eWid, eHei)){
Mario.hitPlayer();
};
if (eY > ((Mario.levelHei * 25) + 200)){
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
};
}
}
}//package objects
Section 304
//JumperThrower (objects.JumperThrower)
package objects {
public class JumperThrower extends Enemy {
private var waiter:uint;
private var amounter:uint;
private var sizeh:Number;
private var sizev:Number;
private var wait:uint;
private var pause:uint;
private var pauser:uint;
private var amount:uint;
public function JumperThrower(_arg1:uint, _arg2:uint, _arg3:Number, _arg4:Number, _arg5:uint, _arg6:uint, _arg7:uint){
eX = _arg1;
eY = _arg2;
sizeh = _arg4;
sizev = _arg3;
wait = (waiter = _arg5);
amount = (amounter = _arg6);
pause = (pauser = _arg7);
}
override public function Update(_arg1:uint):void{
if (waiter > 0){
waiter--;
} else {
if (pauser > 0){
pauser--;
} else {
amounter = (amounter - 1);
pauser = pause;
Mario.instEnemies.push(new Jumper(eX, eY, (((Math.random() - 0.5) * 2) * sizeh), ((sizev - Math.random()) + Math.random())));
if (amounter == 0){
amounter = amount;
waiter = wait;
};
};
};
}
}
}//package objects
Section 305
//KillShroom (objects.KillShroom)
package objects {
import mx.core.*;
import flash.media.*;
public class KillShroom extends Obj {
public var oWid:uint;// = 21
private var SFX:Sound;
public var dir:int;
public var gravity:Number;// = 0
public var GFX:BitmapAsset;
public var oHei:uint;// = 21
public var seq:Boolean;// = false
public function KillShroom(_arg1:uint, _arg2:uint){
SFX = new (Mario.classSFX.accessSFX("life"));
super();
oX = _arg1;
oY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("object_killshroom");
GFX = new (_local3);
GFX.x = oX;
GFX.y = oY;
Mario.layerHide.addChild(GFX);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (seq){
oX = (oX + dir);
if (dir > 0){
if (((Mario.levelColl(((oX + oWid) - 1), oY)) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
} else {
if (((Mario.levelColl(oX, oY)) || (Mario.levelColl(oX, ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
oY = (oY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(oX, ((oY + oHei) - 1))) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
gravity = 0;
oY = ((Math.floor((oY / 25)) * 25) + 4);
};
};
if (Mario.playerCollide(oX, oY, oWid, oHei)){
Mario.hitPlayer(true);
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
GFX.x = (oX - 2);
GFX.y = (oY - 4);
} else {
oY = (oY - 0.5);
GFX.x = oX;
GFX.y = oY;
if (Mario.levelColl((oX + 12), (oY + 24)) == false){
Mario.layerHide.removeChild(GFX);
oX = (oX + 2);
oY = (oY + 4);
_local2 = Mario.classGFX.AccessGFX("object_killshroom");
GFX = new (_local2);
GFX.x = (oX - 2);
GFX.y = (oY - 4);
Mario.layerFore.addChild(GFX);
dir = (((Player.pX - oX) > 0)) ? 1 : -1;
seq = true;
};
};
if (oY > ((Mario.levelHei * 25) + 250)){
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
}
}
}//package objects
Section 306
//Lakitu (objects.Lakitu)
package objects {
import flash.display.*;
import flash.media.*;
public class Lakitu extends Enemy {
private var moveX:Number;// = 0
private var SFXStomp:Sound;
private var frame:uint;// = 0
private var wait:uint;// = 0
private var GFX:Array;
public function Lakitu(_arg1:uint, _arg2:uint){
GFX = new Array(2);
SFXStomp = new (Mario.classSFX.accessSFX("stomp"));
super();
bounce = false;
eX = _arg1;
eY = _arg2;
eWid = 22;
eHei = 22;
gravity = -4;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_lakitu_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_lakitu_2"));
GFX[0].x = (eX - 2);
GFX[0].y = (eY - 12);
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if ((Player.pX + (Player.speed / 10)) > eX){
moveX = Math.min((moveX + 0.3), 6);
} else {
moveX = Math.max((moveX - 0.3), -6);
};
eX = (eX + Math.round(moveX));
if (wait < 250){
wait++;
};
if (wait == 250){
if ((((((((Mario.levelColl(eX, (eY - 10)) == false)) && ((Mario.levelColl(eX, (eY + 10)) == false)))) && ((Mario.levelColl((eX + 20), (eY - 10)) == false)))) && ((Mario.levelColl((eX + 20), (eY + 10)) == false)))){
Mario.layerFore.removeChild(GFX[frame]);
frame = 0;
wait = 0;
if (Mario.levelid == 13){
wait = (50 + (Math.random() * 50));
};
Mario.layerFore.addChild(GFX[frame]);
Mario.instEnemies.push(new SpinyShell(eX, (eY - 10)));
};
} else {
if (wait == 150){
Mario.layerFore.removeChild(GFX[frame]);
frame = 1;
Mario.layerFore.addChild(GFX[frame]);
};
};
GFX[frame].x = (eX - 2);
GFX[frame].y = (eY - 2);
if (((Mario.playerControllable) && (Mario.Collide(eX, eY, eWid, eHei, Player.pX, ((Player.pY + Player.pHei) - 1), Player.pWid, 1)))){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
};
};
}
override public function Stomp(_arg1:uint):void{
Mario.instEffects.push(new Points((eX + 10), (eY - 5), "1000"));
Player.hitStomp = true;
Player.Bounce(eY);
Mario.instEffects.push(new Lakitu_Stomped(eX, eY));
eX = (eX + 3000);
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
eX = (eX + 3000);
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 12), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_lakitu_1")));
return (true);
}
}
}//package objects
Section 307
//Lakitu_Stomped (objects.Lakitu_Stomped)
package objects {
import mx.core.*;
public class Lakitu_Stomped extends Effect {
public var fY:Number;
public var GFX:BitmapAsset;
public var gravity:Number;// = 0
public function Lakitu_Stomped(_arg1:Number, _arg2:Number){
fY = (_arg2 + 37);
var _local3:Class = Mario.classGFX.AccessGFX("enemy_lakitu_1");
GFX = new (_local3);
GFX.scaleY = -1;
GFX.x = _arg1;
GFX.y = fY;
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
gravity = (gravity + Mario.gravity);
fY = (fY + gravity);
GFX.y = fY;
if (fY > ((Mario.levelHei * 25) + 80)){
Mario.layerFore.removeChild(GFX);
Mario.removeEffect(_arg1);
};
}
}
}//package objects
Section 308
//LastLevel (objects.LastLevel)
package objects {
public class LastLevel extends Obj {
public var shroom:Boolean;// = false
public var waiter:uint;// = 0
override public function Update(_arg1:uint):void{
if ((((((shroom == false)) && (((waiter % 50) == 25)))) && ((Player.pSize == 0)))){
shroom = true;
Mario.instObjects.push(new Shroom(180, -25));
};
waiter++;
if (waiter == 360){
waiter = 0;
if (Player.pX > 200){
Mario.instEnemies.push(new Spiny(30, -25));
} else {
Mario.instEnemies.push(new Spiny(355, -25));
};
};
}
}
}//package objects
Section 309
//LifeShroom (objects.LifeShroom)
package objects {
import mx.core.*;
import flash.media.*;
public class LifeShroom extends Obj {
public var oWid:uint;// = 21
private var SFX:Sound;
public var dir:int;
public var gravity:Number;// = 0
public var GFX:BitmapAsset;
public var oHei:uint;// = 21
public var seq:Boolean;// = false
public function LifeShroom(_arg1:uint, _arg2:uint){
SFX = new (Mario.classSFX.accessSFX("life"));
super();
oX = _arg1;
oY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("object_lifeshroom");
GFX = new (_local3);
GFX.x = oX;
GFX.y = oY;
Mario.layerHide.addChild(GFX);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (seq){
oX = (oX + dir);
if (dir > 0){
if (((Mario.levelColl(((oX + oWid) - 1), oY)) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
} else {
if (((Mario.levelColl(oX, oY)) || (Mario.levelColl(oX, ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
oY = (oY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(oX, ((oY + oHei) - 1))) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
gravity = 0;
oY = ((Math.floor((oY / 25)) * 25) + 4);
};
};
if (Mario.playerCollide(oX, oY, oWid, oHei)){
Mario.instEffects.push(new Points((oX + 10), (oY - 5), "1up"));
if (Mario.sounds){
SFX.play();
};
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
GFX.x = (oX - 2);
GFX.y = (oY - 4);
} else {
oY = (oY - 0.5);
GFX.x = oX;
GFX.y = oY;
if (Mario.levelColl((oX + 12), (oY + 24)) == false){
Mario.instEffects.push(new Points((oX + 10), (oY - 5), "1000"));
Mario.layerHide.removeChild(GFX);
oX = (oX + 2);
oY = (oY + 4);
_local2 = Mario.classGFX.AccessGFX("object_lifeshroom");
GFX = new (_local2);
GFX.x = (oX - 2);
GFX.y = (oY - 4);
Mario.layerFore.addChild(GFX);
dir = (((Player.pX - oX) > 0)) ? 1 : -1;
seq = true;
};
};
if (oY > ((Mario.levelHei * 25) + 250)){
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
}
}
}//package objects
Section 310
//Loading (objects.Loading)
package objects {
import flash.events.*;
import flash.display.*;
import mx.core.*;
import flash.text.*;
import CPMStar.*;
import flash.net.*;
import flash.external.*;
import flash.utils.*;
public dynamic class Loading extends MovieClip {
public var app:Object;
public var rect:Sprite;
public var loaded:Boolean;// = false
public var txt:TextField;
private var GLOGO:Class;
public var gfx:Sprite;
public var logo:BitmapAsset;
public static var r2:Sprite;
public static var r3:Sprite;
public static var ad:Sprite = new Sprite();
public static var r1:Sprite;
public static var add:DisplayObject;
public static var locked:uint = 0;
public static var lc:LocalConnection = new LocalConnection();
public static var ts:Sprite;
public function Loading(){
var add:DisplayObject;
GLOGO = Loading_GLOGO;
rect = new Sprite();
gfx = new Sprite();
txt = new TextField();
super();
if ((((Loading.lc.domain == "www2qw.minijuegos.com")) && (!((Loading.lc.domain == "minijuegos.com"))))){
stop();
rect.graphics.beginFill(0);
rect.graphics.drawRect(0, 0, 400, 375);
rect.graphics.endFill();
txt.y = 50;
txt.textColor = 0xFFFFFF;
txt.scaleX = 1;
txt.scaleY = 1;
txt.x = 0;
txt.autoSize = TextFieldAutoSize.NONE;
txt.height = 300;
txt.width = 400;
txt.wordWrap = true;
txt.htmlText = "<p align='center'><font size='25'>This flash is illegally placed here and won't work. It can only be placed on minijuegos.com If you see this message please contact me immediately at skell@tlen.pl.</font></p>";
gfx.addChild(rect);
gfx.addChild(txt);
addChild(gfx);
return;
};
ad.graphics.beginFill(0, 0.6);
ad.graphics.drawRect(0, 0, 400, 375);
ad.graphics.endFill();
var CPMStarContentSpotID = "223Q8C3C6A7F";
add = new AdLoader(CPMStarContentSpotID);
ad.graphics.beginFill(0xEEEEEE, 1);
ad.graphics.drawRect(49, 49, 302, 252);
ad.graphics.endFill();
ad.graphics.beginFill(0, 1);
ad.graphics.drawRect(50, 50, 300, 250);
ad.graphics.endFill();
add.x = 50;
add.y = 50;
ad.addChild(add);
ts = new Sprite();
ts.graphics.beginFill(0, 1);
ts.graphics.drawRect(100, 330, 200, 32);
ts.graphics.endFill();
ts.alpha = 0;
ts.buttonMode = true;
ts.addEventListener(MouseEvent.CLICK, function ():void{
gfx.removeChild(ad);
ts.buttonMode = false;
ad.removeChild(add);
});
var tt:TextField = new TextField();
tt.htmlText = "<p align='center'><font size='25'>Click to close Ad.</font></p>";
tt.width = 200;
tt.x = 100;
tt.height = 32;
tt.background = true;
tt.backgroundColor = 0;
tt.textColor = 0xFFFFFF;
tt.autoSize = TextFieldAutoSize.NONE;
tt.y = 330;
tt.borderColor = 0xEEEEEE;
tt.border = true;
ad.addChild(tt);
ad.addChild(ts);
stop();
r1 = new Sprite();
r1.graphics.beginFill(0xFFFFFF, 0.2);
r1.graphics.drawRect(12, 131, 374, 104);
r1.graphics.endFill();
r1.buttonMode = true;
r1.alpha = 0;
r1.addEventListener(MouseEvent.CLICK, function ():void{
openWindow("http://www.minijuegos.com", "_blank");
});
r1.addEventListener(MouseEvent.MOUSE_OVER, function ():void{
r1.alpha = 1;
});
r1.addEventListener(MouseEvent.MOUSE_OUT, function ():void{
r1.alpha = 0;
});
r2 = new Sprite();
r2.graphics.beginFill(0xFFFFFF, 0.2);
r2.graphics.drawRect(12, 250, 374, 45);
r2.graphics.endFill();
r2.buttonMode = true;
r2.alpha = 0;
r2.addEventListener(MouseEvent.CLICK, clickman);
r2.addEventListener(MouseEvent.MOUSE_OVER, function ():void{
r2.alpha = 1;
});
r2.addEventListener(MouseEvent.MOUSE_OUT, function ():void{
r2.alpha = 0;
});
r3 = new Sprite();
r3.graphics.beginFill(0xFFFFFF, 0.2);
r3.graphics.drawRect(127, 327, 150, 45);
r3.graphics.endFill();
r3.buttonMode = true;
r3.alpha = 0;
r3.addEventListener(MouseEvent.CLICK, function ():void{
openWindow("http://mauft.com", "_blank");
});
r3.addEventListener(MouseEvent.MOUSE_OVER, function ():void{
r3.alpha = 1;
});
r3.addEventListener(MouseEvent.MOUSE_OUT, function ():void{
r3.alpha = 0;
});
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
addEventListener(Event.ENTER_FRAME, onEnterFrame);
logo = new GLOGO();
logo.x = (200 - (logo.width / 2));
logo.y = 0;
rect.graphics.beginFill(0);
rect.graphics.drawRect(0, 0, 400, 375);
rect.graphics.endFill();
txt.y = 260;
txt.autoSize = TextFieldAutoSize.NONE;
txt.width = 250;
gfx.addChild(rect);
gfx.addChild(logo);
gfx.addChild(txt);
addChild(gfx);
txt.textColor = 0xFFFFFF;
txt.scaleX = 1;
txt.scaleY = 1;
var percent:Number = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
txt.htmlText = (("<p align='center'><font color='#FFFFFF' size='20'>" + (Math.floor((percent * 10000)) / 100)) + "%</font></p>");
txt.x = 75;
txt.selectable = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown2);
gfx.addChild(r1);
gfx.addChild(r2);
gfx.addChild(r3);
gfx.addChild(ad);
}
private function keyDown(_arg1:KeyboardEvent):void{
if (app != null){
app.keyDown(_arg1);
};
}
private function keyUp(_arg1:KeyboardEvent):void{
if (app != null){
app.keyUp(_arg1);
};
}
public function clickman(_arg1:Event):void{
var _local2:Class;
if (loaded){
removeEventListener(Event.ENTER_FRAME, onEnterFrame);
removeChild(gfx);
gfx.removeEventListener(MouseEvent.MOUSE_DOWN, clickman);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDown2);
nextFrame();
_local2 = Class(getDefinitionByName("Mario"));
if (_local2){
app = new (_local2);
addChild((app as DisplayObject));
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);
};
};
}
private function init():void{
var _local1:LocalConnection = new LocalConnection();
txt.htmlText = "<p align='center'><font color='#FFFFFF' size='20'>Game Loaded. Click to play!</font></p>";
txt.x = 75;
loaded = true;
}
private function keyDown2(_arg1:KeyboardEvent):void{
switch (locked){
case 0:
if (_arg1.keyCode == 80){
locked = 1;
};
break;
case 1:
if (_arg1.keyCode == 53){
locked = 2;
};
break;
case 2:
if (_arg1.keyCode == 75){
locked = 3;
};
break;
case 3:
if (_arg1.keyCode == 71){
locked = 4;
};
break;
case 4:
if (_arg1.keyCode == 66){
locked = 5;
};
break;
case 5:
if (_arg1.keyCode == 49){
locked = 6;
};
break;
};
}
public function onEnterFrame(_arg1:Event):void{
var _local2:Number;
if (framesLoaded == totalFrames){
init();
} else {
_local2 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
txt.htmlText = (("<p align='center'><font color='#FFFFFF' size='20'>" + (Math.floor((_local2 * 10000)) / 100)) + "%</font></p>");
txt.x = 75;
};
}
public static function openWindow(_arg1:String, _arg2:String="", _arg3:String=""):void{
var _local4:String;
navigateToURL(new URLRequest(_arg1), _local4);
}
private static function getBrowserName():String{
var _local1:String;
var _local2:String = ExternalInterface.call("function getBrowser(){return navigator.userAgent;}");
if (((!((_local2 == null))) && ((_local2.indexOf("Firefox") >= 0)))){
_local1 = "Firefox";
} else {
if (((!((_local2 == null))) && ((_local2.indexOf("Safari") >= 0)))){
_local1 = "Safari";
} else {
if (((!((_local2 == null))) && ((_local2.indexOf("MSIE") >= 0)))){
_local1 = "IE";
} else {
if (((!((_local2 == null))) && ((_local2.indexOf("Opera") >= 0)))){
_local1 = "Opera";
} else {
_local1 = "Undefined";
};
};
};
};
return (_local1);
}
}
}//package objects
Section 311
//Loading_GLOGO (objects.Loading_GLOGO)
package objects {
import mx.core.*;
public class Loading_GLOGO extends BitmapAsset {
}
}//package objects
Section 312
//Logo2 (objects.Logo2)
package objects {
import flash.display.*;
import mx.core.*;
public class Logo2 {
public var GFX:Sprite;
public var timer:uint;
public var GFX2:BitmapAsset;
private var LOGO:Class;
public function Logo2(){
LOGO = Logo2_LOGO;
GFX = new Sprite();
super();
GFX2 = new LOGO();
GFX.graphics.beginFill(0x282828);
GFX.graphics.drawRect(0, 0, 400, 375);
GFX.graphics.endFill();
GFX2.alpha = 0;
GFX.addChild(GFX2);
}
public function Update():void{
timer++;
if (timer < 150){
GFX2.alpha = Math.min((GFX2.alpha + 0.05), 1);
} else {
GFX2.alpha = (GFX2.alpha - 0.1);
};
}
}
}//package objects
Section 313
//Logo2_LOGO (objects.Logo2_LOGO)
package objects {
import mx.core.*;
public class Logo2_LOGO extends BitmapAsset {
}
}//package objects
Section 314
//Logoobj (objects.Logoobj)
package objects {
import flash.display.*;
import mx.core.*;
public class Logoobj extends Sprite {
public var a:Number;// = 0
public var gfx:BitmapAsset;
public var black:Sprite;
public function Logoobj(){
black = new Sprite();
super();
}
public function Step():void{
}
}
}//package objects
Section 315
//MakeLevel (objects.MakeLevel)
package objects {
public function MakeLevel(_arg1:uint):void{
var _local2:int;
switch (_arg1){
case 0:
Mario.levelGenre = 0;
Mario.musika = 0;
Mario.generateBackground(0);
Mario.level[0] = " ";
Mario.level[1] = " ";
Mario.level[2] = " ";
Mario.level[3] = " ";
Mario.level[4] = " ";
Mario.level[5] = " ";
Mario.level[6] = " ";
Mario.level[7] = " ";
Mario.level[8] = " ";
Mario.level[9] = " MM ";
Mario.level[10] = " 01 01 M cdddddddde M MMM ";
Mario.level[11] = " 01 23 23 MM fggggggggh MM 01 MMMM ";
Mario.level[12] = " 23 23 23 MMM MMMMMMMMMM MMM 23 MMMMM ";
Mario.level[13] = " 23 23 23 MMMM MMMM 23 MMMMMM ";
Mario.level[14] = "cddddddddddddddddddddddddddddddddddddddddddddddde cdddddddddde cddddddddddddddddddddddddde cdddddddddddddddddddddde cdddddddddddddddddddddddddddddddddddddddddddddddde";
Mario.levelWid = Mario.level[0].length;
Mario.levelHei = Mario.level.length;
Mario.drawLevel();
Mario.Hud.Time = 320;
Player.ResetPlayer(75, 325);
Mario.instEffects.push(new Background(325, 175, "back_clouds_8", 0.57));
Mario.instEffects.push(new Background(-300, 125, "back_clouds_7", 0.5));
Mario.instEffects.push(new Background(1700, 100, "back_clouds_3", 0.43));
Mario.instEffects.push(new Background(2425, 225, "back_clouds_4", 0.5));
Mario.instEffects.push(new Background(3500, 100, "back_clouds_1", 0.4));
Mario.instEffects.push(new Background(3475, 100, "back_hill_big", 0.9));
Mario.instEffects.push(new Background(1500, 175, "back_hill_big", 0.75));
Mario.instEffects.push(new Background(100, 300, "back_hill", 0.2));
Mario.instEffects.push(new Background(1000, 300, "back_hill", 0.1));
Mario.instEffects.push(new Background(1875, 325, "back_hill", 0.05));
Mario.instEffects.push(new Cloud(325, 150));
Mario.instEffects.push(new Cloud(1000, 150));
Mario.instEffects.push(new Cloud(1475, 50));
Mario.instEffects.push(new Cloud(4125, 50));
Mario.instEffects.push(new Cloud(3875, 125));
Mario.instEffects.push(new Cloud(3575, 50));
Mario.instEffects.push(new Cloud(3150, 125));
Mario.instEffects.push(new Cloud(2650, 125));
Mario.instEffects.push(new Cloud(2825, 50));
Mario.instEffects.push(new Cloud(2350, 150));
Mario.instEffects.push(new Cloud(2275, 50));
Mario.instEffects.push(new Cloud(1925, 150));
Mario.instEffects.push(new Cloud(1100, 25));
Mario.instEffects.push(new Cloud(500, 100));
Mario.instEffects.push(new Cloud(100, 50));
Mario.layerWall.addChild(AddGraphic(3625, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(3775, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3275, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3275, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3275, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3275, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3050, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3000, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2950, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(2950, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2200, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2175, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2050, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1375, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1575, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1400, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1375, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1375, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1375, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1375, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1375, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(625, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(625, 325, "back_tree_1"));
Mario.instObjects.push(new Coin(2950, 200));
Mario.instObjects.push(new Coin(3225, 200));
Mario.instObjects.push(new Coin(3525, 175));
Mario.instObjects.push(new Coin(3475, 250));
Mario.instObjects.push(new Coin(2600, 125));
Mario.instObjects.push(new Coin(2575, 125));
Mario.instObjects.push(new Coin(2625, 150));
Mario.instObjects.push(new Coin(2550, 150));
Mario.instObjects.push(new Coin(2575, 150));
Mario.instObjects.push(new Coin(2600, 150));
Mario.instObjects.push(new Coin(2150, 200));
Mario.instObjects.push(new Coin(2075, 200));
Mario.instObjects.push(new Coin(1725, 100));
Mario.instObjects.push(new Coin(1600, 100));
Mario.instObjects.push(new Coin(1750, 100));
Mario.instObjects.push(new Coin(1775, 100));
Mario.instObjects.push(new Coin(1575, 100));
Mario.instObjects.push(new Coin(1550, 100));
Mario.instObjects.push(new Coin(1475, 175));
Mario.instObjects.push(new Coin(1675, 200));
Mario.instObjects.push(new Coin(1650, 200));
Mario.instObjects.push(new Coin(1725, 250));
Mario.instObjects.push(new Coin(1700, 225));
Mario.instObjects.push(new Coin(1625, 225));
Mario.instObjects.push(new Coin(1600, 250));
Mario.instObjects.push(new Coin(1850, 175));
Mario.layerWall.addChild(AddGraphic(125, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(125, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(125, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2250, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2250, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2250, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1925, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1925, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2450, 225, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2725, 225, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2700, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2675, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2650, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2625, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2600, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2575, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2550, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2525, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2500, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2475, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1000, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1175, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1025, 325, "back_fence_2"));
Mario.instObjects.push(new Coin(125, 250));
Mario.instObjects.push(new Coin(325, 250));
Mario.instObjects.push(new Coin(225, 250));
Mario.instBlocks.push(new Brick(150, 250));
Mario.instBlocks.push(new Brick(175, 250));
Mario.instBlocks.push(new Brick(275, 250));
Mario.instBlocks.push(new Brick(300, 250));
Mario.instBlocks.push(new Bonus(0, 225, 2, true));
Mario.instBlocks.push(new Bonus(0, 100, 4, true));
Mario.instBlocks.push(new Bonus(200, 150, 1));
Mario.instBlocks.push(new Bonus(250, 150, 1));
Mario.instBlocks.push(new Bonus(275, 150, 1));
Mario.instBlocks.push(new Bonus(175, 150, 1));
Mario.instBlocks.push(new Bonus(200, 250, 1));
Mario.instBlocks.push(new Bonus(200, 50, 1, true));
Mario.instBlocks.push(new Bonus(175, 50, 1, true));
Mario.instBlocks.push(new Bonus(250, 50, 1, true));
Mario.instBlocks.push(new Bonus(275, 50, 1, true));
Mario.instBlocks.push(new Brick(1500, 250));
Mario.instBlocks.push(new Brick(1475, 250));
Mario.instBlocks.push(new Brick(1450, 250));
Mario.instBlocks.push(new Brick(1850, 250));
Mario.instBlocks.push(new Brick(1875, 250));
Mario.instBlocks.push(new Brick(1525, 150));
Mario.instBlocks.push(new Brick(1550, 150));
Mario.instBlocks.push(new Brick(1575, 150));
Mario.instBlocks.push(new Brick(1600, 150));
Mario.instBlocks.push(new Brick(1625, 150));
Mario.instBlocks.push(new Brick(1650, 150));
Mario.instBlocks.push(new Brick(1675, 150));
Mario.instBlocks.push(new Brick(1700, 150));
Mario.instBlocks.push(new Brick(1725, 150));
Mario.instBlocks.push(new Brick(1750, 150));
Mario.instBlocks.push(new Brick(1775, 150));
Mario.instBlocks.push(new Brick(1800, 150));
Mario.instBlocks.push(new Bonus(2025, 250, 1));
Mario.instBlocks.push(new Bonus(2050, 250, 1));
Mario.instBlocks.push(new Bonus(2100, 250, 1));
Mario.instBlocks.push(new Bonus(2125, 250, 1));
Mario.instBlocks.push(new Brick(2075, 250));
Mario.instBlocks.push(new Brick(2150, 250));
Mario.instBlocks.push(new Bonus(2175, 250, 1));
Mario.instBlocks.push(new Brick(2000, 250));
Mario.instBlocks.push(new Brick(2225, 250));
Mario.instBlocks.push(new Bonus(2200, 250, 2));
Mario.instBlocks.push(new Bonus(250, 250, 2));
Mario.instBlocks.push(new BrickMulti(1825, 250));
Mario.instBlocks.push(new Brick(3225, 250));
Mario.instBlocks.push(new Brick(3250, 250));
Mario.instBlocks.push(new Bonus(2075, 125, 1, true));
Mario.instBlocks.push(new Bonus(2150, 125, 1, true));
Mario.instBlocks.push(new BrickMulti(3200, 250));
Mario.instBlocks.push(new Brick(2975, 250));
Mario.instBlocks.push(new Brick(2950, 250));
Mario.instBlocks.push(new Brick(2925, 250));
Mario.instObjects.push(new Finish(3775, 325));
Mario.instEnemies.push(new Goomba(400, 325));
Mario.instEnemies.push(new Goomba(625, 325));
Mario.instEnemies.push(new Goomba(1700, 125));
Mario.instEnemies.push(new Goomba(1625, 125));
Mario.instEnemies.push(new TroopaGreen(1950, 325));
Mario.instEnemies.push(new Goomba(2050, 325));
Mario.instEnemies.push(new Goomba(2150, 325));
Mario.instEnemies.push(new Goomba(2275, 325));
Mario.instEnemies.push(new Goomba(3325, 325));
break;
case 1:
Mario.generateBackground(1);
Mario.levelGenre = 1;
Mario.musika = 1;
Mario.level[0] = "N 23 NNNNNNNNNNNNNNNN";
Mario.level[1] = "N 23 N 23 NN 23 N";
Mario.level[2] = "N 23 N 45 45 23 N";
Mario.level[3] = "N 23 N 45 N";
Mario.level[4] = "N 23 N N";
Mario.level[5] = "N 23 N8 N";
Mario.level[6] = "N 23 Nb N";
Mario.level[7] = "N NNNN 23 N 67N";
Mario.level[8] = "N NNNN 6777NN 23 N 9aN";
Mario.level[9] = "N 9aaaNN 23 N78 N";
Mario.level[10] = "N 01 qrrrrrs qrrrrrs qrrrrrrrrrrrrs 23 Nab 01 N";
Mario.level[11] = "N NN NN 01 23 NN tuuuuuv tuuuuuv tuuuuuuuuuuuuv NN N 23 N";
Mario.level[12] = "N 01 NN NN 01 23 23 01 NNN NNNNNNN NNNNNNN tuuuuuuuuuuuuv NN N 23 N";
Mario.level[13] = "N 23 NN NN 23 23 23 N 23 N NNNN tuuuuuuuuuuuuvqrrrrrrrrrrrrrrrrrrrrrrrrs23 N NN 01 N";
Mario.level[14] = "rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrs qrrrrrrrrrrrrrrrrrrrrrrrrrrs 23 qrrrrrrrrrrrrs tuuuuuuuuuuuuvtuuuuuuuuuuuuuuuuuuuuuuuuv23 NNNNNNNNNNNNNNNN";
Mario.levelWid = Mario.level[0].length;
Mario.levelHei = Mario.level.length;
Mario.drawLevel();
Mario.Hud.Time = 320;
Player.ResetPlayer(75, 25);
Mario.instObjects.push(new Coin(5275, 150));
Mario.instObjects.push(new Coin(5275, 175));
Mario.instObjects.push(new Coin(5275, 125));
Mario.instObjects.push(new Coin(5450, 150));
Mario.instObjects.push(new Coin(5450, 175));
Mario.instObjects.push(new Coin(5450, 125));
Mario.instObjects.push(new Coin(5425, 200));
Mario.instObjects.push(new Coin(5400, 200));
Mario.instObjects.push(new Coin(5375, 200));
Mario.instObjects.push(new Coin(5350, 200));
Mario.instObjects.push(new Coin(5325, 200));
Mario.instObjects.push(new Coin(5300, 200));
Mario.instObjects.push(new Coin(5300, 175));
Mario.instObjects.push(new Coin(5300, 150));
Mario.instObjects.push(new Coin(5300, 125));
Mario.instObjects.push(new Coin(5300, 100));
Mario.instObjects.push(new Coin(5425, 175));
Mario.instObjects.push(new Coin(5425, 150));
Mario.instObjects.push(new Coin(5425, 125));
Mario.instObjects.push(new Coin(5425, 100));
Mario.instObjects.push(new Coin(5375, 175));
Mario.instObjects.push(new Coin(5400, 175));
Mario.instObjects.push(new Coin(5400, 100));
Mario.instObjects.push(new Coin(5375, 125));
Mario.instObjects.push(new Coin(5350, 125));
Mario.instObjects.push(new Coin(5350, 100));
Mario.instObjects.push(new Coin(5375, 100));
Mario.instObjects.push(new Coin(5400, 125));
Mario.instObjects.push(new Coin(5400, 150));
Mario.instObjects.push(new Coin(5375, 150));
Mario.instObjects.push(new Coin(5350, 150));
Mario.instObjects.push(new Coin(5350, 175));
Mario.instObjects.push(new Coin(5325, 175));
Mario.instObjects.push(new Coin(5325, 150));
Mario.instObjects.push(new Coin(5325, 125));
Mario.instObjects.push(new Coin(5325, 100));
Mario.instObjects.push(new Coin(725, 200));
Mario.instObjects.push(new Coin(600, 200));
Mario.instObjects.push(new Coin(400, 200));
Mario.instObjects.push(new Coin(350, 200));
Mario.instObjects.push(new Coin(325, 200));
Mario.instObjects.push(new Coin(275, 200));
Mario.instObjects.push(new Coin(1050, 125));
Mario.instObjects.push(new Coin(1150, 125));
Mario.instObjects.push(new Coin(1150, 100));
Mario.instObjects.push(new Coin(1050, 100));
Mario.instObjects.push(new Coin(1450, 125));
Mario.instObjects.push(new Coin(1425, 125));
Mario.instObjects.push(new Coin(2575, 250));
Mario.instObjects.push(new Coin(2575, 225));
Mario.instObjects.push(new Coin(2500, 250));
Mario.instObjects.push(new Coin(2500, 225));
Mario.instObjects.push(new Coin(2200, 250));
Mario.instObjects.push(new Coin(2200, 225));
Mario.instObjects.push(new Coin(2050, 250));
Mario.instObjects.push(new Coin(2000, 250));
Mario.instObjects.push(new Coin(1750, 175));
Mario.instObjects.push(new Coin(1750, 150));
Mario.instObjects.push(new Coin(1725, 150));
Mario.instObjects.push(new Coin(1725, 175));
Mario.instObjects.push(new Coin(3225, 175));
Mario.instObjects.push(new Coin(3225, 150));
Mario.instObjects.push(new Coin(2900, 150));
Mario.instObjects.push(new Coin(2900, 175));
Mario.instObjects.push(new Coin(1100, 75));
Mario.instObjects.push(new Coin(1100, 100));
Mario.instObjects.push(new Coin(1100, 125));
Mario.instObjects.push(new Coin(1175, 150));
Mario.instObjects.push(new Coin(1150, 150));
Mario.instObjects.push(new Coin(1150, 175));
Mario.instObjects.push(new Coin(1175, 175));
Mario.instObjects.push(new Coin(1050, 150));
Mario.instObjects.push(new Coin(1025, 150));
Mario.instObjects.push(new Coin(1025, 175));
Mario.instObjects.push(new Coin(1050, 175));
Mario.instBlocks.push(new Brick(200, 0));
Mario.instBlocks.push(new Brick(225, 0));
Mario.instBlocks.push(new Brick(250, 0));
Mario.instBlocks.push(new Brick(275, 0));
Mario.instBlocks.push(new Brick(300, 0));
Mario.instBlocks.push(new Brick(325, 0));
Mario.instBlocks.push(new Brick(350, 0));
Mario.instBlocks.push(new Brick(375, 0));
Mario.instBlocks.push(new Brick(400, 0));
Mario.instBlocks.push(new Brick(425, 0));
Mario.instBlocks.push(new Brick(450, 0));
Mario.instBlocks.push(new Brick(475, 0));
Mario.instBlocks.push(new Brick(500, 0));
Mario.instBlocks.push(new Brick(525, 0));
Mario.instBlocks.push(new Brick(550, 0));
Mario.instBlocks.push(new Brick(575, 0));
Mario.instBlocks.push(new Brick(600, 0));
Mario.instBlocks.push(new Brick(625, 0));
Mario.instBlocks.push(new Brick(650, 0));
Mario.instBlocks.push(new Brick(675, 0));
Mario.instBlocks.push(new Brick(700, 0));
Mario.instBlocks.push(new Brick(725, 0));
Mario.instBlocks.push(new Brick(750, 0));
Mario.instBlocks.push(new Brick(775, 0));
Mario.instBlocks.push(new Brick(800, 0));
Mario.instBlocks.push(new Brick(825, 0));
Mario.instBlocks.push(new Brick(850, 0));
Mario.instBlocks.push(new Brick(875, 0));
Mario.instBlocks.push(new Brick(900, 0));
Mario.instBlocks.push(new Brick(925, 0));
Mario.instBlocks.push(new Brick(950, 0));
Mario.instBlocks.push(new Brick(975, 0));
Mario.instBlocks.push(new Brick(1000, 0));
Mario.instBlocks.push(new Brick(1025, 0));
Mario.instBlocks.push(new Brick(1050, 0));
Mario.instBlocks.push(new Brick(1075, 0));
Mario.instBlocks.push(new Brick(1100, 0));
Mario.instBlocks.push(new Brick(1125, 0));
Mario.instBlocks.push(new Brick(1150, 0));
Mario.instBlocks.push(new Brick(1175, 0));
Mario.instBlocks.push(new Brick(1200, 0));
Mario.instBlocks.push(new Brick(1225, 0));
Mario.instBlocks.push(new Brick(1250, 0));
Mario.instBlocks.push(new Brick(1275, 0));
Mario.instBlocks.push(new Brick(1300, 0));
Mario.instBlocks.push(new Brick(1325, 0));
Mario.instBlocks.push(new Brick(1350, 0));
Mario.instBlocks.push(new Brick(1375, 0));
Mario.instBlocks.push(new Brick(1400, 0));
Mario.instBlocks.push(new Brick(1425, 0));
Mario.instBlocks.push(new Brick(1450, 0));
Mario.instBlocks.push(new Brick(1475, 0));
Mario.instBlocks.push(new Brick(1500, 0));
Mario.instBlocks.push(new Brick(1525, 0));
Mario.instBlocks.push(new Brick(1550, 0));
Mario.instBlocks.push(new Brick(1575, 0));
Mario.instBlocks.push(new Brick(1600, 0));
Mario.instBlocks.push(new Brick(1625, 0));
Mario.instBlocks.push(new Brick(1650, 0));
Mario.instBlocks.push(new Brick(1675, 0));
Mario.instBlocks.push(new Brick(1700, 0));
Mario.instBlocks.push(new Brick(1725, 0));
Mario.instBlocks.push(new Brick(1750, 0));
Mario.instBlocks.push(new Brick(1775, 0));
Mario.instBlocks.push(new Brick(1800, 0));
Mario.instBlocks.push(new Brick(1825, 0));
Mario.instBlocks.push(new Brick(1850, 0));
Mario.instBlocks.push(new Brick(1875, 0));
Mario.instBlocks.push(new Brick(1900, 0));
Mario.instBlocks.push(new Brick(1925, 0));
Mario.instBlocks.push(new Brick(1950, 0));
Mario.instBlocks.push(new Brick(1975, 0));
Mario.instBlocks.push(new Brick(2000, 0));
Mario.instBlocks.push(new Brick(2025, 0));
Mario.instBlocks.push(new Brick(2050, 0));
Mario.instBlocks.push(new Brick(2075, 0));
Mario.instBlocks.push(new Brick(2100, 0));
Mario.instBlocks.push(new Brick(2125, 0));
Mario.instBlocks.push(new Brick(2150, 0));
Mario.instBlocks.push(new Brick(2175, 0));
Mario.instBlocks.push(new Brick(2200, 0));
Mario.instBlocks.push(new Brick(2225, 0));
Mario.instBlocks.push(new Brick(2250, 0));
Mario.instBlocks.push(new Brick(2275, 0));
Mario.instBlocks.push(new Brick(2300, 0));
Mario.instBlocks.push(new Brick(2325, 0));
Mario.instBlocks.push(new Brick(2350, 0));
Mario.instBlocks.push(new Brick(2375, 0));
Mario.instBlocks.push(new Brick(2400, 0));
Mario.instBlocks.push(new Brick(2425, 0));
Mario.instBlocks.push(new Brick(2450, 0));
Mario.instBlocks.push(new Brick(2475, 0));
Mario.instBlocks.push(new Brick(2500, 0));
Mario.instBlocks.push(new Brick(2525, 0));
Mario.instBlocks.push(new Brick(2550, 0));
Mario.instBlocks.push(new Brick(2575, 0));
Mario.instBlocks.push(new Brick(2600, 0));
Mario.instBlocks.push(new Brick(2625, 0));
Mario.instBlocks.push(new Brick(2650, 0));
Mario.instBlocks.push(new Brick(2675, 0));
Mario.instBlocks.push(new Brick(2700, 0));
Mario.instBlocks.push(new Brick(2725, 0));
Mario.instBlocks.push(new Brick(2750, 0));
Mario.instBlocks.push(new Brick(2775, 0));
Mario.instBlocks.push(new Brick(2800, 0));
Mario.instBlocks.push(new Brick(2825, 0));
Mario.instBlocks.push(new Brick(2850, 0));
Mario.instBlocks.push(new Brick(2875, 0));
Mario.instBlocks.push(new Brick(2900, 0));
Mario.instBlocks.push(new Brick(2925, 0));
Mario.instBlocks.push(new Brick(2950, 0));
Mario.instBlocks.push(new Brick(2975, 0));
Mario.instBlocks.push(new Brick(3150, 0));
Mario.instBlocks.push(new Brick(3175, 0));
Mario.instBlocks.push(new Brick(3200, 0));
Mario.instBlocks.push(new Brick(3225, 0));
Mario.instBlocks.push(new Brick(3250, 0));
Mario.instBlocks.push(new Brick(3275, 0));
Mario.instBlocks.push(new Brick(3300, 0));
Mario.instBlocks.push(new Brick(3325, 0));
Mario.instBlocks.push(new Brick(3350, 0));
Mario.instBlocks.push(new Brick(3375, 0));
Mario.instBlocks.push(new Brick(3400, 0));
Mario.instBlocks.push(new Brick(3425, 0));
Mario.instBlocks.push(new Brick(3450, 0));
Mario.instBlocks.push(new Brick(3475, 0));
Mario.instBlocks.push(new Brick(3500, 0));
Mario.instBlocks.push(new Brick(3525, 0));
Mario.instBlocks.push(new Brick(3550, 0));
Mario.instBlocks.push(new Brick(3575, 0));
Mario.instBlocks.push(new Brick(3600, 0));
Mario.instBlocks.push(new Brick(3625, 0));
Mario.instBlocks.push(new Brick(3650, 0));
Mario.instBlocks.push(new Brick(3675, 0));
Mario.instBlocks.push(new Brick(1000, 50));
Mario.instBlocks.push(new Brick(1000, 75));
Mario.instBlocks.push(new Brick(1000, 100));
Mario.instBlocks.push(new Brick(1000, 125));
Mario.instBlocks.push(new Brick(1000, 150));
Mario.instBlocks.push(new Brick(1000, 175));
Mario.instBlocks.push(new Brick(1000, 200));
Mario.instBlocks.push(new Brick(1000, 225));
Mario.instBlocks.push(new Brick(1025, 225));
Mario.instBlocks.push(new Brick(1050, 225));
Mario.instBlocks.push(new Brick(1075, 225));
Mario.instBlocks.push(new Brick(1100, 225));
Mario.instBlocks.push(new Brick(1125, 225));
Mario.instBlocks.push(new Brick(1150, 225));
Mario.instBlocks.push(new Brick(1175, 225));
Mario.instBlocks.push(new Brick(1200, 225));
Mario.instBlocks.push(new Brick(1200, 200));
Mario.instBlocks.push(new Brick(1200, 175));
Mario.instBlocks.push(new Brick(1200, 125));
Mario.instBlocks.push(new Brick(1200, 100));
Mario.instBlocks.push(new Brick(1200, 75));
Mario.instBlocks.push(new Brick(1075, 150));
Mario.instBlocks.push(new Brick(1100, 150));
Mario.instBlocks.push(new Brick(1125, 150));
Mario.instBlocks.push(new Brick(1075, 125));
Mario.instBlocks.push(new Brick(1075, 100));
Mario.instBlocks.push(new Brick(1125, 125));
Mario.instBlocks.push(new Brick(1125, 100));
Mario.instBlocks.push(new Brick(1075, 75));
Mario.instBlocks.push(new Brick(1200, 50));
Mario.instBlocks.push(new BrickMulti(1075, 0));
Mario.instBlocks.push(new Brick(1300, 275));
Mario.instBlocks.push(new Brick(1300, 250));
Mario.instBlocks.push(new Brick(1325, 250));
Mario.instBlocks.push(new Brick(1325, 275));
Mario.instBlocks.push(new Brick(250, 250));
Mario.instBlocks.push(new Brick(325, 250));
Mario.instBlocks.push(new Brick(425, 250));
Mario.instBlocks.push(new Bonus(275, 250, 1));
Mario.instBlocks.push(new Bonus(300, 250, 1));
Mario.instBlocks.push(new Bonus(400, 250, 1));
Mario.instBlocks.push(new BrickMulti(650, 225));
Mario.instBlocks.push(new BrickMulti(675, 225));
Mario.instBlocks.push(new Bonus(375, 250, 2));
Mario.instBlocks.push(new Bonus(1475, 100, 5, true));
Mario.instBlocks.push(new Brick(1700, 225));
Mario.instBlocks.push(new Bonus(1700, 200, 1));
Mario.instBlocks.push(new Bonus(1725, 225, 1));
Mario.instBlocks.push(new Bonus(1750, 225, 1));
Mario.instBlocks.push(new Bonus(1775, 200, 1));
Mario.instBlocks.push(new Brick(1775, 225));
Mario.instObjects.push(new ElevatorLoop(3025, 50, 100, "elevator_4", -2));
Mario.instObjects.push(new ElevatorLoop(3025, 175, 100, "elevator_4", -2));
Mario.instObjects.push(new ElevatorLoop(3025, 300, 100, "elevator_4", -2));
Mario.instBlocks.push(new Brick(350, 250));
Mario.instBlocks.push(new Bonus(300, 150, 1, true));
Mario.instBlocks.push(new Bonus(375, 150, 1, true));
Mario.instBlocks.push(new Bonus(300, 75, 1, true));
Mario.instBlocks.push(new Bonus(375, 75, 1, true));
Mario.instEnemies.push(new TroopaGreen(675, 325));
Mario.instEnemies.push(new Goomba(425, 325));
Mario.instEnemies.push(new Goomba(375, 325));
Mario.instEnemies.push(new Goomba(325, 325));
Mario.instEnemies.push(new Goomba(1200, 325));
Mario.instEnemies.push(new Goomba(1400, 150));
Mario.instEnemies.push(new Goomba(1300, 225));
Mario.instEnemies.push(new TroopaGreen(1025, 325));
Mario.instEnemies.push(new TroopaGreen(1000, 325));
Mario.instEnemies.push(new Goomba(1850, 325));
Mario.instEnemies.push(new PPlant(1925, 250));
Mario.instEnemies.push(new PPlant(2100, 225));
Mario.instEnemies.push(new PPlant(2325, 275));
Mario.instEnemies.push(new Goomba(2700, 250));
Mario.instEnemies.push(new TroopaRed(2900, 225));
Mario.instEnemies.push(new Goomba(3250, 225));
Mario.instBlocks.push(new Bonus(3675, 50, 4, true));
Mario.instBlocks.push(new Bonus(3675, 100, 1, true));
Mario.instBlocks.push(new Brick(3700, 0));
Mario.instBlocks.push(new Brick(3725, 0));
Mario.instBlocks.push(new Bonus(5200, 50, 1, true));
Mario.instBlocks.push(new Bonus(5525, 75, 1, true));
Mario.instBlocks.push(new Bonus(5400, 275, 1, true));
Mario.instBlocks.push(new Bonus(5425, 275, 1, true));
Mario.instBlocks.push(new Bonus(5325, 275, 1, true));
Mario.instBlocks.push(new Bonus(5300, 275, 1, true));
Mario.instBlocks.push(new Bonus(5200, 300, 2, true));
Mario.instBlocks.push(new Brick(3725, 25));
Mario.instBlocks.push(new Brick(3725, 50));
Mario.instBlocks.push(new Brick(3700, 50));
Mario.instBlocks.push(new Brick(3700, 75));
Mario.instBlocks.push(new Brick(3700, 100));
Mario.instBlocks.push(new Brick(3725, 100));
Mario.instBlocks.push(new Brick(3725, 75));
Mario.instBlocks.push(new Brick(3700, 25));
Mario.instObjects.push(new Finish(3925, 300));
Mario.instBlocks.push(new BrickMulti(1125, 75));
Mario.instBlocks.push(new BrickMulti(1200, 150));
Mario.instEffects.push(new Back(1));
break;
case 2:
Mario.generateBackground(0);
Mario.levelGenre = 0;
Mario.musika = 0;
Mario.level[0] = " ";
Mario.level[1] = " ";
Mario.level[2] = " ";
Mario.level[3] = " ijlm ";
Mario.level[4] = " ijkkkkkkkkklm np ";
Mario.level[5] = " ijklm nooooooooop np ";
Mario.level[6] = " nop nooooooooop ijkkkkkklm np ijklm ijlm ";
Mario.level[7] = " nop nooooooooop noooooop np nop np ";
Mario.level[8] = " nop ijkkkklm nooooooooop noooooop np nop np ";
Mario.level[9] = " nop noooop nooooooooop noooooop np ijklm ijkkklm nop np ";
Mario.level[10] = " ijkkkklm noooop nooooooooop noooooop np nop nooop nop np ";
Mario.level[11] = " noooop noooop nooooooooop ijklm noooooop ijkkkklm np nop nooop nop np ";
Mario.level[12] = " noooop noooop nooooooooop nop noooooop noooop np nop nooop nop np ";
Mario.level[13] = "dddddddddddddddddddde noooop noooop nooooooooop nop noooooop noooop ijklm nop nooop cddddddddddddddddddddddddddddddddddddddddddddMM";
Mario.level[14] = "ggggggggggggggggggggh noooop noooop nooooooooop nop noooooop noooop nop nop nooop fgggggggggggggggggggggggggggggggggggggggggggggM";
Mario.levelWid = Mario.level[0].length;
Mario.levelHei = Mario.level.length;
Mario.drawLevel();
Mario.Hud.Time = 320;
Player.ResetPlayer(25, 300);
Mario.layerWall.addChild(AddGraphic(275, 300, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(525, 300, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(500, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(475, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(450, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(425, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(400, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(375, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(350, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(325, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(300, 300, "back_fence_2"));
Mario.instEffects.push(new Cloud(3450, 25));
Mario.instEffects.push(new Cloud(2975, 225));
Mario.instEffects.push(new Cloud(2600, 25));
Mario.instEffects.push(new Cloud(1875, 50));
Mario.instEffects.push(new Cloud(2125, 100));
Mario.instEffects.push(new Cloud(1475, 25));
Mario.instEffects.push(new Cloud(1075, 150));
Mario.instEffects.push(new Cloud(25, 50));
Mario.instEffects.push(new Cloud(575, 25));
Mario.instEffects.push(new Cloud(225, 75));
Mario.instObjects.push(new Coin(3550, 50));
Mario.instObjects.push(new Coin(3550, 75));
Mario.instObjects.push(new Coin(3050, 125));
Mario.instObjects.push(new Coin(3025, 125));
Mario.instObjects.push(new Coin(3000, 125));
Mario.instObjects.push(new Coin(2700, 125));
Mario.instObjects.push(new Coin(2675, 125));
Mario.instObjects.push(new Coin(2650, 125));
Mario.instObjects.push(new Coin(2325, 25));
Mario.instObjects.push(new Coin(2350, 25));
Mario.instObjects.push(new Coin(2400, 125));
Mario.instObjects.push(new Coin(2400, 150));
Mario.instObjects.push(new Coin(2075, 150));
Mario.instObjects.push(new Coin(2075, 125));
Mario.instObjects.push(new Coin(2000, 125));
Mario.instObjects.push(new Coin(2000, 150));
Mario.instObjects.push(new Coin(1575, 125));
Mario.instObjects.push(new Coin(1475, 125));
Mario.instObjects.push(new Coin(1325, 25));
Mario.instObjects.push(new Coin(1400, 25));
Mario.instObjects.push(new Coin(1225, 25));
Mario.instObjects.push(new Coin(1150, 25));
Mario.instObjects.push(new Coin(975, 100));
Mario.instObjects.push(new Coin(950, 100));
Mario.instObjects.push(new Coin(725, 50));
Mario.instObjects.push(new Coin(675, 50));
Mario.instObjects.push(new Finish(3900, 300));
Mario.instObjects.push(new ElevatorBounce(2650, 225, 75, "elevator_3", 1));
Mario.instBlocks.push(new Brick(600, 125));
Mario.instBlocks.push(new BrickMulti(625, 125));
Mario.instBlocks.push(new Brick(900, 100));
Mario.instBlocks.push(new Brick(1025, 100));
Mario.instBlocks.push(new Bonus(1000, 100, 1));
Mario.instBlocks.push(new Bonus(925, 100, 1));
Mario.instBlocks.push(new Bonus(25, 200, 1, true));
Mario.instBlocks.push(new Bonus(75, 200, 1, true));
Mario.instBlocks.push(new Bonus(125, 200, 1, true));
Mario.instBlocks.push(new Bonus(25, 100, 1, true));
Mario.instBlocks.push(new Bonus(75, 100, 1, true));
Mario.instBlocks.push(new Bonus(125, 100, 1, true));
Mario.instBlocks.push(new Bonus(25, 0, 2, true));
Mario.instBlocks.push(new Bonus(75, 0, 1, true));
Mario.instBlocks.push(new Bonus(125, 0, 1, true));
Mario.instBlocks.push(new Bonus(1475, 200, 1));
Mario.instBlocks.push(new Bonus(1575, 200, 2));
Mario.instBlocks.push(new Bonus(2400, 200, 1));
Mario.instObjects.push(new ElevatorFall(2225, 225, 50, "elevator_2"));
Mario.instBlocks.push(new Brick(1975, 175));
Mario.instBlocks.push(new Brick(2025, 175));
Mario.instBlocks.push(new Brick(2100, 175));
Mario.instBlocks.push(new Brick(2050, 175));
Mario.instBlocks.push(new Bonus(2000, 175, 1));
Mario.instBlocks.push(new Bonus(2075, 175, 1));
Mario.instBlocks.push(new Bonus(2800, 125, 1, true));
Mario.instBlocks.push(new Bonus(2850, 125, 1, true));
Mario.instBlocks.push(new Bonus(2900, 125, 1, true));
Mario.instBlocks.push(new Bonus(2825, 125, 1, true));
Mario.instBlocks.push(new Bonus(2875, 125, 1, true));
Mario.instBlocks.push(new BrickMulti(2575, 125));
Mario.instBlocks.push(new Brick(2550, 125));
Mario.instBlocks.push(new Brick(2525, 125));
Mario.instBlocks.push(new Brick(3125, 125));
Mario.instBlocks.push(new Brick(3175, 125));
Mario.instBlocks.push(new Brick(3225, 125));
Mario.instBlocks.push(new Bonus(3150, 125, 1));
Mario.instBlocks.push(new Bonus(3200, 125, 1));
Mario.instBlocks.push(new Bonus(2300, 0, 4, true));
Mario.instEnemies.push(new TroopaRed(1000, 175));
Mario.instEnemies.push(new Goomba(1225, 75));
Mario.instEnemies.push(new Goomba(1325, 75));
Mario.instEnemies.push(new TroopaRed(1525, 250));
Mario.instEnemies.push(new Goomba(1800, 125));
Mario.instEnemies.push(new TroopaGreen(2100, 250));
Mario.instEnemies.push(new TroopaGreen(3825, 300));
Mario.instEnemies.push(new TroopaRed(3175, 200));
Mario.instBlocks.push(new Bonus(2375, 0, 5, true));
Mario.instEffects.push(new Back(2));
break;
case 3:
Mario.levelGenre = 3;
Mario.musika = 2;
Mario.level[0] = "ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABA";
Mario.level[1] = " CD AB CD ABAB CD DCABABABABABABABABABABABABABABABABABABABABD CAB CD M";
Mario.level[2] = " AB D C CAB C ABABABABABABABABABABABABABABABABABABABAB CD C M";
Mario.level[3] = " CD CD D CABABABABABABABABABABABABABABABABABABABD D D M";
Mario.level[4] = " C D UU UU UU UU UU UU UU M";
Mario.level[5] = " UU UU UU UU UU UU UU 01 M";
Mario.level[6] = " 01 23 M";
Mario.level[7] = " EFFFG 01 23 23 M";
Mario.level[8] = "FG EKIIIJ 23 23 01 23 M";
Mario.level[9] = "ILG HIIIIJ EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFG UU UU UU UU UU UU UU EFFFFFFFFFFFFFFFFFFFFFFFFGOOOOOOOOOOOOOOOOM";
Mario.level[10] = "IILG HIIIIJ EFG EFFG HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ UU UU UU UU UU UU UU EKIIIIIIIIIIIIIIIIIIIIIIIIJ M";
Mario.level[11] = "IIILFFFFFFFG EFFG HIIIIJ EFFFKILG HIIJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ EKIIIIIIIIIIIIIIIIIIIIIIIIIJ M";
Mario.level[12] = "IIIIIIIIIIIJ HIIJ HIIIILFFFFFFFFFFKIIIIIIJ HIIJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ EKIIIIIIIIIIIIIIIIIIIIIIIIIIJ M";
Mario.level[13] = "IIIIIIIIIIIJ HIIJ HIIIIIIIIIIIIIIIIIIIIIIJ HIIJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ EKIIIIIIIIIIIIIIIIIIIIIIIIIIIJ M";
Mario.level[14] = "IIIIIIIIIIIJ HIIJ HIIIIIIIIIIIIIIIIIIIIIIJ HIIJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIILFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFKIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ M";
Mario.levelWid = Mario.level[0].length;
Mario.levelHei = Mario.level.length;
Mario.drawLevel();
Mario.Hud.Time = 320;
Player.ResetPlayer(((Mario.checkPoint == 3)) ? 3700 : 25, 150);
Mario.instObjects.push(new Coin(2375, 150));
Mario.instObjects.push(new Coin(1575, 150));
Mario.instObjects.push(new Coin(2275, 150));
Mario.instObjects.push(new Coin(2175, 150));
Mario.instObjects.push(new Coin(2075, 150));
Mario.instObjects.push(new Coin(1975, 150));
Mario.instObjects.push(new Coin(1875, 150));
Mario.instObjects.push(new Coin(1775, 150));
Mario.instObjects.push(new Coin(1675, 150));
Mario.instObjects.push(new Coin(1125, 175));
Mario.instObjects.push(new Coin(1125, 200));
Mario.instObjects.push(new Coin(675, 75));
Mario.instObjects.push(new Coin(3500, 300));
Mario.instObjects.push(new Coin(3500, 50));
Mario.instObjects.push(new Coin(2625, 50));
Mario.instObjects.push(new Coin(2625, 300));
Mario.instObjects.push(new Coin(3000, 300));
Mario.instObjects.push(new Coin(2875, 300));
Mario.instObjects.push(new Coin(2750, 300));
Mario.instObjects.push(new Coin(2625, 175));
Mario.instObjects.push(new Coin(2750, 50));
Mario.instObjects.push(new Coin(2875, 50));
Mario.instObjects.push(new Coin(3000, 50));
Mario.instObjects.push(new Coin(3500, 175));
Mario.instObjects.push(new Coin(3375, 300));
Mario.instObjects.push(new Coin(3375, 50));
Mario.instObjects.push(new Coin(3250, 50));
Mario.instObjects.push(new Coin(3250, 300));
Mario.instObjects.push(new Coin(3125, 300));
Mario.instObjects.push(new Coin(3125, 50));
Mario.instObjects.push(new Coin(3375, 175));
Mario.instObjects.push(new Coin(3250, 175));
Mario.instObjects.push(new Coin(3125, 175));
Mario.instObjects.push(new Coin(3000, 175));
Mario.instObjects.push(new Coin(2875, 175));
Mario.instObjects.push(new Coin(2750, 175));
Mario.instBlocks.push(new Brick(425, 150));
Mario.instBlocks.push(new Bonus(450, 150, 1));
Mario.instBlocks.push(new Brick(825, 175));
Mario.instBlocks.push(new Brick(875, 175));
Mario.instBlocks.push(new Brick(925, 175));
Mario.instBlocks.push(new Bonus(900, 175, 1));
Mario.instBlocks.push(new Bonus(1300, 150, 2));
Mario.instBlocks.push(new Brick(1325, 150));
Mario.instBlocks.push(new Bonus(850, 175, 0));
Mario.instEnemies.push(new PPlant(3775, 150));
Mario.instEnemies.push(new PPlant(3900, 125));
Mario.instEnemies.push(new PPlant(4025, 175));
Mario.instEnemies.push(new PPlant(4150, 100));
Mario.instEnemies.push(new JumperThrower(537, 350, -10, 0, 150, 1, 0));
Mario.instEnemies.push(new JumperThrower(1225, 350, -11, 0, 200, 1, 0));
Mario.instEnemies.push(new JumperThrower(1425, 350, -11, 0, 180, 1, 0));
Mario.instBlocks.push(new Bonus(4250, 75, 4, true));
Mario.instBlocks.push(new Bonus(650, 75, 0));
Mario.instBlocks.push(new Bonus(700, 75, 0));
Mario.instBlocks.push(new Bonus(1125, 125, 0));
Mario.instObjects.push(new Mill(1600, 100, 100, 2));
Mario.instObjects.push(new Mill(1800, 200, 90, 3));
6;
Mario.instObjects.push(new Mill(2450, 200, 120, 3));
Mario.instObjects.push(new Mill(2825, 200, 145, 3));
Mario.instObjects.push(new Mill(3100, 100, 160, 1));
Mario.instObjects.push(new Mill(3450, 200, 125, 3));
Mario.instEffects.push(new Back(3));
Mario.instEnemies.push(new Bowser((180 * 25), 175, (174 * 25), 3, 10, 0, 0, 0));
break;
case 4:
(Mario.levelGenre = 0);
(Mario.musika = 0);
Mario.generateBackground(0);
(Mario.level[0] = " ");
(Mario.level[1] = " ");
(Mario.level[2] = " ");
(Mario.level[3] = " ");
(Mario.level[4] = " ");
(Mario.level[5] = " ");
(Mario.level[6] = " ");
(Mario.level[7] = " ");
(Mario.level[8] = " MM ");
(Mario.level[9] = " MM ");
(Mario.level[10] = " M 01 01 MM MM ");
(Mario.level[11] = " MM 23 23 M M MM MM ");
(Mario.level[12] = " MMM 23 01 23 M M 01 01 MM MM MM ");
(Mario.level[13] = " MMMM 23 23 23 M M 23 23 MM MM MM ");
(Mario.level[14] = "ddddddddddddddddddddddddddddddddddddddddddddddddddddddddde cddddddddddde cdddddde cdddddddddddddde cdddddddddddddde cddddddddddddddddddde ce cddddddddddddddddddddddddddddd");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
Player.ResetPlayer(75, 325);
(Mario.Hud.Time = 320);
Mario.instEffects.push(new Background(-1000, 175, "back_forest_4", 0.95));
Mario.instEffects.push(new Background(1150, 125, "back_clouds_2", 0.72));
Mario.instEffects.push(new Background(3825, 275, "back_forest_3", 0.7));
Mario.instEffects.push(new Background(2775, 150, "back_clouds_1", 0.6));
Mario.instEffects.push(new Background(1275, 250, "back_forest_3", 0.55));
Mario.instEffects.push(new Background(2025, 225, "back_forest_1", 0.5));
Mario.instEffects.push(new Background(4050, 150, "back_clouds_3", 0.4));
Mario.instEffects.push(new Cloud(5000, 75));
Mario.instEffects.push(new Cloud(4850, 175));
Mario.instEffects.push(new Cloud(4650, 75));
Mario.instEffects.push(new Cloud(4475, 150));
Mario.instEffects.push(new Cloud(4175, 100));
Mario.instEffects.push(new Cloud(3975, 50));
Mario.instEffects.push(new Cloud(3800, 150));
Mario.instEffects.push(new Cloud(3525, 75));
Mario.instEffects.push(new Cloud(3125, 150));
Mario.instEffects.push(new Cloud(2825, 50));
Mario.instEffects.push(new Cloud(2675, 125));
Mario.instEffects.push(new Cloud(2325, 100));
Mario.instEffects.push(new Cloud(1925, 50));
Mario.instEffects.push(new Cloud(1750, 150));
Mario.instEffects.push(new Cloud(1375, 100));
Mario.instEffects.push(new Cloud(1200, 25));
Mario.instEffects.push(new Cloud(950, 100));
Mario.instEffects.push(new Cloud(600, 50));
Mario.instEffects.push(new Cloud(275, 150));
Mario.instEffects.push(new Cloud(75, 75));
Mario.layerWall.addChild(AddGraphic(5125, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(4950, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4600, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(4825, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(4800, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4625, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4525, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(4525, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4550, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4550, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(4550, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(4550, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(4500, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(4500, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4500, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4450, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(4450, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(4450, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4125, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(4125, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3925, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3800, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(3900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3875, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3850, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3825, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3400, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(3475, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2300, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(2300, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2350, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2400, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2375, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2175, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2225, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2200, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1975, 100, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(2050, 100, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(2050, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2050, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2050, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2050, 150, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2050, 125, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1975, 125, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1975, 150, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1975, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1975, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1975, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2050, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1975, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1975, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2050, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2050, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1975, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2050, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1975, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1750, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1550, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1625, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1300, 200, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1300, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1300, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1300, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1300, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1300, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(75, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(100, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(75, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(75, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(100, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(100, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(75, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(75, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1000, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(975, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(975, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1175, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(625, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(425, 325, "back_fence_2"));
Mario.instObjects.push(new Coin(4175, 250));
Mario.instObjects.push(new Coin(4200, 250));
Mario.instObjects.push(new Coin(4275, 200));
Mario.instObjects.push(new Coin(4300, 200));
Mario.instObjects.push(new Coin(4400, 150));
Mario.instObjects.push(new Coin(4375, 150));
Mario.instObjects.push(new Coin(3350, 175));
Mario.instObjects.push(new Coin(3325, 175));
Mario.instObjects.push(new Coin(3300, 175));
Mario.instObjects.push(new Coin(3200, 150));
Mario.instObjects.push(new Coin(3200, 125));
Mario.instObjects.push(new Coin(3200, 25));
Mario.instObjects.push(new Coin(3200, 50));
Mario.instObjects.push(new Coin(3200, 100));
Mario.instObjects.push(new Coin(3200, 75));
Mario.instObjects.push(new Coin(2375, 200));
Mario.instObjects.push(new Coin(1950, 300));
Mario.instObjects.push(new Coin(2350, 200));
Mario.instObjects.push(new Coin(2325, 200));
Mario.instObjects.push(new Coin(2075, 300));
Mario.instObjects.push(new Coin(2050, 300));
Mario.instObjects.push(new Coin(2025, 300));
Mario.instObjects.push(new Coin(2000, 300));
Mario.instObjects.push(new Coin(1975, 300));
Mario.instObjects.push(new Coin(1575, 150));
Mario.instObjects.push(new Coin(1575, 125));
Mario.instObjects.push(new Coin(1575, 100));
Mario.instObjects.push(new Coin(1575, 50));
Mario.instObjects.push(new Coin(1575, 75));
Mario.instObjects.push(new Coin(1550, 125));
Mario.instObjects.push(new Coin(1550, 100));
Mario.instObjects.push(new Coin(1550, 75));
Mario.instObjects.push(new Coin(1550, 50));
Mario.instObjects.push(new Coin(1550, 150));
Mario.instObjects.push(new Coin(1075, 175));
Mario.instObjects.push(new Coin(1050, 175));
Mario.instObjects.push(new Coin(1025, 175));
Mario.instObjects.push(new Coin(800, 250));
Mario.instObjects.push(new Coin(725, 250));
Mario.instObjects.push(new Coin(650, 250));
Mario.instObjects.push(new Coin(575, 250));
Mario.instObjects.push(new Coin(500, 250));
Mario.instObjects.push(new Coin(400, 200));
Mario.instObjects.push(new Coin(375, 225));
Mario.instObjects.push(new Coin(350, 250));
Mario.instObjects.push(new Coin(325, 275));
Mario.instObjects.push(new ElevatorFall(2625, 275, 75, "elevator_3"));
Mario.instObjects.push(new ElevatorFall(2775, 275, 75, "elevator_3"));
Mario.instObjects.push(new ElevatorFall(2925, 275, 75, "elevator_3"));
Mario.instObjects.push(new ElevatorFall(3075, 275, 75, "elevator_3"));
Mario.instEnemies.push(new PPlant(925, 225));
Mario.instEnemies.push(new PPlant(1200, 275));
Mario.instEnemies.push(new PPlant(2225, 225));
Mario.instEnemies.push(new PPlant(3750, 275));
Mario.instEnemies.push(new PPlant(3500, 275));
Mario.instBlocks.push(new Brick(125, 250));
Mario.instBlocks.push(new Brick(175, 250));
Mario.instBlocks.push(new Brick(200, 250));
Mario.instBlocks.push(new Brick(250, 250));
Mario.instBlocks.push(new Brick(550, 125));
Mario.instBlocks.push(new Brick(575, 125));
Mario.instBlocks.push(new Brick(600, 125));
Mario.instBlocks.push(new Brick(625, 125));
Mario.instBlocks.push(new Brick(650, 125));
Mario.instBlocks.push(new Brick(700, 125));
Mario.instBlocks.push(new Brick(725, 125));
Mario.instBlocks.push(new Brick(750, 125));
Mario.instBlocks.push(new Brick(775, 125));
Mario.instBlocks.push(new Brick(800, 125));
Mario.instBlocks.push(new Brick(825, 125));
Mario.instBlocks.push(new Brick(850, 125));
Mario.instBlocks.push(new Brick(525, 125));
Mario.instBlocks.push(new Brick(500, 125));
Mario.instBlocks.push(new Brick(450, 125));
Mario.instBlocks.push(new Brick(1025, 225));
Mario.instBlocks.push(new Brick(1050, 225));
Mario.instBlocks.push(new Brick(1400, 250));
Mario.instBlocks.push(new Brick(1550, 250));
Mario.instBlocks.push(new Brick(1575, 250));
Mario.instBlocks.push(new Brick(1675, 250));
Mario.instBlocks.push(new Brick(1750, 250));
Mario.instBlocks.push(new Brick(3300, 225));
Mario.instBlocks.push(new Brick(3350, 225));
Mario.instBlocks.push(new Brick(3900, 225));
Mario.instBlocks.push(new Brick(3925, 225));
Mario.instBlocks.push(new Brick(3975, 225));
Mario.instBlocks.push(new Brick(4000, 225));
Mario.instBlocks.push(new Brick(4025, 225));
Mario.instBlocks.push(new Brick(4075, 225));
Mario.instBlocks.push(new Bonus(275, 250, 1));
Mario.instBlocks.push(new Bonus(225, 250, 1));
Mario.instBlocks.push(new Bonus(150, 250, 1));
Mario.instBlocks.push(new Bonus(475, 125, 1));
Mario.instBlocks.push(new Bonus(675, 125, 1));
Mario.instBlocks.push(new Bonus(1075, 225, 1));
Mario.instBlocks.push(new Bonus(1425, 250, 1));
Mario.instBlocks.push(new Bonus(1700, 250, 1));
Mario.instBlocks.push(new Bonus(1725, 250, 1));
Mario.instBlocks.push(new Bonus(2325, 250, 1));
Mario.instBlocks.push(new Bonus(2375, 250, 1));
Mario.instBlocks.push(new Bonus(2550, 175, 5, true));
Mario.instBlocks.push(new Bonus(3200, 175, 3, true));
Mario.instBlocks.push(new Bonus(3950, 225, 1));
Mario.instBlocks.push(new Bonus(4050, 225, 1));
Mario.instBlocks.push(new Bonus(4125, 225, 1));
Mario.instBlocks.push(new Bonus(3875, 225, 1));
Mario.instBlocks.push(new Bonus(875, 125, 2));
Mario.instBlocks.push(new Bonus(1425, 150, 1, true));
Mario.instBlocks.push(new Bonus(1425, 50, 1, true));
Mario.instBlocks.push(new Bonus(1975, 250, 1, true));
Mario.instBlocks.push(new Bonus(2000, 250, 1, true));
Mario.instBlocks.push(new Bonus(2025, 250, 1, true));
Mario.instBlocks.push(new Bonus(2050, 250, 1, true));
Mario.instBlocks.push(new Bonus(1975, 150, 1, true));
Mario.instBlocks.push(new Bonus(2050, 150, 1, true));
Mario.instBlocks.push(new Bonus(2025, 150, 1, true));
Mario.instBlocks.push(new Bonus(2000, 150, 1, true));
Mario.instBlocks.push(new Bonus(1975, 50, 1, true));
Mario.instBlocks.push(new Bonus(2025, 50, 1, true));
Mario.instBlocks.push(new Bonus(2050, 50, 1, true));
Mario.instBlocks.push(new Bonus(2000, 50, 4, true));
Mario.instBlocks.push(new BrickMulti(3325, 225));
Mario.instBlocks.push(new BrickMulti(4100, 225));
Mario.instBlocks.push(new BrickMulti(2350, 250));
Mario.instObjects.push(new Finish(4575, 325));
Mario.instEnemies.push(new Goomba(400, 225));
Mario.instEnemies.push(new Goomba(350, 275));
Mario.instEnemies.push(new FlyGreen(850, 300));
Mario.instEnemies.push(new FlyGreen(700, 300));
Mario.instEnemies.push(new FlyRed(1475, 225));
Mario.instEnemies.push(new Goomba(625, 100));
Mario.instEnemies.push(new Goomba(700, 100));
Mario.instEnemies.push(new Goomba(1700, 325));
Mario.instEnemies.push(new Goomba(1750, 325));
Mario.instEnemies.push(new TroopaRed(1625, 325));
Mario.instEnemies.push(new Goomba(2550, 250));
Mario.instEnemies.push(new TroopaGreen(3325, 325));
Mario.instEnemies.push(new Goomba(3425, 325));
Mario.instEnemies.push(new Goomba(4175, 275));
Mario.instEnemies.push(new Goomba(4125, 325));
Mario.instEnemies.push(new TroopaGreen(4075, 325));
break;
case 5:
(Mario.levelGenre = 0);
(Mario.musika = 0);
Mario.generateBackground(0);
(Mario.level[0] = " ");
(Mario.level[1] = " MM ");
(Mario.level[2] = " 23 ");
(Mario.level[3] = " 45 ");
(Mario.level[4] = " MQQQQQQQQQQQQQQQM ");
(Mario.level[5] = " ");
(Mario.level[6] = " ijkkkkkkkkkkkkkkkkkkkkkklm MQM ");
(Mario.level[7] = " noooooooooooooooooooooop ");
(Mario.level[8] = " MQQQQQQQQQQQQQQQM noooooooooooooooooooooop MQM ");
(Mario.level[9] = " noooooooooooooooooooooop MQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQM MQQQQQQQQQQQQQQQQQQM ");
(Mario.level[10] = " 01 MQQQQQQQQQQQQQQQQQQQQQQQQM noooooooooooooooooooooop MQQM MQQM 01 ");
(Mario.level[11] = " 23 noooooooooooooooooooooop MQM MQM MQM 01 cddddddddddddddddddddddd 23 ");
(Mario.level[12] = "ijkkkklm MQQQQQQM noooooooooooooooooooooop 23 fggggggggggggggggggggggg ijkkkklm ");
(Mario.level[13] = " noooop noooooooooooooooooooooop MM fggggggggggggggggggggggg noooop ");
(Mario.level[14] = " noooop noooooooooooooooooooooop fggggggggggggggggggggggg noooop ");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(25, 125);
Mario.layerWall.addChild(AddGraphic(6150, 250, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6125, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6100, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6075, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6050, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6025, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6000, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5975, 250, "back_fence_1"));
Mario.instEffects.push(new Background(1700, 25, "back_clouds_2", 0.32));
Mario.instEffects.push(new Background(5775, 75, "back_clouds_3", 0.18));
Mario.instEffects.push(new Background(3800, 75, "back_clouds_1", 0.05));
Mario.instEffects.push(new Cloud(5225, 175));
Mario.instEffects.push(new Cloud(4100, 25));
Mario.instEffects.push(new Cloud(2600, 100));
Mario.instEffects.push(new Cloud(1525, 25));
Mario.instEffects.push(new Cloud(200, 125));
Mario.instObjects.push(new Coin(5500, 50));
Mario.instObjects.push(new Coin(5350, 50));
Mario.instObjects.push(new Coin(5175, 50));
Mario.instObjects.push(new Coin(4875, 0));
Mario.instObjects.push(new Coin(4850, 0));
Mario.instObjects.push(new Coin(4650, 125));
Mario.instObjects.push(new Coin(4675, 100));
Mario.instObjects.push(new Coin(4625, 100));
Mario.instObjects.push(new Coin(3550, 25));
Mario.instObjects.push(new Coin(3150, 175));
Mario.instObjects.push(new Coin(3025, 175));
Mario.instObjects.push(new Coin(2900, 175));
Mario.instObjects.push(new Coin(2050, 50));
Mario.instObjects.push(new Coin(2250, 50));
Mario.instObjects.push(new Coin(2075, 50));
Mario.instObjects.push(new Coin(2025, 50));
Mario.instObjects.push(new Coin(1850, 50));
Mario.instObjects.push(new Coin(1650, 125));
Mario.instObjects.push(new Coin(1525, 125));
Mario.instObjects.push(new Coin(1650, 150));
Mario.instObjects.push(new Coin(1525, 150));
Mario.instObjects.push(new Coin(1525, 175));
Mario.instObjects.push(new Coin(1650, 175));
Mario.instObjects.push(new Coin(1300, 125));
Mario.instObjects.push(new Coin(1325, 125));
Mario.instObjects.push(new Coin(1050, 125));
Mario.instObjects.push(new Coin(1025, 125));
Mario.instObjects.push(new Coin(725, 125));
Mario.instObjects.push(new Coin(650, 125));
Mario.instObjects.push(new Coin(475, 125));
Mario.instObjects.push(new Coin(400, 125));
Mario.layerWall.addChild(AddGraphic(5575, 250, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5650, 250, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(5625, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5600, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5925, 200, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(5925, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5925, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5725, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5725, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5725, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(5725, 175, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(5800, 200, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(5800, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(5800, 250, "back_tree_1"));
Mario.instObjects.push(new ElevatorFall(2050, 325, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(1975, 325, 25, "elevator_1"));
Mario.instBlocks.push(new Bonus(2000, 225, 4));
Mario.instBlocks.push(new Bonus(2025, 225, 2));
Mario.instObjects.push(new ElevatorFall(1775, 325, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(1875, 325, 25, "elevator_1"));
Mario.instObjects.push(new Finish(5700, 250));
Mario.instBlocks.push(new Brick(500, 150));
Mario.instBlocks.push(new Brick(625, 150));
Mario.instBlocks.push(new Brick(750, 150));
Mario.instBlocks.push(new Brick(1150, 75));
Mario.instBlocks.push(new Brick(1200, 75));
Mario.instBlocks.push(new Brick(3525, 100));
Mario.instBlocks.push(new Brick(3550, 100));
Mario.instBlocks.push(new Brick(2150, 50));
Mario.instBlocks.push(new Brick(1950, 50));
Mario.instBlocks.push(new Brick(1925, 50));
Mario.instBlocks.push(new Brick(4025, 100));
Mario.instBlocks.push(new Brick(4000, 100));
Mario.instBlocks.push(new Brick(4350, 100));
Mario.instBlocks.push(new Brick(4375, 100));
Mario.instBlocks.push(new Bonus(450, 150, 1));
Mario.instBlocks.push(new Bonus(425, 150, 1));
Mario.instBlocks.push(new Bonus(700, 150, 1));
Mario.instBlocks.push(new Bonus(825, 150, 1));
Mario.instBlocks.push(new Bonus(300, 150, 1));
Mario.instBlocks.push(new Bonus(675, 150, 2));
Mario.instBlocks.push(new Bonus(1100, 75, 1));
Mario.instBlocks.push(new Bonus(1250, 75, 1));
Mario.instBlocks.push(new Bonus(1575, 200, 1));
Mario.instBlocks.push(new Bonus(1600, 200, 1));
Mario.instBlocks.push(new Bonus(1975, 50, 1, true));
Mario.instBlocks.push(new Bonus(1900, 50, 1, true));
Mario.instBlocks.push(new Bonus(2125, 50, 1, true));
Mario.instBlocks.push(new Bonus(2200, 50, 1, true));
Mario.instBlocks.push(new BrickMulti(2175, 50));
Mario.instBlocks.push(new BrickMulti(1175, 75));
Mario.instBlocks.push(new BrickMulti(375, 150));
Mario.instBlocks.push(new BrickMulti(3575, 100));
Mario.instBlocks.push(new Bonus(3625, 100, 1));
Mario.instBlocks.push(new Bonus(3650, 100, 1));
Mario.instBlocks.push(new Bonus(3950, 100, 1));
Mario.instBlocks.push(new Bonus(3925, 100, 1));
Mario.instBlocks.push(new Bonus(3475, 100, 1));
Mario.instBlocks.push(new Bonus(3450, 100, 1));
Mario.instBlocks.push(new Bonus(4425, 100, 1));
Mario.instBlocks.push(new Bonus(4450, 100, 1));
Mario.instBlocks.push(new Bonus(4625, 125, 1));
Mario.instBlocks.push(new Bonus(4675, 125, 1));
Mario.instBlocks.push(new Bonus(4650, 100, 3, true));
Mario.instBlocks.push(new Bonus(4900, 75, 5, true));
Mario.instEnemies.push(new Goomba(625, 225));
Mario.instEnemies.push(new Goomba(725, 225));
Mario.instEnemies.push(new Goomba(825, 225));
Mario.instEnemies.push(new TroopaRed(575, 225));
Mario.instEnemies.push(new FlyRed(925, 100));
Mario.instEnemies.push(new FlyRed(2825, 100));
Mario.instEnemies.push(new FlyRed(4150, 150));
Mario.instEnemies.push(new FlyRed(4225, 75));
Mario.instEnemies.push(new FlyGreen(1225, 175));
Mario.instEnemies.push(new Spiny(2050, 125));
Mario.instEnemies.push(new Goomba(2000, 125));
Mario.instEnemies.push(new Goomba(2100, 125));
Mario.instEnemies.push(new Goomba(3775, 200));
Mario.instEnemies.push(new Goomba(3525, 200));
Mario.instEnemies.push(new Goomba(4550, 200));
Mario.instEnemies.push(new Goomba(4600, 200));
Mario.instEnemies.push(new Spiny(5325, 75));
Mario.instEnemies.push(new Spiny(5375, 75));
Mario.instBlocks.push(new Bonus(7175, 150, 4, true));
Mario.instBlocks.push(new Bonus(7025, 150, 1, true));
Mario.instBlocks.push(new Bonus(7025, 50, 2, true));
Mario.instEffects.push(new Back(2));
break;
case 6:
(Mario.levelGenre = 0);
(Mario.musika = 0);
Mario.generateBackground(0);
(Mario.level[0] = " MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM ");
(Mario.level[1] = " 23 23 23 23 23 23 ");
(Mario.level[2] = " 23 23 23 23 45 23 ");
(Mario.level[3] = " 23 23 23 23 23 ");
(Mario.level[4] = " 45 23 23 45 23 ");
(Mario.level[5] = " cddde cdddeQQQcddde 23 45 23 ");
(Mario.level[6] = " fgggh fgggh fgggh 23 23 cddde ");
(Mario.level[7] = " fgggh fgggh fgggh 23 45 fgggh ");
(Mario.level[8] = " cddde fgggh cdddeQQQfgggh fgggh 01 45 01 cdddeQQQfgggh ");
(Mario.level[9] = " cddde fgggh fgggh cddde fgggh fgggh fgggh 23 23 fgggh fgggh ");
(Mario.level[10] = " fgggh fgggh fgggh fgggh cdddeQQQcdddeQQQfgggh fgggh fgggh 23 01 23 01 fgggh fgggh ");
(Mario.level[11] = " fgggh cddde fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh M23M 23 23 23 fgggh fgggh ");
(Mario.level[12] = "ddddddde fgggh fgggh fgggh fgggh cddde fgggh fgggh fgggh fgggh fgggh fgggh ijkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkklmQQQfgggh fgggh cdddddddddddddddddddddddddddddddddd");
(Mario.level[13] = "gggggggh fgggh cddde fgggh fgggh fgggh fgggh fgggh cddde fgggh fgggh fgggh fgggh fgggh nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooop fgggh fgggh fgggggggggggggggggggggggggggggggggg");
(Mario.level[14] = "gggggggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh fgggh nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooop fgggh fgggh fgggggggggggggggggggggggggggggggggg");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(25, 275);
Mario.instEffects.push(new Background(25, 25, "back_hill_big", 0.8));
Mario.instEffects.push(new Background(825, 150, "back_clouds_8", 0.69));
Mario.instEffects.push(new Background(4950, 200, "back_clouds_4", 0.67));
Mario.instEffects.push(new Background(2125, 175, "back_clouds_4", 0.61));
Mario.instEffects.push(new Background(3300, 275, "back_hill", 0.43));
Mario.instEffects.push(new Background(4050, 150, "back_clouds_1", 0.25));
Mario.instEffects.push(new Background(1775, 100, "back_clouds_2", 0.17));
Mario.instEffects.push(new Background(3225, 50, "back_clouds_2", 0.12));
Mario.instEffects.push(new Cloud(5975, 50));
Mario.instEffects.push(new Cloud(5650, 100));
Mario.instEffects.push(new Cloud(5200, 0));
Mario.instEffects.push(new Cloud(4825, 75));
Mario.instEffects.push(new Cloud(4375, 150));
Mario.instEffects.push(new Cloud(3575, 50));
Mario.instEffects.push(new Cloud(2875, 150));
Mario.instEffects.push(new Cloud(2425, 25));
Mario.instEffects.push(new Cloud(2000, 125));
Mario.instEffects.push(new Cloud(1650, 50));
Mario.instEffects.push(new Cloud(1250, 125));
Mario.instEffects.push(new Cloud(1000, 25));
Mario.instEffects.push(new Cloud(675, 0));
Mario.instEffects.push(new Cloud(425, 125));
Mario.instEffects.push(new Cloud(25, 25));
Mario.layerWall.addChild(AddGraphic(6025, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6000, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5975, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5950, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5925, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5900, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5875, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5850, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5825, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5800, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5775, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5750, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5725, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5700, 275, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5675, 175, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(5675, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5675, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5675, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(5675, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5375, 75, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(5300, 100, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(5375, 100, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5375, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5300, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5125, 175, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5150, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5175, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5200, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5225, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5250, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2475, 100, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2675, 100, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2650, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2625, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2600, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2575, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2550, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2525, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2500, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2450, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2425, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2400, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2375, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2350, 175, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1875, 225, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2250, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2225, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2200, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2175, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2150, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2125, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2100, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2075, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1975, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1950, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1925, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1900, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2050, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2025, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2000, 225, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1575, 175, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1575, 200, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1500, 150, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1500, 175, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1500, 200, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1400, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1350, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1375, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1275, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1300, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1325, 275, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1250, 275, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1150, 100, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1200, 100, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1175, 100, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(925, 175, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1000, 175, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(950, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(975, 175, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(700, 225, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(700, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(450, 300, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(600, 300, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(575, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(550, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(525, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(500, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(475, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(150, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(25, 275, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(50, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(75, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(100, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(125, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(175, 150, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(175, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(175, 200, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(175, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(175, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(175, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(150, 175, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(150, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(150, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(150, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(150, 275, "back_tree_1"));
Mario.instObjects.push(new Coin(4050, 200));
Mario.instObjects.push(new Coin(4150, 200));
Mario.instObjects.push(new Coin(4250, 200));
Mario.instObjects.push(new Coin(4850, 200));
Mario.instObjects.push(new Coin(4750, 200));
Mario.instObjects.push(new Coin(4650, 200));
Mario.instObjects.push(new Coin(4550, 200));
Mario.instObjects.push(new Coin(4450, 200));
Mario.instObjects.push(new Coin(4350, 200));
Mario.instObjects.push(new Coin(2725, 75));
Mario.instObjects.push(new Coin(2525, 75));
Mario.instObjects.push(new Coin(2325, 150));
Mario.instObjects.push(new Coin(2125, 200));
Mario.instObjects.push(new Coin(1925, 200));
Mario.instObjects.push(new Coin(1725, 275));
Mario.instObjects.push(new Coin(1525, 175));
Mario.instObjects.push(new Coin(1325, 250));
Mario.instObjects.push(new Coin(1125, 75));
Mario.instObjects.push(new Coin(925, 150));
Mario.instObjects.push(new Coin(725, 225));
Mario.instObjects.push(new Coin(525, 275));
Mario.instObjects.push(new Coin(325, 175));
Mario.instBlocks.push(new Brick(300, 100));
Mario.instBlocks.push(new Brick(350, 100));
Mario.instBlocks.push(new Brick(500, 200));
Mario.instBlocks.push(new Brick(550, 200));
Mario.instBlocks.push(new Brick(700, 150));
Mario.instBlocks.push(new Brick(750, 150));
Mario.instBlocks.push(new Brick(900, 75));
Mario.instBlocks.push(new Brick(950, 75));
Mario.instBlocks.push(new Brick(1100, 0));
Mario.instBlocks.push(new Brick(1150, 0));
Mario.instBlocks.push(new Brick(1300, 175));
Mario.instBlocks.push(new Brick(1350, 175));
Mario.instBlocks.push(new Brick(1500, 100));
Mario.instBlocks.push(new Brick(1550, 100));
Mario.instBlocks.push(new Brick(1700, 200));
Mario.instBlocks.push(new Brick(1750, 200));
Mario.instBlocks.push(new Brick(1900, 125));
Mario.instBlocks.push(new Brick(1950, 125));
Mario.instBlocks.push(new Brick(2100, 125));
Mario.instBlocks.push(new Brick(2150, 125));
Mario.instBlocks.push(new Brick(2300, 75));
Mario.instBlocks.push(new Brick(2350, 75));
Mario.instBlocks.push(new Brick(2500, 0));
Mario.instBlocks.push(new Brick(2550, 0));
Mario.instBlocks.push(new Brick(2700, 0));
Mario.instBlocks.push(new Brick(2750, 0));
Mario.instBlocks.push(new Brick(5100, 75));
Mario.instBlocks.push(new Brick(5150, 75));
Mario.instBlocks.push(new Brick(5300, 25));
Mario.instBlocks.push(new Brick(5350, 25));
Mario.instBlocks.push(new Bonus(325, 100, 1));
Mario.instBlocks.push(new Bonus(525, 200, 1));
Mario.instBlocks.push(new Bonus(725, 150, 1));
Mario.instBlocks.push(new Bonus(925, 75, 1));
Mario.instBlocks.push(new Bonus(1125, 0, 1));
Mario.instBlocks.push(new Bonus(1325, 175, 1));
Mario.instBlocks.push(new Bonus(1525, 100, 1));
Mario.instBlocks.push(new Bonus(1725, 200, 1));
Mario.instBlocks.push(new Bonus(1925, 125, 1));
Mario.instBlocks.push(new Bonus(2125, 125, 1));
Mario.instBlocks.push(new Bonus(2325, 75, 1));
Mario.instBlocks.push(new Bonus(2525, 0, 1));
Mario.instBlocks.push(new Bonus(2725, 0, 1));
Mario.instBlocks.push(new Bonus(5325, 25, 1));
Mario.instBlocks.push(new Bonus(5125, 75, 2));
Mario.instBlocks.push(new Bonus(1700, 100, 1, true));
Mario.instBlocks.push(new Bonus(1725, 100, 1, true));
Mario.instBlocks.push(new Bonus(1300, 75, 1, true));
Mario.instBlocks.push(new Bonus(1325, 75, 1, true));
Mario.instBlocks.push(new Bonus(1350, 75, 1, true));
Mario.instBlocks.push(new Bonus(1500, 0, 1, true));
Mario.instBlocks.push(new Bonus(1525, 0, 1, true));
Mario.instBlocks.push(new Bonus(1550, 0, 1, true));
Mario.instBlocks.push(new Bonus(500, 100, 1, true));
Mario.instBlocks.push(new Bonus(525, 100, 1, true));
Mario.instBlocks.push(new Bonus(550, 100, 1, true));
Mario.instBlocks.push(new Bonus(525, 0, 3, true));
Mario.instBlocks.push(new Bonus(500, 0, 1, true));
Mario.instBlocks.push(new Bonus(550, 0, 1, true));
Mario.instBlocks.push(new Bonus(1700, 0, 1, true));
Mario.instBlocks.push(new Bonus(1750, 0, 1, true));
Mario.instBlocks.push(new Bonus(700, 50, 1, true));
Mario.instBlocks.push(new Bonus(725, 50, 1, true));
Mario.instBlocks.push(new Bonus(750, 50, 1, true));
Mario.instBlocks.push(new Bonus(300, 0, 1, true));
Mario.instBlocks.push(new Bonus(325, 0, 1, true));
Mario.instBlocks.push(new Bonus(350, 0, 1, true));
Mario.instBlocks.push(new Bonus(1750, 100, 1, true));
Mario.instBlocks.push(new Bonus(1900, 25, 1, true));
Mario.instBlocks.push(new Bonus(1925, 25, 1, true));
Mario.instBlocks.push(new Bonus(1950, 25, 1, true));
Mario.instBlocks.push(new Bonus(2100, 25, 1, true));
Mario.instBlocks.push(new Bonus(2125, 25, 1, true));
Mario.instBlocks.push(new Bonus(2150, 25, 1, true));
Mario.instEnemies.push(new FlyRed(425, 75));
Mario.instEnemies.push(new FlyRed(625, 175));
Mario.instEnemies.push(new FlyRed(825, 25));
Mario.instEnemies.push(new FlyRed(1025, 75));
Mario.instEnemies.push(new FlyRed(1225, 25));
Mario.instEnemies.push(new FlyRed(1425, 100));
Mario.instEnemies.push(new FlyRed(1625, 175));
Mario.instEnemies.push(new FlyRed(1825, 50));
Mario.instEnemies.push(new FlyRed(2825, 25));
Mario.instEnemies.push(new PPlant(3075, 175));
Mario.instEnemies.push(new PPlant(3300, 225));
Mario.instEnemies.push(new PPlant(3525, 175));
Mario.instEnemies.push(new PFlame(3950, 225));
Mario.instEnemies.push(new PPlant(3750, 150, -1));
Mario.instEnemies.push(new PPlant(3400, 225, -1));
Mario.instEnemies.push(new PPlant(3075, 125, -1));
Mario.instEnemies.push(new PPlant(4175, 125, -1));
Mario.instEnemies.push(new PPlant(4950, 200, -1));
Mario.instEnemies.push(new PFlame(4550, 75, -1));
Mario.instEnemies.push(new Goomba(4750, 275));
Mario.instEnemies.push(new Goomba(4800, 275));
Mario.instEnemies.push(new Spiny(5050, 275));
Mario.instEnemies.push(new FlyGreen(4225, 275));
Mario.instEnemies.push(new Goomba(4400, 275));
Mario.instEnemies.push(new Goomba(4450, 275));
Mario.instEnemies.push(new Goomba(4500, 275));
Mario.instEnemies.push(new Spiny(5000, 275));
Mario.instObjects.push(new Finish(5600, 275));
Mario.instEnemies.push(new Goomba(4850, 275));
Mario.instBlocks.push(new Bonus(1725, 0, 4, true));
Mario.instEnemies.push(new Spiny(3700, 275));
Mario.instEnemies.push(new Spiny(3850, 275));
Mario.instEnemies.push(new Spiny(3250, 275));
Mario.instEnemies.push(new Spiny(5300, 125));
Mario.instEnemies.push(new Spiny(5350, 125));
Mario.instEnemies.push(new Spiny(2725, 100));
Mario.instEnemies.push(new Spiny(2525, 100));
Mario.instEnemies.push(new Spiny(2325, 175));
Mario.instEnemies.push(new Spiny(2125, 225));
break;
case 7:
(Mario.levelGenre = 3);
(Mario.musika = 2);
(Mario.level[0] = "ABABABABABABABABABABCABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABA");
(Mario.level[1] = " AB ABABABD ABAB ABAB AB A");
(Mario.level[2] = " ABABAB ABAB ABAB A");
(Mario.level[3] = " AB AB A");
(Mario.level[4] = " A");
(Mario.level[5] = " EG EFG A");
(Mario.level[6] = " EFG EFKJ HIJ A");
(Mario.level[7] = "FG HIJ EFG HIILG EFKIJ A");
(Mario.level[8] = "ILG EG HILFG EKILG HIIILG HIIIJ A");
(Mario.level[9] = "IILG HLG HIIILFFKIIIJ HIIIILG HIIIJ A");
(Mario.level[10] = "IIILFFFFG EFFFFFFFFFFFG EG EG EG 01 01 HILFG HIIIIIIIIIIJ EKIIIIIJ HIIIJ A");
(Mario.level[11] = "IIIIIIIILG EKIIIIIIIIIIILG HJ HJ HJ 01 23 23 01 HIIIJ EKIIIIIIIIIIJ EKIIIIIILG EFKIIILFFFFFFGOOOOOOOOOOOOOOOOA");
(Mario.level[12] = "IIIIIIIIIJ HIIIIIIIIIIIIIJ HJ HJ HJ EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFG HIIILG HIIIIIIIIIIILFG EKIIIIIIIILG EKIIIIIIIIIIIIJ A");
(Mario.level[13] = "IIIIIIIIIJ HIIIIIIIIIIIIIJ HJ HJ HJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIILFFFFFFFFFFKIIIILFFKIIIIIIIIIIIIILFFFFKIIIIIIIIIILFFKIIIIIIIIIIIIIJ A");
(Mario.level[14] = "IIIIIIIIIJ HIIIIIIIIIIIIIJ HJ HJ HJ HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ A");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(((Mario.checkPoint == 7)) ? 4400 : 25, 150);
Mario.instObjects.push(new Coin(175, 175));
Mario.instObjects.push(new Coin(125, 175));
Mario.instObjects.push(new Coin(3250, 250));
Mario.instObjects.push(new Coin(3200, 250));
Mario.instObjects.push(new Coin(3150, 250));
Mario.instObjects.push(new Coin(3100, 250));
Mario.instObjects.push(new Coin(3550, 100));
Mario.instObjects.push(new Coin(3575, 100));
Mario.instObjects.push(new Coin(3600, 100));
Mario.instObjects.push(new Coin(3825, 150));
Mario.instObjects.push(new Coin(3800, 125));
Mario.instObjects.push(new Coin(3750, 125));
Mario.instObjects.push(new Coin(3775, 125));
Mario.instObjects.push(new Coin(4525, 75));
Mario.instObjects.push(new Coin(4475, 75));
Mario.instObjects.push(new Coin(4500, 75));
Mario.instObjects.push(new Coin(4150, 75));
Mario.instObjects.push(new Coin(4075, 100));
Mario.instObjects.push(new Coin(4100, 100));
Mario.instObjects.push(new Coin(4125, 75));
Mario.instObjects.push(new ElevatorFall(850, 250, 100, "elevator_4"));
Mario.instObjects.push(new ElevatorFall(1200, 250, 75, "elevator_3"));
Mario.instObjects.push(new ElevatorFall(1525, 250, 75, "elevator_3"));
Mario.instEnemies.push(new BBeetle(2125, 275));
Mario.instEnemies.push(new BBeetle(2475, 275));
Mario.instEnemies.push(new BBeetle(2800, 275));
Mario.instEnemies.push(new PFlame(2925, 250));
Mario.instEnemies.push(new PFlame(2625, 225));
Mario.instEnemies.push(new PFlame(2250, 225));
Mario.instEnemies.push(new PFlame(1925, 250));
Mario.instEnemies.push(new PStatic(3450, 275));
Mario.instEnemies.push(new PStatic(3525, 250));
Mario.instEnemies.push(new PStatic(3475, 300));
Mario.instEnemies.push(new PStatic(3500, 300));
Mario.instEnemies.push(new PStatic(3625, 175));
Mario.instEnemies.push(new PStatic(3650, 175));
Mario.instEnemies.push(new PStatic(3700, 200));
Mario.instEnemies.push(new PStatic(3675, 200));
Mario.instEnemies.push(new PStatic(3725, 175));
Mario.instEnemies.push(new PStatic(3850, 275));
Mario.instEnemies.push(new PStatic(3875, 275));
Mario.instEnemies.push(new PStatic(3900, 300));
Mario.instEnemies.push(new PStatic(3950, 300));
Mario.instEnemies.push(new PStatic(3925, 300));
Mario.instEnemies.push(new PStatic(3975, 300));
Mario.instEnemies.push(new PStatic(4000, 275));
Mario.instEnemies.push(new PStatic(4025, 250));
Mario.instEnemies.push(new PStatic(4200, 175));
Mario.instEnemies.push(new PStatic(4175, 150));
Mario.instEnemies.push(new PStatic(4225, 200));
Mario.instEnemies.push(new PStatic(4250, 250));
Mario.instEnemies.push(new PStatic(4275, 275));
Mario.instEnemies.push(new PStatic(4350, 275));
Mario.instEnemies.push(new PStatic(4450, 150));
Mario.instEnemies.push(new PStatic(4550, 250));
Mario.instEnemies.push(new PStatic(4575, 250));
Mario.instEnemies.push(new PStatic(4600, 250));
Mario.instBlocks.push(new Brick(650, 150));
Mario.instBlocks.push(new Brick(600, 150));
Mario.instBlocks.push(new Brick(450, 150));
Mario.instBlocks.push(new Brick(500, 150));
Mario.instBlocks.push(new Brick(550, 150));
Mario.instBlocks.push(new Bonus(475, 150, 1));
Mario.instBlocks.push(new Bonus(625, 150, 1));
Mario.instBlocks.push(new Bonus(575, 150, 2));
Mario.instBlocks.push(new Bonus(525, 150, 3));
Mario.instBlocks.push(new Bonus(4275, 175, 4, true));
Mario.instEnemies.push(new Spiny(3125, 300));
Mario.instEnemies.push(new Spiny(3225, 300));
Mario.instObjects.push(new Mill(375, 250, 100, 4));
Mario.instObjects.push(new Mill(725, 250, 100, 4, 8));
Mario.instEnemies.push(new JumperThrower(300, 350, -10, 0, 100, 1, 0));
Mario.instEnemies.push(new JumperThrower(875, 350, -10, 1, 160, 4, 10));
Mario.instEnemies.push(new JumperThrower(1225, 350, -11, 1, 180, 6, 9));
Mario.instEnemies.push(new JumperThrower(1550, 350, -10, 1, 195, 3, 20));
Mario.instEnemies.push(new JumperThrower(1775, 350, -6, 2, 35, 1, 0));
Mario.instEnemies.push(new Bowser((200 * 25), 175, (189 * 25), 5, 15, 0, 0, 0));
Mario.instEffects.push(new Back(3));
break;
case 8:
(Mario.levelGenre = 2);
(Mario.musika = 0);
Mario.generateBackground(1);
(Mario.level[0] = " ");
(Mario.level[1] = " ");
(Mario.level[2] = " ");
(Mario.level[3] = " ");
(Mario.level[4] = " ");
(Mario.level[5] = " MM MM MM ");
(Mario.level[6] = " 23 23 23 ");
(Mario.level[7] = " 23 23 23 ");
(Mario.level[8] = " 01 23 23 23 01 MM MM ");
(Mario.level[9] = " 23 01 23 45 23 23 M MM MM MM M ");
(Mario.level[10] = " M M 23 23 01 23 45 01 01 23 MM M M MM M MM M M MM ");
(Mario.level[11] = " 01 M M 23 23 M M 23 45 01 23 23 23 01 M M MM M M M MM M M MM M M MM ");
(Mario.level[12] = " 23 M M 01 23 23 M MM 23 01 23 23 01 23 23 23 MM MM M M MM M M M M M MM M M M MM M M MM MM M MM ");
(Mario.level[13] = " 23 M M 23 23 23 M MMM 23 23 01 23 23 23 23 23 23 01 M MM M M M M M M M M M MM M M M M M M MM M M M M MM M ");
(Mario.level[14] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy wxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy wxy wxy wxy M wxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy wy wy wy wy wy wy M M M M M M M M M M M M M M M M M M M M M M M M M wxy wy wy wy wy wy wy wy wy wy wxxxxxxxxxxxxxxxxxxxxxxxxxx");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(75, 325);
Mario.layerWall.addChild(AddGraphic(9050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(9025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(9000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8950, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8925, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8875, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8850, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8825, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8800, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8725, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(8700, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(8700, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(8700, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(8700, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(8700, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(8375, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(8400, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8450, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(8150, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(8125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8100, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(7975, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(7950, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(7950, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(7950, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(7975, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(7950, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7975, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7950, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7775, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(7775, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(7775, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7775, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7425, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(7425, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(7225, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(7300, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(7275, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7250, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3400, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(3600, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3500, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3500, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3500, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3500, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3500, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3400, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3400, 175, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3400, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(3400, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(3400, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(3400, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3400, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3150, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2950, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2925, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2875, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2825, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2800, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2375, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(2375, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2225, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(2225, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(2225, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(2225, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2150, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2200, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2175, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1675, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1775, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1875, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1875, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1875, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1525, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1625, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1450, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1450, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1450, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1450, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1075, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1150, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1250, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1250, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1250, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1050, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1050, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1050, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1175, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1175, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(550, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(725, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(625, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(125, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(75, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(50, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(25, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(0, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(300, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(300, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(300, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(300, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(300, 225, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(150, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(150, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(225, 125, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(225, 150, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(225, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(225, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(225, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(225, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(225, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(225, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(225, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(150, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(150, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(150, 325, "back_tree_1"));
Mario.instObjects.push(new Coin(8275, 225));
Mario.instObjects.push(new Coin(8250, 225));
Mario.instObjects.push(new Coin(8150, 225));
Mario.instObjects.push(new Coin(8125, 225));
Mario.instObjects.push(new Coin(8050, 225));
Mario.instObjects.push(new Coin(8025, 225));
Mario.instObjects.push(new Coin(7975, 225));
Mario.instObjects.push(new Coin(7950, 225));
Mario.instObjects.push(new Coin(7800, 225));
Mario.instObjects.push(new Coin(7775, 225));
Mario.instObjects.push(new Coin(7700, 225));
Mario.instObjects.push(new Coin(7675, 225));
Mario.instObjects.push(new Coin(7525, 225));
Mario.instObjects.push(new Coin(7500, 225));
Mario.instObjects.push(new Coin(7425, 225));
Mario.instObjects.push(new Coin(7400, 225));
Mario.instObjects.push(new Coin(7275, 225));
Mario.instObjects.push(new Coin(7250, 225));
Mario.instObjects.push(new Coin(7025, 225));
Mario.instObjects.push(new Coin(6225, 75));
Mario.instObjects.push(new Coin(6225, 100));
Mario.instObjects.push(new Coin(6225, 125));
Mario.instObjects.push(new Coin(6150, 125));
Mario.instObjects.push(new Coin(6150, 100));
Mario.instObjects.push(new Coin(6150, 75));
Mario.instObjects.push(new Coin(6200, 125));
Mario.instObjects.push(new Coin(6175, 125));
Mario.instObjects.push(new Coin(6175, 75));
Mario.instObjects.push(new Coin(6200, 75));
Mario.instObjects.push(new Coin(6200, 100));
Mario.instObjects.push(new Coin(6175, 100));
Mario.instObjects.push(new Coin(6375, 275));
Mario.instObjects.push(new Coin(6350, 275));
Mario.instObjects.push(new Coin(5100, 250));
Mario.instObjects.push(new Coin(5075, 250));
Mario.instObjects.push(new Coin(4900, 100));
Mario.instObjects.push(new Coin(4925, 100));
Mario.instObjects.push(new Coin(4250, 75));
Mario.instObjects.push(new Coin(4225, 75));
Mario.instObjects.push(new Coin(3800, 125));
Mario.instObjects.push(new Coin(3775, 125));
Mario.instObjects.push(new Coin(3025, 250));
Mario.instObjects.push(new Coin(2950, 250));
Mario.instObjects.push(new Coin(2700, 250));
Mario.instObjects.push(new Coin(2775, 250));
Mario.instObjects.push(new Coin(2875, 125));
Mario.instObjects.push(new Coin(2850, 125));
Mario.instObjects.push(new Coin(2375, 225));
Mario.instObjects.push(new Coin(2025, 225));
Mario.instObjects.push(new Coin(2200, 225));
Mario.instObjects.push(new Coin(1500, 75));
Mario.instObjects.push(new Coin(1475, 75));
Mario.instObjects.push(new Coin(1000, 150));
Mario.instObjects.push(new Coin(1000, 175));
Mario.instObjects.push(new Coin(900, 175));
Mario.instObjects.push(new Coin(900, 150));
Mario.instEnemies.push(new Lakitu(275, 50));
Mario.instEnemies.push(new PFlame(500, 250));
Mario.instEnemies.push(new PPlant(1475, 175));
Mario.instEnemies.push(new PPlant(1300, 275));
Mario.instEnemies.push(new PPlant(1650, 200));
Mario.instEnemies.push(new PFlame(2850, 225));
Mario.instEnemies.push(new PPlant(3225, 275));
Mario.instEnemies.push(new PPlant(3350, 300));
Mario.instEnemies.push(new PPlant(3100, 300, -1));
Mario.instEnemies.push(new PPlant(3225, 250, -1));
Mario.instEnemies.push(new PPlant(3350, 275, -1));
Mario.instEnemies.push(new PPlant(3625, 250));
Mario.instEnemies.push(new PPlant(3925, 275));
Mario.instEnemies.push(new PPlant(4225, 175));
Mario.instEnemies.push(new PPlant(4525, 300));
Mario.instEnemies.push(new Spiny(450, 325));
Mario.instEnemies.push(new Spiny(850, 325));
Mario.instEnemies.push(new Goomba(650, 325));
Mario.instEnemies.push(new Goomba(700, 325));
Mario.instEnemies.push(new FlyRed(950, 100));
Mario.instObjects.push(new Finish(8500, 325));
Mario.instBlocks.push(new Bonus(6325, 250, 4, true));
Mario.instBlocks.push(new Brick(900, 100));
Mario.instBlocks.push(new Brick(1000, 100));
Mario.instBlocks.push(new Bonus(1525, 275, 2, true));
Mario.instBlocks.push(new Bonus(3400, 225, 2, true));
Mario.instBlocks.push(new Bonus(225, 225, 1, true));
Mario.instBlocks.push(new Bonus(225, 125, 1, true));
Mario.instBlocks.push(new Bonus(300, 225, 1, true));
Mario.instBlocks.push(new Bonus(150, 225, 1, true));
Mario.instEffects.push(new Back(5));
break;
case 9:
(Mario.levelGenre = 1);
(Mario.musika = 1);
(Mario.level[0] = " ");
(Mario.level[1] = "N NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN");
(Mario.level[2] = "N 23 23 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ");
(Mario.level[3] = "N 45 45 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ");
(Mario.level[4] = "N 01 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ");
(Mario.level[5] = "N 01 23 NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN ");
(Mario.level[6] = "N 23 23 45 23 45 45 45 ");
(Mario.level[7] = "N 23 23 45 ");
(Mario.level[8] = "N 23 6777NN7778 ");
(Mario.level[9] = "N 01 01 23 9aaaNNaaab 01 ");
(Mario.level[10] = "N 23 23 23 qrrrs qrrrs qrs 23 NrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrN ");
(Mario.level[11] = "N 23 23 23 tuuuv tuuuv tuvqrs 01 23 NuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuN ");
(Mario.level[12] = "N NN NN 01 23 01 NNNNN NNNNN tuvtuvqrs 23 NNN 23 NuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuN ");
(Mario.level[13] = "N 23 23 23 tuvtuvtuvqrs 23 NNN 23 NuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuN ");
(Mario.level[14] = "qrrrrrrrrrrrrs qs qrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrs tuvtuvtuvtuvqrs N N N N N N N N N N N N qrrrrrrrrs qrrrrrrrrrrrrrrrrrrrrrrrrrrrs qs qs qs qs qs qs qs qrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrNuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(125, 25);
Mario.instObjects.push(new Coin(8450, 150));
Mario.instObjects.push(new Coin(8475, 150));
Mario.instObjects.push(new Coin(8625, 150));
Mario.instObjects.push(new Coin(8600, 150));
Mario.instObjects.push(new Coin(8175, 150));
Mario.instObjects.push(new Coin(8150, 150));
Mario.instObjects.push(new Coin(8000, 150));
Mario.instObjects.push(new Coin(8025, 150));
Mario.instObjects.push(new Coin(7800, 150));
Mario.instObjects.push(new Coin(7775, 150));
Mario.instObjects.push(new Coin(7625, 150));
Mario.instObjects.push(new Coin(7650, 150));
Mario.instObjects.push(new Coin(7250, 150));
Mario.instObjects.push(new Coin(7225, 150));
Mario.instObjects.push(new Coin(7400, 150));
Mario.instObjects.push(new Coin(7375, 150));
Mario.instObjects.push(new Coin(7325, 200));
Mario.instObjects.push(new Coin(7300, 200));
Mario.instObjects.push(new Coin(8550, 175));
Mario.instObjects.push(new Coin(8525, 175));
Mario.instObjects.push(new Coin(8100, 175));
Mario.instObjects.push(new Coin(8075, 175));
Mario.instObjects.push(new Coin(7725, 175));
Mario.instObjects.push(new Coin(7700, 175));
Mario.instObjects.push(new Coin(6575, 175));
Mario.instObjects.push(new Coin(6150, 175));
Mario.instObjects.push(new Coin(5625, 250));
Mario.instObjects.push(new Coin(5600, 250));
Mario.instObjects.push(new Coin(5325, 250));
Mario.instObjects.push(new Coin(5300, 250));
Mario.instObjects.push(new Coin(4775, 200));
Mario.instObjects.push(new Coin(4300, 200));
Mario.instObjects.push(new Coin(4275, 200));
Mario.instObjects.push(new Coin(4225, 200));
Mario.instObjects.push(new Coin(4250, 200));
Mario.instObjects.push(new Coin(4350, 250));
Mario.instObjects.push(new Coin(4325, 225));
Mario.instObjects.push(new Coin(4200, 225));
Mario.instObjects.push(new Coin(4175, 250));
Mario.instObjects.push(new Coin(3625, 250));
Mario.instObjects.push(new Coin(3600, 250));
Mario.instObjects.push(new Coin(3575, 250));
Mario.instObjects.push(new Coin(3550, 250));
Mario.instObjects.push(new Coin(3250, 300));
Mario.instObjects.push(new Coin(3175, 275));
Mario.instObjects.push(new Coin(3100, 250));
Mario.instObjects.push(new Coin(3025, 225));
Mario.instObjects.push(new Coin(2950, 200));
Mario.instObjects.push(new Coin(2700, 100));
Mario.instObjects.push(new Coin(2750, 150));
Mario.instObjects.push(new Coin(2700, 200));
Mario.instObjects.push(new Coin(2100, 325));
Mario.instObjects.push(new Coin(2125, 225));
Mario.instObjects.push(new Coin(2100, 125));
Mario.instObjects.push(new Coin(2125, 25));
Mario.instObjects.push(new Coin(1850, 0));
Mario.instObjects.push(new Coin(1875, 100));
Mario.instObjects.push(new Coin(1850, 200));
Mario.instObjects.push(new Coin(1875, 300));
Mario.instObjects.push(new Coin(2475, 125));
Mario.instObjects.push(new Coin(2475, 150));
Mario.instObjects.push(new Coin(2475, 175));
Mario.instObjects.push(new Coin(1650, 175));
Mario.instObjects.push(new Coin(1650, 125));
Mario.instObjects.push(new Coin(1650, 150));
Mario.instObjects.push(new Coin(1350, 150));
Mario.instObjects.push(new Coin(1350, 125));
Mario.instObjects.push(new Coin(1225, 150));
Mario.instObjects.push(new Coin(1225, 125));
Mario.instObjects.push(new Coin(775, 300));
Mario.instObjects.push(new Coin(800, 300));
Mario.instObjects.push(new Coin(825, 300));
Mario.instObjects.push(new Coin(850, 300));
Mario.instObjects.push(new Coin(850, 275));
Mario.instObjects.push(new Coin(825, 275));
Mario.instObjects.push(new Coin(800, 275));
Mario.instObjects.push(new Coin(775, 275));
Mario.instObjects.push(new Coin(150, 250));
Mario.instObjects.push(new Coin(125, 250));
Mario.instObjects.push(new Coin(100, 250));
Mario.instObjects.push(new ElevatorLoop(1850, 150, 50, "elevator_2", 2));
Mario.instObjects.push(new ElevatorLoop(1850, 350, 50, "elevator_2", 2));
Mario.instObjects.push(new ElevatorLoop(2100, 250, 50, "elevator_2", -2));
Mario.instObjects.push(new ElevatorLoop(2100, 50, 50, "elevator_2", -2));
Mario.instObjects.push(new ElevatorFall(2700, 250, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(2750, 250, 25, "elevator_1"));
Mario.instObjects.push(new Cannon(5050, 325));
Mario.instObjects.push(new Cannon(5875, 325));
Mario.instEnemies.push(new PStatic(3000, 0));
Mario.instEnemies.push(new PStatic(3050, 0));
Mario.instEnemies.push(new PStatic(3100, 0));
Mario.instEnemies.push(new PStatic(3150, 0));
Mario.instEnemies.push(new PStatic(3200, 0));
Mario.instEnemies.push(new PStatic(3250, 0));
Mario.instEnemies.push(new PFlame(725, 200));
Mario.instEnemies.push(new PFlame(875, 200));
Mario.instEnemies.push(new PPlant(1100, 275));
Mario.instEnemies.push(new PPlant(1450, 275));
Mario.instEnemies.push(new PPlant(1275, 100));
Mario.instEnemies.push(new Spiny(1200, 325));
Mario.instEnemies.push(new Spiny(1375, 325));
Mario.instBlocks.push(new Brick(1250, 200));
Mario.instBlocks.push(new Brick(1225, 200));
Mario.instBlocks.push(new Brick(1200, 200));
Mario.instBlocks.push(new Brick(1350, 200));
Mario.instBlocks.push(new Brick(1375, 200));
Mario.instBlocks.push(new Bonus(1250, 275, 2, true));
Mario.instBlocks.push(new Bonus(1325, 275, 4, true));
Mario.instBlocks.push(new BrickMulti(1250, 200));
Mario.instBlocks.push(new BrickMulti(1325, 200));
Mario.instBlocks.push(new Brick(775, 250));
Mario.instBlocks.push(new Brick(800, 250));
Mario.instBlocks.push(new Brick(825, 250));
Mario.instBlocks.push(new Brick(850, 250));
Mario.instBlocks.push(new Bonus(775, 225, 1, true));
Mario.instBlocks.push(new Bonus(825, 225, 1, true));
Mario.instBlocks.push(new Bonus(850, 225, 1, true));
Mario.instBlocks.push(new Bonus(800, 225, 3, true));
Mario.instEnemies.push(new TroopaRed(2475, 225));
Mario.instEnemies.push(new FlyRed(2625, 150));
Mario.instEnemies.push(new FlyRed(2000, 150));
Mario.instObjects.push(new ElevatorFall(2725, 250, 25, "elevator_1"));
Mario.instEnemies.push(new FlyRed(2850, 200));
Mario.instEnemies.push(new PFlame(3575, 100, -1));
Mario.instEnemies.push(new PFlame(4250, 100, -1));
Mario.instEnemies.push(new PPlant(3925, 250));
Mario.instEnemies.push(new FlyGreen(3875, 300));
Mario.instEnemies.push(new FlyGreen(3825, 300));
Mario.instEnemies.push(new FlyGreen(3775, 300));
Mario.instEnemies.push(new FlyGreen(4775, 250));
Mario.instEnemies.push(new Spiny(4700, 325));
Mario.instEnemies.push(new Spiny(4650, 325));
Mario.instEnemies.push(new Spiny(4600, 325));
Mario.instEnemies.push(new Goomba(4550, 325));
Mario.instEnemies.push(new FlyGreen(5650, 325));
Mario.instEnemies.push(new FlyGreen(5550, 325));
Mario.instEnemies.push(new Goomba(6350, 75));
Mario.instEnemies.push(new Spiny(6300, 175));
Mario.instEnemies.push(new Spiny(6250, 175));
Mario.instEnemies.push(new BBeetle(6325, 325));
Mario.instBlocks.push(new Bonus(6325, 275, 1, true));
Mario.instBlocks.push(new Bonus(6300, 275, 1, true));
Mario.instBlocks.push(new Bonus(6275, 275, 1, true));
Mario.instBlocks.push(new Bonus(6250, 275, 1, true));
Mario.instBlocks.push(new Bonus(0x1919, 275, 1, true));
Mario.instBlocks.push(new Bonus(0x1900, 275, 1, true));
Mario.instBlocks.push(new Bonus(6450, 275, 1, true));
Mario.instBlocks.push(new Bonus(6475, 275, 1, true));
Mario.instBlocks.push(new Bonus(6175, 225, 0));
Mario.instBlocks.push(new Bonus(6150, 225, 1));
Mario.instBlocks.push(new Bonus(6125, 225, 1));
Mario.instBlocks.push(new Bonus(6550, 225, 1));
Mario.instBlocks.push(new Bonus(6600, 225, 1));
Mario.instEnemies.push(new Goomba(300, 325));
Mario.instEnemies.push(new Goomba(275, 325));
Mario.instEnemies.push(new Goomba(250, 325));
Mario.instEnemies.push(new TroopaRed(1650, 225));
Mario.instEnemies.push(new Spiny(0x1919, 175));
Mario.instEnemies.push(new Spiny(6475, 175));
Mario.instEnemies.push(new Goomba(6375, 75));
Mario.instEnemies.push(new BBeetle(0x1900, 325));
Mario.instEnemies.push(new PFlame(8525, 175, -1));
Mario.instEnemies.push(new PFlame(8075, 175, -1));
Mario.instEnemies.push(new PFlame(7700, 175, -1));
Mario.instEnemies.push(new PPlant(7300, 200, -1));
Mario.instEnemies.push(new PPlant(6800, 175, -1));
Mario.instEnemies.push(new PPlant(6800, 200));
Mario.instEnemies.push(new Goomba(7000, 225));
Mario.instEnemies.push(new Goomba(7050, 225));
Mario.instEnemies.push(new Goomba(7100, 225));
Mario.instEnemies.push(new Spiny(7150, 225));
Mario.instEnemies.push(new Spiny(7200, 225));
Mario.instEnemies.push(new FlyGreen(7350, 225));
Mario.instEnemies.push(new Spiny(7900, 225));
Mario.instEnemies.push(new Spiny(7950, 225));
Mario.instEnemies.push(new BBeetle(7850, 225));
Mario.instEnemies.push(new Goomba(7625, 225));
Mario.instEnemies.push(new Goomba(7675, 225));
Mario.instEnemies.push(new Goomba(7725, 225));
Mario.instEnemies.push(new Goomba(8300, 225));
Mario.instEnemies.push(new Goomba(8400, 225));
Mario.instEnemies.push(new Spiny(8350, 225));
Mario.instEnemies.push(new Spiny(8450, 225));
Mario.instEnemies.push(new Goomba(8500, 225));
Mario.instObjects.push(new Finish(8850, 325));
Mario.instBlocks.push(new Bonus(6575, 225, 3));
Mario.instEffects.push(new Back(1));
break;
case 10:
(Mario.levelGenre = 2);
(Mario.musika = 0);
Mario.generateBackground(1);
(Mario.level[0] = " MM MM MM ");
(Mario.level[1] = " MM MM 23 23 23 ");
(Mario.level[2] = " 23 23 23 23 45 ");
(Mario.level[3] = " 01 23 23 23 23 ");
(Mario.level[4] = " 23 45 23 23 23 ");
(Mario.level[5] = " 23 01 23 MMQQQQQQQQQQQQQQQQQQMM 23 45 01QQQQQQQQQQQQQQQQQQQQQQQM ");
(Mario.level[6] = " 23 23 23 MM MM M M M M M M M M M M M M 23 23 ");
(Mario.level[7] = " MM77MM78 23 MM MM MM MM 23 01 23 ");
(Mario.level[8] = " MMaaMMab 23 MM MM MM MM MM 23 45 23 ");
(Mario.level[9] = " 23 23 S 23 MM MM MM 45 01 23 ");
(Mario.level[10] = " 23 23 R 45 MM MM MM 01 M M M M M M M M M M M M M 45 23 ");
(Mario.level[11] = " 23 45 wxxy R MM MM MM MM 01 01 23 23 ");
(Mario.level[12] = " 23 S 01 MMMM R MM MM MM MM 23 01 23 23 01 23 ");
(Mario.level[13] = " 23 R 23 R MM MM MM MM 23 23 23 23 23 23 ");
(Mario.level[14] = "wxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy 23 wxxxxxxxy M wxxxxxxxxxy wy wy wy wy wy wy wy wy wxxxxxxxxxxxxxxxxxxxxxxxy wxy wy 23 23 wxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(150, 325);
Mario.layerWall.addChild(AddGraphic(7075, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(6925, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(7000, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(7175, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(7150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6950, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7025, 225, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(7025, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(7025, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(7025, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(7025, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(6775, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6350, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(6550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6625, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6575, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(0x1919, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(0x1900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6375, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5675, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(5675, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5325, 175, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(5325, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5325, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5325, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(5325, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(5325, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5350, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5150, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(4850, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5000, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(5300, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(5400, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(5375, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5275, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5250, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5225, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5200, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5175, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4950, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4875, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4925, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2625, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2800, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2700, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2675, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2650, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2550, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(2550, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(2550, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2225, 225, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(2225, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2075, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1950, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1250, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1275, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1300, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1325, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1350, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1075, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(950, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(975, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(875, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(825, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(825, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(825, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(875, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(875, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(825, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(575, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(400, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(550, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(475, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(450, 200, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(450, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(450, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(450, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(450, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(450, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(400, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(400, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(400, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(400, 125, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(400, 150, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(400, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(400, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(400, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(400, 100, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(400, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(300, 150, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(300, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(300, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(300, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(300, 250, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(300, 275, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(300, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(300, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(275, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(250, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(225, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(200, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(175, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(75, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(50, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(25, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(0, 325, "back_fence_2"));
Mario.instObjects.push(new Coin(0x1900, 50));
Mario.instObjects.push(new Coin(6325, 50));
Mario.instObjects.push(new Coin(6250, 50));
Mario.instObjects.push(new Coin(6175, 50));
Mario.instObjects.push(new Coin(6100, 50));
Mario.instObjects.push(new Coin(6025, 50));
Mario.instObjects.push(new Coin(5950, 50));
Mario.instObjects.push(new Coin(5825, 125));
Mario.instObjects.push(new Coin(5725, 100));
Mario.instObjects.push(new Coin(5700, 100));
Mario.instObjects.push(new Coin(5725, 75));
Mario.instObjects.push(new Coin(5700, 75));
Mario.instObjects.push(new Coin(5725, 300));
Mario.instObjects.push(new Coin(5700, 250));
Mario.instObjects.push(new Coin(5725, 200));
Mario.instObjects.push(new Coin(5700, 50));
Mario.instObjects.push(new Coin(5725, 50));
Mario.instObjects.push(new Coin(5375, 50));
Mario.instObjects.push(new Coin(5275, 50));
Mario.instObjects.push(new Coin(5175, 50));
Mario.instObjects.push(new Coin(5075, 50));
Mario.instObjects.push(new Coin(4975, 50));
Mario.instObjects.push(new Coin(4900, 250));
Mario.instObjects.push(new Coin(5050, 250));
Mario.instObjects.push(new Coin(5400, 250));
Mario.instObjects.push(new Coin(5375, 150));
Mario.instObjects.push(new Coin(5275, 150));
Mario.instObjects.push(new Coin(5200, 250));
Mario.instObjects.push(new Coin(5025, 150));
Mario.instObjects.push(new Coin(4675, 100));
Mario.instObjects.push(new Coin(4675, 75));
Mario.instObjects.push(new Coin(4675, 50));
Mario.instObjects.push(new Coin(4550, 50));
Mario.instObjects.push(new Coin(4550, 75));
Mario.instObjects.push(new Coin(4550, 100));
Mario.instObjects.push(new Coin(4400, 50));
Mario.instObjects.push(new Coin(4400, 75));
Mario.instObjects.push(new Coin(4400, 100));
Mario.instObjects.push(new Coin(4275, 100));
Mario.instObjects.push(new Coin(4275, 75));
Mario.instObjects.push(new Coin(4275, 50));
Mario.instObjects.push(new Coin(4125, 50));
Mario.instObjects.push(new Coin(4125, 75));
Mario.instObjects.push(new Coin(4125, 100));
Mario.instObjects.push(new Coin(4000, 100));
Mario.instObjects.push(new Coin(4000, 75));
Mario.instObjects.push(new Coin(4000, 50));
Mario.instObjects.push(new Coin(3875, 50));
Mario.instObjects.push(new Coin(3875, 100));
Mario.instObjects.push(new Coin(3750, 50));
Mario.instObjects.push(new Coin(3750, 100));
Mario.instObjects.push(new Coin(3750, 75));
Mario.instObjects.push(new Coin(3875, 75));
Mario.instObjects.push(new Coin(2675, 225));
Mario.instObjects.push(new Coin(2675, 250));
Mario.instObjects.push(new Coin(2750, 225));
Mario.instObjects.push(new Coin(2750, 250));
Mario.instObjects.push(new Coin(2600, 225));
Mario.instObjects.push(new Coin(2600, 250));
Mario.instObjects.push(new Coin(3125, 50));
Mario.instObjects.push(new Coin(3225, 50));
Mario.instObjects.push(new Coin(3325, 50));
Mario.instObjects.push(new Coin(3425, 50));
Mario.instObjects.push(new Coin(3525, 50));
Mario.instObjects.push(new Coin(2400, 125));
Mario.instObjects.push(new Coin(2400, 150));
Mario.instObjects.push(new Coin(2400, 75));
Mario.instObjects.push(new Coin(2400, 100));
Mario.instObjects.push(new Coin(2025, 150));
Mario.instObjects.push(new Coin(1975, 150));
Mario.instObjects.push(new Coin(1925, 150));
Mario.instObjects.push(new Coin(1875, 150));
Mario.instObjects.push(new Coin(925, 100));
Mario.instObjects.push(new Coin(825, 100));
Mario.instObjects.push(new Coin(825, 200));
Mario.instObjects.push(new Coin(925, 200));
Mario.instEnemies.push(new HammerTroopa(875, 225));
Mario.instBlocks.push(new Brick(875, 250));
Mario.instBlocks.push(new Brick(900, 250));
Mario.instBlocks.push(new Brick(925, 250));
Mario.instBlocks.push(new Brick(850, 250));
Mario.instBlocks.push(new Brick(825, 250));
Mario.instBlocks.push(new Brick(800, 250));
Mario.instBlocks.push(new Brick(825, 150));
Mario.instBlocks.push(new Brick(850, 150));
Mario.instBlocks.push(new Brick(875, 150));
Mario.instBlocks.push(new Brick(900, 150));
Mario.instBlocks.push(new Brick(925, 150));
Mario.instBlocks.push(new Brick(950, 150));
Mario.instEnemies.push(new HammerTroopa(875, 125));
Mario.instEnemies.push(new PFlame(1200, 100));
Mario.instEnemies.push(new PPlant(1100, 50));
Mario.instEnemies.push(new PPlant(1200, 300, -1));
Mario.instBlocks.push(new Bonus(1175, 275, 4, true));
Mario.instBlocks.push(new Bonus(1150, 275, 3, true));
Mario.instBlocks.push(new BrickMulti(950, 250));
Mario.instBlocks.push(new BrickMulti(800, 150));
Mario.instBlocks.push(new Bonus(775, 150, 1));
Mario.instBlocks.push(new Bonus(775, 250, 1));
Mario.instBlocks.push(new Bonus(975, 250, 1));
Mario.instBlocks.push(new Bonus(975, 150, 1));
Mario.instBlocks.push(new Bonus(400, 250, 1, true));
Mario.instBlocks.push(new Bonus(400, 150, 1, true));
Mario.instBlocks.push(new Bonus(400, 50, 1, true));
Mario.instBlocks.push(new Bonus(300, 50, 1, true));
Mario.instBlocks.push(new Bonus(300, 150, 1, true));
Mario.instBlocks.push(new Bonus(300, 250, 1, true));
Mario.instBlocks.push(new Bonus(500, 50, 1, true));
Mario.instBlocks.push(new Bonus(500, 150, 1, true));
Mario.instBlocks.push(new Bonus(500, 250, 1, true));
Mario.instBlocks.push(new Bonus(450, 100, 1, true));
Mario.instBlocks.push(new Bonus(450, 200, 1, true));
Mario.instBlocks.push(new Bonus(350, 200, 1, true));
Mario.instBlocks.push(new Bonus(350, 100, 1, true));
Mario.instEnemies.push(new PPlant(1475, 275));
Mario.instObjects.push(new Cannon(1375, 275));
Mario.instObjects.push(new ElevatorFall(1650, 300, 75, "elevator_3"));
Mario.instEnemies.push(new HammerTroopa(1950, 325));
Mario.instEnemies.push(new FlyRed(1675, 125));
Mario.instEnemies.push(new TroopaRed(2150, 250));
Mario.instEnemies.push(new TroopaRed(2225, 250));
Mario.instEnemies.push(new Spiny(2200, 250));
Mario.instEnemies.push(new Spiny(2175, 250));
Mario.instEnemies.push(new PStatic(2400, 175));
Mario.instObjects.push(new Cannon(2400, 200));
Mario.instObjects.push(new ElevatorFall(2325, 225, 50, "elevator_2"));
Mario.instObjects.push(new ElevatorFall(2450, 225, 50, "elevator_2"));
Mario.instEnemies.push(new Goomba(2725, 325));
Mario.instEnemies.push(new Goomba(2750, 325));
Mario.instEnemies.push(new Spiny(2700, 325));
Mario.instBlocks.push(new Brick(1875, 250));
Mario.instBlocks.push(new Brick(1900, 250));
Mario.instBlocks.push(new Brick(1925, 250));
Mario.instBlocks.push(new Brick(1975, 250));
Mario.instBlocks.push(new Brick(2000, 250));
Mario.instBlocks.push(new Brick(2025, 250));
Mario.instBlocks.push(new BrickMulti(1950, 250));
Mario.instBlocks.push(new Bonus(1150, 75, 2, true));
Mario.instEnemies.push(new PStatic(3100, 100));
Mario.instEnemies.push(new PStatic(3075, 100));
Mario.instEnemies.push(new PStatic(3175, 100));
Mario.instEnemies.push(new PStatic(3200, 100));
Mario.instEnemies.push(new PStatic(3275, 100));
Mario.instEnemies.push(new PStatic(3300, 100));
Mario.instEnemies.push(new PStatic(3375, 100));
Mario.instEnemies.push(new PStatic(3400, 100));
Mario.instEnemies.push(new PStatic(3475, 100));
Mario.instEnemies.push(new PStatic(3500, 100));
Mario.instEnemies.push(new Spiny(3150, 100));
Mario.instEnemies.push(new Spiny(3250, 100));
Mario.instEnemies.push(new Spiny(3350, 100));
Mario.instEnemies.push(new Spiny(3450, 100));
Mario.instEnemies.push(new Spiny(3550, 100));
Mario.instEnemies.push(new FlyGreen(3050, 100));
Mario.instBlocks.push(new Bonus(0, 250, 3, true));
Mario.instBlocks.push(new Bonus(0, 150, 3, true));
Mario.instBlocks.push(new Bonus(0, 50, 3, true));
Mario.instObjects.push(new Elevator(3725, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(3825, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(3925, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4025, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4125, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4225, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4325, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4425, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4525, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4625, 175, 100, "elevator_4"));
Mario.instObjects.push(new Elevator(4725, 175, 100, "elevator_4"));
Mario.instEnemies.push(new PFlame(3800, 250));
Mario.instEnemies.push(new PFlame(4050, 275));
Mario.instEnemies.push(new PFlame(4325, 250));
Mario.instEnemies.push(new PFlame(4600, 225));
Mario.instEnemies.push(new HammerTroopa(5100, 125));
Mario.instEnemies.push(new HammerTroopa(5275, 225));
Mario.instEnemies.push(new PPlant(5500, 250, -1));
Mario.instEnemies.push(new PPlant(5750, 75, -1));
Mario.instEnemies.push(new PPlant(5750, 225, -1));
Mario.instEnemies.push(new PPlant(5650, 150, -1));
Mario.instEnemies.push(new PPlant(5650, 200));
Mario.instEnemies.push(new PPlant(5750, 150));
Mario.instEnemies.push(new PPlant(5750, 275));
Mario.instEnemies.push(new PPlant(5850, 100));
Mario.instEnemies.push(new PPlant(5650, 275, -1));
Mario.instBlocks.push(new Bonus(5625, 125, 5));
Mario.instObjects.push(new Finish(6650, 325));
Mario.instEnemies.push(new Spiny(6325, 100));
Mario.instEnemies.push(new Spiny(6200, 100));
Mario.instEnemies.push(new Spiny(6075, 100));
Mario.instEnemies.push(new Goomba(6125, 100));
Mario.instEnemies.push(new Goomba(6250, 100));
Mario.instEnemies.push(new Goomba(6375, 100));
Mario.instEnemies.push(new FlyGreen(6150, 100));
Mario.instEnemies.push(new FlyGreen(6275, 100));
Mario.instEnemies.push(new FlyGreen(0x1900, 100));
Mario.instObjects.push(new Cannon(6475, 100));
Mario.instEnemies.push(new Goomba(2775, 325));
Mario.instEffects.push(new Back(5));
break;
case 11:
(Mario.levelGenre = 3);
(Mario.musika = 2);
(Mario.level[0] = "ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAx");
(Mario.level[1] = " AB ABABAB x");
(Mario.level[2] = " CAB x");
(Mario.level[3] = " AB x");
(Mario.level[4] = " D EFG x");
(Mario.level[5] = " EKILG x");
(Mario.level[6] = " EFG EFG EKIIILG x");
(Mario.level[7] = " EKILG EKILG EFG EKIIIIILG EG x");
(Mario.level[8] = "FFG EG EKIIILG EFKIIILG EKILG EKIIIIIIILG EFKJ EFFFG EFFFG x");
(Mario.level[9] = "IILG EKLG EKIIIIILFFFG EKIIIIIILG EKIIILG EKIIIIIIIIILG HIIJ HIIIJ HIIIJ x");
(Mario.level[10] = "IIILG EKIILG EFFKIIIIIIIIIILG EFIIIIIIIIIJ HIIIIILG EKIIIIIIIIIIILG EKIIJ EG EKIIILG HIIIJOOOOOOOOOOOOOOOOx");
(Mario.level[11] = "IIIILG EKIIIILG EKIIIIIIIIIIIIIILG EKIIIIIIIIIIJ HIIIIIILFFFKIIIIIIIIIIIIILFFFFG EFFFFFFKIIIJ HJ EFKIIIIIJ HIIIJ x");
(Mario.level[12] = "IIIIILG EKIIIIIILG EKIIIIIIIIIIIIIIIILG EKIIIIIIIIIIILG EKIIIIIIIIIIIIIIIIIIIIIIIIIIIIILG HIIIIIIIIIIJ HLG HIIIIIIILG HIIIJ x");
(Mario.level[13] = "IIIIIILG EKIIIIIIIILG EKIIIIIIIIIIIIIIIIIILG EKIIIIIIIIIIIIILG EKIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIILFFFFFFFFFG HIIIIIIIIIIJ EG HIJ HIIIIIIIILFFG HIIIJ x");
(Mario.level[14] = "IIIIIIILFFFFFKIIIIIIIIIILFFFFFFKIIIIIIIIIIIIIIIIIIIILFFFFFFFKIIIIIIIIIIIIIIILFFFFFFFFKIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ HIIIIIIIIIIJ HJ EG HIJUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUHIIIIIIIIIIILFFFKIIIJ x");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(((Mario.checkPoint == 11)) ? (235 * 25) : 25, 175);
Mario.instObjects.push(new Coin(2025, 225));
Mario.instObjects.push(new Coin(2000, 225));
Mario.instObjects.push(new Coin(5075, 175));
Mario.instObjects.push(new Coin(5100, 175));
Mario.instObjects.push(new Coin(5125, 175));
Mario.instObjects.push(new Coin(5150, 250));
Mario.instObjects.push(new Coin(5050, 250));
Mario.instObjects.push(new Coin(4225, 250));
Mario.instObjects.push(new Coin(4325, 250));
Mario.instObjects.push(new Coin(4725, 250));
Mario.instObjects.push(new Coin(4625, 250));
Mario.instObjects.push(new Coin(4700, 175));
Mario.instObjects.push(new Coin(4675, 175));
Mario.instObjects.push(new Coin(4650, 175));
Mario.instObjects.push(new Coin(4300, 175));
Mario.instObjects.push(new Coin(4250, 175));
Mario.instObjects.push(new Coin(4275, 175));
Mario.instObjects.push(new Coin(3700, 225));
Mario.instObjects.push(new Coin(3700, 250));
Mario.instObjects.push(new Coin(3725, 250));
Mario.instObjects.push(new Coin(3725, 225));
Mario.instObjects.push(new Coin(3875, 250));
Mario.instObjects.push(new Coin(3850, 275));
Mario.instObjects.push(new Coin(3850, 250));
Mario.instObjects.push(new Coin(3875, 275));
Mario.instObjects.push(new Coin(2350, 225));
Mario.instObjects.push(new Coin(2325, 200));
Mario.instObjects.push(new Coin(1150, 175));
Mario.instObjects.push(new Coin(1125, 175));
Mario.instObjects.push(new Coin(1150, 200));
Mario.instObjects.push(new Coin(1850, 200));
Mario.instObjects.push(new Coin(1825, 175));
Mario.instObjects.push(new Coin(1425, 250));
Mario.instObjects.push(new Coin(1375, 250));
Mario.instObjects.push(new Coin(850, 150));
Mario.instObjects.push(new Coin(900, 150));
Mario.instObjects.push(new Coin(725, 275));
Mario.instObjects.push(new Coin(650, 275));
Mario.instObjects.push(new Coin(275, 275));
Mario.instObjects.push(new Coin(225, 275));
Mario.instEnemies.push(new Spiny(450, 175));
Mario.instEnemies.push(new Spiny(375, 250));
Mario.instEnemies.push(new Spiny(800, 275));
Mario.instEnemies.push(new Spiny(1000, 125));
Mario.instEnemies.push(new Spiny(1525, 275));
Mario.instEnemies.push(new Spiny(1650, 175));
Mario.instEnemies.push(new Spiny(2250, 150));
Mario.instEnemies.push(new Spiny(2150, 275));
Mario.instEnemies.push(new Spiny(2450, 225));
Mario.instEnemies.push(new Spiny(2575, 100));
Mario.instEnemies.push(new PStatic(150, 275));
Mario.instEnemies.push(new PStatic(300, 325));
Mario.instEnemies.push(new PStatic(500, 200));
Mario.instEnemies.push(new PStatic(525, 225));
Mario.instEnemies.push(new PStatic(550, 250));
Mario.instEnemies.push(new PStatic(575, 275));
Mario.instEnemies.push(new PStatic(600, 300));
Mario.instEnemies.push(new PStatic(775, 300));
Mario.instEnemies.push(new PStatic(825, 250));
Mario.instEnemies.push(new PStatic(1075, 150));
Mario.instEnemies.push(new PStatic(1100, 175));
Mario.instEnemies.push(new PStatic(1050, 125));
Mario.instEnemies.push(new PStatic(1200, 200));
Mario.instEnemies.push(new PStatic(1175, 200));
Mario.instEnemies.push(new PStatic(1225, 225));
Mario.instEnemies.push(new PStatic(1475, 325));
Mario.instEnemies.push(new PStatic(1450, 325));
Mario.instEnemies.push(new PStatic(1425, 325));
Mario.instEnemies.push(new PStatic(1550, 250));
Mario.instEnemies.push(new PStatic(1575, 225));
Mario.instEnemies.push(new PStatic(1600, 225));
Mario.instEnemies.push(new PStatic(1725, 125));
Mario.instEnemies.push(new PStatic(1750, 125));
Mario.instEnemies.push(new PStatic(1775, 125));
Mario.instEnemies.push(new PStatic(1875, 275));
Mario.instEnemies.push(new PStatic(2100, 325));
Mario.instEnemies.push(new PStatic(2200, 175));
Mario.instEnemies.push(new PStatic(2375, 250));
Mario.instEnemies.push(new PStatic(2725, 150));
Mario.instEnemies.push(new PStatic(2750, 175));
Mario.instObjects.push(new Mill(2675, 100, 120, 3));
Mario.instObjects.push(new Mill(1800, 150, 150, 3));
Mario.instObjects.push(new Mill(425, 200, 110, 3));
Mario.instEnemies.push(new JumperThrower(3275, 350, -10, 1, 190, 10, 3));
Mario.instEnemies.push(new JumperThrower(3800, 350, -6, 2, 210, 20, 4));
Mario.instEnemies.push(new HammerTroopa(4275, 325));
Mario.instEnemies.push(new HammerTroopa(5100, 325));
Mario.instEnemies.push(new Spiny(4625, 325));
Mario.instEnemies.push(new Spiny(4725, 325));
Mario.instBlocks.push(new Brick(4250, 250));
Mario.instBlocks.push(new Brick(4275, 250));
Mario.instBlocks.push(new Brick(4300, 250));
Mario.instBlocks.push(new Brick(4700, 250));
Mario.instBlocks.push(new Brick(4675, 250));
Mario.instBlocks.push(new Brick(4650, 250));
Mario.instBlocks.push(new Brick(5075, 250));
Mario.instBlocks.push(new Brick(5100, 250));
Mario.instBlocks.push(new Brick(5125, 250));
Mario.instBlocks.push(new Brick(4325, 175));
Mario.instBlocks.push(new Bonus(450, 75, 1));
Mario.instBlocks.push(new Bonus(475, 75, 1));
Mario.instBlocks.push(new Bonus(3025, 200, 1));
Mario.instBlocks.push(new Bonus(3050, 200, 1));
Mario.instBlocks.push(new Bonus(3400, 150, 1));
Mario.instBlocks.push(new Bonus(3425, 150, 1));
Mario.instBlocks.push(new Bonus(4225, 175, 1));
Mario.instBlocks.push(new Bonus(4325, 175, 1));
Mario.instBlocks.push(new Bonus(4225, 275, 0));
Mario.instBlocks.push(new Bonus(4325, 275, 0));
Mario.instBlocks.push(new Bonus(4625, 275, 0));
Mario.instBlocks.push(new Bonus(4725, 275, 0));
Mario.instBlocks.push(new Bonus(4625, 175, 1));
Mario.instBlocks.push(new Bonus(4725, 175, 1));
Mario.instBlocks.push(new Bonus(5050, 175, 1));
Mario.instBlocks.push(new Bonus(5150, 175, 1));
Mario.instBlocks.push(new Bonus(5150, 275, 0));
Mario.instBlocks.push(new Bonus(5050, 275, 0));
Mario.instBlocks.push(new Bonus(0, 50, 4, true));
Mario.instBlocks.push(new Bonus(3025, 100, 2));
Mario.instBlocks.push(new Bonus(3050, 100, 1));
Mario.instBlocks.push(new BrickMulti(3000, 200));
Mario.instBlocks.push(new Brick(3075, 200));
Mario.instEnemies.push(new Spiny(5750, 325));
Mario.instEnemies.push(new FlyGreen(5575, 175));
Mario.instEnemies.push(new FlyGreen(5525, 175));
Mario.instEnemies.push(new FlyGreen(5475, 175));
Mario.instEnemies.push(new FlyGreen(3550, 175));
Mario.instEnemies.push(new FlyGreen(3475, 250));
Mario.instEnemies.push(new Spiny(3625, 150));
Mario.instEnemies.push(new FlyRed(3900, 125));
Mario.instEnemies.push(new FlyRed(3950, 175));
Mario.instEnemies.push(new Spiny(2825, 250));
Mario.instEnemies.push(new FlyGreen(3075, 300));
Mario.instEnemies.push(new FlyGreen(3125, 300));
Mario.instEnemies.push(new Spiny(3050, 175));
Mario.instEnemies.push(new Bowser((242 * 25), 100, (237 * 25), 7, 15, 5, 2, 20));
Mario.instEffects.push(new Back(3));
break;
case 12:
(Mario.levelGenre = 1);
(Mario.musika = 1);
(Mario.level[0] = "NNNNN23NNNNNNNNNNNNNNNNNNNNNNNNNtuv NNNNNNNNNNNN tuvNNNNNNNNNNNNNNtuvNNNNNNNNNNNNNNtuvNNNNNNNNNNNNNNtuv ");
(Mario.level[1] = "v 45 tuv 23NNNNNNNNNNNNNNNNNNNNNNNtuv tuv tuv tuv ");
(Mario.level[2] = "v tuv 23 tuv tuv tuv tuv ");
(Mario.level[3] = "v qrs tuv qrs 23 tuv tuv tuv tuv ");
(Mario.level[4] = "v tuv tuv tuv 23 qrsN N tuv NNN tuv tuv ");
(Mario.level[5] = "v78 6NuN8 tuv tuv 23 tuvNNNNNNNNNNNNN tuv tuv tuv ");
(Mario.level[6] = "vab 01 9NuNb 01 tuv tuv 45 tuv tuv tuv tuv ");
(Mario.level[7] = "v NN tuv NN tuv tuv tuv tuv tuv NNN ");
(Mario.level[8] = "v NN tuv tuv tuv tuv N Ntuv NNN ");
(Mario.level[9] = "v 23 tuv NNN tuv tuv NNNNNNNNNNNNNNNN ");
(Mario.level[10] = "v 45 tuv tuv tuv ");
(Mario.level[11] = "v 01 tuv tuv tuv ");
(Mario.level[12] = "v 23 tuv qrs tuv tuv qrs ");
(Mario.level[13] = "v 23 tuv tuv tuv tuvN Ntuv ");
(Mario.level[14] = "vqrrrrrrrrrrrrstuvqrrrrrrrrrrrrstuvqrrrrrrrrrrrrstuvqrrrrrrrrrrrrstuvqrrrrrrrrrrrrrNNNrrs qrrrrrrrrrrrrrrrrrrrrrrrrrrrrr");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Mario.instObjects.push(new Coin(1550, 225));
Mario.instObjects.push(new Coin(1550, 200));
Mario.instObjects.push(new Coin(1375, 225));
Mario.instObjects.push(new Coin(1375, 200));
Mario.instObjects.push(new Coin(1475, 175));
Mario.instObjects.push(new Coin(1475, 200));
Mario.instObjects.push(new Coin(1475, 225));
Mario.instObjects.push(new Coin(1450, 225));
Mario.instObjects.push(new Coin(1450, 200));
Mario.instObjects.push(new Coin(1450, 175));
Mario.instObjects.push(new Coin(900, 50));
Mario.instObjects.push(new Coin(900, 25));
Mario.instObjects.push(new Coin(1175, 100));
Mario.instObjects.push(new Coin(1175, 125));
Mario.instObjects.push(new Coin(925, 200));
Mario.instObjects.push(new Coin(925, 175));
Mario.instObjects.push(new Coin(525, 150));
Mario.instObjects.push(new Coin(550, 150));
Mario.instObjects.push(new Coin(550, 175));
Mario.instObjects.push(new Coin(525, 175));
Mario.instObjects.push(new Coin(500, 175));
Mario.instObjects.push(new Coin(500, 150));
Mario.instObjects.push(new Coin(500, 125));
Mario.instObjects.push(new Coin(525, 125));
Mario.instObjects.push(new Coin(550, 125));
Mario.instObjects.push(new Coin(700, 175));
Mario.instObjects.push(new Coin(750, 125));
Mario.instObjects.push(new Coin(750, 150));
Mario.instObjects.push(new Coin(750, 175));
Mario.instObjects.push(new Coin(725, 175));
Mario.instObjects.push(new Coin(725, 150));
Mario.instObjects.push(new Coin(700, 150));
Mario.instObjects.push(new Coin(700, 125));
Mario.instObjects.push(new Coin(725, 125));
Mario.instObjects.push(new Coin(350, 200));
Mario.instObjects.push(new Coin(350, 175));
Mario.instObjects.push(new Coin(150, 100));
Mario.instObjects.push(new Coin(150, 125));
Mario.instObjects.push(new Coin(50, 75));
Mario.instObjects.push(new Coin(50, 50));
Mario.instObjects.push(new Coin(50, 25));
Mario.instObjects.push(new Coin(25, 25));
Mario.instObjects.push(new Coin(25, 100));
Mario.instObjects.push(new Coin(25, 75));
Player.ResetPlayer(50, 325);
Mario.instEnemies.push(new PFlame(225, 275, -1));
Mario.instEnemies.push(new PPlant(100, 250));
Mario.instEnemies.push(new PPlant(125, 50, -1));
Mario.instEnemies.push(new FlyRed(300, 75));
Mario.instBlocks.push(new Bonus(350, 225, 1));
Mario.instBlocks.push(new Bonus(25, 250, 2, true));
Mario.instEnemies.push(new PStatic(50, 100));
Mario.instBlocks.push(new Bonus(150, 175, 1, true));
Mario.instBlocks.push(new Bonus(25, 50, 3, true));
Mario.instEnemies.push(new Goomba(325, 325));
Mario.instEnemies.push(new Goomba(225, 325));
Mario.instEnemies.push(new FlyGreen(475, 300));
Mario.instEnemies.push(new FlyGreen(575, 300));
Mario.instEnemies.push(new FlyGreen(750, 300));
Mario.instEnemies.push(new FlyGreen(650, 300));
Mario.instEnemies.push(new Spiny(500, 325));
Mario.instEnemies.push(new Spiny(550, 325));
Mario.instEnemies.push(new Spiny(675, 325));
Mario.instEnemies.push(new Spiny(725, 325));
Mario.instBlocks.push(new Bonus(525, 225, 1, true));
Mario.instBlocks.push(new Bonus(725, 225, 1, true));
Mario.instBlocks.push(new Bonus(725, 100, 3, true));
Mario.instBlocks.push(new Brick(350, 250));
Mario.instBlocks.push(new BrickMulti(450, 225));
Mario.instBlocks.push(new Brick(450, 250));
Mario.instBlocks.push(new Brick(875, 225));
Mario.instBlocks.push(new Brick(900, 225));
Mario.instBlocks.push(new Brick(950, 225));
Mario.instBlocks.push(new Brick(975, 225));
Mario.instBlocks.push(new Brick(1000, 225));
Mario.instBlocks.push(new Brick(1025, 225));
Mario.instBlocks.push(new Brick(1050, 225));
Mario.instBlocks.push(new Brick(1075, 225));
Mario.instBlocks.push(new Brick(1100, 225));
Mario.instBlocks.push(new Brick(1150, 225));
Mario.instBlocks.push(new Brick(1125, 225));
Mario.instBlocks.push(new Brick(1200, 150));
Mario.instBlocks.push(new Brick(1150, 150));
Mario.instBlocks.push(new Brick(1125, 150));
Mario.instBlocks.push(new Brick(1100, 150));
Mario.instBlocks.push(new Brick(1075, 150));
Mario.instBlocks.push(new Brick(1050, 150));
Mario.instBlocks.push(new Brick(1025, 150));
Mario.instBlocks.push(new Brick(1000, 150));
Mario.instBlocks.push(new Brick(975, 150));
Mario.instBlocks.push(new Brick(950, 150));
Mario.instBlocks.push(new Brick(925, 150));
Mario.instBlocks.push(new Brick(900, 150));
Mario.instBlocks.push(new Brick(875, 75));
Mario.instBlocks.push(new Brick(925, 75));
Mario.instBlocks.push(new Brick(950, 75));
Mario.instBlocks.push(new Brick(975, 75));
Mario.instBlocks.push(new Brick(1000, 75));
Mario.instBlocks.push(new Brick(1025, 75));
Mario.instBlocks.push(new Brick(1050, 75));
Mario.instBlocks.push(new Brick(1075, 75));
Mario.instBlocks.push(new Brick(1100, 75));
Mario.instBlocks.push(new Brick(1125, 75));
Mario.instBlocks.push(new Brick(1150, 75));
Mario.instBlocks.push(new Brick(1175, 75));
Mario.instBlocks.push(new Brick(1175, 225));
Mario.instBlocks.push(new Bonus(1200, 325, 0));
Mario.instEnemies.push(new HammerTroopa(1050, 50, true));
Mario.instBlocks.push(new BrickMulti(900, 75));
Mario.instBlocks.push(new BrickMulti(1175, 150));
Mario.instBlocks.push(new BrickMulti(925, 225));
Mario.instBlocks.push(new Bonus(875, 300, 2, true));
Mario.instEnemies.push(new HammerTroopa(1475, 325));
Mario.instEnemies.push(new Spiny(1375, 325));
Mario.instEnemies.push(new Spiny(1550, 325));
Mario.instEnemies.push(new PStatic(1525, 0));
Mario.instEnemies.push(new PStatic(1575, 0));
Mario.instEnemies.push(new PStatic(1625, 0));
Mario.instEnemies.push(new PStatic(1675, 0));
Mario.instEnemies.push(new PStatic(1725, 0));
Mario.instEnemies.push(new PStatic(1775, 0));
Mario.instEnemies.push(new PStatic(1825, 0));
Mario.instEnemies.push(new PStatic(1875, 0));
Mario.instEnemies.push(new PStatic(1925, 0));
Mario.instEnemies.push(new PStatic(1975, 0));
Mario.instEnemies.push(new PStatic(2025, 0));
Mario.instEnemies.push(new PStatic(2050, 0));
Mario.instEnemies.push(new PStatic(2000, 0));
Mario.instEnemies.push(new PStatic(1950, 0));
Mario.instEnemies.push(new PStatic(1900, 0));
Mario.instEnemies.push(new PStatic(1850, 0));
Mario.instEnemies.push(new PStatic(1800, 0));
Mario.instEnemies.push(new PStatic(1750, 0));
Mario.instEnemies.push(new PStatic(1700, 0));
Mario.instEnemies.push(new PStatic(1650, 0));
Mario.instEnemies.push(new PStatic(1600, 0));
Mario.instEnemies.push(new PStatic(1550, 0));
Mario.instBlocks.push(new Bonus(1625, 250, 1));
Mario.instBlocks.push(new Bonus(1625, 150, 1));
Mario.instBlocks.push(new Bonus(1300, 250, 1));
Mario.instBlocks.push(new Bonus(1300, 150, 1));
Mario.instEnemies.push(new Spiny(1775, 100));
Mario.instEnemies.push(new Spiny(1975, 100));
Mario.instEnemies.push(new Spiny(1825, 200));
Mario.instEnemies.push(new Spiny(1975, 200));
Mario.instEnemies.push(new Spiny(1800, 325));
Mario.instEnemies.push(new Spiny(1950, 325));
Mario.instObjects.push(new Cannon(1775, 200));
Mario.instObjects.push(new Cannon(2000, 100));
Mario.instObjects.push(new Cannon(2025, 325));
Mario.instObjects.push(new Cannon(1725, 300));
Mario.instObjects.push(new ElevatorFall(2300, 300, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(2475, 250, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(2625, 350, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(2825, 275, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(2950, 350, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(3425, 350, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(3325, 175, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(3125, 175, 25, "elevator_1"));
Mario.instObjects.push(new ElevatorFall(3075, 275, 25, "elevator_1"));
Mario.instObjects.push(new Finish(3650, 325));
Mario.instObjects.push(new Cannon(350, 100));
Mario.instEnemies.push(new PFlame(225, 125));
Mario.instEnemies.push(new Spiny(275, 325));
Mario.instEnemies.push(new Spiny(175, 325));
Mario.instEnemies.push(new PFlame(600, 125));
Mario.instEnemies.push(new HammerTroopa(975, 325, true));
Mario.instEnemies.push(new HammerTroopa(1100, 200, true));
Mario.instEnemies.push(new HammerTroopa(1075, 125, true));
Mario.instEnemies.push(new HammerTroopa(975, 50, true));
Mario.instEnemies.push(new HammerTroopa(1025, 200, true));
Mario.instEnemies.push(new PFlame(1450, 175, -1));
Mario.instEffects.push(new Back(1));
_local2 = (Mario.instEnemies.length - 1);
while (_local2 >= 0) {
if ((Mario.instEnemies[_local2] is Enemy)){
(Mario.instEnemies[_local2].active = true);
};
_local2--;
};
break;
case 13:
(Mario.levelGenre = 0);
(Mario.musika = 0);
Mario.generateBackground(0);
(Mario.level[0] = " ");
(Mario.level[1] = " ");
(Mario.level[2] = " cde M M MMM M M M M M ");
(Mario.level[3] = " ce cddde cddde cddde ce fgh cde cde cde cde M M MMM M M M M M ");
(Mario.level[4] = " MM MMMMM MMMMM MMMMM MM fgh MMM MMM MMM MMM M M M M M ");
(Mario.level[5] = " M M fgh M M M M M M M M ");
(Mario.level[6] = " M M 01 fgh 01 M M M M M M M M M ");
(Mario.level[7] = " MM M M M ce 23 fgh 23 M M M M M M M M M M M ");
(Mario.level[8] = " MM MM ce cde cde cde ce fh MM78 fgh 67MM M M M M M M M M M M M ");
(Mario.level[9] = " MM fh MMM MMM MMM fh fh MMab ijklm ijklm ijklm ijklm ijklm 9aMM M M M M M M M M M M M M ");
(Mario.level[10] = " MM MM fh M fh fh ce 23 nop nop nop nop nop 23 M M MM M M M M M M M M M M M M ");
(Mario.level[11] = " MM fh M fh ce fh fh 23 nop nop nop nop nop 23 M 01 MM M M M M M M M M M ");
(Mario.level[12] = " M fh M fh fh ce fh fh 23cdddeocdddeocdddeocdddeocdddeocddde23 M M 23 01 M M M M M M M M M M M M M M M M ");
(Mario.level[13] = " M cddddddddddddfhdddddddddddddddddddfhddddddde ce ce ce fh fh fh fh 23fggghofggghofggghofggghofggghofgggh23 M M 23 23 M M MM M M M M M M M M ");
(Mario.level[14] = "dddddddddde M M M M MM cdde fggggggggggggfhgggggggggggggggggggfhgggggggh ce fh ce fh ce fh ce fh fh fh fh ce 23fggghofggghofggghofggghofggghofgggh23 cddddddddde cdddddde cdddddddddde cdddddde cde cddddde cdddddddde M cddde cddde cddde ce cde M M MM MM M M M M cddddddddddddddddddddddd");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 150);
Player.ResetPlayer(50, 275);
Mario.instEffects.push(new Background(3850, 50, "back_hill_big", 0.82));
Mario.instEffects.push(new Background(25, 125, "back_clouds_8", 0.64));
Mario.instEffects.push(new Background(1350, 150, "back_hill_big", 0.59));
Mario.instEffects.push(new Background(3050, 300, "back_hill", 0.55));
Mario.instEffects.push(new Background(6075, 350, "back_hill", 0.5));
Mario.instEffects.push(new Background(5050, 300, "back_hill", 0.39));
Mario.instEffects.push(new Background(4625, 75, "back_clouds_3", 0.18));
Mario.instEffects.push(new Background(7875, 100, "back_clouds_1", 0.17));
Mario.instEffects.push(new Background(6575, 50, "back_clouds_3", 0.12));
Mario.instEffects.push(new Background(3200, 25, "back_clouds_2", 0.05));
Mario.instObjects.push(new Coin(4975, 225));
Mario.instObjects.push(new Coin(4975, 200));
Mario.instObjects.push(new Coin(5025, 225));
Mario.instObjects.push(new Coin(5025, 200));
Mario.instObjects.push(new Coin(4525, 250));
Mario.instObjects.push(new Coin(4450, 250));
Mario.instObjects.push(new Coin(4350, 250));
Mario.instObjects.push(new Coin(4300, 250));
Mario.instObjects.push(new Coin(4200, 250));
Mario.instObjects.push(new Coin(4050, 250));
Mario.instObjects.push(new Coin(4150, 250));
Mario.instObjects.push(new Coin(4000, 250));
Mario.instObjects.push(new Coin(3900, 250));
Mario.instObjects.push(new Coin(3850, 250));
Mario.instObjects.push(new Coin(3750, 250));
Mario.layerWall.addChild(AddGraphic(3675, 275, "back_fence_1"));
Mario.instObjects.push(new Coin(3700, 250));
Mario.instObjects.push(new Coin(3675, 250));
Mario.instObjects.push(new Coin(3575, 300));
Mario.instObjects.push(new Coin(3550, 300));
Mario.instObjects.push(new Coin(2375, 125));
Mario.instObjects.push(new Coin(2375, 150));
Mario.instObjects.push(new Coin(2325, 150));
Mario.instObjects.push(new Coin(2325, 125));
Mario.instObjects.push(new Coin(2075, 150));
Mario.instObjects.push(new Coin(2075, 125));
Mario.instObjects.push(new Coin(2025, 125));
Mario.instObjects.push(new Coin(2025, 150));
Mario.instObjects.push(new Coin(1450, 175));
Mario.instObjects.push(new Coin(825, 250));
Mario.instObjects.push(new Coin(825, 225));
Mario.instObjects.push(new Coin(225, 250));
Mario.instObjects.push(new Coin(200, 250));
Mario.layerWall.addChild(AddGraphic(8000, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(8475, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(8450, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8425, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8400, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8375, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8350, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8325, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8300, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8275, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8250, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8225, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8200, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8175, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8150, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8100, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8075, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(8025, 325, "back_fence_2"));
Mario.instEffects.push(new Cloud(8350, 125));
Mario.instEffects.push(new Cloud(7925, 25));
Mario.instEffects.push(new Cloud(7175, 150));
Mario.instEffects.push(new Cloud(6025, 50));
Mario.instEffects.push(new Cloud(5275, 175));
Mario.instEffects.push(new Cloud(4450, 25));
Mario.instEffects.push(new Cloud(3625, 75));
Mario.instEffects.push(new Cloud(100, 100));
Mario.instEffects.push(new Cloud(475, 25));
Mario.instEffects.push(new Cloud(1200, 75));
Mario.instEffects.push(new Cloud(1775, 25));
Mario.instEffects.push(new Cloud(2475, 125));
Mario.instEffects.push(new Cloud(3025, 50));
Mario.layerWall.addChild(AddGraphic(7100, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(7125, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7075, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6975, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(7000, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7025, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(7050, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6875, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(6875, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(6850, 275, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(6850, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(6850, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(6775, 275, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(6775, 300, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(6775, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(6575, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(6650, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6600, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6625, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6275, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(6350, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(6325, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(6300, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5850, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(5925, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(5900, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5875, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4700, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(4725, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4750, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4800, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4825, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4850, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4450, 275, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(4525, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(4475, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4500, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(4100, 0, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(4100, 25, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4050, 250, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(4050, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3750, 275, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(3725, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3700, 275, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(3500, 200, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(3500, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3325, 200, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3325, 225, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(3325, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3325, 250, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3275, 200, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3275, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3275, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3125, 250, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(3125, 275, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(3125, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(3025, 300, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(3025, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2775, 300, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2850, 300, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2825, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2800, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2700, 300, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2650, 300, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2675, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2475, 0, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(2475, 25, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(2475, 50, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2125, 50, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(2275, 50, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(2150, 50, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2250, 50, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2225, 50, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2200, 50, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(2175, 50, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1925, 25, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1925, 50, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1875, 100, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(1875, 125, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1875, 150, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1875, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(1875, 200, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(1875, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1875, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1875, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1875, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1825, 250, "back_tree_5"));
Mario.layerWall.addChild(AddGraphic(1825, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1825, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1625, 300, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(1800, 300, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(1650, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1675, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1700, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1725, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1750, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(1775, 300, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(750, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(775, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(800, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(475, 325, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(550, 325, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(525, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(500, 325, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(5200, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5200, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5200, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5100, 175, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5100, 200, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5100, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5100, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5100, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(5000, 325, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4875, 225, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4875, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4875, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(4875, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1925, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1925, 150, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(1925, 175, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2475, 175, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2475, 150, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2475, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2375, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2375, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2375, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2325, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2325, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2325, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2225, 175, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2225, 150, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2225, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2175, 125, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2175, 150, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2175, 175, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2075, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2075, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2075, 300, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2025, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2025, 275, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(2025, 300, "back_tree_1"));
Mario.instEnemies.push(new PStatic(5100, 275));
Mario.instEnemies.push(new PStatic(4875, 300));
Mario.instObjects.push(new Finish(7925, 325));
Mario.instEnemies.push(new Lakitu(175, 13));
Mario.instEnemies.push(new Lakitu(575, 15));
Mario.instEnemies.push(new Lakitu(900, 17));
Mario.instObjects.push(new Elevator(1975, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(2125, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(2275, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(2425, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(4925, 100, 50, "elevator_2"));
Mario.instObjects.push(new Elevator(5050, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(5150, 100, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7375, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7425, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7525, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7575, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7625, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7675, 75, 25, "elevator_1"));
Mario.instObjects.push(new Elevator(7725, 75, 25, "elevator_1"));
Mario.instBlocks.push(new Bonus(3600, 225, 4, true));
Mario.instBlocks.push(new Bonus(4150, 100, 4, true));
Mario.instBlocks.push(new Bonus(5300, 250, 1));
Mario.instBlocks.push(new Bonus(5275, 250, 1));
Mario.instBlocks.push(new Bonus(5250, 250, 2));
Mario.instBlocks.push(new Bonus(5325, 250, 3, true));
Mario.instBlocks.push(new Bonus(2500, 250, 5, true));
break;
case 14:
(Mario.levelGenre = 0);
(Mario.musika = 0);
Mario.generateBackground(0);
(Mario.level[0] = " ");
(Mario.level[1] = " ");
(Mario.level[2] = " ");
(Mario.level[3] = " ");
(Mario.level[4] = " ");
(Mario.level[5] = " ");
(Mario.level[6] = " ");
(Mario.level[7] = " ");
(Mario.level[8] = " ");
(Mario.level[9] = " ");
(Mario.level[10] = " ");
(Mario.level[11] = " S ");
(Mario.level[12] = " MMMMM R S S S ");
(Mario.level[13] = "ijkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkklm");
(Mario.level[14] = " nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooop ");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Mario.instEffects.push(new Cloud(4925, 75));
Mario.instEffects.push(new Cloud(4425, 125));
Mario.instEffects.push(new Cloud(3875, 75));
Mario.instEffects.push(new Cloud(3375, 25));
Mario.instEffects.push(new Cloud(2925, 125));
Mario.instEffects.push(new Cloud(2475, 75));
Mario.instEffects.push(new Cloud(2000, 100));
Mario.instEffects.push(new Cloud(1425, 50));
Mario.instEffects.push(new Cloud(1050, 150));
Mario.instEffects.push(new Cloud(625, 50));
Mario.instEffects.push(new Cloud(125, 100));
Mario.instObjects.push(new Coin(4200, 200));
Mario.instObjects.push(new Coin(3500, 200));
Mario.instObjects.push(new Coin(2850, 200));
Mario.instObjects.push(new Coin(1675, 200));
Mario.instObjects.push(new Coin(1225, 200));
Mario.instObjects.push(new Coin(625, 200));
Player.ResetPlayer(75, 275);
Mario.instEnemies.push(new HammerTroopa(425, 300, true));
Mario.instEnemies.push(new Spiny(675, 300));
Mario.instEnemies.push(new Spiny(775, 300));
Mario.instEnemies.push(new Spiny(875, 300));
Mario.instEnemies.push(new Spiny(975, 300));
Mario.instEnemies.push(new Spiny(1075, 300));
Mario.instEnemies.push(new Spiny(1175, 300));
Mario.instObjects.push(new Cannon(625, 250));
Mario.instObjects.push(new Cannon(1225, 275));
Mario.instEnemies.push(new HammerTroopa(1375, 300, true));
Mario.instEnemies.push(new HammerTroopa(1550, 300, true));
Mario.instEnemies.push(new Spiny(1800, 300));
Mario.instObjects.push(new Cannon(1675, 300));
Mario.instEnemies.push(new Spiny(1900, 300));
Mario.instEnemies.push(new HammerTroopa(2050, 300));
Mario.instEnemies.push(new HammerTroopa(2300, 300, true));
Mario.instEnemies.push(new HammerTroopa(2625, 300));
Mario.instEnemies.push(new PStatic(2500, 300));
Mario.instEnemies.push(new PStatic(2425, 300));
Mario.instEnemies.push(new PStatic(2125, 300));
Mario.instEnemies.push(new PStatic(2200, 300));
Mario.instObjects.push(new Cannon(2850, 275));
Mario.instEnemies.push(new HammerTroopa(3025, 300, true));
Mario.instEnemies.push(new HammerTroopa(3175, 300, true));
Mario.instEnemies.push(new BBeetle(3275, 300));
Mario.instEnemies.push(new BBeetle(3325, 300));
Mario.instEnemies.push(new Spiny(3300, 300));
Mario.instObjects.push(new Cannon(3500, 300));
Mario.instEnemies.push(new Lakitu(400, 50));
Mario.instEnemies.push(new HammerTroopa(3750, 300));
Mario.instEnemies.push(new HammerTroopa(4000, 300, true));
Mario.instObjects.push(new Cannon(4200, 275));
Mario.instObjects.push(new Finish(4550, 300));
Mario.instEnemies.push(new HammerTroopa(375, 300));
Mario.instEnemies.push(new PStatic(400, 300));
Mario.instEnemies.push(new PStatic(900, 300));
Mario.instEnemies.push(new PStatic(1150, 300));
Mario.instEnemies.push(new PStatic(1275, 300));
Mario.instEnemies.push(new PStatic(1725, 300));
Mario.instEnemies.push(new PStatic(3150, 300));
Mario.instEnemies.push(new PStatic(3400, 300));
Mario.instEnemies.push(new PStatic(3725, 300));
Mario.instEnemies.push(new PStatic(3650, 300));
Mario.instEnemies.push(new PStatic(3875, 300));
Mario.instEnemies.push(new PStatic(4275, 300));
Mario.instEnemies.push(new PStatic(4425, 300));
Mario.instEnemies.push(new PStatic(3600, 300));
Mario.instBlocks.push(new Bonus(650, 250, 4, true));
Mario.instBlocks.push(new Bonus(25, 250, 2, true));
Mario.instEffects.push(new Back(4));
break;
case 15:
(Mario.musika = 2);
(Mario.levelGenre = 3);
(Mario.level[0] = "ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAB");
(Mario.level[1] = " CD ABABABABAB 45 U U U 45 U U ");
(Mario.level[2] = " AB CABABABABD U U U U U ");
(Mario.level[3] = " CD ABABABABD UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUUUUU U UUUUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUUUUUUUUU UUUUUUUUUUUUUUUUU UUUU ");
(Mario.level[4] = " AB EFFFFFG CABABABD 45 U U 45 U 45 U U U U U U ");
(Mario.level[5] = " CD HIIIIIJ ABABABAB U U U U U U U U U ");
(Mario.level[6] = " AB HIIIIIJ CABABABD 01 U 01 U U U 01 U 01 U 01 U 01 01 U ");
(Mario.level[7] = " CD HIIIIIJ ABABABAB UUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUUUUU UUUUUUUUUU UUUU UUUUUUUUUUUU UUUUUUUUUUUUUUUUU UUUUUU UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUU U ");
(Mario.level[8] = " AB HIIIIIJ CABABD U 45 U U 45 U U U U U 45 U U ");
(Mario.level[9] = "FFG HIIIIIJ ABABAB U U U U U U U U U ");
(Mario.level[10] = "IILG HIIIIIJ CABAB UUUUUUUUUUUUUUUUUUUUUUUUUUUUU UUUUUUUUUUUUUUU UUUUUUUUUUUU UUUUUUUUUUUUUUUUU UUUUUUUUUUUUUUUUUUUUUU UUU UUUUUUUUUUUUUUUUUUUU U UUUUUUUUUUU UUUUUUUUUUUUU UUU ");
(Mario.level[11] = "IIILFFFFFFFFFFFFFKIIIIIJ U U U U 45 U U 45 U 01 ");
(Mario.level[12] = "IIIIIIIIIIIIIIIIIIIIIIIJ U U U U U U U 23 ");
(Mario.level[13] = "IIIIIIIIIIIIIIIIIIIIIIIJ U 01 01 U 01 U U 01 U 01 U 01 23 ");
(Mario.level[14] = "IIIIIIIIIIIIIIIIIIIIIIIJ EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFG ");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 150);
Mario.instObjects.push(new Coin(375, 125));
Mario.instObjects.push(new Coin(375, 175));
Mario.instObjects.push(new Coin(375, 225));
Mario.instObjects.push(new Coin(550, 50));
Mario.instObjects.push(new Coin(500, 50));
Mario.instObjects.push(new Coin(450, 50));
Mario.instObjects.push(new Coin(4700, 300));
Mario.instObjects.push(new Coin(4350, 300));
Mario.instObjects.push(new Coin(4400, 300));
Mario.instObjects.push(new Coin(4450, 225));
Mario.instObjects.push(new Coin(4500, 225));
Mario.instObjects.push(new Coin(4700, 225));
Mario.instObjects.push(new Coin(4650, 125));
Mario.instObjects.push(new Coin(4700, 125));
Mario.instObjects.push(new Coin(4700, 50));
Mario.instObjects.push(new Coin(4425, 50));
Mario.instObjects.push(new Coin(4375, 50));
Mario.instObjects.push(new Coin(4225, 125));
Mario.instObjects.push(new Coin(4175, 125));
Mario.instObjects.push(new Coin(3800, 50));
Mario.instObjects.push(new Coin(3950, 300));
Mario.instObjects.push(new Coin(4000, 300));
Mario.instObjects.push(new Coin(4050, 225));
Mario.instObjects.push(new Coin(3900, 225));
Mario.instObjects.push(new Coin(3550, 125));
Mario.instObjects.push(new Coin(3500, 125));
Mario.instObjects.push(new Coin(3375, 225));
Mario.instObjects.push(new Coin(2650, 125));
Mario.instObjects.push(new Coin(2600, 125));
Mario.instObjects.push(new Coin(2450, 125));
Mario.instObjects.push(new Coin(2400, 125));
Mario.instObjects.push(new Coin(3400, 300));
Mario.instObjects.push(new Coin(3350, 300));
Mario.instObjects.push(new Coin(3200, 300));
Mario.instObjects.push(new Coin(3150, 300));
Mario.instObjects.push(new Coin(3100, 225));
Mario.instObjects.push(new Coin(3050, 225));
Mario.instObjects.push(new Coin(3025, 150));
Mario.instObjects.push(new Coin(2975, 150));
Mario.instObjects.push(new Coin(2650, 50));
Mario.instObjects.push(new Coin(2725, 300));
Mario.instObjects.push(new Coin(2675, 300));
Mario.instObjects.push(new Coin(2550, 225));
Mario.instObjects.push(new Coin(2500, 225));
Mario.instObjects.push(new Coin(2225, 225));
Mario.instObjects.push(new Coin(2275, 225));
Mario.instObjects.push(new Coin(2075, 125));
Mario.instObjects.push(new Coin(2025, 125));
Mario.instObjects.push(new Coin(1700, 300));
Mario.instObjects.push(new Coin(1750, 300));
Mario.instObjects.push(new Coin(1900, 225));
Mario.instObjects.push(new Coin(1850, 225));
Mario.instObjects.push(new Coin(1550, 125));
Mario.instObjects.push(new Coin(1500, 125));
Mario.instEnemies.push(new Spiny(575, 75));
Mario.instObjects.push(new ElevatorFall(600, 100, 25, "elevator_1"));
Mario.instBlocks.push(new Bonus(400, 175, 1, true));
Player.ResetPlayer(25, 200);
Mario.instEnemies.push(new PPlant(1025, 125));
Mario.instEnemies.push(new PPlant(1925, 125));
Mario.instEnemies.push(new PPlant(2125, 300));
Mario.instEnemies.push(new PPlant(2600, 300));
Mario.instEnemies.push(new PPlant(2775, 125));
Mario.instEnemies.push(new PPlant(2975, 300));
Mario.instEnemies.push(new PPlant(3250, 125));
Mario.instEnemies.push(new PPlant(3775, 300));
Mario.instEnemies.push(new PPlant(3850, 125));
Mario.instEnemies.push(new PPlant(4175, 300));
Mario.instEnemies.push(new PPlant(4350, 125));
Mario.instEnemies.push(new PPlant(4550, 125));
Mario.instEnemies.push(new PPlant(4575, 300));
Mario.instEnemies.push(new PPlant(4450, 300, -1));
Mario.instEnemies.push(new PPlant(3525, 300, -1));
Mario.instEnemies.push(new PPlant(2525, 125, -1));
Mario.instEnemies.push(new PPlant(2125, 125, -1));
Mario.instEnemies.push(new PPlant(1400, 125, -1));
Mario.instObjects.push(new Pipein((195 * 25), (11 * 25), (195 * 25), (11 * 25), 1, 4));
Mario.instEffects.push(new Back(3));
break;
case 16:
(Mario.levelGenre = 3);
(Mario.level[0] = "D C45D C45D CM");
(Mario.level[1] = " M");
(Mario.level[2] = " M");
(Mario.level[3] = " M");
(Mario.level[4] = " M");
(Mario.level[5] = " M");
(Mario.level[6] = " M");
(Mario.level[7] = " M");
(Mario.level[8] = " M");
(Mario.level[9] = " M");
(Mario.level[10] = " M");
(Mario.level[11] = " OOOOOOOOOOOOOO M");
(Mario.level[12] = " M");
(Mario.level[13] = " M");
(Mario.level[14] = " M");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(200, 0);
Mario.instEnemies.push(new Bowser(350, 200, 0, 9, 15, 15, 6, 5));
Mario.instEffects.push(new Back(3));
Mario.instObjects.push(new LastLevel());
break;
case 17:
(Mario.level[0] = " ");
(Mario.level[1] = " ");
(Mario.level[2] = " ");
(Mario.level[3] = " ");
(Mario.level[4] = " ");
(Mario.level[5] = " ");
(Mario.level[6] = " ");
(Mario.level[7] = " ");
(Mario.level[8] = " ");
(Mario.level[9] = " ");
(Mario.level[10] = " ");
(Mario.level[11] = "dddddddddddddddd");
(Mario.level[12] = "gggggggggggggggg");
(Mario.level[13] = "gggggggggggggggg");
(Mario.level[14] = "gggggggggggggggg");
(Mario.levelWid = Mario.level[0].length);
(Mario.levelHei = Mario.level.length);
Mario.drawLevel();
(Mario.Hud.Time = 320);
Player.ResetPlayer(0, 0);
(Mario.playerControllable = false);
(Player.GFX2.alpha = 0);
(Mario.Hud.GFX.alpha = 0);
Mario.instEffects.push(new Cloud(375, 0));
Mario.instEffects.push(new Cloud(325, 75));
Mario.instEffects.push(new Cloud(150, 25));
Mario.instEffects.push(new Cloud(25, 50));
Mario.layerWall.addChild(AddGraphic(200, 250, "back_fence_3"));
Mario.layerWall.addChild(AddGraphic(100, 250, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(250, 250, "back_fence_1"));
Mario.layerWall.addChild(AddGraphic(275, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(300, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(325, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(350, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(375, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(175, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(150, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(125, 250, "back_fence_2"));
Mario.layerWall.addChild(AddGraphic(375, 150, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(375, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(375, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(375, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(375, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(300, 200, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(300, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(300, 250, "back_tree_1"));
Mario.layerWall.addChild(AddGraphic(25, 150, "back_tree_4"));
Mario.layerWall.addChild(AddGraphic(25, 175, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(25, 200, "back_tree_3"));
Mario.layerWall.addChild(AddGraphic(25, 225, "back_tree_2"));
Mario.layerWall.addChild(AddGraphic(25, 250, "back_tree_1"));
Mario.instObjects.push(new GameEnd());
(Mario.musika = 13);
break;
};
if (Mario.levelid < 17){
(Mario.sequence = 0);
Mario.self.waitScreen();
};
(Mario.stepping = true);
}
}//package objects
Section 316
//Mill (objects.Mill)
package objects {
import flash.display.*;
import mx.core.*;
public class Mill extends Obj {
public var moment:Number;
public var dist:uint;
public var speed:Number;
public var GFX:Sprite;
public var millX:Number;
public var millY:Number;
private static const PI:Number = 3.14159265358979;
public function Mill(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:Number, _arg5:Number=0){
GFX = new Sprite();
super();
oX = (_arg1 + 12);
oY = (_arg2 + 12);
dist = _arg3;
speed = ((PI / 240) * _arg4);
moment = _arg5;
setPos();
var _local6:BitmapAsset = new (Mario.classGFX.AccessGFX("Wall_P"));
_local6.x = _arg1;
_local6.y = _arg2;
Mario.layerWall.addChild(_local6);
var _local7:BitmapAsset = new (Mario.classGFX.AccessGFX("enemy_mill"));
_local7.x = -12.5;
_local7.y = -12.5;
GFX.addChild(_local7);
GFX.x = (millX + 11);
GFX.y = (millY + 11);
Mario.layerEffects.addChild(GFX);
Mario.changeLevel((_arg1 / 25), (_arg2 / 25), "x");
}
private function setPos():void{
millX = ((oX + (Math.cos(moment) * dist)) - 11);
millY = ((oY + (Math.sin(moment) * dist)) - 11);
}
override public function Update(_arg1:uint):void{
moment = (moment + speed);
setPos();
GFX.rotation = (GFX.rotation + (speed * 200));
GFX.x = (millX + 11);
GFX.y = (millY + 11);
if (Mario.playerCollide(millX, millY, 23, 23)){
Mario.hitPlayer();
};
}
}
}//package objects
Section 317
//Obj (objects.Obj)
package objects {
public class Obj {
var oX:Number;
var oY:Number;
public function Update(_arg1:uint):void{
}
}
}//package objects
Section 318
//Pauser (objects.Pauser)
package objects {
import flash.display.*;
import flash.media.*;
public class Pauser {
private var shade:Shape;
public function Pauser(){
shade = new Shape();
super();
shade.graphics.beginFill(0, 0.5);
shade.graphics.drawRect(0, 0, 400, 375);
shade.graphics.endFill();
Mario.layerGover.addChild(shade);
SoundMixer.soundTransform = new SoundTransform(0.3, 0);
}
public function kill():void{
Mario.layerGover.removeChild(shade);
SoundMixer.soundTransform = new SoundTransform(1, 0);
}
}
}//package objects
Section 319
//PFlame (objects.PFlame)
package objects {
import flash.display.*;
public class PFlame extends Enemy {
private var GFX:Array;
private var timer:uint;// = 0
private var wait:uint;// = 0
private var frame:uint;// = 0
public function PFlame(_arg1:uint, _arg2:uint, _arg3:int=1){
GFX = new Array(2);
super();
bounce = false;
eX = (_arg1 + 14);
eY = _arg2;
eWid = 20;
dir = _arg3;
eHei = 32;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_pflame_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_pflame_2"));
GFX[0].x = (eX - 2);
GFX[0].y = ((eY - 2) + ((dir == -1)) ? 38 : 0);
GFX[0].scaleY = (GFX[1].scaleY = dir);
Mario.layerHide.addChild(GFX[0]);
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerHide.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
return (true);
}
override public function Update(_arg1:uint):void{
if (active){
if (dir == 1){
if (timer < 100){
timer++;
} else {
if (timer == 100){
if (((((Player.pX - eX) < -72)) || (((Player.pX - eX) > 50)))){
timer = 101;
};
} else {
if (timer == 101){
eY--;
if (Mario.levelColl(eX, ((eY + eHei) - 1)) == false){
timer = 102;
};
} else {
if (timer == 105){
eY++;
if (Mario.levelColl(eX, (eY - 3))){
timer = 0;
};
};
};
};
};
} else {
if (timer < 100){
timer++;
} else {
if (timer == 100){
if (((((Player.pX - eX) < -72)) || (((Player.pX - eX) > 50)))){
timer = 101;
};
} else {
if (timer == 101){
eY++;
if (Mario.levelColl(eX, eY) == false){
timer = 102;
};
} else {
if (timer == 105){
eY--;
if (Mario.levelColl(eX, ((eY + eHei) + 3))){
timer = 0;
};
};
};
};
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
Mario.hitPlayer();
};
wait++;
if (wait == 15){
Mario.layerHide.removeChild(GFX[frame]);
frame = (1 - frame);
if (frame == 0){
if ((((timer >= 102)) && ((timer < 105)))){
timer++;
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
if (dir == 1){
Mario.instObjects.push(new Fireplant((eX + 10), (eY + 5), ((Mario.Sign((Player.pX - eX)) * 4) * Math.random()), -6));
} else {
Mario.instObjects.push(new Fireplant((eX + 10), (eY + 30), ((Mario.Sign((Player.pX - eX)) * 4) * Math.random()), 1));
};
};
};
};
Mario.layerHide.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].x = (eX - 2);
GFX[frame].y = ((eY - 2) + ((dir == -1)) ? 38 : 0);
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
timer = 100;
};
};
}
}
}//package objects
Section 320
//Pipein (objects.Pipein)
package objects {
import mx.core.*;
import flash.media.*;
public class Pipein {
public var oX:int;
public var oY:int;
public var lockX:uint;// = 0
public var obje:PlayerPiper;
public var backid:uint;// = 0
public var scroll:Boolean;
public var endX:int;
public var endY:int;
public var seq:int;// = 0
public var dirout:int;
public var SFXPupupu:Sound;
public var dirin:int;
public static var BGon:Boolean = false;
public static var BG:BitmapAsset;
public function Pipein(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:uint=0, _arg8:Boolean=true, _arg9:uint=0){
SFXPupupu = new (Mario.classSFX.accessSFX("powerdown"));
super();
backid = _arg7;
this.scroll = _arg8;
lockX = _arg9;
oX = _arg1;
oY = _arg2;
endX = _arg3;
endY = _arg4;
dirin = _arg5;
dirout = _arg6;
}
public function Leave():void{
if (Mario.sounds){
SFXPupupu.play();
};
switch (dirout){
case 0:
obje = new PlayerPiper((endX - 12), endY, 1, 0, false);
break;
case 1:
Player.pX = (endX - 12);
obje = new PlayerPiper(Player.pX, (endY - Player.pHei), 0, 1, false);
break;
case 2:
Player.pX = endX;
obje = new PlayerPiper(Player.pX, endY, -1, 0, false);
break;
case 3:
Player.pX = (endX - 12);
obje = new PlayerPiper((endX - 12), endY, 0, -1, false);
break;
case 4:
Mario.playerControllable = true;
Mario.levelid++;
Mario.clearLevel();
Mario.decreaseI = 1;
};
if (backid == 0){
if (BGon){
Mario.layerPipe.removeChild(BG);
BGon = false;
};
} else {
if (BGon){
Mario.layerPipe.removeChild(BG);
BGon = false;
};
BG = new (Mario.classGFX.AccessGFX(("back_" + backid)));
Mario.layerPipe.addChild(BG);
BGon = true;
};
if (scroll){
Mario.scrolling = true;
Mario.centerScreen(Player.pX);
} else {
Mario.scrolling = false;
Mario.layerHide.x = -(lockX);
Mario.layerWall.x = -(lockX);
Mario.layerFore.x = -(lockX);
Mario.layerEffects.x = -(lockX);
};
seq = 31;
}
public function Update(_arg1:uint):void{
switch (seq){
case 0:
if (Mario.playerCollide((oX - 2), (oY - 2), 6, 6)){
if (Mario.isKeyDown(dirin)){
if (Player.crouch){
Player.pHei = 45;
Player.pY = (Player.pY - 21);
Player.crouch = 0;
};
Enter();
};
};
break;
case 1:
if (obje.completed){
Mario.layerHide.removeChild(obje.GFX);
seq = 2;
} else {
obje.Update();
};
break;
case 30:
Leave();
break;
case 31:
if (obje.completed){
seq = 0;
Player.ResetPlayer(obje.pX, obje.pY);
Mario.playerControllable = true;
Mario.layerHide.removeChild(obje.GFX);
} else {
obje.Update();
};
break;
default:
seq++;
};
}
public function Enter():void{
Mario.playerControllable = false;
Mario.layerFore.removeChild(Player.GFX2);
Mario.Hud.debugtext.text = String(dirin);
if (Mario.sounds){
SFXPupupu.play();
};
switch (dirin){
case 0:
obje = new PlayerPiper((oX - 12), (oY - Player.pHei), 1, 0, true);
break;
case 1:
Player.pX = (oX - 12);
obje = new PlayerPiper(Player.pX, (oY - Player.pHei), 0, 1, true);
break;
case 2:
obje = new PlayerPiper((oX - 12), (oY - Player.pHei), -1, 0, true);
break;
case 3:
Player.pX = (oX - 12);
obje = new PlayerPiper(Player.pX, (oY - Player.pHei), 0, -1, true);
break;
};
if (Mario.scrolling){
Mario.centerScreen(Player.pX);
};
seq = 1;
}
}
}//package objects
Section 321
//Player (objects.Player)
package objects {
import flash.display.*;
import mx.core.*;
import flash.media.*;
import flash.geom.*;
public class Player {
private var SFXJump:Sound;
private var SFXBump:Sound;
private var SFXRadish:Sound;
public static const PLAYER_MAXSPEED:Number = 456;
public static const PLAYER_SPEED:Number = 12;
public static var hitStomp:Boolean = false;
public static var dir:int = 1;
public static var SFXDeath:Sound = new (Mario.classSFX.accessSFX("death"));
;
public static var pSize:uint = 0;
public static var hitHead:Boolean = false;
public static var elev:Elevator;
public static var trans:ColorTransform = new ColorTransform();
public static var sequenceFrame:uint = 0;
public static var crouch:uint = 0;
public static var SFXPowerup:Sound = new (Mario.classSFX.accessSFX("powerup"));
;
public static var sequence:int = 0;
public static var pWid:uint = 16;
public static var speed:Number = 0;
public static var gravity:Number = 0;
public static var SFXPowerdown:Sound = new (Mario.classSFX.accessSFX("powerdown"));
;
public static var GFX:BitmapAsset;
private static var jumper:uint = 0;
private static var maxJumper:uint = 0;
private static var seq:uint = 0;
public static var pX:int;
public static var pY:int;
public static var frame:uint = 0;
public static var fired:uint = 0;
public static var shield:uint = 0;
public static var GFX2:Sprite = new Sprite();
public static var pHei:uint = 24;
public static var starred:uint = 0;
public function Player(_arg1:Number, _arg2:Number):void{
SFXJump = new (Mario.classSFX.accessSFX("jump"));
SFXRadish = new (Mario.classSFX.accessSFX("radish"));
SFXBump = new (Mario.classSFX.accessSFX("bump"));
super();
pX = _arg1;
pY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("object_mario0_walk_1");
GFX = new (_local3);
GFX.x = (pX - 2);
GFX.y = (pY - 3);
GFX2.addChild(GFX);
Mario.layerFore.addChild(GFX2);
}
public function Update():void{
var _local1:Class;
seq = 0;
if (Mario.isKeyDown(0)){
dir = 1;
if (speed > -10){
if (speed < PLAYER_MAXSPEED){
speed = (speed + (PLAYER_SPEED * 2));
};
} else {
dir = -1;
seq = 1;
speed = (speed + (PLAYER_SPEED * 4));
};
} else {
if (Mario.isKeyDown(2)){
dir = -1;
if (speed < 10){
if (speed > -(PLAYER_MAXSPEED)){
speed = (speed - (PLAYER_SPEED * 2));
};
} else {
dir = 1;
seq = 1;
speed = (speed - (PLAYER_SPEED * 4));
};
} else {
if (speed > 2){
speed = (speed - (PLAYER_SPEED / 2));
} else {
if (speed < -2){
speed = (speed + (PLAYER_SPEED / 2));
};
};
};
};
if (((Mario.isKeyPressed(4)) && (((((!((elev == null))) || (Mario.levelColl(pX, ((pY + pHei) + 1))))) || (Mario.levelColl(((pX + pWid) - 1), ((pY + pHei) + 1))))))){
gravity = -7;
jumper = 1;
maxJumper = ((16 - 3) + Math.min(3, Math.abs((speed / 100))));
if (elev){
elev.free();
};
if (Mario.sounds){
SFXJump.play();
};
};
if (((((Mario.isKeyDown(4)) && ((jumper < maxJumper)))) && ((jumper > 0)))){
jumper++;
gravity = -7;
} else {
jumper = 20;
};
pX = (pX + Math.round((speed / 100)));
if (speed > 0){
if (((((Mario.levelColl(((pX + pWid) - 1), pY)) || (Mario.levelColl(((pX + pWid) - 1), ((pY + pHei) - 1))))) || (Mario.levelColl(((pX + pWid) - 1), (pY + ((pHei - 1) / 2)))))){
speed = 0;
pX = (((Math.floor((pX / 25)) * 25) + 25) - pWid);
};
} else {
if (((((Mario.levelColl(pX, pY)) || (Mario.levelColl(pX, ((pY + pHei) - 1))))) || (Mario.levelColl(pX, (pY + ((pHei - 1) / 2)))))){
speed = 0;
pX = ((Math.floor((pX / 25)) * 25) + 25);
};
};
if (gravity > 10){
gravity = 10;
};
if ((((((elev == null)) && ((Mario.levelColl(pX, (pY + pHei)) == false)))) && ((Mario.levelColl(((pX + pWid) - 1), (pY + pHei)) == false)))){
gravity = (gravity + Mario.gravity);
seq = 2;
} else {
if (gravity >= 0){
gravity = 0;
};
};
pY = (pY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(pX, ((pY + pHei) - 1))) || (Mario.levelColl(((pX + pWid) - 1), ((pY + pHei) - 1))))){
jumper = 0;
gravity = 0;
pY = ((Math.floor((pY / 25)) * 25) + 1);
seq = 0;
};
} else {
if (((Mario.levelColl(pX, pY)) || (Mario.levelColl(((pX + pWid) - 1), pY)))){
jumper = 0;
gravity = 0;
Player.hitHead = true;
if (Mario.sounds){
SFXBump.play();
};
pY = ((Math.floor((pY / 25)) * 25) + 25);
};
};
var _local2:uint = pSize;
var _local3:uint;
if (sequence != 0){
sequenceFrame--;
if ((sequenceFrame % 2) == 1){
switch (sequence){
case -2:
_local2 = 2;
break;
case -1:
_local2 = 1;
break;
case 1:
_local2 = 0;
break;
case 2:
_local2 = 1;
break;
};
};
if (sequenceFrame == 0){
sequence = 0;
};
} else {
if (shield > 0){
_local3 = (shield % 2);
shield--;
};
};
if ((((((pSize == 1)) && (Mario.isKeyPressed(5)))) && ((Mario.radishNO < 2)))){
Mario.instObjects.push(new Fireball((pX + ((dir == 1)) ? 22 : 0), (pY + 10), dir));
Mario.radishNO++;
if (Mario.sounds){
SFXRadish.play();
};
};
switch (seq){
case 0:
frame = (((frame + Math.abs((speed / 3))) % 1367) + 1);
if (Math.abs(speed) < 10){
frame = 400;
};
_local1 = Mario.classGFX.AccessGFX(((("object_mario" + String(_local2)) + "_walk_") + String(Math.ceil((frame / 456)))));
break;
case 1:
_local1 = Mario.classGFX.AccessGFX((("object_mario" + String(_local2)) + "_brake"));
break;
case 2:
_local1 = Mario.classGFX.AccessGFX((("object_mario" + String(_local2)) + "_jump"));
break;
};
GFX2.removeChild(GFX);
GFX = new (_local1);
GFX.scaleX = dir;
GFX.x = ((pX - ((dir == -1)) ? -21 : 6) + (_local3 * 1000));
GFX.y = ((pY - 3) - 21);
if (starred > 0){
Mario.enemyStarHit(pX, pY, pWid, pHei, dir);
if ((((starred > 100)) || (((starred % 5) == 0)))){
trans.greenOffset = ((Math.random() - 0.5) * 400);
trans.redOffset = ((Math.random() - 0.5) * 400);
trans.blueOffset = ((Math.random() - 0.5) * 0);
};
starred--;
if (starred == 0){
Mario.classSFX.Play(Mario.musika);
};
} else {
trans.greenOffset = 0;
trans.redOffset = 0;
trans.blueOffset = 0;
};
GFX2.transform.colorTransform = trans;
GFX2.addChild(GFX);
if (pY > ((Mario.levelHei * 25) + 25)){
Mario.hitPlayer(true);
};
if (Mario.scrolling){
Mario.scrollX = Math.min((200 - Player.pX), -(Mario.scrollEdge));
};
}
public static function CeilPull():void{
var _local1:uint;
if (((Mario.levelColl(pX, pY)) || (Mario.levelColl(((pX + pWid) - 1), pY)))){
_local1 = ((Math.floor((pY / 25)) * 25) + 25);
if (((Mario.levelColl(pX, ((_local1 + pHei) - 1))) || (Mario.levelColl(((pX + pWid) - 1), ((_local1 + pHei) - 1))))){
crouch = 2;
} else {
pY = _local1;
};
};
}
public static function starMe():void{
starred = 400;
Mario.classSFX.Play(3);
}
public static function Reset():void{
Player.hitStomp = false;
Player.hitHead = false;
}
public static function Bounce(_arg1:int):void{
Player.pY = (_arg1 - Player.pHei);
Player.gravity = -7;
Player.jumper = 1;
CeilPull();
GFX.x = (pX - ((dir == -1)) ? -23 : 5);
GFX.y = ((pY - 3) - 21);
}
public static function Falls():Boolean{
if (Player.gravity > 1){
return (true);
};
return (false);
}
public static function ResetGraphic():void{
GFX.scaleX = dir;
GFX.x = (pX - ((dir == -1)) ? -23 : 5);
GFX.y = ((pY - 3) - 21);
}
public static function ResetPlayer(_arg1:Number, _arg2:Number):void{
pX = _arg1;
pY = _arg2;
speed = 0;
gravity = 0;
jumper = 0;
GFX.x = (pX - ((dir == -1)) ? -23 : 5);
GFX.y = ((pY - 3) - 21);
if (((Mario.levelColl(pX, ((pY + pHei) - 1))) || (Mario.levelColl(((pX + pWid) - 1), ((pY + pHei) - 1))))){
Player.pY = (Player.pY - 25);
};
Mario.layerFore.addChild(GFX2);
}
}
}//package objects
Section 322
//PlayerFinish (objects.PlayerFinish)
package objects {
import mx.core.*;
import flash.media.*;
public class PlayerFinish {
public const PLAYER_SPEED:Number = 12;
public var GFX:BitmapAsset;
private var timer:int;// = 0
public var speed:Number;// = 0
public var pX:int;
private var SFXPoint:Sound;
private var frame:uint;// = 0
private var gravity:Number;// = 0
public var pY:int;
public function PlayerFinish(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:uint):void{
SFXPoint = new (Mario.classSFX.accessSFX("points"));
super();
pX = _arg1;
pY = _arg2;
speed = _arg4;
frame = _arg5;
gravity = _arg3;
if (Player.crouch > 0){
Player.pHei = (Player.pHei + 25);
pY = (pY - 21);
};
if (((Mario.levelColl(pX, (pY + Player.pHei))) || (Mario.levelColl((pX + Player.pWid), (pY + Player.pHei))))){
GFX = new (Mario.classGFX.AccessGFX(((("object_mario" + String(Player.pSize)) + "_walk_") + String(Math.ceil((frame / 456))))));
} else {
GFX = new (Mario.classGFX.AccessGFX((("object_mario" + Player.pSize) + "_jump")));
};
GFX.x = (pX - 3);
GFX.y = ((pY - 3) - ((Player.pSize == 0)) ? 21 : 0);
Mario.layerFore.addChild(GFX);
}
public function Update(_arg1:uint):void{
Mario.classSFX.Play();
if (speed > 200){
speed = (speed - PLAYER_SPEED);
} else {
if (speed < 185){
speed = (speed + PLAYER_SPEED);
};
};
pX = (pX + Math.round((speed / 100)));
Mario.layerFore.removeChild(GFX);
if ((((Mario.levelColl(pX, (pY + Player.pHei)) == false)) && ((Mario.levelColl((pX + Player.pWid), (pY + Player.pHei)) == false)))){
gravity = (gravity + Mario.gravity);
pY = (pY + gravity);
frame = 400;
GFX = new (Mario.classGFX.AccessGFX((("object_mario" + Player.pSize) + "_jump")));
} else {
pY = ((Math.floor((pY / 25)) * 25) + ((Player.pSize > 0)) ? 5 : 1);
frame = (((frame + Math.abs((speed / 3))) % 1367) + 1);
GFX = new (Mario.classGFX.AccessGFX(((("object_mario" + String(Player.pSize)) + "_walk_") + String(Math.ceil((frame / 456))))));
};
GFX.x = (pX - 3);
GFX.y = ((pY - 3) - 21);
Mario.layerFore.addChild(GFX);
if (timer > 150){
if (Mario.Hud.Time > 0){
Mario.Hud.Time--;
Mario.Hud.Pnts = (Mario.Hud.Pnts + 100);
};
if (Mario.Hud.Time > 4){
Mario.Hud.Time = (Mario.Hud.Time - 4);
if (Mario.sounds){
SFXPoint.play();
};
Mario.Hud.Pnts = (Mario.Hud.Pnts + 20);
};
Mario.Hud.RedrawPnts();
Mario.Hud.RedrawTime();
if (Mario.Hud.Time == 0){
timer++;
};
if (timer == 300){
Mario.levelid++;
Mario.clearLevel();
};
} else {
timer++;
};
}
}
}//package objects
Section 323
//PlayerPiper (objects.PlayerPiper)
package objects {
import mx.core.*;
public class PlayerPiper {
public var GFX:BitmapAsset;
public var moveX:int;
public var pX:int;
public var pY:int;
public var completed:Boolean;// = false
public var moveY:int;
public var gX:int;// = 0
public var enter:Boolean;
public var gY:int;// = 0
public function PlayerPiper(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean){
pX = _arg1;
pY = _arg2;
moveX = _arg3;
moveY = _arg4;
enter = _arg5;
if (moveX != 0){
GFX = new (Mario.classGFX.AccessGFX((("object_mario" + String(Player.pSize)) + "_walk_3")));
gX = ((_arg3 > 0)) ? 0 : 25;
gY = ((Player.pSize > 0)) ? 0 : -21;
pY = (pY - ((Player.pSize > 0)) ? 21 : 0);
GFX.scaleX = _arg3;
} else {
GFX = new (Mario.classGFX.AccessGFX((("object_mario" + String(Player.pSize)) + "_enter")));
gY = ((Player.pSize > 0)) ? 0 : -21;
};
GFX.x = (pX + gX);
GFX.y = (pY + gY);
Mario.layerHide.addChild(GFX);
}
public function Update():void{
pX = (pX + moveX);
pY = (pY + moveY);
GFX.x = (pX + gX);
GFX.y = (pY + gY);
if (enter){
if (((((((Mario.levelColl(pX, pY)) && (Mario.levelColl(((pX + Player.pWid) - 1), pY)))) && (Mario.levelColl(pX, ((pY + Player.pHei) - 1))))) && (Mario.levelColl(((pX + Player.pWid) - 1), ((pY + Player.pHei) - 1))))){
completed = true;
};
} else {
if ((((((((Mario.levelColl(pX, pY) == false)) && ((Mario.levelColl(((pX + Player.pWid) - 1), pY) == false)))) && ((Mario.levelColl(pX, ((pY + Player.pHei) - 1)) == false)))) && ((Mario.levelColl(((pX + Player.pWid) - 1), ((pY + Player.pHei) - 1)) == false)))){
completed = true;
};
};
Mario.centerScreen(pX);
}
}
}//package objects
Section 324
//Points (objects.Points)
package objects {
import mx.core.*;
public class Points extends Effect {
private var GFX:BitmapAsset;
private var fY:int;
public function Points(_arg1:Number, _arg2:Number, _arg3:String){
fY = _arg2;
var _local4:Class = Mario.classGFX.AccessGFX(("effect_points_" + _arg3));
GFX = new (_local4);
GFX.x = Math.floor((_arg1 - (GFX.width / 2)));
GFX.y = fY;
Mario.layerEffects.addChild(GFX);
timer = 120;
switch (_arg3){
case "100":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 100);
Mario.Hud.RedrawPnts();
break;
case "200":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 200);
Mario.Hud.RedrawPnts();
break;
case "500":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 500);
Mario.Hud.RedrawPnts();
break;
case "1000":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 1000);
Mario.Hud.RedrawPnts();
break;
case "2000":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 2000);
Mario.Hud.RedrawPnts();
break;
case "5000":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 5000);
Mario.Hud.RedrawPnts();
break;
case "8000":
Mario.Hud.Pnts = (Mario.Hud.Pnts + 8000);
Mario.Hud.RedrawPnts();
break;
case "1up":
Mario.Hud.Lives++;
Mario.Hud.RedrawPnts();
break;
};
}
override public function Update(_arg1:uint):void{
fY = (fY - 1);
timer--;
GFX.y = fY;
GFX.alpha = (timer / 30);
if (timer == 0){
Mario.removeEffect(_arg1);
Mario.layerEffects.removeChild(GFX);
};
}
}
}//package objects
Section 325
//PPlant (objects.PPlant)
package objects {
import flash.display.*;
public class PPlant extends Enemy {
private var GFX:Array;
private var timer:uint;// = 0
private var wait:uint;// = 0
private var frame:uint;// = 0
public function PPlant(_arg1:uint, _arg2:uint, _arg3:int=1){
GFX = new Array(2);
super();
bounce = false;
eX = (_arg1 + 14);
eY = _arg2;
eWid = 20;
dir = _arg3;
eHei = 32;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_pplant_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_pplant_2"));
GFX[0].x = (eX - 2);
GFX[0].y = ((eY - 2) + ((dir == -1)) ? 38 : 0);
GFX[0].scaleY = (GFX[1].scaleY = dir);
Mario.layerHide.addChild(GFX[0]);
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerHide.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
return (true);
}
override public function Update(_arg1:uint):void{
if (active){
if (dir == 1){
if (timer < 100){
timer++;
} else {
if (timer == 100){
if (((((Player.pX - eX) < -72)) || (((Player.pX - eX) > 50)))){
timer = 101;
};
} else {
if (timer == 101){
eY--;
if (Mario.levelColl(eX, ((eY + eHei) - 1)) == false){
timer = 102;
};
} else {
if (timer < 160){
timer++;
} else {
if (timer == 160){
eY++;
if (Mario.levelColl(eX, (eY - 3))){
timer = 0;
};
};
};
};
};
};
} else {
if (timer < 100){
timer++;
} else {
if (timer == 100){
if (((((Player.pX - eX) < -72)) || (((Player.pX - eX) > 50)))){
timer = 101;
};
} else {
if (timer == 101){
eY++;
if (Mario.levelColl(eX, eY) == false){
timer = 102;
};
} else {
if (timer < 160){
timer++;
} else {
if (timer == 160){
eY--;
if (Mario.levelColl(eX, ((eY + eHei) + 3))){
timer = 0;
};
};
};
};
};
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
Mario.hitPlayer();
};
wait++;
if (wait == 15){
Mario.layerHide.removeChild(GFX[frame]);
frame = (1 - frame);
Mario.layerHide.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].x = (eX - 2);
GFX[frame].y = ((eY - 2) + ((dir == -1)) ? 38 : 0);
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
timer = 100;
};
};
}
}
}//package objects
Section 326
//PStatic (objects.PStatic)
package objects {
public class PStatic extends Enemy {
private var wait:uint;// = 0
private var GFX:Array;
private var frame:uint;// = 0
public function PStatic(_arg1:uint, _arg2:uint){
GFX = new Array(3);
super();
eX = _arg1;
eY = _arg2;
frame = Math.abs((-((wait / 4)) + 2));
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_pstatic_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_pstatic_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_pstatic_3"));
GFX[0].x = (GFX[1].x = (GFX[2].x = _arg1));
GFX[0].y = (GFX[1].y = (GFX[2].y = _arg2));
Mario.layerWall.addChild(GFX[frame]);
}
override public function Update(_arg1:uint):void{
wait++;
if ((wait % 4) == 0){
Mario.layerWall.removeChild(GFX[frame]);
frame = Math.abs((-((wait / 4)) + 2));
if (wait == 16){
wait = 0;
};
Mario.layerWall.addChild(GFX[frame]);
};
if (Mario.playerCollide((eX + 2), (eY + 2), 21, 21)){
Mario.hitPlayer();
};
}
override public function FireballHit(_arg1:uint, _arg2:int):Boolean{
return (false);
}
}
}//package objects
Section 327
//SFX (objects.SFX)
package objects {
import flash.media.*;
public class SFX {
private var SFX_MUS2:Class;
private var SFX_BOWSERHIT:Class;
private var SFX_MUS6:Class;
private var SFX_MUS1:Class;
private var SFX_MUS9:Class;
private var SFX_MUS3:Class;
private var SFX_MUS7:Class;
private var SFX_HURRY:Class;
private var SFX_SPROUT:Class;
public var Musics:Array;
private var SFX_LIFE:Class;
private var SFX_CANNON:Class;
private var SFX_POWERDOWN:Class;
private var SFX_COIN:Class;
private var SFX_DEATH:Class;
private var SFX_STOMP2:Class;
public var playingMus:SoundChannel;
private var SFX_GROWL:Class;
private var SFX_BRICK:Class;
private var SFX_JUMP:Class;
private var SFX_BOWSERKILL:Class;
private var SFX_FIREBALL:Class;
private var SFX_BUMP:Class;
private var SFX_LEVEL_COMPLETE:Class;
private var SFX_STOMP:Class;
private var SFX_GAMEOVER:Class;
private var SFX_POWERUP:Class;
private var SFX_KICK:Class;
private var SFX_POINTS:Class;
public function SFX(){
Musics = new Array(6);
SFX_BOWSERHIT = SFX_SFX_BOWSERHIT;
SFX_BOWSERKILL = SFX_SFX_BOWSERKILL;
SFX_BRICK = SFX_SFX_BRICK;
SFX_BUMP = SFX_SFX_BUMP;
SFX_CANNON = SFX_SFX_CANNON;
SFX_COIN = SFX_SFX_COIN;
SFX_DEATH = SFX_SFX_DEATH;
SFX_FIREBALL = SFX_SFX_FIREBALL;
SFX_GAMEOVER = SFX_SFX_GAMEOVER;
SFX_GROWL = SFX_SFX_GROWL;
SFX_HURRY = SFX_SFX_HURRY;
SFX_JUMP = SFX_SFX_JUMP;
SFX_KICK = SFX_SFX_KICK;
SFX_LEVEL_COMPLETE = SFX_SFX_LEVEL_COMPLETE;
SFX_LIFE = SFX_SFX_LIFE;
SFX_POINTS = SFX_SFX_POINTS;
SFX_POWERDOWN = SFX_SFX_POWERDOWN;
SFX_POWERUP = SFX_SFX_POWERUP;
SFX_SPROUT = SFX_SFX_SPROUT;
SFX_STOMP = SFX_SFX_STOMP;
SFX_STOMP2 = SFX_SFX_STOMP2;
SFX_MUS1 = SFX_SFX_MUS1;
SFX_MUS2 = SFX_SFX_MUS2;
SFX_MUS3 = SFX_SFX_MUS3;
SFX_MUS6 = SFX_SFX_MUS6;
SFX_MUS7 = SFX_SFX_MUS7;
SFX_MUS9 = SFX_SFX_MUS9;
super();
Musics[0] = new SFX_MUS1();
Musics[1] = new SFX_MUS2();
Musics[2] = new SFX_MUS3();
Musics[5] = new SFX_MUS6();
Musics[6] = new SFX_MUS7();
Musics[8] = new SFX_MUS9();
}
public function accessSFX(_arg1:String):Class{
switch (_arg1){
case "bowser_hit":
return (SFX_BOWSERHIT);
case "bowser_kill":
return (SFX_BOWSERKILL);
case "brick":
return (SFX_BRICK);
case "bump":
return (SFX_BUMP);
case "coin":
return (SFX_COIN);
case "cannon":
return (SFX_CANNON);
case "death":
return (SFX_DEATH);
case "radish":
return (SFX_FIREBALL);
case "gameover":
return (SFX_GAMEOVER);
case "growl":
return (SFX_GROWL);
case "hurry":
return (SFX_HURRY);
case "jump":
return (SFX_JUMP);
case "kick":
return (SFX_KICK);
case "level_complete":
return (SFX_LEVEL_COMPLETE);
case "life":
return (SFX_LIFE);
case "points":
return (SFX_POINTS);
case "powerdown":
return (SFX_POWERDOWN);
case "powerup":
return (SFX_POWERUP);
case "sprout":
return (SFX_SPROUT);
case "stomp":
return (SFX_STOMP);
case "stompduck":
return (SFX_STOMP2);
};
return (new Class());
}
public function Play(_arg1:int=-1, _arg2:uint=100):void{
if (playingMus != null){
playingMus.stop();
};
if (Mario.music == false){
return;
};
if (_arg1 > -1){
playingMus = Musics[_arg1].play(0, _arg2);
};
}
}
}//package objects
Section 328
//SFX_SFX_BOWSERHIT (objects.SFX_SFX_BOWSERHIT)
package objects {
import mx.core.*;
public class SFX_SFX_BOWSERHIT extends SoundAsset {
}
}//package objects
Section 329
//SFX_SFX_BOWSERKILL (objects.SFX_SFX_BOWSERKILL)
package objects {
import mx.core.*;
public class SFX_SFX_BOWSERKILL extends SoundAsset {
}
}//package objects
Section 330
//SFX_SFX_BRICK (objects.SFX_SFX_BRICK)
package objects {
import mx.core.*;
public class SFX_SFX_BRICK extends SoundAsset {
}
}//package objects
Section 331
//SFX_SFX_BUMP (objects.SFX_SFX_BUMP)
package objects {
import mx.core.*;
public class SFX_SFX_BUMP extends SoundAsset {
}
}//package objects
Section 332
//SFX_SFX_CANNON (objects.SFX_SFX_CANNON)
package objects {
import mx.core.*;
public class SFX_SFX_CANNON extends SoundAsset {
}
}//package objects
Section 333
//SFX_SFX_COIN (objects.SFX_SFX_COIN)
package objects {
import mx.core.*;
public class SFX_SFX_COIN extends SoundAsset {
}
}//package objects
Section 334
//SFX_SFX_DEATH (objects.SFX_SFX_DEATH)
package objects {
import mx.core.*;
public class SFX_SFX_DEATH extends SoundAsset {
}
}//package objects
Section 335
//SFX_SFX_FIREBALL (objects.SFX_SFX_FIREBALL)
package objects {
import mx.core.*;
public class SFX_SFX_FIREBALL extends SoundAsset {
}
}//package objects
Section 336
//SFX_SFX_GAMEOVER (objects.SFX_SFX_GAMEOVER)
package objects {
import mx.core.*;
public class SFX_SFX_GAMEOVER extends SoundAsset {
}
}//package objects
Section 337
//SFX_SFX_GROWL (objects.SFX_SFX_GROWL)
package objects {
import mx.core.*;
public class SFX_SFX_GROWL extends SoundAsset {
}
}//package objects
Section 338
//SFX_SFX_HURRY (objects.SFX_SFX_HURRY)
package objects {
import mx.core.*;
public class SFX_SFX_HURRY extends SoundAsset {
}
}//package objects
Section 339
//SFX_SFX_JUMP (objects.SFX_SFX_JUMP)
package objects {
import mx.core.*;
public class SFX_SFX_JUMP extends SoundAsset {
}
}//package objects
Section 340
//SFX_SFX_KICK (objects.SFX_SFX_KICK)
package objects {
import mx.core.*;
public class SFX_SFX_KICK extends SoundAsset {
}
}//package objects
Section 341
//SFX_SFX_LEVEL_COMPLETE (objects.SFX_SFX_LEVEL_COMPLETE)
package objects {
import mx.core.*;
public class SFX_SFX_LEVEL_COMPLETE extends SoundAsset {
}
}//package objects
Section 342
//SFX_SFX_LIFE (objects.SFX_SFX_LIFE)
package objects {
import mx.core.*;
public class SFX_SFX_LIFE extends SoundAsset {
}
}//package objects
Section 343
//SFX_SFX_MUS1 (objects.SFX_SFX_MUS1)
package objects {
import mx.core.*;
public class SFX_SFX_MUS1 extends SoundAsset {
}
}//package objects
Section 344
//SFX_SFX_MUS2 (objects.SFX_SFX_MUS2)
package objects {
import mx.core.*;
public class SFX_SFX_MUS2 extends SoundAsset {
}
}//package objects
Section 345
//SFX_SFX_MUS3 (objects.SFX_SFX_MUS3)
package objects {
import mx.core.*;
public class SFX_SFX_MUS3 extends SoundAsset {
}
}//package objects
Section 346
//SFX_SFX_MUS6 (objects.SFX_SFX_MUS6)
package objects {
import mx.core.*;
public class SFX_SFX_MUS6 extends SoundAsset {
}
}//package objects
Section 347
//SFX_SFX_MUS7 (objects.SFX_SFX_MUS7)
package objects {
import mx.core.*;
public class SFX_SFX_MUS7 extends SoundAsset {
}
}//package objects
Section 348
//SFX_SFX_MUS9 (objects.SFX_SFX_MUS9)
package objects {
import mx.core.*;
public class SFX_SFX_MUS9 extends SoundAsset {
}
}//package objects
Section 349
//SFX_SFX_POINTS (objects.SFX_SFX_POINTS)
package objects {
import mx.core.*;
public class SFX_SFX_POINTS extends SoundAsset {
}
}//package objects
Section 350
//SFX_SFX_POWERDOWN (objects.SFX_SFX_POWERDOWN)
package objects {
import mx.core.*;
public class SFX_SFX_POWERDOWN extends SoundAsset {
}
}//package objects
Section 351
//SFX_SFX_POWERUP (objects.SFX_SFX_POWERUP)
package objects {
import mx.core.*;
public class SFX_SFX_POWERUP extends SoundAsset {
}
}//package objects
Section 352
//SFX_SFX_SPROUT (objects.SFX_SFX_SPROUT)
package objects {
import mx.core.*;
public class SFX_SFX_SPROUT extends SoundAsset {
}
}//package objects
Section 353
//SFX_SFX_STOMP (objects.SFX_SFX_STOMP)
package objects {
import mx.core.*;
public class SFX_SFX_STOMP extends SoundAsset {
}
}//package objects
Section 354
//SFX_SFX_STOMP2 (objects.SFX_SFX_STOMP2)
package objects {
import mx.core.*;
public class SFX_SFX_STOMP2 extends SoundAsset {
}
}//package objects
Section 355
//Shroom (objects.Shroom)
package objects {
import mx.core.*;
public class Shroom extends Obj {
public var oWid:uint;// = 21
public var dir:int;
public var gravity:Number;// = 0
public var GFX:BitmapAsset;
public var oHei:uint;// = 21
public var seq:Boolean;// = false
public function Shroom(_arg1:uint, _arg2:int){
oX = _arg1;
oY = _arg2;
var _local3:Class = Mario.classGFX.AccessGFX("object_shroom");
GFX = new (_local3);
GFX.x = oX;
GFX.y = oY;
Mario.layerHide.addChild(GFX);
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (seq){
oX = (oX + dir);
if (dir > 0){
if (((Mario.levelColl(((oX + oWid) - 1), oY)) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
} else {
if (((Mario.levelColl(oX, oY)) || (Mario.levelColl(oX, ((oY + oHei) - 1))))){
dir = (dir * -1);
oX = (oX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
oY = (oY + Math.round(gravity));
if (gravity > 0){
if (((Mario.levelColl(oX, ((oY + oHei) - 1))) || (Mario.levelColl(((oX + oWid) - 1), ((oY + oHei) - 1))))){
gravity = 0;
oY = ((Math.floor((oY / 25)) * 25) + 4);
};
};
if (Mario.playerCollide(oX, oY, oWid, oHei)){
Mario.playerBonus(0);
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
GFX.x = (oX - 2);
GFX.y = (oY - 4);
} else {
oY = (oY - 0.5);
GFX.x = oX;
GFX.y = oY;
if (Mario.levelColl((oX + 12), (oY + 24)) == false){
Mario.instEffects.push(new Points((oX + 10), (oY - 5), "1000"));
Mario.layerHide.removeChild(GFX);
oX = (oX + 2);
oY = (oY + 4);
_local2 = Mario.classGFX.AccessGFX("object_shroom");
GFX = new (_local2);
GFX.x = (oX - 2);
GFX.y = (oY - 4);
Mario.layerFore.addChild(GFX);
dir = (((Player.pX - oX) > 0)) ? 1 : -1;
seq = true;
};
};
if (oY > ((Mario.levelHei * 25) + 250)){
Mario.layerFore.removeChild(GFX);
Mario.removeObject(_arg1);
};
}
}
}//package objects
Section 356
//Spiny (objects.Spiny)
package objects {
import flash.display.*;
public class Spiny extends Enemy {
private var wait:uint;// = 0
private var GFX:Array;
private var fall:Boolean;// = false
private var frame:uint;// = 0
public function Spiny(_arg1:uint, _arg2:int){
GFX = new Array(2);
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_spiny_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_spiny_2"));
GFX[0].x = (eX - 3);
GFX[0].y = (eY - 4);
Mario.layerFore.addChild(GFX[0]);
}
override public function Update(_arg1:uint):void{
if (active){
stomped = false;
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, (eX - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(eX, eY)) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 1){
fall = true;
};
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 4);
if (fall){
dir = ((Player.pX > eX)) ? 1 : -1;
fall = false;
};
};
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
Mario.hitPlayer();
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = (1 - frame);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == -1)) ? 25 : 0);
GFX[frame].y = (eY - 4);
} else {
if (((((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))) || (((Mario.scrollEdge + 400) > eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 4), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_spiny_1")));
return (true);
}
}
}//package objects
Section 357
//SpinyShell (objects.SpinyShell)
package objects {
import flash.display.*;
import mx.core.*;
public class SpinyShell extends Enemy {
private var GFX:Sprite;
public function SpinyShell(_arg1:uint, _arg2:uint){
GFX = new Sprite();
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
eHei = 21;
gravity = 0;
var _local3:BitmapAsset = new (Mario.classGFX.AccessGFX("enemy_spiny_shell_1"));
_local3.x = (-(_local3.width) / 2);
_local3.y = (-(_local3.height) / 2);
GFX.addChild(_local3);
GFX.x = (eX + 10);
GFX.y = (eY + 10);
Mario.layerFore.addChild(GFX);
}
override public function Update(_arg1:uint):void{
gravity = (gravity + (Mario.gravity / 2));
eY = (eY + gravity);
gravity = Math.min(20, gravity);
GFX.rotation = (GFX.rotation + 6);
GFX.x = (eX + 10);
GFX.y = (eY + 10);
if (((Mario.levelColl(eX, (eY + eHei))) || (Mario.levelColl(((eX + eWid) - 1), (eY + eHei))))){
eY = ((Math.floor((((eY + eHei) / 25) - 1)) * 25) + 5);
gravity = 0;
Mario.removeEnemy(_arg1);
Mario.layerFore.removeChild(GFX);
Mario.instEnemies.push(new Spiny(eX, ((Math.floor((eY / 25)) * 25) + 4)));
alive = false;
};
if (Mario.playerCollide(eX, eY, eWid, eHei)){
Mario.hitPlayer();
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX);
Mario.removeEnemy(_arg1);
Mario.instEffects.push(new Enemy_Fire(eX, (eY - 4), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_spiny_shell_1")));
return (true);
}
}
}//package objects
Section 358
//TitleScreen (objects.TitleScreen)
package objects {
import flash.display.*;
import mx.core.*;
public class TitleScreen {
private var Text1:Class;
private var timer:uint;// = 0
private var Logo:Class;
private var Text2:Class;
private var GFXK:BitmapAsset;
private var GFXL:BitmapAsset;
private var Keys:Class;
private var Cloud:BitmapAsset;
private var GFXP:BitmapAsset;
private var Hill:BitmapAsset;
private var GFXfloor:Sprite;
private var pX:uint;// = 600
public var sel:uint;// = 0
private var frame:uint;// = 0
private var GFXT1:BitmapAsset;
private var GFXT2:BitmapAsset;
public function TitleScreen(){
var _local2:BitmapAsset;
var _local3:uint;
var _local4:BitmapAsset;
GFXfloor = new Sprite();
Hill = new (Mario.classGFX.AccessGFX("back_hill_big"));
Cloud = new (Mario.classGFX.AccessGFX("back_clouds_8"));
GFXP = new (Mario.classGFX.AccessGFX("object_mario0_walk_1"));
Logo = TitleScreen_Logo;
Keys = TitleScreen_Keys;
Text1 = TitleScreen_Text1;
Text2 = TitleScreen_Text2;
super();
GFXL = new Logo();
GFXK = new Keys();
GFXT1 = new Text1();
GFXT2 = new Text2();
Mario.generateBackground(0);
Mario.layerGover.addChild(Hill);
Mario.layerGover.addChild(Cloud);
Mario.layerGover.addChild(GFXfloor);
Mario.layerGover.addChild(GFXL);
Mario.layerGover.addChild(GFXK);
Mario.layerGover.addChild(GFXT1);
Mario.layerGover.addChild(GFXT2);
Mario.layerGover.addChild(GFXP);
GFXP.x = pX;
GFXL.x = 420;
GFXK.x = (400 - GFXK.width);
GFXK.y = (375 - GFXK.height);
GFXK.alpha = 0;
GFXT1.alpha = 0;
GFXT2.alpha = 0;
GFXT1.y = 280;
GFXT2.y = 320;
Hill.x = 200;
Cloud.x = -200;
Cloud.y = 200;
var _local1:uint;
while (_local1 < 18) {
_local2 = new (Mario.classGFX.AccessGFX("Wall_d"));
_local2.y = (11 * 25);
_local2.x = (_local1 * 25);
GFXfloor.addChild(_local2);
_local3 = 12;
while (_local3 < 15) {
_local4 = new (Mario.classGFX.AccessGFX("Wall_g"));
_local4.y = (_local3 * 25);
_local4.x = (_local1 * 25);
GFXfloor.addChild(_local4);
_local3++;
};
_local1++;
};
Mario.classSFX.Play(6);
}
public function Update():void{
GFXfloor.x = ((((25 + GFXfloor.x) - 3) % 25) - 25);
Hill.x = (Hill.x - 0.08);
Cloud.x = (Cloud.x - 0.12);
if (Hill.x < -(Hill.width)){
Hill.x = (Hill.x + (Hill.width + 400));
};
if (Cloud.x < -(Cloud.width)){
Cloud.x = (Cloud.x + (Cloud.width + 400));
};
timer++;
if ((timer % 4) == 0){
Mario.layerGover.removeChild(GFXP);
frame = ((frame + 1) % 3);
GFXP = new (Mario.classGFX.AccessGFX(("object_mario0_walk_" + (frame + 1))));
Mario.layerGover.addChild(GFXP);
};
GFXP.x = pX;
GFXP.y = 228;
pX = Math.max(190, (pX - 1));
GFXL.x = Math.max((200 - (GFXL.width / 2)), (GFXL.x - 1));
if ((((timer > 350)) && ((timer < 400)))){
GFXK.alpha = Math.min(1, (GFXK.alpha + 0.05));
GFXT1.alpha = Math.min(1, (GFXT1.alpha + 0.05));
GFXT2.alpha = Math.min(0.5, (GFXT2.alpha + 0.025));
};
if (timer < 400){
if (((((Mario.isKeyPressed(4)) || (Mario.isKeyPressed(6)))) || (Mario.isKeyPressed(7)))){
pX = 190;
GFXL.x = (200 - (GFXL.width / 2));
GFXK.alpha = 1;
GFXT1.alpha = 1;
GFXT2.alpha = 0.5;
timer = 400;
};
} else {
if (((Mario.isKeyPressed(1)) || (Mario.isKeyPressed(3)))){
sel = (1 - sel);
if (sel == 0){
GFXT1.alpha = 1;
GFXT2.alpha = 0.5;
} else {
GFXT1.alpha = 0.5;
GFXT2.alpha = 1;
};
};
if (((((Mario.isKeyPressed(4)) || (Mario.isKeyPressed(6)))) || (Mario.isKeyPressed(7)))){
Mario.Hud.Pnts = 0;
Mario.Hud.RedrawPnts();
Mario.checkPoint = 0;
if (sel == 0){
sel = 10;
} else {
sel = 11;
};
};
};
}
}
}//package objects
Section 359
//TitleScreen_Keys (objects.TitleScreen_Keys)
package objects {
import mx.core.*;
public class TitleScreen_Keys extends BitmapAsset {
}
}//package objects
Section 360
//TitleScreen_Logo (objects.TitleScreen_Logo)
package objects {
import mx.core.*;
public class TitleScreen_Logo extends BitmapAsset {
}
}//package objects
Section 361
//TitleScreen_Text1 (objects.TitleScreen_Text1)
package objects {
import mx.core.*;
public class TitleScreen_Text1 extends BitmapAsset {
}
}//package objects
Section 362
//TitleScreen_Text2 (objects.TitleScreen_Text2)
package objects {
import mx.core.*;
public class TitleScreen_Text2 extends BitmapAsset {
}
}//package objects
Section 363
//TroopaGreen (objects.TroopaGreen)
package objects {
import flash.display.*;
import flash.media.*;
public class TroopaGreen extends Enemy {
private var waiter:uint;// = 0
private var Mode:uint;// = 0
private var frame:uint;// = 0
private var SFXStomp:Sound;
private var wait:uint;// = 0
private var GFX:Array;
private var fall:Boolean;// = false
private var num:uint;// = 0
public function TroopaGreen(_arg1:uint, _arg2:uint){
GFX = new Array(6);
SFXStomp = new (Mario.classSFX.accessSFX("stompduck"));
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_koopa_green_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_koopa_green_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_shell_green_1"));
GFX[3] = new (Mario.classGFX.AccessGFX("enemy_shell_green_2"));
GFX[4] = new (Mario.classGFX.AccessGFX("enemy_shell_green_3"));
GFX[5] = new (Mario.classGFX.AccessGFX("enemy_shell_green_4"));
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 24);
GFX[frame].y = (eY - 16);
Mario.layerFore.addChild(GFX[0]);
}
override public function Stomp(_arg1:uint):void{
Player.hitStomp = true;
Player.Bounce(eY);
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (active){
if (Mode == 0){
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, (eX - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(eX, eY)) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 1){
fall = true;
};
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 4);
if (fall){
dir = ((Player.pX > eX)) ? 1 : -1;
fall = false;
};
};
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 2);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 24);
GFX[frame].y = (eY - 16);
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
};
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
private function makeShell():void{
Mario.layerFore.removeChild(GFX[frame]);
frame = 2;
GFX[frame].x = (eX - 3);
GFX[frame].y = (eY - 1);
Mario.layerFore.addChild(GFX[frame]);
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 1), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_shell_green_1")));
return (true);
}
}
}//package objects
Section 364
//TroopaRed (objects.TroopaRed)
package objects {
import flash.display.*;
import flash.media.*;
public class TroopaRed extends Enemy {
private var waiter:uint;// = 0
private var Mode:uint;// = 0
private var frame:uint;// = 0
private var SFXStomp:Sound;
private var wait:uint;// = 0
private var GFX:Array;
private var fall:Boolean;// = false
private var num:uint;// = 0
public function TroopaRed(_arg1:uint, _arg2:uint){
GFX = new Array(6);
SFXStomp = new (Mario.classSFX.accessSFX("stompduck"));
super();
eX = _arg1;
eY = _arg2;
eWid = 21;
dir = ((Player.pX > eX)) ? 1 : -1;
eHei = 21;
GFX[0] = new (Mario.classGFX.AccessGFX("enemy_koopa_red_1"));
GFX[1] = new (Mario.classGFX.AccessGFX("enemy_koopa_red_2"));
GFX[2] = new (Mario.classGFX.AccessGFX("enemy_shell_red_1"));
GFX[3] = new (Mario.classGFX.AccessGFX("enemy_shell_red_2"));
GFX[4] = new (Mario.classGFX.AccessGFX("enemy_shell_red_3"));
GFX[5] = new (Mario.classGFX.AccessGFX("enemy_shell_red_4"));
GFX[0].x = (eX - 3);
GFX[0].y = (eY - 5);
Mario.layerFore.addChild(GFX[0]);
}
override public function Stomp(_arg1:uint):void{
Player.hitStomp = true;
Player.Bounce(eY);
if (Mario.sounds){
SFXStomp.play();
};
}
override public function Update(_arg1:uint):void{
var _local2:Class;
if (active){
if (Mode == 0){
eX = (eX + dir);
if (dir > 0){
if (Mario.enemyBounce(_arg1, ((eX + eWid) - 1), eY, 2, eHei) == false){
if (((Mario.levelColl(((eX + eWid) - 1), eY)) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
} else {
if ((((gravity < 1)) && ((Mario.levelColl((eX + eWid), (eY + eHei)) == false)))){
dir = (dir * -1);
eX = (eX + dir);
};
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
} else {
if (Mario.enemyBounce(_arg1, (eX - 1), eY, 2, eHei) == false){
if ((((((Mario.levelColl((eX - 1), (eY + eHei)) == false)) || (Mario.levelColl(eX, eY)))) || (Mario.levelColl(eX, ((eY + eHei) - 1))))){
dir = (dir * -1);
eX = (eX + dir);
} else {
if ((((gravity > 1)) && ((Mario.levelColl((eX - 1), (eY + eHei)) == false)))){
dir = (dir * -1);
eX = (eX + dir);
};
};
} else {
dir = (dir * -1);
eX = (eX + dir);
};
};
gravity = (gravity + Mario.gravity);
if (gravity > 10){
gravity = 10;
};
eY = (eY + Math.round(gravity));
if (gravity > 1){
fall = true;
};
if (gravity > 0){
if (((Mario.levelColl(eX, ((eY + eHei) - 1))) || (Mario.levelColl(((eX + eWid) - 1), ((eY + eHei) - 1))))){
gravity = 0;
eY = ((Math.floor((eY / 25)) * 25) + 4);
if (fall){
dir = ((Player.pX > eX)) ? 1 : -1;
fall = false;
};
};
};
wait++;
if (wait == 15){
Mario.layerFore.removeChild(GFX[frame]);
frame = ((frame + 1) % 2);
Mario.layerFore.addChild(GFX[frame]);
wait = 0;
};
GFX[frame].scaleX = dir;
GFX[frame].x = ((eX - 2) + ((dir == 1)) ? 0 : 25);
GFX[frame].y = (eY - 16);
if (Mario.playerCollide(eX, eY, eWid, eHei)){
if (Player.Falls()){
if (Player.hitStomp == false){
Mario.stompSetDistance(_arg1, eX);
};
} else {
Mario.hitPlayer();
};
};
};
} else {
if (((((Player.pX + 250) > eX)) && (((Player.pX - 250) < eX)))){
active = true;
};
};
if (eY > ((Mario.levelHei * 25) + 250)){
Fire(_arg1, 1);
};
}
private function makeShell():void{
Mario.layerFore.removeChild(GFX[frame]);
frame = 2;
GFX[frame].x = (eX - 2);
GFX[frame].y = (eY - 1);
Mario.layerFore.addChild(GFX[frame]);
}
override public function Fire(_arg1:uint, _arg2:int):Boolean{
Mario.layerFore.removeChild(GFX[frame]);
Mario.removeEnemy(_arg1);
alive = false;
Mario.instEffects.push(new Enemy_Fire((eX - 2), (eY - 1), (Mario.Sign(_arg2) * 3), Mario.classGFX.AccessGFX("enemy_shell_red_1")));
return (true);
}
}
}//package objects
Section 365
//TypeHud (objects.TypeHud)
package objects {
import flash.display.*;
import flash.text.*;
import mx.core.*;
import flash.media.*;
public class TypeHud {
public var debugtext:TextField;
public var SFXLife:Sound;
private var GFXP3:BitmapAsset;
private var GFXP4:BitmapAsset;
private var GFXP5:BitmapAsset;
private var GFXP6:BitmapAsset;
private var wait:uint;// = 0
public var Pnts:int;// = 0
private var GFXX:BitmapAsset;
private var GFXTIME:BitmapAsset;
public var SFXHurry:Sound;
private var GFXMARIO:BitmapAsset;
private var GFXWORLD:BitmapAsset;
private var GFXW1:BitmapAsset;
private var GFXW2:BitmapAsset;
public var GFX:Sprite;
private var GFXW3:BitmapAsset;
public var Coins:int;// = 0
public var Interval:int;// = 20
public var Lives:int;// = 2
private var GFXC2:BitmapAsset;
private var GFXCOIN:BitmapAsset;
public var Time:int;// = 320
private var GFXC1:BitmapAsset;
private var GFXT1:BitmapAsset;
private var GFXT2:BitmapAsset;
private var GFXT3:BitmapAsset;
private var GFXP1:BitmapAsset;
private var GFXP2:BitmapAsset;
public function TypeHud(){
var _local1:Class;
SFXLife = new (Mario.classSFX.accessSFX("life"));
GFX = new Sprite();
debugtext = new TextField();
SFXHurry = new (Mario.classSFX.accessSFX("hurry"));
super();
Mario.layerWall.addChild(debugtext);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXC1 = new (_local1);
GFXC1.x = 0;
GFXC1.y = 0;
GFX.addChild(GFXC1);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXC2 = new (_local1);
GFXC2.x = 1;
GFXC2.y = 1;
GFX.addChild(GFXC2);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP1 = new (_local1);
GFXP1.x = 1;
GFXP1.y = 1;
GFX.addChild(GFXP1);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP2 = new (_local1);
GFXP2.x = 1;
GFXP2.y = 1;
GFX.addChild(GFXP2);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP3 = new (_local1);
GFXP3.x = 1;
GFXP3.y = 1;
GFX.addChild(GFXP3);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP4 = new (_local1);
GFXP4.x = 1;
GFXP4.y = 1;
GFX.addChild(GFXP4);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP5 = new (_local1);
GFXP5.x = 1;
GFXP5.y = 1;
GFX.addChild(GFXP5);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXP6 = new (_local1);
GFXP6.x = 1;
GFXP6.y = 1;
GFX.addChild(GFXP6);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXT1 = new (_local1);
GFXT1.x = 1;
GFXT1.y = 1;
GFX.addChild(GFXT1);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXT2 = new (_local1);
GFXT2.x = 1;
GFXT2.y = 1;
GFX.addChild(GFXT2);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXT3 = new (_local1);
GFXT3.x = 1;
GFXT3.y = 1;
GFX.addChild(GFXT3);
_local1 = Mario.classGFX.AccessGFX("font_time");
GFXTIME = new (_local1);
GFXTIME.x = 325;
GFXTIME.y = 20;
GFX.addChild(GFXTIME);
_local1 = Mario.classGFX.AccessGFX("font_world");
GFXWORLD = new (_local1);
GFXWORLD.x = 200;
GFXWORLD.y = 20;
GFX.addChild(GFXWORLD);
_local1 = Mario.classGFX.AccessGFX("font_mario");
GFXMARIO = new (_local1);
GFXMARIO.x = 25;
GFXMARIO.y = 20;
GFX.addChild(GFXMARIO);
_local1 = Mario.classGFX.AccessGFX("font_coin_1");
GFXCOIN = new (_local1);
GFXCOIN.x = 120;
GFXCOIN.y = 35;
GFX.addChild(GFXCOIN);
_local1 = Mario.classGFX.AccessGFX("font_x");
GFXX = new (_local1);
GFXX.x = 130;
GFXX.y = 36;
GFX.addChild(GFXX);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXW1 = new (_local1);
GFXW1.x = 214;
GFXW1.y = 35;
GFX.addChild(GFXW1);
_local1 = Mario.classGFX.AccessGFX("font_-");
GFXW2 = new (_local1);
GFXW2.x = 225;
GFXW2.y = 35;
GFX.addChild(GFXW2);
_local1 = Mario.classGFX.AccessGFX("font_1");
GFXW3 = new (_local1);
GFXW3.x = 238;
GFXW3.y = 35;
GFX.addChild(GFXW3);
RedrawWorld();
RedrawCoins();
RedrawTime();
RedrawPnts();
}
public function RedrawTime():void{
GFX.removeChild(GFXT1);
GFX.removeChild(GFXT2);
GFX.removeChild(GFXT3);
var _local1:Class = Mario.classGFX.AccessGFX(("font_" + Math.floor((Time / 100))));
GFXT1 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Math.floor((Time / 10)) % 10)));
GFXT2 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Time % 10)));
GFXT3 = new (_local1);
GFXT1.x = (340 + ((Time > 99)) ? 0 : 1000);
GFXT1.y = 35;
GFXT2.x = (352 + ((Time > 9)) ? 0 : 1000);
GFXT2.y = 35;
GFXT3.x = 364;
GFXT3.y = 35;
GFX.addChild(GFXT1);
GFX.addChild(GFXT2);
GFX.addChild(GFXT3);
}
public function RedrawPnts():void{
GFX.removeChild(GFXP1);
GFX.removeChild(GFXP2);
GFX.removeChild(GFXP3);
GFX.removeChild(GFXP4);
GFX.removeChild(GFXP5);
GFX.removeChild(GFXP6);
var _local1:Class = Mario.classGFX.AccessGFX(("font_" + Math.floor((Pnts / 100000))));
GFXP1 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Math.floor((Pnts / 10000)) % 10)));
GFXP2 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Math.floor((Pnts / 1000)) % 10)));
GFXP3 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Math.floor((Pnts / 100)) % 10)));
GFXP4 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Math.floor((Pnts / 10)) % 10)));
GFXP5 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Pnts % 10)));
GFXP6 = new (_local1);
GFXP1.x = (25 + ((Pnts > 99999)) ? 0 : 1000);
GFXP1.y = 35;
GFXP2.x = (37 + ((Pnts > 9999)) ? 0 : 1000);
GFXP2.y = 35;
GFXP3.x = (49 + ((Pnts > 999)) ? 0 : 1000);
GFXP3.y = 35;
GFXP4.x = (61 + ((Pnts > 99)) ? 0 : 1000);
GFXP4.y = 35;
GFXP5.x = (73 + ((Pnts > 9)) ? 0 : 1000);
GFXP5.y = 35;
GFXP6.x = 85;
GFXP6.y = 35;
GFX.addChild(GFXP1);
GFX.addChild(GFXP2);
GFX.addChild(GFXP3);
GFX.addChild(GFXP4);
GFX.addChild(GFXP5);
GFX.addChild(GFXP6);
}
public function RedrawWorld():void{
var _local2:Class;
GFX.removeChild(GFXW1);
GFX.removeChild(GFXW3);
var _local1:uint = ((Mario.levelid < 16)) ? (Math.floor((Mario.levelid / 4)) + 1) : 4;
_local2 = Mario.classGFX.AccessGFX(("font_" + _local1));
GFXW1 = new (_local2);
GFXW1.x = 214;
GFXW1.y = 35;
GFX.addChild(GFXW1);
_local1 = ((Mario.levelid < 16)) ? ((Mario.levelid % 4) + 1) : 5;
_local2 = Mario.classGFX.AccessGFX(("font_" + _local1));
GFXW3 = new (_local2);
GFXW3.x = 238;
GFXW3.y = 35;
GFX.addChild(GFXW3);
}
public function RedrawCoins():void{
GFX.removeChild(GFXC1);
GFX.removeChild(GFXC2);
while (Coins > 99) {
Coins = (Coins - 100);
Mario.instEffects.push(new Points(Player.pX, Player.pY, "1up"));
if (Mario.sounds){
SFXLife.play();
};
};
var _local1:Class = Mario.classGFX.AccessGFX(("font_" + Math.floor((Coins / 10))));
GFXC1 = new (_local1);
_local1 = Mario.classGFX.AccessGFX(("font_" + (Coins % 10)));
GFXC2 = new (_local1);
GFXC1.x = 142;
GFXC1.y = 35;
GFXC2.x = 154;
GFXC2.y = 35;
GFX.addChild(GFXC1);
GFX.addChild(GFXC2);
}
public function Hud():Sprite{
return (GFX);
}
public function Update():void{
var _local1:Class;
if (Mario.playerControllable){
Interval--;
if (Interval == 0){
Interval = 25;
Time--;
RedrawTime();
if (Time == 100){
SFXHurry.play();
};
};
if (Time == 0){
Mario.hitPlayer(true);
};
};
wait = (((wait + 1) % 30) + 1);
if ((wait % 10) == 2){
GFX.removeChild(GFXCOIN);
_local1 = Mario.classGFX.AccessGFX(("font_coin_" + Math.ceil((wait / 10))));
GFXCOIN = new (_local1);
GFXCOIN.x = 115;
GFXCOIN.y = 35;
GFX.addChild(GFXCOIN);
};
}
}
}//package objects
Section 366
//WaitScreen (objects.WaitScreen)
package objects {
import flash.display.*;
import mx.core.*;
public class WaitScreen {
public var GFX:Sprite;
public var seq:uint;// = 0
public var Back:Shape;
public var timer:uint;// = 0
public var GFXL2:BitmapAsset;
public var GFXHEAD:BitmapAsset;
public var GFXL1:BitmapAsset;
public var GFXX:BitmapAsset;
public function WaitScreen(){
GFX = new Sprite();
Back = new Shape();
super();
Back.graphics.beginFill(0);
Back.graphics.drawRect(0, 0, 400, 375);
GFX.addChild(Back);
}
public function update():uint{
var _local1:Class;
switch (seq){
case 0:
Mario.Hud.RedrawWorld();
Mario.classSFX.Play();
_local1 = Mario.classGFX.AccessGFX("font_head");
GFXHEAD = new (_local1);
_local1 = Mario.classGFX.AccessGFX("font_x");
GFXX = new (_local1);
GFXHEAD.x = 171;
GFXHEAD.y = 180;
GFXX.x = 200;
GFXX.y = 191;
GFX.addChild(GFXHEAD);
GFX.addChild(GFXX);
setVar(Mario.Hud.Lives);
seq = 1;
return (0);
case 1:
timer++;
if (timer == 50){
timer = 0;
seq = 2;
};
return (1);
case 2:
clearAll();
seq = 0;
if (Mario.music){
Mario.classSFX.Play(Mario.musika);
};
Mario.self.ingameStep();
return (2);
};
return (1);
}
public function setVar(_arg1:uint):void{
var _local2:Class = Mario.classGFX.AccessGFX(("font_" + Math.floor((_arg1 / 10))));
GFXL1 = new (_local2);
_local2 = Mario.classGFX.AccessGFX(("font_" + (_arg1 % 10)));
GFXL2 = new (_local2);
GFXL1.x = 217;
GFXL1.y = 190;
GFXL2.x = 229;
GFXL2.y = 190;
GFX.addChild(GFXL1);
GFX.addChild(GFXL2);
}
public function clearAll():void{
GFX.removeChild(GFXL1);
GFX.removeChild(GFXL2);
GFX.removeChild(GFXHEAD);
GFX.removeChild(GFXX);
}
}
}//package objects
Section 367
//Mario (Mario)
package {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import mx.core.*;
import objects.*;
import flash.net.*;
import flash.geom.*;
import flash.ui.*;
public class Mario extends Sprite {
private var instPlayer:Player;
public static var instEnemies:Array = new Array();
public static var Waiter:WaitScreen;
public static var playerControllable:Boolean = true;
private static var headbuttDistance:uint = 999;
public static var mox:Number;
public static var moy:Number;
public static var music:Boolean = true;
public static var scrollEdge:int = 0;
public static var scrollX:int = 0;
private static var stompID:int = -1;
public static var background:Shape = new Shape();
public static var gradient:Shape = new Shape();
public static var layerHide:Sprite = new Sprite();
public static var sounds:Boolean = true;
public static var self:Mario;
public static var stepping:Boolean = true;
public static var gravity:Number = 0.4;
public static var decreaseStomp:uint = 0;
private static var headbuttID:int = -1;
public static var layerBack2:Sprite = new Sprite();
public static var levelGenre:uint = 0;
public static var checkPoint:uint = 1;
public static var decreaseI:uint = 0;
public static var instBlocks:Array = new Array();
private static var stompDistance:uint = 999;
public static var layerEffects:Sprite = new Sprite();
public static var level:Array = new Array();
public static var Log2:Logo2;
public static var layerPipe:Sprite = new Sprite();
public static var layerFore:Sprite = new Sprite();
public static var levelWid:uint;
private static var keysDown:Array = [false, false, false, false, false, false, false, false];
public static var levelid:uint = 12;
public static var layerWall:Sprite = new Sprite();
public static var sequence:uint = 11;
public static var Logo1:Logoobj;
public static var radishNO:uint = 0;
public static var musika:uint;
public static var layerBack:Sprite = new Sprite();
public static var Hud:TypeHud;
public static var TScreen:TitleScreen;
public static var classGFX:GFX;
public static var instEffects:Array = new Array();
public static var levelHei:uint;
public static var layerGover:Sprite = new Sprite();
public static var classSFX:SFX;
public static var instObjects:Array = new Array();
public static var scrolling:Boolean = true;
public static var pause:Pauser;
private static var keysHit:Array = [0, 0, 0, 0, 0, 0, 0, 0];
public function Mario():void{
self = this;
addEventListener(Event.ENTER_FRAME, MainGame);
generateBackground(1);
addChildAt(gradient, 0);
addChild(layerBack2);
addChild(layerBack);
addChild(layerPipe);
addChild(layerHide);
addChild(layerWall);
addChild(layerFore);
addChild(layerEffects);
addChild(layerGover);
MainGame(null);
var _local1:Sprite = new Sprite();
_local1.graphics.beginFill(0xFFFFFF);
_local1.graphics.drawRect(0, 0, 400, 375);
this.mask = _local1;
this.addChild(_local1);
}
public function waitScreen():void{
switch (Waiter.update()){
case 0:
addChildAt(Waiter.GFX, (this.numChildren - 1));
break;
case 2:
removeChild(Waiter.GFX);
sequence = 1;
break;
};
layerBack.x = 0;
layerHide.x = 0;
layerWall.x = 0;
layerFore.x = 0;
}
public function Logo():void{
if (Logo1.a == 0){
layerGover.addChild(Logo1);
};
Logo1.Step();
if (Logo1.a > 10){
layerGover.removeChild(Logo1);
Logo1 = new Logoobj();
sequence = 4;
};
}
public function ingameStep():void{
var _local1:int;
Hud.Update();
if (playerControllable){
instPlayer.Update();
};
stompDistance = 99;
stompID = -1;
_local1 = (instEnemies.length - 1);
while (_local1 >= 0) {
instEnemies[_local1].Update(_local1);
_local1 = (_local1 - decreaseI);
stompID = (stompID - decreaseStomp);
decreaseI = 0;
decreaseStomp = 0;
_local1--;
};
if (Mario.stompID > -1){
instEnemies[stompID].Stomp(stompID);
};
headbuttID = -1;
headbuttDistance = 99;
_local1 = (instBlocks.length - 1);
while (_local1 >= 0) {
instBlocks[_local1].Update(_local1);
_local1--;
};
if (Mario.headbuttID > -1){
instBlocks[headbuttID].Headbutt(headbuttID);
};
_local1 = (instObjects.length - 1);
while (_local1 >= 0) {
instObjects[_local1].Update(_local1);
if (decreaseI == 1){
decreaseI = 0;
return;
};
_local1--;
};
_local1 = (instEffects.length - 1);
while (_local1 >= 0) {
instEffects[_local1].Update(_local1);
if (decreaseI == 1){
decreaseI = 0;
break;
};
_local1--;
};
keyHitReset();
Player.Reset();
if (((playerControllable) && (scrolling))){
scrollX = Math.min((200 - Player.pX), -(scrollEdge));
layerBack.x = scrollX;
layerHide.x = scrollX;
layerWall.x = scrollX;
layerFore.x = scrollX;
layerEffects.x = scrollX;
};
}
public function keyDown(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.RIGHT:
if (Hiscore.isHS){
return;
};
keysDown[0] = true;
if (keysHit[0] == 0){
keysHit[0] = 1;
};
break;
case Keyboard.DOWN:
if (Hiscore.isHS){
return;
};
keysDown[1] = true;
if (keysHit[1] == 0){
keysHit[1] = 1;
};
break;
case Keyboard.LEFT:
if (Hiscore.isHS){
return;
};
keysDown[2] = true;
if (keysHit[2] == 0){
keysHit[2] = 1;
};
break;
case Keyboard.UP:
if (Hiscore.isHS){
return;
};
keysDown[3] = true;
if (keysHit[3] == 0){
keysHit[3] = 1;
};
break;
case 90:
if (Hiscore.isHS){
return;
};
keysDown[4] = true;
if (keysHit[4] == 0){
keysHit[4] = 1;
};
break;
case 88:
if (Hiscore.isHS){
return;
};
keysDown[5] = true;
if (keysHit[5] == 0){
keysHit[5] = 1;
};
break;
case Keyboard.ENTER:
if (Hiscore.isHS){
return;
};
keysDown[6] = true;
if (keysHit[6] == 0){
keysHit[6] = 1;
};
break;
case Keyboard.SPACE:
if (Hiscore.isHS){
return;
};
keysDown[7] = true;
if (keysHit[7] == 0){
keysHit[7] = 1;
};
break;
case Keyboard.ESCAPE:
if (Hiscore.isHS){
return;
};
togglePause();
break;
case 83:
if (Hiscore.isHS){
return;
};
if (!GameOver.isGO){
toggleSound();
};
break;
case 77:
if (Hiscore.isHS){
return;
};
if (!GameOver.isGO){
toggleMusic();
};
break;
};
}
public function keyUp(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.RIGHT:
keysDown[0] = false;
if (keysHit[0] > 0){
keysHit[0] = 0;
};
break;
case Keyboard.DOWN:
keysDown[1] = false;
if (keysHit[1] > 0){
keysHit[1] = 0;
};
break;
case Keyboard.LEFT:
keysDown[2] = false;
if (keysHit[2] > 0){
keysHit[2] = 0;
};
break;
case Keyboard.UP:
keysDown[3] = false;
if (keysHit[3] > 0){
keysHit[3] = 0;
};
break;
case 90:
keysDown[4] = false;
if (keysHit[4] > 0){
keysHit[4] = 0;
};
break;
case 88:
keysDown[5] = false;
if (keysHit[5] > 0){
keysHit[5] = 0;
};
break;
case Keyboard.ENTER:
keysDown[6] = false;
if (keysHit[6] > 0){
keysHit[6] = 0;
};
break;
case Keyboard.SPACE:
keysDown[7] = false;
if (keysHit[7] > 0){
keysHit[7] = 0;
};
break;
};
}
public function TitScreen():void{
var _local1:SharedObject;
if (TScreen == null){
TScreen = new TitleScreen();
};
TScreen.Update();
keyHitReset();
if (TScreen.sel == 10){
Player.GFX2.alpha = 1;
levelid = 0;
Hud.Lives = 2;
Mario.clearLevel();
TScreen = null;
Hud.GFX.alpha = 1;
waitScreen();
} else {
if (TScreen.sel == 11){
Player.GFX2.alpha = 1;
_local1 = SharedObject.getLocal("MarioForeverFlash");
if (_local1.data.level >= 12){
levelid = 12;
} else {
if (_local1.data.level >= 8){
levelid = 8;
} else {
if (_local1.data.level >= 4){
levelid = 4;
} else {
levelid = 0;
};
};
};
Hud.Lives = 2;
Mario.clearLevel();
TScreen = null;
Hud.GFX.alpha = 1;
waitScreen();
};
};
}
private function MainGame(_arg1:Event):void{
var _local2:Sprite;
var _local3:TextField;
if ((((Loading.lc.domain == "www2qw.minijuegos.com")) && (!((Loading.lc.domain == "minijuegos.com"))))){
_local2 = new Sprite();
_local3 = new TextField();
_local2.graphics.beginFill(0);
_local2.graphics.drawRect(0, 0, 400, 375);
_local2.graphics.endFill();
_local3.y = 50;
_local3.textColor = 0xFFFFFF;
_local3.scaleX = 1;
_local3.scaleY = 1;
_local3.x = 0;
_local3.autoSize = TextFieldAutoSize.NONE;
_local3.height = 300;
_local3.width = 400;
_local3.wordWrap = true;
_local3.htmlText = "<p align='center'><font size='25'>This flash is illegally placed here and won't work. It can only be placed on minijuegos.com If you see this message please contact me immediately at skell@tlen.pl.</font></p>";
addChild(_local2);
addChild(_local3);
return;
};
mox = mouseX;
moy = mouseY;
if (stepping){
switch (sequence){
case 0:
waitScreen();
break;
case 1:
ingameStep();
break;
case 2:
Logo();
break;
case 3:
LogoZwei();
break;
case 4:
TitScreen();
break;
case 11:
classGFX = new GFX();
classSFX = new SFX();
instPlayer = new Player(25, 200);
Waiter = new WaitScreen();
Logo1 = new Logoobj();
Log2 = new Logo2();
Player.GFX2.alpha = 0;
Hud = new TypeHud();
Hud.GFX.alpha = 0;
addChild(Hud.Hud());
sequence = 3;
break;
case 12:
break;
};
};
}
public function LogoZwei():void{
if (Log2.timer == 0){
Player.GFX2.alpha = 0;
layerGover.addChild(Log2.GFX);
};
Log2.Update();
if (Log2.timer == 200){
layerGover.removeChild(Log2.GFX);
sequence = 4;
Log2 = new Logo2();
};
}
private function keyHitReset():void{
if (keysHit[0] == 1){
keysHit[0] = 2;
};
if (keysHit[1] == 1){
keysHit[1] = 2;
};
if (keysHit[2] == 1){
keysHit[2] = 2;
};
if (keysHit[3] == 1){
keysHit[3] = 2;
};
if (keysHit[4] == 1){
keysHit[4] = 2;
};
if (keysHit[5] == 1){
keysHit[5] = 2;
};
if (keysHit[6] == 1){
keysHit[6] = 2;
};
if (keysHit[7] == 1){
keysHit[7] = 2;
};
}
public static function togglePause():void{
if (((((((!((sequence == 12))) && (!((sequence == 1))))) || ((musika == 13)))) || (GameOver.isGO))){
return;
};
if (pause == null){
sequence = 12;
pause = new Pauser();
} else {
sequence = 1;
pause.kill();
pause = null;
};
}
public static function toggleSound():void{
if (sounds == true){
sounds = false;
} else {
sounds = true;
};
}
public static function playerCollide(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint):Boolean{
var _local5:int;
var _local6:int;
if (playerControllable){
_local5 = (Player.pX - _arg1);
_local6 = (Player.pY - _arg2);
if ((((((((_local5 < _arg3)) && ((_local5 > -(Player.pWid))))) && ((_local6 < _arg4)))) && ((_local6 > -(Player.pHei))))){
return (true);
};
};
return (false);
}
public static function isKeyDown(_arg1:uint):Boolean{
return (keysDown[_arg1]);
}
public static function centerScreen(_arg1:int):void{
scrollX = Math.min((200 - _arg1), -(scrollEdge));
layerBack.x = scrollX;
layerHide.x = scrollX;
layerWall.x = scrollX;
layerFore.x = scrollX;
layerEffects.x = scrollX;
var _local2:int = (instEffects.length - 1);
while (_local2 >= 0) {
if ((instEffects[_local2] is Background)){
instEffects[_local2].Reset(_arg1);
};
_local2--;
};
}
public static function Collide(_arg1:uint, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:uint, _arg7:uint, _arg8:uint):Boolean{
var _local9:int = (_arg5 - _arg1);
var _local10:int = (_arg6 - _arg2);
if ((((((((_local9 < _arg3)) && ((_local9 > -(_arg7))))) && ((_local10 < _arg4)))) && ((_local10 > -(_arg8))))){
return (true);
};
return (false);
}
public static function toggleMusic():void{
if (music == true){
music = false;
} else {
music = true;
};
if (music == false){
classSFX.Play();
} else {
if (sequence == 4){
classSFX.Play(6);
} else {
if (Player.starred > 0){
classSFX.Play(3);
} else {
if (sequence == 1){
if (musika != 13){
classSFX.Play(musika);
};
};
};
};
};
}
public static function enemyBounce(_arg1:uint, _arg2:int, _arg3:int, _arg4:uint, _arg5:uint):Boolean{
var _local6:int = (instEnemies.length - 1);
while (_local6 >= 0) {
if (((((!((_local6 == _arg1))) && ((instEnemies[_local6].bounce == true)))) && (Mario.Collide(_arg2, _arg3, _arg4, _arg5, instEnemies[_local6].eX, instEnemies[_local6].eY, instEnemies[_local6].eWid, instEnemies[_local6].eHei)))){
return (true);
};
_local6--;
};
return (false);
}
public static function enemyStarHit(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int):void{
var _local7:Enemy;
var _local6:int = (instEnemies.length - 1);
while (_local6 >= 0) {
if (Mario.Collide(_arg1, _arg2, _arg3, _arg4, instEnemies[_local6].eX, instEnemies[_local6].eY, instEnemies[_local6].eWid, instEnemies[_local6].eHei)){
_local7 = instEnemies[_local6];
if (_local7.Fire(_local6, _arg5)){
if (Mario.sounds){
_local7.SFXKick.play();
};
Mario.instEffects.push(new Points(_arg1, _arg2, "200"));
};
};
_local6--;
};
}
public static function removeEffect(_arg1:uint):void{
Mario.instEffects.splice(_arg1, 1);
}
public static function enemyHitFireball(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:int):Boolean{
var _local6:int = (instEnemies.length - 1);
while (_local6 >= 0) {
if (Mario.Collide(_arg1, _arg2, _arg3, _arg4, instEnemies[_local6].eX, instEnemies[_local6].eY, instEnemies[_local6].eWid, instEnemies[_local6].eHei)){
if (instEnemies[_local6].FireballHit(_local6, _arg5)){
return (true);
};
};
_local6--;
};
return (false);
}
public static function clearLevel(_arg1:Boolean=true):void{
var _local2:SharedObject;
var _local3:uint;
stepping = false;
instEnemies = new Array();
instEffects = new Array();
instObjects = new Array();
instBlocks = new Array();
while (layerBack.numChildren > 0) {
layerBack.removeChildAt(0);
};
while (layerFore.numChildren > 0) {
layerFore.removeChildAt(0);
};
while (layerHide.numChildren > 0) {
layerHide.removeChildAt(0);
};
while (layerWall.numChildren > 0) {
layerWall.removeChildAt(0);
};
while (layerBack2.numChildren > 0) {
layerBack2.removeChildAt(0);
};
while (layerEffects.numChildren > 0) {
layerEffects.removeChildAt(0);
};
while (layerGover.numChildren > 0) {
layerGover.removeChildAt(0);
};
Player.starred = 0;
Player.shield = 0;
if (_arg1){
_local2 = SharedObject.getLocal("MarioForeverFlash");
_local3 = (Math.floor((levelid / 4)) * 4);
_local2.data.level = _local3;
_local2.flush(128);
playerControllable = true;
scrolling = true;
scrollEdge = 0;
MakeLevel(levelid);
};
}
public static function hitPlayer(_arg1:Boolean=false):void{
if ((((((((Player.shield == 0)) && ((Player.sequence == 0)))) && ((Player.starred == 0)))) || (_arg1))){
if (Player.pSize > 0){
if (Player.pSize == 1){
Player.sequence = 2;
} else {
Player.sequence = -2;
};
Player.pSize = 0;
Player.sequenceFrame = 60;
Player.shield = 100;
if (_arg1){
Player.sequence = 0;
Player.sequenceFrame = 0;
Player.shield = 0;
Mario.instEffects.push(new DeadMario(Player.pX, (Player.pY - 21)));
playerControllable = false;
layerFore.removeChild(Player.GFX2);
if (scrolling){
scrollX = Math.min((200 - Player.pX), -(scrollEdge));
layerBack.x = scrollX;
layerHide.x = scrollX;
layerWall.x = scrollX;
layerFore.x = scrollX;
layerEffects.x = scrollX;
};
Mario.classSFX.Play(-1);
if (Mario.sounds){
Player.SFXDeath.play();
};
} else {
if (Mario.sounds){
Player.SFXPowerdown.play();
};
};
} else {
Mario.instEffects.push(new DeadMario(Player.pX, (Player.pY - 21)));
playerControllable = false;
layerFore.removeChild(Player.GFX2);
if (scrolling){
scrollX = Math.min((200 - Player.pX), -(scrollEdge));
layerBack.x = scrollX;
layerHide.x = scrollX;
layerWall.x = scrollX;
layerFore.x = scrollX;
layerEffects.x = scrollX;
};
Mario.classSFX.Play(-1);
if (Mario.sounds){
Player.SFXDeath.play();
};
};
};
}
public static function removeEnemy(_arg1:uint):void{
if (_arg1 < stompID){
stompID--;
};
Mario.instEnemies.splice(_arg1, 1);
}
public static function removeBlock(_arg1:uint):void{
Mario.instBlocks.splice(_arg1, 1);
}
public static function stompSetDistance(_arg1:uint, _arg2:int):void{
if (Math.abs((_arg2 - Player.pX)) < Mario.stompDistance){
Mario.stompID = _arg1;
Mario.stompDistance = Math.abs((_arg2 - Player.pX));
};
}
public static function givePointShell(_arg1:uint):String{
switch (_arg1){
case 0:
return ("100");
case 1:
return ("200");
case 2:
return ("500");
case 3:
return ("1000");
case 4:
return ("2000");
case 5:
return ("5000");
case 6:
return ("8000");
case 7:
return ("1up");
};
return ("100");
}
public static function generateBackground(_arg1:uint):void{
var _local2:String;
var _local7:String;
gradient.graphics.clear();
var _local3:Array = new Array(2);
var _local4:Array = new Array(2);
var _local5:Array = new Array(2);
var _local6:Matrix = new Matrix();
switch (_arg1){
case 0:
_local2 = GradientType.LINEAR;
_local3 = [39372, 1179647];
_local4 = [100, 100];
_local5 = [60, 120];
_local6 = new Matrix();
_local6.createGradientBox(400, 375, (Math.PI / 2));
_local7 = SpreadMethod.PAD;
gradient.graphics.beginGradientFill(_local2, _local3, _local4, _local5, _local6, _local7);
gradient.graphics.drawRect(0, 0, 400, 375);
break;
case 1:
_local2 = GradientType.LINEAR;
_local3 = [2113648, 1122626];
_local4 = [100, 100];
_local5 = [60, 120];
_local6 = new Matrix();
_local6.createGradientBox(400, 375, (Math.PI / 2));
_local7 = SpreadMethod.PAD;
gradient.graphics.beginGradientFill(_local2, _local3, _local4, _local5, _local6, _local7);
gradient.graphics.drawRect(0, 0, 400, 375);
break;
};
}
public static function headbuttSetDistance(_arg1:uint, _arg2:int):void{
if (Math.abs((_arg2 - Player.pX)) < Mario.headbuttDistance){
Mario.headbuttID = _arg1;
Mario.headbuttDistance = Math.abs((_arg2 - Player.pX));
};
}
public static function isKeyPressed(_arg1:uint):Boolean{
if (keysHit[_arg1] == 1){
return (true);
};
return (false);
}
public static function levelColl(_arg1:Number, _arg2:Number):Boolean{
if (_arg1 < scrollEdge){
return (true);
};
_arg1 = Math.floor((_arg1 / 25));
_arg2 = Math.floor((_arg2 / 25));
if ((((((((_arg1 < Mario.levelWid)) && ((_arg1 > -1)))) && ((_arg2 < Mario.levelHei)))) && ((_arg2 > -1)))){
if (Mario.level[_arg2].charAt(_arg1) == "x"){
return (true);
};
};
return (false);
}
public static function drawLevel():void{
var _local1:BitmapAsset;
var _local3:uint;
var _local2:uint;
while (_local2 < Mario.levelHei) {
_local3 = 0;
while (_local3 < Mario.levelWid) {
switch (Mario.level[_local2].charAt(_local3)){
case " ":
break;
case "n":
case "o":
case "p":
_local1 = new (Mario.classGFX.AccessGFX(("Wall_" + Mario.level[_local2].charAt(_local3))));
_local1.x = (_local3 * 25);
_local1.y = (_local2 * 25);
Mario.layerHide.addChild(_local1);
changeLevel(_local3, _local2, " ");
break;
default:
_local1 = new (Mario.classGFX.AccessGFX(("Wall_" + Mario.level[_local2].charAt(_local3))));
_local1.x = (_local3 * 25);
_local1.y = (_local2 * 25);
Mario.layerWall.addChild(_local1);
changeLevel(_local3, _local2, "x");
break;
};
_local3++;
};
_local2++;
};
}
public static function changeLevel(_arg1:uint, _arg2:uint, _arg3:String):void{
Mario.level[_arg2] = ((Mario.level[_arg2].substr(0, _arg1) + _arg3) + Mario.level[_arg2].substr((_arg1 + 1)));
}
public static function playerBonus(_arg1:uint):void{
Player.pSize = 1;
Player.sequence = 1;
Player.sequenceFrame = 60;
if (Mario.sounds){
Player.SFXPowerup.play();
};
}
public static function Sign(_arg1:Number):int{
if (_arg1 > 0){
return (1);
};
if (_arg1 < 0){
return (-1);
};
return (0);
}
public static function enemyShellHit(_arg1:int, _arg2:int, _arg3:int, _arg4:uint, _arg5:uint, _arg6:int):int{
var _local10:Enemy;
var _local7:int;
var _local8 = 1;
var _local9:int = (instEnemies.length - 1);
while (_local9 >= 0) {
if (((!((_local9 == _arg1))) && (Mario.Collide(_arg2, _arg3, _arg4, _arg5, instEnemies[_local9].eX, instEnemies[_local9].eY, instEnemies[_local9].eWid, instEnemies[_local9].eHei)))){
if (_local9 < _arg1){
Mario.decreaseI++;
};
if (stompID < _arg1){
Mario.decreaseStomp++;
};
if (_local9 < Mario.stompID){
Mario.stompID--;
};
if (instEnemies[_local9].isShell){
_local8 = -1;
};
_local10 = instEnemies[_local9];
if (_local10.Fire(_local9, _arg6)){
if (Mario.sounds){
_local10.SFXKick.play();
};
};
_local7++;
};
_local9--;
};
return ((_local7 * _local8));
}
public static function removeObject(_arg1:uint):void{
Mario.instObjects.splice(_arg1, 1);
}
}
}//package