Section 1
//MD5 (com.adobe.crypto.MD5)
package com.adobe.crypto {
import com.adobe.utils.*;
public class MD5 {
private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function createBlocks(_arg1:String):Array{
var _local2:Array = new Array();
var _local3:int = (_arg1.length * 8);
var _local4 = 0xFF;
var _local5:int;
while (_local5 < _local3) {
_local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32)));
_local5 = (_local5 + 8);
};
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
return (_local2);
}
private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private static function f(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg2) | (~(_arg1) & _arg3)));
}
private static function g(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg3) | (_arg2 & ~(_arg3))));
}
private static function h(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 ^ _arg2) ^ _arg3));
}
private static function i(_arg1:int, _arg2:int, _arg3:int):int{
return ((_arg2 ^ (_arg1 | ~(_arg3))));
}
private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{
var _local9:int = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8);
return ((IntUtil.rol(_local9, _arg7) + _arg3));
}
private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
public static function hash(_arg1:String):String{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local2 = 1732584193;
var _local3 = -271733879;
var _local4 = -1732584194;
var _local5 = 271733878;
var _local10:Array = createBlocks(_arg1);
var _local11:int = _local10.length;
var _local12:int;
while (_local12 < _local11) {
_local6 = _local2;
_local7 = _local3;
_local8 = _local4;
_local9 = _local5;
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551);
_local2 = (_local2 + _local6);
_local3 = (_local3 + _local7);
_local4 = (_local4 + _local8);
_local5 = (_local5 + _local9);
_local12 = (_local12 + 16);
};
return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5)));
}
private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
}
}//package com.adobe.crypto
Section 2
//IntUtil (com.adobe.utils.IntUtil)
package com.adobe.utils {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local4:int;
var _local5:int;
var _local3 = "";
if (_arg2){
_local4 = 0;
while (_local4 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15))));
_local4++;
};
} else {
_local5 = 0;
while (_local5 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15))));
_local5++;
};
};
return (_local3);
}
public static function ror(_arg1:int, _arg2:int):uint{
var _local3:int = (32 - _arg2);
return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3))));
}
public static function rol(_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
}
}//package com.adobe.utils
Section 3
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 4
//Strong (fl.transitions.easing.Strong)
package fl.transitions.easing {
public class Strong {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
}
}//package fl.transitions.easing
Section 5
//Tween (fl.transitions.Tween)
package fl.transitions {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Tween extends EventDispatcher {
private var _position:Number;// = NAN
public var prevTime:Number;// = NAN
public var prevPos:Number;// = NAN
public var isPlaying:Boolean;// = false
private var _fps:Number;// = NAN
private var _time:Number;// = NAN
public var begin:Number;// = NAN
private var _finish:Number;// = NAN
public var change:Number;// = NAN
public var looping:Boolean;// = false
private var _intervalID:uint;// = 0
public var func:Function;
private var _timer:Timer;// = null
private var _startTime:Number;// = NAN
public var prop:String;// = ""
private var _duration:Number;// = NAN
public var obj:Object;// = null
public var useSeconds:Boolean;// = false
protected static var _mc:MovieClip = new MovieClip();
public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){
this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
};
super();
if (!arguments.length){
return;
};
this.obj = _arg1;
this.prop = _arg2;
this.begin = _arg4;
this.position = _arg4;
this.duration = _arg6;
this.useSeconds = _arg7;
if ((_arg3 is Function)){
this.func = _arg3;
};
this.finish = _arg5;
this._timer = new Timer(100);
this.start();
}
public function continueTo(_arg1:Number, _arg2:Number):void{
this.begin = this.position;
this.finish = _arg1;
if (!isNaN(_arg2)){
this.duration = _arg2;
};
this.start();
}
protected function startEnterFrame():void{
var _local1:Number;
if (isNaN(this._fps)){
_mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true);
} else {
_local1 = (1000 / this._fps);
this._timer.delay = _local1;
this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true);
this._timer.start();
};
this.isPlaying = true;
}
public function stop():void{
this.stopEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position));
}
private function fixTime():void{
if (this.useSeconds){
this._startTime = (getTimer() - (this._time * 1000));
};
}
public function set FPS(_arg1:Number):void{
var _local2:Boolean = this.isPlaying;
this.stopEnterFrame();
this._fps = _arg1;
if (_local2){
this.startEnterFrame();
};
}
public function get finish():Number{
return ((this.begin + this.change));
}
public function get duration():Number{
return (this._duration);
}
protected function stopEnterFrame():void{
if (isNaN(this._fps)){
_mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
} else {
this._timer.stop();
};
this.isPlaying = false;
}
public function set time(_arg1:Number):void{
this.prevTime = this._time;
if (_arg1 > this.duration){
if (this.looping){
this.rewind((_arg1 - this._duration));
this.update();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position));
} else {
if (this.useSeconds){
this._time = this._duration;
this.update();
};
this.stop();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position));
};
} else {
if (_arg1 < 0){
this.rewind();
this.update();
} else {
this._time = _arg1;
this.update();
};
};
}
public function getPosition(_arg1:Number=NaN):Number{
if (isNaN(_arg1)){
_arg1 = this._time;
};
return (this.func(_arg1, this.begin, this.change, this._duration));
}
public function set finish(_arg1:Number):void{
this.change = (_arg1 - this.begin);
}
public function set duration(_arg1:Number):void{
this._duration = ((_arg1)<=0) ? Infinity : _arg1;
}
public function get position():Number{
return (this.getPosition(this._time));
}
public function setPosition(_arg1:Number):void{
this.prevPos = this._position;
if (this.prop.length){
this.obj[this.prop] = (this._position = _arg1);
};
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position));
}
public function resume():void{
this.fixTime();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position));
}
public function fforward():void{
this.time = this._duration;
this.fixTime();
}
protected function onEnterFrame(_arg1:Event):void{
this.nextFrame();
}
public function yoyo():void{
this.continueTo(this.begin, this.time);
}
public function nextFrame():void{
if (this.useSeconds){
this.time = ((getTimer() - this._startTime) / 1000);
} else {
this.time = (this._time + 1);
};
}
protected function timerHandler(_arg1:TimerEvent):void{
this.nextFrame();
_arg1.updateAfterEvent();
}
public function get FPS():Number{
return (this._fps);
}
public function rewind(_arg1:Number=0):void{
this._time = _arg1;
this.fixTime();
this.update();
}
public function set position(_arg1:Number):void{
this.setPosition(_arg1);
}
public function get time():Number{
return (this._time);
}
private function update():void{
this.setPosition(this.getPosition(this._time));
}
public function start():void{
this.rewind();
this.startEnterFrame();
this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position));
}
public function prevFrame():void{
if (!this.useSeconds){
this.time = (this._time - 1);
};
}
}
}//package fl.transitions
Section 6
//TweenEvent (fl.transitions.TweenEvent)
package fl.transitions {
import flash.events.*;
public class TweenEvent extends Event {
public var position:Number;// = NAN
public var time:Number;// = NAN
public static const MOTION_START:String = "motionStart";
public static const MOTION_STOP:String = "motionStop";
public static const MOTION_LOOP:String = "motionLoop";
public static const MOTION_CHANGE:String = "motionChange";
public static const MOTION_FINISH:String = "motionFinish";
public static const MOTION_RESUME:String = "motionResume";
public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){
super(_arg1, _arg4, _arg5);
this.time = _arg2;
this.position = _arg3;
}
override public function clone():Event{
return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable));
}
}
}//package fl.transitions
Section 7
//iadd (functions.iadd)
package functions {
import flash.display.*;
public var iadd:Function = function (_arg1, _arg2, _arg3:Class, _arg4:Object, _arg5:uint=0):DisplayObject{
var _local6:* = _arg4.addChildAt(new (_arg3), _arg5);
_local6.x = _arg1;
_local6.y = _arg2;
return (_local6);
};
}//package functions
Section 8
//ipos (functions.ipos)
package functions {
import flash.display.*;
public var ipos:Function = function (_arg1, _arg2, _arg3:DisplayObject):void{
_arg3.x = _arg1;
_arg3.y = _arg2;
};
}//package functions
Section 9
//m (functions.m)
package functions {
public class m {
static const to_dir:Number = 57.2957795130823;
static const to_grad:Number = 0.0174532925199433;
static function col_lines(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Boolean){
var _local12:*;
var _local10:* = (((((_arg8 - (_arg6 * _arg3)) - _arg1) - _arg7) - (_arg5 * _arg4)) - _arg2);
var _local11:Number = 0;
if (_local10 != 0){
_local11 = (((((_arg7 - (_arg5 * _arg2)) - _arg6) - _arg8) - (_arg6 * _arg1)) - (_arg5 / _local10));
if (_arg9){
_local12 = (((((_arg3 - (_arg1 * _arg2)) - _arg6) - _arg4) - (_arg2 * _arg1)) - (_arg5 / _local10));
if ((((((((_local11 < 0)) || ((_local11 > 1)))) || ((_local12 < 0)))) || ((_local12 > 1)))){
_local11 = 0;
};
};
};
return (_local11);
}
static function kineticEnergy(_arg1:Number, _arg2:Number):Number{
return ((((_arg1 * _arg2) * _arg2) / 2));
}
public static function mod(_arg1:int, _arg2:int):int{
return ((_arg1 - (_arg2 * int((_arg1 / _arg2)))));
}
static function hitCircleWithNotMovedCircleVector(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Object{
var _local12:Number;
var _local7:Number = (_arg3 - _arg1);
var _local8:Number = (_arg4 - _arg2);
var _local9:Number = Math.atan2(-(_local8), -(_local7));
var _local10:Number = Math.atan2(-(_arg6), -(_arg5));
var _local11:Number = ((_local7 * _arg5) + ((_local8 * _arg6) / Math.sqrt((((_local7 * _local7) + (((_local8 * _local8) * _arg5) * _arg5)) + (_arg6 * _arg6)))));
if (Math.abs(_local11) > 1){
throw (new Error("В hitCircleWithNotMovedCircleVector косинус угла больше 1"));
};
if ((((_arg5 == 0)) && ((_arg6 == 0)))){
throw (new Error("В hitCircleWithNotMovedCircleVector переданная скорость равна нулю, соотв вычислить косинус угла низзя"));
};
if (Math.abs(_local11) < 1E-8){
_local12 = ((Math.PI / 2) * sign(_local11));
} else {
_local12 = Math.abs(Math.atan((Math.sqrt((1 - (_local11 * _local11))) / _local11)));
};
var _local13:Number = Math.sqrt(((_arg5 * _arg5) + (_arg6 * _arg6)));
var _local14:Number = (_local13 * Math.cos(_local12));
var _local15:Number = (-(_local13) * Math.sin(_local12));
var _local16:Object = getNewXY(_local14, _local15, 1, 1, ((180 * _local9) / Math.PI), 0, 0);
return (_local16);
}
public static function point_distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (Math.sqrt((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4)))));
}
static function isIntersectSegmentsInLines(_arg1, _arg2){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:Number;
var _local11:Object = {x:_arg1.point1._x, y:_arg1.point1._y};
var _local12:Object = {x:_arg1.point2._x, y:_arg1.point2._y};
var _local13:Object = {x:_arg2.point1._x, y:_arg2.point1._y};
var _local14:Object = {x:_arg2.point2._x, y:_arg2.point2._y};
_arg1.point1.localToGlobal(_local11);
_arg1.point2.localToGlobal(_local12);
_arg1.point1.localToGlobal(_local13);
_arg1.point2.localToGlobal(_local14);
var _local15:Number = (_arg1.point1._x + (_arg1.point2._x / 2));
var _local16:Number = (_arg1.point1._y + (_arg1.point2._y / 2));
_local11.x = (_local11.x - _local15);
_local11.y = (_local11.y - _local16);
_local12.x = (_local12.x - _local15);
_local12.y = (_local12.y - _local16);
_local13.x = (_local13.x - _local15);
_local13.y = (_local13.y - _local16);
_local14.x = (_local14.x - _local15);
_local14.y = (_local14.y - _local16);
if (isIntersectSegments(_local11.x, _local11.y, _local12.x, _local12.y, _local13.x, _local13.y, _local14.x, _local14.y)){
return (true);
};
return (false);
}
static function linesIntersectionPoint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Array{
var _local15:*;
var _local16:Number;
var _local17:*;
var _local9:* = (_arg4 - _arg2);
var _local10:* = (_arg1 - _arg3);
var _local11:* = ((_arg3 * _arg2) - (_arg1 * _arg4));
var _local12:* = (_arg8 - _arg6);
var _local13:* = (_arg5 - _arg7);
var _local14:* = ((_arg7 * _arg6) - (_arg5 * _arg8));
if (((_local9 * _local13) - (_local10 * _local12)) == 0){
return (null);
};
_local16 = (((-(-(_local12)) * _local11) + (((_local9 * _local14) / -(_local12)) * _local10)) + (_local9 * _local13));
_local15 = (((-(_local13) * _local11) + (((_local14 * _local10) / -(_local12)) * _local10)) + (_local9 * _local13));
_local17 = new Array(2);
_local17[0] = _local15;
_local17[1] = _local16;
return (_local17);
}
static function hitCircleWithAnotherCircle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number, _arg11:Number, _arg12:Number):Object{
var _local13:Number = (_arg3 - _arg9);
var _local14:Number = (_arg4 - _arg10);
var _local15:Object = hitCircleWithNotMovedCircleVector(_arg1, _arg2, _arg7, _arg8, _local13, _local14);
var _local16:Number = (_local15.x + _arg9);
var _local17:Number = (_local15.y + _arg10);
var _local18:Number = (-(_local15.x) + _arg9);
var _local19:Number = (-(_local15.y) + _arg10);
var _local20:Object = {speedX1:_local16, speedY1:_local17, speedX2:_local18, speedY2:_local19};
return (_local20);
}
static function normalForm(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{
var _local7:* = 0;
var _local8:* = 0;
var _local9:* = (_arg4 - _arg2);
var _local10:* = (_arg1 - _arg3);
var _local11:* = (((((_arg2 - (_local8 * _arg3)) - _local7) - _arg1) - (_local7 * _arg4)) - _local8);
return ((((((_local9 * _arg5) + _local7) + (_local10 * _arg6)) + _local8) + _local11));
}
static function hitCircleWithNotMovedLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Object{
var _local7:Object;
if (Math.abs((_arg1 - _arg3)) < 1E-9){
_local7 = {x:-(_arg5), y:_arg6};
return (_local7);
};
if (Math.abs((_arg2 - _arg4)) < 1E-9){
_local7 = {x:_arg5, y:-(_arg6)};
return (_local7);
};
var _local8:Number = (((_arg3 - (_arg1 * _arg5)) + _arg4) - ((_arg2 * _arg6) / Math.sqrt(((((((_arg1 - (_arg3 * _arg1)) - _arg3) + _arg2) - (_arg4 * _arg2)) - ((_arg4 * _arg5) * _arg5)) + (_arg6 * _arg6)))));
var _local9:Number = Math.atan2((_arg4 - _arg2), (_arg3 - _arg1));
var _local10:Number = Math.sqrt(((_arg5 * _arg5) + (_arg6 * _arg6)));
var _local11:Number = (_local10 * _local8);
var _local12:Number = ((_local10 * 1) - (_local8 * _local8));
_local7 = getNewXY(_local12, -(_local11), 1, 1, (-(_local9) * to_dir), 0, 0);
return (_local7);
}
public static function len_x(_arg1:Number, _arg2:Number):Number{
return ((_arg1 * Math.cos((to_grad * _arg2))));
}
public static function len_y(_arg1:Number, _arg2:Number):Number{
return ((-(_arg1) * Math.sin((to_grad * _arg2))));
}
public static function point_direction(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((Math.atan2((_arg2 - _arg4), (_arg3 - _arg1)) * to_dir));
}
public static function div(_arg1:int, _arg2:int):int{
return (int((_arg1 / _arg2)));
}
public static function diff(_arg1:int, _arg2:int, _arg3:int):int{
var _local4:Number = (_arg3 / 2);
var _local5:Number = (_arg1 - _arg2);
if (_local5 > _local4){
_local5 = (_local5 - _arg3);
} else {
if (_local5 < -(_local4)){
_local5 = (_local5 + _arg3);
};
};
return (_local5);
}
static function isIntersectSegments(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{
var _local9:Number = normalForm(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
var _local10:Number = normalForm(_arg1, _arg2, _arg3, _arg4, _arg7, _arg8);
var _local11:Number = normalForm(_arg5, _arg6, _arg7, _arg8, _arg1, _arg2);
var _local12:Number = normalForm(_arg5, _arg6, _arg7, _arg8, _arg3, _arg4);
if (((((_local9 * _local10) <= 0)) && (((_local11 * _local12) <= 0)))){
return (true);
};
return (false);
}
public static function zpoint_direction(_arg1:int, _arg2:int, _arg3:int, _arg4:int):int{
return ((Math.atan2((_arg2 - _arg4), (_arg3 - _arg1)) * to_dir));
}
static function getLineAsAngleAndPoint(_arg1:Number, _arg2:Number, _arg3:Number):Array{
var _local4:Number = Math.tan(_arg3);
var _local5:Number = (_arg2 - (_local4 * _arg2));
var _local6:Number = -(_local4);
var _local7:Number = 1;
var _local8:Number = -(_local5);
var _local9:Array = [];
_local9.push(_local6);
_local9.push(_local7);
_local9.push(_local8);
return (_local9);
}
static function countAngleToFlash(_arg1:Number){
var _local2:Number;
if (Math.abs(_arg1) < 180){
return (_arg1);
};
_local2 = Math.abs((180 - Math.abs(_arg1)));
return ((((-1 * sign(_arg1)) * 180) - _local2));
}
static function countLenOnLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number){
return ((Math.abs(((_arg4 * _arg1) + (_arg5 * _arg2))) / Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2)))));
}
public static function point_dst(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg1 - _arg3) * (_arg1 - _arg3)) + ((_arg2 - _arg4) * (_arg2 - _arg4))));
}
static function normLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Array{
var _local6:Number = _arg2;
var _local7:Number = -(_arg1);
var _local8:Number = ((_arg1 * _arg5) - (_arg2 * _arg4));
var _local9:Array = [];
_local9.push(_local6);
_local9.push(_local7);
_local9.push(_local8);
return (_local9);
}
static function isCircleIntersectSegmentOfLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{
var _local8:Number = distanceBetweenPointAndLine(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
if (isNaN(_local8)){
return (false);
};
if (_local8 >= _arg7){
return (false);
};
var _local9:Number = (_arg4 - _arg2);
var _local10:Number = (_arg1 - _arg3);
var _local11:Number = ((_arg3 * _arg2) - (_arg1 * _arg4));
var _local12:Array = normLine(_local9, _local10, _local11, _arg5, _arg6);
var _local13:Number = _local12[0];
var _local14:Number = _local12[1];
var _local15:Number = _local12[2];
var _local16:Array = linesIntersectionPoint1(_local9, _local10, _local11, _local13, _local14, _local15);
var _local17:Number = ((_arg1 - (_local16[0] * _local16[0])) - _arg3);
var _local18:Number = ((_arg2 - (_local16[1] * _local16[1])) - _arg4);
var _local19:Boolean = (((((Math.abs(_local17) > 1E-18)) && ((_local17 < 0)))) || ((((Math.abs(_local18) > 1E-18)) && ((_local18 < 0)))));
var _local20 = (point_distance(_arg1, _arg2, _arg5, _arg6) >= _arg7);
var _local21 = (point_distance(_arg3, _arg4, _arg5, _arg6) >= _arg7);
if (((((_local19) && (_local20))) && (_local21))){
return (false);
};
return (true);
}
static function modAB(_arg1:Number, _arg2:Number):Number{
var _local3:Number = Math.round((_arg1 / _arg2));
if (Math.abs(Math.round((_arg1 / _arg2))) > Math.abs(_local3)){
_local3 = (Math.round((_arg1 / _arg2)) - sign(Math.round((_arg1 / _arg2))));
};
return (_local3);
}
public static function zero_direction(_arg1:int, _arg2:int):int{
return ((Math.atan2(-(_arg2), _arg1) * to_dir));
}
static function linesIntersectionPoint1(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Array{
var _local8:Number;
var _local9:Number;
var _local10:*;
var _local7:Number = ((-(_arg4) * _arg2) + (_arg1 * _arg5));
if (_local7 == 0){
return (null);
};
_local8 = (((-(-(_arg4)) * _arg3) + (((_arg1 * _arg6) / -(_arg4)) * _arg2)) + (_arg1 * _arg5));
_local9 = (((-(_arg5) * _arg3) + (((_arg6 * _arg2) / -(_arg4)) * _arg2)) + (_arg1 * _arg5));
_local10 = new Array(2);
_local10[0] = _local9;
_local10[1] = _local8;
return (_local10);
}
static function getNewXY(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Object{
var _local8:*;
var _local9:Number;
var _local10:*;
var _local11:Number;
_local8 = (_arg1 * _arg3);
_local9 = (_arg2 * _arg4);
_local10 = ((_local8 * Math.cos((_arg5 * to_grad))) - (_local9 * Math.sin((_arg5 * to_grad))));
_local11 = ((_local8 * Math.sin((_arg5 * to_grad))) + (_local9 * Math.cos((_arg5 * to_grad))));
_local8 = _local10;
_local9 = _local11;
_local8 = (_local8 + _arg6);
_local9 = (_local9 + _arg7);
var _local12:* = {x:_local8, y:_local9};
return (_local12);
}
public static function zero_distance(_arg1:int, _arg2:int):int{
return (Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2))));
}
static function distanceBetweenPointAndLine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{
var _local7:* = (_arg4 - _arg2);
var _local8:* = (_arg1 - _arg3);
var _local9:* = ((_arg2 * _arg3) - (_arg1 * _arg4));
return ((Math.abs((((_local7 * _arg5) + (_local8 * _arg6)) + _local9)) / Math.sqrt(((_local7 * _local7) + (_local8 * _local8)))));
}
public static function angle_diff(_arg1:int, _arg2:int):int{
var _local3:int;
_local3 = (_arg1 - _arg2);
if (_local3 > 180){
_local3 = (_local3 - 360);
} else {
if (_local3 < -180){
_local3 = (_local3 + 360);
};
};
return (_local3);
}
static function countTurnSpeedInFlash(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
var _local4:Number;
if ((_arg1 * _arg2) > 0){
return (sign((_arg2 - _arg1)));
};
_local3 = (180 - Math.abs(_arg1));
_local4 = (180 - Math.abs(_arg2));
if ((_local3 + _local4) > (Math.abs(_arg1) + Math.abs(_arg2))){
return (-(sign(_arg1)));
};
return (sign(_arg1));
}
static function countOppositeAngleInFlash(_arg1:Number):Number{
var _local2:Number = (180 - Math.abs(_arg1));
return ((-(sign(_arg1)) * _local2));
}
static function normLineVectorWithTwoPoints(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Object{
var _local5:Number = (_arg1 - _arg3);
var _local6:Number = (_arg4 - _arg2);
var _local7:Number = 0;
var _local8:Number = 0;
if (Math.abs(_local6) > 1E-12){
_local7 = 1;
_local8 = (-(_local5) / _local6);
} else {
_local8 = 1;
_local7 = (-(_local6) / _local5);
};
var _local9:Object = {x:_local7, y:_local8};
return (_local9);
}
static function capacityOfSpherePart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if ((_arg2 + _arg3) <= _arg4){
return (0);
};
if ((_arg2 - _arg3) >= _arg4){
return (((((4 / 3) * Math.PI) * Math.pow(_arg3, 3)) / 1000000));
};
if (_arg2 > _arg4){
return ((((4 / 3) * Math.pow(_arg3, 3)) - ((Math.abs(((((((2 / 3) * _arg3) * _arg3) * _arg3) + _arg4) - _arg2)) * Math.PI) / 1000000)));
};
return ((Math.abs((((((((2 / 3) * Math.PI) * _arg3) * _arg3) * _arg3) + _arg4) - _arg2)) / 1000000));
}
static function processDelta(_arg1:Number){
if (Math.abs(_arg1) > 1){
return (Math.round(_arg1));
};
return (0);
}
public static function sign(_arg1:Number):int{
if (_arg1 > 0){
return (1);
};
if (_arg1 == 0){
return (0);
};
return (-1);
}
}
}//package functions
Section 10
//_Preloader_1 (Gamev1_fla._Preloader_1)
package Gamev1_fla {
import flash.display.*;
public dynamic class _Preloader_1 extends MovieClip {
public var link_btn:SimpleButton;
public var logo_mc:MovieClip;
public function _Preloader_1(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Gamev1_fla
Section 11
//fgjpre_as3_bomb_preloader_2 (Gamev1_fla.fgjpre_as3_bomb_preloader_2)
package Gamev1_fla {
import flash.display.*;
public dynamic class fgjpre_as3_bomb_preloader_2 extends MovieClip {
public var loaderbar:MovieClip;
public function fgjpre_as3_bomb_preloader_2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Gamev1_fla
Section 12
//Back (gs.easing.Back)
package gs.easing {
public class Back {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2));
};
_arg1 = (_arg1 - 2);
_arg5 = (_arg5 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2));
}
}
}//package gs.easing
Section 13
//Elastic (gs.easing.Elastic)
package gs.easing {
public class Elastic {
private static const _2PI:Number = 6.28318530717959;
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
--_arg1;
return ((-(((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * (0.3 * 1.5));
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_arg5 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6)))) + _arg2));
};
--_arg1;
return ((((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) * 0.5) + _arg3) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Number=0):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
if (!_arg6){
_arg6 = (_arg4 * 0.3);
};
if (((!(_arg5)) || ((_arg5 < Math.abs(_arg3))))){
_arg5 = _arg3;
_local7 = (_arg6 / 4);
} else {
_local7 = ((_arg6 / _2PI) * Math.asin((_arg3 / _arg5)));
};
return (((((_arg5 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * _2PI) / _arg6))) + _arg3) + _arg2));
}
}
}//package gs.easing
Section 14
//TransformProxy (gs.utils.TransformProxy)
package gs.utils {
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class TransformProxy {
private static const _DEG2RAD:Number = 0.0174532925199433;
private static const _RAD2DEG:Number = 57.2957795130823;
private static var _dict:Dictionary = new Dictionary();
private static var _registration:Point;
public static var curMatrix:Matrix;
public static var _target:DisplayObject;
private static var _localRegistration:Point;
private static var _regAt0:Boolean;
private static var _proxies:Array;
public static function set registrationY(_arg1:Number):void{
_registration.y = _arg1;
calibrateLocal();
}
public static function get skewY2():Number{
return ((skewY2Radians * _RAD2DEG));
}
public static function get skewXRadians():Number{
var _local1:Matrix;
_local1 = _target.transform.matrix;
return (Math.atan2(-(_local1.c), _local1.d));
}
public static function get rotation():Number{
return ((rotationRadians * _RAD2DEG));
}
public static function set skewY2(_arg1:Number):void{
skewY2Radians = (_arg1 * _DEG2RAD);
}
public static function set localRegistration(_arg1:Point):void{
_localRegistration = _arg1;
calibrateRegistration();
}
public static function get skewX():Number{
return ((skewXRadians * _RAD2DEG));
}
public static function get skewY():Number{
return ((skewYRadians * _RAD2DEG));
}
public static function get target():DisplayObject{
return (_target);
}
public static function get localRegistrationX():Number{
return (_localRegistration.x);
}
public static function set skewXRadians(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
_local2 = _target.transform.matrix;
_local3 = Math.sqrt(((_local2.c * _local2.c) + (_local2.d * _local2.d)));
_local2.c = (-(_local3) * Math.sin(_arg1));
_local2.d = (_local3 * Math.cos(_arg1));
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function get rotationRadians():Number{
var _local1:Matrix;
var _local2:Number;
var _local3:Number;
_local1 = _target.transform.matrix;
_local2 = Math.atan2(_local1.b, _local1.a);
_local3 = Math.atan2(-(_local1.c), _local1.d);
if ((_local3 * _local2) < 0){
if (_local2 <= 0){
return ((_local2 + Math.PI));
};
return ((_local2 - Math.PI));
//unresolved jump
};
return (_local2);
}
public static function get localRegistrationY():Number{
return (_localRegistration.y);
}
public static function set skewY(_arg1:Number):void{
skewYRadians = (_arg1 * _DEG2RAD);
}
public static function calibrateRegistration():void{
_registration = _target.parent.globalToLocal(_target.localToGlobal(_localRegistration));
if (_localRegistration.x == 0){
};
_regAt0 = (_localRegistration.y == 0);
}
public static function set skewX(_arg1:Number):void{
skewXRadians = (_arg1 * _DEG2RAD);
}
public static function set scaleY(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = _target.transform.matrix;
_local3 = Math.sqrt(((_local2.c * _local2.c) + (_local2.d * _local2.d)));
if (_local2.d < 0){
_local3 = -(_local3);
};
if (_local3){
_local4 = (_arg1 / _local3);
_local2.c = (_local2.c * _local4);
_local2.d = (_local2.d * _local4);
} else {
_local5 = Math.atan2(-(_local2.c), _local2.d);
_local2.c = (-(Math.sin(_local5)) * _arg1);
_local2.d = (Math.cos(_local5) * _arg1);
};
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function get y():Number{
return (_registration.y);
}
public static function set localRegistrationX(_arg1:Number):void{
_localRegistration.x = _arg1;
calibrateRegistration();
}
public static function set target(_arg1:DisplayObject){
_target = _arg1;
_localRegistration = new Point(0, 0);
calibrateRegistration();
}
public static function set localRegistrationY(_arg1:Number):void{
_localRegistration.y = _arg1;
calibrateRegistration();
}
public static function set scaleX(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = _target.transform.matrix;
_local3 = Math.sqrt(((_local2.a * _local2.a) + (_local2.b * _local2.b)));
if (_local2.a < 0){
_local3 = -(_local3);
};
if (_local3){
_local4 = (_arg1 / _local3);
_local2.a = (_local2.a * _local4);
_local2.b = (_local2.b * _local4);
} else {
_local5 = Math.atan2(_local2.b, _local2.a);
_local2.a = (Math.cos(_local5) * _arg1);
_local2.b = (Math.sin(_local5) * _arg1);
};
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function set scale(_arg1:Number):void{
var _local2:* = _arg1;
scaleY = _arg1;
scaleX = _local2;
}
public static function set rotationRadians(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = _target.transform.matrix;
_local3 = Math.atan2(_local2.b, _local2.a);
_local4 = Math.atan2(-(_local2.c), _local2.d);
_local5 = ((_local4 + _arg1) - _local3);
_local6 = Math.sqrt(((_local2.c * _local2.c) + (_local2.d * _local2.d)));
_local2.c = (-(_local6) * Math.sin(_local5));
_local2.d = (_local6 * Math.cos(_local5));
_local7 = Math.sqrt(((_local2.a * _local2.a) + (_local2.b * _local2.b)));
_local2.a = (_local7 * Math.cos(_arg1));
_local2.b = (_local7 * Math.sin(_arg1));
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function moveRegX(_arg1:Number):void{
_registration.x = (_registration.x + _arg1);
}
public static function moveRegY(_arg1:Number):void{
_registration.y = (_registration.y + _arg1);
}
public static function get registration():Point{
return (_registration);
}
public static function get registrationX():Number{
return (_registration.x);
}
public static function get registrationY():Number{
return (_registration.y);
}
public static function get localRegistration():Point{
return (_localRegistration);
}
public static function set skewYRadians(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
_local2 = _target.transform.matrix;
_local3 = Math.sqrt(((_local2.a * _local2.a) + (_local2.b * _local2.b)));
_local2.a = (_local3 * Math.cos(_arg1));
_local2.b = (_local3 * Math.sin(_arg1));
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function get scale():Number{
return (((scaleX + scaleY) / 2));
}
public static function get scaleX():Number{
var _local1:Matrix;
_local1 = _target.transform.matrix;
if (_local1.a < 0){
return (-(Math.sqrt(((_local1.a * _local1.a) + (_local1.b * _local1.b)))));
};
return (Math.sqrt(((_local1.a * _local1.a) + (_local1.b * _local1.b))));
}
public static function set skewX2(_arg1:Number):void{
skewX2Radians = (_arg1 * _DEG2RAD);
}
public static function get scaleY():Number{
var _local1:Matrix;
_local1 = _target.transform.matrix;
if (_local1.d < 0){
return (-(Math.sqrt(((_local1.c * _local1.c) + (_local1.d * _local1.d)))));
};
return (Math.sqrt(((_local1.c * _local1.c) + (_local1.d * _local1.d))));
}
private static function reposition():void{
var _local1:Point;
_local1 = _target.parent.globalToLocal(_target.localToGlobal(_localRegistration));
_target.x = (_target.x + (_registration.x - _local1.x));
_target.y = (_target.y + (_registration.y - _local1.y));
}
public static function set skewY2Radians(_arg1:Number):void{
var _local2:Matrix;
_local2 = _target.transform.matrix;
_local2.b = Math.tan(_arg1);
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function get skewYRadians():Number{
var _local1:Matrix;
_local1 = _target.transform.matrix;
return (Math.atan2(_local1.b, _local1.a));
}
public static function get skewX2():Number{
return ((skewX2Radians * _RAD2DEG));
}
private static function calibrateLocal():void{
_localRegistration = _target.globalToLocal(_target.parent.localToGlobal(_registration));
if (_localRegistration.x == 0){
};
_regAt0 = (_localRegistration.y == 0);
}
public static function get skewX2Radians():Number{
return (-(Math.atan(_target.transform.matrix.c)));
}
public static function get skewY2Radians():Number{
return (Math.atan(_target.transform.matrix.b));
}
public static function set x(_arg1:Number):void{
var _local2:Number;
var _local3:int;
_local2 = (_arg1 - _registration.x);
_target.x = (_target.x + _local2);
while (_local3-- > -1) {
_proxies[_proxies.length--].moveRegX(_local2);
};
}
public static function set registration(_arg1:Point):void{
_registration = _arg1;
calibrateLocal();
}
public static function set skewX2Radians(_arg1:Number):void{
var _local2:Matrix;
_local2 = _target.transform.matrix;
_local2.c = Math.tan(-(_arg1));
_target.transform.matrix = _local2;
if (!_regAt0){
reposition();
};
}
public static function get x():Number{
return (_registration.x);
}
public static function set y(_arg1:Number):void{
var _local2:Number;
var _local3:int;
_local2 = (_arg1 - _registration.y);
_target.y = (_target.y + _local2);
while (_local3-- > -1) {
_proxies[_proxies.length--].moveRegY(_local2);
};
}
public static function set rotation(_arg1:Number):void{
rotationRadians = (_arg1 * _DEG2RAD);
}
public static function set registrationX(_arg1:Number):void{
_registration.x = _arg1;
calibrateLocal();
}
}
}//package gs.utils
Section 15
//TweenFilterLite (gs.TweenFilterLite)
package gs {
import flash.filters.*;
import flash.utils.*;
public class TweenFilterLite extends TweenLite {
protected var _matrix:Array;
protected var _hf:Boolean;// = false
protected var _cmf:ColorMatrixFilter;
protected var _uncombinedTimeScale:Number;
protected var _filters:Array;
protected var _endMatrix:Array;
protected var _originalEase:Function;
protected var _clrsa:Array;
public static var removeTween:Function = TweenLite.removeTween;
public static var version:Number = 8.22;
private static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
private static var _lumB:Number = 0.072169;
public static var delayedCall:Function = TweenLite.delayedCall;
public static var killTweensOf:Function = TweenLite.killTweensOf;
private static var _lumG:Number = 0.71516;
protected static var _globalTimeScale:Number = 1;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _lumR:Number = 0.212671;
public static var getD:Function = TweenLite.getD;
public static var getP:Function = TweenLite.getP;
public function TweenFilterLite(_arg1:Object, _arg2:Number, _arg3:Object){
_filters = [];
super(_arg1, _arg2, _arg3);
_originalEase = this.vars.ease;
if (((!((_timeScale == 1))) && ((this.target is TweenFilterLite)))){
_uncombinedTimeScale = 1;
_timeScale = _globalTimeScale;
} else {
_uncombinedTimeScale = _timeScale;
_timeScale = (_timeScale * _globalTimeScale);
};
if (((!((_timeScale == 1))) && (!((this.delay == 0))))){
this.startTime = (this.initTime + (this.delay * (1000 / _timeScale)));
};
if (TweenLite.version < 8.16){
};
if (_arg3.type != undefined){
};
}
override public function killVars(_arg1:Object):void{
if (TweenLite.overwriteManager.enabled){
TweenLite.overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, _filters);
};
}
override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:int;
var _local4:Object;
var _local5:Object;
var _local6:Object;
if (((((!(_arg1)) && (!((this.delay == 0))))) && (TweenLite.overwriteManager.enabled))){
TweenLite.overwriteManager.manageOverwrites(this, _all[this.target]);
};
_clrsa = [];
_filters = [];
_matrix = _idMatrix.slice();
_arg2 = (_arg2 + " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter ");
if (_isDisplayObject){
if (this.vars.blurFilter != null){
_local4 = this.vars.blurFilter;
addFilter("blurFilter", _local4, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, ((_local4.quality) || (1))));
};
if (this.vars.glowFilter != null){
_local4 = this.vars.glowFilter;
addFilter("glowFilter", _local4, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, ((_local4.strength) || (1)), ((_local4.quality) || (1)), _local4.inner, _local4.knockout));
};
if (this.vars.colorMatrixFilter != null){
_local4 = this.vars.colorMatrixFilter;
_local5 = addFilter("colorMatrixFilter", _local4, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix));
_cmf = _local5.filter;
_matrix = ColorMatrixFilter(_cmf).matrix;
if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){
_endMatrix = _local4.matrix;
} else {
if (_local4.relative == true){
_endMatrix = _matrix.slice();
} else {
_endMatrix = _idMatrix.slice();
};
_endMatrix = setBrightness(_endMatrix, _local4.brightness);
_endMatrix = setContrast(_endMatrix, _local4.contrast);
_endMatrix = setHue(_endMatrix, _local4.hue);
_endMatrix = setSaturation(_endMatrix, _local4.saturation);
_endMatrix = setThreshold(_endMatrix, _local4.threshold);
if (!isNaN(_local4.colorize)){
_endMatrix = colorize(_endMatrix, _local4.colorize, _local4.amount);
} else {
if (!isNaN(_local4.color)){
_endMatrix = colorize(_endMatrix, _local4.color, _local4.amount);
};
};
};
_local3 = 0;
while (_local3 < _endMatrix.length) {
if (((!((_matrix[_local3] == _endMatrix[_local3]))) && (!((_matrix[_local3] == undefined))))){
this.tweens[this.tweens.length] = {o:_matrix, p:_local3.toString(), s:_matrix[_local3], c:(_endMatrix[_local3] - _matrix[_local3]), name:"colorMatrixFilter"};
};
_local3++;
};
};
if (this.vars.dropShadowFilter != null){
_local4 = this.vars.dropShadowFilter;
addFilter("dropShadowFilter", _local4, DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_local4.quality) || (1)), _local4.inner, _local4.knockout, _local4.hideObject));
};
if (this.vars.bevelFilter != null){
_local4 = this.vars.bevelFilter;
addFilter("bevelFilter", _local4, BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_local4.quality) || (1))));
};
if (this.vars.runBackwards == true){
_local3 = (_clrsa.length - 1);
while (_local3 > -1) {
_local6 = _clrsa[_local3];
_clrsa[_local3].sr = (_local6.sr + _local6.cr);
_local6.cr = (_local6.cr * -1);
_local6.sg = (_local6.sg + _local6.cg);
_local6.cg = (_local6.cg * -1);
_local6.sb = (_local6.sb + _local6.cb);
_local6.cb = (_local6.cb * -1);
_local6.f[_local6.p] = (((_local6.sr << 16) | (_local6.sg << 8)) | _local6.sb);
_local3--;
};
};
super.initTweenVals(true, _arg2);
} else {
super.initTweenVals(_arg1, _arg2);
};
}
public function set timeScale(_arg1:Number):void{
if (_arg1 < 1E-5){
_arg1 = (_uncombinedTimeScale = 1E-5);
} else {
_uncombinedTimeScale = _arg1;
_arg1 = (_arg1 * _globalTimeScale);
};
this.initTime = ((_curTime - ((((_curTime - this.initTime) - (this.delay * (1000 / _timeScale))) * _timeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1)));
if (this.startTime != 99999999999){
this.startTime = (this.initTime + (this.delay * (1000 / _arg1)));
};
_timeScale = _arg1;
}
public function get timeScale():Number{
return (_uncombinedTimeScale);
}
override public function render(_arg1:uint):void{
var _local3:Number;
var _local4:Object;
var _local5:int;
var _local6:Array;
var _local7:int;
var _local2:Number = (((_arg1 - this.startTime) / 1000) * _timeScale);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((_originalEase == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.vars.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c));
_local5--;
};
if (_hf){
_local5 = (_clrsa.length - 1);
while (_local5 > -1) {
_local4 = _clrsa[_local5];
_local4.f[_local4.p] = ((((_local4.sr + (_local3 * _local4.cr)) << 16) | ((_local4.sg + (_local3 * _local4.cg)) << 8)) | (_local4.sb + (_local3 * _local4.cb)));
_local5--;
};
if (_cmf != null){
ColorMatrixFilter(_cmf).matrix = _matrix;
};
_local6 = this.target.filters;
_local5 = 0;
while (_local5 < _filters.length) {
_local7 = (_local6.length - 1);
while (_local7 > -1) {
if ((_local6[_local7] is _filters[_local5].type)){
_local6.splice(_local7, 1, _filters[_local5].filter);
break;
};
_local7--;
};
_local5++;
};
this.target.filters = _local6;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5]);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
private function addFilter(_arg1:String, _arg2:Object, _arg3:Class, _arg4:Array, _arg5:BitmapFilter):Object{
var _local8:int;
var _local9:String;
var _local10:Number;
var _local11:Object;
var _local12:Object;
var _local6:Object = {type:_arg3, name:_arg1};
var _local7:Array = this.target.filters;
_local8 = 0;
while (_local8 < _local7.length) {
if ((_local7[_local8] is _arg3)){
_local6.filter = _local7[_local8];
break;
};
_local8++;
};
if (_local6.filter == undefined){
_local6.filter = _arg5;
_local7[_local7.length] = _local6.filter;
this.target.filters = _local7;
};
_local8 = 0;
while (_local8 < _arg4.length) {
_local9 = _arg4[_local8];
if (_arg2[_local9] != undefined){
if ((((((_local9 == "color")) || ((_local9 == "highlightColor")))) || ((_local9 == "shadowColor")))){
_local11 = HEXtoRGB(_local6.filter[_local9]);
_local12 = HEXtoRGB(_arg2[_local9]);
_clrsa[_clrsa.length] = {f:_local6.filter, p:_local9, sr:_local11.rb, cr:(_local12.rb - _local11.rb), sg:_local11.gb, cg:(_local12.gb - _local11.gb), sb:_local11.bb, cb:(_local12.bb - _local11.bb)};
} else {
if ((((((((_local9 == "quality")) || ((_local9 == "inner")))) || ((_local9 == "knockout")))) || ((_local9 == "hideObject")))){
_local6.filter[_local9] = _arg2[_local9];
} else {
if (typeof(_arg2[_local9]) == "number"){
_local10 = (_arg2[_local9] - _local6.filter[_local9]);
} else {
_local10 = Number(_arg2[_local9]);
};
this.tweens[this.tweens.length] = {o:_local6.filter, p:_local9, s:_local6.filter[_local9], c:_local10, name:_arg1};
};
};
};
_local8++;
};
_filters[_filters.length] = _local6;
_hf = true;
return (_local6);
}
public static function set globalTimeScale(_arg1:Number):void{
setGlobalTimeScale(_arg1);
}
public static function setHue(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 * (Math.PI / 180));
var _local3:Number = Math.cos(_arg2);
var _local4:Number = Math.sin(_arg2);
var _local5:Array = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
return (applyMatrix(_local5, _arg1));
}
public static function setContrast(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = (_arg2 + 0.01);
var _local3:Array = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function applyMatrix(_arg1:Array, _arg2:Array):Array{
var _local6:int;
var _local7:int;
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (_arg2);
};
var _local3:Array = [];
var _local4:int;
var _local5:int;
_local6 = 0;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 5) {
if (_local7 == 4){
_local5 = _arg1[(_local4 + 4)];
} else {
_local5 = 0;
};
_local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5);
_local7++;
};
_local4 = (_local4 + 5);
_local6++;
};
return (_local3);
}
public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{
if (isNaN(_arg2)){
return (_arg1);
};
if (isNaN(_arg3)){
_arg3 = 1;
};
var _local4:Number = (((_arg2 >> 16) & 0xFF) / 0xFF);
var _local5:Number = (((_arg2 >> 8) & 0xFF) / 0xFF);
var _local6:Number = ((_arg2 & 0xFF) / 0xFF);
var _local7:Number = (1 - _arg3);
var _local8:Array = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local8, _arg1));
}
public static function setBrightness(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
_arg2 = ((_arg2 * 100) - 100);
return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1));
}
public static function setSaturation(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Number = (1 - _arg2);
var _local4:Number = (_local3 * _lumR);
var _local5:Number = (_local3 * _lumG);
var _local6:Number = (_local3 * _lumB);
var _local7:Array = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0];
return (applyMatrix(_local7, _arg1));
}
public static function get globalTimeScale():Number{
return (_globalTimeScale);
}
public static function setGlobalTimeScale(_arg1:Number):void{
var _local3:Object;
var _local4:Object;
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
var _local2:Dictionary = _all;
_globalTimeScale = _arg1;
for each (_local3 in _local2) {
for (_local4 in _local3) {
if ((_local3[_local4] is TweenFilterLite)){
_local3[_local4].timeScale = (_local3[_local4].timeScale * 1);
};
};
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{
_arg3.runBackwards = true;
return (new TweenFilterLite(_arg1, _arg2, _arg3));
}
public static function HEXtoRGB(_arg1:Number):Object{
return ({rb:(_arg1 >> 16), gb:((_arg1 >> 8) & 0xFF), bb:(_arg1 & 0xFF)});
}
public static function setThreshold(_arg1:Array, _arg2:Number):Array{
if (isNaN(_arg2)){
return (_arg1);
};
var _local3:Array = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0];
return (applyMatrix(_local3, _arg1));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{
return (new TweenFilterLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 16
//TweenLite (gs.TweenLite)
package gs {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import gs.utils.*;
import flash.utils.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _subTweens:Array;
protected var _initted:Boolean;
public var startTime:int;
public var target:Object;
public var duration:Number;
protected var _hst:Boolean;
protected var _isDisplayObject:Boolean;
protected var _active:Boolean;
public var tweens:Array;
public var vars:Object;
public var initTime:int;
protected var _timeScale:Number;
private static var _timer:Timer = new Timer(2000);
private static var _classInitted:Boolean;
public static var defaultEase:Function = TweenLite.easeOut;
public static var version:Number = 8.16;
protected static var _all:Dictionary = new Dictionary();
private static var _sprite:Sprite = new Sprite();
protected static var _curTime:uint;
public static var overwriteManager:Object;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
private static var _listening:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local5:*;
super();
if (_arg1 == null){
return;
};
if (!_classInitted){
_curTime = getTimer();
_sprite.addEventListener(Event.ENTER_FRAME, executeAll);
if (overwriteManager == null){
overwriteManager = {mode:0, enabled:false};
};
_classInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
_timeScale = ((_arg3.timeScale) || (1));
_active = (((_arg2 == 0)) && ((this.delay == 0)));
this.target = _arg1;
_isDisplayObject = (_arg1 is DisplayObject);
if (!(this.vars.ease is Function)){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
if (!isNaN(Number(this.vars.autoAlpha))){
this.vars.alpha = Number(this.vars.autoAlpha);
this.vars.visible = (this.vars.alpha > 0);
};
this.tweens = [];
_subTweens = [];
_hst = (_initted = false);
this.initTime = _curTime;
this.startTime = (this.initTime + (this.delay * 1000));
var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if ((((_all[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){
delete _all[_arg1];
_all[_arg1] = new Dictionary(true);
} else {
if ((((_local4 > 1)) && ((this.delay == 0)))){
overwriteManager.manageOverwrites(this, _all[_arg1]);
};
};
_all[_arg1][this] = this;
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (_active))){
initTweenVals();
if (_active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
_local5 = this.vars.visible;
if (this.vars.isTV == true){
_local5 = this.vars.exposedProps.visible;
};
if (((((!((_local5 == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){
this.target.visible = Boolean(_local5);
};
};
if (((!(_listening)) && (!(_active)))){
_timer.addEventListener("timer", killGarbage);
_timer.start();
_listening = true;
};
}
protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{
var _local7:String;
var _local6:Object = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5};
_subTweens[_subTweens.length] = _local6;
for (_local7 in _arg4) {
if (typeof(_arg4[_local7]) == "number"){
this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:(_arg4[_local7] - _arg3[_local7]), sub:_local6, name:_arg1};
} else {
this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:Number(_arg4[_local7]), sub:_local6, name:_arg1};
};
};
_hst = true;
}
public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{
var _local3:String;
var _local4:int;
var _local6:Array;
var _local7:ColorTransform;
var _local8:ColorTransform;
var _local9:Point;
var _local10:*;
var _local11:*;
var _local12:Object;
var _local5:Object = this.vars;
if (_local5.isTV == true){
_local5 = _local5.exposedProps;
};
if (((((!(_arg1)) && (!((this.delay == 0))))) && (overwriteManager.enabled))){
overwriteManager.manageOverwrites(this, _all[this.target]);
};
if ((this.target is Array)){
_local6 = ((this.vars.endArray) || ([]));
_local4 = 0;
while (_local4 < _local6.length) {
if (((!((this.target[_local4] == _local6[_local4]))) && (!((this.target[_local4] == undefined))))){
this.tweens[this.tweens.length] = {o:this.target, p:_local4.toString(), s:this.target[_local4], c:(_local6[_local4] - this.target[_local4]), name:_local4.toString()};
};
_local4++;
};
} else {
if (((((!((typeof(_local5.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){
_local7 = this.target.transform.colorTransform;
_local8 = new ColorTransform();
if (_local5.alpha != undefined){
_local8.alphaMultiplier = _local5.alpha;
delete _local5.alpha;
} else {
_local8.alphaMultiplier = this.target.alpha;
};
if (((!((this.vars.removeTint == true))) && (((((!((_local5.tint == null))) && (!((_local5.tint == ""))))) || ((_local5.tint == 0)))))){
_local8.color = _local5.tint;
};
addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local7, endColor:_local8});
};
if (_local5.Transform != null){
if (!this.target.parent){
return;
};
if (_local5.Transform.Point != null){
_local9 = new Point(((_local5.Transform.Point.x * this.target.width) / this.target.scaleX), ((_local5.Transform.Point.y * this.target.height) / this.target.scaleY));
} else {
_local9 = new Point(((0.5 * this.target.width) / this.target.scaleX), ((0.5 * this.target.height) / this.target.scaleY));
};
delete _local5.Transform["Point"];
_local10 = new Object();
TransformProxy.target = (this.target as DisplayObject);
for (_local11 in _local5.Transform) {
_local10[_local11] = TransformProxy[_local11];
};
addSubTween("matrix", transformProxy, {progress:0}, {progress:1}, {target:this.target, transfer:_local5.Transform, source:_local10, tpoint:_local9});
};
if (((!((_local5.frame == null))) && (_isDisplayObject))){
addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_local5.frame}, {target:this.target});
};
if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){
addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target});
};
for (_local3 in _local5) {
if ((((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((((_local3 == "timeScale")) && (!((this.target is TweenLite))))))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){
} else {
if (((!(((_isDisplayObject) && ((((((((_local3 == "tint")) || ((_local3 == "Transform")))) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){
if (typeof(_local5[_local3]) == "number"){
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:(_local5[_local3] - this.target[_local3]), name:_local3};
} else {
this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:Number(_local5[_local3]), name:_local3};
};
};
};
};
};
if (this.vars.runBackwards == true){
_local4 = (this.tweens.length - 1);
while (_local4 > -1) {
_local12 = this.tweens[_local4];
this.tweens[_local4].s = (_local12.s + _local12.c);
_local12.c = (_local12.c * -1);
_local4--;
};
};
if ((((_local5.visible == true)) && (_isDisplayObject))){
this.target.visible = true;
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
_initted = true;
}
public function get active():Boolean{
if (_active){
return (true);
};
if (_curTime >= this.startTime){
_active = true;
if (!_initted){
initTweenVals();
} else {
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
this.target.visible = true;
};
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
return (true);
//unresolved jump
};
return (false);
}
public function render(_arg1:uint):void{
var _local3:Number;
var _local4:Object;
var _local5:int;
var _local2:Number = ((_arg1 - this.startTime) / 1000);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = 1;
} else {
_local3 = this.vars.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c));
_local5--;
};
if (_hst){
_local5 = (_subTweens.length - 1);
while (_local5 > -1) {
_subTweens[_local5].proxy(_subTweens[_local5]);
_local5--;
};
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []);
};
}
public function complete(_arg1:Boolean=false):void{
if (!_arg1){
if (!_initted){
initTweenVals();
};
this.startTime = (_curTime - ((this.duration * 1000) / _timeScale));
render(_curTime);
return;
};
if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){
if (((!(isNaN(this.vars.autoAlpha))) && ((this.target.alpha == 0)))){
this.target.visible = false;
} else {
if (this.vars.runBackwards != true){
this.target.visible = this.vars.visible;
};
};
};
if (this.vars.persist != true){
removeTween(this);
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function frameProxy(_arg1:Object):void{
_arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame));
}
public static function tintProxy(_arg1:Object):void{
var _local2:Number = _arg1.target.progress;
var _local3:Number = (1 - _local2);
var _local4:Object = _arg1.info.color;
var _local5:Object = _arg1.info.endColor;
_arg1.info.target.transform.colorTransform = new ColorTransform(((_local4.redMultiplier * _local3) + (_local5.redMultiplier * _local2)), ((_local4.greenMultiplier * _local3) + (_local5.greenMultiplier * _local2)), ((_local4.blueMultiplier * _local3) + (_local5.blueMultiplier * _local2)), ((_local4.alphaMultiplier * _local3) + (_local5.alphaMultiplier * _local2)), ((_local4.redOffset * _local3) + (_local5.redOffset * _local2)), ((_local4.greenOffset * _local3) + (_local5.greenOffset * _local2)), ((_local4.blueOffset * _local3) + (_local5.blueOffset * _local2)), ((_local4.alphaOffset * _local3) + (_local5.alphaOffset * _local2)));
}
public static function removeTween(_arg1:TweenLite=null):void{
if (((!((_arg1 == null))) && (!((_all[_arg1.target] == undefined))))){
_all[_arg1.target][_arg1] = null;
delete _all[_arg1.target][_arg1];
};
}
public static function transformProxy(_arg1:Object):void{
var _local4:String;
if (!_arg1.info.target.parent){
return;
};
var _local2:Number = _arg1.target.progress;
var _local3:Number = (1 - _local2);
TransformProxy.target = _arg1.info.target;
TransformProxy.localRegistration = _arg1.info.tpoint;
for (_local4 in _arg1.info.transfer) {
TransformProxy[_local4] = ((_arg1.info.source[_local4] * _local3) + (_arg1.info.transfer[_local4] * _local2));
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Object;
var _local4:*;
if (((!((_arg1 == null))) && (!((_all[_arg1] == undefined))))){
if (_arg2){
_local3 = _all[_arg1];
for (_local4 in _local3) {
_local3[_local4].complete(false);
};
};
delete _all[_arg1];
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function executeAll(_arg1:Event=null):void{
var _local3:Dictionary;
var _local4:Object;
var _local5:Object;
var _local2:uint = (_curTime = getTimer());
if (_listening){
_local3 = _all;
for each (_local4 in _local3) {
for (_local5 in _local4) {
if (((!((_local4[_local5] == undefined))) && (_local4[_local5].active))){
_local4[_local5].render(_local2);
};
};
};
};
}
public static function volumeProxy(_arg1:Object):void{
_arg1.info.target.soundTransform = _arg1.target;
}
public static function getD(_arg1:Object=null):Number{
var _local4:TweenLite;
var _local2:Number = 0;
var _local3:Dictionary = _all[_arg1];
for each (_local4 in _local3) {
_local2 = (_local2 + (_local4.duration + _local4.delay));
};
return (_local2);
}
public static function killGarbage(_arg1:TimerEvent):void{
var _local3:Boolean;
var _local4:Object;
var _local5:Object;
var _local6:Object;
var _local2:uint;
for (_local4 in _all) {
_local3 = false;
for (_local5 in _all[_local4]) {
_local3 = true;
break;
};
if (!_local3){
delete _all[_local4];
} else {
_local2++;
};
};
if (_local2 == 0){
_timer.removeEventListener("timer", killGarbage);
_timer.stop();
_listening = false;
};
}
public static function getP(_arg1:Object=null):Boolean{
var _local3:TweenLite;
var _local2:Dictionary = _all[_arg1];
for each (_local3 in _local2) {
return (true);
};
return (false);
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 17
//BitmapClip (objects.BitmapClip)
package objects {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class BitmapClip extends Sprite {
private var mCurrentFrame:int;// = 0
private var mFrameDelay:Number;// = 400
private var mAnimTimer:Timer;
private var myFrames:Array;
private var mLoopTimes:int;// = 0
public function BitmapClip(_arg1:Array, _arg2:Boolean=true){
var MoveIn:Function;
var images = _arg1;
var remove = _arg2;
myFrames = new Array();
super();
MoveIn = function (_arg1, _arg2:int, _arg3:Array){
myFrames[_arg2] = new Bitmap(_arg1);
};
images.forEach(MoveIn);
if (remove){
mLoopTimes = myFrames.length;
};
mAnimTimer = new Timer(50, mLoopTimes);
mAnimTimer.addEventListener(TimerEvent.TIMER, EnterFr, false, 0, true);
var curBmp:Bitmap = myFrames[currentFrame];
this.addChild(curBmp);
if (remove){
mAnimTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onAnimEnd);
};
}
public function nextFrame():void{
var _local1:int = mCurrentFrame;
var _local2:int = (mCurrentFrame + 1);
if (_local2 > (myFrames.length - 1)){
_local2 = 0;
};
var _local3:Bitmap = myFrames[_local1];
var _local4:Bitmap = myFrames[_local2];
if (this.contains(_local3)){
this.removeChild(_local3);
};
this.addChild(_local4);
mCurrentFrame = _local2;
}
public function get loopTimes():int{
return (mLoopTimes);
}
public function set loopTimes(_arg1:int):void{
mLoopTimes = _arg1;
mAnimTimer.repeatCount = mLoopTimes;
}
public function get currentFrame():int{
return (mCurrentFrame);
}
public function set delay(_arg1:Number):void{
mFrameDelay = _arg1;
mAnimTimer.delay = mFrameDelay;
}
public function stop():void{
mAnimTimer.stop();
}
public function play():void{
mAnimTimer.reset();
mAnimTimer.start();
}
private function onAnimEnd(_arg1:TimerEvent):void{
this.parent.removeChild(this);
removeEventListener(TimerEvent.TIMER, EnterFr);
removeEventListener(TimerEvent.TIMER_COMPLETE, onAnimEnd);
}
public function get delay():Number{
return (mFrameDelay);
}
private function EnterFr(_arg1:TimerEvent):void{
nextFrame();
}
public function prevFrame():void{
var _local1:int = mCurrentFrame;
var _local2:int = (mCurrentFrame - 1);
if (_local2 < 0){
_local2 = (myFrames.length - 1);
};
var _local3:Bitmap = myFrames[_local1];
var _local4:Bitmap = myFrames[_local2];
if (this.contains(_local3)){
this.removeChild(_local3);
};
this.addChild(_local4);
mCurrentFrame = _local2;
}
}
}//package objects
Section 18
//BitmapS (objects.BitmapS)
package objects {
import flash.display.*;
public class BitmapS extends Bitmap {
private var myFrames:Array;
public function BitmapS(_arg1:Array, _arg2:int=1){
myFrames = _arg1;
this.bitmapData = _arg1[_arg2];
}
public function set index(_arg1:int){
this.bitmapData = myFrames[_arg1];
}
}
}//package objects
Section 19
//ImageArray (objects.ImageArray)
package objects {
import flash.display.*;
import flash.geom.*;
public dynamic class ImageArray extends Array {
public function ImageArray(_arg1:String, _arg2:Bitmap, _arg3:uint=1, _arg4:uint=1){
var _local10:uint;
var _local12:Array;
var _local13:uint;
super();
if (_arg1 != null){
_local12 = _arg1.split("");
};
var _local5:BitmapData;
var _local6:Rectangle;
var _local7:Point;
var _local8:int = (_arg2.width / _arg4);
var _local9:int = (_arg2.height / _arg3);
var _local11:uint;
while (_local11 < _arg3) {
_local13 = 0;
while (_local13 < _arg4) {
_local5 = new BitmapData(_local8, _local9, true, 0xFF);
_local6 = new Rectangle((_local13 * _local8), (_local11 * _local9), _local8, _local9);
_local7 = new Point(0, 0);
_local5.copyPixels(_arg2.bitmapData, _local6, _local7);
_local10 = ((_local11 * _arg4) + _local13);
if (_arg1 != null){
this[_local12[_local10]] = _local5;
} else {
this.push(_local5);
};
_local13++;
};
_local11++;
};
}
}
}//package objects
Section 20
//SpriteText (objects.SpriteText)
package objects {
import flash.display.*;
public class SpriteText extends Sprite {
var target:BitmapData;
var bitmaps:Array;
var mytext:String;
var step:int;// = 28
public function SpriteText(_arg1:String="213", _arg2:int=28){
bitmaps = new Array();
super();
}
public function set text(_arg1:String){
mytext = _arg1;
var _local2:int = bitmaps.length;
var _local3:Array = _arg1.split("");
var _local4:uint = ((_local3.length)<_local2) ? bitmaps.length : _local3.length;
var _local5:int = (_local4 * step);
while (_local4--) {
target = g.char1_array[_local3[_local4]];
if (_local4 >= _local3.length){
removeChild(getChildAt(_local4));
} else {
if (_local4 < _local2){
if (bitmaps[_local4].bitmapData != target){
bitmaps[_local4].bitmapData = target;
};
} else {
addChild((bitmaps[_local4] = new Bitmap(target))).x = _local5;
};
};
_local5 = (_local5 - step);
};
bitmaps.length = _local3.length;
}
public function get text():String{
return (mytext);
}
}
}//package objects
Section 21
//TextTween (ru.etcs.effects.TextTween)
package ru.etcs.effects {
import flash.display.*;
import flash.events.*;
import ru.etcs.events.*;
public class TextTween extends Shape {
private var __position:Number;
private var charDuration:Number;
private var timeList:Array;
public var isReverse:Boolean;
private var shiftRange:Number;
private var minCode:Number;// = 33
private var transitionText:String;
private var run:Function;
public var isPlaying:Boolean;
private var length:Number;
private var codeList:Array;
private var text:String;
private var maxCode:Number;// = 96
private var __duration:Number;
private var change:Function;
private var __time:Number;
public static const version:String = "1.3";
private static var codeRange:Array = [[33, 126], [1040, 1103], [160, 0xFF]];
public function TextTween(_arg1:String=null, _arg2:Function=null, _arg3:Function=null, _arg4:Number=20, _arg5:Number=20, _arg6:Number=20, _arg7:Boolean=false){
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Array;
var _local16:Number;
var _local17:Number;
super();
if (!_arg1.length){
throw (new Error("TextTween: text length is 0 or undefined"));
};
if ((_arg2 as Function) == null){
this.run = this.defaultFunction;
} else {
this.run = _arg2;
};
if ((_arg3 as Function) == null){
this.change = this.defaultFunction;
} else {
this.change = _arg3;
};
this.isReverse = _arg7;
this.__duration = ((_arg4 < 0)) ? 20 : _arg4;
this.charDuration = ((_arg5 < 0)) ? 20 : _arg5;
this.shiftRange = ((_arg6 < 0)) ? 20 : _arg6;
this.__time = 0;
this.transitionText = "";
this.length = _arg1.length;
this.text = _arg1;
this.timeList = [];
this.codeList = [];
var _local8:Array = TextTween.codeRange;
var _local9:Number = 0;
while (_local9 < this.length) {
_local10 = this.text.charCodeAt(_local9);
_local11 = (1 + Math.floor((Math.random() * this.shiftRange)));
_local12 = (Math.floor((Math.random() * 2))) ? 1 : -1;
_local11 = (_local11 * _local12);
_local13 = (_local10 + _local11);
_local14 = 0;
while (_local14 < _local8.length) {
_local15 = _local8[_local14];
_local16 = _local15[0];
_local17 = _local15[1];
if ((((_local10 >= _local16)) && ((_local10 <= _local17)))){
_local13 = Math.min(Math.max(_local13, _local16), _local17);
};
_local14++;
};
this.codeList.push(_local13);
if (this.isReverse){
this.timeList.push(this.charDuration);
} else {
this.timeList.push(0);
};
_local9++;
};
this.start();
}
public function stop():void{
this.removeEventListener(Event.ENTER_FRAME, this.enterFrameHandler);
this.isPlaying = false;
}
public function tooString():String{
return ((((((("[ TextTween v" + TextTween.version) + ", isPlaying: ") + this.isPlaying) + ", isReverse: ") + this.isReverse) + " ]"));
}
public function get time():Number{
return (this.__time);
}
private function update():void{
this.position = this.getPosition(this.time);
var _local1:TextTweenEvent = new TextTweenEvent(TextTweenEvent.CHANGED, this.transitionText);
this.dispatchEvent(_local1);
}
private function enterFrameHandler(_arg1:Event):void{
var _local2:TextTweenEvent;
if (this.time == 0){
_local2 = new TextTweenEvent(TextTweenEvent.START, (this.isReverse) ? this.text : this.transitionText);
this.dispatchEvent(_local2);
};
this.time++;
}
public function set position(_arg1:Number):void{
var _local2:Number;
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:String;
this.__position = ((_arg1 < 0)) ? 0 : _arg1;
if (this.__position > this.length){
_local2 = (this.__position - this.length);
_local3 = "";
_local4 = _local2;
while (_local4 >= 0) {
_local5 = (this.minCode + Math.floor((Math.random() * (this.maxCode - this.minCode))));
_local6 = String.fromCharCode(_local5);
_local3 = (_local3 + _local6);
_local4--;
};
this.transitionText = (this.getShiftString(this.length) + _local3);
} else {
this.transitionText = this.getShiftString(Math.floor(this.__position));
};
}
public function get duration():Number{
return (this.__duration);
}
private function getPosition(_arg1:Number):Number{
var _local2:Number = Math.round(this.run(_arg1, 0, this.length, this.duration));
if (this.isReverse){
_local2 = Math.round(this.run(_arg1, this.length, -(this.length), this.duration));
};
return (_local2);
}
public function set duration(_arg1:Number):void{
this.__duration = ((_arg1)<0) ? 20 : _arg1;
this.update();
}
public function set time(_arg1:Number):void{
var _local2:TextTweenEvent;
if (_arg1 > this.duration){
this.__time = this.duration;
this.update();
_local2 = new TextTweenEvent(TextTweenEvent.STOP, this.transitionText);
if (((this.isReverse) && ((this.transitionText == "")))){
this.stop();
this.dispatchEvent(_local2);
} else {
if (this.transitionText == this.text){
this.stop();
this.dispatchEvent(_local2);
};
};
} else {
_arg1 = ((_arg1)<0) ? 0 : _arg1;
this.__time = _arg1;
this.update();
};
}
public function get position():Number{
return (this.__position);
}
private function defaultFunction(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public function start():void{
this.addEventListener(Event.ENTER_FRAME, this.enterFrameHandler);
this.isPlaying = true;
}
private function getShiftString(_arg1:Number):String{
var _local4:String;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:String;
var _local2 = "";
var _local3:Number = 0;
while (_local3 < _arg1) {
_local4 = this.text.charAt(_local3);
_local5 = this.codeList[_local3];
_local6 = _local4.charCodeAt(0);
_local7 = this.timeList[_local3];
_local8 = Math.floor(this.change(_local7, _local5, (_local6 - _local5), this.charDuration));
_local9 = String.fromCharCode(_local8);
if (this.isReverse){
if ((((_local7 > 0)) && ((_local3 > (_arg1 - this.charDuration))))){
_local7--;
this.timeList[_local3] = _local7;
};
} else {
if (_local7 < this.charDuration){
_local7++;
this.timeList[_local3] = _local7;
};
};
switch (_local4){
case "\r":
case "\n":
case "\t":
_local2 = (_local2 + _local4);
break;
default:
_local2 = (_local2 + _local9);
};
_local3++;
};
return (_local2);
}
}
}//package ru.etcs.effects
Section 22
//TextTweenEvent (ru.etcs.events.TextTweenEvent)
package ru.etcs.events {
import flash.events.*;
public class TextTweenEvent extends Event {
public var text:String;
public static const STOP:String = "textTweenStop";
public static const START:String = "textTweenStart";
public static const CHANGED:String = "textTweenChanged";
public function TextTweenEvent(_arg1:String, _arg2:String=null){
super(_arg1);
this.text = _arg2;
}
}
}//package ru.etcs.events
Section 23
//_Score_tx (_Score_tx)
package {
import flash.display.*;
public dynamic class _Score_tx extends BitmapData {
public function _Score_tx(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 24
//An (An)
package {
import flash.display.*;
import gs.*;
import flash.events.*;
import functions.*;
import gs.easing.*;
import flash.utils.*;
public class An {
public static var anim_index:int = 0;
public static var i:TweenFilterLite;
public static var animations = new Object();
private static var wait:Function = TweenFilterLite.getD;
public static var getP:Function = TweenLite.getP;
public static var id:An;
public static var anim_handler:Dictionary = new Dictionary();
public function An(){
id = this;
initAnim();
}
public function initAnim(){
animations["Flash"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.5, {overwrite:0, colorMatrixFilter:{contrast:1.5, brightness:1.5}});
return (TweenFilterLite.to(_arg1, 0.5, {delay:wait(_arg1), overwrite:0, colorMatrixFilter:{contrast:1, brightness:1}}));
};
animations["CellLoad"] = function (_arg1:Object=null):TweenFilterLite{
var _local2:*;
var _local3:*;
_local2 = (-(m.point_distance(_arg1.x, _arg1.y, 320, 180)) / 2);
_local3 = m.point_direction(_arg1.x, _arg1.y, 320, 180);
return (TweenFilterLite.from(_arg1, 0.4, {overwrite:1, alpha:0, x:(_arg1.x + m.len_x(_local2, _local3)), y:(_arg1.y + m.len_y(_local2, _local3)), scaleX:2, scaleY:2, blurFilter:{blurX:10, blurY:10}}));
};
animations["CellUnload"] = function (_arg1:Object=null):TweenFilterLite{
var _local2:*;
var _local3:*;
_local2 = (-(m.point_distance(_arg1.x, _arg1.y, 320, 180)) / 2);
_local3 = m.point_direction(_arg1.x, _arg1.y, 320, 180);
return (TweenFilterLite.to(_arg1, 0.4, {overwrite:1, alpha:0, x:(_arg1.x + m.len_x(_local2, _local3)), y:(_arg1.y + m.len_y(_local2, _local3)), scaleX:2, scaleY:2, blurFilter:{blurX:10, blurY:10}}));
};
animations["hiFlash"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.5, {overwrite:0, colorMatrixFilter:{contrast:2, brightness:2}});
return (TweenFilterLite.to(_arg1, 0.5, {delay:wait(_arg1), overwrite:0, colorMatrixFilter:{contrast:1, brightness:1}}));
};
animations["outFlash"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.5, {overwrite:0, colorMatrixFilter:{contrast:2, brightness:2}});
return (TweenFilterLite.to(_arg1, 0.5, {delay:wait(_arg1), alpha:0, overwrite:0, colorMatrixFilter:{contrast:1, brightness:1}}));
};
animations["blowIn"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0, {delay:wait(_arg1), tint:0xFFFF, alpha:0});
TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), alpha:0.5, Transform:{scaleX:0.12, scaleY:3, Point:{x:0.1, y:0.2}}, blurFilter:{blurX:5, blurY:5, quality:1}});
return (TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), alpha:1, Transform:{scaleX:1, scaleY:1, Point:{x:0.1, y:0.2}}, removeTint:true, blurFilter:{blurX:0, blurY:0}}));
};
animations["blowOut"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), tint:0xFFFF, Transform:{scaleX:0.5, scaleY:1.4, Point:{x:0.1, y:0.1}}, blurFilter:{blurX:5, blurY:5, quality:1}});
return (TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), alpha:0, Transform:{scaleX:1, scaleY:1, Point:{x:0.1, y:0.1}}, blurFilter:{blurX:20, blurY:20}}));
};
animations["blowOut2"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.3, {delay:wait(_arg1), tint:0xFFFF, Transform:{scaleX:0.5, scaleY:1.4, Point:{x:0.1, y:0.1}}, blurFilter:{blurX:5, blurY:5, quality:1}});
return (TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), alpha:0, Transform:{scaleX:1, scaleY:1, Point:{x:0.1, y:0.1}}, blurFilter:{blurX:20, blurY:20}}));
};
animations["blowTel"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.7, {delay:wait(_arg1), tint:0xFFFF, Transform:{scaleX:0.5, scaleY:1.4, Point:{x:0.5, y:0.2}}, blurFilter:{blurX:5, blurY:5, quality:1}});
return (TweenFilterLite.to(_arg1, 1.3, {delay:wait(_arg1), alpha:0, Transform:{scaleX:1, scaleY:0.001, Point:{x:0.5, y:0.2}}, blurFilter:{blurX:33, blurY:33}}));
};
animations["blurIn"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, 1.6, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}}));
};
animations["fastIn"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, 0.6, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}}));
};
animations["fastOut"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, 0.6, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}}));
};
animations["blurOff"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, 1.6, {overwrite:1, alpha:1, blurFilter:{blurX:0, blurY:0}}));
};
animations["blurInto"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}});
return (TweenFilterLite.to(_arg1, 0.5, {delay:wait(_arg1), overwrite:0, alpha:1, blurFilter:{blurX:0, blurY:0}}));
};
animations["blurFuzz"] = function (_arg1:Object=null):TweenFilterLite{
TweenFilterLite.to(_arg1, 0.1, {overwrite:1, alpha:0.5, blurFilter:{blurX:33, blurY:0}});
return (TweenFilterLite.to(_arg1, 0.2, {delay:wait(_arg1), overwrite:0, alpha:1, blurFilter:{blurX:0, blurY:0}}));
};
animations["blurMoveIn"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, 1.2, {delay:(Math.random() / 2), ease:Back.easeOut, overwrite:1, alpha:0, x:int((_arg1.x - _arg1.width)), blurFilter:{blurX:33, blurY:0}}));
};
animations["blurMoveOut"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, 1.2, {delay:(Math.random() / 2), ease:Back.easeOut, overwrite:1, alpha:0, x:(_arg1.x - _arg1.width), blurFilter:{blurX:33, blurY:0}}));
};
animations["blurMoveDw"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, 1.6, {delay:(Math.random() / 2), ease:Elastic.easeOut, overwrite:1, alpha:0, y:(_arg1.y + _arg1.height), blurFilter:{blurX:0, blurY:33}}));
};
animations["blurOut"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, 1.6, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}}));
};
animations["blurOutto"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, 0.6, {overwrite:1, alpha:0, blurFilter:{blurX:33, blurY:0}}));
};
animations["fromUp"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, ((Math.random() / 4) + (_arg1.x / (_arg1.width * 6))), {ease:Back.easeOut, overwrite:0, y:(0 - _arg1.height)}));
};
animations["toUp"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, ((Math.random() / 2) + 0.5), {ease:Back.easeIn, overwrite:0, y:(0 - _arg1.height)}));
};
animations["fromDw"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, (_arg1.height * 0.01), {overwrite:0, y:(0 + _arg1.height)}));
};
animations["fromLf"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.from(_arg1, (_arg1.height * 0.01), {overwrite:0, x:(0 - _arg1.height)}));
};
animations["fromsLf"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, (_arg1.height * 0.01), {overwrite:1, x:(-5 - _arg1.height)}));
};
animations["toLf"] = function (_arg1:Object=null):TweenFilterLite{
return (TweenFilterLite.to(_arg1, (_arg1.height * 0.01), {delay:wait(_arg1), overwrite:1, x:0}));
};
}
public static function play(_arg1, _arg2:String, _arg3:Boolean=true):TweenFilterLite{
if (((getP(_arg1)) && (_arg3))){
return (null);
};
return (animations[_arg2](_arg1));
}
}
}//package
Section 25
//BBack (BBack)
package {
import flash.display.*;
public dynamic class BBack extends SimpleButton {
}
}//package
Section 26
//bEas (bEas)
package {
import flash.display.*;
public dynamic class bEas extends BitmapData {
public function bEas(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 27
//bHar (bHar)
package {
import flash.display.*;
public dynamic class bHar extends BitmapData {
public function bHar(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 28
//bNor (bNor)
package {
import flash.display.*;
public dynamic class bNor extends BitmapData {
public function bNor(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 29
//Box (Box)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public class Box extends MovieClip implements ISolid, IMoving {
public var zz:int;// = 1
public var cell_sx:int;// = 0
public var cell_sy:int;// = 0
public var cell_x:int;// = 0
public var start_y:int;
public var tw:Tween;
public var start_x:int;
public var cell_y:int;// = 0
public function Box(){
var _local1:* = addChild(new Bitmap(new sBox_tn(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 30);
}
function onRes(){
cell_x = int((Math.ceil(x) / Level.sizeX));
cell_y = int((Math.ceil(y) / Level.sizeY));
if (Level.tmp_odynam[((cell_x + "_") + cell_y)] == this){
delete Level.tmp_odynam[((cell_x + "_") + cell_y)];
};
Level.tmp_odynam[((cell_sx + "_") + cell_sy)] = this;
x = start_x;
y = start_y;
var _local1:* = An.play(this, "blowIn");
}
public function restart(){
if (Level.tmp_odynam[((cell_sx + "_") + cell_sy)] == this){
return;
};
var _local1:* = An.play(this, "blowOut");
_local1.vars["onComplete"] = onRes;
}
public function init():void{
cell_sx = int((x / Level.sizeX));
cell_sy = int((y / Level.sizeY));
start_x = int(x);
start_y = int(y);
}
}
}//package
Section 30
//BoxE (BoxE)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public class BoxE extends MovieClip implements ISolid, IMoving {
public var zz:int;// = 1
public var cell_sx:int;// = 0
public var cell_sy:int;// = 0
public var cell_x:int;// = 0
public var start_y:int;
public var tw:Tween;
public var start_x:int;
public var cell_y:int;// = 0
public function BoxE(){
var _local1:* = addChild(new Bitmap(new sBox_tn(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 30);
}
function onRes(){
cell_x = int((Math.ceil(x) / Level.sizeX));
cell_y = int((Math.ceil(y) / Level.sizeY));
if (Level.tmp_odynam[((cell_x + "_") + cell_y)] == this){
delete Level.tmp_odynam[((cell_x + "_") + cell_y)];
};
Level.tmp_odynam[((cell_sx + "_") + cell_sy)] = this;
x = start_x;
y = start_y;
var _local1:* = An.play(this, "blowIn");
}
public function restart(){
if (Level.tmp_odynam[((cell_sx + "_") + cell_sy)] == this){
return;
};
var _local1:* = An.play(this, "blowOut");
_local1.vars["onComplete"] = onRes;
}
public function init():void{
cell_sx = int((x / Level.sizeX));
cell_sy = int((y / Level.sizeY));
start_x = int(x);
start_y = int(y);
}
}
}//package
Section 31
//BoxQ (BoxQ)
package {
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
public class BoxQ extends MovieClip implements ISolid, IMoving {
public var zz:int;// = 1
public var cell_sx:int;// = 0
public var cell_sy:int;// = 0
public var cell_x:int;// = 0
public var start_y:int;
public var tw:Tween;
public var start_x:int;
public var cell_y:int;// = 0
public function BoxQ(){
var _local1:* = addChild(new Bitmap(new sBox_tn(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 30);
}
function onRes(){
cell_x = int((Math.ceil(x) / Level.sizeX));
cell_y = int((Math.ceil(y) / Level.sizeY));
if (Level.tmp_odynam[((cell_x + "_") + cell_y)] == this){
delete Level.tmp_odynam[((cell_x + "_") + cell_y)];
};
Level.tmp_odynam[((cell_sx + "_") + cell_sy)] = this;
x = start_x;
y = start_y;
var _local1:* = An.play(this, "blowIn");
}
public function restart(){
if (Level.tmp_odynam[((cell_sx + "_") + cell_sy)] == this){
return;
};
var _local1:* = An.play(this, "blowOut");
_local1.vars["onComplete"] = onRes;
}
public function init():void{
cell_sx = int((x / Level.sizeX));
cell_sy = int((y / Level.sizeY));
start_x = int(x);
start_y = int(y);
}
}
}//package
Section 32
//BoxS (BoxS)
package {
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import fl.transitions.*;
public class BoxS extends MovieClip implements ISolid, IMoving {
public var zz:int;// = 1
public var tw:Tween;
private var _box:DisplayObject;
public var cell_x:int;// = 0
public var start_y:int;
public var mybox:MovieClip;
public var cell_sx:int;// = 0
public var cell_sy:int;// = 0
public var targ:GoalS;
public var start_x:int;
public var cell_y:int;// = 0
public var idx:int;
public function BoxS(){
var _local1:* = addChild(new Bitmap(new sBox_tn(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 30);
}
function onRes(){
cell_x = int((Math.ceil(x) / Level.sizeX));
cell_y = int((Math.ceil(y) / Level.sizeY));
if (Level.tmp_odynam[((cell_x + "_") + cell_y)] == this){
delete Level.tmp_odynam[((cell_x + "_") + cell_y)];
};
Level.tmp_odynam[((cell_sx + "_") + cell_sy)] = this;
x = start_x;
y = start_y;
var _local1:* = An.play(this, "blowIn");
}
public function restart(){
if (Level.tmp_odynam[((cell_sx + "_") + cell_sy)] == this){
return;
};
var _local1:* = An.play(this, "blowOut");
_local1.vars["onComplete"] = onRes;
}
public function init(_arg1:Event=null):void{
var _local2:*;
_box = getChildByName("mybox");
cell_sx = int((x / Level.sizeX));
cell_sy = int((y / Level.sizeY));
start_x = int(x);
start_y = int(y);
for each (_local2 in Level.inst) {
if ((_local2 is GoalS)){
if (_local2.idx == idx){
targ = _local2;
};
};
};
onRoll();
}
public function offRoll(_arg1:Event=null){
_box.filters = [];
targ.filters = [];
}
function getBitmapFilter():BitmapFilter{
var _local1:Number = g.colors[("c" + idx)];
var _local2:Number = 10;
var _local3:Number = 10;
var _local4:Number = 4;
return (new GlowFilter(_local1, 1, _local2, _local3, _local4, 1, false, false));
}
public function kill(){
targ = null;
tw = null;
}
public function onRoll(_arg1:Event=null){
var _local2:BitmapFilter = getBitmapFilter();
var _local3:Array = new Array();
_local3.push(_local2);
_box.filters = _local3;
targ.filters = _local3;
}
}
}//package
Section 33
//BRes (BRes)
package {
import flash.display.*;
public dynamic class BRes extends SimpleButton {
}
}//package
Section 34
//BStep (BStep)
package {
import flash.display.*;
public dynamic class BStep extends SimpleButton {
}
}//package
Section 35
//btnRoll (btnRoll)
package {
import flash.display.*;
public dynamic class btnRoll extends MovieClip {
}
}//package
Section 36
//Bwall (Bwall)
package {
public class Bwall implements ISolid, IWall {
}
}//package
Section 37
//Bwall1 (Bwall1)
package {
import flash.display.*;
public class Bwall1 extends MovieClip implements ISolid, IWall {
}
}//package
Section 38
//Contll (Contll)
package {
import flash.display.*;
public dynamic class Contll extends MovieClip {
}
}//package
Section 39
//contTile (contTile)
package {
import flash.display.*;
public dynamic class contTile extends MovieClip {
}
}//package
Section 40
//Door (Door)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import functions.*;
import objects.*;
public class Door extends Sprite implements ISpecial {
public var zz:int;// = 1
private var sprRf;// = null
public var objrf;// = null
private var da;// = null
private var du;// = null
public var status:Boolean;// = true
public var idx:int;
public function Door(){
var _local1:* = addChild(new Bitmap(new s_dr1(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 20);
du = addChild(new Sprite());
var _local2:* = du.addChild(new Bitmap(new s_dr2(0, 0)));
_local2.x = (_local2.x - 18);
_local2.y = (_local2.y - 37);
da = du.addChild(new Bitmap(new s_dr4(0, 0)));
da.x = (da.x - 22);
da.y = (da.y - 40);
du.x = (du.x - 2);
du.y = (du.y - 7);
_local2.blendMode = "hardlight";
da.blendMode = "add";
da.alpha = 0.2;
addEventListener("enterFrame", size);
}
private function size(_arg1:Event):void{
da.y = (da.y - 1);
if (da.y < -58){
da.y = 20;
};
da.alpha = (0.2 - (Math.abs((15 + da.y)) * 0.015));
}
public function open(){
if (status == false){
return;
};
du.visible = false;
ss.play("open");
zz = 0;
status = false;
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
Level.tmp_object[((_local1 + "_") + _local2)] = this;
}
public function init():void{
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
Level.tmp_object[((_local1 + "_") + _local2)] = new Bwall();
}
public function close(){
if (status == true){
return;
};
ss.play("open");
du.visible = true;
zz = 1;
status = true;
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
Level.tmp_object[((_local1 + "_") + _local2)] = new Bwall();
}
public function kill(){
removeEventListener("enterFrame", size);
}
}
}//package
Section 41
//Door1 (Door1)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import functions.*;
import objects.*;
public class Door1 extends Sprite implements ISpecial {
public var zz:int;// = 1
private var sprRf;// = null
public var objrf;// = null
private var da;// = null
public var targ:Push;// = null
private var du;// = null
public var status:Boolean;// = true
public var idx:int;
public function Door1(){
var _local1:* = addChild(new Bitmap(new s_dr1(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 20);
du = addChild(new Sprite());
var _local2:* = du.addChild(new Bitmap(new s_dr2(0, 0)));
_local2.x = (_local2.x - 18);
_local2.y = (_local2.y - 37);
da = du.addChild(new Bitmap(new s_dr4(0, 0)));
da.x = (da.x - 22);
da.y = (da.y - 40);
du.x = (du.x - 2);
du.y = (du.y - 7);
_local2.blendMode = "hardlight";
da.blendMode = "add";
da.alpha = 0.2;
addEventListener("enterFrame", size);
}
private function size(_arg1:Event):void{
da.y = (da.y - 1);
if (da.y < -58){
da.y = 20;
};
da.alpha = (0.2 - (Math.abs((15 + da.y)) * 0.015));
}
public function open(){
if (status == false){
return;
};
du.visible = false;
ss.play("open");
zz = 0;
status = false;
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
Level.tmp_object[((_local1 + "_") + _local2)] = this;
}
public function init():void{
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
Level.tmp_object[((_local1 + "_") + _local2)] = new Bwall();
}
public function close(){
if (status == true){
return;
};
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
if ((Level.tmp_odynam[((_local1 + "_") + _local2)] is IMoving)){
return;
};
ss.play("open");
du.visible = true;
zz = 1;
status = true;
Level.tmp_object[((_local1 + "_") + _local2)] = new Bwall();
}
public function kill(){
removeEventListener("enterFrame", size);
targ = null;
}
}
}//package
Section 42
//elBox (elBox)
package {
import flash.display.*;
public dynamic class elBox extends BitmapData {
public function elBox(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 43
//elClock (elClock)
package {
import flash.display.*;
public dynamic class elClock extends BitmapData {
public function elClock(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 44
//elSlash (elSlash)
package {
import flash.display.*;
public dynamic class elSlash extends BitmapData {
public function elSlash(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 45
//Enemy (Enemy)
package {
import flash.display.*;
import functions.*;
import objects.*;
import flash.utils.*;
public class Enemy extends MovieClip implements ISpecial {
public var cur:int;// = 0
private var total:int;// = 0
private var sprite:BitmapS;
public var zz:int;// = 8
public var px:Object;
public var py:Object;
private var xpeed:int;// = 0
private var ypeed:int;// = 0
private var mAnimTimer:Timer;
private var pprev:int;// = 0
private var xprev:int;// = 0
private var yprev:int;// = 0
private var _dr:int;// = 0
private var _ligth:DisplayObject;
public function Enemy(){
px = new Object();
py = new Object();
super();
mAnimTimer = new Timer(200, 1);
var _local1:* = addChild(new sShadow());
_local1.scaleX = 0.4;
_local1.scaleY = 0.2;
_local1.alpha = 0.6;
_ligth = addChild(new oLigth());
_ligth.alpha = 0.6;
sprite = new BitmapS(g.saEnemy, 1);
addChild(sprite);
sprite.y = (sprite.y - 65);
sprite.x = (sprite.x - 30);
}
private function onRes(_arg1:Object):void{
mAnimTimer.stop();
if (!hasEventListener("enterFrame")){
addEventListener("enterFrame", step);
};
}
public function step(_arg1:Object){
var _local2:int;
var _local3:*;
var _local4:*;
if (g.play == false){
return;
};
if ((((int(x) == (px[cur] * Level.sizeX))) && ((int(y) == (py[cur] * Level.sizeY))))){
_local2 = cur;
cur = (cur + 1);
if (cur == total){
cur = 0;
};
xpeed = (2 * m.sign((px[cur] - px[_local2])));
ypeed = (2 * m.sign((py[cur] - py[_local2])));
};
if ((xpeed + ypeed) != 0){
_local3 = m.diff(_dr, int((((Math.atan2(-(xpeed), -(ypeed)) * (180 / Math.PI)) - 66) / 12)), 30);
_dr = (_dr - m.sign(_local3));
if (_dr == 30){
_dr = 0;
} else {
if (_dr == -1){
_dr = 29;
};
};
sprite.index = _dr;
sprite.y = ((Math.cos(((x + y) / 10)) * 4) - 65);
_ligth.scaleX = ((-(Math.cos(((x + y) / 10))) * 0.1) + 1);
_ligth.rotation = ((-(_dr) * 12) + 210);
if (Player.id){
if (m.point_distance((x + m.len_x(40, ((_dr * 12) + 150))), (y + m.len_y(40, ((_dr * 12) + 150))), Player.id.x, Player.id.y) < 15){
_local4 = Level.id.addChild(new Wrong());
_local4.x = x;
_local4.y = y;
removeEventListener("enterFrame", step);
Level.loose();
};
};
};
x = (x + xpeed);
y = (y + ypeed);
}
public function restart(){
mAnimTimer = new Timer(1000, 1);
mAnimTimer.start();
mAnimTimer.addEventListener("timerComplete", onRes);
}
public function kill(){
removeEventListener("enterFrame", step);
_ligth = null;
sprite = null;
mAnimTimer.stop();
mAnimTimer = null;
}
public function init(){
var _local1:String;
for (_local1 in px) {
total = (total + 1);
};
cur = 0;
addEventListener("enterFrame", step);
}
public function set_prev(){
xprev = x;
yprev = y;
pprev = cur;
}
public function prev(){
x = xprev;
y = yprev;
cur = pprev;
var _local1:int = cur;
_local1 = (cur - 1);
if (_local1 == -1){
_local1 = (total - 1);
};
xpeed = (2 * m.sign((px[cur] - px[_local1])));
ypeed = (2 * m.sign((py[cur] - py[_local1])));
mAnimTimer.stop();
if (!hasEventListener("enterFrame")){
addEventListener("enterFrame", step);
};
}
}
}//package
Section 46
//f_n (f_n)
package {
import flash.display.*;
public dynamic class f_n extends BitmapData {
public function f_n(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 47
//g (g)
package {
import flash.display.*;
import flash.events.*;
import flash.filters.*;
import objects.*;
import flash.text.*;
import flash.net.*;
public class g extends Sprite {
public static var Master:MovieClip;
public static var saUFloor:Array = new ImageArray(null, new Bitmap(new sUFloor(0, 0)), 1, 5);
public static var saToon:Array = new ImageArray(null, new Bitmap(new sToon(0, 0)), 1, 8);
public static var scene:DisplayObject;
static var deft = "0123456789";
public static var score_send:int = 0;
public static var saDoor:Array = new ImageArray(null, new Bitmap(new sDoor(0, 0)), 1, 7);
public static var score_name:String = "Play";
public static var formatBig:TextFormat = new TextFormat();
public static var saRoof1:Array = new ImageArray(null, new Bitmap(new sRoof(0, 0)), 1, 9);
public static var aScore:Array = new Array();
public static var char1_array:Array = new ImageArray(deft, new Bitmap(new tFont(0, 0)), 1, 10);
public static var handicap:int = 0;
public static var main:Stage;
public static var play:Boolean = true;
public static var saWall:Array = new ImageArray(null, new Bitmap(new sWall(0, 0)), 1, 4);
public static var score_play:int = 0;
public static var fBGlow:GlowFilter = null;
public static var saPlayer:Array = new ImageArray(null, new Bitmap(new sPlayer(0, 0)), 1, 36);
public static var game_mode:String;
public static var temp;
public static var saEnemy:Array = new ImageArray(null, new Bitmap(new sEnemy(0, 0)), 1, 30);
public static var so:SharedObject = SharedObject.getLocal("fTyrjhggzxVars");
public static var curlvl:int = 0;
public static var tv_bitmaps:Array = new ImageArray(null, new Bitmap(new s_noise(0, 0)), 1, 6);
public static var Score:int = 0;
public static var format:TextFormat = new TextFormat();
public static var colors:Array = new Array();
public function g(){
var _local1:uint;
super();
format.font = "Verdana";
format.color = 0x33FF00;
format.size = 14;
formatBig.font = "Verdana";
formatBig.color = 0x33FF00;
formatBig.size = 19;
formatBig.bold = true;
colors["c1"] = 0xFFCC00;
colors["c2"] = 3316223;
colors["c3"] = 3394815;
colors["c4"] = 10040063;
colors["c5"] = 6671615;
if (g.so.data.svScore == undefined){
g.so.data.svScore = 0;
};
if (g.so.data.svScora == undefined){
_local1 = 0;
while (_local1 < 39) {
aScore[_local1] = 0;
_local1++;
};
g.so.data.svScora = aScore;
};
Score = g.so.data.svScore;
aScore = g.so.data.svScora;
fBGlow = new GlowFilter(0, 0.5, 5, 5, 1, 1, false, false);
}
public function setPlay(){
}
}
}//package
Section 48
//Goal (Goal)
package {
import flash.display.*;
public class Goal extends MovieClip {
public var zz:int;// = -1
public function prev(){
}
}
}//package
Section 49
//GoalS (GoalS)
package {
import flash.display.*;
import flash.events.*;
public class GoalS extends MovieClip implements ISpecial {
public var zz:int;// = -1
public var act:Boolean;// = false
public var idx:int;
public function prev(){
}
public function kill(){
}
public function init(_arg1:Event=null):void{
}
}
}//package
Section 50
//Hazard (Hazard)
package {
import flash.display.*;
import flash.events.*;
public class Hazard extends Sprite implements ITive {
public var zz:int;// = -1
private var sprite:Sprite;
private var sprite2:Sprite;
public var idx:int;
public function Hazard(){
sprite = new Sprite();
sprite2 = new Sprite();
super();
addChild(sprite);
addChild(sprite2);
var _local1:DisplayObject = sprite.addChild(new Bitmap(new sHaz(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 20);
_local1 = sprite2.addChild(new Bitmap(new sHaz(0, 0)));
_local1.x = (_local1.x - 20);
_local1.y = (_local1.y - 20);
sprite.rotation = (Math.random() * 360);
sprite2.rotation = (Math.random() * 360);
sprite.alpha = 0.4;
sprite2.alpha = 0.4;
var _local2 = "darken";
sprite.blendMode = _local2;
sprite2.blendMode = _local2;
addEventListener("enterFrame", step);
}
public function step(_arg1:Object){
sprite.rotation = (sprite.rotation + 1);
sprite2.y = (0 + (Math.cos((sprite.rotation / 10)) * 2));
sprite.y = (0 + (Math.cos((sprite.rotation / 10)) * 2));
sprite2.rotation = (sprite2.rotation - 1);
}
public function init(_arg1:Event=null):void{
}
public function prev(){
}
public function action(){
var _local4:*;
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
var _local3:* = Level.tmp_odynam[((_local1 + "_") + _local2)];
if ((_local3 is BoxQ)){
Level.loose();
_local4 = Level.id.addChild(new Wrong());
_local4.x = (_local1 * 40);
_local4.y = (_local2 * 36);
};
}
}
}//package
Section 51
//IMoving (IMoving)
package {
public interface IMoving {
}
}//package
Section 52
//ISolid (ISolid)
package {
public interface ISolid {
}
}//package
Section 53
//ISpecial (ISpecial)
package {
public interface ISpecial {
}
}//package
Section 54
//ITive (ITive)
package {
public interface ITive {
}
}//package
Section 55
//IWall (IWall)
package {
public interface IWall {
}
}//package
Section 56
//jBip (jBip)
package {
import flash.media.*;
public dynamic class jBip extends Sound {
}
}//package
Section 57
//jCompl (jCompl)
package {
import flash.media.*;
public dynamic class jCompl extends Sound {
}
}//package
Section 58
//jDoor (jDoor)
package {
import flash.media.*;
public dynamic class jDoor extends Sound {
}
}//package
Section 59
//jDrum (jDrum)
package {
import flash.media.*;
public dynamic class jDrum extends Sound {
}
}//package
Section 60
//jFail (jFail)
package {
import flash.media.*;
public dynamic class jFail extends Sound {
}
}//package
Section 61
//jGo (jGo)
package {
import flash.media.*;
public dynamic class jGo extends Sound {
}
}//package
Section 62
//jMov (jMov)
package {
import flash.media.*;
public dynamic class jMov extends Sound {
}
}//package
Section 63
//jOlim (jOlim)
package {
import flash.media.*;
public dynamic class jOlim extends Sound {
}
}//package
Section 64
//jRob (jRob)
package {
import flash.media.*;
public dynamic class jRob extends Sound {
}
}//package
Section 65
//jSub (jSub)
package {
import flash.media.*;
public dynamic class jSub extends Sound {
}
}//package
Section 66
//jSwitch (jSwitch)
package {
import flash.media.*;
public dynamic class jSwitch extends Sound {
}
}//package
Section 67
//jTel (jTel)
package {
import flash.media.*;
public dynamic class jTel extends Sound {
}
}//package
Section 68
//Laser (Laser)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Laser extends MovieClip implements ISpecial, ITive {
public var zz:int;// = 1
private var beamDerlay:int;// = 1500
private var mAnimTimer:Timer;
private var stayDerlay:int;// = 2500
public var type:int;
private var _stream:DisplayObject;
public function Laser(){
mAnimTimer = new Timer(1500, 1);
mAnimTimer.start();
mAnimTimer.addEventListener("timerComplete", EnterFr);
}
public function kill(){
mAnimTimer.removeEventListener("timerComplete", EnterFr);
mAnimTimer.stop();
mAnimTimer = null;
}
private function EnterFr(_arg1:Object):void{
if (_stream.visible){
mAnimTimer.delay = stayDerlay;
} else {
mAnimTimer.delay = beamDerlay;
};
mAnimTimer.start();
_stream.visible = !(_stream.visible);
if (g.play){
action();
};
}
public function init(_arg1:Event=null):void{
var _local2:DisplayObject;
if (type == 4){
_stream = addChild(new olaser1());
_stream.x = (_stream.x - 15);
_stream.y = (_stream.y - 23);
_local2 = addChild(new Bitmap(new sLasSide(0, 0)));
_local2.x = (_local2.x - 28);
_local2.y = -25;
_local2 = addChild(new Bitmap(new sLasSide(0, 0)));
_local2.x = 29;
_local2.y = -25;
_local2.scaleX = -1;
};
if (type == 1){
_local2 = addChild(new Bitmap(new sLasUp(0, 0)));
_local2.x = (_local2.x - 10);
_local2.y = -40;
_stream = addChild(new olaser2());
_stream.x = (_stream.x - 15);
_stream.y = (_stream.y - 23);
};
if (type == 0){
_stream = addChild(new olaser2());
_stream.x = (_stream.x - 15);
_stream.y = (_stream.y - 25);
_stream.scaleY = 1.2;
};
if (type == 3){
_local2 = addChild(new Bitmap(new sLasSide(0, 0)));
_local2.x = 29;
_local2.y = -25;
_local2.scaleX = -1;
_stream = addChild(new olaser1());
_stream.x = (_stream.x - 15);
_stream.y = (_stream.y - 23);
};
if (type == 2){
_stream = addChild(new olaser1());
_stream.x = (_stream.x - 18);
_stream.y = (_stream.y - 23);
_stream.scaleX = 1.4;
};
}
public function prev(){
}
public function action(){
var _local6:*;
var _local7:*;
if (!_stream.visible){
return;
};
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
var _local3:* = Player.id.trgx;
var _local4:* = Player.id.trgy;
var _local5:* = Level.tmp_odynam[((_local1 + "_") + _local2)];
if ((_local5 is IMoving)){
Level.loose();
_local6 = Level.id.addChild(new Wrong());
_local6.x = (_local1 * 40);
_local6.y = (_local2 * 36);
};
if ((((_local3 == _local1)) && ((_local4 == _local2)))){
Level.loose();
_local7 = Level.id.addChild(new Wrong());
_local7.x = (_local1 * 40);
_local7.y = (_local2 * 36);
};
}
}
}//package
Section 69
//Level (Level)
package {
import flash.display.*;
import flash.geom.*;
import functions.*;
import objects.*;
public class Level extends MovieClip {
public var nm_tile:contTile;
private static var _panel:Panel;
public static var tt:String = "";
public static var id:Level = null;
public static var choosed:int = 0;
private static var action:String = "";
public static var round_etime:Date;
public static var inst:Array = [];
public static var round_delta:int;
private static var a_steps:Array = new Array();
public static var round_stime:Date = new Date();
public static var placedBox:int = 0;
public static var tmp_tile = new Object();
public static var backBox = null;
public static var backAct1 = null;
public static var totalBox:int = 0;
public static var tmp_object = new Object();
public static var o = null;
public static var _Score:SpriteText;
public static var backAct2 = null;
public static var sizeX:int = 40;
public static var sizeY:int = 36;
public static var tmp_odynam = new Object();
public function Level(){
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);
a_steps[1] = 22;
a_steps[2] = 43;
a_steps[3] = 49;
a_steps[4] = 65;
a_steps[5] = 57;
a_steps[6] = 76;
a_steps[7] = 44;
a_steps[8] = 153;
a_steps[9] = 200;
a_steps[10] = 181;
a_steps[11] = 185;
a_steps[12] = 196;
a_steps[13] = 87;
a_steps[14] = 57;
a_steps[15] = 115;
a_steps[16] = 88;
a_steps[17] = 135;
a_steps[18] = 67;
a_steps[19] = 219;
a_steps[20] = 150;
a_steps[21] = 204;
a_steps[22] = 216;
a_steps[23] = 154;
a_steps[24] = 105;
a_steps[25] = 85;
a_steps[26] = 98;
a_steps[27] = 72;
a_steps[28] = 117;
a_steps[29] = 125;
a_steps[30] = 159;
a_steps[31] = 197;
a_steps[32] = 260;
a_steps[33] = 291;
a_steps[34] = 155;
a_steps[35] = 466;
a_steps[36] = 211;
id = this;
placedBox = 0;
g.main.addEventListener("keyDown", keyPressHandler);
addEventListener("enterFrame", step);
}
function frame33(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(12, 0, Tile);
o = itile(13, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(11, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(2, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(5, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(7, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, Box);
o = icreate(4, 3, Box);
o = icreate(7, 3, Box);
o = icreate(3, 4, Box);
o = icreate(4, 5, Box);
o = icreate(5, 6, Box);
o = icreate(8, 4, Goal);
o = icreate(9, 4, Goal);
o = icreate(8, 5, Goal);
o = icreate(9, 5, Goal);
o = icreate(8, 6, Goal);
o = icreate(9, 6, Goal);
o = icreate(7, 1, Ones);
o = icreate(7, 7, Ones);
o = icreate(3, 5, Teleport);
o.idx = 2;
o = icreate(8, 2, Teleport);
o.idx = 1;
o = icreate(6, 5, Player);
o = icreate(1, 1, Enemy);
o.px[0] = 1;
o.py[0] = 1;
o.px[1] = 12;
o.py[1] = 1;
o.px[2] = 12;
o.py[2] = 7;
o.px[3] = 1;
o.py[3] = 7;
o.px[4] = 1;
o.py[4] = 1;
o = icreate(12, 7, Enemy);
o.px[0] = 12;
o.py[0] = 7;
o.px[1] = 12;
o.py[1] = 1;
o.px[2] = 1;
o.py[2] = 1;
o.px[3] = 1;
o.py[3] = 7;
created();
}
public function keyPressHandler(_arg1:Object):void{
var _local2:* = _arg1.keyCode;
if (_local2 == 32){
prmenu();
} else {
if (_local2 == 13){
prnext();
} else {
if (_local2 == 17){
Level.restart();
};
};
};
}
function frame30(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 5, Box);
o = icreate(9, 5, Box);
o = icreate(2, 3, BoxQ);
o = icreate(5, 7, BoxQ);
o = icreate(4, 2, Goal);
o = icreate(5, 3, Goal);
o = icreate(6, 4, Goal);
o = icreate(7, 5, Goal);
o = icreate(7, 7, Ones);
o = icreate(8, 4, Teleport);
o.idx = 2;
o = icreate(1, 1, Teleport);
o.idx = 1;
o = icreate(7, 3, Teleport);
o.idx = 4;
o = icreate(9, 7, Teleport);
o.idx = 3;
o = icreate(3, 1, Laser);
o.type = 1;
o = icreate(1, 6, Laser);
o.type = 4;
o = icreate(6, 7, Laser);
o.type = 1;
o = icreate(6, 3, Hazard);
o = icreate(7, 4, Hazard);
o = icreate(8, 5, Hazard);
o = icreate(8, 3, Hazard);
o = icreate(2, 1, Hazard);
o = icreate(2, 4, Player);
created();
}
function frame31(){
o = null;
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(5, 1, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(2, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(12, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(13, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(8, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(9, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(5, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(11, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(12, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(8, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(12, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 8, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(12, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 3, Box);
o = icreate(9, 6, Box);
o = icreate(2, 7, Box);
o = icreate(8, 3, BoxE);
o = icreate(10, 8, BoxE);
o = icreate(4, 8, BoxQ);
o = icreate(3, 8, BoxQ);
o = icreate(1, 3, Goal);
o = icreate(1, 4, Goal);
o = icreate(1, 5, Goal);
o = icreate(1, 6, Goal);
o = icreate(1, 7, Goal);
o = icreate(6, 6, Ricag);
o.idx = 1;
o = icreate(10, 4, Door);
o.idx = 1;
o = icreate(5, 5, Ones);
o = icreate(7, 4, Ones);
o = icreate(8, 5, Ones);
o = icreate(4, 1, Ones);
o = icreate(3, 1, Ones);
o = icreate(10, 9, Teleport);
o.idx = 2;
o = icreate(11, 6, Teleport);
o.idx = 1;
o = icreate(2, 8, Hazard);
o = icreate(3, 7, Hazard);
o = icreate(4, 7, Hazard);
o = icreate(5, 3, Hazard);
o = icreate(12, 5, Hazard);
o = icreate(12, 6, Hazard);
o = icreate(12, 7, Hazard);
o = icreate(11, 8, Hazard);
o = icreate(11, 7, Hazard);
o = icreate(10, 7, Hazard);
o = icreate(9, 7, Hazard);
o = icreate(8, 8, Hazard);
o = icreate(11, 5, Hazard);
o = icreate(3, 9, Hazard);
o = icreate(11, 3, Hazard);
o = icreate(12, 3, Hazard);
o = icreate(11, 2, Hazard);
o = icreate(3, 4, Player);
o = icreate(6, 3, Enemy);
o.px[0] = 6;
o.py[0] = 3;
o.px[1] = 6;
o.py[1] = 1;
o.px[2] = 8;
o.py[2] = 1;
o.px[3] = 8;
o.py[3] = 3;
o = icreate(6, 9, Enemy);
o.px[0] = 6;
o.py[0] = 9;
o.px[1] = 6;
o.py[1] = 8;
o.px[2] = 8;
o.py[2] = 8;
o.px[3] = 8;
o.py[3] = 9;
created();
}
public function step(_arg1:Object){
if (!g.play){
return;
};
if (action == "next"){
nextFrame();
action = "";
};
if ((((g.main.mouseX < 32)) && ((id.x < 24)))){
id.x = (id.x + 4);
} else {
if ((((g.main.mouseY < 32)) && ((id.y < 55)))){
id.y = (id.y + 4);
} else {
if ((((g.main.mouseY > 450)) && (((id.y + id.height) > 545)))){
id.y = (id.y - 4);
} else {
if ((((g.main.mouseX > 610)) && (((id.x + id.width) > 680)))){
id.x = (id.x - 4);
};
};
};
};
round_etime = new Date();
var _local2:Number = (round_etime.getTime() - round_stime.getTime());
round_delta = int((_local2 / 1000));
if (!_panel){
return;
};
_panel.x = (-(id.x) + 10);
_panel.y = (-(id.y) + 10);
if (round_delta.toString() == tt){
return;
};
tt = round_delta.toString();
if (tt.length == 2){
tt = ("0" + tt);
} else {
if (tt.length == 1){
tt = ("00" + tt);
};
};
_Score.text = tt;
}
function frame11(){
o = null;
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 4, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(3, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(5, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 3, Box);
o = icreate(2, 7, Box);
o = icreate(6, 7, Box);
o = icreate(2, 8, Box);
o = icreate(6, 8, Box);
o = icreate(3, 8, BoxE);
o = icreate(2, 1, Goal);
o = icreate(3, 1, Goal);
o = icreate(2, 2, Goal);
o = icreate(3, 2, Goal);
o = icreate(6, 3, Goal);
o = icreate(8, 9, Push);
o.idx = 1;
o = icreate(4, 4, Door1);
o.idx = 1;
o = icreate(3, 7, Player);
created();
}
function frame12(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = itile(12, 9, Tile);
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(3, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(6, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 7, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(12, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 8, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 2, Box);
o = icreate(3, 7, Box);
o = icreate(7, 8, Box);
o = icreate(2, 8, BoxE);
o = icreate(9, 8, BoxE);
o = icreate(10, 6, Goal);
o = icreate(9, 6, Goal);
o = icreate(8, 6, Goal);
o = icreate(9, 2, Push);
o.idx = 1;
o = icreate(1, 1, Push);
o.idx = 2;
o = icreate(4, 1, Door1);
o.idx = 1;
o = icreate(4, 9, Door1);
o.idx = 2;
o = icreate(8, 3, Ricag);
o.idx = 1;
o = icreate(10, 8, Ricag);
o.idx = 2;
o = icreate(2, 9, Ricag);
o.idx = 3;
o = icreate(3, 2, Ricag);
o.idx = 4;
o = icreate(5, 5, Door);
o.idx = 3;
o = icreate(6, 6, Door);
o.idx = 2;
o = icreate(4, 6, Door);
o.idx = 4;
o = icreate(5, 7, Door);
o.idx = 1;
o = icreate(2, 6, Player);
created();
}
function frame13(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(1, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(5, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(6, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(1, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, BoxS);
o.idx = 3;
o = icreate(2, 2, BoxS);
o.idx = 4;
o = icreate(6, 5, BoxS);
o.idx = 2;
o = icreate(3, 7, BoxS);
o.idx = 1;
o = icreate(5, 4, GoalS);
o.idx = 1;
o = icreate(4, 4, GoalS);
o.idx = 4;
o = icreate(4, 5, GoalS);
o.idx = 2;
o = icreate(5, 5, GoalS);
o.idx = 3;
o = icreate(6, 7, Player);
created();
}
function frame14(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = icreate(3, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(6, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 3, Box);
o = icreate(5, 3, Box);
o = icreate(2, 4, BoxQ);
o = icreate(5, 4, BoxQ);
o = icreate(2, 1, Goal);
o = icreate(1, 1, Goal);
o = icreate(1, 2, Goal);
o = icreate(2, 2, Goal);
o = icreate(3, 5, Hazard);
o = icreate(6, 4, Hazard);
o = icreate(6, 3, Hazard);
o = icreate(7, 3, Hazard);
o = icreate(4, 5, Hazard);
o = icreate(7, 4, Hazard);
o = icreate(4, 3, Hazard);
o = icreate(1, 3, Hazard);
o = icreate(1, 4, Hazard);
o = icreate(3, 4, Player);
created();
}
function frame15(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = icreate(4, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(6, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 2, Box);
o = icreate(2, 3, Box);
o = icreate(5, 6, Box);
o = icreate(6, 7, Box);
o = icreate(4, 2, Goal);
o = icreate(5, 3, Goal);
o = icreate(7, 7, Goal);
o = icreate(7, 8, Goal);
o = icreate(4, 5, Ones);
o = icreate(5, 5, Ones);
o = icreate(5, 7, Player);
created();
}
function frame16(){
o = null;
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = itile(2, 10, Tile);
o = itile(3, 10, Tile);
o = itile(4, 10, Tile);
o = itile(5, 10, Tile);
o = itile(6, 10, Tile);
o = itile(7, 10, Tile);
o = itile(8, 10, Tile);
o = itile(9, 10, Tile);
o = itile(10, 10, Tile);
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(11, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(3, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 5, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(5, 5, Wall);
o.i_in = 0;
o.i_rf = 6;
o = icreate(6, 5, Wall);
o.i_in = 0;
o.i_rf = 6;
o = icreate(7, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(9, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(10, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 6;
o = icreate(7, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 8, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(4, 8, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(9, 8, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(11, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 11, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 11, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, BoxE);
o = icreate(2, 3, BoxQ);
o = icreate(3, 7, BoxQ);
o = icreate(4, 7, Goal);
o = icreate(7, 7, Goal);
o = icreate(5, 7, Push);
o.idx = 1;
o = icreate(6, 2, Door1);
o.idx = 1;
o = icreate(4, 3, Ones);
o = icreate(7, 3, Ones);
o = icreate(9, 3, Ones);
o = icreate(9, 4, Ones);
o = icreate(2, 5, Hazard);
o = icreate(2, 8, Hazard);
o = icreate(2, 9, Hazard);
o = icreate(3, 6, Hazard);
o = icreate(1, 7, Hazard);
o = icreate(9, 7, Hazard);
o = icreate(10, 7, Hazard);
o = icreate(10, 8, Hazard);
o = icreate(9, 10, Hazard);
o = icreate(8, 10, Hazard);
o = icreate(3, 4, Hazard);
o = icreate(9, 9, Hazard);
o = icreate(8, 1, Hazard);
o = icreate(7, 1, Hazard);
o = icreate(8, 3, Hazard);
o = icreate(10, 3, Hazard);
o = icreate(1, 6, Player);
created();
}
function frame10(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(12, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(13, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 2, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(2, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(9, 2, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(11, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 2, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(5, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 2, Box);
o = icreate(5, 4, Box);
o = icreate(2, 5, Box);
o = icreate(8, 5, Box);
o = icreate(3, 1, BoxE);
o = icreate(8, 3, BoxE);
o = icreate(8, 4, BoxE);
o = icreate(4, 4, BoxE);
o = icreate(12, 2, Goal);
o = icreate(12, 3, Goal);
o = icreate(12, 4, Goal);
o = icreate(12, 5, Goal);
o = icreate(1, 3, Ricag);
o.idx = 1;
o = icreate(6, 3, Door);
o.idx = 1;
o = icreate(5, 3, Player);
created();
}
function frame18(){
o = null;
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(14, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(14, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(14, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(14, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(14, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(14, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(14, 8, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = icreate(8, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 6;
o = icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(14, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(8, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(11, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(14, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(14, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(11, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(14, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(13, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(8, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(11, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(14, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(14, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(14, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 2, Box);
o = icreate(5, 3, Box);
o = icreate(6, 6, Box);
o = icreate(10, 8, Box);
o = icreate(5, 8, Box);
o = icreate(9, 6, BoxE);
o = icreate(1, 4, Goal);
o = icreate(1, 5, Goal);
o = icreate(1, 6, Goal);
o = icreate(1, 7, Goal);
o = icreate(2, 9, Goal);
o = icreate(7, 7, Ricag);
o.idx = 1;
o = icreate(13, 7, Ricag);
o.idx = 2;
o = icreate(11, 5, Door);
o.idx = 1;
o = icreate(8, 8, Door);
o.idx = 2;
o = icreate(12, 6, Ones);
o = icreate(4, 4, Ones);
o = icreate(4, 2, Ones);
o = icreate(3, 8, Player);
created();
}
function frame19(){
o = null;
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(1, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(2, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(11, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 8, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(11, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 2, BoxQ);
o = icreate(8, 8, BoxQ);
o = icreate(7, 2, Goal);
o = icreate(2, 8, Goal);
o = icreate(2, 5, Ones);
o = icreate(2, 3, Ones);
o = icreate(3, 4, Ones);
o = icreate(3, 5, Ones);
o = icreate(4, 5, Ones);
o = icreate(4, 4, Ones);
o = icreate(5, 7, Ones);
o = icreate(5, 6, Ones);
o = icreate(5, 5, Ones);
o = icreate(6, 6, Ones);
o = icreate(7, 6, Ones);
o = icreate(8, 6, Ones);
o = icreate(8, 7, Ones);
o = icreate(6, 5, Ones);
o = icreate(6, 3, Ones);
o = icreate(7, 3, Ones);
o = icreate(8, 3, Ones);
o = icreate(9, 4, Ones);
o = icreate(9, 5, Ones);
o = icreate(9, 9, Ones);
o = icreate(8, 2, Ones);
o = icreate(3, 2, Ones);
o = icreate(2, 2, Ones);
o = icreate(5, 4, Ones);
o = icreate(8, 9, Ones);
o = icreate(9, 6, Ones);
o = icreate(7, 7, Ones);
o = icreate(6, 7, Ones);
o = icreate(3, 6, Ones);
o = icreate(3, 7, Ones);
o = icreate(3, 8, Ones);
o = icreate(4, 8, Ones);
o = icreate(4, 7, Ones);
o = icreate(6, 4, Ones);
o = icreate(8, 4, Ones);
o = icreate(6, 9, Ones);
o = icreate(7, 9, Ones);
o = icreate(5, 9, Ones);
o = icreate(5, 8, Ones);
o = icreate(5, 2, Ones);
o = icreate(7, 5, Hazard);
o = icreate(7, 4, Hazard);
o = icreate(3, 3, Hazard);
o = icreate(4, 3, Hazard);
o = icreate(9, 8, Hazard);
o = icreate(8, 5, Hazard);
o = icreate(7, 8, Hazard);
o = icreate(5, 3, Hazard);
o = icreate(2, 7, Hazard);
o = icreate(10, 6, Player);
created();
}
function frame35(){
o = null;
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = itile(12, 9, Tile);
o = icreate(2, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(11, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(12, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(9, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(8, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(13, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(5, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 8, BoxE);
o = icreate(3, 2, BoxS);
o.idx = 2;
o = icreate(4, 5, BoxS);
o.idx = 1;
o = icreate(8, 7, BoxS);
o.idx = 3;
o = icreate(2, 6, GoalS);
o.idx = 2;
o = icreate(2, 7, GoalS);
o.idx = 1;
o = icreate(2, 8, GoalS);
o.idx = 3;
o = icreate(1, 5, Push);
o.idx = 1;
o = icreate(11, 7, Door1);
o.idx = 1;
o = icreate(6, 3, Ones);
o = icreate(6, 1, Ones);
o = icreate(2, 9, Teleport);
o.idx = 2;
o = icreate(11, 4, Teleport);
o.idx = 1;
o = icreate(5, 5, Player);
created();
}
function frame36(){
o = null;
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(12, 0, Tile);
o = itile(13, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = itile(12, 9, Tile);
o = itile(13, 9, Tile);
o = itile(0, 10, Tile);
o = itile(1, 10, Tile);
o = itile(2, 10, Tile);
o = itile(3, 10, Tile);
o = itile(4, 10, Tile);
o = itile(5, 10, Tile);
o = itile(6, 10, Tile);
o = itile(7, 10, Tile);
o = itile(8, 10, Tile);
o = itile(9, 10, Tile);
o = itile(10, 10, Tile);
o = itile(11, 10, Tile);
o = itile(12, 10, Tile);
o = itile(13, 10, Tile);
o = icreate(6, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(13, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(12, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(13, 1, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(10, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(8, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(12, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 8, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 9, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(11, 9, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 10, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 10, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 10, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(13, 11, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 11, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(6, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 11, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 2, Box);
o = icreate(8, 7, Box);
o = icreate(3, 9, Box);
o = icreate(2, 9, Box);
o = icreate(2, 6, BoxE);
o = icreate(10, 8, BoxE);
o = icreate(11, 3, BoxS);
o.idx = 1;
o = icreate(8, 3, BoxS);
o.idx = 2;
o = icreate(1, 2, Goal);
o = icreate(2, 2, Goal);
o = icreate(2, 3, Goal);
o = icreate(1, 3, Goal);
o = icreate(3, 2, GoalS);
o.idx = 1;
o = icreate(3, 3, GoalS);
o.idx = 2;
o = icreate(10, 9, Push);
o.idx = 1;
o = icreate(2, 8, Push);
o.idx = 2;
o = icreate(7, 7, Door1);
o.idx = 2;
o = icreate(7, 9, Door1);
o.idx = 1;
o = icreate(6, 5, Ricag);
o.idx = 1;
o = icreate(4, 8, Door);
o.idx = 1;
o = icreate(9, 9, Ones);
o = icreate(10, 7, Ones);
o = icreate(4, 10, Ones);
o = icreate(5, 7, Ones);
o = icreate(1, 5, Ones);
o = icreate(2, 5, Ones);
o = icreate(3, 6, Ones);
o = icreate(9, 5, Laser);
o.type = 2;
o = icreate(10, 5, Laser);
o.type = 0;
o = icreate(11, 5, Laser);
o.type = 3;
o = icreate(6, 3, Player);
created();
}
function frame37(){
o = null;
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(5, 1, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(2, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(12, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(13, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(8, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(9, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(5, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(11, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(12, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(8, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(12, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 8, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(12, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(11, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 3, Box);
o = icreate(9, 6, Box);
o = icreate(2, 7, Box);
o = icreate(8, 3, BoxE);
o = icreate(10, 8, BoxE);
o = icreate(4, 8, BoxQ);
o = icreate(3, 8, BoxQ);
o = icreate(1, 3, Goal);
o = icreate(1, 4, Goal);
o = icreate(1, 5, Goal);
o = icreate(1, 6, Goal);
o = icreate(1, 7, Goal);
o = icreate(6, 6, Ricag);
o.idx = 1;
o = icreate(10, 4, Door);
o.idx = 1;
o = icreate(5, 5, Ones);
o = icreate(7, 4, Ones);
o = icreate(8, 5, Ones);
o = icreate(4, 1, Ones);
o = icreate(3, 1, Ones);
o = icreate(10, 9, Teleport);
o.idx = 2;
o = icreate(11, 6, Teleport);
o.idx = 1;
o = icreate(2, 8, Hazard);
o = icreate(3, 7, Hazard);
o = icreate(4, 7, Hazard);
o = icreate(5, 3, Hazard);
o = icreate(12, 5, Hazard);
o = icreate(12, 6, Hazard);
o = icreate(12, 7, Hazard);
o = icreate(11, 8, Hazard);
o = icreate(11, 7, Hazard);
o = icreate(10, 7, Hazard);
o = icreate(9, 7, Hazard);
o = icreate(8, 8, Hazard);
o = icreate(11, 5, Hazard);
o = icreate(3, 9, Hazard);
o = icreate(11, 3, Hazard);
o = icreate(12, 3, Hazard);
o = icreate(11, 2, Hazard);
o = icreate(3, 4, Player);
o = icreate(6, 3, Enemy);
o.px[0] = 6;
o.py[0] = 3;
o.px[1] = 6;
o.py[1] = 1;
o.px[2] = 8;
o.py[2] = 1;
o.px[3] = 8;
o.py[3] = 3;
o = icreate(6, 9, Enemy);
o.px[0] = 6;
o.py[0] = 9;
o.px[1] = 6;
o.py[1] = 8;
o.px[2] = 8;
o.py[2] = 8;
o.px[3] = 8;
o.py[3] = 9;
created();
}
function frame17(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(4, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(5, 3, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(2, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(8, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(9, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(4, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(2, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(9, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 4, Box);
o = icreate(4, 4, BoxE);
o = icreate(6, 6, BoxE);
o = icreate(7, 7, BoxE);
o = icreate(7, 1, Goal);
o = icreate(1, 8, Push);
o.idx = 1;
o = icreate(2, 8, Push);
o.idx = 2;
o = icreate(1, 1, Push);
o.idx = 3;
o = icreate(5, 1, Door1);
o.idx = 3;
o = icreate(3, 3, Door1);
o.idx = 2;
o = icreate(5, 7, Door1);
o.idx = 1;
o = icreate(3, 7, Ones);
o = icreate(6, 8, Ones);
o = icreate(2, 5, Player);
created();
}
function frame32(){
o = null;
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(14, 1, Tile);
o = itile(15, 1, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(14, 2, Tile);
o = itile(15, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(14, 3, Tile);
o = itile(15, 3, Tile);
o = itile(16, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(14, 4, Tile);
o = itile(15, 4, Tile);
o = itile(16, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(14, 5, Tile);
o = itile(15, 5, Tile);
o = itile(16, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(14, 6, Tile);
o = itile(15, 6, Tile);
o = itile(16, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(14, 7, Tile);
o = itile(15, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(14, 8, Tile);
o = itile(15, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(5, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(14, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(15, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(15, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(15, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(16, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(11, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(16, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(11, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(12, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(4, 4, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(16, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(15, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(16, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(11, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(3, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(6, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(13, 6, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(15, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(15, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(14, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 2, Box);
o = icreate(13, 2, Box);
o = icreate(9, 6, Box);
o = icreate(4, 7, Box);
o = icreate(7, 7, Box);
o = icreate(1, 4, Goal);
o = icreate(15, 4, Goal);
o = icreate(1, 5, Goal);
o = icreate(15, 5, Goal);
o = icreate(1, 6, Goal);
o = icreate(8, 2, Laser);
o.type = 1;
o = icreate(8, 5, Laser);
o.type = 1;
o = icreate(8, 7, Laser);
o.type = 1;
o = icreate(6, 5, Player);
o = icreate(3, 3, Enemy);
o.px[0] = 3;
o.py[0] = 3;
o.px[1] = 4;
o.py[1] = 3;
o.px[2] = 5;
o.py[2] = 3;
o.px[3] = 5;
o.py[3] = 4;
o.px[4] = 5;
o.py[4] = 5;
o.px[5] = 4;
o.py[5] = 5;
o.px[6] = 3;
o.py[6] = 5;
o.px[7] = 3;
o.py[7] = 4;
o.px[8] = 3;
o.py[8] = 3;
o = icreate(10, 7, Enemy);
o.px[0] = 10;
o.py[0] = 7;
o.px[1] = 10;
o.py[1] = 6;
o.px[2] = 10;
o.py[2] = 5;
o.px[3] = 11;
o.py[3] = 5;
o.px[4] = 12;
o.py[4] = 5;
o.px[5] = 12;
o.py[5] = 6;
o.px[6] = 12;
o.py[6] = 7;
o.px[7] = 11;
o.py[7] = 7;
o.px[8] = 10;
o.py[8] = 7;
created();
}
function frame34(){
o = null;
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(2, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(6, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 4, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(3, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(3, 6, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(2, 6, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(2, 5, Box);
o = icreate(4, 6, Box);
o = icreate(4, 7, Box);
o = icreate(2, 7, Box);
o = icreate(9, 8, Goal);
o = icreate(11, 8, Goal);
o = icreate(10, 8, Goal);
o = icreate(12, 8, Goal);
o = icreate(12, 2, Ricag);
o.idx = 1;
o = icreate(7, 7, Door);
o.idx = 1;
o = icreate(11, 4, Ones);
o = icreate(12, 4, Ones);
o = icreate(7, 8, Teleport);
o.idx = 2;
o = icreate(9, 6, Teleport);
o.idx = 1;
o = icreate(10, 3, Laser);
o.type = 1;
o = icreate(6, 3, Laser);
o.type = 1;
o = icreate(6, 5, Laser);
o.type = 1;
o = icreate(4, 2, Player);
created();
}
public function prmenu(){
var _local1:* = An.play(this, "outFlash");
if (!_local1){
return;
};
_local1.vars["onComplete"] = tomenu;
g.main.removeEventListener("keyDown", id.keyPressHandler);
}
function frame1(){
stop();
gotoAndStop(g.curlvl);
}
function frame2(){
Levels.level1();
}
function frame3(){
o = null;
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 1, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(1, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 6, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 2, Box);
o = icreate(5, 2, Box);
o = icreate(4, 4, Box);
o = icreate(7, 3, Goal);
o = icreate(7, 4, Goal);
o = icreate(7, 5, Goal);
o = icreate(2, 3, Player);
created();
}
function frame4(){
o = null;
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(3, 5, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(6, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 6, Box);
o = icreate(8, 4, BoxS);
o.idx = 2;
o = icreate(5, 1, Goal);
o = icreate(4, 1, GoalS);
o.idx = 2;
o = icreate(2, 5, Push);
o.idx = 1;
o = icreate(6, 4, Door1);
o.idx = 1;
o = icreate(4, 4, Player);
created();
}
function frame5(){
o = null;
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 2, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(5, 2, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(2, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(9, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 6, Box);
o = icreate(6, 6, BoxS);
o.idx = 1;
o = icreate(5, 4, Goal);
o = icreate(4, 4, GoalS);
o.idx = 1;
o = icreate(4, 6, Player);
created();
}
function frame6(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 3, Box);
o = icreate(1, 4, Box);
o = icreate(2, 5, Box);
o = icreate(3, 6, Box);
o = icreate(4, 7, Box);
o = icreate(2, 3, BoxE);
o = icreate(5, 4, BoxE);
o = icreate(3, 4, BoxE);
o = icreate(4, 5, BoxE);
o = icreate(1, 6, BoxE);
o = icreate(5, 6, BoxE);
o = icreate(2, 7, BoxE);
o = icreate(5, 8, BoxE);
o = icreate(1, 8, BoxE);
o = icreate(3, 8, BoxE);
o = icreate(2, 9, BoxE);
o = icreate(4, 9, BoxE);
o = icreate(1, 1, Goal);
o = icreate(2, 1, Goal);
o = icreate(3, 1, Goal);
o = icreate(4, 1, Goal);
o = icreate(5, 1, Goal);
o = icreate(3, 7, Player);
created();
}
function frame7(){
o = null;
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = icreate(2, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 5, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(6, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 2, Box);
o = icreate(5, 2, Box);
o = icreate(3, 5, Box);
o = icreate(2, 6, Box);
o = icreate(6, 4, BoxS);
o.idx = 1;
o = icreate(2, 4, BoxS);
o.idx = 2;
o = icreate(4, 1, Goal);
o = icreate(5, 1, Goal);
o = icreate(3, 7, Goal);
o = icreate(4, 7, Goal);
o = icreate(3, 1, GoalS);
o.idx = 2;
o = icreate(5, 7, GoalS);
o.idx = 1;
o = icreate(4, 4, Player);
created();
}
function frame8(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 4, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(6, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 7, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 3, Box);
o = icreate(2, 2, BoxE);
o = icreate(2, 3, BoxE);
o = icreate(2, 8, BoxE);
o = icreate(2, 9, Goal);
o = icreate(4, 6, Push);
o.idx = 1;
o = icreate(2, 7, Door1);
o.idx = 1;
o = icreate(5, 3, Ricag);
o.idx = 1;
o = icreate(2, 4, Door);
o.idx = 1;
o = icreate(1, 2, Player);
created();
}
function frame9(){
o = null;
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(7, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(7, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(2, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 2, Box);
o = icreate(3, 4, Box);
o = icreate(6, 6, Box);
o = icreate(5, 2, BoxS);
o.idx = 1;
o = icreate(8, 3, BoxS);
o.idx = 2;
o = icreate(2, 3, BoxS);
o.idx = 3;
o = icreate(6, 4, Goal);
o = icreate(5, 5, Goal);
o = icreate(6, 5, Goal);
o = icreate(5, 3, GoalS);
o.idx = 2;
o = icreate(6, 3, GoalS);
o.idx = 3;
o = icreate(5, 4, GoalS);
o.idx = 1;
o = icreate(5, 6, Player);
created();
}
function frame22(){
o = null;
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = icreate(7, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(11, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(7, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 7, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(6, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 2, Box);
o = icreate(3, 4, Box);
o = icreate(5, 4, Box);
o = icreate(3, 5, Box);
o = icreate(7, 7, Box);
o = icreate(5, 8, BoxQ);
o = icreate(8, 2, Goal);
o = icreate(10, 2, Goal);
o = icreate(9, 2, Goal);
o = icreate(8, 3, Goal);
o = icreate(9, 3, Goal);
o = icreate(10, 3, Goal);
o = icreate(6, 6, Ones);
o = icreate(4, 8, Ones);
o = icreate(3, 8, Ones);
o = icreate(3, 3, Ones);
o = icreate(5, 2, Ones);
o = icreate(8, 4, Ones);
o = icreate(9, 4, Ones);
o = icreate(1, 5, Hazard);
o = icreate(1, 4, Hazard);
o = icreate(1, 3, Hazard);
o = icreate(4, 1, Hazard);
o = icreate(3, 6, Hazard);
o = icreate(6, 8, Hazard);
o = icreate(4, 6, Hazard);
o = icreate(4, 5, Hazard);
o = icreate(2, 2, Hazard);
o = icreate(2, 3, Hazard);
o = icreate(5, 3, Hazard);
o = icreate(4, 3, Hazard);
o = icreate(6, 4, Hazard);
o = icreate(7, 8, Player);
created();
}
function frame24(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(11, 9, Tile);
o = itile(12, 9, Tile);
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(11, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(12, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(8, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(6, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(4, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 8, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 4, Box);
o = icreate(3, 6, Box);
o = icreate(4, 7, Box);
o = icreate(10, 8, Box);
o = icreate(2, 7, BoxE);
o = icreate(1, 1, Goal);
o = icreate(2, 1, Goal);
o = icreate(1, 2, Goal);
o = icreate(2, 2, Goal);
o = icreate(9, 8, Push);
o.idx = 1;
o = icreate(2, 5, Door1);
o.idx = 1;
o = icreate(9, 5, Ones);
o = icreate(10, 5, Ones);
o = icreate(8, 6, Ones);
o = icreate(8, 8, Ones);
o = icreate(5, 5, Ones);
o = icreate(3, 9, Teleport);
o.idx = 2;
o = icreate(6, 8, Teleport);
o.idx = 1;
o = icreate(10, 7, Player);
created();
}
function frame25(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(0, 9, Tile);
o = itile(1, 9, Tile);
o = itile(2, 9, Tile);
o = itile(3, 9, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(8, 9, Tile);
o = itile(9, 9, Tile);
o = itile(10, 9, Tile);
o = itile(1, 10, Tile);
o = itile(2, 10, Tile);
o = itile(3, 10, Tile);
o = itile(4, 10, Tile);
o = itile(5, 10, Tile);
o = itile(6, 10, Tile);
o = itile(7, 10, Tile);
o = itile(8, 10, Tile);
o = itile(9, 10, Tile);
o = itile(10, 10, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(9, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(7, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(3, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 4, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(8, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(10, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(9, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 10, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(5, 10, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(7, 10, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(10, 10, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 11, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(6, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 11, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(4, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 11, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(2, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 11, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(8, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 11, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 2, Box);
o = icreate(6, 2, Box);
o = icreate(8, 9, BoxQ);
o = icreate(2, 10, Goal);
o = icreate(4, 10, Goal);
o = icreate(6, 10, Goal);
o = icreate(2, 6, Ones);
o = icreate(3, 6, Ones);
o = icreate(4, 6, Ones);
o = icreate(5, 6, Ones);
o = icreate(6, 6, Ones);
o = icreate(8, 6, Ones);
o = icreate(6, 7, Ones);
o = icreate(7, 7, Ones);
o = icreate(8, 7, Ones);
o = icreate(8, 4, Ones);
o = icreate(8, 3, Ones);
o = icreate(9, 4, Ones);
o = icreate(9, 5, Ones);
o = icreate(9, 6, Ones);
o = icreate(6, 3, Ones);
o = icreate(5, 3, Ones);
o = icreate(4, 3, Ones);
o = icreate(2, 3, Ones);
o = icreate(1, 3, Ones);
o = icreate(1, 2, Ones);
o = icreate(3, 2, Ones);
o = icreate(2, 4, Ones);
o = icreate(3, 4, Ones);
o = icreate(4, 5, Ones);
o = icreate(3, 5, Ones);
o = icreate(2, 5, Ones);
o = icreate(4, 4, Ones);
o = icreate(5, 5, Ones);
o = icreate(6, 5, Ones);
o = icreate(6, 4, Ones);
o = icreate(3, 7, Ones);
o = icreate(4, 7, Ones);
o = icreate(5, 7, Ones);
o = icreate(4, 8, Teleport);
o.idx = 2;
o = icreate(9, 2, Teleport);
o.idx = 1;
o = icreate(6, 8, Hazard);
o = icreate(6, 9, Hazard);
o = icreate(3, 8, Hazard);
o = icreate(3, 9, Hazard);
o = icreate(2, 8, Player);
created();
}
function frame26(){
o = null;
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = icreate(4, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(7, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(2, 5, Box);
o = icreate(4, 6, Box);
o = icreate(2, 6, Box);
o = icreate(3, 7, Box);
o = icreate(5, 1, Goal);
o = icreate(6, 1, Goal);
o = icreate(6, 2, Goal);
o = icreate(5, 2, Goal);
o = icreate(5, 4, Teleport);
o.idx = 2;
o = icreate(5, 8, Teleport);
o.idx = 1;
o = icreate(6, 4, Teleport);
o.idx = 4;
o = icreate(6, 8, Teleport);
o.idx = 3;
o = icreate(5, 3, Teleport);
o.idx = 6;
o = icreate(5, 9, Teleport);
o.idx = 5;
o = icreate(6, 3, Teleport);
o.idx = 8;
o = icreate(6, 9, Teleport);
o.idx = 7;
o = icreate(1, 6, Player);
created();
}
function frame20(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(2, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(8, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(12, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(12, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(12, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(3, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(4, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(11, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(4, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 2, Box);
o = icreate(3, 3, Box);
o = icreate(2, 4, Box);
o = icreate(8, 4, Box);
o = icreate(3, 1, BoxE);
o = icreate(9, 4, BoxE);
o = icreate(10, 4, BoxE);
o = icreate(10, 3, BoxQ);
o = icreate(12, 6, Goal);
o = icreate(11, 7, Goal);
o = icreate(12, 7, Goal);
o = icreate(11, 8, Goal);
o = icreate(12, 8, Goal);
o = icreate(7, 2, Ricag);
o.idx = 1;
o = icreate(4, 4, Door);
o.idx = 1;
o = icreate(2, 5, Ones);
o = icreate(5, 8, Ones);
o = icreate(8, 7, Hazard);
o = icreate(10, 5, Hazard);
o = icreate(9, 5, Hazard);
o = icreate(7, 7, Hazard);
o = icreate(6, 7, Hazard);
o = icreate(6, 6, Hazard);
o = icreate(2, 3, Player);
created();
}
function frame29(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(9, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(8, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(1, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(5, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 5, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(7, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 8, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(9, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 4, BoxE);
o = icreate(2, 5, BoxQ);
o = icreate(3, 3, BoxS);
o.idx = 1;
o = icreate(1, 1, Goal);
o = icreate(2, 1, GoalS);
o.idx = 1;
o = icreate(7, 6, Push);
o.idx = 1;
o = icreate(8, 4, Door1);
o.idx = 1;
o = icreate(4, 1, Ones);
o = icreate(2, 3, Ones);
o = icreate(5, 2, Laser);
o.type = 4;
o = icreate(8, 7, Laser);
o.type = 4;
o = icreate(4, 7, Laser);
o.type = 1;
o = icreate(5, 5, Hazard);
o = icreate(5, 8, Hazard);
o = icreate(6, 8, Hazard);
o = icreate(1, 2, Hazard);
o = icreate(3, 2, Hazard);
o = icreate(2, 4, Hazard);
o = icreate(2, 7, Player);
created();
}
public function prnext(){
if (g.curlvl == 37){
prmenu();
return;
};
var _local1:* = An.play(this, "outFlash");
if (!_local1){
return;
};
_local1.vars["onComplete"] = clearGo;
g.main.removeEventListener("keyDown", id.keyPressHandler);
}
function frame27(){
o = null;
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(4, 9, Tile);
o = itile(5, 9, Tile);
o = itile(6, 9, Tile);
o = itile(7, 9, Tile);
o = itile(4, 10, Tile);
o = itile(5, 10, Tile);
o = itile(6, 10, Tile);
o = itile(7, 10, Tile);
o = icreate(11, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(11, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(3, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(8, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(1, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(10, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(7, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(7, 10, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 11, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 11, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 11, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 2, Box);
o = icreate(6, 3, Box);
o = icreate(2, 3, Box);
o = icreate(8, 3, Box);
o = icreate(5, 3, BoxE);
o = icreate(5, 9, Goal);
o = icreate(6, 9, Goal);
o = icreate(5, 10, Goal);
o = icreate(6, 10, Goal);
o = icreate(1, 4, Ones);
o = icreate(1, 5, Ones);
o = icreate(1, 6, Ones);
o = icreate(2, 6, Ones);
o = icreate(2, 5, Ones);
o = icreate(2, 4, Ones);
o = icreate(5, 4, Ones);
o = icreate(6, 4, Ones);
o = icreate(5, 5, Ones);
o = icreate(6, 5, Ones);
o = icreate(5, 6, Ones);
o = icreate(6, 6, Ones);
o = icreate(9, 6, Ones);
o = icreate(9, 5, Ones);
o = icreate(9, 4, Ones);
o = icreate(10, 4, Ones);
o = icreate(10, 5, Ones);
o = icreate(10, 6, Ones);
o = icreate(7, 5, Teleport);
o.idx = 2;
o = icreate(7, 7, Teleport);
o.idx = 1;
o = icreate(4, 5, Teleport);
o.idx = 4;
o = icreate(4, 7, Teleport);
o.idx = 3;
o = icreate(3, 2, Player);
created();
}
function frame28(){
o = null;
o = itile(7, 0, Tile);
o = itile(8, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(12, 0, Tile);
o = itile(13, 0, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(13, 1, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(13, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(0, 6, Tile);
o = itile(1, 6, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(0, 7, Tile);
o = itile(1, 7, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(0, 8, Tile);
o = itile(1, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = icreate(7, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(11, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(2, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 1, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(10, 1, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(9, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(7, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 7;
o.objrf.scaleX = -1;
o = icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(4, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(10, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(13, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(6, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(7, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 6, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(9, 8, Wall);
o.i_in = 0;
o.i_rf = 8;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(1, 6, Box);
o = icreate(9, 3, BoxE);
o = icreate(8, 4, BoxE);
o = icreate(3, 5, BoxE);
o = icreate(6, 4, Goal);
o = icreate(11, 2, Push);
o.idx = 1;
o = icreate(7, 2, Door1);
o.idx = 1;
o = icreate(5, 2, Ricag);
o.idx = 1;
o = icreate(3, 3, Door);
o.idx = 1;
o = icreate(2, 7, Ones);
o = icreate(2, 6, Ones);
o = icreate(1, 4, Teleport);
o.idx = 2;
o = icreate(7, 6, Teleport);
o.idx = 1;
o = icreate(6, 2, Laser);
o.type = 1;
o = icreate(4, 4, Laser);
o.type = 1;
o = icreate(4, 6, Player);
created();
}
function frame21(){
o = null;
o = itile(0, 0, Tile);
o = itile(1, 0, Tile);
o = itile(2, 0, Tile);
o = itile(3, 0, Tile);
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(7, 1, Tile);
o = itile(8, 1, Tile);
o = itile(9, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(7, 2, Tile);
o = itile(8, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(7, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(2, 6, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(2, 7, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(8, 8, Tile);
o = itile(9, 8, Tile);
o = itile(2, 8, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = icreate(5, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 2, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(3, 2, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(9, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(10, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(8, 4, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(2, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(1, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(11, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(11, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(9, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 7;
o = icreate(9, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(2, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(5, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(4, 2, BoxQ);
o = icreate(9, 4, BoxQ);
o = icreate(7, 6, BoxQ);
o = icreate(3, 7, BoxQ);
o = icreate(1, 3, Goal);
o = icreate(2, 3, Goal);
o = icreate(1, 4, Goal);
o = icreate(2, 4, Goal);
o = icreate(4, 4, Ones);
o = icreate(4, 7, Hazard);
o = icreate(4, 6, Hazard);
o = icreate(5, 6, Hazard);
o = icreate(6, 6, Hazard);
o = icreate(6, 7, Hazard);
o = icreate(7, 5, Hazard);
o = icreate(6, 5, Hazard);
o = icreate(6, 3, Hazard);
o = icreate(5, 4, Player);
created();
}
function frame23(){
o = null;
o = itile(4, 0, Tile);
o = itile(5, 0, Tile);
o = itile(6, 0, Tile);
o = itile(9, 0, Tile);
o = itile(10, 0, Tile);
o = itile(11, 0, Tile);
o = itile(12, 0, Tile);
o = itile(0, 1, Tile);
o = itile(1, 1, Tile);
o = itile(2, 1, Tile);
o = itile(3, 1, Tile);
o = itile(4, 1, Tile);
o = itile(5, 1, Tile);
o = itile(6, 1, Tile);
o = itile(9, 1, Tile);
o = itile(10, 1, Tile);
o = itile(11, 1, Tile);
o = itile(12, 1, Tile);
o = itile(0, 2, Tile);
o = itile(1, 2, Tile);
o = itile(2, 2, Tile);
o = itile(3, 2, Tile);
o = itile(4, 2, Tile);
o = itile(5, 2, Tile);
o = itile(6, 2, Tile);
o = itile(9, 2, Tile);
o = itile(10, 2, Tile);
o = itile(11, 2, Tile);
o = itile(12, 2, Tile);
o = itile(0, 3, Tile);
o = itile(1, 3, Tile);
o = itile(2, 3, Tile);
o = itile(3, 3, Tile);
o = itile(4, 3, Tile);
o = itile(5, 3, Tile);
o = itile(6, 3, Tile);
o = itile(8, 3, Tile);
o = itile(9, 3, Tile);
o = itile(10, 3, Tile);
o = itile(11, 3, Tile);
o = itile(12, 3, Tile);
o = itile(13, 3, Tile);
o = itile(14, 3, Tile);
o = itile(0, 4, Tile);
o = itile(1, 4, Tile);
o = itile(2, 4, Tile);
o = itile(3, 4, Tile);
o = itile(4, 4, Tile);
o = itile(5, 4, Tile);
o = itile(6, 4, Tile);
o = itile(7, 4, Tile);
o = itile(8, 4, Tile);
o = itile(9, 4, Tile);
o = itile(10, 4, Tile);
o = itile(11, 4, Tile);
o = itile(12, 4, Tile);
o = itile(13, 4, Tile);
o = itile(14, 4, Tile);
o = itile(0, 5, Tile);
o = itile(1, 5, Tile);
o = itile(2, 5, Tile);
o = itile(3, 5, Tile);
o = itile(4, 5, Tile);
o = itile(5, 5, Tile);
o = itile(6, 5, Tile);
o = itile(7, 5, Tile);
o = itile(8, 5, Tile);
o = itile(9, 5, Tile);
o = itile(10, 5, Tile);
o = itile(11, 5, Tile);
o = itile(12, 5, Tile);
o = itile(13, 5, Tile);
o = itile(14, 5, Tile);
o = itile(3, 6, Tile);
o = itile(4, 6, Tile);
o = itile(5, 6, Tile);
o = itile(6, 6, Tile);
o = itile(7, 6, Tile);
o = itile(8, 6, Tile);
o = itile(9, 6, Tile);
o = itile(10, 6, Tile);
o = itile(11, 6, Tile);
o = itile(12, 6, Tile);
o = itile(13, 6, Tile);
o = itile(3, 7, Tile);
o = itile(4, 7, Tile);
o = itile(5, 7, Tile);
o = itile(6, 7, Tile);
o = itile(7, 7, Tile);
o = itile(8, 7, Tile);
o = itile(9, 7, Tile);
o = itile(10, 7, Tile);
o = itile(11, 7, Tile);
o = itile(12, 7, Tile);
o = itile(13, 7, Tile);
o = itile(3, 8, Tile);
o = itile(4, 8, Tile);
o = itile(5, 8, Tile);
o = itile(6, 8, Tile);
o = itile(7, 8, Tile);
o = itile(10, 8, Tile);
o = itile(11, 8, Tile);
o = itile(12, 8, Tile);
o = itile(13, 8, Tile);
o = icreate(4, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(10, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(9, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(4, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(12, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = icreate(12, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(9, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(8, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(13, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(14, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 4, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(8, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(14, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(2, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(1, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(3, 5, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(4, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = icreate(13, 5, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = icreate(14, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(12, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(13, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = icreate(13, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = icreate(3, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(7, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(11, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(12, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = icreate(13, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = icreate(10, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = icreate(5, 3, Box);
o = icreate(4, 4, Box);
o = icreate(9, 5, BoxE);
o = icreate(2, 3, BoxS);
o.idx = 2;
o = icreate(5, 6, BoxS);
o.idx = 1;
o = icreate(11, 1, Goal);
o = icreate(10, 2, Goal);
o = icreate(10, 1, GoalS);
o.idx = 2;
o = icreate(11, 2, GoalS);
o.idx = 1;
o = icreate(13, 4, Push);
o.idx = 1;
o = icreate(4, 2, Door1);
o.idx = 1;
o = icreate(1, 3, Ricag);
o.idx = 1;
o = icreate(12, 4, Door);
o.idx = 1;
o = icreate(9, 4, Ones);
o = icreate(9, 6, Ones);
o = icreate(6, 5, Player);
created();
}
public static function restart(){
var _local2:*;
if (((!((Player.id.scaleX == 1))) || (Player.id.tw1.isPlaying))){
return;
};
var _local1:int = inst.length;
while (_local1--) {
if (inst[_local1].scaleX != 1){
return;
};
};
g.main.stage.focus = g.main;
_local1 = inst.length;
while (_local1--) {
_local2 = id.getChildAt((_local1 + 1));
if ((_local2 is IMoving)){
_local2.restart();
} else {
if ((_local2 is Push)){
_local2.restart();
} else {
if ((_local2 is Ricag)){
_local2.restart();
} else {
if ((_local2 is Ones)){
_local2.restart();
} else {
if ((_local2 is Enemy)){
_local2.restart();
};
};
};
};
};
};
Player.id.restart();
round_stime = new Date();
placedBox = 0;
Panel._Box.text = "0";
ss.play("teleport");
Menuz.btn2.visible = false;
Menuz.btn2.alpha = 0;
}
public static function clearGo():void{
clear();
id.nextFrame();
g.main.addEventListener("keyDown", id.keyPressHandler);
g.play = true;
g.main.stage.focus = g.main;
g.curlvl = (g.curlvl + 1);
}
public static function itile(_arg1, _arg2, _arg3:Class):DisplayObject{
var _local4:* = id.getChildByName("nm_tile");
var _local5:* = _local4.addChild(new (_arg3));
tmp_tile[((_arg1 + "_") + _arg2)] = _local5;
_local5.x = (_arg1 * sizeX);
_local5.y = ((_arg2 * sizeY) - 12);
return (_local5);
}
public static function icreate(_arg1, _arg2, _arg3:Class):DisplayObject{
var _local4:* = id.addChild(new (_arg3));
_local4.x = (_arg1 * sizeX);
_local4.y = (_arg2 * sizeY);
inst.push(_local4);
if ((_local4 is IMoving)){
tmp_odynam[((_arg1 + "_") + _arg2)] = _local4;
} else {
tmp_object[((_arg1 + "_") + _arg2)] = _local4;
};
return (_local4);
}
public static function arrange():void{
inst.sortOn(["zz", "y", "x"], Array.NUMERIC);
var _local1:int = inst.length;
while (_local1--) {
if (id.getChildAt((_local1 + 1)) != inst[_local1]){
id.setChildIndex(inst[_local1], (_local1 + 1));
};
};
}
public static function loose():void{
g.play = false;
var _local1:* = id.addChild(new TbleLoose());
_local1.x = (-(id.x) + 290);
_local1.y = (-(id.y) + 210);
An.play(_local1, "CellLoad");
ss.play("fail");
}
public static function clear():void{
var _local2:*;
var _local3:*;
var _local1:int = inst.length;
while (_local1--) {
if ((inst[_local1] is ISpecial)){
inst[_local1].kill();
};
};
Player.id.kill();
inst.length = 0;
for (_local2 in tmp_object) {
delete tmp_object[_local2];
};
for (_local2 in tmp_odynam) {
delete tmp_odynam[_local2];
};
for (_local2 in tmp_tile) {
delete tmp_tile[_local2];
};
_local3 = id.getChildByName("nm_tile");
_local1 = _local3.numChildren;
while (_local1--) {
_local3.removeChildAt(_local1);
};
_local1 = id.numChildren;
while (_local1--) {
if (_local3 != id.getChildAt(_local1)){
id.removeChildAt(_local1);
};
};
placedBox = 0;
}
public static function stepBack(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local6:int;
var _local7:int;
var _local8:*;
if (((!((Player.id.scaleX == 1))) || (Player.id.tw1.isPlaying))){
return;
};
if (backBox){
if (backBox.scaleX != 1){
return;
};
};
var _local4:* = null;
_local4 = Level.tmp_object[((int(((Player.xprev / Level.sizeX) + 0.1)) + "_") + int(((Player.yprev / Level.sizeY) + 0.1)))];
if (backBox){
_local6 = int(((backBox.x / Level.sizeX) + 0.1));
_local7 = int(((backBox.y / Level.sizeY) + 0.1));
_local8 = Level.tmp_object[((_local6 + "_") + _local7)];
if ((((_local8 is Goal)) && (!((backBox is BoxE))))){
Level.placedBox = (Level.placedBox - 1);
Panel._Box.text = Level.placedBox.toString();
} else {
if ((_local8 is GoalS)){
if (_local8.act == true){
Level.placedBox = (Level.placedBox - 1);
_local8.act = false;
Panel._Box.text = Level.placedBox.toString();
};
};
};
_local8 = Level.tmp_object[((Player.id.cell_x + "_") + Player.id.cell_y)];
if ((((_local8 is Goal)) && (!((backBox is BoxE))))){
ss.play("go");
_local3 = Level.id.addChild(new Okay());
_local3.x = (Player.id.cell_x * 40);
_local3.y = (Player.id.cell_y * 36);
Level.placedBox = (Level.placedBox + 1);
Panel._Box.text = Level.placedBox.toString();
} else {
if ((((_local8 is GoalS)) && ((backBox is BoxS)))){
if (backBox.targ == _local8){
ss.play("go");
_local3 = Level.id.addChild(new Okay());
_local3.x = (Player.id.cell_x * 40);
_local3.y = (Player.id.cell_y * 36);
Level.placedBox = (Level.placedBox + 1);
Panel._Box.text = Level.placedBox.toString();
_local8.act = true;
};
};
};
delete Level.tmp_odynam[((int(((backBox.x / Level.sizeX) + 0.1)) + "_") + int(((backBox.y / Level.sizeY) + 0.1)))];
backBox.x = Player.id.x;
backBox.y = Player.id.y;
Level.tmp_odynam[((Player.id.cell_x + "_") + Player.id.cell_y)] = backBox;
Player.id.x = Player.xprev;
Player.id.y = Player.yprev;
Player.id.cell_x = int(((Player.id.x / Level.sizeX) + 0.1));
Player.id.cell_y = int(((Player.id.y / Level.sizeY) + 0.1));
An.play(Player.id, "blurFuzz");
An.play(backBox, "blurFuzz");
} else {
Player.id.x = Player.xprev;
Player.id.y = Player.yprev;
Player.id.cell_x = int((Player.id.x / Level.sizeX));
Player.id.cell_y = int((Player.id.y / Level.sizeY));
An.play(Player.id, "blurFuzz");
};
if (((((backAct1) && (!(backBox)))) && (!((backAct2 is Ones))))){
backAct1.prev();
};
if (backAct2){
backAct2.prev();
};
if (_local4){
_local4.prev();
};
var _local5:int = inst.length;
while (_local5--) {
if ((inst[_local5] is Enemy)){
inst[_local5].prev();
An.play(inst[_local5], "blurFuzz");
};
};
Menuz.btn2.visible = false;
Menuz.btn2.alpha = 0;
arrange();
g.play = true;
g.main.stage.focus = g.main;
}
public static function win():void{
var _local1:* = ((g.curlvl - 1) * 1000);
var _local2:* = (Player._steps / (a_steps[(g.curlvl - 1)] / 100));
var _local3:* = (int((((g.curlvl - 2) / 12) + 1)) * round_delta);
g.score_play = ((_local1 - (((_local1 / 100) * _local2) / 10)) - _local3);
g.play = false;
if (g.aScore[g.curlvl] < g.score_play){
g.Score = (g.Score + (g.score_play - g.aScore[g.curlvl]));
g.so.data.svScore = g.Score;
g.aScore[g.curlvl] = g.score_play;
g.so.data.svScora = g.aScore;
};
var _local4:* = id.addChild(new TbleScore());
_local4.x = 200;
_local4.y = 140;
An.play(_local4, "CellLoad");
ss.play("placed");
}
public static function tomenu():void{
clear();
id.removeEventListener("enterFrame", id.step);
id.parent.removeChild(id);
id = null;
Menuz.id.createChoose();
g.main.stage.focus = g.main;
MBack.toMid();
}
public static function created():void{
var _local2:*;
round_stime = new Date();
Level.totalBox = 0;
g.play = true;
An.play(id, "hiFlash", false);
id.alpha = 1;
arrange();
var _local1:int = inst.length;
while (_local1--) {
_local2 = id.getChildAt((_local1 + 1));
if ((_local2 is Wall)){
_local2.corner();
if (!(tmp_object[((int((inst[_local1].x / sizeX)) + "_") + (int((inst[_local1].y / sizeY)) - 1))] is Wall)){
if ((tmp_tile[((int((inst[_local1].x / sizeX)) + "_") + (int((inst[_local1].y / sizeY)) - 1))] is Tile)){
inst[_local1].blend();
};
};
} else {
if ((_local2 is Player)){
inst[_local1].init();
} else {
if ((_local2 is ISpecial)){
inst[_local1].init();
} else {
if ((_local2 is IMoving)){
inst[_local1].init();
};
};
};
if ((((((_local2 is Box)) || ((_local2 is BoxS)))) || ((_local2 is BoxQ)))){
totalBox = (totalBox + 1);
};
};
};
_panel = new Panel();
id.addChild(_panel);
_Score.text = "222";
id.x = int(((-(id.width) / 2) + 350));
id.y = int(((-(id.height) / 2) + 300));
}
}
}//package
Section 70
//Levels (Levels)
package {
import flash.display.*;
public class Levels extends MovieClip {
static var o = null;
public static function level4(){
o = null;
o = Level.itile(1, 0, Tile);
o = Level.itile(2, 0, Tile);
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(7, 0, Tile);
o = Level.itile(8, 0, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(7, 1, Tile);
o = Level.itile(8, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(9, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(9, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(9, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(9, 5, Tile);
o = Level.itile(0, 6, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(9, 6, Tile);
o = Level.itile(0, 7, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(7, 7, Tile);
o = Level.itile(8, 7, Tile);
o = Level.itile(9, 7, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(7, 8, Tile);
o = Level.itile(8, 8, Tile);
o = Level.icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(8, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(9, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(6, 2, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = Level.icreate(3, 2, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(5, 2, Wall);
o.i_in = 2;
o.i_rf = 1;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(9, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(2, 4, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(9, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(5, 5, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(9, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(8, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(4, 7, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(2, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 8;
o = Level.icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 6, Box);
o = Level.icreate(6, 6, BoxS);
o.idx = 1;
o = Level.icreate(5, 4, Goal);
o = Level.icreate(4, 4, GoalS);
o.idx = 1;
o = Level.icreate(4, 6, Player);
Level.created();
}
public static function level5(){
o = null;
o = Level.itile(0, 0, Tile);
o = Level.itile(1, 0, Tile);
o = Level.itile(2, 0, Tile);
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(0, 1, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(0, 6, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(0, 7, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(0, 8, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(0, 8, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(0, 9, Tile);
o = Level.itile(1, 9, Tile);
o = Level.itile(2, 9, Tile);
o = Level.itile(3, 9, Tile);
o = Level.itile(4, 9, Tile);
o = Level.itile(5, 9, Tile);
o = Level.itile(6, 9, Tile);
o = Level.icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 3, Box);
o = Level.icreate(1, 4, Box);
o = Level.icreate(2, 5, Box);
o = Level.icreate(3, 6, Box);
o = Level.icreate(4, 7, Box);
o = Level.icreate(2, 3, BoxE);
o = Level.icreate(5, 4, BoxE);
o = Level.icreate(3, 4, BoxE);
o = Level.icreate(4, 5, BoxE);
o = Level.icreate(1, 6, BoxE);
o = Level.icreate(5, 6, BoxE);
o = Level.icreate(2, 7, BoxE);
o = Level.icreate(5, 8, BoxE);
o = Level.icreate(1, 8, BoxE);
o = Level.icreate(3, 8, BoxE);
o = Level.icreate(2, 9, BoxE);
o = Level.icreate(4, 9, BoxE);
o = Level.icreate(1, 1, Goal);
o = Level.icreate(2, 1, Goal);
o = Level.icreate(3, 1, Goal);
o = Level.icreate(4, 1, Goal);
o = Level.icreate(5, 1, Goal);
o = Level.icreate(3, 7, Player);
Level.created();
}
public static function level7(){
o = null;
o = Level.itile(0, 0, Tile);
o = Level.itile(1, 0, Tile);
o = Level.itile(2, 0, Tile);
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(0, 1, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(0, 6, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(0, 7, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(0, 8, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(0, 8, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(0, 9, Tile);
o = Level.itile(1, 9, Tile);
o = Level.itile(2, 9, Tile);
o = Level.itile(3, 9, Tile);
o = Level.itile(4, 9, Tile);
o = Level.icreate(0, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(4, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(5, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 7;
o = Level.icreate(1, 4, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = Level.icreate(3, 4, Wall);
o.i_in = 2;
o.i_rf = 1;
o = Level.icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 4, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = Level.icreate(6, 4, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(5, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(5, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(0, 7, Wall);
o.i_in = 0;
o.i_rf = 7;
o = Level.icreate(1, 7, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = Level.icreate(3, 7, Wall);
o.i_in = 2;
o.i_rf = 1;
o = Level.icreate(4, 7, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = Level.icreate(0, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(0, 10, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(3, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 10, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(2, 10, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 3, Box);
o = Level.icreate(2, 2, BoxE);
o = Level.icreate(2, 3, BoxE);
o = Level.icreate(2, 8, BoxE);
o = Level.icreate(2, 9, Goal);
o = Level.icreate(4, 6, Push);
o.idx = 1;
o = Level.icreate(2, 7, Door1);
o.idx = 1;
o = Level.icreate(5, 3, Ricag);
o.idx = 1;
o = Level.icreate(2, 4, Door);
o.idx = 1;
o = Level.icreate(1, 2, Player);
Level.created();
}
public static function level8(){
o = null;
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(7, 0, Tile);
o = Level.itile(8, 0, Tile);
o = Level.itile(9, 0, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(7, 1, Tile);
o = Level.itile(8, 1, Tile);
o = Level.itile(9, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(9, 2, Tile);
o = Level.itile(10, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(9, 3, Tile);
o = Level.itile(10, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(9, 4, Tile);
o = Level.itile(10, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(9, 5, Tile);
o = Level.itile(10, 5, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(9, 6, Tile);
o = Level.itile(10, 6, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(7, 7, Tile);
o = Level.itile(8, 7, Tile);
o = Level.itile(9, 7, Tile);
o = Level.itile(10, 7, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(7, 8, Tile);
o = Level.icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(9, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(7, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(7, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(2, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(7, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 2, Box);
o = Level.icreate(3, 4, Box);
o = Level.icreate(6, 6, Box);
o = Level.icreate(5, 2, BoxS);
o.idx = 1;
o = Level.icreate(8, 3, BoxS);
o.idx = 2;
o = Level.icreate(2, 3, BoxS);
o.idx = 3;
o = Level.icreate(6, 4, Goal);
o = Level.icreate(5, 5, Goal);
o = Level.icreate(6, 5, Goal);
o = Level.icreate(5, 3, GoalS);
o.idx = 2;
o = Level.icreate(6, 3, GoalS);
o.idx = 3;
o = Level.icreate(5, 4, GoalS);
o.idx = 1;
o = Level.icreate(5, 6, Player);
Level.created();
}
public static function level6(){
o = null;
o = Level.itile(2, 0, Tile);
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(0, 1, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(7, 1, Tile);
o = Level.itile(8, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(0, 6, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(0, 7, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(7, 7, Tile);
o = Level.itile(8, 7, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.icreate(2, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(2, 3, Wall);
o.i_in = 2;
o.i_rf = 1;
o = Level.icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(2, 5, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(6, 5, Wall);
o.i_in = 1;
o.i_rf = 1;
o.objrf.scaleX = -1;
o = Level.icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(5, 5, Wall);
o.i_in = 2;
o.i_rf = 1;
o = Level.icreate(0, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(6, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(7, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(2, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 2, Box);
o = Level.icreate(5, 2, Box);
o = Level.icreate(3, 5, Box);
o = Level.icreate(2, 6, Box);
o = Level.icreate(6, 4, BoxS);
o.idx = 1;
o = Level.icreate(2, 4, BoxS);
o.idx = 2;
o = Level.icreate(4, 1, Goal);
o = Level.icreate(5, 1, Goal);
o = Level.icreate(3, 7, Goal);
o = Level.icreate(4, 7, Goal);
o = Level.icreate(3, 1, GoalS);
o.idx = 2;
o = Level.icreate(5, 7, GoalS);
o.idx = 1;
o = Level.icreate(4, 4, Player);
Level.created();
}
public static function level9(){
o = null;
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(7, 0, Tile);
o = Level.itile(8, 0, Tile);
o = Level.itile(9, 0, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(7, 1, Tile);
o = Level.itile(8, 1, Tile);
o = Level.itile(9, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(9, 2, Tile);
o = Level.itile(10, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(9, 3, Tile);
o = Level.itile(10, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(9, 4, Tile);
o = Level.itile(10, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(9, 5, Tile);
o = Level.itile(10, 5, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(9, 6, Tile);
o = Level.itile(10, 6, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(7, 7, Tile);
o = Level.itile(8, 7, Tile);
o = Level.itile(9, 7, Tile);
o = Level.itile(10, 7, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(7, 8, Tile);
o = Level.icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(1, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(9, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(2, 1, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(9, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(7, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(7, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(7, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(2, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(7, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(8, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 7, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(10, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 8, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 8, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 2, Box);
o = Level.icreate(3, 4, Box);
o = Level.icreate(6, 6, Box);
o = Level.icreate(5, 2, BoxS);
o.idx = 1;
o = Level.icreate(8, 3, BoxS);
o.idx = 2;
o = Level.icreate(2, 3, BoxS);
o.idx = 3;
o = Level.icreate(6, 4, Goal);
o = Level.icreate(5, 5, Goal);
o = Level.icreate(6, 5, Goal);
o = Level.icreate(5, 3, GoalS);
o.idx = 2;
o = Level.icreate(6, 3, GoalS);
o.idx = 3;
o = Level.icreate(5, 4, GoalS);
o.idx = 1;
o = Level.icreate(5, 6, Player);
Level.created();
}
public static function level1(){
o = null;
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(9, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(9, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(9, 5, Tile);
o = Level.itile(0, 6, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(9, 6, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(6, 8, Tile);
o = Level.icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 3, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(9, 3, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(9, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(3, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(6, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 4, Box);
o = Level.icreate(5, 5, Box);
o = Level.icreate(3, 5, Box);
o = Level.icreate(4, 6, Box);
o = Level.icreate(5, 1, Goal);
o = Level.icreate(8, 4, Goal);
o = Level.icreate(1, 5, Goal);
o = Level.icreate(4, 8, Goal);
o = Level.icreate(5, 4, Player);
Level.created();
}
public static function level2(){
o = null;
o = Level.itile(1, 0, Tile);
o = Level.itile(2, 0, Tile);
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(7, 0, Tile);
o = Level.itile(0, 1, Tile);
o = Level.itile(1, 1, Tile);
o = Level.itile(2, 1, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(7, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.icreate(1, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(2, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 8;
o.objrf.scaleY = -1;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(6, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(0, 1, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(1, 1, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(7, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 1, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(0, 2, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(7, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 3, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(8, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(8, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(4, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(1, 6, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(2, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(4, 6, Wall);
o.i_in = 0;
o.i_rf = 8;
o = Level.icreate(5, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 2, Box);
o = Level.icreate(5, 2, Box);
o = Level.icreate(4, 4, Box);
o = Level.icreate(7, 3, Goal);
o = Level.icreate(7, 4, Goal);
o = Level.icreate(7, 5, Goal);
o = Level.icreate(2, 3, Player);
Level.created();
}
public static function level3(){
o = null;
o = Level.itile(3, 0, Tile);
o = Level.itile(4, 0, Tile);
o = Level.itile(5, 0, Tile);
o = Level.itile(6, 0, Tile);
o = Level.itile(3, 1, Tile);
o = Level.itile(4, 1, Tile);
o = Level.itile(5, 1, Tile);
o = Level.itile(6, 1, Tile);
o = Level.itile(0, 2, Tile);
o = Level.itile(1, 2, Tile);
o = Level.itile(2, 2, Tile);
o = Level.itile(3, 2, Tile);
o = Level.itile(4, 2, Tile);
o = Level.itile(5, 2, Tile);
o = Level.itile(6, 2, Tile);
o = Level.itile(7, 2, Tile);
o = Level.itile(8, 2, Tile);
o = Level.itile(9, 2, Tile);
o = Level.itile(10, 2, Tile);
o = Level.itile(0, 3, Tile);
o = Level.itile(1, 3, Tile);
o = Level.itile(2, 3, Tile);
o = Level.itile(3, 3, Tile);
o = Level.itile(4, 3, Tile);
o = Level.itile(5, 3, Tile);
o = Level.itile(6, 3, Tile);
o = Level.itile(7, 3, Tile);
o = Level.itile(8, 3, Tile);
o = Level.itile(9, 3, Tile);
o = Level.itile(10, 3, Tile);
o = Level.itile(0, 4, Tile);
o = Level.itile(1, 4, Tile);
o = Level.itile(2, 4, Tile);
o = Level.itile(3, 4, Tile);
o = Level.itile(4, 4, Tile);
o = Level.itile(5, 4, Tile);
o = Level.itile(6, 4, Tile);
o = Level.itile(7, 4, Tile);
o = Level.itile(8, 4, Tile);
o = Level.itile(9, 4, Tile);
o = Level.itile(10, 4, Tile);
o = Level.itile(0, 5, Tile);
o = Level.itile(1, 5, Tile);
o = Level.itile(2, 5, Tile);
o = Level.itile(3, 5, Tile);
o = Level.itile(4, 5, Tile);
o = Level.itile(5, 5, Tile);
o = Level.itile(6, 5, Tile);
o = Level.itile(7, 5, Tile);
o = Level.itile(8, 5, Tile);
o = Level.itile(9, 5, Tile);
o = Level.itile(10, 5, Tile);
o = Level.itile(1, 6, Tile);
o = Level.itile(2, 6, Tile);
o = Level.itile(3, 6, Tile);
o = Level.itile(4, 6, Tile);
o = Level.itile(5, 6, Tile);
o = Level.itile(6, 6, Tile);
o = Level.itile(7, 6, Tile);
o = Level.itile(8, 6, Tile);
o = Level.itile(9, 6, Tile);
o = Level.itile(10, 6, Tile);
o = Level.itile(1, 7, Tile);
o = Level.itile(2, 7, Tile);
o = Level.itile(3, 7, Tile);
o = Level.itile(4, 7, Tile);
o = Level.itile(5, 7, Tile);
o = Level.itile(6, 7, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.itile(1, 8, Tile);
o = Level.itile(2, 8, Tile);
o = Level.itile(3, 8, Tile);
o = Level.itile(4, 8, Tile);
o = Level.itile(5, 8, Tile);
o = Level.icreate(3, 0, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(4, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 0, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 0, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(3, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 1, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(6, 2, Wall);
o.i_in = 0;
o.i_rf = 7;
o = Level.icreate(7, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(9, 2, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(10, 2, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(0, 2, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(10, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 3, Wall);
o.i_in = 3;
o.i_rf = 0;
o = Level.icreate(0, 3, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(0, 4, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 5, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o.objrf.scaleY = -1;
o = Level.icreate(10, 5, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(6, 5, Wall);
o.i_in = 3;
o.i_rf = 0;
o.objrf.scaleY = -1;
o = Level.icreate(3, 5, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(0, 5, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(1, 6, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(10, 6, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(9, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(6, 6, Wall);
o.i_in = 0;
o.i_rf = 7;
o = Level.icreate(7, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(8, 6, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(5, 7, Wall);
o.i_in = 2;
o.i_rf = 4;
o.objrf.scaleY = -1;
o = Level.icreate(6, 7, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(1, 7, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(3, 7, Wall);
o.i_in = 3;
o.i_rf = 5;
o = Level.icreate(5, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(1, 8, Wall);
o.i_in = 0;
o.i_rf = 2;
o = Level.icreate(5, 9, Wall);
o.i_in = 1;
o.i_rf = 4;
o.objrf.scaleX = -1;
o = Level.icreate(4, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(3, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(2, 9, Wall);
o.i_in = 0;
o.i_rf = 3;
o = Level.icreate(1, 9, Wall);
o.i_in = 2;
o.i_rf = 4;
o = Level.icreate(4, 6, Box);
o = Level.icreate(8, 4, BoxS);
o.idx = 2;
o = Level.icreate(5, 1, Goal);
o = Level.icreate(4, 1, GoalS);
o.idx = 2;
o = Level.icreate(2, 5, Push);
o.idx = 1;
o = Level.icreate(6, 4, Door1);
o.idx = 1;
o = Level.icreate(4, 4, Player);
Level.created();
}
}
}//package
Section 71
//Lih (Lih)
package {
import flash.display.*;
public dynamic class Lih extends BitmapData {
public function Lih(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 72
//Lih2 (Lih2)
package {
import flash.display.*;
public dynamic class Lih2 extends BitmapData {
public function Lih2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 73
//Loader (Loader)
package {
import flash.display.*;
public dynamic class Loader extends MovieClip {
public function Loader(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 74
//Logo (Logo)
package {
import flash.display.*;
public dynamic class Logo extends BitmapData {
public function Logo(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 75
//main (main)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import mochi.as3.*;
public dynamic class main extends MovieClip {
public var s;
public var preloader:MovieClip;
public var gameLoaded:Boolean;
public var XXX:TextField;
public var btn:SimpleButton;
public static var id:main;
public function main(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame1(){
gameLoaded = false;
this.stop();
preloader.stop();
preloader.logo_mc.stop();
preloader.logo_mc.loaderbar.stop();
preloader.addEventListener(Event.ENTER_FRAME, updatePreloader, false, 0, true);
preloader.link_btn.addEventListener(MouseEvent.MOUSE_DOWN, gotoArc, false);
}
function frame2(){
Mouse.hide();
}
public function init(){
new g();
new An();
new ss();
id = this;
g.main = stage;
stage.showDefaultContextMenu = false;
}
public function updatePreloader(_arg1:Event):void{
var _local2:Number = ((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100);
if (_local2 != 100){
preloader.logo_mc.loaderbar.gotoAndStop(int(_local2));
} else {
if (!gameLoaded){
gameLoaded = true;
preloader.logo_mc.play();
};
if (preloader.logo_mc.currentFrame == preloader.logo_mc.totalFrames){
preloader.logo_mc.gotoAndStop(preloader.logo_mc.totalFrames);
preloader.removeEventListener(Event.ENTER_FRAME, updatePreloader, false);
this.play();
};
};
}
public function gotoArc(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.freegamesjungle.com"), "_blank");
}
function frame3(){
init();
addChild(new MBack());
addChild(new Menuz());
stop();
ss.playSong();
if (getChildByName("sound panel") == null){
s = addChild(new sound_controll());
s.name = "sound panel";
s.x = 617;
s.y = 458;
};
btn.addEventListener("click", gotoSponsor);
addChild(btn);
addChild(new OMouse());
}
public function gotoSponsor(_arg1:Object){
var _local2:URLRequest = new URLRequest("http://www.freegamesjungle.com/");
navigateToURL(_local2, "_blank");
}
}
}//package
Section 76
//MBack (MBack)
package {
import flash.display.*;
import gs.*;
import flash.geom.*;
import functions.*;
import gs.easing.*;
public class MBack extends MovieClip {
var _robo:DisplayObject;
private var matrix;
private var spr:Sprite;
var _logo:DisplayObject;
public static var id:MBack;
public function MBack(){
matrix = new Matrix();
super();
id = this;
spr = new Sprite();
spr.graphics.beginBitmapFill(new f_n(0, 0), matrix, true, true);
spr.graphics.drawRect(0, 0, 640, 480);
spr.graphics.endFill();
spr.blendMode = "add";
spr.alpha = 0.25;
addChild(spr);
_logo = addChild(new Bitmap(new Logo(0, 0)));
ipos(150, 30, _logo);
}
public static function toEdge():void{
Menuz.pass = "Level";
id._logo.x = 480;
TweenFilterLite.to(id._logo, 0.4, {delay:0.3, ease:Back.easeOut, overwrite:0, y:0, x:500, scaleX:0.4, scaleY:0.4, blurFilter:{blurX:0, blurY:0}});
}
public static function toFull():void{
Menuz.pass = "Main";
id._logo.x = 150;
TweenFilterLite.to(id._logo, 1, {delay:0, ease:Back.easeOut, overwrite:0, y:30, x:150, scaleX:1, scaleY:1, blurFilter:{blurX:0, blurY:0}});
}
public static function toMid():void{
Menuz.pass = "Select";
TweenFilterLite.to(id._logo, 0.1, {y:(10 + id._logo.y), blurFilter:{blurX:0, blurY:5}});
TweenFilterLite.to(id._logo, 0.3, {delay:0.1, ease:Back.easeIn, overwrite:0, y:(0 - id._logo.height), blurFilter:{blurX:0, blurY:10}});
}
}
}//package
Section 77
//Menuz (Menuz)
package {
import flash.display.*;
import flash.geom.*;
import functions.*;
import objects.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import ru.etcs.effects.*;
import flash.text.*;
import flash.net.*;
public class Menuz extends MovieClip {
var oo;
var sc1;
private var matrix;
var sc2;
var twen:TextTween;
private var spr:Sprite;
var my_txt:TextField;
public static var pass:String = "Main";
private static var _Score:SpriteText = new SpriteText();
public static var btn1;
public static var id:Menuz;
public static var btn;
public static var btn2;
public function Menuz(){
matrix = new Matrix();
super();
sc1 = addChild(new Bitmap(new _Score_tx(0, 0)));
sc1.y = 15;
sc1.x = 100;
sc1.alpha = 0;
sc2 = addChild(_Score);
sc2.y = 15;
sc2.x = (sc1.x + 50);
sc2.alpha = 0;
id = this;
oo = addChild(new OMbtn());
oo.set_text("Start");
oo = addChild(new OMbtn());
oo.set_text("Scores");
oo = addChild(new OMbtn());
oo.set_text("Help");
oo = addChild(new OMbtn());
oo.set_text("MoreGames");
oo = addChild(new OMbtn());
oo.set_text("Credits");
btn = addChild(new BBack());
btn.x = -10;
btn.y = 440;
btn.visible = false;
addEventListener("click", createAction);
btn1 = addChild(new BRes());
btn1.x = 60;
btn1.y = 440;
btn1.visible = false;
btn2 = addChild(new BStep());
btn2.x = (btn1.x + 78);
btn2.y = 440;
btn2.visible = false;
}
public function MYeventFUNCTION(_arg1:Object):void{
my_txt.text = _arg1.text;
}
public function createChoose(_arg1:Object=null):void{
var _local4:Otv;
var _local5:Obtn_level;
var _local2:* = parent.getChildByName("btn");
_local2.visible = false;
An.play(sc1, "blurInto");
An.play(sc2, "blurInto");
sc2.text = g.Score.toString();
btn1.visible = false;
btn2.visible = false;
MBack.toMid();
if (btn.visible == false){
btn.visible = true;
An.play(btn, "blurMoveDw");
};
OMbtn.off();
var _local3:uint;
while (_local3 < 3) {
_local4 = iadd((40 + (124 * _local3)), 80, Otv, this);
An.play(_local4, "fromUp");
_local3++;
};
_local3 = 0;
while (_local3 < 12) {
_local5 = iadd((40 + (int((_local3 / 4)) * 180)), (230 + ((_local3 - (4 * int((_local3 / 4)))) * 40)), Obtn_level, this);
_local5.set_text(("level: " + ((_local3 + 1) + (12 * (Otv._choosed - 1)))));
_local5._lvl = ((_local3 + 2) + (12 * (Otv._choosed - 1)));
_local5.set_score(g.aScore[_local5._lvl]);
An.play(_local5, "fromUp");
_local3++;
};
}
public function createAction(_arg1:Object=null):void{
var st:*;
var i:*;
var url:URLRequest;
var ii:*;
var ts:int;
var e = _arg1;
var selectoff:Function = function (){
var _local1:*;
var _local2:*;
An.play(sc1, "blurOut");
An.play(sc2, "blurOut");
for each (_local1 in Obtn_level.inst) {
_local1.twen.removeEventListener("textTweenChanged", _local1.MYeventFUNCTION);
_local1.twen = null;
_local1.mouseEnabled = false;
_local1.mouseChildren = false;
_local2 = An.play(_local1, "blurMoveOut", false);
_local2.vars["onComplete"] = _local1.dead;
};
for each (_local1 in Otv.inst) {
_local1.mouseEnabled = false;
_local1.mouseChildren = false;
_local2 = An.play(_local1, "toUp", false);
_local2.vars["onComplete"] = _local1.dead;
};
};
if (e.target === btn){
if (pass == "Level"){
Level.id.prmenu();
} else {
if (pass == "Select"){
selectoff();
btn.visible = false;
OMbtn.on();
MBack.toFull();
st = parent.getChildByName("btn");
st.visible = true;
};
};
};
if (e.target === btn1){
if (pass == "Level"){
Level.restart();
};
};
if (e.target === btn2){
if (pass == "Level"){
Level.stepBack();
};
};
if ((e.target is OMbtn)){
if (e.target.tex == "Start"){
createChoose();
};
if (e.target.tex == "Scores"){
i = this.parent.addChildAt(new ScoreHall(), (this.parent.numChildren - 1));
i.x = 320;
i.y = 240;
};
if (e.target.tex == "MoreGames"){
url = new URLRequest("http://www.freegamesjungle.com/");
navigateToURL(url, "_blank");
};
if (e.target.tex == "Help"){
addChild(new OHelp());
};
if (e.target.tex == "Credits"){
addChild(new OCred());
};
};
if ((e.target is Obtn_level)){
selectoff();
g.curlvl = e.target._lvl;
MBack.toEdge();
btn1.visible = true;
btn1.alpha = 1;
An.play(sc1, "blurOut");
An.play(sc2, "blurOut");
An.play(btn1, "blurInto");
An.play(btn2, "blurInto");
this.parent.addChildAt(new Level(), 2);
};
if ((e.target is Otv)){
for each (ii in Otv.inst) {
ii._tvs.visible = true;
};
Otv._choosed = e.target.idx;
e.target._tvs.visible = false;
for each (ii in Obtn_level.inst) {
ts = (ii._lvl - 1);
ts = ((m.mod((ts - 1), 12) + 1) + (12 * (e.target.idx - 1)));
ii.set_text(("level: " + ts));
ii._lvl = (ts + 1);
ii.set_score(g.aScore[ii._lvl]);
};
};
ss.play("bip");
}
}
}//package
import flash.display.*;
import objects.*;
import fl.transitions.easing.*;
import ru.etcs.effects.*;
import flash.text.*;
class Obtn_level extends Sprite {
public var _lvl:int;
public var twens:TextTween;
public var twen:TextTween;
private var spr;
private var my_txt:TextField;
private var my_score:TextField;
public static var inst:Array = [];
private function Obtn_level(){
inst.push(this);
spr = addChild(new Bitmap(new slvl(0, 0)));
my_txt = new TextField();
my_txt.defaultTextFormat = g.format;
my_txt.autoSize = "left";
my_txt.selectable = false;
my_txt.x = 17;
my_txt.y = 9;
my_txt.mouseEnabled = false;
var _local1:* = addChild(my_txt);
_local1.filters = new Array(g.fBGlow);
my_score = new TextField();
my_score.defaultTextFormat = g.format;
my_score.autoSize = "left";
my_score.selectable = false;
my_score.x = 126;
my_score.y = 9;
my_score.mouseEnabled = false;
_local1 = addChild(my_score);
_local1.filters = new Array(g.fBGlow);
addEventListener("mouseOver", onRoll);
addEventListener("mouseOut", offRoll);
}
public function set_score(_arg1:String){
if (twens){
twens.removeEventListener("textTweenChanged", MYeventFUNCTION2);
};
twens = new TextTween(_arg1, None.easeOut, None.easeOut, 10, 10, -9);
twens.addEventListener("textTweenChanged", MYeventFUNCTION2);
}
public function dead():void{
if (twen){
twen.removeEventListener("textTweenChanged", MYeventFUNCTION);
};
if (twens){
twens.removeEventListener("textTweenChanged", MYeventFUNCTION2);
};
removeEventListener("mouseOver", onRoll);
removeEventListener("mouseOut", offRoll);
this.removeChild(my_txt);
this.parent.removeChild(this);
inst.length = 0;
twen = null;
twens = null;
}
public function MYeventFUNCTION(_arg1:Object):void{
my_txt.text = _arg1.text;
}
public function set_text(_arg1:String){
if (twen){
twen.removeEventListener("textTweenChanged", MYeventFUNCTION);
};
twen = new TextTween(_arg1, Strong.easeOut, Strong.easeOut, 90, 10, 5);
twen.addEventListener("textTweenChanged", MYeventFUNCTION);
}
public function MYeventFUNCTION2(_arg1:Object):void{
my_score.text = _arg1.text;
}
private function offRoll(_arg1:Object=null){
removeChild(spr);
spr = addChildAt(new Bitmap(new slvl(0, 0)), 0);
}
private function onRoll(_arg1:Object=null){
removeChild(spr);
spr = addChildAt(new Bitmap(new slvlG(0, 0)), 0);
}
}
class Otv extends Sprite {
public var _tvs;// = null
public var _mode:int;// = 0
public var idx:int;// = 0
public static var _choosed:int = 1;
public static var inst:Array = [];
private function Otv(){
var _local1:*;
super();
addEventListener("mouseOver", onRoll);
addEventListener("mouseOut", offRoll);
inst.push(this);
idx = inst.length;
if (inst.length == 1){
_local1 = addChild(new Bitmap(new bHar(0, 0)));
};
if (inst.length == 2){
_local1 = addChild(new Bitmap(new bNor(0, 0)));
};
if (inst.length == 3){
_local1 = addChild(new Bitmap(new bEas(0, 0)));
};
_local1.x = int(((-(_local1.width) / 2) + 55));
_local1.y = int(((-(_local1.height) / 2) + 60));
addChild(new Bitmap(new sOtv(0, 0)));
_tvs = addChild(new BitmapClip(g.tv_bitmaps, false));
_tvs.play();
_tvs.x = (_tvs.x + 4);
_tvs.y = (_tvs.y + 4);
_tvs.alpha = 0.7;
var _local2:* = addChild(new Bitmap(new windToon(0, 0)));
_local2.x = (_local2.x - 12);
_local2.y = (_local2.y - 12);
if (idx == _choosed){
_tvs.visible = false;
};
if (inst.length == 1){
_local1 = addChild(new Bitmap(new sEas(0, 0)));
};
if (inst.length == 2){
_local1 = addChild(new Bitmap(new sMed(0, 0)));
};
if (inst.length == 3){
_local1 = addChild(new Bitmap(new sHard(0, 0)));
};
_local1.x = (32 - (_local1.width * 0.3));
_local1.y = -10;
}
public function dead():void{
_tvs = null;
while (numChildren) {
removeChildAt(0);
};
this.parent.removeChild(this);
inst.length = 0;
removeEventListener("mouseOver", onRoll);
removeEventListener("mouseOut", offRoll);
}
public function onRoll(_arg1:Object):void{
_tvs.visible = false;
}
public function offRoll(_arg1:Object):void{
if (idx != _choosed){
_tvs.visible = true;
};
}
}
class OMbtn extends Sprite {
public var yy:int;
private var tex:String;// = ""
private var spr;
public var twen:TextTween;
private var my_txt:TextField;
public static var inst:Array = [];
private function OMbtn(){
inst.push(this);
x = 230;
yy = ((inst.length * 50) + 80);
y = int(yy);
spr = new Bitmap(new Nzm(0, 0));
addChild(spr);
spr.y = -8;
my_txt = new TextField();
my_txt.defaultTextFormat = g.formatBig;
my_txt.autoSize = "center";
my_txt.selectable = false;
my_txt.x = 81;
my_txt.y = 6;
my_txt.mouseEnabled = false;
addChild(my_txt);
An.play(this, "blurMoveIn");
addEventListener("mouseOver", onRoll);
addEventListener("mouseOut", offRoll);
}
public function MYeventFUNCTION(_arg1:Object):void{
my_txt.text = _arg1.text;
}
private function offRoll(_arg1:Object=null){
spr.bitmapData = new Nzm(0, 0);
}
public function spress(){
mouseChildren = true;
mouseEnabled = true;
}
public function set_text(_arg1:String){
tex = _arg1;
if (twen){
twen.removeEventListener("textTweenChanged", MYeventFUNCTION);
};
twen = new TextTween(_arg1, Strong.easeOut, Strong.easeOut, 90, 10, 5);
twen.addEventListener("textTweenChanged", MYeventFUNCTION);
}
private function onRoll(_arg1:Object=null){
spr.bitmapData = new Nzm_over(0, 0);
}
public static function on(){
var _local1:*;
var _local2:*;
for each (_local1 in inst) {
_local1.y = _local1.yy;
_local1.x = 230;
_local2 = An.play(_local1, "blurOff", false);
_local2.vars["onComplete"] = _local1.spress;
};
}
public static function off(){
var _local1:*;
for each (_local1 in inst) {
_local1.mouseChildren = false;
_local1.mouseEnabled = false;
An.play(_local1, "blurMoveOut", false);
};
}
}
Section 78
//mushh_room (mushh_room)
package {
import flash.display.*;
public dynamic class mushh_room extends MovieClip {
}
}//package
Section 79
//Nzm (Nzm)
package {
import flash.display.*;
public dynamic class Nzm extends BitmapData {
public function Nzm(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 80
//Nzm_over (Nzm_over)
package {
import flash.display.*;
public dynamic class Nzm_over extends BitmapData {
public function Nzm_over(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 81
//OCred (OCred)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class OCred extends MovieClip {
public var btnClose:SimpleButton;
public function OCred(){
addFrameScript(0, frame1);
}
public function ff(_arg1:Event=null){
var _local2:* = An.play(this, "fastOut");
if (!_local2){
return;
};
_local2.vars["onComplete"] = kill;
}
function frame1(){
stop();
x = (x + 100);
btnClose.addEventListener(MouseEvent.CLICK, ff);
}
public function kill(){
btnClose.removeEventListener(MouseEvent.CLICK, ff);
this.parent.removeChild(this);
}
}
}//package
Section 82
//ODOT (ODOT)
package {
import flash.display.*;
public dynamic class ODOT extends MovieClip {
}
}//package
Section 83
//OHelp (OHelp)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class OHelp extends MovieClip {
public var btnL:SimpleButton;
public var btnR:SimpleButton;
public var btnClose:SimpleButton;
public function OHelp(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (x < 50){
x = (x + 100);
};
btnClose.addEventListener(MouseEvent.CLICK, ff);
btnL.addEventListener(MouseEvent.CLICK, ff1);
btnR.addEventListener(MouseEvent.CLICK, ff2);
}
public function ff(_arg1:Event=null){
var _local2:* = An.play(this, "fastOut");
if (!_local2){
return;
};
_local2.vars["onComplete"] = kill;
}
public function ff1(_arg1:Event=null){
gotoAndStop((currentFrame - 1));
}
public function ff2(_arg1:Event=null){
nextFrame();
}
public function kill(){
btnClose.removeEventListener(MouseEvent.CLICK, ff);
btnL.removeEventListener(MouseEvent.CLICK, ff1);
btnR.removeEventListener(MouseEvent.CLICK, ff2);
this.parent.removeChild(this);
}
}
}//package
Section 84
//Okay (Okay)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class Okay extends MovieClip {
public var mAnimTimer:Timer;
public function Okay(){
addFrameScript(0, frame1);
}
function frame1(){
An.play(this, "fastIn");
mAnimTimer = new Timer(1500, 1);
mAnimTimer.start();
mAnimTimer.addEventListener("timerComplete", EnterFr);
}
public function EnterFr(_arg1:Object):void{
var _local2:* = An.play(this, "blurOut");
_local2.vars["onComplete"] = kill;
}
public function kill(){
if (!this.parent){
return;
};
this.parent.removeChild(this);
}
}
}//package
Section 85
//olaser1 (olaser1)
package {
import flash.display.*;
public dynamic class olaser1 extends MovieClip {
}
}//package
Section 86
//olaser2 (olaser2)
package {
import flash.display.*;
public dynamic class olaser2 extends MovieClip {
}
}//package
Section 87
//oLigth (oLigth)
package {
import flash.display.*;
public dynamic class oLigth extends MovieClip {
}
}//package
Section 88
//OMouse (OMouse)
package {
import flash.display.*;
public dynamic class OMouse extends MovieClip {
public function OMouse(){
addFrameScript(0, frame1);
}
function frame1(){
mouseChildren = false;
mouseEnabled = false;
addEventListener("enterFrame", step);
}
public function step(_arg1:Object){
x = g.main.mouseX;
y = g.main.mouseY;
}
}
}//package
Section 89
//Ones (Ones)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class Ones extends MovieClip implements ITive {
public var zz:int;// = -1
public function Ones(){
this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 55, 0, 0);
}
public function restart(){
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 55, 0, 0);
Level.tmp_object[((_local1 + "_") + _local2)] = this;
}
public function prev(){
restart();
}
public function action(){
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
if ((Level.tmp_odynam[((_local1 + "_") + _local2)] is IMoving)){
return;
};
Level.tmp_object[((_local1 + "_") + _local2)] = new Bwall();
this.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 70, 0, 0, 0);
}
}
}//package
Section 90
//Panel (Panel)
package {
import flash.display.*;
import flash.events.*;
import objects.*;
public class Panel extends MovieClip {
private static var _Score:SpriteText = new SpriteText();
public static var _Box:SpriteText = new SpriteText();
private static var _TBoxs:SpriteText = new SpriteText();
public function Panel(){
var _local1:*;
super();
_local1 = addChild(new Bitmap(new elClock(0, 0)));
_local1.y = 7;
_local1 = addChild(new Bitmap(new elBox(0, 0)));
_local1.y = 30;
_local1 = addChild(new Bitmap(new elSlash(0, 0)));
_local1.y = 30;
_local1.x = 60;
Level._Score = _Score;
_local1 = addChild(_Score);
_local1 = addChild(_Box);
_local1.text = "0";
_local1.x = 1;
_local1.y = 25;
_local1 = addChild(_TBoxs);
_local1.text = Level.totalBox.toString();
_local1.x = 55;
_local1.y = 25;
}
}
}//package
Section 91
//Player (Player)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import functions.*;
import objects.*;
import fl.transitions.easing.*;
import fl.transitions.*;
import flash.ui.*;
public class Player extends Sprite {
public var zz:int;// = 1
private var sprite:BitmapS;
private var _direct;// = 0
public var tw1:Tween;
private var _dir:int;// = 0
private var kpressed:Boolean;// = false
public var start_x:int;
public var cell_y:int;
private var key:int;// = 0
private var pressed:Boolean;// = false
public var start_y:int;
public var cell_x:int;
private var _dr:int;// = 0
public var trgx:int;
private var _move:Boolean;// = false
public var trgy:int;
public static var _steps:int = 0;
public static var xprev:Number = 0;
public static var id:Player = null;
public static var yprev:Number = 0;
public function Player(){
tw1 = new Tween(this, "", None.easeOut, x, x, 0, false);
super();
id = this;
var _local1:* = addChild(new sShadow());
_local1.scaleX = 0.7;
_local1.scaleY = 0.7;
_local1.y = (_local1.y + 12);
sprite = new BitmapS(g.saPlayer, 1);
addChild(sprite);
sprite.y = -30;
sprite.x = -25;
addEventListener("enterFrame", step);
g.main.addEventListener("keyDown", keyPressHandler);
g.main.addEventListener("keyUp", keyUs);
g.main.addEventListener("mouseDown", createChoose);
g.main.addEventListener("mouseUp", mUp);
_steps = 0;
}
function onRes(){
g.play = true;
cell_x = int((start_x / Level.sizeX));
cell_y = int((start_y / Level.sizeY));
x = start_x;
y = start_y;
var _local1:* = An.play(this, "blowIn");
Level.arrange();
}
public function keyPressHandler(_arg1:KeyboardEvent=null):void{
if (_move == true){
return;
};
kpressed = true;
if (_arg1){
key = _arg1.keyCode;
};
switch (key){
case Keyboard.UP:
mov("y", (cell_y - 1));
break;
case Keyboard.DOWN:
mov("y", (cell_y + 1));
break;
case Keyboard.LEFT:
mov("x", (cell_x - 1));
break;
case Keyboard.RIGHT:
mov("x", (cell_x + 1));
break;
};
}
public function step(_arg1:Event){
var _local2:* = Math.ceil((((Math.atan2(mouseY, mouseX) * (180 / Math.PI)) - 45) / 90));
_direct.rotation = (_local2 * 90);
_direct.x = x;
_direct.y = y;
if (((((pressed) && (!((_dir == _local2))))) && (!(_move)))){
createChoose();
};
_dir = _local2;
if ((int((x - xprev)) + int((y - yprev))) == 0){
return;
};
_dr = (_dr - m.sign(m.diff(_dr, int((((Math.atan2(-((y - yprev)), (x - xprev)) * (180 / Math.PI)) + 90) / 10)), 36)));
if (_dr == 36){
_dr = 0;
} else {
if (_dr == -1){
_dr = 35;
};
};
sprite.index = _dr;
}
public function restart(){
g.play = false;
var _local1:* = An.play(this, "blowOut2");
_local1.vars["onComplete"] = onRes;
_steps = 0;
}
public function mov(_arg1:String, _arg2:int){
var _local3:int;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:int;
if (!g.play){
return;
};
if (_arg1 == "x"){
_local3 = cell_x;
trgx = _arg2;
trgy = cell_y;
} else {
_local3 = cell_y;
trgx = cell_x;
trgy = _arg2;
};
var _local4:int = (_arg2 - _local3);
var _local5:* = Level.tmp_object[((trgx + "_") + trgy)];
var _local6:* = Level.tmp_odynam[((trgx + "_") + trgy)];
if ((_local5 is IWall)){
return;
};
Level.backAct1 = null;
Level.backAct2 = null;
if ((_local6 is IMoving)){
if (_arg1 == "x"){
_local8 = (trgx + _local4);
_local9 = trgy;
} else {
_local8 = trgx;
_local9 = (trgy + _local4);
};
_local11 = Level.tmp_object[((_local8 + "_") + _local9)];
if ((Level.tmp_odynam[((_local8 + "_") + _local9)] is ISolid)){
return;
};
if ((_local11 is ISolid)){
return;
};
if ((((_local5 is Goal)) && (!((_local6 is BoxE))))){
Level.placedBox = (Level.placedBox - 1);
Panel._Box.text = Level.placedBox.toString();
} else {
if ((_local5 is GoalS)){
if (_local5.act == true){
Level.placedBox = (Level.placedBox - 1);
_local5.act = false;
Panel._Box.text = Level.placedBox.toString();
};
};
};
if (((((((!((_local11 is Teleport))) && (!((_local6 is BoxE))))) && (!((_local11 is Goal))))) && (!((_local11 is GoalS))))){
_local12 = 0;
if ((Level.tmp_object[(((_local8 - 1) + "_") + _local9)] is Wall)){
_local12 = (_local12 + 3);
};
if ((Level.tmp_object[(((_local8 + 1) + "_") + _local9)] is Wall)){
_local12 = (_local12 + 3);
};
if ((Level.tmp_object[((_local8 + "_") + (_local9 - 1))] is Wall)){
_local12 = (_local12 + 2);
};
if ((Level.tmp_object[((_local8 + "_") + (_local9 + 1))] is Wall)){
_local12 = (_local12 + 2);
};
if ((((_local12 == 5)) || ((_local12 > 6)))){
Level.loose();
_local10 = Level.id.addChild(new Wrong());
_local10.x = (_local8 * 40);
_local10.y = (_local9 * 36);
};
};
if (_arg1 == "x"){
_local6.tw = new Tween(_local6, _arg1, None.easeOut, (_arg2 * Level.sizeX), ((_arg2 + _local4) * Level.sizeX), 0.3, true);
} else {
_local6.tw = new Tween(_local6, _arg1, None.easeOut, (_arg2 * Level.sizeY), ((_arg2 + _local4) * Level.sizeY), 0.3, true);
};
Level.tmp_odynam[((_local8 + "_") + _local9)] = _local6;
ss.play("mov");
delete Level.tmp_odynam[((trgx + "_") + trgy)];
if ((_local5 is Push)){
_local5.action();
};
if ((_local11 is ITive)){
_local11.action();
Level.backAct2 = _local11;
} else {
if ((((_local11 is Goal)) && (!((_local6 is BoxE))))){
ss.play("go");
_local10 = Level.id.addChild(new Okay());
_local10.x = (_local8 * 40);
_local10.y = (_local9 * 36);
Level.placedBox = (Level.placedBox + 1);
Panel._Box.text = Level.placedBox.toString();
} else {
if ((((_local11 is GoalS)) && ((_local6 is BoxS)))){
if (_local6.targ == _local11){
ss.play("go");
_local10 = Level.id.addChild(new Okay());
_local10.x = (_local8 * 40);
_local10.y = (_local9 * 36);
Level.placedBox = (Level.placedBox + 1);
Panel._Box.text = Level.placedBox.toString();
_local11.act = true;
};
};
};
};
Level.backBox = _local6;
if (Level.placedBox == Level.totalBox){
Level.win();
};
} else {
Level.backBox = null;
};
if ((_local5 is ITive)){
_local5.action();
Level.backAct1 = _local5;
};
if (_arg1 == "x"){
tw1 = new Tween(this, _arg1, None.easeOut, (cell_x * Level.sizeX), (_arg2 * Level.sizeX), 0.3, true);
} else {
tw1 = new Tween(this, _arg1, None.easeOut, (cell_y * Level.sizeY), (_arg2 * Level.sizeY), 0.3, true);
};
_move = true;
tw1.addEventListener("motionFinish", move_end);
if ((Level.tmp_object[((cell_x + "_") + cell_y)] is Push)){
Level.tmp_object[((cell_x + "_") + cell_y)].action();
};
if ((Level.tmp_object[((cell_x + "_") + cell_y)] is Door1)){
if (Level.tmp_object[((cell_x + "_") + cell_y)].targ.status == false){
Level.tmp_object[((cell_x + "_") + cell_y)].close();
};
};
if (_arg1 == "x"){
cell_x = _arg2;
} else {
cell_y = _arg2;
};
Menuz.btn2.visible = true;
Menuz.btn2.alpha = 1;
xprev = x;
if (!(_local6 is IMoving)){
ss.play("rob");
};
yprev = y;
var _local7:int = Level.inst.length;
_steps = (_steps + 1);
while (_local7--) {
if ((Level.inst[_local7] is Enemy)){
Level.inst[_local7].set_prev();
};
};
Level.arrange();
}
public function keyUs(_arg1:Object=null){
kpressed = false;
}
public function kill(){
g.main.removeEventListener("keyDown", keyPressHandler);
g.main.removeEventListener("mouseDown", createChoose);
g.main.removeEventListener("mouseUp", mUp);
removeEventListener("enterFrame", step);
var _local1:int = numChildren;
while (_local1--) {
removeChildAt(_local1);
};
sprite = null;
id = null;
tw1 = null;
_direct = null;
}
public function mUp(_arg1:Object=null){
pressed = false;
}
public function init(){
cell_x = int((x / Level.sizeX));
cell_y = int((y / Level.sizeY));
start_x = x;
start_y = y;
_direct = Level.id.addChild(new Sprite());
_direct.alpha = 0.5;
_direct.scaleX = 0.5;
_direct.scaleY = 0.5;
var _local1:* = _direct.addChild(new Bitmap(new sW1(0, 0)));
_local1.x = (_local1.x + 40);
_local1.y = (_local1.y - 45);
delete Level.tmp_object[((cell_x + "_") + cell_y)];
}
public function createChoose(_arg1:Object=null){
if (_arg1){
if ((((((((_arg1.target.constructor == BRes)) || ((_arg1.target.constructor == BBack)))) || ((_arg1.target.constructor == mushh_room)))) || ((_arg1.target.constructor == BStep)))){
return;
};
};
if (_move == true){
return;
};
pressed = true;
kpressed = false;
if (_direct.rotation == 0){
mov("x", (cell_x + 1));
} else {
if ((((_direct.rotation == -180)) || ((_direct.rotation == 180)))){
mov("x", (cell_x - 1));
} else {
if (_direct.rotation == 90){
mov("y", (cell_y + 1));
} else {
if (_direct.rotation == -90){
mov("y", (cell_y - 1));
};
};
};
};
}
function move_end(_arg1:Event){
_move = false;
if (pressed == true){
createChoose();
};
if (kpressed == true){
keyPressHandler();
};
}
}
}//package
Section 92
//Push (Push)
package {
import flash.display.*;
import flash.events.*;
public class Push extends MovieClip implements ISpecial, ITive {
public var zz:int;// = -1
public var targ:Door1;
public var status:Boolean;// = false
public var idx:int;
public function restart(){
if (targ.status == false){
targ.close();
};
}
public function init(_arg1:Event=null):void{
var _local2:*;
for each (_local2 in Level.inst) {
if ((_local2 is Door1)){
if (_local2.idx == idx){
targ = _local2;
_local2.targ = this;
break;
};
};
};
}
public function prev(){
action();
}
public function action(){
if (targ.status == true){
targ.open();
status = true;
} else {
targ.close();
status = false;
};
}
public function kill(){
targ = null;
}
}
}//package
Section 93
//Ricag (Ricag)
package {
import flash.display.*;
import flash.events.*;
public class Ricag extends Sprite implements ISpecial, ITive {
public var zz:int;// = -1
public var targ:Door;
private var sprite:Bitmap;
public var idx:int;
public function Ricag(){
sprite = new Bitmap();
super();
addChild(sprite);
sprite.bitmapData = new sR_OFF(0, 0);
sprite.x = (sprite.x - 20);
sprite.y = (sprite.y - 20);
}
public function prev(){
restart();
}
public function restart(){
sprite.bitmapData = new sR_OFF(0, 0);
if (targ.status == false){
targ.close();
};
}
public function init(_arg1:Event=null):void{
var _local2:*;
for each (_local2 in Level.inst) {
if ((_local2 is Door)){
if (_local2.idx == idx){
targ = _local2;
break;
};
};
};
}
public function action(){
sprite.bitmapData = new sR_ON(0, 0);
targ.open();
ss.play("switch");
}
public function kill(){
targ = null;
this.removeChild(sprite);
sprite = null;
}
}
}//package
Section 94
//rob (rob)
package {
import flash.display.*;
public dynamic class rob extends BitmapData {
public function rob(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 95
//s_dr1 (s_dr1)
package {
import flash.display.*;
public dynamic class s_dr1 extends BitmapData {
public function s_dr1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 96
//s_dr2 (s_dr2)
package {
import flash.display.*;
public dynamic class s_dr2 extends BitmapData {
public function s_dr2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 97
//s_dr3 (s_dr3)
package {
import flash.display.*;
public dynamic class s_dr3 extends BitmapData {
public function s_dr3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 98
//s_dr4 (s_dr4)
package {
import flash.display.*;
public dynamic class s_dr4 extends BitmapData {
public function s_dr4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 99
//s_noise (s_noise)
package {
import flash.display.*;
public dynamic class s_noise extends BitmapData {
public function s_noise(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 100
//s_ones (s_ones)
package {
import flash.display.*;
public dynamic class s_ones extends BitmapData {
public function s_ones(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 101
//sAlpha1 (sAlpha1)
package {
import flash.display.*;
public dynamic class sAlpha1 extends MovieClip {
}
}//package
Section 102
//sAlpha2 (sAlpha2)
package {
import flash.display.*;
public dynamic class sAlpha2 extends MovieClip {
}
}//package
Section 103
//sBox_tn (sBox_tn)
package {
import flash.display.*;
public dynamic class sBox_tn extends BitmapData {
public function sBox_tn(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 104
//sBox1 (sBox1)
package {
import flash.display.*;
public dynamic class sBox1 extends BitmapData {
public function sBox1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 105
//Score_Submit (Score_Submit)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import com.adobe.crypto.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class Score_Submit extends MovieClip {
public var Score:Number;
public var submit:MovieClip;
public var Name:String;
public function Score_Submit(){
addFrameScript(0, frame1);
}
function frame1(){
Security.allowDomain("*");
Security.loadPolicyFile("http://hiscore.freegamesjungle.com/crossdomain.xml");
submit.button.addEventListener(MouseEvent.MOUSE_UP, buttonPressed);
}
public function buttonPressed(_arg1:MouseEvent){
Name = submit.inputbox.text;
Score = g.Score;
var _local2:URLVariables = new URLVariables();
_local2.n = Name;
_local2.s = Score;
_local2.k = MD5.hash(("" + (Score + 1819)));
_local2.m = 1;
var _local3:URLRequest = new URLRequest("http://hiscore.freegamesjungle.com/sokozone_submit.php");
_local3.method = "POST";
_local3.data = _local2;
var _local4:URLLoader = new URLLoader();
_local4.load(_local3);
_local4.addEventListener(Event.COMPLETE, goodjob);
}
public function goodjob(_arg1:Event):void{
var _local2:* = this.parent.addChild(new ScoreHall());
_local2.x = 190;
_local2.y = 120;
this.parent.removeChild(this);
}
}
}//package
Section 106
//ScoreHall (ScoreHall)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class ScoreHall extends MovieClip {
public var name1:TextField;
public var name2:TextField;
public var name3:TextField;
public var name4:TextField;
public var name5:TextField;
public var name6:TextField;
public var name8:TextField;
public var request:URLRequest;
public var name7:TextField;
public var name9:TextField;
public var loader:URLLoader;
public var score10:TextField;
public var btn3:SimpleButton;
public var btn4:SimpleButton;
public var score1:TextField;
public var score2:TextField;
public var score3:TextField;
public var score5:TextField;
public var score6:TextField;
public var score7:TextField;
public var score8:TextField;
public var score9:TextField;
public var score4:TextField;
public var name10:TextField;
public function ScoreHall(){
addFrameScript(0, frame1);
}
public function handleComplete(_arg1:Event):void{
var _local2:URLLoader = URLLoader(_arg1.target);
name1.text = _local2.data.name1;
score1.text = _local2.data.score1;
name2.text = _local2.data.name2;
score2.text = _local2.data.score2;
name3.text = _local2.data.name3;
score3.text = _local2.data.score3;
name4.text = _local2.data.name4;
score4.text = _local2.data.score4;
name5.text = _local2.data.name5;
score5.text = _local2.data.score5;
name6.text = _local2.data.name6;
score6.text = _local2.data.score6;
name7.text = _local2.data.name7;
score7.text = _local2.data.score7;
name8.text = _local2.data.name8;
score8.text = _local2.data.score8;
name9.text = _local2.data.name9;
score9.text = _local2.data.score9;
name10.text = _local2.data.name10;
score10.text = _local2.data.score10;
}
public function onIOError(_arg1:IOErrorEvent):void{
}
function frame1(){
Security.allowDomain("*");
Security.loadPolicyFile("http://hiscore.freegamesjungle.com/crossdomain.xml");
request = new URLRequest("http://hiscore.freegamesjungle.com/sokozone_get.php");
loader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
request.method = URLRequestMethod.POST;
loader.addEventListener(Event.COMPLETE, handleComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.load(request);
btn3.addEventListener("click", ff1);
btn4.addEventListener("click", ff2);
}
public function ff1(_arg1:Object){
var _local2:URLRequest = new URLRequest("http://hiscore.freegamesjungle.com/sokozone.php");
navigateToURL(_local2, "_blank");
}
public function ff2(_arg1:Object){
this.parent.removeChild(this);
if (Menuz.pass == "Level"){
Menuz.btn1.visible = true;
Level.clearGo();
};
}
}
}//package
Section 107
//sDoor (sDoor)
package {
import flash.display.*;
public dynamic class sDoor extends BitmapData {
public function sDoor(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 108
//sEas (sEas)
package {
import flash.display.*;
public dynamic class sEas extends BitmapData {
public function sEas(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 109
//sEnemy (sEnemy)
package {
import flash.display.*;
public dynamic class sEnemy extends BitmapData {
public function sEnemy(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 110
//sGoal1 (sGoal1)
package {
import flash.display.*;
public dynamic class sGoal1 extends BitmapData {
public function sGoal1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 111
//sHard (sHard)
package {
import flash.display.*;
public dynamic class sHard extends BitmapData {
public function sHard(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 112
//sHaz (sHaz)
package {
import flash.display.*;
public dynamic class sHaz extends BitmapData {
public function sHaz(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 113
//sLasSide (sLasSide)
package {
import flash.display.*;
public dynamic class sLasSide extends BitmapData {
public function sLasSide(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 114
//sLasUp (sLasUp)
package {
import flash.display.*;
public dynamic class sLasUp extends BitmapData {
public function sLasUp(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 115
//slvl (slvl)
package {
import flash.display.*;
public dynamic class slvl extends BitmapData {
public function slvl(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 116
//slvlG (slvlG)
package {
import flash.display.*;
public dynamic class slvlG extends BitmapData {
public function slvlG(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 117
//sMed (sMed)
package {
import flash.display.*;
public dynamic class sMed extends BitmapData {
public function sMed(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 118
//sOkay (sOkay)
package {
import flash.display.*;
public dynamic class sOkay extends BitmapData {
public function sOkay(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 119
//song (song)
package {
import flash.media.*;
public dynamic class song extends Sound {
}
}//package
Section 120
//sOtv (sOtv)
package {
import flash.display.*;
public dynamic class sOtv extends BitmapData {
public function sOtv(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 121
//sound_controll (sound_controll)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class sound_controll extends MovieClip {
public var nm_soundsd:MovieClip;
public var muz_mak;
public var btn2:MovieClip;
public var smol:MovieClip;
public var btn:MovieClip;
public var nm_plays:MovieClip;
public function sound_controll(){
addFrameScript(0, frame1);
}
function frame1(){
btn.addEventListener(MouseEvent.CLICK, Go);
btn2.addEventListener(MouseEvent.CLICK, go4);
this.addEventListener(MouseEvent.ROLL_OVER, go2);
this.addEventListener(MouseEvent.ROLL_OUT, go3);
muz_mak = addChild(new mushh_room());
muz_mak.x = (muz_mak.x - 7);
muz_mak.y = (muz_mak.y - 8);
nm_plays.mask = muz_mak;
nm_soundsd.stop();
}
public function Go(_arg1:Event){
if (nm_soundsd.currentFrame == 1){
ss.off();
nm_soundsd.nextFrame();
nm_plays.stop();
} else {
ss.on();
nm_soundsd.prevFrame();
nm_plays.play();
};
}
public function go3(_arg1:Event){
An.play(this, "Flash");
An.play(smol, "toLf", false);
}
public function go2(_arg1:Event){
An.play(this, "Flash");
An.play(smol, "fromsLf", false);
}
public function go4(_arg1:Event){
ss.moff();
}
}
}//package
Section 122
//sPlayer (sPlayer)
package {
import flash.display.*;
public dynamic class sPlayer extends BitmapData {
public function sPlayer(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 123
//sR_OFF (sR_OFF)
package {
import flash.display.*;
public dynamic class sR_OFF extends BitmapData {
public function sR_OFF(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 124
//sR_ON (sR_ON)
package {
import flash.display.*;
public dynamic class sR_ON extends BitmapData {
public function sR_ON(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 125
//sRoof (sRoof)
package {
import flash.display.*;
public dynamic class sRoof extends BitmapData {
public function sRoof(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 126
//ss (ss)
package {
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class ss {
static var alarm:Timer = new Timer(90, 30);
static var st:SoundTransform;
static var channel:SoundChannel;
static var snd:Object;
static var chn:Object = new Object();
static var t:SoundTransform;
static var global_t:SoundTransform;
public function ss(){
global_t = new SoundTransform();
t = new SoundTransform();
st = new SoundTransform();
st.volume = 0.25;
snd = new Object();
snd["song"] = new song();
snd["bip"] = new jBip();
snd["placed"] = new jCompl();
snd["open"] = new jDoor();
snd["drum"] = new jDrum();
snd["go"] = new jGo();
snd["olimp"] = new jOlim();
snd["sub"] = new jSub();
snd["switch"] = new jSwitch();
snd["fail"] = new jFail();
snd["teleport"] = new jTel();
snd["mov"] = new jMov();
snd["rob"] = new jRob();
channel = snd["bip"].play(0, 0, new SoundTransform(0, 0));
off();
alarm.addEventListener("timer", mutes);
alarm.start();
}
static function moff(){
if (st.volume == 0){
st.volume = 0.25;
} else {
st.volume = 0;
};
channel.soundTransform = st;
}
public static function playt(_arg1:String, _arg2:int=0):void{
snd[_arg1].play(0, _arg2, t);
}
static function playSong(){
channel.stop();
channel = snd["song"].play(0, 9999999, st);
}
static function off(){
global_t.volume = 0;
SoundMixer.soundTransform = global_t;
alarm.stop();
}
public static function play(_arg1:String):void{
snd[_arg1].play(0, 0, t);
}
static function mutes(_arg1:Event){
global_t.volume = (global_t.volume + (1 / 30));
SoundMixer.soundTransform = global_t;
}
public static function playr(_arg1:String):SoundChannel{
return ((chn[_arg1] = snd[_arg1].play(0, 0, t)));
}
static function on(){
global_t.volume = 0.5;
SoundMixer.soundTransform = global_t;
alarm.stop();
}
}
}//package
Section 127
//sShadow (sShadow)
package {
import flash.display.*;
public dynamic class sShadow extends MovieClip {
}
}//package
Section 128
//sTelep (sTelep)
package {
import flash.display.*;
public dynamic class sTelep extends BitmapData {
public function sTelep(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 129
//sToon (sToon)
package {
import flash.display.*;
public dynamic class sToon extends BitmapData {
public function sToon(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 130
//sUFloor (sUFloor)
package {
import flash.display.*;
public dynamic class sUFloor extends BitmapData {
public function sUFloor(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 131
//sW1 (sW1)
package {
import flash.display.*;
public dynamic class sW1 extends BitmapData {
public function sW1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 132
//sWall (sWall)
package {
import flash.display.*;
public dynamic class sWall extends BitmapData {
public function sWall(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 133
//sWrong (sWrong)
package {
import flash.display.*;
public dynamic class sWrong extends BitmapData {
public function sWrong(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 134
//TbleLoose (TbleLoose)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class TbleLoose extends MovieClip {
public var btn2:SimpleButton;
public var btn:SimpleButton;
public function TbleLoose(){
addFrameScript(0, frame1);
}
public function ff(_arg1:Event=null){
var _local2:* = An.play(this, "CellUnload");
if (!_local2){
return;
};
_local2.vars["onComplete"] = kill;
Level.restart();
}
public function ff2(_arg1:Event=null){
var _local2:* = An.play(this, "CellUnload");
if (!_local2){
return;
};
_local2.vars["onComplete"] = kill;
Level.stepBack();
}
function frame1(){
btn.addEventListener(MouseEvent.CLICK, ff);
btn2.addEventListener(MouseEvent.CLICK, ff2);
addEventListener("removedFromStage", killz);
Menuz.btn1.visible = false;
Menuz.btn2.visible = false;
}
public function killz(_arg1:Event=null){
btn.removeEventListener(MouseEvent.CLICK, ff);
removeEventListener("removedFromStage", killz);
}
public function kill(){
Menuz.btn1.visible = true;
this.parent.removeChild(this);
}
}
}//package
Section 135
//TbleScore (TbleScore)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class TbleScore extends MovieClip {
public var btn:SimpleButton;
public var t_score:TextField;
public var btn2:SimpleButton;
public function TbleScore(){
addFrameScript(0, frame1);
}
public function ff(_arg1:Event=null){
var _local2:* = An.play(this, "CellUnload");
if (!_local2){
return;
};
_local2.vars["onComplete"] = kill;
}
function frame1(){
btn.addEventListener(MouseEvent.CLICK, ffs);
btn2.addEventListener(MouseEvent.CLICK, ff);
Menuz.btn2.visible = false;
Menuz.btn2.alpha = 0;
addEventListener("removedFromStage", killz);
Menuz.btn1.visible = false;
t_score.text = g.score_play.toString();
}
public function ffs(_arg1:Event=null){
var _local2:* = this.parent.addChild(new Score_Submit());
_local2.y = -200;
_local2.x = 40;
this.parent.removeChild(this);
}
public function killz(_arg1:Event=null){
btn.removeEventListener(MouseEvent.CLICK, ff);
btn2.removeEventListener(MouseEvent.CLICK, ff);
removeEventListener("removedFromStage", killz);
}
public function kill(){
Menuz.btn1.visible = true;
this.parent.removeChild(this);
Level.clearGo();
}
}
}//package
Section 136
//Teleport (Teleport)
package {
import flash.display.*;
import flash.events.*;
public class Teleport extends Sprite implements ISpecial, ITive {
public var zz:int;// = -1
public var targ:Teleport;
private var sprite:Bitmap;
public var idm:int;
var _obj;
public var idx:int;
public function Teleport(){
sprite = new Bitmap();
super();
addChild(sprite);
sprite.bitmapData = new sTelep(0, 0);
sprite.x = (sprite.x - 20);
sprite.y = (sprite.y - 20);
}
function Ret(_arg1:Event){
ss.play("teleport");
var _local2:* = An.play(_obj, "blowOut");
_local2.vars["onComplete"] = Ret2;
}
function Ret2(){
_obj.x = targ.x;
_obj.y = targ.y;
ss.play("teleport");
var _local1:* = An.play(_obj, "blowIn");
Level.arrange();
}
public function prev(){
}
public function action(){
var _local1:* = int((x / Level.sizeX));
var _local2:* = int((y / Level.sizeY));
if (!Level.tmp_odynam[((_local1 + "_") + _local2)]){
return;
};
if (Level.tmp_odynam[((int((targ.x / Level.sizeX)) + "_") + int((targ.y / Level.sizeY)))]){
return;
};
_obj = Level.tmp_odynam[((_local1 + "_") + _local2)];
if ((_obj is IMoving)){
_obj.tw.addEventListener("motionFinish", Ret);
delete Level.tmp_odynam[((_local1 + "_") + _local2)];
Level.tmp_odynam[((int((targ.x / Level.sizeX)) + "_") + int((targ.y / Level.sizeY)))] = _obj;
};
}
public function init(_arg1:Event=null):void{
var _local2:*;
if ((idx / 2) == int((idx / 2))){
idm = (idx - 1);
} else {
idm = (idx + 1);
};
for each (_local2 in Level.inst) {
if ((_local2 is Teleport)){
if (_local2.idx == idm){
targ = _local2;
break;
};
};
};
}
public function kill(){
}
}
}//package
Section 137
//tFont (tFont)
package {
import flash.display.*;
public dynamic class tFont extends BitmapData {
public function tFont(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 138
//Tile (Tile)
package {
import flash.display.*;
public dynamic class Tile extends MovieClip {
}
}//package
Section 139
//Wall (Wall)
package {
import flash.display.*;
import flash.geom.*;
import functions.*;
import objects.*;
public class Wall extends Sprite implements ISolid, IWall {
public var zz:int;// = 1
private var sprRfo;// = null
private var sprRf;// = null
public var objrf;// = null
private var objwl;// = null
private var tn;// = null
public var i_in:int;
public function Wall(){
mouseEnabled = false;
mouseChildren = false;
addChild(new sShadow());
objwl = addChild(new BitmapS(g.saWall, 1));
sprRfo = addChild(new Sprite());
sprRfo.y = -34;
objrf = sprRfo.addChild(new Sprite());
sprRf = objrf.addChild(new BitmapS(g.saRoof1, 1));
sprRf.x = -20;
sprRf.y = -20;
objwl.y = -16;
objwl.x = -20;
tn = sprRfo.addChild(new BitmapS(g.saToon, 1));
tn.x = (tn.x - 20);
tn.y = (tn.y - 20);
}
public function set i_rf(_arg1:int){
sprRf.index = _arg1;
i_in = _arg1;
}
public function blend(){
sprRfo.addChild(new sAlpha2()).blendMode = "alpha";
sprRfo.blendMode = "layer";
}
public function corner(){
var _local4:*;
var _local1:* = int((x / 40));
var _local2:* = int((y / 36));
if (((!((Level.tmp_object[(((_local1 - 1) + "_") + _local2)] is Wall))) && (!((Level.tmp_object[(((_local1 + 1) + "_") + _local2)] is Wall))))){
objwl.index = 3;
} else {
if (!(Level.tmp_object[(((_local1 - 1) + "_") + _local2)] is Wall)){
objwl.index = 0;
} else {
if (!(Level.tmp_object[(((_local1 + 1) + "_") + _local2)] is Wall)){
objwl.index = 2;
};
};
};
var _local3:* = i_in;
tn.index = 0;
if (_local3 == 3){
tn.index = 6;
};
if (_local3 == 2){
tn.index = 5;
};
if (_local3 == 4){
if ((((objrf.scaleY == 1)) && ((objrf.scaleX == 1)))){
tn.index = 2;
} else {
if ((((objrf.scaleY == 1)) && ((objrf.scaleX == -1)))){
tn.index = 1;
} else {
if ((((objrf.scaleY == -1)) && ((objrf.scaleX == 1)))){
tn.index = 4;
} else {
if ((((objrf.scaleY == -1)) && ((objrf.scaleX == -1)))){
tn.index = 3;
};
};
};
};
};
if (_local3 == 7){
if (objrf.scaleX == 1){
tn.index = 2;
} else {
tn.index = 1;
};
};
if (_local3 == 8){
if (objrf.scaleY == -1){
tn.index = 6;
} else {
tn.index = 0;
};
};
if (_local3 == 0){
if (objrf.scaleY == -1){
tn.index = 7;
} else {
tn.index = 5;
};
};
if (_local3 == 1){
if (objrf.scaleX == -1){
tn.index = 3;
} else {
tn.index = 4;
};
};
if (_local3 == 5){
tn.index = 7;
};
if (Level.tmp_tile[((_local1 + "_") + (_local2 + 1))]){
if (!(Level.tmp_object[((_local1 + "_") + (_local2 + 1))] is Wall)){
_local4 = addChild(new Bitmap(new Lih(0, 0)));
addChild(new Bitmap(new Lih(0, 0))).y = (_local4.y - 10);
_local4.x = (_local4.x - 10);
_local4 = addChild(new Bitmap(new Lih2(0, 0)));
addChild(new Bitmap(new Lih2(0, 0))).y = (_local4.y + 15);
_local4.x = (_local4.x - 18);
};
};
}
}
}//package
Section 140
//windToon (windToon)
package {
import flash.display.*;
public dynamic class windToon extends BitmapData {
public function windToon(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 141
//Wrong (Wrong)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.geom.*;
import flash.filters.*;
import flash.utils.*;
import flash.text.*;
import flash.net.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.xml.*;
public dynamic class Wrong extends MovieClip {
public var mAnimTimer:Timer;
public function Wrong(){
addFrameScript(0, frame1);
}
function frame1(){
mAnimTimer = new Timer(1500, 1);
mAnimTimer.start();
mAnimTimer.addEventListener("timerComplete", EnterFr);
}
public function EnterFr(_arg1:Object):void{
var _local2:* = An.play(this, "blurOut");
_local2.vars["onComplete"] = kill;
}
public function kill(){
if (!this.parent){
return;
};
this.parent.removeChild(this);
}
}
}//package