Section 1
//ActiveGraph (ActiveGraph.ActiveGraph)
package ActiveGraph {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
public class ActiveGraph extends Sprite {
private const MEGABYTES:Number = 9.5367431640625E-7;
private const HEIGHT:Number = 15;
private const PAGE:Number = 0x1000;
private const WIDTH:Number = 50;
private var output:String;
private var graphBackground:Sprite;
private var average:int;
private var plotLength:int;
private var old:int;
private var verboseMode:Boolean;
private var backY:Number;
private var low:Number;
private var caught2:Boolean;// = false
private var timer:Timer;
private var backX:Number;
private var plotLine:Shape;
private var textBox:TextField;
private var lastPlot2:int;
private var textFormat:TextFormat;
private var numerator:Number;
private var denominator:Number;
private var lastPlot1:int;
private var history:Array;
private var high:Number;
private var sign:String;
private var fn:Function;
private var itr:Number;
private var returnVal:Boolean;
private var plot:int;
public function ActiveGraph(_arg1:Number=0, _arg2:Boolean=false, _arg3:Boolean=true, _arg4:int=2):void{
caught2 = false;
super();
_arg4 = Math.min(_arg4, 2);
lastPlot1 = (lastPlot2 = (plot = (plotLength = 0)));
history = new Array();
numerator = (denominator = (average = 0));
timer = new Timer(_arg1);
verboseMode = _arg2;
switch (_arg4){
case 0:
fn = test0;
break;
case 2:
fn = test2;
break;
default:
fn = test1;
break;
};
if (_arg3){
textBox = new TextField();
textFormat = new TextFormat();
graphBackground = new Sprite();
plotLine = new Shape();
textFormat.size = 9;
textFormat.font = "Monaco";
textFormat.color = 0xFFFFFF;
textBox.selectable = false;
textBox.autoSize = TextFieldAutoSize.LEFT;
textBox.x = (WIDTH + 5);
textBox.height = HEIGHT;
graphBackground.graphics.beginFill(0);
graphBackground.graphics.drawRect(0, 0, (WIDTH + 85), HEIGHT);
graphBackground.graphics.endFill();
graphBackground.graphics.lineStyle(0.5, 0xFFFFFF);
graphBackground.graphics.drawRect(0, 0, WIDTH, (HEIGHT - 1));
this.addChild(graphBackground);
this.addChild(plotLine);
this.addChild(textBox);
timer.addEventListener(TimerEvent.TIMER, drawMem, false, 0, true);
textBox.mouseEnabled = false;
backX = x;
backY = y;
graphBackground.addEventListener(MouseEvent.MOUSE_DOWN, handleDrag, false, 0, true);
graphBackground.addEventListener(MouseEvent.MOUSE_UP, handleDrag, false, 0, true);
this.addEventListener(Event.ADDED_TO_STAGE, loadDrag, false, 0, true);
} else {
timer.addEventListener(TimerEvent.TIMER, trackMem, false, 0, true);
};
timer.start();
}
private function drawMem(_arg1:TimerEvent=null):void{
if (trackMem()){
plotLine.graphics.clear();
if (plotLength == 21){
history.shift();
plotLength--;
};
if (plot > history[int((plotLength - 1))]){
sign = "+ , ";
} else {
if (plot < history[int((plotLength - 1))]){
sign = "- , ";
} else {
sign = " , ";
};
};
history.push(plot);
plotLength = history.length;
if (plotLength > 1){
plotLine.graphics.lineStyle(2.5, 0xFF0000);
high = 0;
low = Infinity;
itr = 0;
while (itr < plotLength) {
high = Math.max(history[itr], high);
low = Math.min(history[itr], low);
itr++;
};
plotLine.graphics.moveTo(0, (HEIGHT * (1 - ((history[0] - low) / (high - low)))));
itr = 1;
while (itr < plotLength) {
plotLine.graphics.lineTo(((WIDTH * itr) / (plotLength - 1)), (HEIGHT * (1 - ((history[itr] - low) / (high - low)))));
itr++;
};
};
output = (plot + sign);
textBox.text = (String(output) + String(average));
textBox.setTextFormat(textFormat);
};
}
private function loadDrag(_arg1:Event):void{
this.stage.addEventListener(Event.MOUSE_LEAVE, handleDrag, false, 0, true);
}
private function handleDrag(_arg1:Event):void{
switch (_arg1.type){
case MouseEvent.MOUSE_DOWN:
backX = x;
backY = y;
startDrag();
break;
case MouseEvent.MOUSE_UP:
stopDrag();
break;
case Event.MOUSE_LEAVE:
stopDrag();
x = backX;
y = backY;
break;
};
}
private function trackMem(_arg1:TimerEvent=null):Boolean{
returnVal = false;
plot = (System.totalMemory / PAGE);
old = average;
numerator = (numerator + plot);
denominator++;
average = (numerator / denominator);
if (((fn()) && (verboseMode))){
};
return (returnVal);
}
public function get data():Number{
return (plot);
}
private function test0():Boolean{
if (lastPlot1 != plot){
returnVal = true;
lastPlot1 = plot;
};
return (returnVal);
}
private function test2():Boolean{
if ((((lastPlot1 > plot)) || (!(lastPlot1)))){
if ((((lastPlot2 > plot)) || (!(lastPlot2)))){
caught2 = true;
};
lastPlot2 = plot;
} else {
if ((((lastPlot1 < plot)) && (caught2))){
plot = lastPlot2;
returnVal = true;
caught2 = false;
};
};
lastPlot1 = plot;
return (returnVal);
}
private function test1():Boolean{
returnVal = ((!(lastPlot1)) || ((lastPlot1 > plot)));
lastPlot1 = plot;
return (returnVal);
}
}
}//package ActiveGraph
Section 2
//MochiScores (mochi.MochiScores)
package mochi {
import flash.display.*;
import flash.text.*;
public class MochiScores {
private static var boardID:String;
public static var onErrorHandler:Object;
public static var onCloseHandler:Object;
public static function showLeaderboard(_arg1:Object=null):void{
var options = _arg1;
if (options != null){
if (options.clip != null){
if ((options.clip is Sprite)){
MochiServices.setContainer(options.clip);
};
delete options.clip;
} else {
MochiServices.setContainer();
};
MochiServices.stayOnTop();
if (options.name != null){
if ((options.name is TextField)){
if (options.name.text.length > 0){
options.name = options.name.text;
};
};
};
if (options.score != null){
if ((options.score is TextField)){
if (options.score.text.length > 0){
options.score = options.score.text;
};
};
};
if (options.onDisplay != null){
options.onDisplay();
} else {
if (MochiServices.clip != null){
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
//unresolved jump
};
};
};
} else {
options = {};
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
//unresolved jump
};
};
if (options.onClose != null){
onCloseHandler = options.onClose;
} else {
onCloseHandler = function ():void{
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.play();
//unresolved jump
};
};
};
if (options.onError != null){
onErrorHandler = options.onError;
} else {
onErrorHandler = null;
};
if (options.boardID == null){
if (MochiScores.boardID != null){
options.boardID = MochiScores.boardID;
};
};
MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose);
}
public static function closeLeaderboard():void{
MochiServices.send("scores_closeLeaderboard");
}
public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2);
}
public static function requestList(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_requestList", null, _arg1, _arg2);
}
public static function scoresArrayToObjects(_arg1:Object):Object{
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Object;
var _local6:Object;
var _local7:String;
var _local8:String;
_local2 = {};
for (_local7 in _arg1) {
if (typeof(_arg1[_local7]) == "object"){
if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){
_local2[_local7] = [];
_local5 = _arg1[_local7];
_local4 = 0;
while (_local4 < _local5.rows.length) {
_local6 = {};
_local3 = 0;
while (_local3 < _local5.cols.length) {
_local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3];
_local3++;
};
_local2[_local7].push(_local6);
_local4++;
};
} else {
_local2[_local7] = {};
for (_local8 in _arg1[_local7]) {
_local2[_local7][_local8] = _arg1[_local7][_local8];
};
};
} else {
_local2[_local7] = _arg1[_local7];
};
};
return (_local2);
}
public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{
MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4);
}
public static function onClose(_arg1:Object=null):void{
if (_arg1 != null){
if (_arg1.error != null){
if (_arg1.error == true){
if (onErrorHandler != null){
if (_arg1.errorCode == null){
_arg1.errorCode = "IOError";
};
onErrorHandler(_arg1.errorCode);
MochiServices.doClose();
return;
};
};
};
};
onCloseHandler();
MochiServices.doClose();
}
public static function setBoardID(_arg1:String):void{
MochiScores.boardID = _arg1;
MochiServices.send("scores_setBoardID", {boardID:_arg1});
}
}
}//package mochi
Section 3
//MochiServices (mochi.MochiServices)
package mochi {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiServices {
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _swfVersion:String;
private static var _sendChannel:LocalConnection;
private static var _rcvChannelName:String;
private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf";
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _listenChannel:LocalConnection;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _startTime:Number;
private static var _connecting:Boolean = false;
public static var onError:Object;
private static var _listenChannelName:String = "__mochiservices";
private static var _rcvChannel:LocalConnection;
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
onError("NotConnected");
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
};
if (_clip != null){
if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){
_clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_clip._nextcallbackID++;
};
};
}
public static function get connected():Boolean{
return (_connected);
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (_clip != null){
if (_clip._queue != null){
while (_clip._queue.length > 0) {
_local2 = _clip._queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _clip._callbacks[_local2.callbackID];
};
delete _clip._callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
public static function get childClip():Object{
return (_clip);
}
public static function get id():String{
return (_id);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
public static function getVersion():String{
return ("1.2");
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_listenChannel.close();
_rcvChannel.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
} catch(error:Error) {
};
};
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
Security.allowDomain("*");
Security.allowInsecureDomain("*");
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
return (_local2);
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
if (_clip.parent != null){
Sprite(_clip.parent).removeChild(_clip);
};
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_arg1 != null){
if ((_arg1 is Sprite)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is Sprite)){
Sprite(_container).addChild(_clip);
};
};
}
private static function onStatus(_arg1:StatusEvent):void{
switch (_arg1.level){
case "error":
_connected = false;
_listenChannel.connect(_listenChannelName);
break;
};
}
private static function initComChannels():void{
if (!_connected){
_sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion()});
_rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_clip.onReceive = function (_arg1:Object):void{
var cb:String;
var cblst:Object;
var method:*;
var obj:Object;
var pkg = _arg1;
cb = pkg.callbackID;
cblst = this.client._callbacks[cb];
if (!cblst){
return;
};
method = cblst.callbackMethod;
obj = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
if (obj[method] != null){
method = obj[method];
//unresolved jump
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
};
};
};
delete this.client._callbacks[cb];
};
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
_rcvChannel.connect(_rcvChannelName);
_connecting = false;
_connected = true;
_listenChannel.close();
while (_clip._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift());
};
};
}
private static function listen():void{
_listenChannel = new LocalConnection();
_listenChannel.client = _clip;
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
_listenChannel.allowDomain("*", "localhost");
_listenChannel.allowInsecureDomain("*", "localhost");
_listenChannel.connect(_listenChannelName);
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
public static function get clip():Object{
return (_container);
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
_rcvChannelName = _arg1;
initComChannels();
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
var clipname:String;
var f:Function;
var req:URLRequest;
var id = _arg1;
var clip = _arg2;
clipname = ("_mochiservices_com_" + id);
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
MochiServices.allowDomains(_gatewayURL);
_clip = createEmptyMovieClip(clip, clipname, 10336, false);
_loader = new Loader();
_timer = new Timer(1000, 0);
_startTime = getTimer();
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
f = function (_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
};
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
req = new URLRequest(_gatewayURL);
_loader.load(req);
_clip.addChild(_loader);
_clip._mochiservices_com = _loader;
_sendChannel = new LocalConnection();
_clip._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain("*", "localhost");
_rcvChannel.allowInsecureDomain("*", "localhost");
_rcvChannel.client = _clip;
_clip._nextcallbackID = 0;
_clip._callbacks = {};
listen();
return (_clip);
}
public static function bringToTop(_arg1:Event):void{
var e = _arg1;
if (MochiServices.clip != null){
if (MochiServices.childClip != null){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
};
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
if ((clip is DisplayObject)){
if (((!(_connected)) && ((_clip == null)))){
_connecting = true;
init(id, clip);
};
//unresolved jump
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
};
};
};
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{
var _local5:MovieClip;
_local5 = new MovieClip();
if (_arg4){
if (((false) && (_arg3))){
_arg1.addChildAt(_local5, _arg3);
} else {
_arg1.addChild(_local5);
};
};
_arg1[_arg2] = _local5;
_local5["_name"] = _arg2;
return (_local5);
}
public static function connectWait(_arg1:TimerEvent):void{
if ((getTimer() - _startTime) > 10000){
if (!_connected){
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
};
_timer.stop();
};
}
}
}//package mochi
Section 4
//amountneeded_levelout_244 (PumpkinMan_fla.amountneeded_levelout_244)
package PumpkinMan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class amountneeded_levelout_244 extends MovieClip {
public var amount_txt:TextField;
}
}//package PumpkinMan_fla
Section 5
//arcadenumbers_196 (PumpkinMan_fla.arcadenumbers_196)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class arcadenumbers_196 extends MovieClip {
public function arcadenumbers_196(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame8(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 6
//atari_color_cycle_291 (PumpkinMan_fla.atari_color_cycle_291)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class atari_color_cycle_291 extends MovieClip {
public var colors:MovieClip;
}
}//package PumpkinMan_fla
Section 7
//attackBonusScoreCounterdisplay_241 (PumpkinMan_fla.attackBonusScoreCounterdisplay_241)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class attackBonusScoreCounterdisplay_241 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
public var number4:MovieClip;
public var number6:MovieClip;
public var number3:MovieClip;
public var number5:MovieClip;
}
}//package PumpkinMan_fla
Section 8
//BasicBackground_1 (PumpkinMan_fla.BasicBackground_1)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class BasicBackground_1 extends MovieClip {
public var linktosite:MovieClip;
}
}//package PumpkinMan_fla
Section 9
//bonusneedednumber_223 (PumpkinMan_fla.bonusneedednumber_223)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class bonusneedednumber_223 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
public var number4:MovieClip;
public var number3:MovieClip;
public var number5:MovieClip;
}
}//package PumpkinMan_fla
Section 10
//bonustimedisplay_238 (PumpkinMan_fla.bonustimedisplay_238)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class bonustimedisplay_238 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
public var number3:MovieClip;
}
}//package PumpkinMan_fla
Section 11
//bonusTimeScoreCounterdisplay_240 (PumpkinMan_fla.bonusTimeScoreCounterdisplay_240)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class bonusTimeScoreCounterdisplay_240 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
public var number4:MovieClip;
public var number6:MovieClip;
public var number3:MovieClip;
public var number5:MovieClip;
}
}//package PumpkinMan_fla
Section 12
//bonusX_field_242 (PumpkinMan_fla.bonusX_field_242)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class bonusX_field_242 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
}
}//package PumpkinMan_fla
Section 13
//code_text_instructions2_25 (PumpkinMan_fla.code_text_instructions2_25)
package PumpkinMan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class code_text_instructions2_25 extends MovieClip {
public var levelnum_txt:TextField;
}
}//package PumpkinMan_fla
Section 14
//colors_293 (PumpkinMan_fla.colors_293)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class colors_293 extends MovieClip {
public var c1:MovieClip;
public var c3:MovieClip;
public var c4:MovieClip;
public var c5:MovieClip;
public var c6:MovieClip;
public var c8:MovieClip;
public var c2:MovieClip;
public var c7:MovieClip;
public var c9:MovieClip;
public function colors_293(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package PumpkinMan_fla
Section 15
//creditsmenutext_249 (PumpkinMan_fla.creditsmenutext_249)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class creditsmenutext_249 extends MovieClip {
public function creditsmenutext_249(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 16
//enterlevelstartcode_252 (PumpkinMan_fla.enterlevelstartcode_252)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class enterlevelstartcode_252 extends MovieClip {
public function enterlevelstartcode_252(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 17
//finalscorepanel_83 (PumpkinMan_fla.finalscorepanel_83)
package PumpkinMan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class finalscorepanel_83 extends MovieClip {
public var bonuscount_txt:TextField;
public var pmancount_txt:TextField;
public var finalscore_txt:TextField;
public var pumpkin_mc:MovieClip;
}
}//package PumpkinMan_fla
Section 18
//highscoremenutext_248 (PumpkinMan_fla.highscoremenutext_248)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class highscoremenutext_248 extends MovieClip {
public function highscoremenutext_248(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 19
//instructionmenutext_246 (PumpkinMan_fla.instructionmenutext_246)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class instructionmenutext_246 extends MovieClip {
public function instructionmenutext_246(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 20
//levelintext_192 (PumpkinMan_fla.levelintext_192)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class levelintext_192 extends MovieClip {
public var levelnum1:MovieClip;
public var levelnum2:MovieClip;
}
}//package PumpkinMan_fla
Section 21
//loaderScale_289 (PumpkinMan_fla.loaderScale_289)
package PumpkinMan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class loaderScale_289 extends MovieClip {
public var tlLoader:TextField;
}
}//package PumpkinMan_fla
Section 22
//playgamemenutext_250 (PumpkinMan_fla.playgamemenutext_250)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class playgamemenutext_250 extends MovieClip {
public function playgamemenutext_250(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 23
//restartlastlevel_253 (PumpkinMan_fla.restartlastlevel_253)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class restartlastlevel_253 extends MovieClip {
public function restartlastlevel_253(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package PumpkinMan_fla
Section 24
//totalBonus_display_243 (PumpkinMan_fla.totalBonus_display_243)
package PumpkinMan_fla {
import flash.display.*;
public dynamic class totalBonus_display_243 extends MovieClip {
public var number1:MovieClip;
public var number2:MovieClip;
public var number4:MovieClip;
public var number6:MovieClip;
public var number7:MovieClip;
public var number8:MovieClip;
public var number3:MovieClip;
public var number5:MovieClip;
}
}//package PumpkinMan_fla
Section 25
//arcadealphabetclip (arcadealphabetclip)
package {
import flash.display.*;
public dynamic class arcadealphabetclip extends MovieClip {
public function arcadealphabetclip(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44);
}
function frame10(){
stop();
}
function frame14(){
stop();
}
function frame18(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame19(){
stop();
}
function frame25(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame22(){
stop();
}
function frame16(){
stop();
}
function frame8(){
stop();
}
function frame21(){
stop();
}
function frame2(){
stop();
}
function frame15(){
stop();
}
function frame23(){
stop();
}
function frame24(){
stop();
}
function frame28(){
stop();
}
function frame36(){
stop();
}
function frame20(){
stop();
}
function frame30(){
stop();
}
function frame31(){
stop();
}
function frame34(){
stop();
}
function frame27(){
stop();
}
function frame11(){
stop();
}
function frame35(){
stop();
}
function frame37(){
stop();
}
function frame43(){
stop();
}
function frame29(){
stop();
}
function frame33(){
stop();
}
function frame40(){
stop();
}
function frame41(){
stop();
}
function frame39(){
stop();
}
function frame26(){
stop();
}
function frame32(){
stop();
}
function frame42(){
stop();
}
function frame44(){
stop();
}
function frame38(){
stop();
}
}
}//package
Section 26
//arcadeattack (arcadeattack)
package {
import flash.display.*;
public dynamic class arcadeattack extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 27
//arcadebonusxup (arcadebonusxup)
package {
import flash.display.*;
public dynamic class arcadebonusxup extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 28
//arcadefreeze (arcadefreeze)
package {
import flash.display.*;
public dynamic class arcadefreeze extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 29
//arcadego (arcadego)
package {
import flash.display.*;
public dynamic class arcadego extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 30
//arcadekey (arcadekey)
package {
import flash.display.*;
public dynamic class arcadekey extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 31
//arcadekill (arcadekill)
package {
import flash.display.*;
public dynamic class arcadekill extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 32
//arcadeprincess (arcadeprincess)
package {
import flash.display.*;
public dynamic class arcadeprincess extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 33
//arcadeprotect (arcadeprotect)
package {
import flash.display.*;
public dynamic class arcadeprotect extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 34
//arcadetransport (arcadetransport)
package {
import flash.display.*;
public dynamic class arcadetransport extends MovieClip {
public var holder:MovieClip;
}
}//package
Section 35
//attack1 (attack1)
package {
import flash.display.*;
public dynamic class attack1 extends MovieClip {
}
}//package
Section 36
//attack2 (attack2)
package {
import flash.display.*;
public dynamic class attack2 extends MovieClip {
}
}//package
Section 37
//attack3 (attack3)
package {
import flash.display.*;
public dynamic class attack3 extends MovieClip {
}
}//package
Section 38
//attack4 (attack4)
package {
import flash.display.*;
public dynamic class attack4 extends MovieClip {
}
}//package
Section 39
//BasicGameSprite (BasicGameSprite)
package {
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class BasicGameSprite extends Sprite {
var blitRectangle:Rectangle;
var renderrotation:Boolean;// = false
var nextscaley:Number;// = 1
var nextscalex:Number;// = 1
var glowfilter:GlowFilter;
public var tileRow:int;
var nextalpha:Number;// = 1
var spriteBitmapDataIndex:int;// = 0
var gravity:Number;// = 0
var spriteBitmap:Bitmap;
var accAdjust:int;// = 0
var nextrotation:Number;// = 0
var animationFrameCount:int;// = 0
var rendervelocity:Boolean;// = false
var renderscalex:Boolean;// = false
var acceleration:Number;// = 1
var bitmapStateObject:Object;
var dy:Number;// = 0
var renderalpha:Boolean;// = false
var usefriction:Boolean;// = false
public var gamePlay:GamePlay;
var renderscaley:Boolean;// = false
var aSpriteBitmapData:Array;
var dx:Number;// = 0
var centernextx:int;
var centernexty:int;
var renderGlowFilter:Boolean;// = false
var animationFrameDelay:int;// = 1
var blitPoint:Point;
var centerx:int;
public var tileSize:int;
var gravityDirection:Number;// = 0
var centery:int;
var velocity:Number;// = 0
var animate:Boolean;// = false
var nextx:Number;// = 0
var nexty:Number;// = 0
var usegravity:Boolean;// = false
public var tileCol:int;
var friction:Number;// = 0
public function BasicGameSprite(){
bitmapStateObject = {};
aSpriteBitmapData = [];
spriteBitmapDataIndex = 0;
animationFrameDelay = 1;
animationFrameCount = 0;
animate = false;
dx = 0;
dy = 0;
nextx = 0;
nexty = 0;
nextrotation = 0;
nextscalex = 1;
nextscaley = 1;
nextalpha = 1;
acceleration = 1;
velocity = 0;
friction = 0;
gravity = 0;
gravityDirection = 0;
rendervelocity = false;
renderalpha = false;
renderrotation = false;
renderscalex = false;
renderscaley = false;
renderGlowFilter = false;
usegravity = false;
usefriction = false;
accAdjust = 0;
blitPoint = new Point();
super();
}
public function setblitRectangle():void{
blitRectangle = new Rectangle(0, 0, tileSize, tileSize);
}
public function nextAnimation(){
var _local1:ColorTransform;
var _local2:Rectangle;
var _local3:Rectangle;
var _local4:BitmapData;
_local1 = new ColorTransform();
if (animationFrameCount > animationFrameDelay){
spriteBitmapDataIndex++;
if (spriteBitmapDataIndex == aSpriteBitmapData.length){
spriteBitmapDataIndex = 0;
};
animationFrameCount = 0;
};
animationFrameCount++;
_local4 = aSpriteBitmapData[spriteBitmapDataIndex].clone();
if (renderalpha){
alpha = nextalpha;
_local2 = new Rectangle(0, 0, tileSize, tileSize);
_local1.alphaMultiplier = alpha;
_local4.colorTransform(_local2, _local1);
};
if (renderscalex){
scaleX = nextscalex;
};
if (renderscaley){
scaleX = nextscaley;
};
if (renderrotation){
rotation = nextrotation;
};
if (renderGlowFilter){
_local3 = new Rectangle(0, 0, tileSize, tileSize);
_local4.applyFilter(_local4, _local3, new Point(0, 0), glowfilter);
};
blitPoint.x = x;
blitPoint.y = y;
gamePlay.getgameScreenBitmapData().copyPixels(_local4, blitRectangle, blitPoint);
}
public function getCurrentBitmapData():BitmapData{
return (aSpriteBitmapData[spriteBitmapDataIndex]);
}
public function render(){
if (rendervelocity){
setx(nextx);
sety(nexty);
};
if (animate){
nextAnimation();
} else {
blitPoint.x = x;
blitPoint.y = y;
gamePlay.getgameScreenBitmapData().copyPixels(aSpriteBitmapData[spriteBitmapDataIndex], blitRectangle, blitPoint);
};
}
public function resetRenderBooleans(){
rendervelocity = false;
renderalpha = false;
renderscalex = false;
renderscaley = false;
renderrotation = false;
renderGlowFilter = false;
}
function addBitmapState(_arg1:String, _arg2:Array){
bitmapStateObject[_arg1] = _arg2;
}
public function sety(_arg1:int){
y = _arg1;
centery = (y + (0.5 * tileSize));
}
function getBitmapState(_arg1:String):Array{
return (bitmapStateObject[_arg1]);
}
public function setx(_arg1:int){
x = _arg1;
centerx = (x + (0.5 * tileSize));
}
public function update(){
if (rendervelocity){
setnextx((x + (dx * (acceleration + accAdjust))));
setnexty((y + (dy * (acceleration + accAdjust))));
};
}
public function setnextx(_arg1:int){
nextx = _arg1;
centernextx = (nextx + (0.5 * tileSize));
}
function setBitmapState(_arg1:String, _arg2:Array){
var _local3:*;
_local3 = 0;
while (_local3 < _arg2.length) {
bitmapStateObject[_arg1][_local3] = _arg2[_local3];
_local3++;
};
}
public function setnexty(_arg1:int){
nexty = _arg1;
centernexty = (nexty + (0.5 * tileSize));
}
}
}//package
Section 40
//BasicGameTile (BasicGameTile)
package {
import flash.display.*;
public class BasicGameTile extends Sprite {
var transportID:int;
var isEnemyGenerator:Boolean;// = false
var poweruptitle:String;
var isTransport:Boolean;
var tileSheetID:int;
var isReceiver:Boolean;
var tileBitmapDataIndex:int;// = 0
var animationFrameCount:int;// = 0
var tileBitmap:Bitmap;
var aTileBitmapData:Array;
var mapCol:int;// = 0
var animationFrameDelay:int;// = 1
var tileSize:int;
var isKey:Boolean;// = false
var mapRow:int;// = 0
var animate:Boolean;// = false
var powerUpType:int;
var isWalkable:Boolean;// = false
var isCollectible:Boolean;// = false
var isPowerUp:Boolean;// = false
var isDoor:Boolean;// = false
public function BasicGameTile(){
isWalkable = false;
isCollectible = false;
isPowerUp = false;
animationFrameDelay = 1;
animationFrameCount = 0;
animate = false;
aTileBitmapData = [];
tileBitmapDataIndex = 0;
mapRow = 0;
mapCol = 0;
isEnemyGenerator = false;
isKey = false;
isDoor = false;
super();
}
public function getCurrentBitmapData():BitmapData{
return (aTileBitmapData[tileBitmapDataIndex]);
}
public function dispose():void{
var _local1:*;
for each (_local1 in aTileBitmapData) {
};
(aTileBitmapData = null);
}
public function render(){
}
}
}//package
Section 41
//bonusx (bonusx)
package {
import flash.display.*;
public dynamic class bonusx extends MovieClip {
}
}//package
Section 42
//codeentryscreen_mc (codeentryscreen_mc)
package {
import flash.display.*;
public dynamic class codeentryscreen_mc extends MovieClip {
public var cursor10:MovieClip;
public var instr1_mc:MovieClip;
public var checkmark_mc:MovieClip;
public var cursor0:MovieClip;
public var cursor5:MovieClip;
public var cursor6:MovieClip;
public var cursor7:MovieClip;
public var cursor8:MovieClip;
public var cursor1:MovieClip;
public var cursor3:MovieClip;
public var cursor9:MovieClip;
public var cursor2:MovieClip;
public var letter10:arcadealphabetclip;
public var letter0:arcadealphabetclip;
public var letter2:arcadealphabetclip;
public var letter3:arcadealphabetclip;
public var letter4:arcadealphabetclip;
public var letter5:arcadealphabetclip;
public var letter6:arcadealphabetclip;
public var letter7:arcadealphabetclip;
public var letter1:arcadealphabetclip;
public var letter9:arcadealphabetclip;
public var cursor4:MovieClip;
public var letter8:arcadealphabetclip;
public var instr2_mc:MovieClip;
}
}//package
Section 43
//CodeScreen (CodeScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.geom.*;
public class CodeScreen extends MovieClip {
private var aEntryString:Array;
private var entryString:String;
private var ctr1:int;
private var letterIndex:int;// = 0
private var aLevelPassword:Array;
private var cursorNumString:String;
private var currentStringLetter:String;
private var codeScreen:codeentryscreen_mc;
private var codeAccepted:Boolean;// = false
private var gameLoop:GameLoop;
private var maxIndex;// = 10
private var searchResult:Number;
private var letterFrame:String;
public function CodeScreen(_arg1:GameLoop){
codeScreen = new codeentryscreen_mc();
letterIndex = 0;
maxIndex = 10;
codeAccepted = false;
super();
gameLoop = _arg1;
codeScreen.x = 40;
codeScreen.y = 40;
addChild(codeScreen);
}
public function removeListeners():void{
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
}
function setCursorOn(_arg1:int){
codeScreen.cursor0.visible = false;
codeScreen.cursor1.visible = false;
codeScreen.cursor2.visible = false;
codeScreen.cursor3.visible = false;
codeScreen.cursor4.visible = false;
codeScreen.cursor5.visible = false;
codeScreen.cursor6.visible = false;
codeScreen.cursor7.visible = false;
codeScreen.cursor8.visible = false;
codeScreen.cursor9.visible = false;
codeScreen.cursor10.visible = false;
cursorNumString = ("cursor" + String(_arg1));
codeScreen[cursorNumString].visible = true;
}
public function reset():void{
addListeners();
letterIndex = 0;
setCursorOn(0);
entryString = "";
aEntryString = [];
codeAccepted = false;
aLevelPassword = gameLoop.getaLevelPassword();
codeScreen.letter0.visible = false;
codeScreen.letter1.visible = false;
codeScreen.letter2.visible = false;
codeScreen.letter3.visible = false;
codeScreen.letter4.visible = false;
codeScreen.letter5.visible = false;
codeScreen.letter6.visible = false;
codeScreen.letter7.visible = false;
codeScreen.letter8.visible = false;
codeScreen.letter9.visible = false;
codeScreen.letter10.visible = false;
codeScreen.checkmark_mc.visible = false;
codeScreen.instr1_mc.visible = true;
codeScreen.instr2_mc.visible = false;
}
function keyDownListener(_arg1:KeyboardEvent):void{
if ((((((_arg1.keyCode >= 65)) && ((_arg1.keyCode <= 90)))) || ((((_arg1.keyCode >= 97)) && ((_arg1.keyCode <= 122)))))){
currentStringLetter = String.fromCharCode(_arg1.charCode);
currentStringLetter = currentStringLetter.toLowerCase();
letterFrame = ("arcade_" + currentStringLetter);
codeScreen[("letter" + letterIndex)].gotoAndStop(letterFrame);
codeScreen[("letter" + letterIndex)].visible = true;
aEntryString[letterIndex] = currentStringLetter;
letterIndex++;
codeScreen.instr1_mc.visible = true;
codeScreen.instr2_mc.visible = false;
codeScreen.checkmark_mc.visible = false;
if (letterIndex > maxIndex){
letterIndex = maxIndex;
} else {
setCursorOn(letterIndex);
};
};
if ((((_arg1.keyCode == 8)) || ((_arg1.keyCode == 37)))){
codeAccepted = false;
codeScreen[("letter" + letterIndex)].visible = false;
aEntryString[letterIndex] = "";
letterIndex--;
codeScreen.instr1_mc.visible = true;
codeScreen.instr2_mc.visible = false;
codeScreen.checkmark_mc.visible = false;
if (letterIndex < 0){
letterIndex = 0;
};
setCursorOn(letterIndex);
};
if (_arg1.keyCode == 13){
checkEntry();
};
if (_arg1.keyCode == 27){
removeListeners();
gameLoop.codeScreenFinished(GameLoop.STATE_SYSTEM_MENUSCREEN);
};
if (((codeAccepted) && ((_arg1.keyCode == 83)))){
removeListeners();
gameLoop.setbLevelOverride(true);
gameLoop.setiLevelOverride(searchResult);
gameLoop.codeScreenFinished(GameLoop.STATE_SYSTEM_GAMEPLAY);
};
}
function checkEntry():void{
entryString = aEntryString.join("");
searchResult = aLevelPassword.indexOf(entryString);
if (searchResult != -1){
codeAccepted = true;
codeScreen.checkmark_mc.visible = true;
codeScreen.instr1_mc.visible = false;
codeScreen.instr2_mc.visible = true;
codeScreen.instr2_mc.levelnum_txt.text = String(searchResult);
gameLoop.soundManager.codeAccepted();
} else {
codeScreen.checkmark_mc.visible = false;
codeAccepted = false;
};
}
public function addListeners():void{
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
}
}
}//package
Section 44
//door (door)
package {
import flash.display.*;
public dynamic class door extends MovieClip {
}
}//package
Section 45
//dumb1 (dumb1)
package {
import flash.display.*;
public dynamic class dumb1 extends MovieClip {
}
}//package
Section 46
//dumb2 (dumb2)
package {
import flash.display.*;
public dynamic class dumb2 extends MovieClip {
}
}//package
Section 47
//dumb3 (dumb3)
package {
import flash.display.*;
public dynamic class dumb3 extends MovieClip {
}
}//package
Section 48
//dumb4 (dumb4)
package {
import flash.display.*;
public dynamic class dumb4 extends MovieClip {
}
}//package
Section 49
//dumb5 (dumb5)
package {
import flash.display.*;
public dynamic class dumb5 extends MovieClip {
}
}//package
Section 50
//Enemy (Enemy)
package {
import flash.events.*;
import flash.geom.*;
public class Enemy extends BasicGameSprite {
var dVertical:int;
public var fleeFilterArray:Array;
public var moveDown:Boolean;// = false
var doChange:Boolean;
public var stateBeforeFreeze:String;
public var restartX:int;
public var frameDelayBeforeStart:int;// = 20
public var restartY:int;
var ctr1:int;
var nextTile:Tile;
public var turning:Boolean;// = false
public var title:String;
var aNewState:Array;
public var lastTile:int;
public var moveUp:Boolean;// = false
public var mapCols:int;
public var fleeFilterIndex:int;// = 0
var nextHitTile:Tile;
public var score:int;
public var started:Boolean;// = false
public var frozen:Boolean;// = false
public var intelligence:int;// = 0
public var blinkFleeCount:int;// = 0
public var moveRight:Boolean;// = false
var newState:String;
public var fleeFilterFrameCtr:int;// = 0
var aState:Array;
var newDirectionFound:Boolean;
var doMove:Boolean;
var temphitx:Number;
public var hittilecol:int;
var temphity:Number;
public var frameCountBeforeStart:int;// = 0
public var blinkFreeze:Boolean;// = false
public var aiState:String;
public var hitx:int;
public var hity:int;
public var moveErase:Boolean;// = false
public var blinkFreezeMaxFrames:int;// = 3
public var mapRows:int;
public var blinkFlee:Boolean;// = false
public var moveLeft:Boolean;// = false
public var hittilerow:int;
public var moveStop:Boolean;// = false
var randState:int;
var nextTileCol:Number;
public var fleeblinkon:Boolean;// = false
var currentTileMiddleY:int;
public var restartFrameDelay;// = 100
var dHorizontal:int;
public var fleeFilterFrameDelay:int;// = 7
public var blinkFreezeCount:int;// = 0
var currentTileMiddleX:int;
var currentTile:int;
public var freezeblinkon:Boolean;// = false
var nextTileRow:Number;
public var blinkFleeMaxFrames:int;// = 3
public function Enemy(_arg1:Number, _arg2:Number, _arg3:GamePlay){
moveUp = false;
moveDown = false;
moveRight = false;
moveLeft = false;
moveStop = false;
moveErase = false;
turning = false;
intelligence = 0;
started = false;
frameDelayBeforeStart = 20;
frameCountBeforeStart = 0;
restartFrameDelay = 100;
blinkFlee = false;
blinkFleeCount = 0;
blinkFleeMaxFrames = 3;
fleeblinkon = false;
frozen = false;
blinkFreeze = false;
blinkFreezeCount = 0;
blinkFreezeMaxFrames = 3;
freezeblinkon = false;
fleeFilterIndex = 0;
fleeFilterFrameDelay = 7;
fleeFilterFrameCtr = 0;
fleeFilterArray = [];
aNewState = [];
super();
x = _arg1;
y = _arg2;
nextx = x;
nexty = y;
restartX = x;
restartY = y;
gamePlay = _arg3;
gamePlay.addEventListener(GamePlay.UPDATE, updateListener, false, 0, true);
}
public function resetTileRow(){
tileRow = int((y / tileSize));
}
function findNewDirection():void{
aState = gamePlay.getaMoveState();
newDirectionFound = false;
currentTileMiddleX = ((tileCol * tileSize) + (0.5 * tileSize));
currentTileMiddleY = ((tileRow * tileSize) + (0.5 * tileSize));
newState = "";
aNewState = [];
doChange = true;
doMove = false;
if (aiState == GamePlay.AI_STATE_CHASE){
if (int((Math.random() * 100)) > intelligence){
randState = int((Math.random() * aState.length));
newState = aState[randState];
} else {
if (tileCol > gamePlay.getPlayerCurrentCol()){
dHorizontal = -1;
} else {
if (tileCol < gamePlay.getPlayerCurrentCol()){
dHorizontal = 1;
} else {
dHorizontal = 0;
};
};
if (tileRow > gamePlay.getPlayerCurrentRow()){
dVertical = -1;
} else {
if (tileRow < gamePlay.getPlayerCurrentRow()){
dVertical = 1;
} else {
dVertical = 0;
};
};
if ((((dHorizontal == 0)) && (!((dVertical == 0))))){
if (dVertical == -1){
newState = "up";
} else {
newState = "down";
};
} else {
if ((((dVertical == 0)) && (!((dHorizontal == 0))))){
if (dHorizontal == -1){
newState = "left";
} else {
newState = "right";
};
} else {
if ((((dVertical == 0)) && ((dHorizontal == 0)))){
doChange = false;
} else {
if (dVertical == -1){
aNewState.push("up");
};
if (dVertical == 1){
aNewState.push("down");
};
if (dHorizontal == -1){
aNewState.push("left");
};
if (dHorizontal == 1){
aNewState.push("left");
};
randState = int((Math.random() * aNewState.length));
newState = aNewState[randState];
};
};
};
};
} else {
if (int((Math.random() * 100)) > intelligence){
randState = int((Math.random() * aState.length));
newState = aState[randState];
} else {
if (tileCol > gamePlay.getPlayerCurrentCol()){
dHorizontal = -1;
} else {
if (tileCol < gamePlay.getPlayerCurrentCol()){
dHorizontal = 1;
} else {
dHorizontal = 0;
};
};
if (tileRow > gamePlay.getPlayerCurrentRow()){
dVertical = -1;
} else {
if (tileRow < gamePlay.getPlayerCurrentRow()){
dVertical = 1;
} else {
dVertical = 0;
};
};
if ((((dHorizontal == 0)) && (!((dVertical == 0))))){
if (dVertical == -1){
newState = "down";
} else {
newState = "up";
};
} else {
if ((((dVertical == 0)) && (!((dHorizontal == 0))))){
if (dHorizontal == -1){
newState = "right";
} else {
newState = "left";
};
} else {
if ((((dVertical == 0)) && ((dHorizontal == 0)))){
doChange = false;
} else {
if (dVertical == -1){
aNewState.push("up");
};
if (dVertical == 1){
aNewState.push("down");
};
if (dHorizontal == -1){
aNewState.push("left");
};
if (dHorizontal == 1){
aNewState.push("left");
};
randState = int((Math.random() * aNewState.length));
newState = aNewState[randState];
};
};
};
};
};
if (doChange){
switch (newState){
case GamePlay.MOVE_STATE_RIGHT:
nextTileCol = (int(tileCol) + 1);
if (nextTileCol > (mapCols - 1)){
nextTileCol = 0;
};
if (tileRow > (mapRows - 1)){
tileRow = 0;
};
try {
nextTile = gamePlay.getaTileMap()[tileRow][nextTileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveLeft) || (moveRight))){
doMove = true;
};
if (((((moveUp) && ((centernexty <= (currentTileMiddleY + acceleration))))) || (((moveDown) && ((centernexty >= (currentTileMiddleY - acceleration))))))){
doMove = true;
};
};
if (doMove){
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_RIGHT);
resetMovement("right", true);
turning = true;
newDirectionFound = true;
};
break;
case GamePlay.MOVE_STATE_LEFT:
nextTileCol = (int(tileCol) - 1);
if (nextTileCol < 0){
nextTileCol = (mapCols - 1);
};
if (tileRow > (mapRows - 1)){
tileRow = 0;
};
try {
nextTile = gamePlay.getaTileMap()[tileRow][nextTileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveRight) || (moveLeft))){
doMove = true;
};
if (((((moveUp) && ((centernexty <= (currentTileMiddleY + acceleration))))) || (((moveDown) && ((centernexty >= (currentTileMiddleY - acceleration))))))){
doMove = true;
};
};
if (doMove){
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_LEFT);
resetMovement("left", true);
turning = true;
newDirectionFound = true;
};
break;
case GamePlay.MOVE_STATE_UP:
nextTileRow = (int(tileRow) - 1);
if (nextTileRow < 0){
nextTileRow = (mapRows - 1);
};
if (tileCol > (mapCols - 1)){
tileCol = 0;
};
try {
nextTile = gamePlay.getaTileMap()[nextTileRow][tileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveDown) || (moveUp))){
doMove = true;
};
if (((((moveRight) && ((centernextx >= (currentTileMiddleX - acceleration))))) || (((moveLeft) && ((centernextx <= (currentTileMiddleX + acceleration))))))){
doMove = true;
};
};
if (doMove){
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_UP);
resetMovement("up", true);
turning = true;
newDirectionFound = true;
};
break;
case GamePlay.MOVE_STATE_DOWN:
nextTileRow = (int(tileRow) + 1);
if (nextTileRow > (mapRows - 1)){
nextTileRow = 0;
};
if (tileCol > (mapCols - 1)){
tileCol = 0;
};
try {
nextTile = gamePlay.getaTileMap()[nextTileRow][tileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveUp) || (moveDown))){
doMove = true;
};
if (((((moveRight) && ((centernextx >= (currentTileMiddleX - acceleration))))) || (((moveLeft) && ((centernextx <= (currentTileMiddleX + acceleration))))))){
doMove = true;
};
};
if (doMove){
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_DOWN);
resetMovement("down", true);
turning = true;
newDirectionFound = true;
};
break;
};
};
}
public function dispose(){
resetMovement(GamePlay.MOVE_STATE_ERASE, true);
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
gamePlay.removeEventListener(GamePlay.UPDATE, updateListener);
gamePlay.removeEventListener(GamePlay.CHECK_WALL_COLLISIONS, wallcollisionListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener);
ctr1 = 0;
while (ctr1 < aSpriteBitmapData.length) {
aSpriteBitmapData[ctr1] = null;
ctr1++;
};
aSpriteBitmapData = null;
}
override public function resetRenderBooleans(){
renderalpha = false;
renderscalex = false;
renderscaley = false;
renderrotation = false;
renderrotation = false;
renderGlowFilter = false;
}
private function renderListener(_arg1:Event):void{
render();
}
private function accTimerStartListener(_arg1:Event):void{
frozen = true;
blinkFreeze = false;
blinkFreezeCount = 0;
blinkFreezeMaxFrames = 5;
resetMovement(GamePlay.MOVE_STATE_STOP, false);
}
private function updateListener(_arg1:Event):void{
if (started){
update();
} else {
if (frameCountBeforeStart >= frameDelayBeforeStart){
startMe();
};
frameCountBeforeStart++;
};
}
public function setlastTile(){
lastTile = (tileRow * tileCol);
}
override public function update(){
currentTile = (tileRow * tileCol);
currentTileMiddleX = ((tileCol * tileSize) + (0.5 * tileSize));
currentTileMiddleY = ((tileRow * tileSize) + (0.5 * tileSize));
if (((((((!((currentTile == lastTile))) && ((centernextx >= currentTileMiddleX)))) && ((centernexty >= currentTileMiddleY)))) && (!(moveStop)))){
findNewDirection();
setlastTile();
};
if (rendervelocity){
if (moveUp){
if (turning){
setnextx((tileCol * tileSize));
};
if (!frozen){
setnexty((nexty + (((acceleration + accAdjust) + gamePlay.levelspeedadjust) * dy)));
};
} else {
if (moveDown){
if (turning){
setnextx((tileCol * tileSize));
};
if (!frozen){
setnexty((nexty + (((acceleration + accAdjust) + gamePlay.levelspeedadjust) * dy)));
};
} else {
if (moveLeft){
if (turning){
setnexty((tileRow * tileSize));
};
if (!frozen){
setnextx((nextx + (((acceleration + accAdjust) + gamePlay.levelspeedadjust) * dx)));
};
} else {
if (moveRight){
if (turning){
setnexty((tileRow * tileSize));
};
if (!frozen){
setnextx((nextx + (((acceleration + accAdjust) + gamePlay.levelspeedadjust) * dx)));
};
};
};
};
};
if (nexty < (-0.5 * tileSize)){
setnexty((tileSize * mapRows));
} else {
if (nexty > (tileSize * mapRows)){
setnexty(0);
} else {
if (nextx > (tileSize * mapCols)){
setnextx(0);
} else {
if (nextx < (-0.5 * tileSize)){
setnextx((tileSize * mapCols));
};
};
};
};
};
tileRow = int((centernexty / tileSize));
tileCol = int((centernextx / tileSize));
turning = false;
}
private function powerUpAttackEndListener(_arg1:Event):void{
blinkFlee = false;
aiState = GamePlay.AI_STATE_CHASE;
accAdjust = 0;
gamePlay.debugCtr++;
}
private function accTimerEndListener(_arg1:Event):void{
resetMovement(stateBeforeFreeze, false);
frozen = false;
blinkFreeze = false;
}
private function accTimerAboutToEndListener(_arg1:Event):void{
blinkFreeze = true;
}
public function eatMe(){
started = false;
animate = false;
frameDelayBeforeStart = restartFrameDelay;
gamePlay.removeEventListener(GamePlay.CHECK_WALL_COLLISIONS, wallcollisionListener);
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener);
gamePlay.scorePanel.removeEventListener(GamePlay.ACCTIMERSTART, accTimerStartListener);
gamePlay.scorePanel.removeEventListener(GamePlay.ACCTIMEREND, accTimerEndListener);
setx(restartX);
sety(restartY);
setnextx(x);
setnexty(y);
resetTileRow();
resetTileCol();
setlastTile();
resetRenderBooleans();
blinkFreeze = false;
blinkFlee = false;
frozen = false;
}
function resetMovement(_arg1:String, _arg2:Boolean):void{
nextscalex = 1;
moveRight = false;
moveLeft = false;
moveUp = false;
moveDown = false;
moveStop = false;
moveErase = false;
switch (_arg1){
case GamePlay.MOVE_STATE_RIGHT:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_RIGHT);
spriteBitmapDataIndex = 0;
turning = true;
moveRight = true;
hitx = 1;
hity = 0;
dx = 1;
dy = 0;
stateBeforeFreeze = GamePlay.MOVE_STATE_RIGHT;
break;
case GamePlay.MOVE_STATE_LEFT:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_LEFT);
spriteBitmapDataIndex = 0;
turning = true;
moveLeft = true;
hitx = -1;
hity = 0;
dx = -1;
dy = 0;
stateBeforeFreeze = GamePlay.MOVE_STATE_LEFT;
break;
case GamePlay.MOVE_STATE_UP:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_UP);
spriteBitmapDataIndex = 0;
turning = true;
moveUp = true;
hitx = 0;
hity = -1;
dx = 0;
dy = -1;
stateBeforeFreeze = GamePlay.MOVE_STATE_UP;
break;
case GamePlay.MOVE_STATE_DOWN:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_DOWN);
spriteBitmapDataIndex = 0;
turning = true;
moveDown = true;
hitx = 0;
hity = 1;
dx = 0;
dy = 1;
stateBeforeFreeze = GamePlay.MOVE_STATE_DOWN;
break;
case GamePlay.MOVE_STATE_STOP:
moveStop = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
break;
case GamePlay.MOVE_STATE_ERASE:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_ERASE);
spriteBitmapDataIndex = 0;
moveErase = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
stateBeforeFreeze = GamePlay.MOVE_STATE_ERASE;
break;
};
if (_arg2){
nextAnimation();
};
}
private function powerUpAttackStartListener(_arg1:Event):void{
aiState = GamePlay.AI_STATE_FLEE;
accAdjust = 2;
blinkFlee = false;
blinkFleeCount = 0;
blinkFleeMaxFrames = 3;
fleeblinkon = false;
fleeFilterIndex = 0;
fleeFilterFrameCtr = 0;
fleeFilterArray = getBitmapState(GamePlay.AI_FILTER_FLEE);
}
public function removeMe(){
resetMovement(GamePlay.MOVE_STATE_ERASE, true);
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
gamePlay.removeEventListener(GamePlay.UPDATE, updateListener);
gamePlay.removeEventListener(GamePlay.CHECK_WALL_COLLISIONS, wallcollisionListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener);
gamePlay.scorePanel.removeEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener);
}
private function wallcollisionListener(_arg1:Event):void{
var e = _arg1;
temphitx = (centernextx + ((hitx * 0.5) * tileSize));
temphity = (centernexty + ((hity * 0.5) * tileSize));
hittilerow = int((temphity / tileSize));
hittilecol = int((temphitx / tileSize));
if (hittilerow > (mapRows - 1)){
hittilerow = 0;
};
if (hittilerow < 0){
hittilerow = (mapRows - 1);
};
if (hittilecol > (mapCols - 1)){
hittilecol = 0;
};
if (hittilecol < 0){
hittilecol = (mapCols - 1);
};
try {
nextHitTile = gamePlay.getaTileMap()[hittilerow][hittilecol];
} catch(error:Error) {
};
if (((!(nextHitTile.isWalkable)) && (!(nextHitTile.isEnemyGenerator)))){
setnextx(x);
setnexty(y);
findNewDirection();
};
}
override public function render(){
if (blinkFreeze){
blinkFreezeCount++;
if (blinkFreezeCount > blinkFreezeMaxFrames){
blinkFreezeCount = 0;
if (freezeblinkon){
freezeblinkon = false;
} else {
freezeblinkon = true;
};
};
if (freezeblinkon){
renderalpha = true;
nextalpha = 0.1;
};
};
super.render();
resetRenderBooleans();
if (aiState == GamePlay.AI_STATE_FLEE){
if (blinkFlee){
blinkFleeCount++;
if (blinkFleeCount > blinkFleeMaxFrames){
blinkFleeCount = 0;
if (fleeblinkon){
fleeblinkon = false;
} else {
fleeblinkon = true;
};
};
};
if (!fleeblinkon){
fleeFilterFrameCtr++;
if (fleeFilterFrameCtr > fleeFilterFrameDelay){
fleeFilterIndex++;
fleeFilterFrameCtr = 0;
if (fleeFilterIndex == fleeFilterArray.length){
fleeFilterIndex = 0;
};
};
gamePlay.getgameScreenBitmapData().copyPixels(fleeFilterArray[fleeFilterIndex], new Rectangle(0, 0, tileSize, tileSize), new Point(x, y));
};
};
}
public function startMe(){
accAdjust = 0;
started = true;
animate = true;
gamePlay.addEventListener(GamePlay.CHECK_WALL_COLLISIONS, wallcollisionListener, false, 0, true);
gamePlay.addEventListener(GamePlay.RENDER, renderListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.ACCTIMERSTART, accTimerStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMEREND, accTimerEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKABOUTOEND, powerUpAttackAboutToEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMERABOUTTOEND, accTimerAboutToEndListener, false, 0, true);
aiState = GamePlay.AI_STATE_CHASE;
frameCountBeforeStart = 0;
blinkFreeze = false;
blinkFlee = false;
resetMovement("right", false);
}
private function powerUpAttackAboutToEndListener(_arg1:Event):void{
blinkFlee = true;
gamePlay.debugCtr = 0;
}
public function resetTileCol(){
tileCol = int((x / tileSize));
}
}
}//package
Section 51
//EnemyGenerator (EnemyGenerator)
package {
public class EnemyGenerator {
var col:int;
public var gamePlay:GamePlay;
var row:int;
public function EnemyGenerator(_arg1:int, _arg2:int, _arg3:GamePlay){
row = _arg1;
col = _arg2;
gamePlay = _arg3;
}
}
}//package
Section 52
//EnemyType (EnemyType)
package {
public class EnemyType {
public var bitmapStateObject:Object;
public var speed:Number;
public var score:int;
public var title:String;
public var id:String;
public var intelligence:Number;
public function EnemyType(_arg1:String, _arg2:Number, _arg3:Number, _arg4:int){
bitmapStateObject = {};
super();
id = _arg1;
speed = _arg2;
intelligence = _arg3;
score = _arg4;
}
function dispose():void{
bitmapStateObject = null;
}
function getBitmapState(_arg1:String){
return (bitmapStateObject[_arg1]);
}
function addBitmapState(_arg1:String, _arg2:Array){
bitmapStateObject[_arg1] = _arg2;
}
}
}//package
Section 53
//Explode (Explode)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.filters.*;
public class Explode extends Sprite {
public var id:String;
public var complete:Boolean;// = false
public var spriteBitmapDataIndex:int;// = 0
public var animationFrameCount:int;// = 0
public var started:Boolean;// = false
public var gamePlay:GamePlay;
public var aSpriteBitmapData:Array;
public var animationFrameDelay:int;// = 1
public function Explode(_arg1, _arg2, _arg3:String, _arg4:int, _arg5:GamePlay){
aSpriteBitmapData = [];
spriteBitmapDataIndex = 0;
animationFrameDelay = 1;
animationFrameCount = 0;
started = false;
complete = false;
super();
gamePlay = _arg5;
id = _arg3;
aSpriteBitmapData = gamePlay.oExplodeType[id].aSpriteBitmapData;
animationFrameDelay = _arg4;
x = _arg1;
y = _arg2;
}
public function removeMe(){
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
complete = true;
}
private function renderListener(_arg1:Event):void{
if (started){
render();
};
}
public function render(){
var _local1:*;
var _local2:BitmapData;
var _local3:GlowFilter;
animationFrameCount++;
if (animationFrameCount > animationFrameDelay){
spriteBitmapDataIndex++;
if (spriteBitmapDataIndex == aSpriteBitmapData.length){
removeMe();
} else {
_local1 = gamePlay.tileSize;
_local3 = new GlowFilter(0xFF0000, 0.6, 4, 4, 2, 75, true, false);
_local2 = aSpriteBitmapData[spriteBitmapDataIndex].clone();
_local2.applyFilter(_local2, new Rectangle(0, 0, _local1, _local1), new Point(0, 0), _local3);
gamePlay.getgameScreenBitmapData().copyPixels(_local2, new Rectangle(0, 0, _local1, _local1), new Point(x, y));
animationFrameCount = 0;
};
};
}
public function startMe(){
started = true;
gamePlay.addEventListener(GamePlay.RENDER, renderListener, false, 0, true);
}
}
}//package
Section 54
//ExplodeType (ExplodeType)
package {
public class ExplodeType {
public var id:String;
public var aSpriteBitmapData:Array;
public function ExplodeType(_arg1:Array, _arg2:String){
aSpriteBitmapData = [];
super();
aSpriteBitmapData = _arg1;
id = _arg2;
}
}
}//package
Section 55
//flashing_press_spacebar (flashing_press_spacebar)
package {
import flash.display.*;
public dynamic class flashing_press_spacebar extends MovieClip {
}
}//package
Section 56
//freeze (freeze)
package {
import flash.display.*;
public dynamic class freeze extends MovieClip {
}
}//package
Section 57
//GameDataXML (GameDataXML)
package {
public class GameDataXML {
var XMLData:XML;
public function GameDataXML(){
XMLData = <game>
<tilesize>32</tilesize>
<screenwidth>480</screenwidth>
<screenheight>480</screenheight>
<tilesheetwidth>512</tilesheetwidth>
<tilesheetheight>640</tilesheetheight>
<lives>5</lives>
<score>0</score>
<level>1</level>
<dotscore>10</dotscore>
<erasertile>14</erasertile>
<player>
<lefttile>32</lefttile><lefttile>33</lefttile>
<righttile>0</righttile><righttile>1</righttile>
<uptile>36</uptile><uptile>37</uptile>
<downtile>34</downtile><downtile>35</downtile>
<uptorighttile>200</uptorighttile><uptorighttile>184</uptorighttile><uptorighttile>185</uptorighttile><uptorighttile>188</uptorighttile><uptorighttile>189</uptorighttile>
<uptolefttile>200</uptolefttile><uptolefttile>168</uptolefttile><uptolefttile>169</uptolefttile><uptolefttile>172</uptolefttile><uptolefttile>173</uptolefttile>
<uptodowntile>201</uptodowntile><uptodowntile>246</uptodowntile><uptodowntile>247</uptodowntile><uptodowntile>250</uptodowntile><uptodowntile>251</uptodowntile>
<downtorighttile>200</downtorighttile><downtorighttile>184</downtorighttile><downtorighttile>185</downtorighttile><downtorighttile>188</downtorighttile><downtorighttile>189</downtorighttile>
<downtolefttile>200</downtolefttile><downtolefttile>168</downtolefttile><downtolefttile>169</downtolefttile><downtolefttile>172</downtolefttile><downtolefttile>173</downtolefttile>
<downtouptile>201</downtouptile><downtouptile>240</downtouptile><downtouptile>241</downtouptile><downtouptile>244</downtouptile><downtouptile>245</downtouptile>
<righttouptile>201</righttouptile><righttouptile>240</righttouptile><righttouptile>241</righttouptile><righttouptile>244</righttouptile><righttouptile>245</righttouptile>
<righttodowntile>201</righttodowntile><righttodowntile>246</righttodowntile><righttodowntile>247</righttodowntile><righttodowntile>250</righttodowntile><righttodowntile>251</righttodowntile>
<righttolefttile>200</righttolefttile><righttolefttile>168</righttolefttile><righttolefttile>169</righttolefttile><righttolefttile>170</righttolefttile><righttolefttile>173</righttolefttile>
<lefttouptile>201</lefttouptile><lefttouptile>240</lefttouptile><lefttouptile>241</lefttouptile><lefttouptile>244</lefttouptile><lefttouptile>245</lefttouptile>
<lefttodowntile>201</lefttodowntile><lefttodowntile>246</lefttodowntile><lefttodowntile>247</lefttodowntile><lefttodowntile>250</lefttodowntile><lefttodowntile>251</lefttodowntile>
<lefttorighttile>200</lefttorighttile><lefttorighttile>184</lefttorighttile><lefttorighttile>185</lefttorighttile><lefttorighttile>188</lefttorighttile><lefttorighttile>189</lefttorighttile>
<levelout>32</levelout><levelout>33</levelout><levelout>0</levelout><levelout>1</levelout>
<invfilter>140</invfilter><invfilter>141</invfilter><invfilter>142</invfilter><invfilter>143</invfilter>
</player>
<powerup>
<Title>attack3</Title>
<type>1</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>true</playereatenemyadjust>
<playereatenemytimeadd>5</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>attack2</Title>
<type>7</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>true</playereatenemyadjust>
<playereatenemytimeadd>7</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>attack4</Title>
<type>8</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>true</playereatenemyadjust>
<playereatenemytimeadd>3</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>attack1</Title>
<type>9</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>true</playereatenemyadjust>
<playereatenemytimeadd>10</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>bonusx</Title>
<type>2</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>false</playereatenemyadjust>
<playereatenemytimeadd>0</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>0</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
<playerbonusxadjust>1</playerbonusxadjust>
</powerup>
<powerup>
<Title>kill</Title>
<type>3</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>false</playereatenemyadjust>
<playereatenemytimeadd>0</playereatenemytimeadd>
<playerscoreadjust>0</playerscoreadjust>
<playerbonusadjust>0</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
<playerkillallenemyadjust>true</playerkillallenemyadjust>
</powerup>
<powerup>
<Title>protect</Title>
<type>4</type>
<playeraccadjust>0</playeraccadjust>
<playeracctimeadd>0</playeracctimeadd>
<playerinvincibleadjust>true</playerinvincibleadjust>
<playerinvincibletimeadd>10</playerinvincibletimeadd>
<playereatenemyadjust>false</playereatenemyadjust>
<playereatenemytimeadd>0</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>freeze</Title>
<type>6</type>
<playeraccadjust>3</playeraccadjust>
<playeracctimeadd>10</playeracctimeadd>
<playerinvincibleadjust>false</playerinvincibleadjust>
<playerinvincibletimeadd>0</playerinvincibletimeadd>
<playereatenemyadjust>false</playereatenemyadjust>
<playereatenemytimeadd>0</playereatenemytimeadd>
<playerscoreadjust>100</playerscoreadjust>
<playerbonusadjust>25</playerbonusadjust>
<playerbonustimeadjust>0</playerbonustimeadjust>
</powerup>
<powerup>
<Title>princess</Title>
<type>10</type>
<playeraccadjust>3</playeraccadjust>
<playeracctimeadd>30</playeracctimeadd>
<playerinvincibleadjust>true</playerinvincibleadjust>
<playerinvincibletimeadd>30</playerinvincibletimeadd>
<playereatenemyadjust>true</playereatenemyadjust>
<playereatenemytimeadd>30</playereatenemytimeadd>
<playerscoreadjust>25000</playerscoreadjust>
<playerbonusadjust>5000</playerbonusadjust>
<playerbonustimeadjust>25</playerbonustimeadjust>
<playerkillallenemyadjust>true</playerkillallenemyadjust>
</powerup>
<enemy>
<Title>smart2</Title>
<id>EnemySpider1</id>
<downtile>42</downtile><downtile>43</downtile><downtile>44</downtile>
<uptile>45</uptile><uptile>46</uptile><uptile>47</uptile>
<righttile>56</righttile><righttile>57</righttile><righttile>58</righttile>
<lefttile>59</lefttile><lefttile>60</lefttile><lefttile>61</lefttile>
<speed>1</speed>
<intelligence>55</intelligence>
<score>100</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>smart5</Title>
<id>EnemySpider2</id>
<downtile>150</downtile><downtile>151</downtile><downtile>152</downtile>
<uptile>153</uptile><uptile>154</uptile><uptile>155</uptile>
<righttile>160</righttile><righttile>161</righttile><righttile>162</righttile>
<lefttile>163</lefttile><lefttile>164</lefttile><lefttile>165</lefttile>
<speed>2</speed>
<intelligence>70</intelligence>
<score>300</score>
<fleefilter>252</fleefilter><fleefilter>253</fleefilter><fleefilter>254</fleefilter><fleefilter>255</fleefilter>
</enemy>
<enemy>
<Title>smart1</Title>
<id>EnemyBat1</id>
<downtile>39</downtile><downtile>40</downtile><downtile>41</downtile>
<righttile>39</righttile><righttile>40</righttile><righttile>41</righttile>
<lefttile>39</lefttile><lefttile>40</lefttile><lefttile>41</lefttile>
<uptile>39</uptile><uptile>40</uptile><uptile>41</uptile>
<speed>1</speed>
<intelligence>60</intelligence>
<score>250</score>
<fleefilter>252</fleefilter><fleefilter>253</fleefilter><fleefilter>254</fleefilter><fleefilter>255</fleefilter>
</enemy>
<enemy>
<Title>smart4</Title>
<id>EnemyBat2</id>
<downtile>146</downtile><downtile>147</downtile><downtile>148</downtile><downtile>149</downtile>
<righttile>146</righttile><righttile>147</righttile><righttile>148</righttile><righttile>149</righttile>
<lefttile>146</lefttile><lefttile>147</lefttile><lefttile>148</lefttile><lefttile>149</lefttile>
<uptile>146</uptile><uptile>147</uptile><uptile>148</uptile><uptile>149</uptile>
<speed>2</speed>
<intelligence>70</intelligence>
<score>300</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>dumb1</Title>
<id>EnemyBlueGhost</id>
<downtile>224</downtile><downtile>225</downtile>
<righttile>208</righttile><righttile>209</righttile>
<lefttile>176</lefttile><lefttile>177</lefttile>
<uptile>192</uptile><uptile>193</uptile>
<speed>2</speed>
<intelligence>70</intelligence>
<score>350</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>dumb4</Title>
<id>EnemyPickle</id>
<downtile>202</downtile><downtile>203</downtile><downtile>204</downtile>
<uptile>202</uptile><uptile>203</uptile><uptile>204</uptile>
<righttile>202</righttile><righttile>203</righttile><righttile>204</righttile>
<lefttile>203</lefttile><lefttile>203</lefttile><lefttile>204</lefttile>
<speed>2</speed>
<intelligence>75</intelligence>
<score>400</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>dumb5</Title>
<id>EnemyBanana</id>
<downtile>288</downtile><downtile>289</downtile><downtile>290</downtile><downtile>291</downtile><downtile>292</downtile><downtile>293</downtile><downtile>294</downtile><downtile>295</downtile><downtile>296</downtile>
<uptile>288</uptile><uptile>289</uptile><uptile>290</uptile><uptile>291</uptile><uptile>292</uptile><uptile>293</uptile><uptile>294</uptile><uptile>295</uptile><uptile>296</uptile>
<righttile>288</righttile><righttile>289</righttile><righttile>290</righttile><righttile>291</righttile><righttile>292</righttile><righttile>293</righttile><righttile>294</righttile><righttile>295</righttile><righttile>296</righttile>
<lefttile>288</lefttile><lefttile>289</lefttile><lefttile>290</lefttile><lefttile>291</lefttile><lefttile>292</lefttile><lefttile>293</lefttile><lefttile>294</lefttile><lefttile>295</lefttile><lefttile>296</lefttile>
<speed>2</speed>
<intelligence>75</intelligence>
<score>450</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>dumb2</Title>
<id>EnemyGreenGhost</id>
<downtile>226</downtile><downtile>227</downtile>
<righttile>210</righttile><righttile>211</righttile>
<lefttile>178</lefttile><lefttile>179</lefttile>
<uptile>194</uptile><uptile>195</uptile>
<speed>2</speed>
<intelligence>70</intelligence>
<score>450</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>smart6</Title>
<id>EnemyLime</id>
<downtile>263</downtile><downtile>262</downtile><downtile>261</downtile><downtile>260</downtile><downtile>259</downtile><downtile>258</downtile><downtile>257</downtile><downtile>256</downtile>
<uptile>256</uptile><uptile>257</uptile><uptile>258</uptile><uptile>259</uptile><uptile>260</uptile><uptile>261</uptile><uptile>262</uptile><uptile>263</uptile>
<righttile>256</righttile><righttile>257</righttile><righttile>258</righttile><righttile>259</righttile><righttile>260</righttile><righttile>261</righttile><righttile>262</righttile><righttile>263</righttile>
<lefttile>263</lefttile><lefttile>262</lefttile><lefttile>261</lefttile><lefttile>260</lefttile><lefttile>259</lefttile><lefttile>258</lefttile><lefttile>257</lefttile><lefttile>256</lefttile>
<speed>2</speed>
<intelligence>70</intelligence>
<score>500</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>dumb3</Title>
<id>EnemyPurpleGhost</id>
<downtile>228</downtile><downtile>229</downtile>
<righttile>212</righttile><righttile>213</righttile>
<lefttile>180</lefttile><lefttile>181</lefttile>
<uptile>196</uptile><uptile>197</uptile>
<speed>3</speed>
<intelligence>83</intelligence>
<score>500</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>smart7</Title>
<id>EnemyBird</id>
<downtile>264</downtile><downtile>265</downtile><downtile>266</downtile><downtile>267</downtile><downtile>268</downtile><downtile>269</downtile><downtile>270</downtile><downtile>271</downtile><downtile>270</downtile><downtile>269</downtile><downtile>268</downtile><downtile>267</downtile><downtile>266</downtile><downtile>265</downtile>
<uptile>264</uptile><uptile>265</uptile><uptile>266</uptile><uptile>267</uptile><uptile>268</uptile><uptile>269</uptile><uptile>270</uptile><uptile>271</uptile><uptile>270</uptile><uptile>269</uptile><uptile>268</uptile><uptile>267</uptile><uptile>266</uptile><uptile>265</uptile>
<righttile>264</righttile><righttile>265</righttile><righttile>266</righttile><righttile>267</righttile><righttile>268</righttile><righttile>269</righttile><righttile>270</righttile><righttile>271</righttile><righttile>270</righttile><righttile>269</righttile><righttile>268</righttile><righttile>267</righttile><righttile>266</righttile><righttile>265</righttile>
<lefttile>264</lefttile><lefttile>265</lefttile><lefttile>266</lefttile><lefttile>267</lefttile><lefttile>268</lefttile><lefttile>269</lefttile><lefttile>270</lefttile><lefttile>271</lefttile><lefttile>270</lefttile><lefttile>269</lefttile><lefttile>268</lefttile><lefttile>267</lefttile><lefttile>266</lefttile><lefttile>265</lefttile>
<speed>3</speed>
<intelligence>85</intelligence>
<score>600</score>
<fleefilter>252</fleefilter><fleefilter>253</fleefilter><fleefilter>254</fleefilter><fleefilter>255</fleefilter>
</enemy>
<enemy>
<Title>smart3</Title>
<id>EnemyRedGhost</id>
<downtile>230</downtile><downtile>231</downtile>
<righttile>214</righttile><righttile>215</righttile>
<lefttile>182</lefttile><lefttile>183</lefttile>
<uptile>198</uptile><uptile>199</uptile>
<speed>3</speed>
<intelligence>85</intelligence>
<score>700</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<enemy>
<Title>smart8</Title>
<id>EnemyGordon</id>
<downtile>174</downtile><downtile>175</downtile>
<uptile>174</uptile><uptile>175</uptile>
<righttile>174</righttile><righttile>175</righttile>
<lefttile>174</lefttile><lefttile>175</lefttile>
<speed>4</speed>
<intelligence>87</intelligence>
<score>3000</score>
<fleefilter>156</fleefilter><fleefilter>157</fleefilter><fleefilter>158</fleefilter><fleefilter>159</fleefilter>
</enemy>
<explosion>
<id>EnemyEat</id>
<tile>96</tile><tile>97</tile><tile>98</tile><tile>99</tile><tile>100</tile>
</explosion>
<playerlives>3</playerlives>
<playeracceleration>5</playeracceleration>
</game>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 58
//GameLoop (GameLoop)
package {
import flash.display.*;
import flash.events.*;
import mochi.*;
import flash.text.*;
import flash.geom.*;
import flash.utils.*;
import ActiveGraph.*;
import flash.net.*;
public dynamic class GameLoop extends MovieClip {
var validDomainString:String;// = ""
var titleOnLength:int;// = 800
var codeScreenLoaded:Boolean;// = false
public var lastLives:Number;// = 0
public var mochiadOn:Boolean;// = false
var ag:ActiveGraph;
var highscoreOnCount:int;// = 0
public var bLevelOverride:Boolean;// = false
var gameInit:Boolean;// = false
public var highscoreOn:Boolean;// = false
var gameStarted:Boolean;// = false
var menuLoaded:Boolean;// = false
var gamePlay:GamePlay;
public var titleOn:Boolean;// = false
public var gameWonCalculated:Boolean;// = false
var highscoreLoaded:Boolean;// = false
public var background_mc:MovieClip;
public var highScoreState:int;
var gameWonLoaded:Boolean;// = false
public var instructionsOn:Boolean;// = false
var gameTimer:Timer;
var codeScreenOn:Boolean;// = false
public var maxLevel:int;// = 30
var titleLoaded:Boolean;// = false
public var boardID:String;// = "9986019ddb549844"
public var gameID:String;// = "74c35615bdc94bfb"
var instructionScreen:InstructionScreen;
public var lastLevel:Number;// = 1
var loadingComplete:Boolean;// = false
var gameWonStarted:Boolean;// = false
var codeScreen:CodeScreen;
var menuScreen:MenuScreen;
public var name_txt:TextField;
var highscoreScreen:HighscoreScreen;
var gameWonScreen:GameWonScreen;
var titleScreen:TitleScreen;
public var gameLoopScorePanel:ScorePanel;
var loadingBox:LoadingBox;
var titleOnCount:int;// = 0
var soHighScore:SharedObject;
public var titleState:int;
public var score_txt:TextField;
public var loaderOn:Boolean;// = false
public var aLevelPassword:Array;
private var url:String;// = "http://www.8bitrocket.com"
public var gameOn:Boolean;// = false
public var iLevelOverride:int;
public var lastScore:Number;// = 0
var menuOn:Boolean;// = false
public var systemState:int;// = 99
public var aCurrentInitials:Array;
public var soundManager;
var validDomain:Boolean;// = false
var highscoreOnLength:int;// = 600
public static const STATE_SYSTEM_GAMEWON:int = 8;
public static const STATE_SYSTEM_MOCHIAD:int = 99;
public static const STATE_SYSTEM_HIGHSCOREENTRY:int = 6;
public static const STATE_SYSTEM_MENUSCREEN:int = 9;
public static const STATE_SYSTEM_GAMEOVER:int = 5;
public static const STATE_SYSTEM_LOADER:int = 0;
public static const STATE_SYSTEM_HIGHSCORE:int = 2;
public static const STATE_SYSTEM_CODECREEN:int = 10;
public static const STATE_SYSTEM_INSTRUCTIONS:int = 3;
public static const STATE_SYSTEM_GAMEPLAY:int = 4;
public static const STATE_SYSTEM_RESTART:int = 11;
public static const STATE_SYSTEM_INVALID_DOMAIN:int = 7;
public static const STATE_SYSTEM_TITLE:int = 1;
public function GameLoop(){
var _local1:String;
systemState = STATE_SYSTEM_MOCHIAD;
validDomain = false;
validDomainString = "";
mochiadOn = false;
gameOn = false;
loadingComplete = false;
loaderOn = false;
titleLoaded = false;
titleOn = false;
titleOnLength = 800;
titleOnCount = 0;
titleState = TitleScreen.STATE_ATTRACT;
codeScreenOn = false;
codeScreenLoaded = false;
highscoreLoaded = false;
highscoreOn = false;
highscoreOnLength = 600;
highscoreOnCount = 0;
soHighScore = SharedObject.getLocal("highScoreData");
boardID = "9986019ddb549844";
gameID = "74c35615bdc94bfb";
aCurrentInitials = [];
lastScore = 0;
lastLives = 0;
lastLevel = 1;
menuOn = false;
menuLoaded = false;
instructionsOn = false;
gameInit = false;
gameStarted = false;
gameWonStarted = false;
gameWonLoaded = false;
soundManager = new SoundManager();
bLevelOverride = false;
maxLevel = 30;
gameWonCalculated = false;
url = "http://www.8bitrocket.com";
super();
addFrameScript(0, frame1);
setPasswords();
background_mc.linktosite.addEventListener(MouseEvent.MOUSE_DOWN, backgroundclicked);
background_mc.linktosite.buttonMode = true;
background_mc.linktosite.useHandCursor = true;
addEventListener(Event.ENTER_FRAME, runGame);
_local1 = this.loaderInfo.url.toLowerCase();
if (_local1.indexOf(validDomainString) != -1){
validDomain = true;
} else {
validDomain = false;
systemState = STATE_SYSTEM_INVALID_DOMAIN;
};
soHighScore = SharedObject.getLocal("highScoreData");
if (soHighScore.data.score == null){
soHighScore.data.score = 5000;
};
if (soHighScore.data.name == null){
soHighScore.data.name = "JDF";
};
name_txt.text = soHighScore.data.name;
score_txt.text = soHighScore.data.score;
gameLoopScorePanel = new ScorePanel();
addChild(gameLoopScorePanel);
}
public function setaCurrentInitials(_arg1:Array):void{
aCurrentInitials = _arg1;
}
public function getaLevelPassword():Array{
return (aLevelPassword);
}
public function instructionScreenFinshed():void{
removeChild(instructionScreen);
instructionScreen = null;
systemState = STATE_SYSTEM_MENUSCREEN;
instructionsOn = false;
}
public function codeScreenFinished(_arg1:int){
codeScreenOn = false;
removeChild(codeScreen);
systemState = _arg1;
}
public function getiLevelOverride():int{
return (iLevelOverride);
}
function mochiAdScreen():void{
if (!mochiadOn){
MochiAd.showPreloaderAd({clip:this, id:gameID, res:"475x475", ad_finished:this.adFinished});
mochiadOn = true;
};
}
public function gameWonFinshed():void{
removeChild(gameWonScreen);
gameWonStarted = false;
gameWonScreen.reset();
doGameOver();
stage.frameRate = 60;
}
public function menuScreenFinished(_arg1:int){
menuOn = false;
removeChild(menuScreen);
switch (_arg1){
case STATE_SYSTEM_INSTRUCTIONS:
systemState = STATE_SYSTEM_INSTRUCTIONS;
break;
case STATE_SYSTEM_HIGHSCORE:
highScoreState = HighscoreScreen.STATE_DISPLAY;
systemState = STATE_SYSTEM_HIGHSCORE;
break;
case STATE_SYSTEM_TITLE:
systemState = STATE_SYSTEM_TITLE;
titleState = TitleScreen.STATE_DISPLAY;
break;
case STATE_SYSTEM_GAMEPLAY:
systemState = STATE_SYSTEM_GAMEPLAY;
break;
case STATE_SYSTEM_CODECREEN:
systemState = STATE_SYSTEM_CODECREEN;
break;
case STATE_SYSTEM_RESTART:
iLevelOverride = lastLevel;
bLevelOverride = true;
systemState = STATE_SYSTEM_GAMEPLAY;
break;
};
}
public function setiLevelOverride(_arg1:int):void{
iLevelOverride = _arg1;
}
function doInstructionsScreen():void{
if (!instructionsOn){
instructionScreen = new InstructionScreen(this);
addChild(instructionScreen);
instructionsOn = true;
};
}
public function setlastLevel(_arg1:Number):void{
lastLevel = _arg1;
if (lastLevel > maxLevel){
lastLevel = maxLevel;
};
}
function frame1(){
stop();
}
function setNewLocalHighScore():void{
var _local1:String;
_local1 = ((aCurrentInitials[0] + aCurrentInitials[1]) + aCurrentInitials[2]);
soHighScore.data.score = lastScore;
soHighScore.data.name = _local1;
name_txt.text = soHighScore.data.name;
score_txt.text = soHighScore.data.score;
}
function doHighscoreScreen(_arg1:int):void{
if (!highscoreLoaded){
highscoreScreen = new HighscoreScreen(this, boardID, gameID);
highscoreScreen.visible = false;
highscoreLoaded = true;
MochiScores.setBoardID(boardID);
};
if (!highscoreOn){
highscoreScreen.addListeners();
addChild(highscoreScreen);
switch (_arg1){
case HighscoreScreen.STATE_ATTRACT:
highscoreScreen.visible = true;
highscoreOn = true;
highscoreScreen.setState(HighscoreScreen.STATE_ATTRACT);
break;
case HighscoreScreen.STATE_ENTER:
highscoreScreen.visible = true;
highscoreOn = true;
highscoreScreen.setState(HighscoreScreen.STATE_ENTER);
break;
case HighscoreScreen.STATE_DISPLAY:
highscoreScreen.visible = true;
highscoreOn = true;
highscoreScreen.setState(HighscoreScreen.STATE_DISPLAY);
break;
};
};
switch (_arg1){
case HighscoreScreen.STATE_ATTRACT:
highscoreOnCount++;
if ((((highscoreOnCount == highscoreOnLength)) && ((highscoreScreen.currentState == HighscoreScreen.STATE_ATTRACT)))){
highscoreScreenFinshed();
};
break;
case HighscoreScreen.STATE_ENTER:
break;
case HighscoreScreen.STATE_DISPLAY:
break;
};
}
public function titleScreenFinshed():void{
if (titleOn){
removeTitleScreen();
};
if (highscoreOn){
removeHighscoreScreen();
};
systemState = STATE_SYSTEM_MENUSCREEN;
soundManager.stopTitleMusic();
}
function doGameWon():void{
if (!gameWonLoaded){
gameWonScreen = new GameWonScreen(this);
gameWonLoaded = true;
};
if (!gameWonStarted){
addChild(gameWonScreen);
gameWonScreen.start();
gameWonStarted = true;
stage.frameRate = 20;
} else {
gameWonScreen.update();
};
}
function setPasswords():void{
aLevelPassword = new Array("none", "cindy", "bobby", "jan", "peter", "marcia", "greg", "alice", "carol", "mike", "oliver", "fluffy", "sam", "tiger", "matt", "dwayne", "steve", "harvey", "jethro", "jesse", "doug", "charlie", "hank", "raquel", "tank", "jerry", "penelope", "davy", "johnny", "bravo", "porkchops");
}
public function getaCurrentInitials():Array{
return (aCurrentInitials);
}
public function getbLevelOverride():Boolean{
return (bLevelOverride);
}
public function getlastScore():Number{
return (lastScore);
}
public function setbLevelOverride(_arg1:Boolean):void{
bLevelOverride = _arg1;
}
function runGame(_arg1:Event):void{
var e = _arg1;
try {
switch (systemState){
case STATE_SYSTEM_MOCHIAD:
mochiAdScreen();
break;
case STATE_SYSTEM_LOADER:
doLoadScreen();
break;
case STATE_SYSTEM_TITLE:
doTitleScreen(titleState);
break;
case STATE_SYSTEM_MENUSCREEN:
doMenuScreen();
break;
case STATE_SYSTEM_HIGHSCORE:
doHighscoreScreen(highScoreState);
break;
case STATE_SYSTEM_INSTRUCTIONS:
doInstructionsScreen();
break;
case STATE_SYSTEM_GAMEPLAY:
doGamePlay();
break;
case STATE_SYSTEM_INVALID_DOMAIN:
break;
case STATE_SYSTEM_GAMEOVER:
doGameOver();
break;
case STATE_SYSTEM_GAMEWON:
doGameWon();
break;
case STATE_SYSTEM_CODECREEN:
doCodeScreen();
break;
};
} catch(error:Error) {
};
}
public function backgroundclicked(_arg1:MouseEvent):void{
var request:URLRequest;
var e = _arg1;
request = new URLRequest(url);
try {
navigateToURL(request);
} catch(error:Error) {
};
}
public function setlastScore(_arg1:Number):void{
lastScore = _arg1;
}
function doTitleScreen(_arg1:int):void{
if (!titleLoaded){
loadingBox = null;
titleScreen = new TitleScreen(this);
titleScreen.visible = false;
titleLoaded = true;
soundManager.playTitleMusic();
};
if (!titleOn){
titleScreen.visible = true;
titleOn = true;
titleScreen.playFromStart();
titleScreen.addListeners();
addChild(titleScreen);
};
switch (_arg1){
case TitleScreen.STATE_ATTRACT:
titleOnCount++;
if (titleOnCount == titleOnLength){
titleScreen.visible = false;
titleScreen.removeListeners();
systemState = STATE_SYSTEM_HIGHSCORE;
highScoreState = HighscoreScreen.STATE_ATTRACT;
titleOnCount = 0;
titleOn = false;
};
break;
case TitleScreen.STATE_DISPLAY:
titleOnCount++;
if (titleOnCount == titleOnLength){
titleScreen.playFromStart();
titleOnCount = 0;
titleOn = false;
};
break;
};
}
public function getlastLives():Number{
return (lastLives);
}
public function doGameOver():void{
setbLevelOverride(false);
setiLevelOverride(1);
titleOn = false;
highscoreOn = false;
instructionsOn = false;
gameWonStarted = false;
gameInit = false;
highScoreState = HighscoreScreen.STATE_ENTER;
systemState = STATE_SYSTEM_HIGHSCORE;
}
function removeHighscoreScreen(){
removeChild(highscoreScreen);
highscoreScreen.removeListeners();
highscoreOn = false;
highscoreOnCount = 0;
}
function doMenuScreen():void{
if (!menuLoaded){
menuScreen = new MenuScreen(this);
menuLoaded = true;
};
if (!menuOn){
menuOn = true;
addChild(menuScreen);
menuScreen.reset();
};
}
function doCodeScreen():void{
if (!codeScreenLoaded){
codeScreen = new CodeScreen(this);
codeScreenLoaded = true;
};
if (!codeScreenOn){
codeScreenOn = true;
addChild(codeScreen);
codeScreen.reset();
};
}
function adFinished():void{
mochiadOn = false;
systemState = STATE_SYSTEM_LOADER;
}
function removeTitleScreen(){
removeChild(titleScreen);
titleOn = false;
titleOnCount = 0;
}
function doLoadScreen():void{
var movieBytesLoaded:int;
var movieBytesTotal:int;
var movieKLoaded:int;
var movieKTotal:int;
try {
if (!loaderOn){
loadingBox = new LoadingBox();
loadingBox.x = 15;
loadingBox.y = 65;
addChild(loadingBox);
loaderOn = true;
};
} catch(error:Error) {
};
try {
movieBytesLoaded = this.loaderInfo.bytesLoaded;
movieBytesTotal = this.loaderInfo.bytesTotal;
movieKLoaded = (movieBytesLoaded / 0x0400);
movieKTotal = (movieBytesTotal / 0x0400);
} catch(error:Error) {
};
try {
if ((((movieBytesLoaded >= movieBytesTotal)) && (!(loadingComplete)))){
loadingComplete = true;
};
if (((loadingComplete) && (!(loadingBox.animStarted)))){
loadingBox.gotoAndPlay(2);
loadingBox.animStarted = true;
} else {
if (((loadingComplete) && (loadingBox.animComplete))){
loaderOn = false;
removeChild(loadingBox);
systemState = STATE_SYSTEM_TITLE;
} else {
if (!loadingComplete){
loadingBox.loaderScale.tlLoader.text = (((movieKLoaded.toString() + "K / ") + movieKTotal.toString()) + "K");
};
};
};
loadingBox.update();
} catch(error:Error) {
};
}
public function highscoreScreenFinshed():void{
if (highscoreScreen.currentState == HighscoreScreen.STATE_ATTRACT){
systemState = STATE_SYSTEM_TITLE;
} else {
systemState = STATE_SYSTEM_MENUSCREEN;
soundManager.stopTitleMusic();
};
if (highscoreOn){
removeHighscoreScreen();
};
if (titleOn){
removeTitleScreen();
};
}
public function setlastLives(_arg1:Number):void{
lastLives = _arg1;
}
function doGamePlay():void{
if (!gameInit){
gameWonCalculated = false;
gamePlay = new GamePlay(this);
gameInit = true;
};
gamePlay.runGame();
}
public function getlastLevel():Number{
return (lastLevel);
}
}
}//package
Section 59
//GameMessageManager (GameMessageManager)
package {
import flash.events.*;
public class GameMessageManager {
public var gamePlay:GamePlay;
public function GameMessageManager(_arg1:GamePlay){
gamePlay = _arg1;
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERSTART, playerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDEATHCOMPLETE, playerDeathCompleteListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDIE, playerDieListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEROUTSTARTED, playerOutStartedListener, false, 0, true);
gamePlay.addEventListener(GamePlay.ACCTIMERSTART, accTimerStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMERABOUTTOEND, accTimerToEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKABOUTOEND, powerUpAttackAboutToEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.INVTIMERSTART, invTimerStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.INVTIMERABOUTTOEND, invTimerAboutToEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.TRANSPORTSTART, transportStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.KEYEATEN, keyEatenListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMEREND, accTimerEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.INVTIMEREND, invTimerEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.POWERUPKILLALL, powerUpKillAllListener, false, 0, true);
gamePlay.player.addEventListener(GamePlay.INCREMENTBONUSX, bonusXUpdateListener, false, 0, true);
gamePlay.addEventListener(GamePlay.POWERUPPRINCESS, powerUpPrincessListener, false, 0, true);
}
private function playerDeathCompleteListener(_arg1:Event):void{
}
private function invTimerStartListener(_arg1:Event):void{
gamePlay.createInPlayMessage(40, 150, "BigProtect", "");
}
private function powerUpPrincessListener(_arg1:Event):void{
gamePlay.createInPlayMessage(0, 300, "BigPrincess", "");
}
private function keyEatenListener(_arg1:Event):void{
gamePlay.createInPlayMessage(40, 250, "BigKey", "");
}
private function playerOutStartedListener(_arg1:Event):void{
}
private function invTimerAboutToEndListener(_arg1:Event):void{
}
private function accTimerEndListener(_arg1:Event):void{
}
private function transportStartListener(_arg1:Event):void{
gamePlay.createInPlayMessage(85, 300, "BigTransport", "");
}
private function powerUpAttackEndListener(_arg1:Event):void{
}
private function accTimerToEndListener(_arg1:Event):void{
}
private function accTimerStartListener(_arg1:Event):void{
gamePlay.createInPlayMessage(40, 100, "BigFreeze", "");
}
private function playerStartListener(_arg1:Event){
gamePlay.createInPlayMessage(160, 200, "BigGO", "");
}
private function bonusXUpdateListener(_arg1:Event){
gamePlay.createInPlayMessage(40, 50, "BigBonusX", "");
}
private function powerUpKillAllListener(_arg1:Event):void{
gamePlay.createInPlayMessage(100, 350, "BigKill", "");
}
private function playerDieListener(_arg1:Event):void{
}
private function invTimerEndListener(_arg1:Event):void{
}
private function powerUpAttackStartListener(_arg1:Event):void{
gamePlay.createInPlayMessage(40, 200, "BigAttack", "");
}
private function powerUpAttackAboutToEndListener(_arg1:Event):void{
}
}
}//package
Section 60
//GameOverScreen (GameOverScreen)
package {
import flash.events.*;
public class GameOverScreen extends EventDispatcher {
public var started:Boolean;// = false
public var framesToFade:int;// = 30
private var gamePlay:GamePlay;
public var framesBeforeFade:int;// = 60
public var frameCount:int;// = 0
public var fadeStarted:Boolean;// = false
private var fadeAmountPerFrame:Number;
public var gameOverScreen:gameOverScreen_mc;
public var fadeCount:int;// = 0
public static const COMPLETE:String = "complete";
public function GameOverScreen(_arg1:GamePlay){
framesBeforeFade = 60;
framesToFade = 30;
frameCount = 0;
fadeCount = 0;
fadeStarted = false;
started = false;
super();
gamePlay = _arg1;
gameOverScreen = new gameOverScreen_mc();
gameOverScreen.x = 110;
gameOverScreen.y = 150;
fadeAmountPerFrame = (1 / framesToFade);
}
public function getstarted():Boolean{
return (started);
}
public function completed(){
gamePlay.removeEventListener(GamePlay.GAMEOVERUPDATE, updateListener);
gamePlay.gameLoop.removeChild(gameOverScreen);
started = false;
gameOverScreen.alpha = 1;
dispatchEvent(new Event(COMPLETE));
}
public function start(){
gamePlay.addEventListener(GamePlay.GAMEOVERUPDATE, updateListener, false, 0, true);
gamePlay.gameLoop.addChild(gameOverScreen);
fadeStarted = false;
frameCount = 0;
fadeCount = 0;
started = true;
}
private function updateListener(_arg1:Event):void{
if (started){
frameCount++;
if ((((frameCount > framesBeforeFade)) && (!(fadeStarted)))){
fadeStarted = true;
};
if (fadeCount > framesToFade){
completed();
};
if (fadeStarted){
fadeCount++;
gameOverScreen.alpha = (gameOverScreen.alpha - fadeAmountPerFrame);
};
};
}
}
}//package
Section 61
//gameOverScreen_mc (gameOverScreen_mc)
package {
import flash.display.*;
public dynamic class gameOverScreen_mc extends MovieClip {
public var getReady_mc:MovieClip;
}
}//package
Section 62
//GamePlay (GamePlay)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.utils.*;
public class GamePlay extends EventDispatcher {
var attackTimeToAdd:int;
var killBonusMultiplier:int;// = 10
var level17DataXML:Level17DataXML;
var accTimeToAdd:int;
var message:InPlayMessage;
var tempEnemy:Enemy;
var level1DataXML:Level1DataXML;
var bufferMatrix:Matrix;
var extraManAmount:int;
public var princessWaitStarted:Boolean;// = false
var level26DataXML:Level26DataXML;
public var aTileMap:Array;
var ctr2:int;
var killBonusCount:int;// = 0
var levelOutScreen:LevelOutScreen;
var ctr1:int;
var gameMessageManager:GameMessageManager;
var level8DataXML:Level8DataXML;
var eCtr2:int;
var rFound:Boolean;
public var currentPlayState:int;
var level15DataXML:Level15DataXML;
var dotTotalCount:int;// = 0
var screenRectangle:Rectangle;
var aMessage:Array;
var level24DataXML:Level24DataXML;
var tempExplode:Explode;
public var mapCols:int;
var level6DataXML:Level6DataXML;
public var princessWait:Number;// = 30
var thisTile:Tile;
var level13DataXML:Level13DataXML;
private var maxEnemy:int;// = 0
var colCtr:int;
var scorePanel:ScorePanel;
var enemyLength:int;
public var currentState:int;
var levelspeedadjust:Number;
var level22DataXML:Level22DataXML;
var sheetTile:BasicGameTile;
var tempTile:Tile;
public var screenHeight:int;
var attackBonus:int;
var getReadyScreen:GetReadyScreen;
public var screenWidth:int;
var level4DataXML:Level4DataXML;
var level29DataXML:Level29DataXML;
public var gameXML:XML;
var enemyToEatForBonusXPlus:int;
var levelFrameRate:int;// = 40
var dotScore:int;
var debugCtr:int;// = 0
var level11DataXML:Level11DataXML;
public var player:Player;
var level18DataXML:Level18DataXML;
var tempTileRender:Tile;
var level20DataXML:Level20DataXML;
var aEnemyGenerator:Array;
public var tileSheetWidth:int;
var backgroundTile:int;
var level2DataXML:Level2DataXML;
var level27DataXML:Level27DataXML;
var hitTransThreshold:int;// = 10
var gameScreenBitmapData:BitmapData;
var level9DataXML:Level9DataXML;
var level16DataXML:Level16DataXML;
public var princessCount:Number;// = 0
var explodeLength:int;
var randReceiver:int;
var erasertile:int;
var aExplode:Array;
var pausedScreen:PausedScreen;
var hitx:Number;
var level25DataXML:Level25DataXML;
var backgroundBitmapData:BitmapData;
var hity:Number;
var levelData:XML;
var enemyCounter:int;
public var mapRows:int;
var tileSheet:TileSheet;
var timeBonus:int;
var level7DataXML:Level7DataXML;
public var tilesPerRow:int;
var level14DataXML:Level14DataXML;
var attackBonusPerKill:int;
var aReceiver:Array;
var eCtr:int;
var previousStateBeforePause:int;
private var aEnemyType:Array;
var level:int;
var level23DataXML:Level23DataXML;
var tilePoint:Point;
var levelInScreen:LevelInScreen;
var level5DataXML:Level5DataXML;
private var aEnemy:Array;
var level12DataXML:Level12DataXML;
var invincbibleTimeToAdd:int;
var gameScreenBitmapDataDisplay:BitmapData;
var tileRect:Rectangle;
public var gameLoop:GameLoop;
var dotEatenCount:int;// = 0
public var gameDataXML:GameDataXML;
var enemyHitThreshold:int;// = 10
var level19DataXML:Level19DataXML;
var screenTopPoint;
var aTransport:Array;
var tilesheetBitmapData:BitmapData;
var oExplodeType:Object;
var gameScreenBitmap:Bitmap;
public var tileSize:int;
var level21DataXML:Level21DataXML;
var oReceiverType:Object;
var aTilesheetData:Array;
var dotEatThreshold:int;// = 16
var level3DataXML:Level3DataXML;
public var tileSheetHeight:int;
var level28DataXML:Level28DataXML;
var messageLength:int;
public var aMoveState;
var level30DataXML:Level30DataXML;
var level10DataXML:Level10DataXML;
var gameOverScreen:GameOverScreen;
var destX:int;
var destY:int;
var aAnimatedTile:Array;
var oPowerUpType:Object;
var rowCtr:int;
public static const ANIMATE_DOWNTORIGHT:String = "animate_downtoright";
public static const INVTIMERABOUTTOEND:String = "invtimerabouttoend";
public static const LEVELOUTCOUNTTIMEBONUS:String = "leveloutupcounttimebonus";
public static const GAMEOVERUPDATE:String = "gameoverupdate";
public static const PLAYERSTART:String = "playerstart";
public static const PLAYEREATENEMY:String = "playereatenemy";
public static const PLAYEREATDOT:String = "playereatdot";
public static const PLAYEROUTSTARTED:String = "playeroutstarted";
public static const GETREADYUPDATE:String = "getreadyupdate";
public static const STATE_LEVEL_GAME_OVER:int = 6;
public static const KEYEATEN:String = "keyeaten";
public static const ANIMATE_UPTOLEFT:String = "animate_uptoleft";
public static const POWERUPKILLALL:String = "powerupkillall";
public static const STATE_PLAY_PLAYERDIE:int = 3;
public static const ANIMATE_RIGHTTODOWN:String = "animate_righttodown";
public static const STATE_SET_UP_LEVEL:int = 2;
public static const POWERUPATTACKEND:String = "powerupattackend";
public static const STATE_PLAY_GAMERUN:int = 2;
public static const MOVE_STATE_STOP:String = "stop";
public static const MOVE_STATE_RIGHT:String = "right";
public static const BONUSXUPDATE:String = "bonusXUpdate";
public static const MOVE_STATE_LEFT:String = "left";
public static const INVTIMEREND:String = "invtimerend";
public static const INCREMENTBONUSX:String = "incrementbonusx";
public static const PLAYERDEATHCOMPLETE:String = "playerdeathcomplete";
public static const MOVE_STATE_TRANSPORT:String = "transport";
public static const STATE_INIT_NEW_GAME:int = 0;
public static const ANIMATE_RIGHTTOUP:String = "animate_righttoup";
public static const ACCTIMERSTART:String = "acctimerstart";
public static const ANIMATE_DOWNTOLEFT:String = "animate_downtoleft";
public static const ANIMATE_UPTORIGHT:String = "animate_uptoright";
public static const STATE_PLAY_GETREADY:int = 0;
public static const AI_STATE_FLEE:String = "flee";
public static const POWERUPATTACKABOUTOEND:String = "powerupattackabouttoend";
public static const MOVE_STATE_FADEOUT:String = "fadeout";
public static const ACCTIMERABOUTTOEND:String = "acctimerabouttoend";
public static const ENEMYAIFLEE:String = "enemyaiflee";
public static const PAUSEDSTARTED:String = "pausestarted";
public static const STATE_PLAY_PLAYERSTART:int = 1;
public static const STATE_LEVEL_OUT:int = 5;
public static const ANIMATE_RIGHTTOLEFT:String = "animate_righttoleft";
public static const MOVE_STATE_LEVELOUT:String = "levelout";
public static const LEVELOUTUPDATE:String = "leveloutupdate";
public static const MOVE_STATE_DEATH:String = "death";
public static const LEVELINUPDATE:String = "levelinupdate";
public static const ANIMATE_LEFTTOUP:String = "animate_lefttoup";
public static const PLAYERDEATHUPDATE:String = "playerdeathupdate";
public static const RENDER:String = "render";
public static const ANIMATE_LEFTTODOWN:String = "animate_lefttodown";
public static const PLAYEREATPOWERUP:String = "playereatpowerup";
public static const POWERUPPRINCESS:String = "powerupprincess";
public static const POWERUPPRINCESSPLAYSOUND:String = "powerupprincessplaysound";
public static const AI_FILTER_FLEE:String = "filter_flee";
public static const STATE_GAME_WON:int = 7;
public static const POWERUPATTACKSTART:String = "powerupattackstart";
public static const STATE_LEVEL_PLAY:int = 4;
public static const CHECK_WALL_COLLISIONS = "checkwallcollisions";
public static const ANIMATE_UPTODOWN:String = "animate_uptodown";
public static const UPDATE:String = "update";
public static const MOVE_STATE_ERASE:String = "erase";
public static const STATE_PLAY_PAUSED:int = 5;
public static const ANIMATE_DOWNTOUP:String = "animate_downtoup";
public static const STATE_LOAD_LEVEL_DATA:int = 1;
public static const INVTIMERSTART:String = "invtimerstart";
public static const MOVE_STATE_UP:String = "up";
public static const TRANSPORTSTART:String = "transportstarted";
public static const MOVE_STATE_DOWN:String = "down";
public static const PLAYERDIE:String = "playerdie";
public static const AI_STATE_CHASE:String = "chase";
public static const PLAYERDEATHSTARTED:String = "playerdeathstarted";
public static const ACCTIMEREND:String = "acctimerend";
public static const STATE_PLAY_PLAYEROUT = 4;
public static const STATE_LEVEL_IN:int = 3;
public static const STATE_PLAY_DEBUG:int = 99;
public static const ANIMATE_LEFTTORIGHT:String = "animate_lefttoright";
public function GamePlay(_arg1:GameLoop){
aMoveState = [MOVE_STATE_UP, MOVE_STATE_DOWN, MOVE_STATE_LEFT, MOVE_STATE_RIGHT, MOVE_STATE_STOP, MOVE_STATE_ERASE];
dotTotalCount = 0;
dotEatenCount = 0;
killBonusMultiplier = 10;
killBonusCount = 0;
dotEatThreshold = 16;
enemyHitThreshold = 10;
hitTransThreshold = 10;
debugCtr = 0;
levelFrameRate = 40;
bufferMatrix = new Matrix();
screenTopPoint = new Point(0, 0);
maxEnemy = 0;
princessWaitStarted = false;
princessWait = 30;
princessCount = 0;
super();
gameLoop = _arg1;
currentState = STATE_INIT_NEW_GAME;
}
function enumerateEffects(){
var _local1:int;
explodeLength = (aExplode.length - 1);
_local1 = explodeLength;
while (_local1 >= 0) {
tempExplode = aExplode[_local1];
if (tempExplode.complete){
tempExplode.removeMe();
aExplode.splice(_local1, 1);
};
_local1--;
};
messageLength = (aMessage.length - 1);
eCtr2 = messageLength;
while (eCtr2 >= 0) {
if (aMessage[eCtr2].complete){
aMessage[eCtr2].removeMe();
aMessage.splice(eCtr2, 1);
};
eCtr2--;
};
}
public function gameOver(){
if (!gameOverScreen.getstarted()){
gameOverScreen.start();
gameOverScreen.addEventListener(GameOverScreen.COMPLETE, gameOverCompleteListener, false, 0, true);
};
dispatchEvent(new Event(GAMEOVERUPDATE));
}
public function killAnEnemy(_arg1:Enemy):void{
player.incrementscore(_arg1.score);
killBonusCount++;
attackBonus = (attackBonusPerKill + (killBonusMultiplier * killBonusCount));
player.incrementAttackBonus(attackBonus);
createInPlayMessage(_arg1.x, (_arg1.y + 20), "bonus", String(attackBonus));
player.incrementattackBonusCount(1);
scorePanel.updateScore(player.getscore());
createExplode(_arg1.x, _arg1.y);
_arg1.eatMe();
dispatchEvent(new Event(PLAYEREATENEMY));
}
public function createInPlayMessage(_arg1:int, _arg2:int, _arg3:String, _arg4:String){
message = new InPlayMessage(_arg1, _arg2, _arg3, _arg4, this);
aMessage.push(message);
}
public function getaLevelPassword():Array{
return (gameLoop.getaLevelPassword());
}
public function checkForEndofLevel():void{
if (dotEatenCount == dotTotalCount){
currentPlayState = STATE_PLAY_PLAYEROUT;
};
}
public function playPlayerStart():void{
killBonusCount = 0;
attackBonusPerKill = int(levelData.attackbonusperkill);
player.setplayerStartRow(int(levelData.playerstartrow));
player.setplayerStartCol(int(levelData.playerstartcol));
player.addEventListener(INCREMENTBONUSX, playerbonusupdateListener, false, 0, true);
dispatchEvent(new Event(PLAYERSTART));
currentPlayState = STATE_PLAY_GAMERUN;
}
public function disposeObjectsWinGame(){
player.dispose();
player = null;
levelData = null;
level1DataXML = null;
level2DataXML = null;
level3DataXML = null;
level4DataXML = null;
level5DataXML = null;
level6DataXML = null;
level7DataXML = null;
level8DataXML = null;
level9DataXML = null;
level10DataXML = null;
level11DataXML = null;
level12DataXML = null;
level13DataXML = null;
level14DataXML = null;
level15DataXML = null;
level16DataXML = null;
level17DataXML = null;
level18DataXML = null;
level19DataXML = null;
level20DataXML = null;
level21DataXML = null;
level22DataXML = null;
level23DataXML = null;
level24DataXML = null;
level25DataXML = null;
level26DataXML = null;
level27DataXML = null;
level28DataXML = null;
level29DataXML = null;
level30DataXML = null;
gameDataXML = null;
gameXML = null;
tileSheet.dispose();
tileSheet = null;
tilesheetBitmapData = null;
aTilesheetData = null;
levelInScreen = null;
getReadyScreen = null;
gameOverScreen = null;
backgroundBitmapData = null;
gameScreenBitmap = null;
gameScreenBitmapData = null;
oPowerUpType = null;
scorePanel = null;
oExplodeType = null;
aExplode = null;
aMessage = null;
gameMessageManager = null;
oReceiverType = null;
ctr1 = 0;
while (ctr1 < aEnemy.length) {
aEnemy[ctr1].dispose();
aEnemy[ctr1] = null;
ctr1++;
};
aEnemy = null;
ctr1 = 0;
while (ctr1 < aEnemyType.length) {
aEnemyType[ctr1].dispose();
aEnemyType[ctr1] = null;
ctr1++;
};
aEnemyType = null;
}
public function gettilesPerRow():int{
return (tilesPerRow);
}
function createEnemyForLevel():void{
var _local1:XML;
var _local2:int;
var _local3:String;
var _local4:int;
var _local5:int;
var _local6:EnemyGenerator;
var _local7:int;
var _local8:int;
var _local9:Enemy;
var _local10:*;
var _local11:EnemyType;
aEnemy = [];
for each (_local1 in levelData.enemytype) {
_local2 = _local1.@num;
_local3 = _local1;
_local4 = 0;
while (_local4 < _local2) {
_local5 = int((Math.random() * aEnemyGenerator.length));
_local6 = aEnemyGenerator[_local5];
_local7 = (_local6.col * tileSize);
_local8 = (_local6.row * tileSize);
_local9 = new Enemy(_local7, _local8, this);
_local10 = 0;
while (_local10 < aEnemyType.length) {
if (_local3 == aEnemyType[_local10].id){
_local11 = aEnemyType[_local10];
levelInScreen.oEnemyRow[_local11.title] = true;
};
_local10++;
};
_local9.bitmapStateObject = _local11.bitmapStateObject;
_local9.aSpriteBitmapData = _local9.getBitmapState(MOVE_STATE_RIGHT);
_local9.spriteBitmapDataIndex = 1;
_local9.animationFrameDelay = 10;
_local9.acceleration = _local11.speed;
_local9.intelligence = _local11.intelligence;
_local9.tileRow = _local6.row;
_local9.tileCol = _local6.col;
_local9.score = _local11.score;
_local9.setlastTile();
_local9.animate = false;
_local9.tileSize = tileSize;
_local9.setblitRectangle();
_local9.mapRows = mapRows;
_local9.mapCols = mapCols;
_local9.rendervelocity = true;
_local9.restartFrameDelay = levelData.enemyrestartFrameDelay;
_local9.frameDelayBeforeStart = levelData..enemystartFrameDelay;
aEnemy.push(_local9);
_local4++;
};
};
}
public function levelOutCompleteListener(_arg1:Event){
levelOutScreen.removeEventListener(LevelOutScreen.COMPLETE, levelOutCompleteListener);
level++;
if (level == 31){
currentState = STATE_GAME_WON;
currentPlayState = STATE_PLAY_GETREADY;
} else {
currentState = STATE_LOAD_LEVEL_DATA;
currentPlayState = STATE_PLAY_GETREADY;
};
}
public function createExplode(_arg1:int, _arg2:int){
tempExplode = new Explode(_arg1, _arg2, "EnemyEat", 2, this);
tempExplode.startMe();
aExplode.push(tempExplode);
}
public function copyBackgroundToScreen(){
gameScreenBitmapData.copyPixels(backgroundBitmapData, screenRectangle, screenTopPoint);
}
public function pausedScreenCompleteListener(_arg1:Event):void{
currentPlayState = STATE_PLAY_GAMERUN;
pausedScreen.started = false;
}
public function copyBackgroundTileToBackground(){
var _local1:int;
var _local2:int;
var _local3:BasicGameTile;
var _local4:BitmapData;
var _local5:int;
var _local6:int;
_local1 = 0;
while (_local1 < mapRows) {
_local2 = 0;
while (_local2 < mapCols) {
_local3 = aTilesheetData[backgroundTile];
_local4 = _local3.getCurrentBitmapData();
_local5 = (_local1 * tileSize);
_local6 = (_local2 * tileSize);
backgroundBitmapData.copyPixels(_local4, new Rectangle(0, 0, tileSize, tileSize), new Point(_local6, _local5));
_local2++;
};
_local1++;
};
}
public function initNewGame(){
gameDataXML = new GameDataXML();
gameXML = gameDataXML.getXML();
tileSize = gameXML.tilesize;
screenWidth = gameXML.screenwidth;
screenHeight = gameXML.screenheight;
screenRectangle = new Rectangle(0, 0, screenWidth, screenHeight);
tileSheetWidth = gameXML.tilesheetwidth;
tileSheetHeight = gameXML.tilesheetheight;
mapRows = int((screenHeight / tileSize));
mapCols = int((screenWidth / tileSize));
tilesPerRow = int((tileSheetWidth / tileSize));
if (gameLoop.getbLevelOverride()){
level = gameLoop.getiLevelOverride();
} else {
level = gameXML.level;
};
dotScore = gameXML.dotscore;
erasertile = gameXML.erasertile;
tileSheet = new TileSheet(tileSheetWidth, tileSheetHeight, tileSize);
tilesheetBitmapData = tileSheet.getbitmapSheet();
aTilesheetData = tileSheet.getaTileData();
tileRect = new Rectangle(0, 0, tileSize, tileSize);
tilePoint = new Point(0, 0);
player = new Player(this);
player.tileSize = tileSize;
player.setblitRectangle();
player.mapRows = mapRows;
player.mapCols = mapCols;
player.acceleration = gameXML.playeracceleration;
player.animate = true;
player.createMoveStates();
player.score = gameXML.score;
player.lives = gameXML.lives;
createEnemyTypes();
createPowerUpTypes();
createExplodeTypes();
pausedScreen = new PausedScreen(this);
scorePanel = gameLoop.gameLoopScorePanel;
scorePanel.setGamePlay(this);
scorePanel.addGamePlayEventListeners();
scorePanel.updateScore(player.score);
player.addScorePanelListeners();
gameOverScreen = new GameOverScreen(this);
levelInScreen = new LevelInScreen(this);
levelOutScreen = new LevelOutScreen(this);
scorePanel.updateLevel(level);
scorePanel.updateLives(player.lives);
gameMessageManager = new GameMessageManager(this);
getReadyScreen = new GetReadyScreen(this);
currentState = STATE_LOAD_LEVEL_DATA;
currentPlayState = STATE_PLAY_GETREADY;
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
gameLoop.soundManager.setgamePlay(this);
gameLoop.soundManager.initListeners();
}
public function getPlayerCurrentCol():int{
return (player.tileCol);
}
public function changeTile(_arg1:Tile, _arg2:int){
sheetTile = aTilesheetData[_arg2];
tempTile = _arg1;
tempTile.dispose();
tempTile.aTileBitmapData = sheetTile.aTileBitmapData;
tempTile.isWalkable = sheetTile.isWalkable;
tempTile.isCollectible = sheetTile.isCollectible;
tempTile.isPowerUp = sheetTile.isPowerUp;
tempTile.powerUpType = sheetTile.powerUpType;
tempTile.animate = sheetTile.animate;
tempTile.tileSize = sheetTile.tileSize;
tempTile.animationFrameDelay = sheetTile.animationFrameDelay;
tempTile.tileBitmapDataIndex = 0;
}
public function getPlayerattackBonus():int{
return (player.attackBonus);
}
function disposeObjectsEndlevel():void{
levelData = null;
ctr1 = 0;
while (ctr1 < aTileMap.length) {
ctr2 = 0;
while (ctr2 < aTileMap[ctr1].length) {
aTileMap[ctr1][ctr2].dispose();
aTileMap[ctr1][ctr2] = null;
ctr2++;
};
ctr1++;
};
aTileMap = null;
ctr1 = 0;
while (ctr1 < aAnimatedTile.length) {
aAnimatedTile[ctr1] = null;
ctr1++;
};
aAnimatedTile = null;
ctr1 = 0;
while (ctr1 < aEnemyGenerator.length) {
aEnemyGenerator[ctr1] = null;
ctr1++;
};
aEnemyGenerator = null;
ctr1 = 0;
while (ctr1 < aTransport.length) {
aTransport[ctr1] = null;
ctr1++;
};
aTransport = null;
ctr1 = 0;
while (ctr1 < aReceiver.length) {
aReceiver[ctr1] = null;
ctr1++;
};
aReceiver = null;
}
public function copyTilemapToScreen(){
var _local1:Tile;
rowCtr = 0;
while (rowCtr < mapRows) {
colCtr = 0;
while (colCtr < mapCols) {
_local1 = aTileMap[rowCtr][colCtr];
_local1.render();
tilePoint.x = (colCtr * tileSize);
tilePoint.y = (rowCtr * tileSize);
gameScreenBitmapData.copyPixels(_local1.getCurrentBitmapData(), tileRect, tilePoint);
colCtr++;
};
rowCtr++;
};
}
public function getPlayerbonusX():int{
return (player.bonusX);
}
public function getgameXML():XML{
return (gameXML);
}
public function getenemyToEatForBonusXPlus():int{
return (enemyToEatForBonusXPlus);
}
public function gettilesheetBitmapData():BitmapData{
return (tilesheetBitmapData);
}
public function gettimeBonus():int{
return (timeBonus);
}
public function disposeObjectsEndOfGame(){
player.dispose();
player = null;
levelData = null;
level1DataXML = null;
level2DataXML = null;
level3DataXML = null;
level4DataXML = null;
level5DataXML = null;
level6DataXML = null;
level7DataXML = null;
level8DataXML = null;
level9DataXML = null;
level10DataXML = null;
level11DataXML = null;
level12DataXML = null;
level13DataXML = null;
level14DataXML = null;
level15DataXML = null;
level16DataXML = null;
level17DataXML = null;
level18DataXML = null;
level19DataXML = null;
level20DataXML = null;
level21DataXML = null;
level22DataXML = null;
level23DataXML = null;
level24DataXML = null;
level25DataXML = null;
level26DataXML = null;
level27DataXML = null;
level28DataXML = null;
level29DataXML = null;
level30DataXML = null;
gameDataXML = null;
gameXML = null;
ctr1 = 0;
while (ctr1 < aTileMap.length) {
ctr2 = 0;
while (ctr2 < aTileMap[ctr1].length) {
aTileMap[ctr1][ctr2].dispose();
aTileMap[ctr1][ctr2] = null;
ctr2++;
};
ctr1++;
};
aTileMap = null;
tileSheet.dispose();
tileSheet = null;
tilesheetBitmapData = null;
aTilesheetData = null;
ctr1 = 0;
while (ctr1 < aAnimatedTile.length) {
aAnimatedTile[ctr1] = null;
ctr1++;
};
aAnimatedTile = null;
levelInScreen = null;
getReadyScreen = null;
gameOverScreen = null;
ctr1 = 0;
while (ctr1 < aEnemyGenerator.length) {
aEnemyGenerator[ctr1] = null;
ctr1++;
};
aEnemyGenerator = null;
ctr1 = 0;
while (ctr1 < aTransport.length) {
aTransport[ctr1] = null;
ctr1++;
};
aTransport = null;
ctr1 = 0;
while (ctr1 < aReceiver.length) {
aReceiver[ctr1] = null;
ctr1++;
};
aReceiver = null;
backgroundBitmapData = null;
gameScreenBitmap = null;
gameScreenBitmapData = null;
oPowerUpType = null;
scorePanel = null;
oExplodeType = null;
aExplode = null;
aMessage = null;
gameMessageManager = null;
oReceiverType = null;
ctr1 = 0;
while (ctr1 < aEnemy.length) {
aEnemy[ctr1].dispose();
aEnemy[ctr1] = null;
ctr1++;
};
aEnemy = null;
ctr1 = 0;
while (ctr1 < aEnemyType.length) {
aEnemyType[ctr1].dispose();
aEnemyType[ctr1] = null;
ctr1++;
};
aEnemyType = null;
}
public function getaTilesheetData():Array{
return (aTilesheetData);
}
function checkCollisions():void{
var hitMiddleX:int;
var hitMiddleY:int;
var nextHitTile:Tile;
var difference:Number;
dispatchEvent(new Event(CHECK_WALL_COLLISIONS));
hitx = (player.centernextx + ((player.hitx * 0.5) * tileSize));
hity = (player.centernexty + ((player.hity * 0.5) * tileSize));
player.hittilerow = int((hity / tileSize));
player.hittilecol = int((hitx / tileSize));
if (player.hittilerow > (mapRows - 1)){
player.hittilerow = 0;
};
if (player.hittilerow < 0){
player.hittilerow = (mapRows - 1);
};
if (player.hittilecol > (mapCols - 1)){
player.hittilecol = 0;
};
if (player.hittilecol < 0){
player.hittilecol = (mapCols - 1);
};
hitMiddleX = ((player.hittilecol * tileSize) + (tileSize * 0.5));
hitMiddleY = ((player.hittilerow * tileSize) + (tileSize * 0.5));
try {
nextHitTile = aTileMap[player.hittilerow][player.hittilecol];
} catch(error:Error) {
};
if (!nextHitTile.isWalkable){
if (player.moveRight){
difference = ((player.hittilecol * tileSize) - player.centernextx);
if (difference >= (0.4 * tileSize)){
player.setnextx((player.x + 1));
} else {
player.setnextx(player.x);
};
};
if (player.moveLeft){
difference = (player.centernextx - ((player.hittilecol * tileSize) + tileSize));
if (difference >= (0.4 * tileSize)){
player.setnextx((player.x - 1));
} else {
player.setnextx(player.x);
};
};
if (player.moveDown){
difference = ((player.hittilerow * tileSize) - player.centernexty);
if (difference >= (0.4 * tileSize)){
player.setnexty((player.y + 1));
} else {
player.setnexty(player.y);
};
};
if (player.moveUp){
difference = (player.centernexty - ((player.hittilerow * tileSize) + tileSize));
if (difference >= (0.4 * tileSize)){
player.setnexty((player.y - 1));
} else {
player.setnexty(player.y);
};
};
} else {
if (((nextHitTile.isTransport) && (!(player.transportStarted)))){
if ((((((((player.centernexty >= (hitMiddleY - hitTransThreshold))) && ((player.centernexty <= (hitMiddleY + hitTransThreshold))))) && ((player.centernextx >= (hitMiddleX - hitTransThreshold))))) && ((player.centernextx <= (hitMiddleX + hitTransThreshold))))){
rFound = false;
while (!(rFound)) {
randReceiver = int((Math.random() * aReceiver.length));
tempTile = aReceiver[randReceiver];
if (tempTile.transportID == nextHitTile.transportID){
rFound = true;
player.setNextTransportLocation(tempTile.destX, tempTile.destY);
dispatchEvent(new Event(TRANSPORTSTART));
};
};
};
} else {
if (nextHitTile.isCollectible){
if ((((((((player.centernexty >= (hitMiddleY - dotEatThreshold))) && ((player.centernexty <= (hitMiddleY + dotEatThreshold))))) && ((player.centernextx >= (hitMiddleX - dotEatThreshold))))) && ((player.centernextx <= (hitMiddleX + dotEatThreshold))))){
dispatchEvent(new Event(PLAYEREATDOT));
thisTile = aTileMap[player.hittilerow][player.hittilecol];
dotEatenCount++;
if (thisTile.isPowerUp){
dispatchEvent(new Event(PLAYEREATPOWERUP));
player.incrementscore(oPowerUpType[thisTile.powerUpType].playerScoreAdjust);
scorePanel.updateScore(player.getscore());
player.incrementAttackBonus(oPowerUpType[thisTile.powerUpType].playerBonusAdjust);
if (oPowerUpType[thisTile.powerUpType].playerEatEnemyAdjust){
attackTimeToAdd = (oPowerUpType[thisTile.powerUpType].playerEatEnemyTimeAdd * 1000);
scorePanel.attackTimerStart(attackTimeToAdd);
};
if (oPowerUpType[thisTile.powerUpType].playerInvincibleAdjust){
invincbibleTimeToAdd = (oPowerUpType[thisTile.powerUpType].playerInvincibleTimeAdd * 1000);
scorePanel.invTimeIncrement(invincbibleTimeToAdd);
dispatchEvent(new Event(INVTIMERSTART));
};
if (oPowerUpType[thisTile.powerUpType].playerAccAdjust > 0){
accTimeToAdd = (oPowerUpType[thisTile.powerUpType].playerAccTimeAdd * 1000);
scorePanel.accTimeIncrement(accTimeToAdd);
dispatchEvent(new Event(ACCTIMERSTART));
};
if (oPowerUpType[thisTile.powerUpType].playerBonusXAdjust > 0){
player.incrementattackBonusCount((enemyToEatForBonusXPlus * oPowerUpType[thisTile.powerUpType].playerBonusXAdjust));
};
if (oPowerUpType[thisTile.powerUpType].playerBonusAdjust > 0){
createInPlayMessage(player.x, (player.y + 20), "bonus", String(oPowerUpType[thisTile.powerUpType].playerBonusAdjust));
};
if (oPowerUpType[thisTile.powerUpType].playerKillAllEnemyAdjust){
killAllEnemy();
dispatchEvent(new Event(POWERUPKILLALL));
};
if (oPowerUpType[thisTile.powerUpType].title == "princess"){
dispatchEvent(new Event(POWERUPPRINCESS));
princessWaitStarted = true;
};
} else {
if (thisTile.isKey){
if (thisTile.isKey){
dispatchEvent(new Event(KEYEATEN));
};
} else {
player.incrementscore(dotScore);
scorePanel.updateScore(player.getscore());
};
};
changeTile(thisTile, erasertile);
thisTile.isCollectible = false;
thisTile.animate = false;
destY = (player.hittilerow * tileSize);
destX = (player.hittilecol * tileSize);
};
};
};
};
enemyLength = aEnemy.length;
enemyCounter = (enemyLength - 1);
while (enemyCounter >= 0) {
tempEnemy = aEnemy[enemyCounter];
if ((((((((player.centernexty >= (tempEnemy.centery - enemyHitThreshold))) && ((player.centernexty <= (tempEnemy.centery + enemyHitThreshold))))) && ((player.centernextx >= (tempEnemy.centerx - enemyHitThreshold))))) && ((player.centernextx <= (tempEnemy.centerx + enemyHitThreshold))))){
if (tempEnemy.aiState == AI_STATE_FLEE){
killAnEnemy(tempEnemy);
} else {
if (((!(player.invincible)) && (!(player.transportStarted)))){
dispatchEvent(new Event(PLAYERDIE));
currentPlayState = STATE_PLAY_PLAYERDIE;
killBonusCount = 0;
};
};
};
enemyCounter--;
};
}
public function setUpLevel(){
backgroundBitmapData = new BitmapData(480, 480, false, 0xFFFFFF);
gameScreenBitmapData = new BitmapData(480, 480, false, 0xFFFFFF);
timeBonus = int(levelData.timebonus);
extraManAmount = int(levelData.extramanamount);
enemyToEatForBonusXPlus = int(levelData.enemytoeatforbonusxplus);
attackBonusPerKill = int(levelData.attackbonusperkill);
levelspeedadjust = Number(levelData.levelspeedadjust);
levelFrameRate = levelData.framerate;
gameLoop.stage.frameRate = levelFrameRate;
backgroundTile = levelData.backgroundtile;
copyBackgroundTileToBackground();
copyBackgroundToScreen();
copyTilemapToScreen();
copyBufferToDisplay();
gameScreenBitmap = new Bitmap(gameScreenBitmapData);
gameScreenBitmap.y = -(screenHeight);
gameLoop.addChild(gameScreenBitmap);
player.aSpriteBitmapData = player.getBitmapState(MOVE_STATE_RIGHT);
player.spriteBitmapDataIndex = 0;
player.animationFrameDelay = 5;
player.resetLevelCounters();
player.bonusTimeLimit = levelData.bonustimelimit;
scorePanel.bonusTimerSet((player.bonusTimeLimit * 1000));
currentState = STATE_LEVEL_IN;
scorePanel.updateLevel(level);
aExplode = [];
aMessage = [];
createEnemyForLevel();
}
public function getPlayerCurrentRow():int{
return (player.tileRow);
}
public function levelInCompleteListener(_arg1:Event){
levelInScreen.removeEventListener(LevelInScreen.COMPLETE, levelInCompleteListener);
currentState = STATE_LEVEL_PLAY;
}
public function levelPlay(){
switch (currentPlayState){
case STATE_PLAY_GETREADY:
playGetReady();
break;
case STATE_PLAY_PLAYERSTART:
playPlayerStart();
break;
case STATE_PLAY_GAMERUN:
playGameRun();
break;
case STATE_PLAY_PLAYERDIE:
playPlayerDie();
break;
case STATE_PLAY_PLAYEROUT:
playPlayerOut();
break;
case STATE_PLAY_PAUSED:
playPaused();
break;
case STATE_PLAY_DEBUG:
break;
};
}
function createPowerUpTypes():void{
var _local1:XML;
var _local2:PowerUpType;
oPowerUpType = {};
for each (_local1 in gameXML.powerup) {
_local2 = new PowerUpType(_local1.type);
_local2.playerAccAdjust = int(_local1.playeraccadjust);
_local2.playerAccTimeAdd = int(_local1.playeracctimeadd);
_local2.playerInvincibleAdjust = GameUtils.stringToBoolean(_local1.playerinvincibleadjust);
_local2.playerInvincibleTimeAdd = int(_local1.playerinvincibletimeadd);
_local2.playerEatEnemyAdjust = GameUtils.stringToBoolean(_local1.playereatenemyadjust);
_local2.playerEatEnemyTimeAdd = int(_local1.playereatenemytimeadd);
_local2.playerScoreAdjust = int(_local1.playerscoreadjust);
_local2.playerBonusAdjust = int(_local1.playerbonusadjust);
_local2.playerBonusTimeAdjust = int(_local1.playerbonustimeadjust);
_local2.playerKillAllEnemyAdjust = GameUtils.stringToBoolean(_local1.playerkillallenemyadjust);
_local2.playerBonusXAdjust = int(_local1.playerbonusxadjust);
_local2.title = _local1.Title;
_local2.type = int(_local1.type);
oPowerUpType[_local2.type] = _local2;
};
}
public function playPlayerDie(){
var _local1:*;
if (!player.deathStarted){
player.removeEventListener(INCREMENTBONUSX, playerbonusupdateListener);
dispatchEvent(new Event(PLAYERDEATHSTARTED));
_local1 = (aEnemy.length - 1);
while (_local1 >= 0) {
aEnemy[_local1].removeMe();
aEnemy[_local1] = null;
aEnemy.splice(_local1, 1);
_local1--;
};
};
if (player.deathComplete){
dispatchEvent(new Event(PLAYERDEATHCOMPLETE));
if (player.lives == 0){
currentState = STATE_LEVEL_GAME_OVER;
currentPlayState = STATE_PLAY_GETREADY;
} else {
createEnemyForLevel();
currentPlayState = STATE_PLAY_GETREADY;
};
} else {
renderScreen();
};
}
public function gameOverCompleteListener(_arg1:Event){
gameOverScreen.removeEventListener(GameOverScreen.COMPLETE, gameOverCompleteListener);
gameLoop.systemState = GameLoop.STATE_SYSTEM_GAMEOVER;
gameLoop.setlastScore(player.getscore());
gameLoop.setlastLevel(level);
gameLoop.removeChild(gameScreenBitmap);
disposeObjectsEndOfGame();
if (levelOutScreen.getstarted()){
levelOutScreen.removeFromScreen();
};
}
public function getextraManAmount():int{
return (extraManAmount);
}
public function runGame(){
switch (currentState){
case STATE_INIT_NEW_GAME:
initNewGame();
break;
case STATE_LOAD_LEVEL_DATA:
loadLevelData();
break;
case STATE_SET_UP_LEVEL:
setUpLevel();
break;
case STATE_LEVEL_IN:
levelIn();
break;
case STATE_LEVEL_PLAY:
levelPlay();
break;
case STATE_LEVEL_OUT:
levelOut();
break;
case STATE_LEVEL_GAME_OVER:
gameOver();
break;
case STATE_GAME_WON:
gameWon();
break;
};
}
public function geterasertile():int{
return (erasertile);
}
public function getReadyCompleteListener(_arg1:Event){
getReadyScreen.removeEventListener(GetReadyScreen.COMPLETE, getReadyCompleteListener);
currentPlayState = STATE_PLAY_PLAYERSTART;
}
public function levelOut(){
if (!levelOutScreen.getstarted()){
levelOutScreen.start();
levelOutScreen.addEventListener(LevelOutScreen.COMPLETE, levelOutCompleteListener, false, 0, true);
disposeObjectsEndlevel();
};
dispatchEvent(new Event(LEVELOUTUPDATE));
if (gameScreenBitmap.y > -480){
gameScreenBitmap.y = (gameScreenBitmap.y - 10);
};
}
function copyBufferToDisplay():void{
}
public function loadLevelData(){
var _local1:String;
var _local2:Class;
var _local3:*;
var _local4:*;
var _local5:Array;
var _local6:*;
var _local7:int;
var _local8:*;
var _local9:Tile;
var _local10:*;
aAnimatedTile = [];
aEnemyGenerator = [];
aTileMap = [];
aTransport = [];
aReceiver = [];
oReceiverType = {};
_local1 = (("Level" + level) + "DataXML");
_local2 = (getDefinitionByName(_local1) as Class);
_local3 = new (_local2);
levelData = _local3.getXML();
_local4 = 0;
while (_local4 < mapRows) {
_local5 = new Array();
_local6 = 0;
while (_local6 < mapCols) {
_local7 = levelData.tilerow[_local4].tilecol[_local6];
_local8 = aTilesheetData[_local7];
_local9 = new Tile(_local7, this);
_local9.aTileBitmapData = _local8.aTileBitmapData;
_local9.isWalkable = _local8.isWalkable;
_local9.isCollectible = _local8.isCollectible;
if (_local9.isCollectible){
dotTotalCount++;
};
_local9.isKey = _local8.isKey;
if (_local9.isKey){
levelInScreen.oSpecialRow["key"] = true;
};
_local9.isDoor = _local8.isDoor;
if (_local9.isDoor){
_local9.setkeyEatenListener();
levelInScreen.oSpecialRow["door"] = true;
};
_local9.isPowerUp = _local8.isPowerUp;
_local9.powerUpType = _local8.powerUpType;
if (_local9.isPowerUp){
_local9.poweruptitle = oPowerUpType[_local9.powerUpType].title;
if (_local9.poweruptitle == "attack1"){
levelInScreen.oPowerUpRow["attack1"] = true;
};
if (_local9.poweruptitle == "attack2"){
levelInScreen.oPowerUpRow["attack2"] = true;
};
if (_local9.poweruptitle == "attack3"){
levelInScreen.oPowerUpRow["attack3"] = true;
};
if (_local9.poweruptitle == "attack4"){
levelInScreen.oPowerUpRow["attack4"] = true;
};
if (_local9.poweruptitle == "freeze"){
levelInScreen.oPowerUpRow["freeze"] = true;
};
if (_local9.poweruptitle == "protect"){
levelInScreen.oPowerUpRow["protect"] = true;
};
if (_local9.poweruptitle == "kill"){
levelInScreen.oPowerUpRow["kill"] = true;
};
if (_local9.poweruptitle == "bonusx"){
levelInScreen.oPowerUpRow["bonusx"] = true;
};
if (_local9.poweruptitle == "princess"){
levelInScreen.oPowerUpRow["princess"] = true;
};
};
_local9.animate = _local8.animate;
if (_local9.animate){
_local9.addRenderListener();
};
_local9.tileSize = _local8.tileSize;
_local9.mapRow = _local4;
_local9.mapCol = _local6;
_local9.destX = (_local9.mapCol * _local9.tileSize);
_local9.destY = (_local9.mapRow * _local9.tileSize);
_local9.animationFrameDelay = _local8.animationFrameDelay;
if (_local9.animate){
aAnimatedTile.push(_local9);
};
_local9.isEnemyGenerator = _local8.isEnemyGenerator;
if (_local9.isEnemyGenerator){
aEnemyGenerator.push(new EnemyGenerator(_local4, _local6, this));
};
if (_local8.isTransport){
_local9.isTransport = _local8.isTransport;
_local9.transportID = _local8.transportID;
aTransport.push(_local9);
levelInScreen.oSpecialRow[("transport" + _local9.transportID)] = true;
};
if (_local8.isReceiver){
_local9.isReceiver = _local8.isReceiver;
_local9.transportID = _local8.transportID;
if (oReceiverType[_local9.transportID] == null){
_local10 = new ReceiverType(_local9.transportID);
_local10.count++;
oReceiverType[_local9.transportID] = _local10;
} else {
oReceiverType[_local9.transportID].count++;
};
aReceiver.push(_local9);
};
_local5.push(_local9);
_local6++;
};
aTileMap.push(_local5);
_local4++;
};
currentState = STATE_SET_UP_LEVEL;
}
function createExplodeTypes():void{
var _local1:XML;
var _local2:ExplodeType;
var _local3:Array;
var _local4:XML;
var _local5:int;
var _local6:BitmapData;
oExplodeType = {};
for each (_local1 in gameXML.explosion) {
_local3 = [];
for each (_local4 in _local1.tile) {
_local5 = int(_local4);
_local6 = aTilesheetData[_local5].aTileBitmapData[0];
_local3.push(_local6);
};
_local2 = new ExplodeType(_local3, _local1.id);
oExplodeType[_local1.id] = _local2;
};
}
public function playGetReady(){
if (!getReadyScreen.getstarted()){
getReadyScreen.start();
getReadyScreen.addEventListener(GetReadyScreen.COMPLETE, getReadyCompleteListener, false, 0, true);
};
dispatchEvent(new Event(GETREADYUPDATE));
}
public function gameWon(){
gameLoop.systemState = GameLoop.STATE_SYSTEM_GAMEWON;
gameLoop.setlastScore(player.getscore());
gameLoop.setlastLives(player.getlives());
gameLoop.setlastLevel(level);
gameLoop.removeChild(gameScreenBitmap);
disposeObjectsWinGame();
if (levelOutScreen.getstarted()){
levelOutScreen.removeFromScreen();
};
}
function playGameRun(){
checkForEndofLevel();
checkInput();
updateObjectsInMemory();
enumerateEffects();
checkCollisions();
renderScreen();
if (princessWaitStarted){
princessCount++;
if (princessCount > princessWait){
dispatchEvent(new Event(POWERUPPRINCESSPLAYSOUND));
princessWaitStarted = false;
princessCount = 0;
};
};
}
public function getaTileMap():Array{
return (aTileMap);
}
public function getgameScreenBitmapData():BitmapData{
return (gameScreenBitmapData);
}
public function playPaused():void{
if (!pausedScreen.started){
dispatchEvent(new Event(PAUSEDSTARTED));
pausedScreen.start();
pausedScreen.addEventListener(PausedScreen.COMPLETE, pausedScreenCompleteListener, false, 0, true);
};
}
function keyDownListener(_arg1:KeyboardEvent):void{
switch (currentPlayState){
case STATE_PLAY_GAMERUN:
if ((((_arg1.keyCode == 112)) || ((_arg1.keyCode == 80)))){
previousStateBeforePause = currentPlayState;
currentPlayState = STATE_PLAY_PAUSED;
} else {
player.detectKeyPress(_arg1.keyCode);
};
break;
case STATE_PLAY_PAUSED:
pausedScreen.detectKeyPress(_arg1.keyCode);
break;
};
}
public function checkInput(){
player.checkInput();
}
function updateObjectsInMemory(){
dispatchEvent(new Event(UPDATE));
}
public function getaMoveState():Array{
return (aMoveState);
}
public function renderScreen():void{
copyBackgroundToScreen();
copyTilemapToScreen();
dispatchEvent(new Event(RENDER));
}
public function levelIn(){
if (!levelInScreen.getstarted()){
levelInScreen.start();
levelInScreen.addEventListener(LevelInScreen.COMPLETE, levelInCompleteListener, false, 0, true);
};
dispatchEvent(new Event(LEVELINUPDATE));
if (gameScreenBitmap.y < 0){
gameScreenBitmap.y = (gameScreenBitmap.y + 10);
};
}
public function playPlayerOut(){
if (!player.leveloutStarted){
dispatchEvent(new Event(PLAYEROUTSTARTED));
player.startLevelout();
eCtr = (aEnemy.length - 1);
while (eCtr >= 0) {
aEnemy[eCtr].removeMe();
aEnemy[eCtr] = null;
aEnemy.splice(eCtr, 1);
eCtr--;
};
};
if (player.leveloutComplete){
currentState = STATE_LEVEL_OUT;
} else {
player.playerLevelOutUpdate();
renderScreen();
};
}
public function getlevelspeedadjust():Number{
return (levelspeedadjust);
}
function createEnemyTypes():void{
var _local1:EnemyType;
var _local2:Number;
var _local3:Number;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:String;
var _local10:XML;
var _local11:Array;
var _local12:Array;
var _local13:Array;
var _local14:Array;
var _local15:Array;
var _local16:Array;
var _local17:BitmapData;
var _local18:XML;
var _local19:BitmapData;
var _local20:BitmapData;
var _local21:BitmapData;
var _local22:BitmapData;
var _local23:BitmapData;
aEnemyType = [];
for each (_local10 in gameXML.enemy) {
_local2 = _local10.speed;
_local4 = _local10.id;
_local3 = _local10.intelligence;
_local5 = _local10.score;
_local9 = _local10.Title;
_local11 = [];
_local12 = [];
_local13 = [];
_local14 = [];
_local15 = [];
_local16 = [];
_local1 = new EnemyType(_local4, _local2, _local3, _local5);
_local1.title = _local9;
_local17 = aTilesheetData[erasertile].aTileBitmapData[0];
_local15.push(_local17);
_local1.addBitmapState(MOVE_STATE_ERASE, _local15);
for each (_local18 in _local10.lefttile) {
_local8 = int(_local18);
_local19 = aTilesheetData[_local8].aTileBitmapData[0];
_local12.push(_local19);
};
_local1.addBitmapState(MOVE_STATE_LEFT, _local12);
for each (_local18 in _local10.righttile) {
_local8 = int(_local18);
_local20 = aTilesheetData[_local8].aTileBitmapData[0];
_local11.push(_local20);
};
_local1.addBitmapState(MOVE_STATE_RIGHT, _local11);
for each (_local18 in _local10.uptile) {
_local8 = int(_local18);
_local21 = aTilesheetData[_local8].aTileBitmapData[0];
_local13.push(_local21);
};
_local1.addBitmapState(MOVE_STATE_UP, _local13);
for each (_local18 in _local10.downtile) {
_local8 = int(_local18);
_local22 = aTilesheetData[_local8].aTileBitmapData[0];
_local14.push(_local22);
};
_local1.addBitmapState(MOVE_STATE_DOWN, _local14);
for each (_local18 in _local10.fleefilter) {
_local8 = int(_local18);
_local23 = aTilesheetData[_local8].aTileBitmapData[0];
_local16.push(_local23);
};
_local1.addBitmapState(AI_FILTER_FLEE, _local16);
aEnemyType.push(_local1);
};
}
public function killAllEnemy():void{
eCtr = (aEnemy.length - 1);
while (eCtr >= 0) {
tempEnemy = aEnemy[eCtr];
killAnEnemy(tempEnemy);
eCtr--;
};
}
public function getlevel():int{
return (level);
}
public function playerbonusupdateListener(_arg1:Event):void{
createInPlayMessage(player.x, player.y, "bonusx", "Bonus X Increase!");
}
}
}//package
Section 63
//GameUtils (GameUtils)
package {
public class GameUtils {
public static function stringToBoolean(_arg1:String){
switch (_arg1){
case "1":
case "true":
case "yes":
return (true);
case "0":
case "false":
case "no":
return (false);
default:
return (Boolean(_arg1));
};
}
}
}//package
Section 64
//GameWonScreen (GameWonScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.geom.*;
public class GameWonScreen extends MovieClip {
var lives:Number;
private var endDisplayStarted:Boolean;// = false
var bonus:Number;
var score:Number;
private var gameLoop:GameLoop;
private var finalScore:Number;
private var gameWonScreen:gameWonScreen_mc;
public function GameWonScreen(_arg1:GameLoop){
endDisplayStarted = false;
super();
gameLoop = _arg1;
gameWonScreen = new gameWonScreen_mc();
gameWonScreen.x = 40;
gameWonScreen.y = 40;
addChild(gameWonScreen);
}
public function removeListeners():void{
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
}
public function start():void{
gameWonScreen.finalscore_mc.visible = false;
gameWonScreen.gotoAndPlay(1);
endDisplayStarted = false;
gameLoop.soundManager.winSong();
if (!gameLoop.gameWonCalculated){
lives = gameLoop.getlastLives();
score = gameLoop.getlastScore();
bonus = (lives * 5000);
finalScore = (score + bonus);
};
}
public function reset():void{
endDisplayStarted = false;
removeListeners();
gameLoop.gameWonCalculated = false;
}
function keyDownListener(_arg1:KeyboardEvent):void{
endDisplayStarted = false;
if (_arg1.keyCode == 32){
gameLoop.soundManager.stopWinSong();
gameLoop.gameWonFinshed();
};
if (_arg1.keyCode == 83){
gameLoop.soundManager.stopWinSong();
endDisplayStarted = false;
start();
};
}
public function addListeners():void{
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
}
public function update():void{
if (gameWonScreen.currentFrame == 2){
gameWonScreen.finalscore_mc.pmancount_txt.text = String(lives);
gameWonScreen.finalscore_mc.bonuscount_txt.text = String(bonus);
gameWonScreen.finalscore_mc.finalscore_txt.text = String(finalScore);
};
if ((((((gameWonScreen.currentFrame == gameWonScreen.totalFrames)) && (!(endDisplayStarted)))) && (!(gameLoop.gameWonCalculated)))){
gameWonScreen.finalscore_mc.visible = true;
gameLoop.setlastScore(finalScore);
addListeners();
endDisplayStarted = true;
gameLoop.gameWonCalculated = true;
gameLoop.gameLoopScorePanel.updateScore(finalScore);
} else {
if ((((gameWonScreen.currentFrame == gameWonScreen.totalFrames)) && (!(endDisplayStarted)))){
gameWonScreen.finalscore_mc.visible = true;
gameLoop.setlastScore(finalScore);
addListeners();
endDisplayStarted = true;
};
};
}
}
}//package
Section 65
//gameWonScreen_mc (gameWonScreen_mc)
package {
import flash.display.*;
public dynamic class gameWonScreen_mc extends MovieClip {
public var finalscore_mc:MovieClip;
public function gameWonScreen_mc(){
addFrameScript(947, frame948);
}
function frame948(){
stop();
}
}
}//package
Section 66
//GetReadyScreen (GetReadyScreen)
package {
import flash.events.*;
import flash.filters.*;
public class GetReadyScreen extends EventDispatcher {
private var glowfilter;
public var started:Boolean;// = false
public var framesToFade:int;// = 30
private var gamePlay:GamePlay;
public var framesBeforeFade:int;// = 60
public var frameCount:int;// = 0
private var fadeAmountPerFrame:Number;
public var fadeStarted:Boolean;// = false
public var fadeCount:int;// = 0
public var getReadyScreen:getReadyScreen_mc;
public static const COMPLETE:String = "complete";
public function GetReadyScreen(_arg1:GamePlay){
framesBeforeFade = 60;
framesToFade = 30;
frameCount = 0;
fadeCount = 0;
fadeStarted = false;
started = false;
glowfilter = new GlowFilter();
super();
gamePlay = _arg1;
getReadyScreen = new getReadyScreen_mc();
getReadyScreen.x = 80;
getReadyScreen.y = 150;
fadeAmountPerFrame = (1 / framesToFade);
}
public function completed(){
gamePlay.removeEventListener(GamePlay.GETREADYUPDATE, updateListener);
gamePlay.gameLoop.removeChild(getReadyScreen);
started = false;
getReadyScreen.alpha = 1;
dispatchEvent(new Event(COMPLETE));
}
private function fadeit(){
if (started){
frameCount++;
if ((((frameCount > framesBeforeFade)) && (!(fadeStarted)))){
fadeStarted = true;
};
if (fadeCount > framesToFade){
completed();
};
if (fadeStarted){
fadeCount++;
getReadyScreen.alpha = (getReadyScreen.alpha - fadeAmountPerFrame);
};
};
}
public function start(){
gamePlay.addEventListener(GamePlay.GETREADYUPDATE, updateListener, false, 0, true);
gamePlay.gameLoop.addChild(getReadyScreen);
fadeStarted = false;
frameCount = 0;
fadeCount = 0;
started = true;
}
public function getstarted():Boolean{
return (started);
}
private function updateListener(_arg1:Event):void{
fadeit();
}
}
}//package
Section 67
//getReadyScreen_mc (getReadyScreen_mc)
package {
import flash.display.*;
public dynamic class getReadyScreen_mc extends MovieClip {
}
}//package
Section 68
//highscoreCheckScreen_mc (highscoreCheckScreen_mc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class highscoreCheckScreen_mc extends MovieClip {
public var messagebox_txt:TextField;
public var yourscore_txt:TextField;
public var pressSpaceBar_mc:MovieClip;
public var highscore_txt:TextField;
}
}//package
Section 69
//HighscoreScreen (HighscoreScreen)
package {
import flash.display.*;
import flash.events.*;
import mochi.*;
import flash.text.*;
import flash.geom.*;
public dynamic class HighscoreScreen extends MovieClip {
public var mochiHolder:MovieClip;
private var tlPressSpace:TextField;
public var highscoreEntryScreen:highscoreScreenEntry_mc;
private var yourname:String;
private var yourscore:Number;
public var highscoreCheckScreen:highscoreCheckScreen_mc;
private var aChoice:Array;
private var checkStarted:Boolean;// = false
private var boardID:String;
public var mochiEnterHolder:MovieClip;
public var currentState:int;
private var currentInitial:Number;
private var enterStarted:Boolean;// = false
private var worldDisplayStarted:Boolean;// = false
public var highscoreWorldDisplayScreen:highscoreWorldDisplayScreen_mc;
private var gameID:String;
private var gameLoop:GameLoop;
public var highscoreScreen:highscoreScreen_mc;
private var aInitialIndex:Array;
public static const STATE_CHECK:int = 3;
public static const STATE_ATTRACT:int = 2;
public static const STATE_ENTER:int = 1;
public static const STATE_DISPLAY:int = 0;
public static const STATE_WORLDDISPLAY:int = 4;
public function HighscoreScreen(_arg1:GameLoop, _arg2:String, _arg3:String){
aChoice = new Array("X", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "&", "@", "(", ")", "$", "!", ".", "?");
aInitialIndex = new Array(1, 1, 1);
mochiHolder = new MovieClip();
mochiEnterHolder = new MovieClip();
enterStarted = false;
checkStarted = false;
worldDisplayStarted = false;
super();
gameLoop = _arg1;
boardID = _arg2;
gameID = _arg3;
MochiServices.connect(gameID, this);
highscoreScreen = new highscoreScreen_mc();
highscoreEntryScreen = new highscoreScreenEntry_mc();
highscoreCheckScreen = new highscoreCheckScreen_mc();
highscoreWorldDisplayScreen = new highscoreWorldDisplayScreen_mc();
}
function doneClickEdHandler(){
switch (currentState){
case STATE_DISPLAY:
MochiScores.closeLeaderboard();
removeListeners();
gameLoop.highscoreScreenFinshed();
break;
case STATE_ATTRACT:
MochiScores.closeLeaderboard();
removeListeners();
gameLoop.highscoreScreenFinshed();
break;
case STATE_WORLDDISPLAY:
MochiScores.closeLeaderboard();
removeListeners();
worldDisplayStarted = false;
gameLoop.highscoreScreenFinshed();
break;
};
}
public function removeListeners():void{
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
worldDisplayStarted = false;
checkStarted = false;
enterStarted = false;
}
function keyDownListener(_arg1:KeyboardEvent):void{
var _local2:Array;
switch (currentState){
case STATE_DISPLAY:
if (_arg1.keyCode == 32){
doneClickEdHandler();
};
break;
case STATE_ATTRACT:
if (_arg1.keyCode == 32){
doneClickEdHandler();
};
break;
case STATE_ENTER:
if (_arg1.keyCode == 38){
var _local3 = aInitialIndex;
var _local4 = currentInitial;
var _local5 = (_local3[_local4] + 1);
_local3[_local4] = _local5;
if (aInitialIndex[currentInitial] == aChoice.length){
aInitialIndex[currentInitial] = 1;
};
refreshInitials();
} else {
if (_arg1.keyCode == 40){
_local3 = aInitialIndex;
_local4 = currentInitial;
_local5 = (_local3[_local4] - 1);
_local3[_local4] = _local5;
if (aInitialIndex[currentInitial] < 1){
aInitialIndex[currentInitial] = (aChoice.length - 1);
};
refreshInitials();
} else {
if (_arg1.keyCode == 39){
currentInitial++;
if (currentInitial == aInitialIndex.length){
currentInitial = 0;
};
refreshInitials();
} else {
if (_arg1.keyCode == 37){
currentInitial--;
if (currentInitial < 0){
currentInitial = (aInitialIndex.length - 1);
};
refreshInitials();
} else {
if (_arg1.keyCode == 83){
_local2 = new Array();
_local2[0] = aChoice[aInitialIndex[0]];
_local2[1] = aChoice[aInitialIndex[1]];
_local2[2] = aChoice[aInitialIndex[2]];
yourname = ((_local2[0] + _local2[1]) + _local2[2]);
gameLoop.setaCurrentInitials(_local2);
removeChild(highscoreEntryScreen);
enterStarted = false;
setState(STATE_CHECK);
};
};
};
};
};
break;
case STATE_CHECK:
if (_arg1.keyCode == 32){
removeChild(highscoreCheckScreen);
setState(STATE_WORLDDISPLAY);
checkStarted = false;
};
break;
case STATE_WORLDDISPLAY:
if (_arg1.keyCode == 32){
doneClickEdHandler();
setState(STATE_DISPLAY);
};
break;
};
}
function mochiLoadHandler(){
addListeners();
}
public function setState(_arg1:int){
var _local2:Number;
currentState = _arg1;
switch (currentState){
case STATE_DISPLAY:
highscoreScreen.x = 40;
highscoreScreen.y = 40;
mochiHolder.x = 90;
mochiHolder.y = 200;
MochiServices.connect(gameID, this);
MochiScores.showLeaderboard({res:"300x200", clip:mochiHolder, onClose:this.doneClickEdHandler});
addChild(highscoreScreen);
addChild(mochiHolder);
break;
case STATE_ATTRACT:
highscoreScreen.x = 40;
highscoreScreen.y = 40;
mochiHolder.x = 90;
mochiHolder.y = 200;
MochiServices.connect(gameID, this);
MochiScores.showLeaderboard({res:"300x200", clip:mochiHolder, onClose:this.doneClickEdHandler});
addChild(highscoreScreen);
addChild(mochiHolder);
break;
case STATE_ENTER:
if (!enterStarted){
currentInitial = 0;
aInitialIndex = new Array(1, 1, 1);
if (gameLoop.getaCurrentInitials()[0] != undefined){
aInitialIndex[0] = aChoice.indexOf(gameLoop.getaCurrentInitials()[0]);
};
if (gameLoop.getaCurrentInitials()[1] != undefined){
aInitialIndex[1] = aChoice.indexOf(gameLoop.getaCurrentInitials()[1]);
};
if (gameLoop.getaCurrentInitials()[2] != undefined){
aInitialIndex[2] = aChoice.indexOf(gameLoop.getaCurrentInitials()[2]);
};
enterStarted = true;
highscoreEntryScreen.initial0.gotoAndStop(aInitialIndex[0]);
highscoreEntryScreen.initial1.gotoAndStop(aInitialIndex[1]);
highscoreEntryScreen.initial2.gotoAndStop(aInitialIndex[2]);
highscoreEntryScreen.box0.visible = true;
highscoreEntryScreen.box1.visible = false;
highscoreEntryScreen.box2.visible = false;
};
highscoreEntryScreen.x = 40;
highscoreEntryScreen.y = 40;
addChild(highscoreEntryScreen);
break;
case STATE_CHECK:
if (!checkStarted){
checkStarted = true;
highscoreCheckScreen.x = 40;
highscoreCheckScreen.y = 40;
_local2 = gameLoop.soHighScore.data.score;
highscoreCheckScreen.highscore_txt.text = String(_local2);
yourscore = gameLoop.getlastScore();
highscoreCheckScreen.yourscore_txt.text = String(yourscore);
if (yourscore > _local2){
highscoreCheckScreen.messagebox_txt.text = "You beat the local high score!!";
gameLoop.setNewLocalHighScore();
} else {
highscoreCheckScreen.messagebox_txt.text = "You did NOT beat the local high score.";
};
addChild(highscoreCheckScreen);
};
break;
case STATE_WORLDDISPLAY:
if (!worldDisplayStarted){
removeListeners();
worldDisplayStarted = true;
highscoreWorldDisplayScreen.x = 40;
highscoreWorldDisplayScreen.y = 40;
mochiEnterHolder.x = 90;
mochiEnterHolder.y = 200;
if (yourscore == 0){
yourscore = 1;
};
MochiServices.connect(gameID, this);
MochiScores.showLeaderboard({res:"300x200", score:yourscore, name:yourname, clip:mochiEnterHolder, onClose:this.doneClickEdHandler, onDisplay:this.mochiLoadHandler});
addChild(highscoreWorldDisplayScreen);
addChild(mochiEnterHolder);
};
break;
};
}
public function addListeners():void{
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
}
private function refreshInitials(){
highscoreEntryScreen.box0.visible = false;
highscoreEntryScreen.box1.visible = false;
highscoreEntryScreen.box2.visible = false;
highscoreEntryScreen[("box" + currentInitial)].visible = true;
highscoreEntryScreen.initial0.gotoAndStop(aInitialIndex[0]);
highscoreEntryScreen.initial1.gotoAndStop(aInitialIndex[1]);
highscoreEntryScreen.initial2.gotoAndStop(aInitialIndex[2]);
}
}
}//package
Section 70
//highscoreScreen_mc (highscoreScreen_mc)
package {
import flash.display.*;
public dynamic class highscoreScreen_mc extends MovieClip {
public var pressSpaceBar_mc:MovieClip;
}
}//package
Section 71
//highscoreScreenEntry_mc (highscoreScreenEntry_mc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class highscoreScreenEntry_mc extends MovieClip {
public var message_txt:TextField;
public var initial1:arcadealphabetclip;
public var initial2:arcadealphabetclip;
public var initial0:arcadealphabetclip;
public var box0:MovieClip;
public var box1:MovieClip;
public var box2:MovieClip;
}
}//package
Section 72
//highscoreWorldDisplayScreen_mc (highscoreWorldDisplayScreen_mc)
package {
import flash.display.*;
public dynamic class highscoreWorldDisplayScreen_mc extends MovieClip {
}
}//package
Section 73
//iLevelData (iLevelData)
package {
public interface iLevelData {
function getXML():XML;
}
}//package
Section 74
//InPlayMessage (InPlayMessage)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.geom.*;
import flash.filters.*;
public class InPlayMessage {
private var messageTextField:TextField;
public var started:Boolean;// = false
private var holder_mc:MovieClip;
private var lifeCount:int;// = 0
private var applyAlpha:Boolean;// = false
private var alphaSubtract:Number;// = 0.01
private var renderRect:Rectangle;
private var renderPoint:Point;
private var fontType:Boolean;// = false
public var complete:Boolean;// = false
private var type:String;
private var glowfilter;
private var gamePlay:GamePlay;
private var glowFilterrect:Rectangle;
private var scale:Number;// = 1
private var cTransform:ColorTransform;
private var messageText:String;
private var alpha:Number;// = 1
private var messageBitmapData:BitmapData;
private var lifeSpan:int;// = 0
private var cTransrect:Rectangle;
private var applyGlowFilter:Boolean;// = false
private var format:TextFormat;
private var x:int;
private var y:int;
private var mcHeightBuffer:int;// = 10
public function InPlayMessage(_arg1:int, _arg2:int, _arg3:String, _arg4:String, _arg5:GamePlay){
lifeSpan = 0;
lifeCount = 0;
messageTextField = new TextField();
started = false;
complete = false;
format = new TextFormat();
glowfilter = new GlowFilter();
applyGlowFilter = false;
applyAlpha = false;
alpha = 1;
alphaSubtract = 0.01;
fontType = false;
holder_mc = new MovieClip();
mcHeightBuffer = 10;
scale = 1;
renderPoint = new Point();
cTransform = new ColorTransform();
super();
messageText = _arg4;
gamePlay = _arg5;
type = _arg3;
x = _arg1;
y = _arg2;
renderPoint.x = x;
renderPoint.y = y;
selectType();
cacheToBitmapData();
startMe();
}
public function render(){
if (applyAlpha){
if (fontType){
cTransrect = new Rectangle(0, 0, messageTextField.width, messageTextField.height);
} else {
cTransrect = new Rectangle(0, 0, int(holder_mc.width), int((holder_mc.height + mcHeightBuffer)));
};
cTransform.alphaMultiplier = alpha;
messageBitmapData.colorTransform(cTransrect, cTransform);
alpha = (alpha - alphaSubtract);
};
if (fontType){
gamePlay.getgameScreenBitmapData().copyPixels(messageBitmapData, renderRect, renderPoint);
} else {
gamePlay.getgameScreenBitmapData().copyPixels(messageBitmapData, renderRect, renderPoint);
};
lifeCount++;
if (lifeCount > lifeSpan){
complete = true;
started = false;
};
}
public function startMe(){
started = true;
gamePlay.addEventListener(GamePlay.RENDER, renderListener, false, 0, true);
}
public function removeMe(){
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
messageBitmapData.dispose();
messageBitmapData = null;
messageText = null;
messageTextField = null;
format = null;
type = null;
glowfilter = null;
holder_mc = null;
renderRect = null;
cTransform = null;
cTransrect = null;
complete = true;
}
private function selectType(){
var _local1:String;
switch (type){
case "score":
fontType = true;
_local1 = ("score + " + messageText);
format.size = 12;
format.font = "Arial";
format.color = "0xffffff";
format.bold = true;
messageTextField.text = _local1;
messageTextField.setTextFormat(format);
messageTextField.width = ((_local1.length + 2) * int(format.size));
messageTextField.height = (int(format.size) * 2);
lifeSpan = 60;
applyAlpha = false;
applyGlowFilter = false;
alphaSubtract = 0.01;
mcHeightBuffer = 0;
break;
case "bonus":
fontType = true;
_local1 = ("bonus + " + messageText);
format.size = 12;
format.font = "Arial";
format.color = "0xffffff";
format.bold = true;
messageTextField.text = _local1;
messageTextField.setTextFormat(format);
messageTextField.width = ((_local1.length + 2) * int(format.size));
messageTextField.height = (int(format.size) * 2);
lifeSpan = 60;
glowfilter = new GlowFilter(0, 1, 3, 3, 2, 2, false, false);
applyGlowFilter = true;
applyAlpha = false;
alphaSubtract = 0.01;
mcHeightBuffer = 0;
break;
case "bonusx":
fontType = true;
y = (y - 20);
_local1 = messageText;
format.size = 12;
format.font = "Arial";
format.color = "0xffffff";
format.bold = true;
messageTextField.text = _local1;
messageTextField.setTextFormat(format);
messageTextField.width = ((_local1.length + 2) * int(format.size));
messageTextField.height = (int(format.size) * 2);
lifeSpan = 60;
applyAlpha = true;
alphaSubtract = 0.01;
mcHeightBuffer = 0;
break;
case "BigGO":
fontType = false;
lifeSpan = 100;
scale = 1;
holder_mc = new arcadego();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigAttack":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadeattack();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigFreeze":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadefreeze();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigBonusX":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadebonusxup();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigProtect":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadeprotect();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigKill":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadekill();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigKey":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadekey();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigTransport":
fontType = false;
lifeSpan = 400;
scale = 1;
holder_mc = new arcadetransport();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
case "BigPrincess":
fontType = false;
lifeSpan = 800;
scale = 1;
holder_mc = new arcadeprincess();
applyAlpha = true;
alphaSubtract = 0.001;
mcHeightBuffer = 10;
break;
};
if (fontType){
cTransrect = new Rectangle(0, 0, messageTextField.width, messageTextField.height);
renderRect = new Rectangle(0, 0, messageTextField.width, messageTextField.height);
} else {
cTransrect = new Rectangle(0, 0, int(holder_mc.width), int((holder_mc.height + mcHeightBuffer)));
renderRect = new Rectangle(0, 0, int(holder_mc.width), int((holder_mc.height + mcHeightBuffer)));
};
}
private function renderListener(_arg1:Event):void{
if (started){
render();
};
}
private function cacheToBitmapData():void{
if (fontType){
messageBitmapData = new BitmapData(messageTextField.width, messageTextField.height, true, 0);
messageBitmapData.draw(messageTextField);
if (applyGlowFilter){
glowFilterrect = new Rectangle(0, 0, messageTextField.width, messageTextField.height);
messageBitmapData.applyFilter(messageBitmapData, glowFilterrect, new Point(0, 0), glowfilter);
};
} else {
messageBitmapData = new BitmapData(int(holder_mc.width), int((holder_mc.height + mcHeightBuffer)), true, 0);
messageBitmapData.draw(holder_mc);
if (applyGlowFilter){
glowFilterrect = new Rectangle(0, 0, int(holder_mc.width), int((holder_mc.height + mcHeightBuffer)));
messageBitmapData.applyFilter(messageBitmapData, glowFilterrect, new Point(0, 0), glowfilter);
};
};
}
}
}//package
Section 75
//InstructionScreen (InstructionScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class InstructionScreen extends MovieClip {
private var instructionScreen2:instructionScreen2_mc;
private var instructionScreen6:instructionScreen6_mc;
private var tlPressSpace:TextField;
private var currentScreen:int;// = 1
private var maxScreens:int;// = 6
private var gameLoop:GameLoop;
private var instructionScreen1:instructionScreen_mc;
private var instructionScreen3:instructionScreen3_mc;
private var instructionScreen4:instructionScreen4_mc;
private var instructionScreen5:instructionScreen5_mc;
public function InstructionScreen(_arg1:GameLoop){
currentScreen = 1;
maxScreens = 6;
super();
gameLoop = _arg1;
instructionScreen1 = new instructionScreen_mc();
instructionScreen2 = new instructionScreen2_mc();
instructionScreen3 = new instructionScreen3_mc();
instructionScreen4 = new instructionScreen4_mc();
instructionScreen5 = new instructionScreen5_mc();
instructionScreen6 = new instructionScreen6_mc();
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
showScreen();
}
function keyDownListener(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 27){
currentScreen = 1;
gameLoop.instructionScreenFinshed();
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
} else {
if (_arg1.keyCode == 77){
switch (currentScreen){
case 1:
removeChild(instructionScreen1);
break;
case 2:
removeChild(instructionScreen2);
break;
case 3:
removeChild(instructionScreen3);
break;
case 4:
removeChild(instructionScreen4);
break;
case 5:
removeChild(instructionScreen5);
break;
case 6:
removeChild(instructionScreen6);
break;
};
currentScreen++;
if (currentScreen > maxScreens){
currentScreen = 1;
};
showScreen();
};
};
}
function showScreen():void{
switch (currentScreen){
case 1:
addChild(instructionScreen1);
instructionScreen1.x = 40;
instructionScreen1.y = 40;
break;
case 2:
addChild(instructionScreen2);
instructionScreen2.x = 40;
instructionScreen2.y = 40;
break;
case 3:
addChild(instructionScreen3);
instructionScreen3.x = 40;
instructionScreen3.y = 40;
break;
case 4:
addChild(instructionScreen4);
instructionScreen4.x = 40;
instructionScreen4.y = 40;
break;
case 5:
addChild(instructionScreen5);
instructionScreen5.x = 40;
instructionScreen5.y = 40;
break;
case 6:
addChild(instructionScreen6);
instructionScreen6.x = 40;
instructionScreen6.y = 40;
break;
};
}
}
}//package
Section 76
//instructionScreen_mc (instructionScreen_mc)
package {
import flash.display.*;
public dynamic class instructionScreen_mc extends MovieClip {
}
}//package
Section 77
//instructionScreen2_mc (instructionScreen2_mc)
package {
import flash.display.*;
public dynamic class instructionScreen2_mc extends MovieClip {
}
}//package
Section 78
//instructionScreen3_mc (instructionScreen3_mc)
package {
import flash.display.*;
public dynamic class instructionScreen3_mc extends MovieClip {
}
}//package
Section 79
//instructionScreen4_mc (instructionScreen4_mc)
package {
import flash.display.*;
public dynamic class instructionScreen4_mc extends MovieClip {
}
}//package
Section 80
//instructionScreen5_mc (instructionScreen5_mc)
package {
import flash.display.*;
public dynamic class instructionScreen5_mc extends MovieClip {
}
}//package
Section 81
//instructionScreen6_mc (instructionScreen6_mc)
package {
import flash.display.*;
public dynamic class instructionScreen6_mc extends MovieClip {
}
}//package
Section 82
//key (key)
package {
import flash.display.*;
public dynamic class key extends MovieClip {
}
}//package
Section 83
//kill (kill)
package {
import flash.display.*;
public dynamic class kill extends MovieClip {
}
}//package
Section 84
//Level10DataXML (Level10DataXML)
package {
public class Level10DataXML implements iLevelData {
var XMLData:XML;
public function Level10DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>10</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemySpider1</enemytype>
<enemytype num="2">EnemySpider2</enemytype>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="3">EnemyBlueGhost</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>40000</extramanamount>
<enemytoeatforbonusxplus>8</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>48</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>121</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>137</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>115</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
<tilerow>
<tilecol>205</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>221</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>80</tilecol><tilecol>234</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>101</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>237</tilecol><tilecol>80</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>221</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>101</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>62</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>115</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>217</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 85
//Level11DataXML (Level11DataXML)
package {
public class Level11DataXML implements iLevelData {
var XMLData:XML;
public function Level11DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="1">EnemySpider2</enemytype>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="7">EnemyBlueGhost</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>15000</extramanamount>
<enemytoeatforbonusxplus>10</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>218</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>30</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>24</tilecol><tilecol>77</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>19</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>78</tilecol><tilecol>123</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>28</tilecol><tilecol>31</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>31</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>27</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>19</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>31</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>78</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>79</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>30</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>133</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>31</tilecol><tilecol>16</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 86
//Level12DataXML (Level12DataXML)
package {
public class Level12DataXML implements iLevelData {
var XMLData:XML;
public function Level12DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemySpider2</enemytype>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="7">EnemyBlueGhost</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>15000</extramanamount>
<enemytoeatforbonusxplus>10</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>19</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>237</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>64</tilecol><tilecol>17</tilecol><tilecol>64</tilecol><tilecol>55</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>79</tilecol><tilecol>95</tilecol><tilecol>128</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>78</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>101</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>22</tilecol><tilecol>112</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>64</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>27</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>48</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>28</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>78</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>78</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>79</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>115</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>64</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>19</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 87
//Level13DataXML (Level13DataXML)
package {
public class Level13DataXML implements iLevelData {
var XMLData:XML;
public function Level13DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>10</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemySpider2</enemytype>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="5">EnemyPickle</enemytype>
<bonustimelimit>110</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>30000</extramanamount>
<enemytoeatforbonusxplus>10</enemytoeatforbonusxplus>
<attackbonusperkill>75</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>115</tilecol><tilecol>29</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>29</tilecol><tilecol>55</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>217</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>30</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>29</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>217</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>133</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>30</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>121</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>217</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>48</tilecol><tilecol>29</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>29</tilecol><tilecol>101</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 88
//Level14DataXML (Level14DataXML)
package {
public class Level14DataXML implements iLevelData {
var XMLData:XML;
public function Level14DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>7</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="4">EnemyBat2</enemytype>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="5">EnemyPickle</enemytype>
<bonustimelimit>110</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>15000</extramanamount>
<enemytoeatforbonusxplus>10</enemytoeatforbonusxplus>
<attackbonusperkill>75</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>26</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>121</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>128</tilecol><tilecol>85</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>115</tilecol><tilecol>89</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>31</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>31</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>112</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>78</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>23</tilecol><tilecol>79</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>78</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>218</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>216</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>133</tilecol><tilecol>101</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>237</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>79</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>78</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>89</tilecol><tilecol>29</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>29</tilecol><tilecol>89</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 89
//Level15DataXML (Level15DataXML)
package {
public class Level15DataXML implements iLevelData {
var XMLData:XML;
public function Level15DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="2">EnemyPickle</enemytype>
<enemytype num="5">EnemyBanana</enemytype>
<bonustimelimit>110</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>100000</extramanamount>
<enemytoeatforbonusxplus>10</enemytoeatforbonusxplus>
<attackbonusperkill>75</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>128</tilecol><tilecol>234</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>69</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>23</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>23</tilecol><tilecol>22</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>216</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>85</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 90
//Level16DataXML (Level16DataXML)
package {
public class Level16DataXML implements iLevelData {
var XMLData:XML;
public function Level16DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>1</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="5">EnemyBanana</enemytype>
<bonustimelimit>110</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>17000</extramanamount>
<enemytoeatforbonusxplus>12</enemytoeatforbonusxplus>
<attackbonusperkill>75</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>77</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>121</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>216</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>78</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>85</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>74</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>79</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>79</tilecol><tilecol>85</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>128</tilecol><tilecol>17</tilecol><tilecol>48</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>133</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>31</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 91
//Level17DataXML (Level17DataXML)
package {
public class Level17DataXML implements iLevelData {
var XMLData:XML;
public function Level17DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>10</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="5">EnemyGreenGhost</enemytype>
<bonustimelimit>100</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>12</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>13</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>68</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>68</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>216</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>237</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>68</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>68</tilecol><tilecol>29</tilecol>
</tilerow>
<tilerow>
<tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>13</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 92
//Level18DataXML (Level18DataXML)
package {
public class Level18DataXML implements iLevelData {
var XMLData:XML;
public function Level18DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>11</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="6">EnemyGreenGhost</enemytype>
<bonustimelimit>100</bonustimelimit>
<timebonus>15</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>12</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>22</tilecol><tilecol>13</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>13</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>13</tilecol><tilecol>24</tilecol><tilecol>22</tilecol><tilecol>13</tilecol><tilecol>23</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>88</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>133</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>13</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>24</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>27</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>28</tilecol><tilecol>22</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>24</tilecol><tilecol>22</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>23</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>20</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>29</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>13</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol>
</tilerow>
<tilerow>
<tilecol>13</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>13</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>13</tilecol>
</tilerow>
<tilerow>
<tilecol>18</tilecol><tilecol>121</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>88</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>18</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>22</tilecol><tilecol>13</tilecol><tilecol>23</tilecol><tilecol>27</tilecol><tilecol>13</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>13</tilecol><tilecol>28</tilecol><tilecol>22</tilecol><tilecol>13</tilecol><tilecol>23</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 93
//Level19DataXML (Level19DataXML)
package {
public class Level19DataXML implements iLevelData {
var XMLData:XML;
public function Level19DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyBlueGhost</enemytype>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="7">EnemyGreenGhost</enemytype>
<bonustimelimit>100</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>12</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>1</levelspeedadjust>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>85</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>84</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>13</tilecol><tilecol>30</tilecol><tilecol>13</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>20</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>18</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>84</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>128</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>95</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>85</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 94
//Level1DataXML (Level1DataXML)
package {
public class Level1DataXML implements iLevelData {
var XMLData:XML;
public function Level1DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>5</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemySpider1</enemytype>
<enemytype num="1">EnemySpider2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>10000</extramanamount>
<enemytoeatforbonusxplus>5</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<levelspeedadjust>0</levelspeedadjust>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>48</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>55</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>19</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>205</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>12</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>12</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 95
//Level20DataXML (Level20DataXML)
package {
public class Level20DataXML implements iLevelData {
var XMLData:XML;
public function Level20DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="4">EnemyBanana</enemytype>
<enemytype num="4">EnemyGreenGhost</enemytype>
<enemytype num="5">EnemyLime</enemytype>
<bonustimelimit>100</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>12</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>68</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>17</tilecol><tilecol>55</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>128</tilecol><tilecol>17</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>30</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>17</tilecol><tilecol>68</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>17</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>112</tilecol><tilecol>112</tilecol><tilecol>23</tilecol><tilecol>27</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>102</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>29</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>48</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol>
</tilerow>
<tilerow>
<tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol>
</tilerow>
<tilerow>
<tilecol>17</tilecol><tilecol>115</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>216</tilecol><tilecol>121</tilecol><tilecol>17</tilecol>
</tilerow>
<tilerow>
<tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol>
</tilerow>
<tilerow>
<tilecol>68</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>137</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 96
//Level21DataXML (Level21DataXML)
package {
public class Level21DataXML implements iLevelData {
var XMLData:XML;
public function Level21DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>10</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="4">EnemyBanana</enemytype>
<enemytype num="4">EnemyGreenGhost</enemytype>
<enemytype num="6">EnemyLime</enemytype>
<bonustimelimit>100</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>15</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>274</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>15</tilecol><tilecol>274</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>280</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>279</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>275</tilecol><tilecol>15</tilecol><tilecol>237</tilecol><tilecol>15</tilecol><tilecol>275</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 97
//Level22DataXML (Level22DataXML)
package {
public class Level22DataXML implements iLevelData {
var XMLData:XML;
public function Level22DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="3">EnemyPickle</enemytype>
<enemytype num="4">EnemyBanana</enemytype>
<enemytype num="4">EnemyGreenGhost</enemytype>
<enemytype num="7">EnemyLime</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>27000</extramanamount>
<enemytoeatforbonusxplus>15</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>64</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>133</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>121</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>48</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>112</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>128</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>74</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>13</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>216</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>103</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>115</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 98
//Level23DataXML (Level23DataXML)
package {
public class Level23DataXML implements iLevelData {
var XMLData:XML;
public function Level23DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="3">EnemyGreenGhost</enemytype>
<enemytype num="3">EnemyLime</enemytype>
<enemytype num="3">EnemyPurpleGhost</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>27000</extramanamount>
<enemytoeatforbonusxplus>15</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>69</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>128</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>69</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>275</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>275</tilecol>
</tilerow>
<tilerow>
<tilecol>112</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>112</tilecol>
</tilerow>
<tilerow>
<tilecol>274</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>274</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>275</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>274</tilecol><tilecol>95</tilecol><tilecol>275</tilecol>
</tilerow>
<tilerow>
<tilecol>112</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>112</tilecol>
</tilerow>
<tilerow>
<tilecol>274</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>274</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>69</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>69</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 99
//Level24DataXML (Level24DataXML)
package {
public class Level24DataXML implements iLevelData {
var XMLData:XML;
public function Level24DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>12</playerstartcol>
<enemytype num="2">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="3">EnemyGreenGhost</enemytype>
<enemytype num="3">EnemyLime</enemytype>
<enemytype num="4">EnemyPurpleGhost</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>27000</extramanamount>
<enemytoeatforbonusxplus>15</enemytoeatforbonusxplus>
<attackbonusperkill>100</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>128</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>205</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>112</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>237</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>112</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>205</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>217</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>220</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 100
//Level25DataXML (Level25DataXML)
package {
public class Level25DataXML implements iLevelData {
var XMLData:XML;
public function Level25DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyPickle</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<enemytype num="3">EnemyGreenGhost</enemytype>
<enemytype num="3">EnemyLime</enemytype>
<enemytype num="5">EnemyPurpleGhost</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>28000</extramanamount>
<enemytoeatforbonusxplus>15</enemytoeatforbonusxplus>
<attackbonusperkill>120</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>89</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>275</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>128</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>237</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>112</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>80</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>216</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 101
//Level26DataXML (Level26DataXML)
package {
public class Level26DataXML implements iLevelData {
var XMLData:XML;
public function Level26DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>7</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="1">EnemyGreenGhost</enemytype>
<enemytype num="1">EnemyBanana</enemytype>
<enemytype num="1">EnemyGreenGhost</enemytype>
<enemytype num="4">EnemyLime</enemytype>
<enemytype num="6">EnemyPurpleGhost</enemytype>
<enemytype num="6">EnemyBird</enemytype>
<enemytype num="1">EnemyGordon</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>29000</extramanamount>
<enemytoeatforbonusxplus>20</enemytoeatforbonusxplus>
<attackbonusperkill>120</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>274</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>274</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>282</tilecol><tilecol>121</tilecol><tilecol>282</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>133</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>280</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>279</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>112</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>275</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>275</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 102
//Level27DataXML (Level27DataXML)
package {
public class Level27DataXML implements iLevelData {
var XMLData:XML;
public function Level27DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>11</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="1">EnemyGreenGhost</enemytype>
<enemytype num="1">EnemyBanana</enemytype>
<enemytype num="1">EnemyGreenGhost</enemytype>
<enemytype num="4">EnemyLime</enemytype>
<enemytype num="6">EnemyPurpleGhost</enemytype>
<enemytype num="6">EnemyBird</enemytype>
<enemytype num="1">EnemyGordon</enemytype>
<bonustimelimit>90</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>30000</extramanamount>
<enemytoeatforbonusxplus>20</enemytoeatforbonusxplus>
<attackbonusperkill>120</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>64</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>80</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>275</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>275</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>274</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>274</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>237</tilecol><tilecol>282</tilecol><tilecol>218</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>72</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>87</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 103
//Level28DataXML (Level28DataXML)
package {
public class Level28DataXML implements iLevelData {
var XMLData:XML;
public function Level28DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyBlueGhost</enemytype>
<enemytype num="4">EnemyLime</enemytype>
<enemytype num="6">EnemyPurpleGhost</enemytype>
<enemytype num="6">EnemyBird</enemytype>
<enemytype num="4">EnemyBanana</enemytype>
<enemytype num="1">EnemyGordon</enemytype>
<bonustimelimit>80</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>30000</extramanamount>
<enemytoeatforbonusxplus>20</enemytoeatforbonusxplus>
<attackbonusperkill>150</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>69</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>85</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>218</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>287</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>64</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>218</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>205</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol>
</tilerow>
<tilerow>
<tilecol>95</tilecol><tilecol>64</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>95</tilecol><tilecol>69</tilecol><tilecol>95</tilecol>
</tilerow>
<tilerow>
<tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>282</tilecol><tilecol>95</tilecol><tilecol>282</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 104
//Level29DataXML (Level29DataXML)
package {
public class Level29DataXML implements iLevelData {
var XMLData:XML;
public function Level29DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="2">EnemyBlueGhost</enemytype>
<enemytype num="4">EnemyLime</enemytype>
<enemytype num="6">EnemyPurpleGhost</enemytype>
<enemytype num="6">EnemyBird</enemytype>
<enemytype num="3">EnemyBanana</enemytype>
<bonustimelimit>80</bonustimelimit>
<timebonus>20</timebonus>
<extramanamount>20000</extramanamount>
<enemytoeatforbonusxplus>25</enemytoeatforbonusxplus>
<attackbonusperkill>150</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>279</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>70</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>216</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>280</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>280</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>207</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>279</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>133</tilecol><tilecol>273</tilecol><tilecol>237</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>275</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>275</tilecol>
</tilerow>
<tilerow>
<tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol>
</tilerow>
<tilerow>
<tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol>
</tilerow>
<tilerow>
<tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol>
</tilerow>
<tilerow>
<tilecol>274</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>124</tilecol><tilecol>274</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>274</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>273</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>275</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>273</tilecol>
</tilerow>
<tilerow>
<tilecol>281</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>272</tilecol><tilecol>280</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 105
//Level2DataXML (Level2DataXML)
package {
public class Level2DataXML implements iLevelData {
var XMLData:XML;
public function Level2DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemySpider1</enemytype>
<enemytype num="2">EnemySpider2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>10000</extramanamount>
<enemytoeatforbonusxplus>5</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 106
//Level30DataXML (Level30DataXML)
package {
public class Level30DataXML implements iLevelData {
var XMLData:XML;
public function Level30DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>7</playerstartrow>
<playerstartcol>1</playerstartcol>
<enemytype num="2">EnemyBat1</enemytype>
<enemytype num="2">EnemyBat2</enemytype>
<enemytype num="2">EnemyBlueGhost</enemytype>
<enemytype num="4">EnemyLime</enemytype>
<enemytype num="6">EnemyPurpleGhost</enemytype>
<enemytype num="6">EnemyBird</enemytype>
<enemytype num="1">EnemyBanana</enemytype>
<enemytype num="1">EnemyGordon</enemytype>
<bonustimelimit>60</bonustimelimit>
<timebonus>30</timebonus>
<extramanamount>25000</extramanamount>
<enemytoeatforbonusxplus>30</enemytoeatforbonusxplus>
<attackbonusperkill>200</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>2</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>133</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>24</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>112</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>25</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>115</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>278</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>279</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>55</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>121</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>20</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>112</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>282</tilecol><tilecol>112</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>112</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>282</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>18</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>273</tilecol><tilecol>287</tilecol><tilecol>15</tilecol><tilecol>128</tilecol><tilecol>282</tilecol><tilecol>90</tilecol><tilecol>273</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>281</tilecol><tilecol>272</tilecol><tilecol>276</tilecol><tilecol>112</tilecol><tilecol>277</tilecol><tilecol>272</tilecol><tilecol>280</tilecol><tilecol>80</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>80</tilecol><tilecol>48</tilecol><tilecol>17</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>28</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>22</tilecol><tilecol>112</tilecol><tilecol>23</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>16</tilecol><tilecol>27</tilecol><tilecol>80</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>80</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>287</tilecol><tilecol>103</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 107
//Level3DataXML (Level3DataXML)
package {
public class Level3DataXML implements iLevelData {
var XMLData:XML;
public function Level3DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemySpider1</enemytype>
<enemytype num="3">EnemySpider2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>10000</extramanamount>
<enemytoeatforbonusxplus>5</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>218</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>12</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>12</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 108
//Level4DataXML (Level4DataXML)
package {
public class Level4DataXML implements iLevelData {
var XMLData:XML;
public function Level4DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>7</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemySpider1</enemytype>
<enemytype num="2">EnemyBat1</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>10000</extramanamount>
<enemytoeatforbonusxplus>5</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>19</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>55</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>112</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>73</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>235</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>48</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
<tilerow>
<tilecol>19</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>19</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 109
//Level5DataXML (Level5DataXML)
package {
public class Level5DataXML implements iLevelData {
var XMLData:XML;
public function Level5DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemySpider1</enemytype>
<enemytype num="3">EnemyBat1</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>10000</extramanamount>
<enemytoeatforbonusxplus>5</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>220</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>68</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>115</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>112</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>128</tilecol><tilecol>15</tilecol><tilecol>101</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>68</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>89</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 110
//Level6DataXML (Level6DataXML)
package {
public class Level6DataXML implements iLevelData {
var XMLData:XML;
public function Level6DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>8</playerstartrow>
<playerstartcol>13</playerstartcol>
<enemytype num="6">EnemySpider1</enemytype>
<enemytype num="4">EnemyBat1</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>30000</extramanamount>
<enemytoeatforbonusxplus>8</enemytoeatforbonusxplus>
<attackbonusperkill>25</attackbonusperkill>
<password>greg</password>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>21</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>115</tilecol><tilecol>128</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>101</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>48</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>62</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>48</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>89</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>219</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>237</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 111
//Level7DataXML (Level7DataXML)
package {
public class Level7DataXML implements iLevelData {
var XMLData:XML;
public function Level7DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>13</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemyBat1</enemytype>
<enemytype num="3">EnemyBat2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>12000</extramanamount>
<enemytoeatforbonusxplus>8</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>21</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>237</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>21</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>21</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>218</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>216</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>21</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 112
//Level8DataXML (Level8DataXML)
package {
public class Level8DataXML implements iLevelData {
var XMLData:XML;
public function Level8DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>5</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemyBat1</enemytype>
<enemytype num="4">EnemyBat2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>12000</extramanamount>
<enemytoeatforbonusxplus>8</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>69</tilecol><tilecol>3</tilecol><tilecol>85</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>3</tilecol><tilecol>69</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>237</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>101</tilecol><tilecol>133</tilecol><tilecol>128</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>115</tilecol><tilecol>218</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>112</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>26</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>3</tilecol><tilecol>216</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>85</tilecol><tilecol>3</tilecol><tilecol>84</tilecol>
</tilerow>
<tilerow>
<tilecol>121</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 113
//Level9DataXML (Level9DataXML)
package {
public class Level9DataXML implements iLevelData {
var XMLData:XML;
public function Level9DataXML(){
XMLData = <level>
<framerate>45</framerate>
<backgroundtile>19</backgroundtile>
<playerstartrow>9</playerstartrow>
<playerstartcol>7</playerstartcol>
<enemytype num="5">EnemyBat1</enemytype>
<enemytype num="5">EnemyBat2</enemytype>
<bonustimelimit>120</bonustimelimit>
<timebonus>10</timebonus>
<extramanamount>12000</extramanamount>
<enemytoeatforbonusxplus>8</enemytoeatforbonusxplus>
<attackbonusperkill>40</attackbonusperkill>
<enemystartFrameDelay>50</enemystartFrameDelay>
<enemyrestartFrameDelay>200</enemyrestartFrameDelay>
<levelspeedadjust>0</levelspeedadjust>
<tilerow>
<tilecol>8</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>9</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>64</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>64</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>12</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>5</tilecol><tilecol>7</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>12</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>237</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>5</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>8</tilecol><tilecol>6</tilecol><tilecol>19</tilecol><tilecol>7</tilecol><tilecol>9</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>5</tilecol>
</tilerow>
<tilerow>
<tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>26</tilecol><tilecol>19</tilecol><tilecol>19</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol>
</tilerow>
<tilerow>
<tilecol>4</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>4</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>21</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>3</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>4</tilecol><tilecol>15</tilecol><tilecol>21</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>84</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>84</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>5</tilecol><tilecol>15</tilecol><tilecol>7</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>6</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>3</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>205</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>15</tilecol><tilecol>3</tilecol>
</tilerow>
<tilerow>
<tilecol>11</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>2</tilecol><tilecol>10</tilecol>
</tilerow>
</level>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 114
//LevelInScreen (LevelInScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class LevelInScreen extends EventDispatcher {
public var started:Boolean;// = false
public var oPowerUpRow:Object;
public var levelInScreen:levelInScreen_mc;
public var spriteEnemyRow:Sprite;
public var spriteSpecialRow:Sprite;
public var frameCount:int;// = 0
public var aSpecialRow:Array;
public var oSpecialRow:Object;
public var aEnemyRow:Array;
public var oEnemyRow:Object;
private var gamePlay:GamePlay;
public var specialY:int;// = 244
public var enemyY:int;// = 152
public var framesToFade:int;// = 30
public var spritePowerUpRow:Sprite;
private var fadeAmountPerFrame:Number;
public var fadeStarted:Boolean;// = false
public var fadeCount:int;// = 0
public var aXpos:Array;
public var powerupY:int;// = 71
public var aPowerUpRow:Array;
public static const COMPLETE:String = "complete";
public function LevelInScreen(_arg1:GamePlay){
framesToFade = 30;
frameCount = 0;
fadeCount = 0;
fadeStarted = false;
started = false;
oPowerUpRow = {};
oEnemyRow = {};
oSpecialRow = {};
aPowerUpRow = [];
aEnemyRow = [];
aSpecialRow = [];
spritePowerUpRow = new Sprite();
spriteEnemyRow = new Sprite();
spriteSpecialRow = new Sprite();
aXpos = [];
specialY = 244;
enemyY = 152;
powerupY = 71;
super();
gamePlay = _arg1;
fadeAmountPerFrame = (1 / framesToFade);
createXpositions();
}
function setBonusNeeded(_arg1:String):void{
levelInScreen.bonusneeded_mc.number1.gotoAndStop(0);
levelInScreen.bonusneeded_mc.number2.gotoAndStop(0);
levelInScreen.bonusneeded_mc.number3.gotoAndStop(0);
levelInScreen.bonusneeded_mc.number4.gotoAndStop(0);
levelInScreen.bonusneeded_mc.number5.gotoAndStop(0);
if (_arg1.length > 0){
levelInScreen.bonusneeded_mc.number1.gotoAndStop(("num" + _arg1.substr((_arg1.length - 1), 1)));
};
if (_arg1.length > 1){
levelInScreen.bonusneeded_mc.number2.gotoAndStop(("num" + _arg1.substr((_arg1.length - 2), 1)));
};
if (_arg1.length > 2){
levelInScreen.bonusneeded_mc.number3.gotoAndStop(("num" + _arg1.substr((_arg1.length - 3), 1)));
};
if (_arg1.length > 3){
levelInScreen.bonusneeded_mc.number4.gotoAndStop(("num" + _arg1.substr((_arg1.length - 4), 1)));
};
if (_arg1.length > 4){
levelInScreen.bonusneeded_mc.number5.gotoAndStop(("num" + _arg1.substr((_arg1.length - 5), 1)));
};
}
public function createXpositions(){
var _local1:Array;
_local1 = [];
aXpos.push(_local1);
_local1 = [];
_local1 = [180];
aXpos.push(_local1);
_local1 = [];
_local1 = [145, 185];
aXpos.push(_local1);
_local1 = [];
_local1 = [125, 165, 205];
aXpos.push(_local1);
_local1 = [];
_local1 = [105, 145, 185, 225];
aXpos.push(_local1);
_local1 = [];
_local1 = [85, 125, 165, 205, 245];
aXpos.push(_local1);
_local1 = [];
_local1 = [65, 105, 145, 185, 225, 265];
aXpos.push(_local1);
_local1 = [];
_local1 = [45, 85, 125, 165, 205, 245, 285];
aXpos.push(_local1);
_local1 = [];
_local1 = [25, 65, 105, 145, 185, 225, 265, 305];
aXpos.push(_local1);
}
public function setLevelNumMcs():void{
var _local1:String;
var _local2:String;
var _local3:String;
_local3 = String(gamePlay.getlevel());
if (gamePlay.getlevel() < 10){
_local1 = "0";
_local2 = _local3;
} else {
_local1 = _local3.substr(0, 1);
_local2 = _local3.substr(1, 1);
};
levelInScreen.getReady_mc.levelnum1.gotoAndStop(("num" + _local1));
levelInScreen.getReady_mc.levelnum2.gotoAndStop(("num" + _local2));
levelInScreen.password_txt.text = gamePlay.getaLevelPassword()[gamePlay.getlevel()];
}
private function updateListener(_arg1:Event):void{
if (started){
frameCount++;
if (fadeCount > framesToFade){
completed();
};
if (fadeStarted){
fadeCount++;
levelInScreen.alpha = (levelInScreen.alpha - fadeAmountPerFrame);
};
};
}
public function organizeIcons():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:Class;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
_local5 = aXpos[aSpecialRow.length];
_local1 = 0;
while (_local1 < aSpecialRow.length) {
_local2 = _local5[_local1];
_local3 = specialY;
_local4 = (getDefinitionByName(aSpecialRow[_local1]) as Class);
_local6 = new (_local4);
_local6.x = _local2;
_local6.y = _local3;
levelInScreen.addChild(_local6);
_local1++;
};
_local5 = aXpos[aPowerUpRow.length];
_local1 = 0;
while (_local1 < aPowerUpRow.length) {
_local2 = _local5[_local1];
_local3 = powerupY;
_local4 = (getDefinitionByName(aPowerUpRow[_local1]) as Class);
_local7 = new (_local4);
_local7.x = _local2;
_local7.y = _local3;
levelInScreen.addChild(_local7);
_local1++;
};
_local5 = aXpos[aEnemyRow.length];
_local1 = 0;
while (_local1 < aEnemyRow.length) {
_local2 = _local5[_local1];
_local3 = enemyY;
_local4 = (getDefinitionByName(aEnemyRow[_local1]) as Class);
_local8 = new (_local4);
_local8.x = _local2;
_local8.y = _local3;
levelInScreen.addChild(_local8);
_local1++;
};
}
public function completed(){
gamePlay.removeEventListener(GamePlay.LEVELINUPDATE, updateListener);
gamePlay.gameLoop.removeChild(levelInScreen);
started = false;
levelInScreen.alpha = 1;
oSpecialRow = {};
oPowerUpRow = {};
oEnemyRow = {};
aSpecialRow = [];
aPowerUpRow = [];
aEnemyRow = [];
dispatchEvent(new Event(COMPLETE));
removeIcons();
}
public function start(){
levelInScreen = new levelInScreen_mc();
levelInScreen.x = 50;
levelInScreen.y = 50;
setIconsVisible();
organizeIcons();
setLevelNumMcs();
gamePlay.gameLoop.addChild(levelInScreen);
fadeStarted = false;
frameCount = 0;
fadeCount = 0;
started = true;
gamePlay.gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
gamePlay.addEventListener(GamePlay.LEVELINUPDATE, updateListener, false, 0, true);
setBonusNeeded(String(gamePlay.getextraManAmount()));
}
public function getstarted():Boolean{
return (started);
}
public function setIconsVisible():void{
var _local1:Boolean;
_local1 = false;
if (oSpecialRow["key"] == true){
aSpecialRow.push("key");
_local1 = true;
};
if (oSpecialRow["door"] == true){
aSpecialRow.push("door");
_local1 = true;
};
if (oSpecialRow["transport1"] == true){
aSpecialRow.push("transport1");
_local1 = true;
};
if (oSpecialRow["transport2"] == true){
aSpecialRow.push("transport2");
_local1 = true;
};
if (oSpecialRow["transport3"] == true){
aSpecialRow.push("transport3");
_local1 = true;
};
if (!_local1){
levelInScreen.special_mc.visible = false;
} else {
levelInScreen.special_mc.visible = true;
};
if (oPowerUpRow["attack1"] == true){
aPowerUpRow.push("attack1");
};
if (oPowerUpRow["attack2"] == true){
aPowerUpRow.push("attack2");
};
if (oPowerUpRow["attack3"] == true){
aPowerUpRow.push("attack3");
};
if (oPowerUpRow["attack4"] == true){
aPowerUpRow.push("attack4");
};
if (oPowerUpRow["freeze"] == true){
aPowerUpRow.push("freeze");
};
if (oPowerUpRow["kill"] == true){
aPowerUpRow.push("kill");
};
if (oPowerUpRow["bonusx"] == true){
aPowerUpRow.push("bonusx");
};
if (oPowerUpRow["protect"] == true){
aPowerUpRow.push("protect");
};
if (oPowerUpRow["princess"] == true){
aPowerUpRow.push("princess");
};
if (oEnemyRow["dumb1"] == true){
aEnemyRow.push("dumb1");
};
if (oEnemyRow["dumb2"] == true){
aEnemyRow.push("dumb2");
};
if (oEnemyRow["dumb3"] == true){
aEnemyRow.push("dumb3");
};
if (oEnemyRow["dumb4"] == true){
aEnemyRow.push("dumb4");
};
if (oEnemyRow["dumb5"] == true){
aEnemyRow.push("dumb5");
};
if (oEnemyRow["smart1"] == true){
aEnemyRow.push("smart1");
};
if (oEnemyRow["smart2"] == true){
aEnemyRow.push("smart2");
};
if (oEnemyRow["smart3"] == true){
aEnemyRow.push("smart3");
};
if (oEnemyRow["smart4"] == true){
aEnemyRow.push("smart4");
};
if (oEnemyRow["smart5"] == true){
aEnemyRow.push("smart5");
};
if (oEnemyRow["smart6"] == true){
aEnemyRow.push("smart6");
};
if (oEnemyRow["smart7"] == true){
aEnemyRow.push("smart7");
};
if (oEnemyRow["smart8"] == true){
aEnemyRow.push("smart8");
};
}
function keyDownListener(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 32)) || ((_arg1.keyCode == 13)))){
fadeStarted = true;
gamePlay.gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
};
}
public function removeIcons():void{
var _local1:int;
var _local2:Class;
var _local3:*;
var _local4:*;
var _local5:*;
_local1 = 0;
while (_local1 < aSpecialRow.length) {
_local2 = (getDefinitionByName(aSpecialRow[_local1]) as Class);
_local3 = new (_local2);
levelInScreen.removeChild(_local3);
_local1++;
};
_local1 = 0;
while (_local1 < aPowerUpRow.length) {
_local2 = (getDefinitionByName(aPowerUpRow[_local1]) as Class);
_local4 = new (_local2);
levelInScreen.removeChild(_local4);
_local1++;
};
_local1 = 0;
while (_local1 < aEnemyRow.length) {
_local2 = (getDefinitionByName(aEnemyRow[_local1]) as Class);
_local5 = new (_local2);
levelInScreen.removeChild(_local5);
_local1++;
};
}
}
}//package
Section 115
//levelInScreen_mc (levelInScreen_mc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class levelInScreen_mc extends MovieClip {
public var special_mc:MovieClip;
public var bonusneeded_mc:MovieClip;
public var getReady_mc:MovieClip;
public var password_txt:TextField;
}
}//package
Section 116
//LevelOutScreen (LevelOutScreen)
package {
import flash.events.*;
public class LevelOutScreen extends EventDispatcher {
private var bonusX:int;
private var attackBonusScore:int;// = 0
private var bonusMultiplierStarted:Boolean;// = false
private var attackBonusRemainder:int;// = 0
public var levelOutScreen:levelOutScreen_mc;
private var totalBonus:int;// = 0
var timeString:String;
private var attackBonusCounter:int;// = 0
private var gamePlay:GamePlay;
private var earnExtraStarted:Boolean;// = false
private var timeBonusCountComplete:Boolean;// = false
private var startWaitCount:int;
var colon:String;
private var bonusTotalStarted:Boolean;// = false
private var fadeAmountPerFrame:Number;
private var bonusTimeScore:int;// = 0
private var attackBonusCountVal:int;// = 0
var num3:String;
var num1:String;
var num2:String;
public var fadeStarted:Boolean;// = false
var seconds:int;
public var started:Boolean;// = false
private var bonusTime:int;
private var currentState:int;
public var frameCount:int;// = 0
private var bonusXCounter:int;// = 0
private var timeBonusStarted:Boolean;// = false
private var attackBonusStarted:Boolean;// = false
public var framesToFade:int;// = 30
var minutes:int;
public var framesBeforeFade:int;// = 60
private var attackBonusDivisor:int;// = 0
private var endWait:int;
private var attackBonusCountComplete:Boolean;// = false
public var fadeCount:int;// = 0
private var startWait:int;
private var endWaitCount:int;
public static const STATE_BONUS_MULTIPLIER = 3;
public static const STATE_BONUS_TOTAL = 4;
public static const STATE_EARN_EXTRA = 5;
public static const COMPLETE:String = "complete";
public static const STATE_TIME_BONUS = 1;
public static const STATE_ATTACK_BONUS = 2;
public static const STATE_WAIT_FOR_SPACEBAR = 6;
public function LevelOutScreen(_arg1:GamePlay){
framesBeforeFade = 60;
framesToFade = 30;
frameCount = 0;
fadeCount = 0;
fadeStarted = false;
started = false;
bonusTimeScore = 0;
attackBonusScore = 0;
attackBonusCounter = 0;
attackBonusRemainder = 0;
attackBonusDivisor = 0;
attackBonusCountVal = 0;
bonusXCounter = 0;
totalBonus = 0;
timeBonusStarted = false;
timeBonusCountComplete = false;
attackBonusStarted = false;
attackBonusCountComplete = false;
bonusMultiplierStarted = false;
bonusTotalStarted = false;
earnExtraStarted = false;
super();
gamePlay = _arg1;
levelOutScreen = new levelOutScreen_mc();
levelOutScreen.x = 50;
levelOutScreen.y = 50;
fadeAmountPerFrame = (1 / framesToFade);
}
function convertMillisecondsToTimeString(_arg1:int):String{
seconds = Math.floor((_arg1 / 1000));
minutes = Math.floor((seconds / 60));
seconds = (seconds - (minutes * 60));
timeString = ((minutes + ":") + String((seconds + 100)).substr(1, 2));
return (timeString);
}
private function earnExtra():void{
if (!earnExtraStarted){
earnExtraStarted = true;
if (totalBonus >= gamePlay.getextraManAmount()){
levelOutScreen.pumpkin_mc.visible = true;
levelOutScreen.extra_mc.visible = true;
gamePlay.gameLoop.soundManager.playPlayerStart();
gamePlay.player.incrementlives(1);
endWaitCount = 0;
endWait = 60;
};
} else {
endWaitCount++;
if (endWaitCount > endWait){
started = false;
completed();
};
};
}
function setBonusX(_arg1:String):void{
if (_arg1.length > 0){
levelOutScreen.bonusX_mc.number1.gotoAndStop(("num" + _arg1.substr((_arg1.length - 1), 1)));
};
if (_arg1.length > 1){
levelOutScreen.bonusX_mc.number2.gotoAndStop(("num" + _arg1.substr((_arg1.length - 2), 1)));
};
}
public function completed(){
removeFromScreen();
dispatchEvent(new Event(COMPLETE));
}
private function bonusMultiplier():void{
if (!bonusMultiplierStarted){
bonusX = gamePlay.getPlayerbonusX();
levelOutScreen.bonusMultiplier_mc.visible = true;
levelOutScreen.bonusX_mc.visible = true;
setBonusX(String(bonusX));
bonusMultiplierStarted = true;
gamePlay.gameLoop.soundManager.playPop1();
endWaitCount = 0;
endWait = 45;
} else {
endWaitCount++;
if (endWaitCount > endWait){
currentState = STATE_BONUS_TOTAL;
};
};
}
private function timeBonus():void{
if (!timeBonusStarted){
bonusTime = gamePlay.scorePanel.bonusTime;
levelOutScreen.bonusTimeScoreCounter_mc.visible = true;
levelOutScreen.timeBonus_mc.visible = true;
levelOutScreen.bonusTimeCtr_mc.visible = true;
setTimeMCs(convertMillisecondsToTimeString(bonusTime));
dispatchEvent(new Event(GamePlay.LEVELOUTCOUNTTIMEBONUS));
timeBonusStarted = true;
startWaitCount = 0;
endWaitCount = 0;
startWait = 30;
endWait = 45;
timeBonusCountComplete = false;
} else {
startWaitCount++;
if ((((startWaitCount > startWait)) && (!(timeBonusCountComplete)))){
if (bonusTime > 0){
bonusTime = (bonusTime - 1000);
setTimeMCs(convertMillisecondsToTimeString(bonusTime));
bonusTimeScore = (bonusTimeScore + gamePlay.gettimeBonus());
setBonusTimeScore(String(bonusTimeScore));
gamePlay.gameLoop.soundManager.playBonusCount();
};
if (bonusTime <= 0){
timeBonusCountComplete = true;
};
} else {
if (timeBonusCountComplete){
endWaitCount++;
if (endWaitCount > endWait){
totalBonus = (totalBonus + bonusTimeScore);
currentState = STATE_ATTACK_BONUS;
};
};
};
};
}
function removeFromScreen(){
gamePlay.removeEventListener(GamePlay.LEVELOUTUPDATE, updateListener);
gamePlay.gameLoop.removeChild(levelOutScreen);
started = false;
levelOutScreen.alpha = 1;
}
public function start():void{
gamePlay.addEventListener(GamePlay.LEVELOUTUPDATE, updateListener, false, 0, true);
setBonusTimeScore("000000");
setAttackBonusScore("000000");
setTotalBonusCount("00000000");
setBonusX("00");
levelOutScreen.timeBonus_mc.visible = false;
levelOutScreen.bonusTimeCtr_mc.visible = false;
levelOutScreen.bonusTimeScoreCounter_mc.visible = false;
levelOutScreen.attackBonus_mc.visible = false;
levelOutScreen.attackBonusCounter_mc.visible = false;
levelOutScreen.bonusMultiplier_mc.visible = false;
levelOutScreen.bonusX_mc.visible = false;
levelOutScreen.totalBonus_mc.visible = false;
levelOutScreen.totalBonusCount_mc.visible = false;
levelOutScreen.extra_mc.visible = false;
levelOutScreen.pumpkin_mc.visible = false;
levelOutScreen.amountneeded_mc.visible = false;
gamePlay.gameLoop.addChild(levelOutScreen);
fadeStarted = false;
frameCount = 0;
fadeCount = 0;
started = true;
timeBonusStarted = false;
attackBonusStarted = false;
bonusMultiplierStarted = false;
bonusTotalStarted = false;
earnExtraStarted = false;
bonusTimeScore = 0;
bonusTime = 0;
attackBonusStarted = false;
attackBonusScore = 0;
attackBonusCounter = 0;
attackBonusRemainder = 0;
attackBonusDivisor = 0;
attackBonusCountVal = 0;
bonusMultiplierStarted = false;
bonusX = 0;
bonusXCounter = 0;
totalBonus = 0;
currentState = STATE_TIME_BONUS;
}
private function bonusTotal():void{
if (!bonusTotalStarted){
totalBonus = (totalBonus * bonusX);
levelOutScreen.totalBonus_mc.visible = true;
levelOutScreen.totalBonusCount_mc.visible = true;
levelOutScreen.amountneeded_mc.visible = true;
levelOutScreen.amountneeded_mc.amount_txt.text = String(gamePlay.getextraManAmount());
setTotalBonusCount(String(totalBonus));
bonusTotalStarted = true;
gamePlay.gameLoop.soundManager.playPop1();
endWaitCount = 0;
endWait = 30;
gamePlay.player.incrementscore(totalBonus);
gamePlay.scorePanel.updateScore(gamePlay.player.score);
} else {
endWaitCount++;
if (endWaitCount > endWait){
currentState = STATE_EARN_EXTRA;
};
};
}
function setBonusTimeScore(_arg1:String):void{
if (_arg1.length > 0){
levelOutScreen.bonusTimeScoreCounter_mc.number1.gotoAndStop(("num" + _arg1.substr((_arg1.length - 1), 1)));
};
if (_arg1.length > 1){
levelOutScreen.bonusTimeScoreCounter_mc.number2.gotoAndStop(("num" + _arg1.substr((_arg1.length - 2), 1)));
};
if (_arg1.length > 2){
levelOutScreen.bonusTimeScoreCounter_mc.number3.gotoAndStop(("num" + _arg1.substr((_arg1.length - 3), 1)));
};
if (_arg1.length > 3){
levelOutScreen.bonusTimeScoreCounter_mc.number4.gotoAndStop(("num" + _arg1.substr((_arg1.length - 4), 1)));
};
if (_arg1.length > 4){
levelOutScreen.bonusTimeScoreCounter_mc.number5.gotoAndStop(("num" + _arg1.substr((_arg1.length - 5), 1)));
};
if (_arg1.length > 5){
levelOutScreen.bonusTimeScoreCounter_mc.number6.gotoAndStop(("num" + _arg1.substr((_arg1.length - 6), 1)));
};
}
public function getstarted():Boolean{
return (started);
}
private function updateListener(_arg1:Event):void{
switch (currentState){
case STATE_TIME_BONUS:
timeBonus();
break;
case STATE_ATTACK_BONUS:
attackBonus();
break;
case STATE_BONUS_MULTIPLIER:
bonusMultiplier();
break;
case STATE_BONUS_TOTAL:
bonusTotal();
break;
case STATE_EARN_EXTRA:
earnExtra();
break;
};
}
function setAttackBonusScore(_arg1:String):void{
if (_arg1.length > 0){
levelOutScreen.attackBonusCounter_mc.number1.gotoAndStop(("num" + _arg1.substr((_arg1.length - 1), 1)));
};
if (_arg1.length > 1){
levelOutScreen.attackBonusCounter_mc.number2.gotoAndStop(("num" + _arg1.substr((_arg1.length - 2), 1)));
};
if (_arg1.length > 2){
levelOutScreen.attackBonusCounter_mc.number3.gotoAndStop(("num" + _arg1.substr((_arg1.length - 3), 1)));
};
if (_arg1.length > 3){
levelOutScreen.attackBonusCounter_mc.number4.gotoAndStop(("num" + _arg1.substr((_arg1.length - 4), 1)));
};
if (_arg1.length > 4){
levelOutScreen.attackBonusCounter_mc.number5.gotoAndStop(("num" + _arg1.substr((_arg1.length - 5), 1)));
};
if (_arg1.length > 5){
levelOutScreen.attackBonusCounter_mc.number6.gotoAndStop(("num" + _arg1.substr((_arg1.length - 6), 1)));
};
if (_arg1.length > 5){
levelOutScreen.attackBonusCounter_mc.number6.gotoAndStop(("num" + _arg1.substr((_arg1.length - 6), 1)));
};
}
private function attackBonus():void{
if (!attackBonusStarted){
levelOutScreen.attackBonus_mc.visible = true;
levelOutScreen.attackBonusCounter_mc.visible = true;
attackBonusScore = gamePlay.getPlayerattackBonus();
attackBonusCountVal = (attackBonusScore / 100);
attackBonusStarted = true;
attackBonusRemainder = (attackBonusScore % attackBonusCountVal);
attackBonusDivisor = (attackBonusScore / attackBonusCountVal);
setAttackBonusScore(String(attackBonusCounter));
gamePlay.gameLoop.soundManager.playPop1();
startWaitCount = 0;
endWaitCount = 0;
startWait = 30;
endWait = 45;
attackBonusCountComplete = false;
} else {
startWaitCount++;
if ((((startWaitCount > startWait)) && (!(attackBonusCountComplete)))){
attackBonusCounter = (attackBonusCounter + attackBonusCountVal);
setAttackBonusScore(String(attackBonusCounter));
gamePlay.gameLoop.soundManager.playBonusCount();
if (attackBonusCounter == (attackBonusCountVal * attackBonusDivisor)){
attackBonusCountComplete = true;
if (attackBonusRemainder > 0){
attackBonusCounter = (attackBonusCounter + attackBonusRemainder);
setAttackBonusScore(String(attackBonusCounter));
gamePlay.gameLoop.soundManager.playBonusCount();
};
};
} else {
if (attackBonusCountComplete){
endWaitCount++;
if (endWaitCount > endWait){
totalBonus = (totalBonus + attackBonusCounter);
currentState = STATE_BONUS_MULTIPLIER;
};
};
};
};
}
function setTotalBonusCount(_arg1:String):void{
if (_arg1.length > 0){
levelOutScreen.totalBonusCount_mc.number1.gotoAndStop(("num" + _arg1.substr((_arg1.length - 1), 1)));
};
if (_arg1.length > 1){
levelOutScreen.totalBonusCount_mc.number2.gotoAndStop(("num" + _arg1.substr((_arg1.length - 2), 1)));
};
if (_arg1.length > 2){
levelOutScreen.totalBonusCount_mc.number3.gotoAndStop(("num" + _arg1.substr((_arg1.length - 3), 1)));
};
if (_arg1.length > 3){
levelOutScreen.totalBonusCount_mc.number4.gotoAndStop(("num" + _arg1.substr((_arg1.length - 4), 1)));
};
if (_arg1.length > 4){
levelOutScreen.totalBonusCount_mc.number5.gotoAndStop(("num" + _arg1.substr((_arg1.length - 5), 1)));
};
if (_arg1.length > 5){
levelOutScreen.totalBonusCount_mc.number6.gotoAndStop(("num" + _arg1.substr((_arg1.length - 6), 1)));
};
if (_arg1.length > 6){
levelOutScreen.totalBonusCount_mc.number7.gotoAndStop(("num" + _arg1.substr((_arg1.length - 7), 1)));
};
if (_arg1.length > 7){
levelOutScreen.totalBonusCount_mc.number8.gotoAndStop(("num" + _arg1.substr((_arg1.length - 8), 1)));
};
}
function setTimeMCs(_arg1:String):void{
num1 = _arg1.substr(0, 1);
colon = _arg1.substr(1, 1);
num2 = _arg1.substr(2, 1);
num3 = _arg1.substr(3, 1);
if (num1 != null){
levelOutScreen.bonusTimeCtr_mc.number1.gotoAndStop(("num" + num1));
};
if (num2 != null){
levelOutScreen.bonusTimeCtr_mc.number2.gotoAndStop(("num" + num2));
};
if (num3 != null){
levelOutScreen.bonusTimeCtr_mc.number3.gotoAndStop(("num" + num3));
};
}
}
}//package
Section 117
//levelOutScreen_mc (levelOutScreen_mc)
package {
import flash.display.*;
public dynamic class levelOutScreen_mc extends MovieClip {
public var bonusMultiplier_mc:MovieClip;
public var amountneeded_mc:MovieClip;
public var totalBonus_mc:MovieClip;
public var attackBonus_mc:MovieClip;
public var extra_mc:MovieClip;
public var totalBonusCount_mc:MovieClip;
public var bonusTimeCtr_mc:MovieClip;
public var bonusX_mc:MovieClip;
public var timeBonus_mc:MovieClip;
public var pumpkin_mc:MovieClip;
public var bonusTimeScoreCounter_mc:MovieClip;
public var attackBonusCounter_mc:MovieClip;
}
}//package
Section 118
//LoadingBox (LoadingBox)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
public class LoadingBox extends MovieClip {
public var loaderScale:MovieClip;
public var animStarted:Boolean;// = false
public var animComplete:Boolean;// = false
private var url:String;// = "http://www.8bitrocket.com"
public var logo:MovieClip;
public function LoadingBox(){
animStarted = false;
animComplete = false;
url = "http://www.8bitrocket.com";
super();
addFrameScript(0, frame1, 29, frame30, 164, frame165);
addEventListener(MouseEvent.MOUSE_DOWN, clicked, false, 0, true);
buttonMode = true;
useHandCursor = true;
x = 100;
y = 100;
scaleX = 0.8;
scaleY = 0.8;
}
function frame165(){
stop();
}
public function clicked(_arg1:MouseEvent):void{
var request:URLRequest;
var e = _arg1;
request = new URLRequest(url);
try {
navigateToURL(request);
} catch(error:Error) {
};
}
private function colorCycle():void{
var _local1:*;
_local1 = 1;
while (_local1 <= 9) {
this.logo.colors[("c" + _local1)].y--;
if (this.logo.colors[("c" + _local1)].y < -15){
this.logo.colors[("c" + _local1)].y = 128;
};
_local1++;
};
}
function frame1(){
stop();
}
function frame30(){
}
public function update():void{
try {
if (currentFrame >= totalFrames){
animComplete = true;
};
if (currentFrame < 100){
colorCycle();
};
} catch(error:Error) {
};
}
}
}//package
Section 119
//MenuScreen (MenuScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.geom.*;
public class MenuScreen extends MovieClip {
private var aItem:Array;
private var ctr1:int;
private var eSound:Event;
private var menuScreen:MenuScreen_mc;
private var gameLoop:GameLoop;
private var currentIndex:int;
public function MenuScreen(_arg1:GameLoop){
menuScreen = new MenuScreen_mc();
aItem = new Array("instructions_mc", "highscores_mc", "credits_mc", "enterpassword_mc", "restart_mc", "playgame_mc");
super();
gameLoop = _arg1;
menuScreen.x = 40;
menuScreen.y = 40;
addChild(menuScreen);
}
public function removeListeners():void{
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
}
public function reset():void{
currentIndex = 5;
refreshMenu();
addListeners();
menuScreen.lastlevel_txt.text = String(gameLoop.getlastLevel());
}
function keyDownListener(_arg1:KeyboardEvent):void{
if ((((_arg1.keyCode == 32)) || ((_arg1.keyCode == 13)))){
removeListeners();
gameLoop.soundManager.menuMoveSelect();
switch (currentIndex){
case 0:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_INSTRUCTIONS);
break;
case 1:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_HIGHSCORE);
break;
case 2:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_TITLE);
break;
case 3:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_CODECREEN);
break;
case 4:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_RESTART);
break;
case 5:
gameLoop.menuScreenFinished(GameLoop.STATE_SYSTEM_GAMEPLAY);
break;
};
} else {
if (_arg1.keyCode == 38){
currentIndex--;
if (currentIndex < 0){
currentIndex = (aItem.length - 1);
};
refreshMenu();
gameLoop.soundManager.menuMove();
} else {
if (_arg1.keyCode == 40){
currentIndex++;
if (currentIndex == aItem.length){
currentIndex = 0;
};
refreshMenu();
gameLoop.soundManager.menuMove();
};
};
};
}
public function addListeners():void{
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
}
public function refreshMenu():void{
menuScreen.instructions_mc.gotoAndStop(1);
menuScreen.highscores_mc.gotoAndStop(1);
menuScreen.credits_mc.gotoAndStop(1);
menuScreen.enterpassword_mc.gotoAndStop(1);
menuScreen.restart_mc.gotoAndStop(1);
menuScreen.playgame_mc.gotoAndStop(1);
switch (currentIndex){
case 0:
menuScreen.instructions_mc.gotoAndStop("on");
break;
case 1:
menuScreen.highscores_mc.gotoAndStop("on");
break;
case 2:
menuScreen.credits_mc.gotoAndStop("on");
break;
case 3:
menuScreen.enterpassword_mc.gotoAndStop("on");
break;
case 4:
menuScreen.restart_mc.gotoAndStop("on");
break;
case 5:
menuScreen.playgame_mc.gotoAndStop("on");
break;
};
}
}
}//package
Section 120
//MenuScreen_mc (MenuScreen_mc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class MenuScreen_mc extends MovieClip {
public var highscores_mc:MovieClip;
public var credits_mc:MovieClip;
public var lastlevel_txt:TextField;
public var instructions_mc:MovieClip;
public var playgame_mc:MovieClip;
public var restart_mc:MovieClip;
public var enterpassword_mc:MovieClip;
}
}//package
Section 121
//MochiAd (MochiAd)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return ("1.5");
}
public static function showTimedAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
this.clip.stop();
}, ad_finished:function ():void{
this.clip.play();
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
var _local2:MovieClip;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!chk.showing){
_local4 = _local1.loaderInfo.bytesTotal;
if ((((_local4 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
_local3 = true;
};
};
};
if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _allowDomains(_arg1:String):String{
var _local2:String;
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
_arg1.removeChild(_arg1._mochiad);
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["sendHighScore", _arg1], _arg2, _arg3);
return (true);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local3:Object;
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
return (_local3);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function load(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var f:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip._mochiad_loaded){
return (null);
};
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
if (clip.loaderInfo.loaderURL.indexOf("http") != 0){
options.no_page = true;
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
mc["onEnterFrame"] = function ():void{
if (!this._mochiad_ctr){
delete this["onEnterFrame"];
MochiAd.unload(this.parent);
};
};
doOnEnterFrame(mc);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
loader = new Loader();
f = function (_arg1:Object):void{
mc._mochiad_ctr_failed = true;
};
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip;
_local4 = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Array;
_local3 = _arg2.getBounds(_arg2.root);
_local4 = 0;
_local5 = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function _loadCommunicator(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var clipname:String;
var server:String;
var depth:Number;
var mc:MovieClip;
var lv:URLVariables;
var k:String;
var lc:LocalConnection;
var name:String;
var req:URLRequest;
var loader:Loader;
var options = _arg1;
DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
clipname = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip[clipname]){
return (clip[clipname]);
};
server = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, clipname, depth);
lv = new URLVariables();
for (k in options) {
lv[k] = options[k];
};
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.name = name;
mc.lc = lc;
lv.lc = name;
mc._id = 0;
mc._queue = [];
mc.rpcResult = function (_arg1:Object):void{
var _local3:Array;
var _local4:Array;
var _local5:Number;
var _local6:Object;
var _local7:Object;
_arg1 = parseInt(_arg1.toString());
_local3 = mc._callbacks[_arg1];
if (typeof(_local3) == "undefined"){
return;
};
delete mc._callbacks[_arg1];
_local4 = [];
_local5 = 2;
while (_local5 < _local3.length) {
_local4.push(_local3[_local5]);
_local5++;
};
_local5 = 1;
while (_local5 < arguments.length) {
_local4.push(arguments[_local5]);
_local5++;
};
_local6 = _local3[1];
_local7 = _local3[0];
if (((_local7) && ((typeof(_local6) == "string")))){
_local6 = _local7[_local6];
};
if (typeof(_local6) == "function"){
_local6.apply(_local7, _local4);
};
};
mc._didConnect = function (_arg1:String):void{
var _local2:Array;
var _local3:Function;
var _local4:Number;
var _local5:Array;
mc._endpoint = _arg1;
_local2 = mc._queue;
delete mc._queue;
_local3 = mc.doSend;
_local4 = 0;
while (_local4 < _local2.length) {
_local5 = _local2[_local4];
_local3.apply(this, _local5);
_local4++;
};
};
mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{
var _local5:Number;
var _local6:LocalConnection;
var _local7:Array;
var _local8:Number;
if (mc._endpoint == null){
_local7 = [];
_local8 = 0;
while (_local8 < arguments.length) {
_local7.push(arguments[_local8]);
_local8++;
};
mc._queue.push(_local7);
return;
};
mc._id = (mc._id + 1);
_local5 = mc._id;
mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))];
_local6 = new LocalConnection();
_local6.send(mc._endpoint, "rpc", _local5, _arg1);
};
mc._callbacks = {};
mc._callbacks[0] = [mc, "_didConnect"];
lv.st = getTimer();
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
loader.load(req);
mc.addChild(loader);
mc._mochiad_com = loader;
return (mc);
}
public static function showPreloaderAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var options = _arg1;
DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{
this.clip.stop();
}, ad_finished:function ():void{
this.clip.play();
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
bar.x = 10;
bar.y = (h - 20);
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
var _local2:MovieClip;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
_local2 = this.parent.parent;
MochiAd.unload(_local2);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Object;
var _local3:Number;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Object;
var _local10:Number;
var _local11:Number;
_local1 = this.parent.parent.root;
if (!_local1){
delete this["onEnterFrame"];
return;
};
_local2 = this.parent._mochiad_ctr;
_local3 = (getTimer() - this.started);
_local4 = false;
_local5 = _local1.loaderInfo.bytesTotal;
_local6 = _local1.loaderInfo.bytesLoaded;
_local7 = ((100 * _local6) / _local5);
_local8 = ((100 * _local3) / chk.ad_msec);
_local9 = this._mochiad_bar._inside;
_local10 = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
if (!chk.showing){
_local11 = _local2.loaderInfo.bytesTotal;
if ((((_local11 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local3 > chk.ad_timeout){
_local4 = true;
};
};
};
if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local4 = true;
};
if ((((((_local5 > 0)) && ((_local6 >= _local5)))) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3);
return (true);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
mc.removeEventListener(Event.ENTER_FRAME, f);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package
Section 122
//PausedScreen (PausedScreen)
package {
import flash.events.*;
public class PausedScreen extends EventDispatcher {
public var started:Boolean;// = false
private var gamePlay:GamePlay;
public var pausedScreen:pausedScreen_mc;
public static const COMPLETE:String = "complete";
public function PausedScreen(_arg1:GamePlay){
started = false;
super();
gamePlay = _arg1;
pausedScreen = new pausedScreen_mc();
pausedScreen.x = 90;
pausedScreen.y = 40;
}
public function start():void{
gamePlay.gameLoop.addChild(pausedScreen);
}
function detectKeyPress(_arg1:int):void{
if (_arg1 == 32){
gamePlay.gameLoop.removeChild(pausedScreen);
dispatchEvent(new Event(COMPLETE));
};
}
}
}//package
Section 123
//pausedScreen_mc (pausedScreen_mc)
package {
import flash.display.*;
public dynamic class pausedScreen_mc extends MovieClip {
public var getReady_mc:MovieClip;
}
}//package
Section 124
//Player (Player)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class Player extends BasicGameSprite {
public var invFilterFrameDelay:int;// = 3
public var keys:int;// = 0
public var newKeyValue:String;
public var moveDown:Boolean;// = false
public var playerStartRow:int;
public var moveFadeOut:Boolean;// = false
public var invincible:Boolean;// = false
public var bonusX:int;// = 0
public var turning:Boolean;// = false
public var moveTransport:Boolean;// = false
public var nextTransportLocationX:int;
public var moveUp:Boolean;// = false
public var nextTransportLocationY:int;
public var mapCols:int;
public var blinkProtectMaxFrames:int;// = 3
public var score:int;
public var protectblinkon:Boolean;// = false
public var currentFacing:String;
public var frozen:Boolean;// = true
public var leveloutComplete:Boolean;// = false
public var transRowCtr:int;// = 0
public var attackBonus:int;// = 0
public var outCounter:int;// = 0
public var invFilter:Boolean;// = false
public var moveRight:Boolean;// = false
public var transCurrentLocBitmapData:BitmapData;
public var bonusXCount:int;// = 0
public var transNextLocBitmapData:BitmapData;
public var newKeyPress:Boolean;// = false
public var _rotation:Number;// = 0
public var transportedThisLevel:Boolean;// = false
public var aLastBitmapDataState:Array;
public var blinkProtectCount:int;// = 0
public var lives:int;
public var eatEnemy:Boolean;
public var moveDeath:Boolean;// = false
public var hittilecol:int;
public var invFilterArray:Array;
public var aAnimatingTurnBitmapData:Array;
public var animatingTurn:Boolean;// = false
public var transportStarted:Boolean;// = false
public var hitx:int;
public var hity:int;
public var moveErase:Boolean;// = false
public var invFilterFrameCtr:int;// = 0
public var mapRows:int;
public var deathStarted:Boolean;// = false
public var moveLeft:Boolean;// = false
public var hittilerow:int;
public var moveStop:Boolean;// = false
public var invFilterIndex:int;// = 0
public var bonusTimeLimit:int;
public var deathComplete:Boolean;// = false
public var turnAminationIndex:int;
public var blinkProtect:Boolean;// = false
public var leveloutStarted:Boolean;// = false
public var playerStartCol:int;
public function Player(_arg1:GamePlay){
moveUp = false;
moveDown = false;
moveRight = false;
moveLeft = false;
moveDeath = false;
moveErase = false;
moveFadeOut = false;
moveStop = false;
moveTransport = false;
turning = false;
frozen = true;
newKeyPress = false;
deathStarted = false;
deathComplete = false;
_rotation = 0;
leveloutComplete = false;
leveloutStarted = false;
outCounter = 0;
animatingTurn = false;
blinkProtect = false;
blinkProtectCount = 0;
blinkProtectMaxFrames = 3;
protectblinkon = false;
transportStarted = false;
transRowCtr = 0;
invincible = false;
invFilterIndex = 0;
invFilterFrameDelay = 3;
invFilterFrameCtr = 0;
invFilterArray = [];
keys = 0;
bonusXCount = 0;
attackBonus = 0;
bonusX = 0;
invFilter = false;
transportedThisLevel = false;
super();
gamePlay = _arg1;
gamePlay.addEventListener(GamePlay.RENDER, renderListener, false, 0, true);
gamePlay.addEventListener(GamePlay.UPDATE, updateListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERSTART, playerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDEATHSTARTED, playerdeathStartedListener, false, 0, true);
gamePlay.addEventListener(GamePlay.INVTIMERSTART, invtimerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.TRANSPORTSTART, transportStartListener, false, 0, true);
}
public function incrementattackBonusCount(_arg1:int):void{
bonusXCount = (bonusXCount + _arg1);
if (bonusXCount >= gamePlay.getenemyToEatForBonusXPlus()){
setbonusX((bonusX + 1));
bonusXCount = 0;
dispatchEvent(new Event(GamePlay.INCREMENTBONUSX));
};
}
public function setNextTransportLocation(_arg1, _arg2){
nextTransportLocationX = _arg1;
nextTransportLocationY = _arg2;
}
private function invtimerEndListener(_arg1:Event){
invFilter = false;
}
override public function resetRenderBooleans(){
renderalpha = false;
renderscalex = false;
renderscaley = false;
renderrotation = false;
renderrotation = false;
renderGlowFilter = false;
}
public function playerTransportUpdate():void{
var _local1:BitmapData;
var _local2:Rectangle;
var _local3:Point;
var _local4:Rectangle;
var _local5:Point;
if (transRowCtr < 32){
_local1 = new BitmapData(tileSize, tileSize, true, 0);
_local2 = new Rectangle(0, transRowCtr, tileSize, (tileSize - transRowCtr));
_local3 = new Point(0, transRowCtr);
_local1.copyPixels(transCurrentLocBitmapData, _local2, _local3);
aSpriteBitmapData[spriteBitmapDataIndex] = _local1;
_local4 = new Rectangle(0, 0, tileSize, transRowCtr);
_local5 = new Point(0, 0);
transNextLocBitmapData.copyPixels(transCurrentLocBitmapData, _local4, _local5);
transRowCtr++;
} else {
setnextx(nextTransportLocationX);
setnexty(nextTransportLocationY);
transportStarted = false;
resetMovement(GamePlay.MOVE_STATE_STOP);
};
}
public function initPosition(_arg1:Number, _arg2:Number){
setx(_arg1);
sety(_arg2);
setnextx(x);
setnexty(y);
update();
}
public function checkInput(){
var doMove:Boolean;
var nextTileCol:Number;
var nextTileRow:Number;
var nextTile:Tile;
var currentTileMiddleX:int;
var currentTileMiddleY:int;
if (newKeyPress){
doMove = false;
currentTileMiddleX = ((tileCol * tileSize) + (0.5 * tileSize));
currentTileMiddleY = ((tileRow * tileSize) + (0.5 * tileSize));
switch (newKeyValue){
case GamePlay.MOVE_STATE_RIGHT:
nextTileCol = (int(tileCol) + 1);
if (nextTileCol > (mapCols - 1)){
nextTileCol = 0;
};
if (tileRow > (mapRows - 1)){
tileRow = 0;
};
try {
nextTile = gamePlay.getaTileMap()[tileRow][nextTileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveLeft) || (moveStop))){
doMove = true;
};
if (((((moveUp) && ((centernexty <= (currentTileMiddleY + acceleration))))) || (((moveDown) && ((centernexty >= (currentTileMiddleY - acceleration))))))){
doMove = true;
};
};
if (doMove){
resetMovement("right");
turning = true;
};
break;
case GamePlay.MOVE_STATE_LEFT:
nextTileCol = (int(tileCol) - 1);
if (nextTileCol < 0){
nextTileCol = (mapCols - 1);
};
if (tileRow > (mapRows - 1)){
tileRow = 0;
};
try {
nextTile = gamePlay.getaTileMap()[tileRow][nextTileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveRight) || (moveStop))){
doMove = true;
};
if (((((moveUp) && ((centernexty <= (currentTileMiddleY + acceleration))))) || (((moveDown) && ((centernexty >= (currentTileMiddleY - acceleration))))))){
doMove = true;
};
};
if (doMove){
resetMovement("left");
turning = true;
};
break;
case GamePlay.MOVE_STATE_UP:
nextTileRow = (int(tileRow) - 1);
if (nextTileRow < 0){
nextTileRow = (mapRows - 1);
};
if (tileCol > (mapCols - 1)){
tileCol = 0;
};
try {
nextTile = gamePlay.getaTileMap()[nextTileRow][tileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveDown) || (moveStop))){
doMove = true;
};
if (((((moveRight) && ((centernextx >= (currentTileMiddleX - acceleration))))) || (((moveLeft) && ((centernextx <= (currentTileMiddleX + acceleration))))))){
doMove = true;
};
};
if (doMove){
resetMovement("up");
turning = true;
};
break;
case GamePlay.MOVE_STATE_DOWN:
nextTileRow = (int(tileRow) + 1);
if (nextTileRow > (mapRows - 1)){
nextTileRow = 0;
};
if (tileCol > (mapCols - 1)){
tileCol = 0;
};
try {
nextTile = gamePlay.getaTileMap()[nextTileRow][tileCol];
} catch(error:Error) {
};
if (nextTile.isWalkable){
if (((moveUp) || (moveStop))){
doMove = true;
};
if (((((moveRight) && ((centernextx >= (currentTileMiddleX - acceleration))))) || (((moveLeft) && ((centernextx <= (currentTileMiddleX + acceleration))))))){
doMove = true;
};
};
if (doMove){
resetMovement("down");
turning = true;
};
break;
};
};
}
private function renderListener(_arg1:Event):void{
render();
}
public function dispose():void{
var _local1:int;
gamePlay.removeEventListener(GamePlay.RENDER, renderListener);
gamePlay.removeEventListener(GamePlay.UPDATE, updateListener);
gamePlay.removeEventListener(GamePlay.PLAYERSTART, playerStartListener);
gamePlay.removeEventListener(GamePlay.PLAYERDEATHSTARTED, playerdeathStartedListener);
gamePlay.removeEventListener(GamePlay.INVTIMERSTART, invtimerStartListener);
gamePlay.removeEventListener(GamePlay.TRANSPORTSTART, transportStartListener);
gamePlay.scorePanel.removeEventListener(GamePlay.ACCTIMEREND, accTimerEndListener);
gamePlay.scorePanel.removeEventListener(GamePlay.INVTIMEREND, invtimerEndListener);
gamePlay.scorePanel.removeEventListener(GamePlay.INVTIMERABOUTTOEND, invTimerAboutToEndListener);
bitmapStateObject = null;
_local1 = 0;
while (_local1 < aSpriteBitmapData.length) {
aSpriteBitmapData[_local1] = null;
_local1++;
};
aSpriteBitmapData = null;
}
public function incrementscore(_arg1:int){
score = (score + _arg1);
}
private function updateListener(_arg1:Event):void{
update();
}
public function transportStartListener(_arg1:Event){
transRowCtr = 0;
setBitmapState(GamePlay.MOVE_STATE_TRANSPORT, aSpriteBitmapData);
resetMovement(GamePlay.MOVE_STATE_TRANSPORT);
transCurrentLocBitmapData = aSpriteBitmapData[spriteBitmapDataIndex].clone();
transNextLocBitmapData = new BitmapData(tileSize, tileSize, true, 0);
transportStarted = true;
transportedThisLevel = true;
}
private function powerUpAttackEndListener(_arg1:Event){
accAdjust = 0;
}
public function resetLevelCounters():void{
blinkProtectCount = 0;
protectblinkon = false;
transportStarted = false;
eatEnemy = false;
invFilterIndex = 0;
blinkProtect = false;
invincible = false;
leveloutStarted = false;
bonusTimeLimit = 0;
bonusXCount = 0;
attackBonus = 0;
setbonusX(1);
accAdjust = 0;
}
override public function update(){
if (animatingTurn){
aSpriteBitmapData = aAnimatingTurnBitmapData;
turnAminationIndex++;
if (turnAminationIndex == aAnimatingTurnBitmapData.length){
animatingTurn = false;
turnAminationIndex = 0;
spriteBitmapDataIndex = 0;
};
} else {
if (((!(transportStarted)) && (!(moveStop)))){
aSpriteBitmapData = aLastBitmapDataState;
};
};
if (rendervelocity){
if (moveUp){
if (turning){
setnextx((tileCol * tileSize));
};
setnexty((nexty + ((acceleration + accAdjust) * dy)));
} else {
if (moveDown){
if (turning){
setnextx((tileCol * tileSize));
};
setnexty((nexty + ((acceleration + accAdjust) * dy)));
} else {
if (moveLeft){
if (turning){
setnexty((tileRow * tileSize));
};
setnextx((nextx + ((acceleration + accAdjust) * dx)));
} else {
if (moveRight){
if (turning){
setnexty((tileRow * tileSize));
};
setnextx((nextx + ((acceleration + accAdjust) * dx)));
};
};
};
};
if (nexty < (-0.5 * tileSize)){
setnexty((tileSize * mapRows));
} else {
if (nexty > (tileSize * mapRows)){
setnexty(-16);
} else {
if (nextx > (tileSize * mapCols)){
setnextx(-16);
} else {
if (nextx < (-0.5 * tileSize)){
setnextx((tileSize * mapCols));
};
};
};
};
};
tileRow = int((centernexty / tileSize));
tileCol = int((centernextx / tileSize));
turning = false;
}
public function playerDeathUpdate():void{
var _local1:BitmapData;
var _local2:Number;
var _local3:*;
var _local4:Matrix;
var _local5:BitmapData;
_local1 = aSpriteBitmapData[spriteBitmapDataIndex];
_local2 = 0.95;
_rotation = (_rotation + 8);
_local3 = ((Math.PI * 2) * (_rotation / 360));
_local4 = new Matrix();
_local4.scale(_local2, _local2);
_local4.translate(((-(tileSize) * _local2) / 2), ((-(tileSize) * _local2) / 2));
_local4.rotate(_local3);
_local4.translate(((tileSize * _local2) / 2), ((tileSize * _local2) / 2));
_local5 = new BitmapData(tileSize, tileSize, true, 0);
_local5.draw(_local1, _local4);
aSpriteBitmapData[spriteBitmapDataIndex] = _local5;
if (_rotation > 360){
if (transportedThisLevel){
createMoveStates();
};
deathComplete = true;
resetMovement(GamePlay.MOVE_STATE_ERASE);
};
}
public function detectKeyPress(_arg1:int){
newKeyPress = false;
if ((((_arg1 == 38)) && (!(moveUp)))){
newKeyPress = true;
newKeyValue = "up";
} else {
if ((((_arg1 == 40)) && (!(moveDown)))){
newKeyPress = true;
newKeyValue = "down";
} else {
if ((((_arg1 == 37)) && (!(moveLeft)))){
newKeyPress = true;
newKeyValue = "left";
} else {
if ((((_arg1 == 39)) && (!(moveRight)))){
newKeyPress = true;
newKeyValue = "right";
};
};
};
};
}
public function incrementlives(_arg1:int):void{
lives = (lives + _arg1);
gamePlay.scorePanel.updateLives(lives);
}
private function accTimerEndListener(_arg1:Event):void{
accAdjust = 0;
}
public function getscore():int{
return (score);
}
public function setplayerStartCol(_arg1:int):void{
playerStartCol = _arg1;
}
function resetMovement(_arg1:String):void{
nextscalex = 1;
moveRight = false;
moveLeft = false;
moveUp = false;
moveDown = false;
moveDeath = false;
moveErase = false;
moveFadeOut = false;
moveStop = false;
moveTransport = false;
switch (_arg1){
case "right":
animatingTurn = true;
turnAminationIndex = 0;
if (currentFacing == "left"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_LEFTTORIGHT);
} else {
if (currentFacing == "up"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_UPTORIGHT);
} else {
if (currentFacing == "down"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_DOWNTORIGHT);
} else {
animatingTurn = false;
};
};
};
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_RIGHT);
aLastBitmapDataState = aSpriteBitmapData;
moveRight = true;
hitx = 1;
hity = 0;
dx = 1;
dy = 0;
currentFacing = "right";
spriteBitmapDataIndex = 0;
break;
case "left":
animatingTurn = true;
turnAminationIndex = 0;
if (currentFacing == "right"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_RIGHTTOLEFT);
} else {
if (currentFacing == "up"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_UPTOLEFT);
} else {
if (currentFacing == "down"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_DOWNTOLEFT);
} else {
animatingTurn = false;
};
};
};
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_LEFT);
aLastBitmapDataState = aSpriteBitmapData;
moveLeft = true;
hitx = -1;
hity = 0;
dx = -1;
dy = 0;
currentFacing = "left";
spriteBitmapDataIndex = 0;
break;
case "up":
animatingTurn = true;
turnAminationIndex = 0;
if (currentFacing == "right"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_RIGHTTOUP);
} else {
if (currentFacing == "left"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_LEFTTOUP);
} else {
if (currentFacing == "down"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_DOWNTOUP);
} else {
animatingTurn = false;
};
};
};
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_UP);
aLastBitmapDataState = aSpriteBitmapData;
moveUp = true;
hitx = 0;
hity = -1;
dx = 0;
dy = -1;
currentFacing = "up";
spriteBitmapDataIndex = 0;
break;
case "down":
animatingTurn = true;
turnAminationIndex = 0;
if (currentFacing == "right"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_RIGHTTODOWN);
} else {
if (currentFacing == "left"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_LEFTTODOWN);
} else {
if (currentFacing == "up"){
aAnimatingTurnBitmapData = getBitmapState(GamePlay.ANIMATE_UPTODOWN);
} else {
animatingTurn = false;
};
};
};
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_DOWN);
aLastBitmapDataState = aSpriteBitmapData;
moveDown = true;
hitx = 0;
hity = 1;
dx = 0;
dy = 1;
currentFacing = "down";
spriteBitmapDataIndex = 0;
break;
case GamePlay.MOVE_STATE_DEATH:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_DEATH);
moveDeath = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
spriteBitmapDataIndex = 0;
break;
case GamePlay.MOVE_STATE_FADEOUT:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_FADEOUT);
moveFadeOut = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
spriteBitmapDataIndex = 0;
break;
case GamePlay.MOVE_STATE_TRANSPORT:
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_TRANSPORT);
moveFadeOut = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
spriteBitmapDataIndex = 0;
break;
case GamePlay.MOVE_STATE_ERASE:
spriteBitmapDataIndex = 0;
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_ERASE);
moveErase = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
spriteBitmapDataIndex = 0;
break;
case GamePlay.MOVE_STATE_STOP:
aSpriteBitmapData = aLastBitmapDataState;
moveStop = true;
hitx = 0;
hity = 0;
dx = 0;
dy = 0;
newKeyPress = false;
spriteBitmapDataIndex = 0;
break;
};
}
private function powerUpAttackStartListener(_arg1:Event){
accAdjust = 1;
}
public function startDeath():void{
incrementlives(-1);
gamePlay.scorePanel.updateLives(lives);
_rotation = 0;
deathComplete = false;
deathStarted = true;
resetDeathCounters();
setBitmapState(GamePlay.MOVE_STATE_DEATH, aSpriteBitmapData);
resetMovement(GamePlay.MOVE_STATE_DEATH);
}
public function setplayerStartRow(_arg1:int):void{
playerStartRow = _arg1;
}
public function createMoveStates(){
var _local1:Array;
var _local2:Array;
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:Array;
var _local8:Array;
var _local9:Array;
var _local10:Array;
var _local11:Array;
var _local12:Array;
var _local13:Array;
var _local14:Array;
var _local15:Array;
var _local16:Array;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:Array;
var _local21:Array;
var _local22:Array;
var _local23:int;
var _local24:int;
var _local25:int;
var _local26:int;
var _local27:XML;
var _local28:BitmapData;
var _local29:XML;
var _local30:BitmapData;
var _local31:BitmapData;
var _local32:BitmapData;
var _local33:BitmapData;
var _local34:BitmapData;
var _local35:BitmapData;
var _local36:BitmapData;
var _local37:BitmapData;
var _local38:BitmapData;
var _local39:BitmapData;
var _local40:BitmapData;
var _local41:BitmapData;
var _local42:BitmapData;
var _local43:BitmapData;
var _local44:BitmapData;
var _local45:BitmapData;
var _local46:BitmapData;
var _local47:BitmapData;
_local1 = [];
_local2 = [];
_local3 = [];
_local4 = [];
_local5 = [];
_local6 = [];
_local7 = [];
_local8 = [];
_local9 = [];
_local10 = [];
_local11 = [];
_local12 = [];
_local13 = [];
_local14 = [];
_local15 = [];
_local16 = [];
_local17 = [];
_local18 = [];
_local19 = [];
_local20 = [];
_local21 = [];
_local22 = [];
_local26 = gamePlay.gettilesPerRow();
_local27 = gamePlay.getgameXML();
_local28 = gamePlay.getaTilesheetData()[gamePlay.geterasertile()].aTileBitmapData[0];
_local6.push(_local28);
addBitmapState(GamePlay.MOVE_STATE_ERASE, _local6);
addBitmapState(GamePlay.MOVE_STATE_DEATH, _local7);
addBitmapState(GamePlay.MOVE_STATE_FADEOUT, _local8);
addBitmapState(GamePlay.MOVE_STATE_TRANSPORT, _local9);
for each (_local29 in _local27.player.levelout) {
_local25 = int(_local29);
_local30 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local22.push(_local30);
};
addBitmapState(GamePlay.MOVE_STATE_LEVELOUT, _local22);
for each (_local29 in _local27.player.lefttile) {
_local25 = int(_local29);
_local31 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local3.push(_local31);
};
addBitmapState(GamePlay.MOVE_STATE_LEFT, _local3);
for each (_local29 in _local27.player.righttile) {
_local25 = int(_local29);
_local32 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local2.push(_local32);
};
addBitmapState(GamePlay.MOVE_STATE_RIGHT, _local2);
for each (_local29 in _local27.player.uptile) {
_local25 = int(_local29);
_local33 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local4.push(_local33);
};
addBitmapState(GamePlay.MOVE_STATE_UP, _local4);
for each (_local29 in _local27.player.downtile) {
_local25 = int(_local29);
_local34 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local5.push(_local34);
};
addBitmapState(GamePlay.MOVE_STATE_DOWN, _local5);
for each (_local29 in _local27.player.uptolefttile) {
_local25 = int(_local29);
_local35 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local10.push(_local35);
};
addBitmapState(GamePlay.ANIMATE_UPTOLEFT, _local10);
for each (_local29 in _local27.player.uptorighttile) {
_local25 = int(_local29);
_local36 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local11.push(_local36);
};
addBitmapState(GamePlay.ANIMATE_UPTORIGHT, _local11);
for each (_local29 in _local27.player.uptodowntile) {
_local25 = int(_local29);
_local37 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local12.push(_local37);
};
addBitmapState(GamePlay.ANIMATE_UPTODOWN, _local12);
for each (_local29 in _local27.player.downtolefttile) {
_local25 = int(_local29);
_local38 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local13.push(_local38);
};
addBitmapState(GamePlay.ANIMATE_DOWNTOLEFT, _local13);
for each (_local29 in _local27.player.downtorighttile) {
_local25 = int(_local29);
_local39 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local14.push(_local39);
};
addBitmapState(GamePlay.ANIMATE_DOWNTORIGHT, _local14);
for each (_local29 in _local27.player.downtouptile) {
_local25 = int(_local29);
_local40 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local15.push(_local40);
};
addBitmapState(GamePlay.ANIMATE_DOWNTOUP, _local15);
for each (_local29 in _local27.player.lefttouptile) {
_local25 = int(_local29);
_local41 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local16.push(_local41);
};
addBitmapState(GamePlay.ANIMATE_LEFTTOUP, _local16);
for each (_local29 in _local27.player.lefttodowntile) {
_local25 = int(_local29);
_local42 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local17.push(_local42);
};
addBitmapState(GamePlay.ANIMATE_LEFTTODOWN, _local17);
for each (_local29 in _local27.player.lefttorighttile) {
_local25 = int(_local29);
_local43 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local18.push(_local43);
};
addBitmapState(GamePlay.ANIMATE_LEFTTORIGHT, _local18);
for each (_local29 in _local27.player.righttouptile) {
_local25 = int(_local29);
_local44 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local19.push(_local44);
};
addBitmapState(GamePlay.ANIMATE_RIGHTTOUP, _local19);
for each (_local29 in _local27.player.righttodowntile) {
_local25 = int(_local29);
_local45 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local20.push(_local45);
};
addBitmapState(GamePlay.ANIMATE_RIGHTTODOWN, _local20);
for each (_local29 in _local27.player.righttolefttile) {
_local25 = int(_local29);
_local46 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
_local21.push(_local46);
};
addBitmapState(GamePlay.ANIMATE_RIGHTTOLEFT, _local21);
for each (_local29 in _local27.player.invfilter) {
_local25 = int(_local29);
_local47 = gamePlay.getaTilesheetData()[_local25].aTileBitmapData[0];
invFilterArray.push(_local47);
};
}
public function addScorePanelListeners():void{
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMEREND, accTimerEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.INVTIMEREND, invtimerEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.INVTIMERABOUTTOEND, invTimerAboutToEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener, false, 0, true);
}
public function resetDeathCounters():void{
blinkProtectCount = 0;
protectblinkon = false;
transportStarted = false;
eatEnemy = false;
invFilterIndex = 0;
blinkProtect = false;
invincible = false;
bonusXCount = 0;
setbonusX(1);
transportedThisLevel = false;
accAdjust = 0;
}
public function setbonusX(_arg1:int):void{
bonusX = _arg1;
dispatchEvent(new Event(GamePlay.BONUSXUPDATE));
}
override public function render(){
if (deathStarted){
playerDeathUpdate();
};
if (leveloutStarted){
playerLevelOutUpdate();
};
if (transportStarted){
playerTransportUpdate();
};
super.render();
if (transportStarted){
gamePlay.getgameScreenBitmapData().copyPixels(transNextLocBitmapData, new Rectangle(0, 0, tileSize, tileSize), new Point(nextTransportLocationX, nextTransportLocationY));
};
resetRenderBooleans();
if (invFilter){
if (blinkProtect){
blinkProtectCount++;
if (blinkProtectCount > blinkProtectMaxFrames){
blinkProtectCount = 0;
if (protectblinkon){
protectblinkon = false;
} else {
protectblinkon = true;
};
};
};
if (!protectblinkon){
invFilterFrameCtr++;
if (invFilterFrameCtr > invFilterFrameDelay){
invFilterIndex++;
if (invFilterIndex == invFilterArray.length){
invFilterIndex = 0;
};
};
gamePlay.getgameScreenBitmapData().copyPixels(invFilterArray[invFilterIndex], new Rectangle(0, 0, tileSize, tileSize), new Point(x, y));
};
};
}
private function invtimerStartListener(_arg1:Event){
invFilter = true;
blinkProtect = false;
blinkProtectCount = 0;
protectblinkon = false;
invFilterIndex = 0;
invFilterFrameCtr = 0;
}
private function playerdeathStartedListener(_arg1:Event):void{
startDeath();
}
private function invTimerAboutToEndListener(_arg1:Event){
blinkProtect = true;
protectblinkon = true;
}
public function getlives():int{
return (lives);
}
private function playerStartListener(_arg1:Event):void{
initPosition((playerStartCol * tileSize), (playerStartRow * tileSize));
rendervelocity = true;
initMovement("right");
deathStarted = false;
blinkProtect = false;
blinkProtectCount = 0;
protectblinkon = false;
transportedThisLevel = false;
accAdjust = 0;
}
public function startLevelout():void{
invFilter = false;
outCounter = 0;
leveloutStarted = true;
leveloutComplete = false;
aSpriteBitmapData = getBitmapState(GamePlay.MOVE_STATE_LEVELOUT);
setBitmapState(GamePlay.MOVE_STATE_FADEOUT, aSpriteBitmapData);
resetMovement(GamePlay.MOVE_STATE_FADEOUT);
}
function incrementAttackBonus(_arg1:int):void{
attackBonus = (attackBonus + _arg1);
}
public function playerLevelOutUpdate():void{
var _local1:BitmapData;
var _local2:ColorTransform;
var _local3:Rectangle;
if (outCounter < 250){
_local1 = aSpriteBitmapData[spriteBitmapDataIndex].clone();
_local2 = new ColorTransform();
_local2.alphaMultiplier = 0.995;
_local3 = new Rectangle(0, 0, tileSize, tileSize);
_local1.colorTransform(_local3, _local2);
aSpriteBitmapData[spriteBitmapDataIndex] = _local1;
outCounter++;
} else {
if (transportedThisLevel){
createMoveStates();
};
leveloutComplete = true;
resetMovement(GamePlay.MOVE_STATE_ERASE);
};
}
public function initMovement(_arg1:String){
aLastBitmapDataState = (aSpriteBitmapData = getBitmapState(_arg1));
resetMovement("stop");
}
}
}//package
Section 125
//PowerUpType (PowerUpType)
package {
public class PowerUpType {
var playerEatEnemyAdjust:Boolean;// = false
var playerEatEnemyTimeAdd:Number;// = 0
var playerBonusXAdjust:int;// = 0
var playerAccTimeAdd:Number;// = 0
var playerKillAllEnemyAdjust:Boolean;// = true
var playerInvincibleTimeAdd:Number;// = 0
var title:String;
var playerScoreAdjust:Number;// = 0
var playerBonusTimeAdjust:Number;// = 0
var playerAccAdjust:Number;// = 0
var playerBonusAdjust:Number;// = 0
var playerInvincibleAdjust:Boolean;// = false
var type:int;
public function PowerUpType(_arg1:int){
playerAccAdjust = 0;
playerAccTimeAdd = 0;
playerInvincibleAdjust = false;
playerInvincibleTimeAdd = 0;
playerEatEnemyAdjust = false;
playerEatEnemyTimeAdd = 0;
playerScoreAdjust = 0;
playerBonusAdjust = 0;
playerBonusTimeAdjust = 0;
playerKillAllEnemyAdjust = true;
playerBonusXAdjust = 0;
super();
type = _arg1;
}
}
}//package
Section 126
//princess (princess)
package {
import flash.display.*;
public dynamic class princess extends MovieClip {
}
}//package
Section 127
//protect (protect)
package {
import flash.display.*;
public dynamic class protect extends MovieClip {
}
}//package
Section 128
//ReceiverType (ReceiverType)
package {
public class ReceiverType {
var type:int;
var lastOneUsed:int;
var count:int;
public function ReceiverType(_arg1:int){
type = _arg1;
count = 0;
lastOneUsed = 99;
}
}
}//package
Section 129
//ScorePanel (ScorePanel)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class ScorePanel extends Sprite {
public var invTimerStarted:Boolean;// = false
public var attackTime:int;
public var bonusTimerStarted:Boolean;// = false
public var framesCounted:int;// = 0
private var gamePlay:GamePlay;
public var invTime:int;// = 0
public var scorePanel:scorePanel_mc;
public var accTimerStarted:Boolean;// = false
public var bonusTime:int;// = 0
public var attackTimerStarted:Boolean;// = false
public var accTime:int;// = 0
public var frameTimer:Timer;
public function ScorePanel(){
framesCounted = 0;
bonusTimerStarted = false;
bonusTime = 0;
attackTimerStarted = false;
accTimerStarted = false;
accTime = 0;
invTimerStarted = false;
invTime = 0;
super();
scorePanel = new scorePanel_mc();
scorePanel.x = 480;
scorePanel.y = 1;
addChild(scorePanel);
frameTimer = new Timer(1000, 0);
frameTimer.addEventListener(TimerEvent.TIMER, frameCounter, false, 0, true);
frameTimer.start();
}
public function invTimerStop():void{
invTimerStarted = false;
gamePlay.player.invincible = false;
}
function resetAttackTimer():void{
attackTimerStarted = false;
attackTime = 0;
updateAttackTime();
}
private function playerbonusupdateListener(_arg1:Event):void{
updateBonusX();
}
public function bonusTimerSet(_arg1:int):void{
bonusTime = _arg1;
}
public function updateBonusTimer(){
if (bonusTimerStarted){
bonusTime = (bonusTime - 1000);
if (bonusTime < 0){
bonusTime = 0;
bonusTimerStarted = false;
};
updateBonusTime();
};
}
function convertMillisecondsToTimeString(_arg1:int):String{
var _local2:int;
var _local3:int;
var _local4:String;
_local2 = Math.floor((_arg1 / 1000));
_local3 = Math.floor((_local2 / 60));
_local2 = (_local2 - (_local3 * 60));
_local4 = ((_local3 + ":") + String((_local2 + 100)).substr(1, 2));
return (_local4);
}
public function updateAccTimer(){
if (accTimerStarted){
accTime = (accTime - 1000);
if (accTime < 0){
accTime = 0;
dispatchEvent(new Event(GamePlay.ACCTIMEREND));
accTimerStop();
} else {
if (accTime == 2000){
dispatchEvent(new Event(GamePlay.ACCTIMERABOUTTOEND));
};
};
updateAccTime();
};
}
function resetBonusTimer():void{
bonusTimerStarted = false;
bonusTime = 0;
updateBonusTime();
}
private function pauseEndedListener(_arg1:Event):void{
frameTimer.start();
}
public function accTimeIncrement(_arg1:int):void{
accTime = (accTime + _arg1);
}
function updateScore(_arg1:int){
scorePanel.score_txt.text = _arg1.toString();
}
private function accTimerStartListener(_arg1:Event){
accTimerStart();
updateAccTimer();
}
public function updateAttackTimer(){
if (attackTimerStarted){
attackTime = (attackTime - 1000);
if (attackTime < 0){
attackTime = 0;
dispatchEvent(new Event(GamePlay.POWERUPATTACKEND));
attackTimerStarted = false;
} else {
if (attackTime == 2000){
dispatchEvent(new Event(GamePlay.POWERUPATTACKABOUTOEND));
};
};
updateAttackTime();
};
}
function updateLevel(_arg1:int){
scorePanel.level_txt.text = _arg1.toString();
}
function resetAllTimers():void{
resetBonusTimer();
resetAttackTimer();
resetInvTimer();
resetAccTimer();
}
public function accTimerStop():void{
accTimerStarted = false;
}
function resetInvTimer():void{
invTimerStarted = false;
invTime = 0;
updateInvTime();
}
function updateInvTime():void{
scorePanel.invtimer_txt.text = convertMillisecondsToTimeString(invTime);
}
function updateBonusX():void{
scorePanel.bonusx_txt.text = String(gamePlay.getPlayerbonusX());
}
function countFrames(){
framesCounted++;
}
public function accTimerStart():void{
accTimerStarted = true;
}
private function pauseStartedListener(_arg1:Event):void{
frameTimer.stop();
}
public function attackTimerStart(_arg1:int){
if (attackTimerStarted){
attackTime = (attackTime + _arg1);
} else {
attackTimerStarted = true;
attackTime = _arg1;
};
dispatchEvent(new Event(GamePlay.POWERUPATTACKSTART));
}
private function playerdeathStartedListener(_arg1:Event):void{
bonusTimerStop();
resetAttackTimer();
resetInvTimer();
resetAccTimer();
}
public function addGamePlayEventListeners():void{
gamePlay.addEventListener(GamePlay.UPDATE, updateListener, false, 0, true);
gamePlay.player.addEventListener(GamePlay.BONUSXUPDATE, playerbonusupdateListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERSTART, playerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDEATHSTARTED, playerdeathStartedListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEROUTSTARTED, playeroutStartedListener, false, 0, true);
gamePlay.addEventListener(GamePlay.ACCTIMERSTART, accTimerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.INVTIMERSTART, invTimerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PAUSEDSTARTED, pauseStartedListener, false, 0, true);
gamePlay.pausedScreen.addEventListener(PausedScreen.COMPLETE, pauseEndedListener, false, 0, true);
}
public function invTimeIncrement(_arg1:int):void{
invTime = (invTime + _arg1);
}
function resetAccTimer():void{
accTimerStarted = false;
accTime = 0;
updateAccTime();
}
private function updateListener(_arg1:Event):void{
countFrames();
}
public function updateInvTimer(){
if (invTimerStarted){
invTime = (invTime - 1000);
if (invTime < 0){
invTime = 0;
dispatchEvent(new Event(GamePlay.INVTIMEREND));
invTimerStop();
} else {
if (invTime == 2000){
dispatchEvent(new Event(GamePlay.INVTIMERABOUTTOEND));
};
};
scorePanel.invtimer_txt.text = convertMillisecondsToTimeString(invTime);
};
}
public function bonusTimerStart():void{
bonusTimerStarted = true;
}
public function bonusTimerStop():void{
bonusTimerStarted = false;
}
private function invTimerStartListener(_arg1:Event){
invTimerStart();
updateInvTimer();
}
public function attackTimerStop():void{
attackTimerStarted = false;
}
function updateBonusTime():void{
scorePanel.bonustimer_txt.text = convertMillisecondsToTimeString(bonusTime);
}
function updateLives(_arg1:int){
scorePanel.lives_txt.text = _arg1.toString();
}
public function setGamePlay(_arg1:GamePlay){
gamePlay = _arg1;
}
private function playerStartListener(_arg1:Event):void{
bonusTimerStart();
}
function frameCounter(_arg1:TimerEvent){
scorePanel.frameCount_txt.text = framesCounted.toString();
framesCounted = 0;
updateBonusTimer();
updateAttackTimer();
updateInvTimer();
updateAccTimer();
}
private function playeroutStartedListener(_arg1:Event):void{
bonusTimerStop();
resetAttackTimer();
resetAccTimer();
resetInvTimer();
}
function updateAttackTime():void{
scorePanel.attacktimer_txt.text = convertMillisecondsToTimeString(attackTime);
}
function updateAccTime():void{
scorePanel.acctimer_txt.text = convertMillisecondsToTimeString(accTime);
}
public function invTimerStart():void{
invTimerStarted = true;
gamePlay.player.invincible = true;
}
}
}//package
Section 130
//scorePanel_mc (scorePanel_mc)
package {
import flash.display.*;
import flash.text.*;
public dynamic class scorePanel_mc extends MovieClip {
public var acctimer_txt:TextField;
public var attacktimer_txt:TextField;
public var level_txt:TextField;
public var lives_txt:TextField;
public var bonustimer_txt:TextField;
public var score_txt:TextField;
public var frameCount_txt:TextField;
public var bonusx_txt:TextField;
public var invtimer_txt:TextField;
}
}//package
Section 131
//smart1 (smart1)
package {
import flash.display.*;
public dynamic class smart1 extends MovieClip {
}
}//package
Section 132
//smart2 (smart2)
package {
import flash.display.*;
public dynamic class smart2 extends MovieClip {
}
}//package
Section 133
//smart3 (smart3)
package {
import flash.display.*;
public dynamic class smart3 extends MovieClip {
}
}//package
Section 134
//smart4 (smart4)
package {
import flash.display.*;
public dynamic class smart4 extends MovieClip {
}
}//package
Section 135
//smart5 (smart5)
package {
import flash.display.*;
public dynamic class smart5 extends MovieClip {
}
}//package
Section 136
//smart6 (smart6)
package {
import flash.display.*;
public dynamic class smart6 extends MovieClip {
}
}//package
Section 137
//smart7 (smart7)
package {
import flash.display.*;
public dynamic class smart7 extends MovieClip {
}
}//package
Section 138
//smart8 (smart8)
package {
import flash.display.*;
public dynamic class smart8 extends MovieClip {
}
}//package
Section 139
//SoundAttack (SoundAttack)
package {
import flash.media.*;
public dynamic class SoundAttack extends Sound {
}
}//package
Section 140
//SoundBonusCount (SoundBonusCount)
package {
import flash.media.*;
public dynamic class SoundBonusCount extends Sound {
}
}//package
Section 141
//SoundBonusXUpdate (SoundBonusXUpdate)
package {
import flash.media.*;
public dynamic class SoundBonusXUpdate extends Sound {
}
}//package
Section 142
//SoundDoor (SoundDoor)
package {
import flash.media.*;
public dynamic class SoundDoor extends Sound {
}
}//package
Section 143
//SoundEatDot (SoundEatDot)
package {
import flash.media.*;
public dynamic class SoundEatDot extends Sound {
}
}//package
Section 144
//SoundEatEnemy (SoundEatEnemy)
package {
import flash.media.*;
public dynamic class SoundEatEnemy extends Sound {
}
}//package
Section 145
//SoundEatPowerup (SoundEatPowerup)
package {
import flash.media.*;
public dynamic class SoundEatPowerup extends Sound {
}
}//package
Section 146
//SoundFreeze (SoundFreeze)
package {
import flash.media.*;
public dynamic class SoundFreeze extends Sound {
}
}//package
Section 147
//SoundFreezeEffect (SoundFreezeEffect)
package {
import flash.media.*;
public dynamic class SoundFreezeEffect extends Sound {
}
}//package
Section 148
//SoundKey (SoundKey)
package {
import flash.media.*;
public dynamic class SoundKey extends Sound {
}
}//package
Section 149
//SoundKillAll (SoundKillAll)
package {
import flash.media.*;
public dynamic class SoundKillAll extends Sound {
}
}//package
Section 150
//SoundLevelOut (SoundLevelOut)
package {
import flash.media.*;
public dynamic class SoundLevelOut extends Sound {
}
}//package
Section 151
//SoundManager (SoundManager)
package {
import flash.events.*;
import flash.media.*;
public class SoundManager {
public var playerStart:SoundPlayerStart;
var channel:SoundChannel;
public var warningAttack:SoundWarningAttack;
public var freezeEffect:SoundFreezeEffect;
public var eatEnemy:SoundEatEnemy;
public var pop1:SoundPop1;
public var inGameMusic2Channel:SoundChannel;
public var killallChannel:SoundChannel;
public var playerDieChannel:SoundChannel;
public var totalbonusChannel:SoundChannel;
public var transport:SoundTransport;
public var bonusCount:SoundBonusCount;
public var protectChannel:SoundChannel;
public var warningFreezeChannel:SoundChannel;
public var inGameMusic1Channel:SoundChannel;
public var bonusxupdate:SoundBonusXUpdate;
public var inGameMusic1:SoundMusicIngame1;
public var inGameMusic2:SoundMusicIngame2;
var transform1:SoundTransform;
public var gamePlay:GamePlay;
var transform3:SoundTransform;
public var inGameMusic2Playing:Boolean;// = false
var transform2:SoundTransform;
public var levelout:SoundLevelOut;
public var warningFreeze:SoundWarningFreeze;
public var attack:SoundAttack;
public var leveloutChannel:SoundChannel;
public var totalbonus:SoundTotalbonus;
public var warningAttackChannel:SoundChannel;
public var bonusxupdateChannel:SoundChannel;
public var princess:SoundPrincess;
var transform4:SoundTransform;
public var inGameMusic1Playing:Boolean;// = false
public var freezeChannel:SoundChannel;
public var key:SoundKey;
public var princessChannel:SoundChannel;
var transform:SoundTransform;
public var doorChannel:SoundChannel;
public var killall:SoundKillAll;
public var princessPlaying:Boolean;// = false
public var winChannel:SoundChannel;
var channel2:SoundChannel;
public var warningProtect:SoundWarningProtect;
public var titleMusicChannel:SoundChannel;
public var freeze:SoundFreeze;
public var transportChannel:SoundChannel;
public var attackChannel:SoundChannel;
public var keyChannel:SoundChannel;
public var titleMusic:SoundMusic1;
public var door:SoundDoor;
public var bonusCountChannel:SoundChannel;
public var titleMusicPlaying:Boolean;// = false
public var playerStartChannel:SoundChannel;
public var protect:SoundProtect;
public var eatDot:SoundEatDot;
public var eatEnemyChannel:SoundChannel;
public var freezeEffectChannel:SoundChannel;
public var win:Soundwinsong;
public var playerDie:SoundPlayerDie;
public var pop1Channel:SoundChannel;
public var eatPowerup:SoundEatPowerup;
public var warningProtectChannel:SoundChannel;
public var eatDotChannel:SoundChannel;
public var eatPowerupChannel:SoundChannel;
public function SoundManager(){
titleMusicPlaying = false;
inGameMusic1Playing = false;
inGameMusic2Playing = false;
princessPlaying = false;
transform = new SoundTransform();
transform1 = new SoundTransform();
transform2 = new SoundTransform();
transform3 = new SoundTransform();
transform4 = new SoundTransform();
super();
init();
}
public function playPlayerDie():void{
playerDieChannel = playerDie.play();
playerDieChannel.soundTransform = transform4;
}
public function stopTotalbonus():void{
totalbonus.stop();
}
public function winSong():void{
playSound("win", 2, 1);
}
public function stopWinSong():void{
stopSound("win");
}
public function initListeners():void{
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKSTART, powerUpAttackStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKEND, powerUpAttackEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERSTART, playerStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDEATHCOMPLETE, playerDeathCompleteListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEREATDOT, playerEatDotListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEREATPOWERUP, playerEatPowerupListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEREATENEMY, playerEatEnemyListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYERDIE, playerDieListener, false, 0, true);
gamePlay.addEventListener(GamePlay.LEVELOUTCOUNTTIMEBONUS, levelOutCountTimeBonusListener, false, 0, true);
gamePlay.addEventListener(GamePlay.PLAYEROUTSTARTED, playerOutStartedListener, false, 0, true);
gamePlay.addEventListener(GamePlay.ACCTIMERSTART, accTimerStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.ACCTIMERABOUTTOEND, accTimerToEndListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.POWERUPATTACKABOUTOEND, powerUpAttackAboutToEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.INVTIMERSTART, invTimerStartListener, false, 0, true);
gamePlay.scorePanel.addEventListener(GamePlay.INVTIMERABOUTTOEND, invTimerAboutToEndListener, false, 0, true);
gamePlay.addEventListener(GamePlay.TRANSPORTSTART, transportStartListener, false, 0, true);
gamePlay.addEventListener(GamePlay.KEYEATEN, keyEatenListener, false, 0, true);
gamePlay.addEventListener(GamePlay.POWERUPKILLALL, powerUpKillAllListener, false, 0, true);
gamePlay.player.addEventListener(GamePlay.INCREMENTBONUSX, bonusXUpdateListener, false, 0, true);
gamePlay.addEventListener(GamePlay.POWERUPPRINCESSPLAYSOUND, powerUpPrincessListener, false, 0, true);
}
public function playTitleMusic():void{
if (!titleMusicPlaying){
titleMusicChannel = titleMusic.play(0, 1000);
titleMusicPlaying = true;
};
}
private function bonusXUpdateListener(_arg1:Event):void{
playSound("bonusxupdate", 1, 2);
}
public function playEatDot():void{
eatDotChannel = eatDot.play();
eatDotChannel.soundTransform = transform2;
}
public function stopPop1():void{
pop1Channel.stop();
}
public function init():void{
titleMusic = new SoundMusic1();
inGameMusic1 = new SoundMusicIngame1();
inGameMusic2 = new SoundMusicIngame2();
playerStart = new SoundPlayerStart();
eatDot = new SoundEatDot();
eatEnemy = new SoundEatEnemy();
playerDie = new SoundPlayerDie();
eatPowerup = new SoundEatPowerup();
bonusCount = new SoundBonusCount();
pop1 = new SoundPop1();
totalbonus = new SoundTotalbonus();
warningFreeze = new SoundWarningFreeze();
warningAttack = new SoundWarningAttack();
warningProtect = new SoundWarningProtect();
freeze = new SoundFreeze();
freezeEffect = new SoundFreezeEffect();
attack = new SoundAttack();
protect = new SoundProtect();
transport = new SoundTransport();
key = new SoundKey();
door = new SoundDoor();
killall = new SoundKillAll();
bonusxupdate = new SoundBonusXUpdate();
levelout = new SoundLevelOut();
princess = new SoundPrincess();
win = new Soundwinsong();
transform1.volume = 3;
transform2.volume = 0.5;
transform3.volume = 2;
transform4.volume = 0.1;
}
private function powerUpAttackStartListener(_arg1:Event):void{
if (inGameMusic1Playing){
stopInGameMusic1();
};
if (inGameMusic2Playing){
stopInGameMusic2();
};
playInGameMusic2();
playSound("attack", 1, 1);
}
public function stopEatEnemy():void{
eatEnemyChannel.stop();
}
public function stopSound(_arg1:String):void{
var _local2:*;
_local2 = this[(_arg1 + "Channel")];
_local2.stop();
}
public function playEatPowerup():void{
eatPowerupChannel = eatPowerup.play();
eatPowerupChannel.soundTransform = transform3;
}
public function playPop1():void{
pop1Channel = pop1.play();
}
public function stopTitleMusic():void{
if (titleMusicPlaying){
titleMusicChannel.stop();
titleMusicPlaying = false;
};
}
private function playerDeathCompleteListener(_arg1:Event):void{
if (inGameMusic1Playing){
stopInGameMusic1();
};
if (inGameMusic2Playing){
stopInGameMusic2();
};
}
public function playSound(_arg1:String, _arg2:Number, _arg3:Number):void{
var sName = _arg1;
var iLoop = _arg2;
var volume = _arg3;
try {
transform.volume = volume;
channel = this[sName].play(0, iLoop);
this[(sName + "Channel")] = channel;
channel.soundTransform = transform;
} catch(e:Error) {
transform.volume = volume;
channel = this[sName].play(0, iLoop);
this[(sName + "Channel")] = channel;
};
}
public function playEatEnemy():void{
eatEnemyChannel = eatEnemy.play();
eatEnemyChannel.soundTransform = transform2;
}
public function stopInGameMusic1():void{
inGameMusic1Channel.stop();
inGameMusic1Playing = false;
}
public function stopInGameMusic2():void{
if (inGameMusic2Playing){
inGameMusic2Channel.stop();
inGameMusic2Playing = false;
};
}
private function accTimerStartListener(_arg1:Event):void{
playSound("freeze", 1, 1);
playSound("freezeEffect", 1, 0.5);
}
public function stopEatDot():void{
eatDotChannel.stop();
}
private function accTimerToEndListener(_arg1:Event):void{
playSound("warningFreeze", 1, 1);
}
private function transportStartListener(_arg1:Event):void{
playSound("transport", 1, 1);
}
private function playerEatPowerupListener(_arg1:Event):void{
playSound("eatPowerup", 1, 2);
}
public function playInGameMusic2():void{
inGameMusic2Channel = inGameMusic2.play(0, 5000);
inGameMusic2Channel.soundTransform = transform2;
inGameMusic2Playing = true;
}
public function playBonusCount():void{
bonusCountChannel = bonusCount.play();
}
public function playPlayerStart():void{
playerStartChannel = playerStart.play();
playerStartChannel.soundTransform = transform1;
}
private function levelOutCountTimeBonusListener(_arg1:Event):void{
playSound("bonusCount", 1, 0.1);
}
private function powerUpAttackEndListener(_arg1:Event):void{
if (inGameMusic1Playing){
stopInGameMusic1();
};
if (inGameMusic2Playing){
stopInGameMusic2();
};
playInGameMusic1();
}
public function setgamePlay(_arg1:GamePlay):void{
gamePlay = _arg1;
}
private function invTimerAboutToEndListener(_arg1:Event):void{
playSound("warningProtect", 1, 1);
}
private function powerUpKillAllListener(_arg1:Event):void{
playSound("killall", 1, 2);
}
public function stopPowerupDot():void{
eatPowerupChannel.stop();
}
public function stopPlayerStart():void{
playerStartChannel.stop();
}
private function playerDieListener(_arg1:Event):void{
playSound("playerDie", 1, 0.1);
if (inGameMusic1Playing){
stopInGameMusic1();
};
if (inGameMusic2Playing){
stopInGameMusic2();
};
}
public function codeAccepted():void{
playSound("bonusxupdate", 1, 2);
}
public function playInGameMusic1():void{
inGameMusic1Channel = inGameMusic1.play(0, 5000);
inGameMusic1Channel.soundTransform = transform2;
inGameMusic1Playing = true;
}
private function powerUpAttackAboutToEndListener(_arg1:Event):void{
playSound("warningAttack", 1, 1);
}
private function keyEatenListener(_arg1:Event):void{
playSound("key", 1, 2);
playSound("door", 1, 1);
}
private function playerStartListener(_arg1:Event){
playSound("playerStart", 1, 3);
playInGameMusic1();
}
public function menuMove():void{
playSound("eatDot", 1, 0.5);
}
public function stopBonusCount():void{
bonusCountChannel.stop();
}
private function invTimerStartListener(_arg1:Event):void{
playSound("protect", 1, 1);
}
private function powerUpPrincessListener(_arg1:Event):void{
playSound("princess", 2, 2);
}
private function playerEatEnemyListener(_arg1:Event):void{
playSound("eatEnemy", 1, 0.5);
}
public function playerEatDotListener(_arg1:Event):void{
playSound("eatDot", 1, 0.5);
}
public function menuMoveSelect():void{
playSound("key", 1, 2);
}
private function playerOutStartedListener(_arg1:Event):void{
if (inGameMusic1Playing){
stopInGameMusic1();
};
if (inGameMusic2Playing){
stopInGameMusic2();
};
playSound("levelout", 1, 2);
}
public function playTotalbonus():void{
totalbonusChannel = totalbonus.play();
}
public function stopPlayerDie():void{
playerDieChannel.stop();
}
}
}//package
Section 152
//SoundMusic1 (SoundMusic1)
package {
import flash.media.*;
public dynamic class SoundMusic1 extends Sound {
}
}//package
Section 153
//SoundMusicIngame1 (SoundMusicIngame1)
package {
import flash.media.*;
public dynamic class SoundMusicIngame1 extends Sound {
}
}//package
Section 154
//SoundMusicIngame2 (SoundMusicIngame2)
package {
import flash.media.*;
public dynamic class SoundMusicIngame2 extends Sound {
}
}//package
Section 155
//SoundPlayerDie (SoundPlayerDie)
package {
import flash.media.*;
public dynamic class SoundPlayerDie extends Sound {
}
}//package
Section 156
//SoundPlayerStart (SoundPlayerStart)
package {
import flash.media.*;
public dynamic class SoundPlayerStart extends Sound {
}
}//package
Section 157
//SoundPop1 (SoundPop1)
package {
import flash.media.*;
public dynamic class SoundPop1 extends Sound {
}
}//package
Section 158
//SoundPrincess (SoundPrincess)
package {
import flash.media.*;
public dynamic class SoundPrincess extends Sound {
}
}//package
Section 159
//SoundProtect (SoundProtect)
package {
import flash.media.*;
public dynamic class SoundProtect extends Sound {
}
}//package
Section 160
//SoundTotalbonus (SoundTotalbonus)
package {
import flash.media.*;
public dynamic class SoundTotalbonus extends Sound {
}
}//package
Section 161
//SoundTransport (SoundTransport)
package {
import flash.media.*;
public dynamic class SoundTransport extends Sound {
}
}//package
Section 162
//SoundWarningAttack (SoundWarningAttack)
package {
import flash.media.*;
public dynamic class SoundWarningAttack extends Sound {
}
}//package
Section 163
//SoundWarningFreeze (SoundWarningFreeze)
package {
import flash.media.*;
public dynamic class SoundWarningFreeze extends Sound {
}
}//package
Section 164
//SoundWarningProtect (SoundWarningProtect)
package {
import flash.media.*;
public dynamic class SoundWarningProtect extends Sound {
}
}//package
Section 165
//Soundwinsong (Soundwinsong)
package {
import flash.media.*;
public dynamic class Soundwinsong extends Sound {
}
}//package
Section 166
//Tile (Tile)
package {
import flash.events.*;
public class Tile extends BasicGameTile {
var destX;
var destY:int;
var gamePlay:GamePlay;
public function Tile(_arg1:int, _arg2:GamePlay){
tileSheetID = _arg1;
gamePlay = _arg2;
}
public function setkeyEatenListener(){
gamePlay.addEventListener(GamePlay.KEYEATEN, keyEatenListener, false, 0, true);
}
private function renderListener(_arg1:Event):void{
render();
}
public function addRenderListener(){
}
override public function render(){
if (animate){
animationFrameCount++;
if (animationFrameCount > animationFrameDelay){
tileBitmapDataIndex++;
if (tileBitmapDataIndex == aTileBitmapData.length){
if (isDoor){
animate = false;
isWalkable = true;
tileBitmapDataIndex--;
} else {
tileBitmapDataIndex = 0;
};
};
animationFrameCount = 0;
};
};
}
private function keyEatenListener(_arg1:Event):void{
animate = true;
}
}
}//package
Section 167
//TileSheet (TileSheet)
package {
import flash.display.*;
import flash.geom.*;
public class TileSheet {
var tilesPerRow:int;
var tilesheetXML:TilesheetDataXML;
var height:int;
var tileXML:XML;
var width;
var bitmapSheet:BitmapData;
var tileSize:int;
var aTileData:Array;
public function TileSheet(_arg1, _arg2, _arg3){
aTileData = [];
super();
height = _arg2;
width = _arg1;
tileSize = _arg3;
tilesPerRow = (width / tileSize);
bitmapSheet = new tileSheet_png(_arg1, _arg2);
loadTilesheetXML();
}
public function getaTileData():Array{
return (aTileData);
}
public function loadTilesheetXML(){
var _local1:int;
var _local2:*;
var _local3:BasicGameTile;
var _local4:int;
var _local5:int;
var _local6:BitmapData;
var _local7:String;
var _local8:Array;
var _local9:int;
var _local10:*;
var _local11:*;
tilesheetXML = new TilesheetDataXML();
tileXML = tilesheetXML.getXML();
_local1 = tileXML.tile.length();
_local2 = 0;
while (_local2 < _local1) {
_local3 = new BasicGameTile();
_local4 = ((_local2 % tilesPerRow) * tileSize);
_local5 = (int((_local2 / tilesPerRow)) * tileSize);
_local6 = new BitmapData(tileSize, tileSize, true, 0);
_local6.copyPixels(bitmapSheet, new Rectangle(_local4, _local5, tileSize, tileSize), new Point(0, 0));
_local3.aTileBitmapData.push(_local6);
_local3.tileSize = tileSize;
if (tileXML.tile[_local2].@w == "1"){
_local3.isWalkable = true;
};
if (tileXML.tile[_local2].@c == "1"){
_local3.isCollectible = true;
};
if (tileXML.tile[_local2].@p == "1"){
_local3.isPowerUp = true;
_local3.powerUpType = int(tileXML.tile[_local2].@pt);
};
if (tileXML.tile[_local2].@t == "1"){
_local3.isTransport = true;
if (tileXML.tile[_local2].@tid != null){
_local3.transportID = tileXML.tile[_local2].@tid;
} else {
_local3.isTransport = false;
};
};
if (tileXML.tile[_local2].@r == "1"){
_local3.isReceiver = true;
if (tileXML.tile[_local2].@tid != null){
_local3.transportID = tileXML.tile[_local2].@tid;
} else {
_local3.isReceiver = false;
};
};
if (tileXML.tile[_local2].@k == "1"){
_local3.isKey = true;
};
if (tileXML.tile[_local2].@d == "1"){
_local3.isDoor = true;
};
if (tileXML.tile[_local2].@a == "1"){
_local7 = new String(tileXML.tile[_local2].@aList);
if (_local7 != null){
if (_local3.isDoor){
_local3.animate = false;
} else {
_local3.animate = true;
};
_local8 = _local7.split(",");
_local9 = 0;
while (_local9 < _local8.length) {
_local10 = int(_local8[_local9]);
_local11 = new BitmapData(tileSize, tileSize, true, 0);
_local4 = ((_local10 % tilesPerRow) * tileSize);
_local5 = (int((_local10 / tilesPerRow)) * tileSize);
_local11.copyPixels(bitmapSheet, new Rectangle(_local4, _local5, tileSize, tileSize), new Point(0, 0));
_local3.animationFrameDelay = 10;
_local3.aTileBitmapData.push(_local11);
_local9++;
};
} else {
_local3.animate = false;
};
};
if (tileXML.tile[_local2].@eg == "1"){
_local3.isEnemyGenerator = true;
};
aTileData.push(_local3);
_local2++;
};
}
public function getbitmapSheet():BitmapData{
return (bitmapSheet);
}
public function dispose(){
var _local1:int;
bitmapSheet = null;
tilesheetXML = null;
tileXML = null;
_local1 = 0;
while (_local1 < aTileData.length) {
aTileData[_local1] = null;
_local1++;
};
}
}
}//package
Section 168
//tileSheet_png (tileSheet_png)
package {
import flash.display.*;
public dynamic class tileSheet_png extends BitmapData {
public function tileSheet_png(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 169
//TilesheetDataXML (TilesheetDataXML)
package {
public class TilesheetDataXML {
var XMLData:XML;
public function TilesheetDataXML(){
XMLData = <tilesheet>
<tile id="0"></tile>
<tile id="1"></tile>
<tile id="2" w="0" c="0" p="0"></tile>
<tile id="3" w="0" c="0" p="0"></tile>
<tile id="4" w="0" c="0" p="0"></tile>
<tile id="5" w="0" c="0" p="0"></tile>
<tile id="6" w="0" c="0" p="0"></tile>
<tile id="7" w="0" c="0" p="0"></tile>
<tile id="8" w="0" c="0" p="0"></tile>
<tile id="9" w="0" c="0" p="0"></tile>
<tile id="10" w="0" c="0" p="0"></tile>
<tile id="11" w="0" c="0" p="0"></tile>
<tile id="12" w="0" c="0" p="0"></tile>
<tile id="13" w="1" c="0" p="0"></tile>
<tile id="14" w="1" c="0" p="0"></tile>
<tile id="15" w="1" c="1" p="0"></tile>
<tile id="16" w="0" c="0" p="0"></tile>
<tile id="17" w="0" c="0" p="0"></tile>
<tile id="18" w="0" c="0" p="0"></tile>
<tile id="19" w="1" c="0" p="0"></tile>
<tile id="20"></tile>
<tile id="21" w="0" c="0" p="0"></tile>
<tile id="22" w="0" c="0" p="0"></tile>
<tile id="23" w="0" c="0" p="0"></tile>
<tile id="24" w="0" c="0" p="0"></tile>
<tile id="25" w="0" c="0" p="0"></tile>
<tile id="26" w="0" c="0" p="0" eg="1"></tile>
<tile id="27" w="0" c="0" p="0"></tile>
<tile id="28" w="0" c="0" p="0"></tile>
<tile id="29" w="0" c="0" p="0"></tile>
<tile id="30" w="0" c="0" p="0" eg="1"></tile>
<tile id="31" w="0" c="0" p="0"></tile>
<tile id="32"></tile>
<tile id="33"></tile>
<tile id="34"></tile>
<tile id="35"></tile>
<tile id="36"></tile>
<tile id="37"></tile>
<tile id="38"></tile>
<tile id="39"></tile>
<tile id="40"></tile>
<tile id="41"></tile>
<tile id="42"></tile>
<tile id="43"></tile>
<tile id="44"></tile>
<tile id="45"></tile>
<tile id="46"></tile>
<tile id="47"></tile>
<tile id="48" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="49,50,51,52,53,54"></tile>
<tile id="49" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,50,51,52,53,54"></tile>
<tile id="50" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,49,51,52,53,54"></tile>
<tile id="51" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,49,50,52,53,54"></tile>
<tile id="52" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,49,50,51,53,54"></tile>
<tile id="53" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,49,50,51,52,54"></tile>
<tile id="54" w="1" c="0" p="0" a="1" t="1" tid="1" r="0" aList="48,49,50,51,52,53"></tile>
<tile id="55" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="62,63,74,75,76"></tile>
<tile id="56"></tile>
<tile id="57"></tile>
<tile id="58"></tile>
<tile id="59"></tile>
<tile id="60"></tile>
<tile id="61"></tile>
<tile id="62" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="55,63,74,75,76"></tile>
<tile id="63" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="55,62,74,75,76"></tile>
<tile id="64" w="1" c="1" p="1" pt="1" a="1" aList="65,66,67,68"></tile>
<tile id="65" w="1" c="1" p="1" pt="1" a="1" aList="64,66,67,68"></tile>
<tile id="66" w="1" c="1" p="1" pt="1" a="1" aList="64,65,67,68"></tile>
<tile id="67" w="1" c="1" p="1" pt="1" a="1" aList="64,65,66,68"></tile>
<tile id="68" w="1" c="1" p="1" pt="1" a="1" aList="64,65,66,67"></tile>
<tile id="69" w="1" c="1" p="1" pt="7" a="1" aList="70,71,72,73"></tile>
<tile id="70" w="1" c="1" p="1" pt="7" a="1" aList="69,71,72,73"></tile>
<tile id="71" w="1" c="1" p="1" pt="7" a="1" aList="69,70,72,73"></tile>
<tile id="72" w="1" c="1" p="1" pt="7" a="1" aList="69,70,71,73"></tile>
<tile id="73" w="1" c="1" p="1" pt="7" a="1" aList="69,70,71,72"></tile>
<tile id="74" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="55,62,63,75,76"></tile>
<tile id="75" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="55,62,63,74,76"></tile>
<tile id="76" w="1" c="0" p="0" a="1" t="0" tid="1" r="1" aList="55,62,63,74,75"></tile>
<tile id="77" w="0" c="0" p="0"></tile>
<tile id="78" w="0" c="0" p="0"></tile>
<tile id="79" w="0" c="0" p="0"></tile>
<tile id="80" w="1" c="1" p="1" pt="8" a="1" aList="81,82,83,84"></tile>
<tile id="81" w="1" c="1" p="1" pt="8" a="1" aList="80,82,83,84"></tile>
<tile id="82" w="1" c="1" p="1" pt="8" a="1" aList="80,81,83,84"></tile>
<tile id="83" w="1" c="1" p="1" pt="8" a="1" aList="80,81,82,84"></tile>
<tile id="84" w="1" c="1" p="1" pt="8" a="1" aList="80,81,82,83"></tile>
<tile id="85" w="1" c="1" p="1" pt="9" a="1" aList="86,87,88,89"></tile>
<tile id="86" w="1" c="1" p="1" pt="9" a="1" aList="85,87,88,89"></tile>
<tile id="87" w="1" c="1" p="1" pt="9" a="1" aList="85,86,88,89"></tile>
<tile id="88" w="1" c="1" p="1" pt="9" a="1" aList="85,86,87,89"></tile>
<tile id="89" w="1" c="1" p="1" pt="9" a="1" aList="85,86,87,88"></tile>
<tile id="90" w="1" c="1" p="1" pt="10"></tile>
<tile id="91"></tile>
<tile id="92" w="0" c="0" p="0"></tile>
<tile id="93" w="0" c="0" p="0"></tile>
<tile id="94" w="0" c="0" p="0"></tile>
<tile id="95" w="1" c="1" p="0"></tile>
<tile id="96"></tile>
<tile id="97"></tile>
<tile id="98"></tile>
<tile id="99"></tile>
<tile id="100"></tile>
<tile id="101" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="102,103,104,105,106"></tile>
<tile id="102" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="101,103,104,105,106"></tile>
<tile id="103" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="101,102,104,105,106"></tile>
<tile id="104" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="101,102,103,105,106"></tile>
<tile id="105" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="101,102,103,104,106"></tile>
<tile id="106" w="1" c="0" p="0" a="1" t="1" tid="2" r="0" aList="101,102,103,104,105"></tile>
<tile id="107"></tile>
<tile id="108" w="0" c="0" p="0"></tile>
<tile id="109"></tile>
<tile id="110"></tile>
<tile id="111"></tile>
<tile id="112" w="0" c="0" p="0" a="1" d="1" aList="113,114"></tile>
<tile id="113" w="0" c="0" p="0" a="0" d="1"></tile>
<tile id="114" w="0" c="0" p="0" a="0" d="1"></tile>
<tile id="115" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="116,117,118,119,120"></tile>
<tile id="116" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="115,117,118,119,120"></tile>
<tile id="117" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="115,116,118,119,120"></tile>
<tile id="118" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="115,116,117,119,120"></tile>
<tile id="119" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="115,116,117,118,120"></tile>
<tile id="120" w="1" c="0" p="0" a="1" t="0" tid="2" r="1" aList="115,116,117,118,119"></tile>
<tile id="121" w="1" c="0" p="0" a="1" t="1" tid="3" r="0" aList="122,123,124,125"></tile>
<tile id="122" w="1" c="0" p="0" a="1" t="1" tid="3" r="0" aList="121,123,124,125"></tile>
<tile id="123" w="1" c="0" p="0" a="1" t="1" tid="3" r="0" aList="121,122,124,125"></tile>
<tile id="124" w="1" c="0" p="0" a="1" t="1" tid="3" r="0" aList="121,122,123,125"></tile>
<tile id="125" w="1" c="0" p="0" a="1" t="1" tid="3" r="0" aList="121,122,123,124"></tile>
<tile id="126"></tile>
<tile id="127"></tile>
<tile id="128" w="1" c="1" p="0" a="1" k="1" aList="129,130,131,132"></tile>
<tile id="129" w="1" c="1" p="0" a="1" k="1" aList="128,130,131,132"></tile>
<tile id="130" w="1" c="1" p="0" a="1" k="1" aList="128,129,131,132"></tile>
<tile id="131" w="1" c="1" p="0" a="1" k="1" aList="128,129,130,132"></tile>
<tile id="132" w="1" c="1" p="0" a="1" k="1" aList="128,129,130,131"></tile>
<tile id="133" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="134,135,136,137,138"></tile>
<tile id="134" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="133,135,136,137,138"></tile>
<tile id="135" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="133,134,136,137,138"></tile>
<tile id="136" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="133,134,135,137,138"></tile>
<tile id="137" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="133,134,135,136,138"></tile>
<tile id="138" w="1" c="0" p="0" a="1" t="0" tid="3" r="1" aList="133,134,135,136,137"></tile>
<tile id="139"></tile>
<tile id="140"></tile>
<tile id="141"></tile>
<tile id="142"></tile>
<tile id="143"></tile>
<tile id="144"></tile>
<tile id="145"></tile>
<tile id="146"></tile>
<tile id="147"></tile>
<tile id="148"></tile>
<tile id="149"></tile>
<tile id="150"></tile>
<tile id="151"></tile>
<tile id="152"></tile>
<tile id="153"></tile>
<tile id="154"></tile>
<tile id="155"></tile>
<tile id="156"></tile>
<tile id="157"></tile>
<tile id="158"></tile>
<tile id="159"></tile>
<tile id="160"></tile>
<tile id="161"></tile>
<tile id="162"></tile>
<tile id="163"></tile>
<tile id="164"></tile>
<tile id="165"></tile>
<tile id="166"></tile>
<tile id="167"></tile>
<tile id="168"></tile>
<tile id="169"></tile>
<tile id="170"></tile>
<tile id="171"></tile>
<tile id="172"></tile>
<tile id="173"></tile>
<tile id="174"></tile>
<tile id="175"></tile>
<tile id="176"></tile>
<tile id="177"></tile>
<tile id="178"></tile>
<tile id="179"></tile>
<tile id="180"></tile>
<tile id="181"></tile>
<tile id="182"></tile>
<tile id="183"></tile>
<tile id="184"></tile>
<tile id="185"></tile>
<tile id="186"></tile>
<tile id="187"></tile>
<tile id="188"></tile>
<tile id="189"></tile>
<tile id="190"></tile>
<tile id="191"></tile>
<tile id="192"></tile>
<tile id="193"></tile>
<tile id="194"></tile>
<tile id="195"></tile>
<tile id="196"></tile>
<tile id="197"></tile>
<tile id="198"></tile>
<tile id="199"></tile>
<tile id="200"></tile>
<tile id="201"></tile>
<tile id="202"></tile>
<tile id="203"></tile>
<tile id="204"></tile>
<tile id="205" w="1" c="1" p="1" pt="2" a="1" aList="206,207"></tile>
<tile id="206" w="1" c="1" p="1" pt="2" a="1" aList="205,207"></tile>
<tile id="207" w="1" c="1" p="1" pt="2" a="1" aList="205,206"></tile>
<tile id="208"></tile>
<tile id="209"></tile>
<tile id="210"></tile>
<tile id="211"></tile>
<tile id="212"></tile>
<tile id="213"></tile>
<tile id="214"></tile>
<tile id="215"></tile>
<tile id="216" w="1" c="1" p="1" pt="3" a="1" aList="217"></tile>
<tile id="217" w="1" c="1" p="1" pt="3" a="1" aList="216"></tile>
<tile id="218" w="1" c="1" p="1" pt="4" a="1" aList="219,220,221"></tile>
<tile id="219" w="1" c="1" p="1" pt="4" a="1" aList="218,220,221"></tile>
<tile id="220" w="1" c="1" p="1" pt="4" a="1" aList="218,219,221"></tile>
<tile id="221" w="1" c="1" p="1" pt="4" a="1" aList="218,219,220"></tile>
<tile id="222"></tile>
<tile id="223"></tile>
<tile id="224" name="blue ghost"></tile>
<tile id="225" name="blue ghost"></tile>
<tile id="226" name="green ghost"></tile>
<tile id="227" name="green ghost"></tile>
<tile id="228" name="pink ghost"></tile>
<tile id="229" name="pink ghost"></tile>
<tile id="230" name="red ghost"></tile>
<tile id="231" name="red ghost"></tile>
<tile id="232" w="1" c="1" p="1" pt="5" a="1" aList="234"></tile>
<tile id="233" w="1" c="1" p="1" pt="5" a="1" aList="233"></tile>
<tile id="234" w="1" c="1" p="1" pt="6" a="1" aList="235,236,237"></tile>
<tile id="235" w="1" c="1" p="1" pt="6" a="1" aList="234,236,237"></tile>
<tile id="236" w="1" c="1" p="1" pt="6" a="1" aList="234,235,237"></tile>
<tile id="237" w="1" c="1" p="1" pt="6" a="1" aList="234,235,236"></tile>
<tile id="238"></tile>
<tile id="239"></tile>
<tile id="240"></tile>
<tile id="241"></tile>
<tile id="242"></tile>
<tile id="243"></tile>
<tile id="244"></tile>
<tile id="245"></tile>
<tile id="246"></tile>
<tile id="247"></tile>
<tile id="248"></tile>
<tile id="249"></tile>
<tile id="250"></tile>
<tile id="251"></tile>
<tile id="252"></tile>
<tile id="253"></tile>
<tile id="254"></tile>
<tile id="255"></tile>
<tile id="256"></tile>
<tile id="257"></tile>
<tile id="258"></tile>
<tile id="259"></tile>
<tile id="260"></tile>
<tile id="261"></tile>
<tile id="262"></tile>
<tile id="263"></tile>
<tile id="264"></tile>
<tile id="265"></tile>
<tile id="266"></tile>
<tile id="267"></tile>
<tile id="268"></tile>
<tile id="269"></tile>
<tile id="270"></tile>
<tile id="271"></tile>
<tile id="272" w="0" c="0" p="0"></tile>
<tile id="273" w="0" c="0" p="0"></tile>
<tile id="274" w="0" c="0" p="0"></tile>
<tile id="275" w="0" c="0" p="0"></tile>
<tile id="276" w="0" c="0" p="0"></tile>
<tile id="277" w="0" c="0" p="0"></tile>
<tile id="278" w="0" c="0" p="0"></tile>
<tile id="279" w="0" c="0" p="0"></tile>
<tile id="280" w="0" c="0" p="0"></tile>
<tile id="281" w="0" c="0" p="0"></tile>
<tile id="282" w="0" c="0" p="0"></tile>
<tile id="283" w="0" c="0" p="0"></tile>
<tile id="284" w="0" c="0" p="0"></tile>
<tile id="285" w="0" c="0" p="0"></tile>
<tile id="286" w="0" c="0" p="0"></tile>
<tile id="287" w="0" c="0" p="0" eg="1"></tile>
<tile id="288"></tile>
<tile id="289"></tile>
<tile id="290"></tile>
<tile id="291"></tile>
<tile id="292"></tile>
<tile id="293"></tile>
<tile id="294"></tile>
<tile id="295"></tile>
<tile id="296"></tile>
<tile id="297"></tile>
<tile id="298"></tile>
<tile id="299"></tile>
<tile id="300"></tile>
<tile id="301"></tile>
<tile id="302"></tile>
<tile id="303"></tile>
<tile id="304"></tile>
<tile id="305"></tile>
<tile id="306"></tile>
<tile id="307"></tile>
<tile id="308"></tile>
<tile id="309"></tile>
<tile id="310"></tile>
<tile id="311"></tile>
<tile id="312"></tile>
<tile id="313"></tile>
<tile id="314"></tile>
<tile id="315"></tile>
<tile id="316"></tile>
<tile id="317"></tile>
<tile id="318"></tile>
<tile id="319"></tile>
</tilesheet>
;
}
public function getXML():XML{
return (XMLData);
}
}
}//package
Section 170
//TitleScreen (TitleScreen)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class TitleScreen extends MovieClip {
private var titleScreen:titleScreen_mc;
private var tlPressSpace:TextField;
private var gameLoop:GameLoop;
public static const STATE_ATTRACT:int = 1;
public static const STATE_DISPLAY:int = 0;
public function TitleScreen(_arg1:GameLoop){
gameLoop = _arg1;
titleScreen = new titleScreen_mc();
titleScreen.x = 40;
titleScreen.y = 40;
addChild(titleScreen);
}
function playFromStart():void{
titleScreen.gotoAndPlay(1);
}
public function removeListeners():void{
gameLoop.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
}
function keyDownListener(_arg1:KeyboardEvent):void{
removeListeners();
if ((((_arg1.keyCode == 32)) || ((_arg1.keyCode == 13)))){
gameLoop.titleScreenFinshed();
};
}
public function addListeners():void{
gameLoop.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true);
}
}
}//package
Section 171
//titleScreen_mc (titleScreen_mc)
package {
import flash.display.*;
public dynamic class titleScreen_mc extends MovieClip {
public function titleScreen_mc(){
addFrameScript(699, frame700);
}
function frame700(){
stop();
}
}
}//package
Section 172
//transport1 (transport1)
package {
import flash.display.*;
public dynamic class transport1 extends MovieClip {
}
}//package
Section 173
//transport2 (transport2)
package {
import flash.display.*;
public dynamic class transport2 extends MovieClip {
}
}//package
Section 174
//transport3 (transport3)
package {
import flash.display.*;
public dynamic class transport3 extends MovieClip {
}
}//package