Section 1
//BackToGameSelectButton (com.nitrome.game.BackToGameSelectButton)
package com.nitrome.game {
import flash.events.*;
import flash.utils.*;
public class BackToGameSelectButton extends SimpleButton {
public var __id6_:TwinShotFont;
public var __setPropDict:Dictionary;
public function BackToGameSelectButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function (){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.align = "center";
__id6_.align_vert = "center";
__id6_.blackStrength = 1.2;
__id6_.color = 14503834;
__id6_.id = "None";
__id6_.line_spacing = 18;
__id6_.text = "Back";
__id6_.tracking = 0;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame14(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function (){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.align = "center";
__id6_.align_vert = "center";
__id6_.blackStrength = 1.2;
__id6_.color = 16289784;
__id6_.id = "None";
__id6_.line_spacing = 18;
__id6_.text = "Back";
__id6_.tracking = 0;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame5(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 11)) && ((int(__setPropDict[__id6_]) <= 20))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame10(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id6_] == undefined)) || (!((((int(__setPropDict[__id6_]) >= 1)) && ((int(__setPropDict[__id6_]) <= 10))))))){
__setPropDict[__id6_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.transition.doTween("game_select");
}
}
}//package com.nitrome.game
Section 2
//BackToTitleButton (com.nitrome.game.BackToTitleButton)
package com.nitrome.game {
import flash.events.*;
public class BackToTitleButton extends SimpleButton {
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.transition.doTween("title_screen");
}
}
}//package com.nitrome.game
Section 3
//BackToTitleButton1 (com.nitrome.game.BackToTitleButton1)
package com.nitrome.game {
import flash.utils.*;
public dynamic class BackToTitleButton1 extends BackToTitleButton {
public var __setPropDict:Dictionary;
public var __id4_:TwinShotFont;
public function BackToTitleButton1(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function (){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.align = "center";
__id4_.align_vert = "center";
__id4_.blackStrength = 1.2;
__id4_.color = 14503834;
__id4_.id = "None";
__id4_.line_spacing = 18;
__id4_.text = "Back";
__id4_.tracking = 0;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame20(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 1)) && ((int(__setPropDict[__id4_]) <= 10))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
function (){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.align = "center";
__id4_.align_vert = "center";
__id4_.blackStrength = 1.2;
__id4_.color = 16289784;
__id4_.id = "None";
__id4_.line_spacing = 18;
__id4_.text = "Back";
__id4_.tracking = 0;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id4_] == undefined)) || (!((((int(__setPropDict[__id4_]) >= 11)) && ((int(__setPropDict[__id4_]) <= 20))))))){
__setPropDict[__id4_] = currentFrame;
();
};
}
}
}//package com.nitrome.game
Section 4
//BackToTitleButton2 (com.nitrome.game.BackToTitleButton2)
package com.nitrome.game {
import flash.utils.*;
public dynamic class BackToTitleButton2 extends BackToTitleButton {
public var __id5_:TwinShotFont;
public var __setPropDict:Dictionary;
public function BackToTitleButton2(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 1)) && ((int(__setPropDict[__id5_]) <= 10))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function (){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.align = "center";
__id5_.align_vert = "center";
__id5_.blackStrength = 1.2;
__id5_.color = 14503834;
__id5_.id = "None";
__id5_.line_spacing = 18;
__id5_.text = "Back To Title";
__id5_.tracking = 0;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id5_] == undefined)) || (!((((int(__setPropDict[__id5_]) >= 11)) && ((int(__setPropDict[__id5_]) <= 20))))))){
__setPropDict[__id5_] = currentFrame;
();
};
}
function (){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.align = "center";
__id5_.align_vert = "center";
__id5_.blackStrength = 1.2;
__id5_.color = 16289784;
__id5_.id = "None";
__id5_.line_spacing = 18;
__id5_.text = "Back To Title";
__id5_.tracking = 0;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 5
//CongratulationsSubmitScoreButton (com.nitrome.game.CongratulationsSubmitScoreButton)
package com.nitrome.game {
import flash.utils.*;
public dynamic class CongratulationsSubmitScoreButton extends SubmitScoreButton {
public var __id7_:TwinShotFont;
public var __setPropDict:Dictionary;
public function CongratulationsSubmitScoreButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 1)) && ((int(__setPropDict[__id7_]) <= 10))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id7_] == undefined)) || (!((((int(__setPropDict[__id7_]) >= 11)) && ((int(__setPropDict[__id7_]) <= 20))))))){
__setPropDict[__id7_] = currentFrame;
();
};
}
function (){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.align = "center";
__id7_.align_vert = "center";
__id7_.blackStrength = 1.2;
__id7_.color = 14503834;
__id7_.id = "None";
__id7_.line_spacing = 18;
__id7_.text = "Submit Score";
__id7_.tracking = 0;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.align = "center";
__id7_.align_vert = "center";
__id7_.blackStrength = 1.2;
__id7_.color = 16289784;
__id7_.id = "None";
__id7_.line_spacing = 18;
__id7_.text = "Submit Score";
__id7_.tracking = 0;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 6
//ContinueGameButton (com.nitrome.game.ContinueGameButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class ContinueGameButton extends SimpleButton {
public var __id17_:TwinShotFont;
public var __setPropDict:Dictionary;
public function ContinueGameButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function (){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.align = "center";
__id17_.align_vert = "center";
__id17_.blackStrength = 1.2;
__id17_.color = 14503834;
__id17_.id = "None";
__id17_.line_spacing = 18;
__id17_.text = "Resume";
__id17_.tracking = 0;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 1)) && ((int(__setPropDict[__id17_]) <= 10))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id17_] == undefined)) || (!((((int(__setPropDict[__id17_]) >= 11)) && ((int(__setPropDict[__id17_]) <= 20))))))){
__setPropDict[__id17_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
if (Controller.popup){
Controller.popup.close();
};
}
function (){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.align = "center";
__id17_.align_vert = "center";
__id17_.blackStrength = 1.2;
__id17_.color = 16289784;
__id17_.id = "None";
__id17_.line_spacing = 18;
__id17_.text = "Resume";
__id17_.tracking = 0;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 7
//CreditsButton (com.nitrome.game.CreditsButton)
package com.nitrome.game {
import flash.events.*;
import flash.utils.*;
public class CreditsButton extends SimpleButton {
public var __id10_:TwinShotFont;
public var __setPropDict:Dictionary;
public function CreditsButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 10))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 11)) && ((int(__setPropDict[__id10_]) <= 20))))))){
__setPropDict[__id10_] = currentFrame;
();
};
}
function (){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.align = "center";
__id10_.align_vert = "center";
__id10_.blackStrength = 1.2;
__id10_.color = 14503834;
__id10_.id = "None";
__id10_.line_spacing = 18;
__id10_.text = "Credits";
__id10_.tracking = 1;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.transition.doTween("credits");
}
function (){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.align = "center";
__id10_.align_vert = "center";
__id10_.blackStrength = 1.2;
__id10_.color = 16289784;
__id10_.id = "None";
__id10_.line_spacing = 18;
__id10_.text = "Credits";
__id10_.tracking = 1;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 8
//EndGameButton (com.nitrome.game.EndGameButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
public class EndGameButton extends SimpleButton {
override public function onClick(_arg1:MouseEvent):void{
var e = _arg1;
if (Controller.popup){
Controller.popup.close();
};
NitromeGame.transition.doTween(function (){
Controller.endGame();
NitromeGame.timeline.gotoAndStop("title_screen");
});
}
}
}//package com.nitrome.game
Section 9
//EndGameButton1 (com.nitrome.game.EndGameButton1)
package com.nitrome.game {
import flash.utils.*;
public dynamic class EndGameButton1 extends EndGameButton {
public var __id18_:TwinShotFont;
public var __setPropDict:Dictionary;
public function EndGameButton1(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 1)) && ((int(__setPropDict[__id18_]) <= 10))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id18_] == undefined)) || (!((((int(__setPropDict[__id18_]) >= 11)) && ((int(__setPropDict[__id18_]) <= 20))))))){
__setPropDict[__id18_] = currentFrame;
();
};
}
function (){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.align = "center";
__id18_.align_vert = "center";
__id18_.blackStrength = 1.2;
__id18_.color = 16289784;
__id18_.id = "None";
__id18_.line_spacing = 18;
__id18_.text = "End Game";
__id18_.tracking = 0;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.align = "center";
__id18_.align_vert = "center";
__id18_.blackStrength = 1.2;
__id18_.color = 14503834;
__id18_.id = "None";
__id18_.line_spacing = 18;
__id18_.text = "End Game";
__id18_.tracking = 0;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 10
//EndGameButton2 (com.nitrome.game.EndGameButton2)
package com.nitrome.game {
import flash.utils.*;
public dynamic class EndGameButton2 extends EndGameButton {
public var __setPropDict:Dictionary;
public var __id19_:TwinShotFont;
public function EndGameButton2(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function (){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.align = "center";
__id19_.align_vert = "center";
__id19_.blackStrength = 1.2;
__id19_.color = 14503834;
__id19_.id = "None";
__id19_.line_spacing = 18;
__id19_.text = "End Game";
__id19_.tracking = 0;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function (){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.align = "center";
__id19_.align_vert = "center";
__id19_.blackStrength = 1.2;
__id19_.color = 16289784;
__id19_.id = "None";
__id19_.line_spacing = 18;
__id19_.text = "End Game";
__id19_.tracking = 0;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame5(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 1)) && ((int(__setPropDict[__id19_]) <= 10))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id19_] == undefined)) || (!((((int(__setPropDict[__id19_]) >= 11)) && ((int(__setPropDict[__id19_]) <= 20))))))){
__setPropDict[__id19_] = currentFrame;
();
};
}
}
}//package com.nitrome.game
Section 11
//ExitToLevelSelectButton (com.nitrome.game.ExitToLevelSelectButton)
package com.nitrome.game {
import flash.display.*;
public dynamic class ExitToLevelSelectButton extends MovieClip {
}
}//package com.nitrome.game
Section 12
//FxToggle (com.nitrome.game.FxToggle)
package com.nitrome.game {
import flash.events.*;
public class FxToggle extends SimpleButton {
public function FxToggle(){
if (!NitromeGame.sfx){
gotoAndStop("_off_up");
} else {
gotoAndStop("_on_up");
};
}
override protected function updateGraphic():void{
if (over){
if (NitromeGame.sound_manager.sfx){
gotoAndStop("_on_over");
} else {
if (!NitromeGame.sound_manager.sfx){
gotoAndStop("_off_over");
};
};
} else {
if (NitromeGame.sound_manager.sfx){
gotoAndStop("_on_up");
} else {
if (!NitromeGame.sound_manager.sfx){
gotoAndStop("_off_up");
};
};
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.sound_manager.toggleSfx();
if (!NitromeGame.sfx){
gotoAndStop("_off_up");
} else {
gotoAndStop("_on_up");
};
}
}
}//package com.nitrome.game
Section 13
//HelpButton (com.nitrome.game.HelpButton)
package com.nitrome.game {
import flash.events.*;
import flash.utils.*;
public class HelpButton extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id8_:TwinShotFont;
public function HelpButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function
(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.align = "center";
__id8_.align_vert = "center";
__id8_.blackStrength = 1.2;
__id8_.color = 16289784;
__id8_.id = "None";
__id8_.line_spacing = 18;
__id8_.text = "Help";
__id8_.tracking = 1;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame3(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function (){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.align = "center";
__id8_.align_vert = "center";
__id8_.blackStrength = 1.2;
__id8_.color = 14503834;
__id8_.id = "None";
__id8_.line_spacing = 18;
__id8_.text = "Help";
__id8_.tracking = 1;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 1)) && ((int(__setPropDict[__id8_]) <= 10))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id8_] == undefined)) || (!((((int(__setPropDict[__id8_]) >= 11)) && ((int(__setPropDict[__id8_]) <= 20))))))){
__setPropDict[__id8_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.transition.doTween("help");
}
}
}//package com.nitrome.game
Section 14
//IngamePopup (com.nitrome.game.IngamePopup)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.display.*;
import flash.events.*;
import com.nitrome.util.*;
public class IngamePopup extends MovieClip {
public var :String;
public var :Number;// = 0
public var :Number;// = 0
public var :Boolean;// = false
public var inner:MovieClip;
public var :Number;// = 0
public var :Boolean;// = true
public var
:Number;// = 10
public var :Number;// = 0
public var :Number;// = 0
public function IngamePopup(){
= true;
= 0;
= 0;
= 0;
= 0;
= 10;
= false;
= 0;
super();
addFrameScript(0, frame1, 8, frame9, 9, frame10, 15, frame16);
addEventListener(Event.ADDED, );
x = 275;
y = 200;
}
public function destroy():void{
();
removeEventListener(Event.ADDED, );
}
public function ():void{
var _local1:Number;
var _local2:DisplayObject;
if (((!()) || (!(isOpen)))){
return;
};
_local1 = 0;
while (_local1 < MovieClip(inner).numChildren) {
_local2 = inner.getChildAt(_local1);
if ((((_local2 is SimpleButton)) && ((_local2.name.substr(0, 7) == "default")))){
(_local2 as SimpleButton).onClick(null);
return;
};
_local1++;
};
}
function frame10(){
= false;
}
function frame16(){
();
}
function frame1(){
stop();
}
public function (_arg1:Event):void{
if ((((_arg1.target.parent == this)) && ((_arg1.target is MovieClip)))){
(_arg1.target as MovieClip).gotoAndStop();
};
}
private function ():void{
if (parent){
parent.removeChild(this);
};
gotoAndStop(1);
Controller.unpause();
}
public function open(_arg1:String):void{
= _arg1;
gotoAndPlay(2);
if (!parent){
Controller.root.addChild(this);
};
= Controller.level.getScore();
= Score.value;
= ( = 0);
= true;
= 0;
if (((Controller.twoPlayerGame) && (!((_arg1 == "failed"))))){
= 40;
} else {
= 10;
};
}
function frame9(){
= true;
= false;
stop();
}
public function advance():void{
var _local1:String;
var _local2:Boolean;
var _local3:Boolean;
if (!inner){
return;
};
++;
if (Key.isReady()){
_local3 = false;
if (Key.isDown(Key.SPACE)){
_local3 = true;
};
if (Key.isDown(Key.CONTROL)){
_local3 = true;
};
if (((Key.isDown(Key.F)) && (Controller.twoPlayerGame))){
_local3 = true;
};
if (_local3){
();
};
};
if (!){
if (
> 0){
--;
} else {
if (((inner.levelScore) && (( < )))){
= ( + 23);
if ( >= ){
= ;
= 10;
};
inner.levelScore.text = .toString();
} else {
if (((inner.totalScore) && (( < )))){
= ( + 157);
if ( > ){
= ;
};
inner.totalScore.text = .toString();
};
};
};
};
_local1 = Controller.player1Wins.toString();
_local2 = ((((!((Controller.latestWinner == 1))) || (( > 30)))) || ((( % 3) < 2)));
if (inner.player1Score){
if (inner.player1Score.text != _local1){
inner.player1Score.text = _local1;
};
if (inner.player1Score.visible != _local2){
inner.player1Score.visible = _local2;
};
};
_local1 = Controller.player2Wins.toString();
_local2 = ((((!((Controller.latestWinner == 2))) || (( > 30)))) || ((( % 3) < 2)));
if (inner.player2Score){
if (inner.player2Score.text != _local1){
inner.player2Score.text = _local1;
};
if (inner.player2Score.visible != _local2){
inner.player2Score.visible = _local2;
};
};
}
public function get isOpen():Boolean{
return (!((currentFrame == 1)));
}
public function close():void{
play();
stage.focus = null;
}
}
}//package com.nitrome.game
Section 15
//IngameSubmitScoreButton (com.nitrome.game.IngameSubmitScoreButton)
package com.nitrome.game {
import flash.utils.*;
public dynamic class IngameSubmitScoreButton extends SubmitScoreButton {
public var __id22_:TwinShotFont;
public var __setPropDict:Dictionary;
public function IngameSubmitScoreButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function (){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.align = "center";
__id22_.align_vert = "center";
__id22_.blackStrength = 1.2;
__id22_.color = 16289784;
__id22_.id = "None";
__id22_.line_spacing = 18;
__id22_.text = "Submit Score";
__id22_.tracking = 0;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 1)) && ((int(__setPropDict[__id22_]) <= 10))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
function (){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.align = "center";
__id22_.align_vert = "center";
__id22_.blackStrength = 1.2;
__id22_.color = 14503834;
__id22_.id = "None";
__id22_.line_spacing = 18;
__id22_.text = "Submit Score";
__id22_.tracking = 0;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame15(){
if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 11)) && ((int(__setPropDict[__id22_]) <= 20))))))){
__setPropDict[__id22_] = currentFrame;
();
};
}
}
}//package com.nitrome.game
Section 16
//LevelStartButton (com.nitrome.game.LevelStartButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class LevelStartButton extends SimpleButton {
private var :Boolean;
public var numberField:TwinShotFont;
private var number:Number;
public var __setPropDict:Dictionary;
public function LevelStartButton(){
__setPropDict = new Dictionary(true);
super();
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);
number = Number(name.substr(6));
= NitromeGame.getLevelUnlocked(number);
useHandCursor = (buttonMode = );
this.addEventListener(Event.ENTER_FRAME, enterFrame);
}
function frame10(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function (){
try {
numberField["componentInspectorSetting"] = true;
} catch(e:Error) {
};
numberField.align = "center";
numberField.align_vert = "center";
numberField.blackStrength = 1.2;
numberField.color = 14503834;
numberField.id = "None";
numberField.line_spacing = 18;
numberField.text = "1";
numberField.tracking = 0;
try {
numberField["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
public function enterFrame(_arg1:Event):void{
updateGraphic();
this.removeEventListener(Event.ENTER_FRAME, enterFrame);
}
function frame4(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[numberField] == undefined)) || (!((((int(__setPropDict[numberField]) >= 1)) && ((int(__setPropDict[numberField]) <= 20))))))){
__setPropDict[numberField] = currentFrame;
();
};
}
override protected function updateGraphic():void{
if (){
if (over){
gotoAndStop("over");
} else {
gotoAndStop("up");
};
} else {
gotoAndStop("locked");
};
if (numberField){
numberField.text = String(number);
numberField.visible = ;
numberField.color = ((() && (over))) ? 16289784 : 14503834;
};
}
override public function onClick(_arg1:MouseEvent):void{
var e = _arg1;
if (){
NitromeGame.transition.doTween(function (){
NitromeGame.timeline.gotoAndStop("game");
Controller.selectedLevel = number;
Score.value = 0;
});
};
}
}
}//package com.nitrome.game
Section 17
//LoadIndicator (com.nitrome.game.LoadIndicator)
package com.nitrome.game {
import flash.display.*;
public class LoadIndicator extends MovieClip {
public function LoadIndicator(_arg1:Number=0, _arg2:Number=0){
addFrameScript(14, frame15, 19, frame20);
x = _arg1;
y = _arg2;
}
public function destroy():void{
stop();
if (parent){
parent.removeChild(this);
};
}
function frame15(){
gotoAndPlay("loop");
}
public function ():void{
gotoAndPlay("outAnimation");
}
function frame20(){
destroy();
}
}
}//package com.nitrome.game
Section 18
//MessageOverlay (com.nitrome.game.MessageOverlay)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.display.*;
import flash.events.*;
public class MessageOverlay extends MovieClip {
public var :Array;
public var frameNumber:Number;// = 0
public var :Number;// = 0
public var :Number;// = 0
public var :Number;// = 0
public static const HOLD_LENGTH:Number = 50;
public static const OUTRO_LENGTH:Number = 30;
public static const INTRO_LENGTH:Number = 30;
public static const SPACE_WIDTH:Number = 10;
public function MessageOverlay(_arg1:String):void{
= 0;
= 0;
= 0;
frameNumber = 0;
super();
x = 275;
y = 100;
addEventListener(Event.ENTER_FRAME, enterFrame);
setText(_arg1);
}
public function destroy():void{
stop();
if (parent){
parent.removeChild(this);
};
removeEventListener(Event.ENTER_FRAME, enterFrame);
}
public function enterFrame(_arg1:Event):void{
advance();
}
public function
():void{
}
public function advance():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
if ( < INTRO_LENGTH){
++;
} else {
if ( < HOLD_LENGTH){
++;
} else {
if ( < OUTRO_LENGTH){
++;
};
};
};
frameNumber++;
_local1 = 0;
while (_local1 < .length) {
if (![_local1].sprite){
} else {
_local2 = [_local1].centerX;
_local3 = [_local1].centerY;
_local4 = ((frameNumber * 20) + (_local1 * 50));
_local4 = (_local4 % 360);
if (_local4 < 0){
_local4 = (_local4 + 360);
};
_local2 = (_local2 + Math.cos(((_local4 * Math.PI) / 180)));
_local3 = (_local3 + Math.sin(((_local4 * Math.PI) / 180)));
if ( < INTRO_LENGTH){
_local5 = ((INTRO_LENGTH - ) + ((_local1 - .length) * 1.5));
if (_local5 < 0){
_local5 = 0;
};
_local2 = (_local2 + ((_local5 * _local5) * 4));
} else {
if ( < HOLD_LENGTH){
} else {
if ( < OUTRO_LENGTH){
_local6 = ( - (_local1 * 2));
if (_local6 < 0){
_local6 = 0;
};
_local2 = (_local2 - ((_local6 * _local6) * 4));
} else {
destroy();
return;
};
};
};
[_local1].sprite.x = _local2;
[_local1].sprite.y = _local3;
if (![_local1].sprite.parent){
addChild([_local1].sprite);
};
};
_local1++;
};
}
public function setText(_arg1:String):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local2 = 0;
_local3 = 0;
= [];
_local6 = 0;
while (_local6 < _arg1.length) {
[_local6] = new Letter(_arg1.substr(_local6, 1));
_local2 = (_local2 + ([_local6].width + 1));
_local3 = Math.max(_local3, [_local6].height);
_local6++;
};
_local4 = Math.floor((-(_local2) / 2));
_local5 = Math.floor((-(_local3) / 2));
_local6 = 0;
while (_local6 < .length) {
[_local6].centerX = _local4;
[_local6].centerY = _local5;
_local4 = (_local4 + ([_local6].width + 1));
_local6++;
};
}
public static function show(_arg1:String):void{
var _local2:MessageOverlay;
_local2 = new MessageOverlay(_arg1);
Controller.root.addChild(_local2);
}
}
}//package com.nitrome.game
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
class Letter {
public var :Number;
public var centerY:Number;
public var sprite:Sprite;
public var width:Number;
public var centerX:Number;
public var height:Number;
private function Letter(_arg1:String){
var type:String;
var classRef:Class;
var l = _arg1;
super();
try {
type = l.toUpperCase();
switch (l){
case ".":
type = "STOP";
break;
case ",":
type = "COMMA";
break;
case "!":
type = "EXCLAMATION";
break;
};
classRef = (getDefinitionByName(("Text_None_" + type)) as Class);
sprite = new (classRef);
sprite.transform.colorTransform = new ColorTransform(1.0390625, 0.37109375, 0.73046875, 1, -44, -16, -31);
width = sprite.width;
height = sprite.height;
} catch(e:Error) {
width = MessageOverlay.SPACE_WIDTH;
height = 1;
};
}
}
Section 19
//MusicToggle (com.nitrome.game.MusicToggle)
package com.nitrome.game {
import flash.events.*;
public class MusicToggle extends SimpleButton {
public function MusicToggle(){
if (!NitromeGame.music){
gotoAndStop("_off_up");
} else {
gotoAndStop("_on_up");
};
}
override protected function updateGraphic():void{
if (over){
if (NitromeGame.sound_manager.music){
gotoAndStop("_on_over");
} else {
if (!NitromeGame.sound_manager.music){
gotoAndStop("_off_over");
};
};
} else {
if (NitromeGame.sound_manager.music){
gotoAndStop("_on_up");
} else {
if (!NitromeGame.sound_manager.music){
gotoAndStop("_off_up");
};
};
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.sound_manager.toggleMusic();
if (!NitromeGame.music){
gotoAndStop("_off_up");
} else {
gotoAndStop("_on_up");
};
}
}
}//package com.nitrome.game
Section 20
//NextLevelButton (com.nitrome.game.NextLevelButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class NextLevelButton extends SimpleButton {
public var __id20_:TwinShotFont;
public var __setPropDict:Dictionary;
public function NextLevelButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function (){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.align = "center";
__id20_.align_vert = "center";
__id20_.blackStrength = 1.2;
__id20_.color = 14503834;
__id20_.id = "None";
__id20_.line_spacing = 18;
__id20_.text = "Continue";
__id20_.tracking = 0;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame18(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 1)) && ((int(__setPropDict[__id20_]) <= 10))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id20_] == undefined)) || (!((((int(__setPropDict[__id20_]) >= 11)) && ((int(__setPropDict[__id20_]) <= 20))))))){
__setPropDict[__id20_] = currentFrame;
();
};
}
function
(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.align = "center";
__id20_.align_vert = "center";
__id20_.blackStrength = 1.2;
__id20_.color = 16289784;
__id20_.id = "None";
__id20_.line_spacing = 18;
__id20_.text = "Continue";
__id20_.tracking = 0;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function onClick(_arg1:MouseEvent):void{
if (Controller.popup){
Controller.popup.close();
};
if (Controller.loadedLevelNumber == NitromeGame.total_levels){
Controller.endGame();
NitromeGame.transition.doTween("congrats");
} else {
Controller.nextLevel();
};
}
}
}//package com.nitrome.game
Section 21
//NitromeLink (com.nitrome.game.NitromeLink)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class NitromeLink extends SimpleButton {
public function NitromeLink(){
this.addEventListener(MouseEvent.CLICK, click);
}
public function click(_arg1:MouseEvent):void{
navigateToURL(new URLRequest("http://www.nitrome.com/"), "_blank");
}
}
}//package com.nitrome.game
Section 22
//OnePlayerGameButton (com.nitrome.game.OnePlayerGameButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class OnePlayerGameButton extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id2_:TwinShotFont;
public function OnePlayerGameButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function
(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.align = "center";
__id2_.align_vert = "center";
__id2_.blackStrength = 1.2;
__id2_.color = 14503834;
__id2_.id = "None";
__id2_.line_spacing = 18;
__id2_.text = "1-Player";
__id2_.tracking = 0;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.align = "center";
__id2_.align_vert = "center";
__id2_.blackStrength = 1.2;
__id2_.color = 16289784;
__id2_.id = "None";
__id2_.line_spacing = 18;
__id2_.text = "1-Player";
__id2_.tracking = 0;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 1)) && ((int(__setPropDict[__id2_]) <= 10))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 11)) && ((int(__setPropDict[__id2_]) <= 20))))))){
__setPropDict[__id2_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
Controller.twoPlayerGame = false;
NitromeGame.transition.doTween("level_select_1p");
}
}
}//package com.nitrome.game
Section 23
//PauseButton (com.nitrome.game.PauseButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
public class PauseButton extends SimpleButton {
override public function onClick(_arg1:MouseEvent):void{
Controller.popup.open("paused");
Controller.pause();
}
}
}//package com.nitrome.game
Section 24
//PlayButton (com.nitrome.game.PlayButton)
package com.nitrome.game {
import flash.events.*;
import flash.utils.*;
public class PlayButton extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id1_:TwinShotFont;
public function PlayButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 1)) && ((int(__setPropDict[__id1_]) <= 10))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
function (){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.align = "center";
__id1_.align_vert = "center";
__id1_.blackStrength = 1.2;
__id1_.color = 14503834;
__id1_.id = "None";
__id1_.line_spacing = 18;
__id1_.text = "Play";
__id1_.tracking = 1;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 11)) && ((int(__setPropDict[__id1_]) <= 20))))))){
__setPropDict[__id1_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
super.onClick(_arg1);
NitromeGame.transition.doTween("game_select");
}
function (){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.align = "center";
__id1_.align_vert = "center";
__id1_.blackStrength = 1.2;
__id1_.color = 16289784;
__id1_.id = "None";
__id1_.line_spacing = 18;
__id1_.text = "Play";
__id1_.tracking = 1;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 25
//Preloader (com.nitrome.game.Preloader)
package com.nitrome.game {
import flash.display.*;
import flash.text.*;
public dynamic class Preloader extends MovieClip {
public var progress:TextField;
public var __id11_:TwinShotFont;
public function Preloader(){
();
}
function (){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.align = "center";
__id11_.align_vert = "center";
__id11_.blackStrength = 1;
__id11_.color = 14438298;
__id11_.id = "None";
__id11_.line_spacing = 18;
__id11_.text = "loading...";
__id11_.tracking = 1;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package com.nitrome.game
Section 26
//RestartLevelButton (com.nitrome.game.RestartLevelButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class RestartLevelButton extends SimpleButton {
public var __id21_:TwinShotFont;
public var __setPropDict:Dictionary;
public function RestartLevelButton(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function (){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.align = "center";
__id21_.align_vert = "center";
__id21_.blackStrength = 1.2;
__id21_.color = 14503834;
__id21_.id = "None";
__id21_.line_spacing = 18;
__id21_.text = "Restart Level";
__id21_.tracking = 0;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function (){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.align = "center";
__id21_.align_vert = "center";
__id21_.blackStrength = 1.2;
__id21_.color = 16289784;
__id21_.id = "None";
__id21_.line_spacing = 18;
__id21_.text = "Restart Level";
__id21_.tracking = 0;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame18(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 11)) && ((int(__setPropDict[__id21_]) <= 20))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id21_] == undefined)) || (!((((int(__setPropDict[__id21_]) >= 1)) && ((int(__setPropDict[__id21_]) <= 10))))))){
__setPropDict[__id21_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
var e = _arg1;
if (Controller.popup){
Controller.popup.close();
};
NitromeGame.transition.doTween(function (){
Controller.restartLevel();
Score.value = 0;
});
}
}
}//package com.nitrome.game
Section 27
//Score (com.nitrome.game.Score)
package com.nitrome.game {
public class Score {
private static var r:int;
private static var _value:int;
private static var hash:String;
public static function init():void{
r = (int((Math.random() * 2000000)) - 1000000);
_value = r;
hash = _value.toString(16);
}
public static function verify():Boolean{
return ((_value.toString(16) == hash));
}
public static function get value():int{
return ((_value - r));
}
public static function set value(_arg1:int):void{
var _local2:Boolean;
_local2 = verify();
r = (int((Math.random() * 2000000)) - 1000000);
_value = (r + _arg1);
if (_local2){
hash = _value.toString(16);
};
}
}
}//package com.nitrome.game
Section 28
//ScoresButton (com.nitrome.game.ScoresButton)
package com.nitrome.game {
import flash.events.*;
import flash.utils.*;
public class ScoresButton extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id9_:TwinShotFont;
public function ScoresButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function (){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.align = "center";
__id9_.align_vert = "center";
__id9_.blackStrength = 1.2;
__id9_.color = 14503834;
__id9_.id = "None";
__id9_.line_spacing = 18;
__id9_.text = "Scores";
__id9_.tracking = 1;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function
(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.align = "center";
__id9_.align_vert = "center";
__id9_.blackStrength = 1.2;
__id9_.color = 16289784;
__id9_.id = "None";
__id9_.line_spacing = 18;
__id9_.text = "Scores";
__id9_.tracking = 1;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame4(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 10))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 11)) && ((int(__setPropDict[__id9_]) <= 20))))))){
__setPropDict[__id9_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
NitromeGame.transition.doTween("view_scores");
}
}
}//package com.nitrome.game
Section 29
//SimpleButton (com.nitrome.game.SimpleButton)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
public class SimpleButton extends MovieClip {
protected var over:Boolean;// = false
public function SimpleButton(){
over = false;
super();
mouseChildren = false;
buttonMode = true;
this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
this.addEventListener(MouseEvent.MOUSE_DOWN, onClick);
stop();
}
protected function onMouseOver(_arg1:MouseEvent):void{
over = true;
updateGraphic();
}
protected function onMouseOut(_arg1:MouseEvent):void{
over = false;
updateGraphic();
}
protected function updateGraphic():void{
if (over){
gotoAndStop("_over");
} else {
gotoAndStop("_up");
};
}
public function onClick(_arg1:MouseEvent):void{
}
}
}//package com.nitrome.game
Section 30
//SoundManager (com.nitrome.game.SoundManager)
package com.nitrome.game {
import flash.display.*;
import flash.media.*;
public class SoundManager extends SoundManagerSuper {
protected const MENU_VOLUME:Number = 1;
protected const GAME_VOLUME:Number = 1.5;
public var enemyHit:MovieClip;
public var playerDeath:MovieClip;
public var spring:MovieClip;
public var chestOpen:MovieClip;
public var beamIn:MovieClip;
public var jump:MovieClip;
public var nitrome:MovieClip;
public var arrowHitMetal:MovieClip;
public var gem:MovieClip;
public var coin:MovieClip;
public var lever:MovieClip;
public var powerupCollect:MovieClip;
public var arrowHitWall:MovieClip;
public var coin2:MovieClip;
public var playerHitByArrow:MovieClip;
public var arrowFire:MovieClip;
public var playerHit:MovieClip;
public static const GAME:uint = 1;
public static const MENU:uint = 0;
public function SoundManager(){
NitromeGame.sound_manager = this;
music_sounds.push(new MenuMusic());
music_sounds.push(new GameMusic());
transforms.push(new SoundTransform(MENU_VOLUME, 0));
transforms.push(new SoundTransform(GAME_VOLUME, 0));
channels.push(new SoundChannel());
channels.push(new SoundChannel());
volumes.push(MENU_VOLUME);
volumes.push(GAME_VOLUME);
= uint.MAX_VALUE;
}
}
}//package com.nitrome.game
Section 31
//SoundManagerSuper (com.nitrome.game.SoundManagerSuper)
package com.nitrome.game {
import flash.display.*;
import flash.events.*;
public class SoundManagerSuper extends Sprite {
protected const CROSS_FADE_SPEED:Number = 0.05;
public var :int;
protected var :Boolean;// = true
public var
:Boolean;// = false
protected var transforms:Array;
protected var volumes:Array;
protected var music_sounds:Array;
protected var :int;
protected var :Boolean;// = true
protected var channels:Array;
protected var :Array;
public function SoundManagerSuper(){
var _local1:int;
var _local2:MovieClip;
= new Array();
music_sounds = new Array();
channels = new Array();
transforms = new Array();
volumes = new Array();
= true;
= true;
= false;
super();
= NitromeGame.music;
= NitromeGame.sfx;
_local1 = 0;
while (_local1 < numChildren) {
_local2 = (getChildAt(_local1) as MovieClip);
if (_local2 != null){
[_local2.name] = _local2;
};
_local1++;
};
}
public function set sfx(_arg1:Boolean):void{
= _arg1;
}
public function get music():Boolean{
return ( );
}
public function toggleMusic():void{
if ( ){
();
} else {
();
};
}
public function playSound(_arg1:String):void{
if (){
if ([_arg1] != null){
[_arg1].gotoAndPlay(2);
};
};
}
private function (_arg1:Event):void{
if (transforms[].volume > 0){
transforms[].volume = (transforms[].volume - CROSS_FADE_SPEED);
channels[].soundTransform = transforms[];
};
if (transforms[].volume < 1){
transforms[].volume = (transforms[].volume + CROSS_FADE_SPEED);
channels[].soundTransform = transforms[];
};
if ((((transforms[].volume >= volumes[])) && ((transforms[].volume <= 0)))){
channels[].stop();
= false;
_arg1.target.removeEventListener(Event.ENTER_FRAME, );
};
}
public function ():void{
NitromeGame.music = ( = true);
playMusic(, true);
}
public function set music(_arg1:Boolean):void{
= _arg1;
}
public function playMusic(_arg1:uint, _arg2:Boolean=false):void{
var _local3:uint;
if (((!(( == _arg1))) || (_arg2))){
if (_arg1 < music_sounds.length){
if ( ){
_local3 = 0;
while (_local3 < music_sounds.length) {
if (_local3 == _arg1){
} else {
if (channels[_local3] != null){
channels[_local3].stop();
};
};
_local3++;
};
transforms[_arg1].volume = volumes[_arg1];
channels[_arg1] = music_sounds[_arg1].play(0, int.MAX_VALUE, transforms[_arg1]);
};
= _arg1;
};
};
}
public function ():void{
NitromeGame.sfx = ( = false);
}
public function toggleSfx():void{
= !();
NitromeGame.sfx = !(NitromeGame.sfx);
}
public function ():void{
var _local1:uint;
_local1 = 0;
while (_local1 < channels.length) {
if (channels[_local1] != null){
channels[_local1].stop();
};
_local1++;
};
NitromeGame.music = ( = false);
}
public function get sfx():Boolean{
return ();
}
public function ():void{
NitromeGame.sfx = ( = true);
}
public function
(_arg1:int):void{
if (((((!( )) || (( == _arg1)))) || (
))){
return;
};
transforms[_arg1].volume = 0;
channels[_arg1] = music_sounds[_arg1].play(0, int.MAX_VALUE, transforms[_arg1]);
= ;
= _arg1;
= true;
addEventListener(Event.ENTER_FRAME, );
}
}
}//package com.nitrome.game
Section 32
//SubmitScoreButton (com.nitrome.game.SubmitScoreButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
public class SubmitScoreButton extends SimpleButton {
public function SubmitScoreButton(){
if (Score.value == 0){
visible = false;
};
}
override public function onClick(_arg1:MouseEvent):void{
var e = _arg1;
NitromeGame.transition.doTween(function (){
if (Controller.content){
Controller.endGame();
};
if (Controller.popup){
Controller.popup.close();
};
NitromeGame.timeline.gotoAndStop("submit_score");
});
}
}
}//package com.nitrome.game
Section 33
//TemplateFont (com.nitrome.game.TemplateFont)
package com.nitrome.game {
public class TemplateFont extends TextComponent {
public function TemplateFont(){
_tracking = 0;
_line_spacing = 18;
_id = "None";
}
override public function get id():String{
return (_id);
}
override public function set id(_arg1:String){
_id = _arg1;
draw();
}
override public function set tracking(_arg1:int){
_tracking = _arg1;
draw();
}
override protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "�"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if (_arg1 == "'"){
return ("APOSTROPHE");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
override public function get tracking():int{
return (_tracking);
}
override public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
draw();
}
override public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 34
//TextComponent (com.nitrome.game.TextComponent)
package com.nitrome.game {
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class TextComponent extends Sprite {
protected var :String;// = "center"
protected var :Array;
protected var
:String;// = "enter text"
protected var _tracking:int;// = 0
protected var :ColorTransform;// = null
protected var :Number;// = 1
private var :Number;// = 0
protected var
:Array;
protected var _id:String;// = "None"
private var
:Number;// = 0
protected var :String;// = "center"
private var :Sprite;
protected var :Sprite;
protected var _line_spacing:int;// = 22
protected var :uint;// = 0xFFFFFF
public function TextComponent(){
= "enter text";
_tracking = 0;
= "center";
= "center";
_line_spacing = 22;
_id = "None";
= 0xFFFFFF;
= null;
= 1;
= 0;
= 0;
super();
init();
();
draw();
}
public function get align():String{
return ();
}
private function init():void{
= new Array();
= new Array();
= width;
= height;
scaleX = 1;
scaleY = 1;
removeChildAt(0);
}
public function set align(_arg1:String){
= _arg1;
draw();
}
private function ():void{
= new Sprite();
addChild();
}
public function get align_vert():String{
return ();
}
public function get text():String{
return (
);
}
public function set id(_arg1:String){
_id = _arg1;
draw();
}
protected function draw():void{
var line:*;
var i:int;
var isLivePreview:Boolean;
var c:*;
var class_name:String;
var class_id:Class;
var temp:Sprite;
var j:int;
var x_tracking:*;
.graphics.clear();
if ( != null){
this.removeChild();
};
= new Sprite();
= new Array();
line = 0;
.push(.addChild(new Sprite()));
= new Array();
.push(new Array());
i = 0;
while (i <
.length) {
=
.toUpperCase();
c =
.charAt(i);
class_name = getClassNameFromChar(c);
if (class_name == "NEWLINE"){
line = (line + 1);
.push(new Array());
.push(.addChild(new Sprite()));
[line].y = (line_spacing * line);
} else {
if (class_name != ""){
try {
class_id = (getDefinitionByName(((("Text_" + _id) + "_") + class_name)) as Class);
} catch(e:ReferenceError) {
try {
class_id = (getDefinitionByName((("Text_" + _id) + "_SPACE")) as Class);
} catch(e:ReferenceError) {
trace(("TextComponent error: could not find font " + _id));
break;
};
};
if (Class != null){
temp = (new (class_id) as Sprite);
[line].push(
[line].addChild(temp));
};
};
};
i = (i + 1);
};
i = 0;
while (i < .length) {
j = 1;
while (j < [i].length) {
x_tracking = _tracking;
if ([i][(j - 1)].kerning != null){
x_tracking = (x_tracking + [i][(j - 1)].kerning._x);
} else {
x_tracking = (x_tracking + [i][(j - 1)].width);
};
[i][j].x = ([i][(j - 1)].x + x_tracking);
j = (j + 1);
};
if ( == "center"){
[i].x = (
[i].x + int(((
* 0.5) - (
[i].width * 0.5))));
} else {
if ( == "right"){
[i].x = (
[i].x + int((
-
[i].width)));
};
};
i = (i + 1);
};
if ( == "bottom"){
.y = (.y + int(( - .height)));
} else {
if ( == "center"){
.y = (.y + int((( * 0.5) - (.height * 0.5))));
};
};
if ( != null){
.transform.colorTransform = ;
};
.cacheAsBitmap = true;
this.addChild();
this.cacheAsBitmap = true;
isLivePreview = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
if (((isLivePreview) && ((
== "")))){
.graphics.clear();
.graphics.lineStyle(1, 0);
.graphics.beginFill(0xFFFFFF, 0.5);
.graphics.drawRoundRect(0, 0,
, , 10, 10);
.graphics.endFill();
};
}
public function get id():String{
return (_id);
}
public function set align_vert(_arg1:String){
= _arg1;
draw();
}
public function get color():uint{
return ();
}
public function get blackStrength():Number{
return ();
}
public function set text(_arg1:String){
= _arg1;
draw();
}
public function set tracking(_arg1:int){
_tracking = _arg1;
draw();
}
public function (_arg1:Number, _arg2:Number):void{
= _arg1;
= _arg2;
draw();
}
protected function getClassNameFromChar(_arg1:String):String{
if (_arg1 == "Space"){
return ("SPACE");
};
if (_arg1 == "."){
return ("STOP");
};
if (_arg1 == "?"){
return ("QUESTION");
};
if (_arg1 == ","){
return ("COMMA");
};
if (_arg1 == "!"){
return ("EXCLAMATION");
};
if (_arg1 == "\\"){
return ("BACKSLASH");
};
if (_arg1 == "/"){
return ("FORWARDSLASH");
};
if (_arg1 == "="){
return ("EQUALS");
};
if (_arg1 == "+"){
return ("PLUS");
};
if (_arg1 == "("){
return ("LEFTBRACKET");
};
if (_arg1 == ")"){
return ("RIGHTBRACKET");
};
if (_arg1 == "-"){
return ("HYPHEN");
};
if (_arg1 == "\""){
return ("QUOTES");
};
if (_arg1 == ":"){
return ("COLON");
};
if (_arg1 == "�"){
return ("POUND");
};
if (_arg1 == "_"){
return ("UNDERSCORE");
};
if (_arg1 == "@"){
return ("AT");
};
if (_arg1 == "'"){
return ("APOSTROPHE");
};
if ((((((_arg1 == "\n")) || ((_arg1 == "\r")))) || ((_arg1 == "|")))){
return ("NEWLINE");
};
return (_arg1);
}
public function get tracking():int{
return (_tracking);
}
public function set blackStrength(_arg1:Number):void{
= _arg1;
();
draw();
}
protected function ():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
if (((( == 0xFFFFFF)) && ((blackStrength == 1)))){
= null;
} else {
_local1 = ((( >> 16) % 0x0100) / 0xFF);
_local2 = ((( >> 8) % 0x0100) / 0xFF);
_local3 = (( % 0x0100) / 0xFF);
= new ColorTransform((_local1 * ), (_local2 * ), (_local3 * ), 1, ((0xFF * _local1) * (1 - )), ((0xFF * _local2) * (1 - )), ((0xFF * _local3) * (1 - )));
};
}
public function set color(_arg1:uint):void{
= _arg1;
();
draw();
}
public function set line_spacing(_arg1:int){
_line_spacing = _arg1;
draw();
}
public function get line_spacing():int{
return (_line_spacing);
}
}
}//package com.nitrome.game
Section 35
//Transition (com.nitrome.game.Transition)
package com.nitrome.game {
import flash.display.*;
public class Transition extends MovieClip {
private var :Function;// = null
public function Transition(){
= null;
super();
addFrameScript(0, frame1, 12, frame13);
NitromeGame.transition = this;
stop();
mouseEnabled = false;
mouseChildren = false;
}
function frame1(){
();
}
function frame13(){
();
}
protected function
():void{
if ( != null){
gotoAndPlay(1);
} else {
stop();
this.visible = false;
};
}
public function doTween(_arg1:Object):void{
var target = _arg1;
play();
if ((target is Function)){
= (target as Function);
} else {
= function (){
NitromeGame.timeline.gotoAndStop(target);
};
};
this.visible = true;
}
protected function ():void{
if ( != null){
();
= null;
};
}
}
}//package com.nitrome.game
Section 36
//TwoPlayerGameButton (com.nitrome.game.TwoPlayerGameButton)
package com.nitrome.game {
import com.nitrome.twinshot.*;
import flash.events.*;
import flash.utils.*;
public class TwoPlayerGameButton extends SimpleButton {
public var __setPropDict:Dictionary;
public var __id3_:TwinShotFont;
public function TwoPlayerGameButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function (){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.align = "center";
__id3_.align_vert = "center";
__id3_.blackStrength = 1.2;
__id3_.color = 14503834;
__id3_.id = "None";
__id3_.line_spacing = 18;
__id3_.text = "2-Player";
__id3_.tracking = 0;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame6(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 1)) && ((int(__setPropDict[__id3_]) <= 10))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function (){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.align = "center";
__id3_.align_vert = "center";
__id3_.blackStrength = 1.2;
__id3_.color = 16289784;
__id3_.id = "None";
__id3_.line_spacing = 18;
__id3_.text = "2-Player";
__id3_.tracking = 0;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame11(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 11)) && ((int(__setPropDict[__id3_]) <= 20))))))){
__setPropDict[__id3_] = currentFrame;
();
};
}
override public function onClick(_arg1:MouseEvent):void{
Controller.twoPlayerGame = true;
NitromeGame.transition.doTween("level_select_2p");
}
}
}//package com.nitrome.game
Section 37
//ArrowButton (com.nitrome.highscore.ArrowButton)
package com.nitrome.highscore {
import flash.events.*;
import com.nitrome.game.*;
public class ArrowButton extends SimpleButton {
var :HighScoreBoard;
public function ArrowButton(){
= (parent as HighScoreBoard);
visible = false;
}
public function hide():void{
visible = false;
}
override public function onClick(_arg1:MouseEvent):void{
if (name == "_prev_arrow"){
.shiftScoresPrev();
} else {
if (name == "_next_arrow"){
.shiftScoresNext();
};
};
}
public function show():void{
visible = true;
}
}
}//package com.nitrome.highscore
Section 38
//ClearButton (com.nitrome.highscore.ClearButton)
package com.nitrome.highscore {
import flash.events.*;
import com.nitrome.game.*;
public class ClearButton extends SimpleButton {
private var :ScoreSubmitPanel;
public function ClearButton(){
= (parent as ScoreSubmitPanel);
}
override public function onClick(_arg1:MouseEvent):void{
.clearName();
}
}
}//package com.nitrome.highscore
Section 39
//HighScoreBoard (com.nitrome.highscore.HighScoreBoard)
package com.nitrome.highscore {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class HighScoreBoard extends MovieClip {
public const MAX_DIGITS:int = 8;
private const MAX_RANK:int = 100;
public const NUM_LINES:int = 10;
public var _score_line_7:ScoreLine;
private var
:Array;
private var
:Boolean;// = false
public var _next_arrow:NextArrow;
private var
:URLRequest;
private var :URLVariables;
public var _score_line_10:ScoreLine;
private var :ArrowButton;
public var _prev_arrow:PrevArrow;
private var
:int;
public var _score_line_1:ScoreLine;
public var _score_line_2:ScoreLine;
public var _score_line_3:ScoreLine;
public var _score_line_4:ScoreLine;
public var _score_line_5:ScoreLine;
public var _score_line_6:ScoreLine;
public var _score_line_8:ScoreLine;
public var _score_line_9:ScoreLine;
private var :URLLoader;
private var :ArrowButton;
public function HighScoreBoard(){
var _local1:int;
= false;
super();
if (((root) && (((((((((root as MovieClip).currentLabel == "game")) || (((root as MovieClip).currentLabel == "congrats")))) || (((root as MovieClip).currentLabel == "help")))) || (((root as MovieClip).currentLabel == "credits")))))){
return;
};
if (!NitromeGame.isAtURL(NitromeGame.NITROME)){
gotoAndStop("off");
return;
};
= new Array(NUM_LINES);
_local1 = 0;
while (_local1 <
.length) {
[_local1] = (getChildByName(("_score_line_" + (_local1 + 1))) as HighScoreLine);
_local1++;
};
= (getChildByName("_prev_arrow") as ArrowButton);
= (getChildByName("_next_arrow") as ArrowButton);
addEventListener(Event.ADDED_TO_STAGE, init);
}
public function
(_arg1:int):void{
= _arg1;
= new URLLoader();
= new URLVariables();
= new URLRequest(NitromeGame.RETRIEVE_URL);
.method = URLRequestMethod.POST;
.data = ;
.dataFormat = URLLoaderDataFormat.VARIABLES;
.addEventListener(Event.COMPLETE,
);
.addEventListener(IOErrorEvent.IO_ERROR, );
.min_rank = String(_arg1);
.game_name = NitromeGame.game_id;
.time_based = (NitromeGame.time_based) ? "1" : "0";
.load(
);
}
private function
(_arg1:Event):void{
var _local2:String;
_local2 = _arg1.target.data.result;
(_local2);
}
private function init(_arg1:Event):void{
(1);
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
public function shiftScoresPrev():void{
var _local1:int;
_local1 = (
- 10);
if (_local1 < 1){
_local1 = 1;
};
(_local1);
}
public function set zero_fill(_arg1:Boolean):void{
= _arg1;
}
private function (_arg1:IOErrorEvent):void{
trace(("Retrieve scores failed: " + _arg1.text));
}
public function get zero_fill():Boolean{
return (
);
}
public function (_arg1:Array):void{
var _local2:int;
var _local3:String;
var _local4:String;
if (_arg1.length > 0){
_local2 = 0;
while (_local2 <= 9) {
_local3 = String(_arg1[_local2].user_name);
_local4 = String(_arg1[_local2].score);
if ((((_local3 == "")) || ((_local3 == null)))){
[_local2].hide();
.hide();
} else {
[_local2].displayData((
+ _local2), _local3, _local4);
};
_local2++;
};
} else {
trace("no leaderboard data");
};
}
public function (_arg1:String):void{
var _local2:int;
var _local3:Object;
if (_arg1 != "0"){
_local2 = 0;
while (_local2 <
.length) {
_local3 = NitromeGame.getHighScoreLine(_arg1, (_local2 + 1));
if (_local3 == null){
[_local2].hide();
} else {
[_local2].displayData((
+ _local2), _local3.username, _local3.score);
};
_local2++;
};
if (NitromeGame.displayNextButton(_arg1)){
.show();
} else {
.hide();
};
if (NitromeGame.displayPreviousButton(_arg1)){
.show();
} else {
.hide();
};
};
}
public function shiftScoresNext():void{
var _local1:int;
_local1 = (
+ 10);
(_local1);
}
}
}//package com.nitrome.highscore
Section 40
//HighScoreLine (com.nitrome.highscore.HighScoreLine)
package com.nitrome.highscore {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class HighScoreLine extends Sprite {
private const FADE_SPEED:Number = 0.3;
private var :int;
private var :TextField;
private var :TextField;
public var _score_text:TextField;
private var :Boolean;
private var :TextField;
private var
:int;
public var _rank_text:TextField;
public var _name_text:TextField;
private var :HighScoreBoard;
public function HighScoreLine(){
visible = false;
= false;
= (getChildByName("_score_text") as TextField);
= (getChildByName("_name_text") as TextField);
= (getChildByName("_rank_text") as TextField);
= (parent as HighScoreBoard);
}
public function hide():void{
trace((name + " hide"));
visible = false;
= true;
}
private function (_arg1:Event):void{
if (
>= ){
alpha = (alpha + FADE_SPEED);
if (alpha >= 1){
_arg1.target.removeEventListener(Event.ENTER_FRAME, );
};
};
++;
}
public function displayData(_arg1:int, _arg2:String, _arg3:String):void{
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
trace((name + " displayData:"));
.text = String((_arg1 + "."));
.text = _arg2.toUpperCase();
trace(((((_arg1 + ",") + _arg2) + ",") + _arg3));
if (.zero_fill){
_local4 = .MAX_DIGITS;
_local5 = _arg3.length;
_local6 = (_local4 - _local5);
_local7 = 1;
while (_local7 <= _local6) {
_arg3 = ("0" + _arg3);
_local7++;
};
.text = _arg3;
} else {
.text = _arg3;
};
alpha = 0;
visible = true;
= (((_arg1 - 1) % .NUM_LINES) * int((1 / FADE_SPEED)));
= 0;
addEventListener(Event.ENTER_FRAME, );
}
}
}//package com.nitrome.highscore
Section 41
//LetterButton (com.nitrome.highscore.LetterButton)
package com.nitrome.highscore {
import flash.events.*;
import com.nitrome.game.*;
public class LetterButton extends SimpleButton {
private var :TextComponent;
public var _letter:TwinShotFont;
private var :String;
private var :ScoreSubmitPanel;
public function LetterButton(){
= (parent as ScoreSubmitPanel);
= name;
= (getChildByName("_letter") as TextComponent);
addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(_arg1:Event):void{
.text = ;
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
override protected function onMouseOut(_arg1:MouseEvent):void{
super.onMouseOut(_arg1);
.color = 14503834;
}
override public function onClick(_arg1:MouseEvent):void{
.addLetter( );
}
override protected function onMouseOver(_arg1:MouseEvent):void{
super.onMouseOver(_arg1);
.color = 16289784;
}
}
}//package com.nitrome.highscore
Section 42
//ScoreSubmitPanel (com.nitrome.highscore.ScoreSubmitPanel)
package com.nitrome.highscore {
import flash.display.*;
import flash.events.*;
import com.nitrome.game.*;
import flash.net.*;
import flash.ui.*;
public class ScoreSubmitPanel extends MovieClip {
private const MAX_LENGTH:Number = 10;
private var
:URLLoader;
public var C:LetterButton;
public var D:LetterButton;
public var E:LetterButton;
public var F:LetterButton;
public var H:LetterButton;
public var I:LetterButton;
public var J:LetterButton;
public var L:LetterButton;
public var A:LetterButton;
public var K:LetterButton;
public var W:LetterButton;
public var X:LetterButton;
public var R:LetterButton;
public var T:LetterButton;
public var U:LetterButton;
public var V:LetterButton;
public var G:LetterButton;
public var Y:LetterButton;
public var Z:LetterButton;
public var S:LetterButton;
public var N:LetterButton;
public var O:LetterButton;
private var :TextComponent;
public var Q:LetterButton;
public var M:LetterButton;
public var _score_text:TwinShotFont;
private var :MovieClip;
public var B:LetterButton;
public var P:LetterButton;
private var :TextComponent;
public var _name_text:TwinShotFont;
private var
:SubmitButton;
public var _submit_button:SubmitButton;
public var _clear_button:ClearButton;
private var :URLRequest;
private var :URLVariables;
public function ScoreSubmitPanel(){
if (!NitromeGame.isAtURL(NitromeGame.NITROME)){
gotoAndStop("off");
return;
};
= (getChildByName("_submit_button") as SubmitButton);
= (getChildByName("_name_text") as TextComponent);
= (getChildByName("_score_text") as TextComponent);
addEventListener(Event.ADDED_TO_STAGE, init);
}
public function addLetter(_arg1:String):void{
var _local2:String;
var _local3:String;
_local2 = .text;
if (_local2.length < MAX_LENGTH){
_arg1 = _arg1.toUpperCase();
_local3 = (_local2 + _arg1);
.text = _local3;
.enable();
};
}
private function (_arg1:IOErrorEvent):void{
trace(("Submit score failed: " + _arg1.text));
trace();
NitromeGame.timeline.gotoAndStop("view_scores");
}
public function clearName():void{
.disable();
.text = "";
}
private function keyPressed(_arg1:KeyboardEvent):void{
var _local2:int;
_local2 = _arg1.charCode;
if ((((((_local2 >= 65)) && ((_local2 <= 90)))) || ((((_local2 >= 97)) && ((_local2 <= 122)))))){
addLetter(String.fromCharCode(_local2));
};
if ((((_arg1.keyCode == Keyboard.BACKSPACE)) || ((_arg1.keyCode == Keyboard.DELETE)))){
clearName();
};
}
private function (_arg1:Event):void{
trace("Score submitted");
NitromeGame.timeline.gotoAndStop("view_scores");
}
private function init(_arg1:Event):void{
.text = ("YOUR SCORE IS " + Score.value);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
_arg1.target.removeEventListener(Event.ADDED_TO_STAGE, init);
}
public function submitScore():void{
var _local1:String;
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
_local1 = .text;
if (_local1 != ""){
= new URLLoader();
= new URLVariables();
= new URLRequest(NitromeGame.SUBMIT_URL);
.method = URLRequestMethod.POST;
.data = ;
.addEventListener(Event.COMPLETE, );
.addEventListener(IOErrorEvent.IO_ERROR, );
.data_string = NitromeGame.getScoreData(Score.value, _local1);
.time_based = "0";
.data = ;
.load();
} else {
NitromeGame.timeline.gotoAndStop("view_scores");
};
}
}
}//package com.nitrome.highscore
Section 43
//SubmitButton (com.nitrome.highscore.SubmitButton)
package com.nitrome.highscore {
import flash.events.*;
import com.nitrome.game.*;
public class SubmitButton extends SimpleButton {
private var
:Boolean;// = false
private var :Boolean;// = true
private var :ScoreSubmitPanel;
public function SubmitButton(){
= false;
= true;
super();
gotoAndStop("_up");
= (parent as ScoreSubmitPanel);
}
public function enable():void{
= false;
useHandCursor = true;
buttonMode = true;
updateGraphic();
}
override protected function updateGraphic():void{
if (((!(over)) || ())){
gotoAndStop("_up");
} else {
gotoAndStop("_over");
};
}
public function disable():void{
= true;
useHandCursor = false;
buttonMode = false;
updateGraphic();
}
override public function onClick(_arg1:MouseEvent):void{
if (){
gotoAndStop("_up");
} else {
if (!
){
.submitScore();
= true;
};
};
}
}
}//package com.nitrome.highscore
Section 44
//ActiveObject (com.nitrome.twinshot.ActiveObject)
package com.nitrome.twinshot {
import flash.display.*;
import flash.geom.*;
public class ActiveObject extends MovieClip {
public var cloneVertical:Boolean;// = true
public var destroyed:Boolean;// = false
public var classConstructor:Class;
public var isClone:Boolean;// = false
public var :Boolean;// = true
public var :Array;
public function ActiveObject(){
destroyed = false;
= [];
isClone = false;
= true;
cloneVertical = true;
super();
classConstructor = this["constructor"];
}
public function destroy():void{
removeClones();
if (parent){
parent.removeChild(this);
};
destroyed = true;
}
public function unpause():void{
}
public function removeUnnecessaryClones():void{
var _local1:Rectangle;
var _local2:Number;
var _local3:ActiveObject;
_local1 = new Rectangle(0, 0, Controller.level.pixelWidth, Controller.level.pixelHeight);
_local2 = (.length - 1);
while (_local2 >= 0) {
_local3 = [_local2];
if (!_local3.getBounds(Controller.content).intersects(_local1)){
if (_local3.parent){
_local3.parent.removeChild(_local3);
};
.splice(_local2, 1);
};
_local2--;
};
}
public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
}
public function removeClones():void{
var _local1:ActiveObject;
while (.length > 0) {
_local1 = .shift();
if (((_local1) && (_local1.parent))){
_local1.parent.removeChild(_local1);
};
};
}
public function advance():void{
}
public function addClones():void{
var _local1:Boolean;
var _local2:Boolean;
var _local3:Number;
var _local4:Number;
var _local5:Rectangle;
var _local6:Number;
var _local7:Boolean;
var _local8:Boolean;
var _local9:Class;
var _local10:ActiveObject;
removeClones();
if (!parent){
return;
};
_local1 = false;
_local2 = false;
_local3 = 0;
_local4 = 0;
_local5 = new Rectangle((x - 64), (y - 64), 128, 128);
if (){
if (_local5.left < 0){
_local1 = true;
_local3 = (Controller.level.gridWidth * 24);
} else {
if (_local5.right > (Controller.level.gridWidth * 24)){
_local1 = true;
_local3 = (-(Controller.level.gridWidth) * 24);
};
};
};
if (cloneVertical){
if (_local5.top < 8){
_local2 = true;
_local4 = (Controller.level.gridHeight * 24);
} else {
if (_local5.bottom > ((Controller.level.gridHeight * 24) - 8)){
_local2 = true;
_local4 = (-(Controller.level.gridHeight) * 24);
};
};
};
_local6 = 1;
while (_local6 <= 3) {
_local7 = (((_local6 == 1)) || ((_local6 == 3)));
_local8 = (((_local6 == 2)) || ((_local6 == 3)));
if (!((((_local1) && (_local7))) || (((_local2) && (_local8))))){
} else {
_local9 = classConstructor;
_local10 = new (_local9);
_local10.x = (x + (_local7) ? _local3 : 0);
_local10.y = (y + (_local8) ? _local4 : 0);
_local10.scaleX = scaleX;
_local10.scaleY = scaleY;
_local10.rotation = rotation;
_local10.visible = visible;
_local10.filters = filters;
_local10.transform.colorTransform = transform.colorTransform;
_local10.gotoAndStop(currentFrame);
_local10.isClone = true;
parent.addChild(_local10);
.push(_local10);
};
_local6++;
};
}
public function pause():void{
}
}
}//package com.nitrome.twinshot
Section 45
//Arrow (com.nitrome.twinshot.Arrow)
package com.nitrome.twinshot {
import flash.display.*;
import com.nitrome.util.*;
public class Arrow extends MotiveObject {
public var eaten:Boolean;// = false
public var spinning:Boolean;// = false
public var playerSource:Number;
public var inner:MovieClip;
public var :Number;// = 0
public var flying:Boolean;// = true
public var
:Tile;// = null
public var inWall:Boolean;// = false
public var pointingRight:Boolean;
public var :ActiveObject;// = null
public var :Number;// = 0
public var lifetime:Number;// = 100
public static const SPEED:Number = 20;
public function Arrow(){
flying = true;
inWall = false;
spinning = false;
= 0;
lifetime = 100;
= null;
= null;
= 0;
eaten = false;
super();
}
override public function advance():void{
if (spinning){
rotation = (rotation + (pointingRight) ? -32 : 32);
velocityX = (pointingRight) ? -6 : 6;
velocityY = (velocityY + 1);
x = (x + velocityX);
y = (y + velocityY);
return;
} else {
if (!inWall){
velocityX = (velocityX * 0.99);
velocityX = Global.slide(velocityX, 0, 0.1);
velocityY = (velocityY * 0.95);
inner.rotation = ((Math.abs(velocityX) * velocityY) * 0.1);
velocityY = (velocityY + (3 - Math.abs((0.15 * velocityX))));
} else {
if (){
y = (.y + );
if (( is Platform)){
if (!( as Platform).canDetectSides){
inWall = false;
};
};
};
if (
){
if (!
.solid){
inWall = false;
};
};
inner.rotation = (inner.rotation * -0.4);
};
};
verticalMotion();
horizontalMotion();
wrap();
if (((flying) && (!((velocityX == 0))))){
lifetime = 150;
} else {
lifetime--;
if (lifetime < 30){
visible = ((Controller.frameNumber % 3) < 2);
};
if (lifetime < 1){
destroy();
};
};
}
public function pingOff():void{
flying = false;
spinning = true;
velocityY = -10;
cloneVertical = false;
NitromeGame.sound_manager.playSound("arrowHitMetal");
}
override protected function horizontalMotion():void{
var _local1:Number;
var _local2:Raycast;
var _local3:Tile;
var _local4:ActiveObject;
var _local5:Collectible;
var _local6:Number;
var _local7:Number;
var _local8:MotiveObject;
_local1 = (x + velocityX);
_local3 = null;
_local4 = null;
if (velocityX > 0){
_local2 = Raycast.fatRaycastX((x + extentToRight), 1, (y - 1), (y + 1), false);
if (((_local2) && ((_local2.distance < velocityX)))){
if (_local2.hitTile){
_local1 = ((_local2.hitTile.tileX * 24) - extentToRight);
};
if ((_local2.hitObject is Platform)){
_local1 = ((_local2.hitObject as Platform).getLeftX() - extentToRight);
};
_local3 = _local2.hitTile;
_local4 = _local2.hitObject;
};
} else {
if (velocityX < 0){
_local2 = Raycast.fatRaycastX((x - extentToLeft), -1, (y - 1), (y + 1), false);
if (((_local2) && ((_local2.distance < -(velocityX))))){
if (_local2.hitTile){
_local1 = (((_local2.hitTile.tileX * 24) + 24) + extentToLeft);
};
if ((_local2.hitObject is Platform)){
_local1 = ((_local2.hitObject as Platform).getRightX() + extentToLeft);
};
_local3 = _local2.hitTile;
_local4 = _local2.hitObject;
};
};
};
if (((_local3) || (_local4))){
velocityX = 0;
velocityY = 0;
flying = false;
inWall = true;
= _local3;
= _local4;
if (_local4){
= Math.floor((y - .y));
};
if (((_local3) && (_local3.gemTile))){
_local5 = Collectible.randomTypeSpecial();
if (pointingRight){
_local5.createAndRegister(_local3.x, (_local3.y + 12), -4, 0);
} else {
_local5.createAndRegister((_local3.x + 24), (_local3.y + 12), 4, 0);
};
_local3.gemTile = false;
};
NitromeGame.sound_manager.playSound("arrowHitWall");
};
if (((((flying) && (!((velocityX == 0))))) && (!(eaten)))){
_local6 = (pointingRight) ? extentToRight : -(extentToLeft);
_local7 = 0;
while (_local7 < Controller.level.objectList.length) {
_local8 = (Controller.level.objectList[_local7] as MotiveObject);
if (!_local8){
} else {
if ((((_local8 is Player)) && (!((_local8 as Player).alive)))){
} else {
if ((((_local8 is Enemy)) && (!((_local8 as Enemy).alive)))){
} else {
if (((_local8.pointWithin(((x + velocityX) + _local6), y)) && ((y < ((_local8.y + _local8.extentBelow) - 3))))){
if (_local8.hitByArrow(this)){
if (pointingRight){
x = ((_local8.x - _local8.extentToLeft) - extentToRight);
};
velocityX = 0;
velocityY = 0;
flying = false;
};
};
};
};
};
_local7++;
};
};
x = _local1;
}
public function createAndRegister(_arg1:Player):void{
extentToLeft = 24;
extentToRight = 24;
extentAbove = 1;
extentBelow = 1;
x = (_arg1.x + (_arg1.facingRight) ? -(extentToRight) : extentToLeft);
y = (_arg1.y - 16);
velocityX = (_arg1.facingRight) ? SPEED : -(SPEED);
velocityY = 0;
pointingRight = _arg1.facingRight;
scaleX = (_arg1.facingRight) ? 1 : -1;
floorBounceFactor = 0.2;
weight = 0;
landsOnArrows = false;
playerSource = _arg1.number;
horizontalMotion();
Controller.arrowLayer.addChild(this);
Controller.level.objectList.push(this);
}
override public function destroy():void{
super.destroy();
Global.removeFromList(this, Controller.level.objectList);
}
}
}//package com.nitrome.twinshot
Section 46
//Background (com.nitrome.twinshot.Background)
package com.nitrome.twinshot {
import flash.display.*;
import flash.events.*;
import com.nitrome.util.*;
public class Background extends MovieClip {
public var :Number;// = 0
public var :Number;// = -200
public var :Number;// = 0
public var nearClouds:MovieClip;
public var :Number;// = 0
public var farClouds:MovieClip;
public function Background(){
= 0;
= 0;
= 0;
= -200;
super();
addEventListener(Event.ENTER_FRAME, enterFrame, false, 0, true);
}
public function enterFrame(_arg1:Event):void{
if (((Controller.root) && ((Controller.root.currentLabel == "game")))){
return;
};
= ( + 5);
( , );
}
public function (_arg1:Number, _arg2:Number):void{
_arg1 = (_arg1 + );
farClouds.x = Global.negativeModulo((Math.floor((-( ) / 2)) - Math.floor((_arg1 / 5))), 500);
farClouds.y = (-3 - Math.floor(((_arg2 - 200) / 20)));
nearClouds.x = Global.negativeModulo((-( ) - Math.floor((_arg1 / 2.5))), 880);
nearClouds.y = (270 - Math.floor((_arg2 / 10)));
}
public function advance():void{
++;
(-(Controller.content.x), -(Controller.content.y));
}
}
}//package com.nitrome.twinshot
Section 47
//Bat (com.nitrome.twinshot.Bat)
package com.nitrome.twinshot {
public class Bat extends Enemy {
public const FLYING_SPEED:Number = 2;
public const FLYING_FORWARD:Number = 5;
public function Bat(){
addFrameScript(8, frame9);
}
function frame9(){
gotoAndPlay("walking");
}
override protected function decideNext():void{
var _local1:Raycast;
_local1 = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, (y - extentAbove), (y + extentBelow));
if (((_local1) && ((_local1.distance < 2)))){
facingRight = !(facingRight);
};
state = FLYING_FORWARD;
}
protected function
():void{
velocityX = (facingRight) ? FLYING_SPEED : -(FLYING_SPEED);
velocityY = 0;
horizontalMotion();
verticalMotion();
decideNext();
}
override public function advance():void{
if (alive){
switch (state){
case FLYING_FORWARD:
();
break;
};
};
super.advance();
}
override protected function doDeath():void{
super.doDeath();
rotation = (rotation + (facingRight) ? -10 : 10);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
canJump = false;
weight = 0;
extentAbove = 36;
}
override public function kill(_arg1:Arrow):void{
super.kill(_arg1);
y = (y - 17);
}
}
}//package com.nitrome.twinshot
Section 48
//Behemoth (com.nitrome.twinshot.Behemoth)
package com.nitrome.twinshot {
public class Behemoth extends Enemy {
public const GRAB:Number = 11;
public const HOLDING:Number = 12;
public const THROWING:Number = 13;
public var
:Boolean;// = false
public var flickering:Number;// = 0
public var
:BlackMan;// = null
public var hits:Number;// = 3
public function Behemoth(){
= null;
= false;
hits = 3;
flickering = 0;
super();
addFrameScript(32, frame33, 47, frame48, 51, frame52, 68, frame69, 83,
, 87, frame88, 96, );
}
public function ():void{
if (
){
.visible = false;
= true;
};
}
override protected function doWalkingForward():void{
var _local1:BlackMan;
var _local2:Number;
_local1 =
();
if (_local1){
_local2 = (_local1.x - (x + (facingRight) ? 20 : -20));
if (Math.abs(_local2) < 5){
state = GRAB;
gotoAndPlay("grab");
= _local1;
_local1.state = _local1.BEING_CARRIED;
return;
};
};
super.doWalkingForward();
}
override protected function decideNext():void{
if (
){
if (
()){
state = THROWING;
gotoAndPlay("throw");
} else {
state = HOLDING;
if (currentLabel != "standingHolding"){
gotoAndPlay("standingHolding");
};
};
return;
};
super.decideNext();
}
override public function advance():void{
if (alive){
if (state == HOLDING){
();
};
} else {
rotation = (rotation + (facingRight) ? -5 : 5);
};
super.advance();
}
function frame33(){
gotoAndPlay("walking");
}
function frame48(){
();
}
function frame52(){
decideNext();
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (flickering > 0){
return (false);
};
hits--;
if (hits > 0){
flickering = 40;
NitromeGame.sound_manager.playSound("enemyHit");
return (true);
};
return (super.hitByArrow(_arg1));
}
function frame69(){
gotoAndPlay("standingHolding");
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 20;
extentToRight = 20;
extentAbove = 56;
canJump = false;
walkSpeed = 1.5;
}
public function
():Boolean{
var _local1:Number;
var _local2:Player;
_local1 = 0;
while (_local1 < Controller.level.playerList.length) {
_local2 = Controller.level.playerList[_local1];
if (_local2.y < (y - 64)){
} else {
return (true);
};
_local1++;
};
return (false);
}
function
(){
();
}
function frame88(){
decideNext();
}
function (){
gotoAndStop("dead");
}
override public function kill(_arg1:Arrow):void{
if (alive){
y = (y - 30);
};
super.kill(_arg1);
if (
){
if (
){
.kill(_arg1);
.visible = true;
} else {
.state = WALKING_FORWARD;
};
};
}
override protected function animation():void{
super.animation();
if (flickering > 0){
flickering--;
visible = ((Controller.frameNumber % 3) < 2);
} else {
visible = true;
};
}
public function
():BlackMan{
var _local1:Number;
var _local2:BlackMan;
var _local3:Number;
var _local4:BlackMan;
var _local5:Number;
if (!onGround){
return (null);
};
_local1 = Infinity;
_local2 = null;
_local3 = 0;
while (_local3 < Controller.level.objectList.length) {
_local4 = (Controller.level.objectList[_local3] as BlackMan);
if (!_local4){
} else {
if (!_local4.onGround){
} else {
if (_local4.state == _local4.BEING_CARRIED){
} else {
if (_local4.state == _local4.BEING_THROWN){
} else {
if (surfaceIndexUnderneath != _local4.surfaceIndexUnderneath){
} else {
_local5 = Math.abs((x - _local4.x));
if (_local5 < _local1){
_local1 = _local5;
_local2 = _local4;
};
};
};
};
};
};
_local3++;
};
return (_local2);
}
protected function
():void{
decideNext();
}
public function
():void{
if (
){
.x = (x + (facingRight) ? 10 : -10);
.y = (y - 20);
.velocityX = (facingRight) ? 13 : -13;
.velocityY = -3;
.facingRight = facingRight;
.visible = true;
.state =
.BEING_THROWN;
= false;
};
}
}
}//package com.nitrome.twinshot
Section 49
//BlackMan (com.nitrome.twinshot.BlackMan)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class BlackMan extends Enemy {
public const BEING_CARRIED:Number = 13;
public const BEING_THROWN:Number = 15;
public var
:Number;// = 0
public function BlackMan(){
= 0;
super();
addFrameScript(16, frame17, 22, frame23, 32, frame33, 37, frame38);
}
protected function
():void{
floorBounceFactor = 0.9;
wallBounceFactor = 1;
horizontalMotion();
verticalMotion();
wrap();
if (velocityX != 0){
facingRight = (velocityX > 0);
};
if (onGround){
velocityX = Global.slide(velocityX, 0, 2);
if (Math.abs(velocityX) < 1){
floorBounceFactor = 0;
decideNext();
++;
};
} else {
= 0;
};
}
function frame23(){
gotoAndPlay("jumping");
}
function frame17(){
gotoAndPlay("walking");
}
override public function advance():void{
if (alive){
switch (state){
case BEING_THROWN:
();
break;
};
} else {
rotation = (rotation + (facingRight) ? 10 : -10);
};
super.advance();
}
function frame33(){
gotoAndStop("dead");
}
function frame38(){
gotoAndPlay("beingThrown");
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (state == BEING_CARRIED){
return (false);
};
return (super.hitByArrow(_arg1));
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentAbove = 24;
tendencyToLeap = -0.1;
tendencyToTurnBackAnytime = -0.5;
tendencyToTurnBackAtEdges = 0.2;
}
override public function kill(_arg1:Arrow):void{
if (alive){
y = (y - 14);
createCorpse(x, y, this);
};
super.kill(_arg1);
}
override public function isHarmful():Boolean{
return (!((state == BEING_CARRIED)));
}
override protected function animation():void{
if (((alive) && ((state == BEING_THROWN)))){
if (currentLabel != "beingThrown"){
gotoAndPlay("beingThrown");
};
};
super.animation();
}
public function createInPlaceAndRegister(_arg1:King):void{
create(0, 0, "");
x = _arg1.x;
y = ((_arg1.y - _arg1.extentBelow) + extentBelow);
facingRight = _arg1.facingRight;
velocityX = (facingRight) ? walkSpeed : -(walkSpeed);
scaleX = (facingRight) ? 1 : -1;
Controller.level.objectList.push(this);
}
public static function createCorpse(_arg1:Number, _arg2:Number, _arg3:Enemy):BlackManCorpse{
var _local4:BlackManCorpse;
_local4 = new BlackManCorpse();
_local4.create(Controller.enemyLayer, _arg1, _arg2);
_local4.velocityX = ((Math.random() - 0.5) * 5);
_local4.velocityY = -8;
_local4.accelerationY = _arg3.weight;
_local4.spin = 5;
_local4.scaleX = _arg3.scaleX;
return (_local4);
}
}
}//package com.nitrome.twinshot
Section 50
//BlackManCorpse (com.nitrome.twinshot.BlackManCorpse)
package com.nitrome.twinshot {
public dynamic class BlackManCorpse extends Debris {
public function BlackManCorpse(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package com.nitrome.twinshot
Section 51
//Blob (com.nitrome.twinshot.Blob)
package com.nitrome.twinshot {
public class Blob extends Enemy {
public var flickering:Number;// = 0
public var animationMoving:Boolean;// = false
public var areaBottom:Number;// = 0
public var hits:Number;
public var areaTop:Number;// = -44
public function Blob(){
animationMoving = false;
areaTop = -44;
areaBottom = 0;
flickering = 0;
super();
}
override protected function doWalkingForward():void{
var _local1:Number;
if (animationMoving){
super.doWalkingForward();
} else {
if (groundSpeedX != 0){
_local1 = velocityX;
velocityX = ((groundSpeedX)>0) ? (walkSpeed * 0.3) : (walkSpeed * -0.3);
horizontalMotion();
velocityX = _local1;
};
verticalMotion();
};
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (flickering > 0){
return (false);
};
if (_arg1.y < (y + areaTop)){
return (false);
};
if (_arg1.y > (y + areaBottom)){
return (false);
};
hits--;
if (hits > 0){
flickering = 40;
NitromeGame.sound_manager.playSound("enemyHit");
return (true);
};
return (super.hitByArrow(_arg1));
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 21;
extentToRight = 21;
extentAbove = 44;
canJump = false;
if ((this is BlobPlus)){
hits = 3;
walkSpeed = 3;
} else {
hits = 1;
walkSpeed = 2;
};
tendencyToFollowPlayers = 0;
tendencyToMoveUnpredictably = 0;
}
override public function kill(_arg1:Arrow):void{
super.kill(_arg1);
play();
}
override protected function animation():void{
super.animation();
if (flickering > 0){
flickering--;
visible = ((Controller.frameNumber % 3) < 2);
} else {
visible = true;
};
}
override public function debugDrawBoundaries():void{
super.debugDrawBoundaries();
graphics.lineStyle(1, 0xFF);
graphics.drawRect(-(extentToLeft), areaTop, (extentToLeft + extentToRight), (-(areaTop) + areaBottom));
}
public static function totalBlobs():Number{
var _local1:Number;
var _local2:Number;
_local1 = 0;
_local2 = 0;
while (_local2 < Controller.level.objectList.length) {
if ((Controller.level.objectList[_local2] is Blob)){
if ((Controller.level.objectList[_local2] as Blob).alive){
_local1++;
};
};
_local2++;
};
return (_local1);
}
}
}//package com.nitrome.twinshot
Section 52
//BlobNormal (com.nitrome.twinshot.BlobNormal)
package com.nitrome.twinshot {
public dynamic class BlobNormal extends Blob {
public function BlobNormal(){
addFrameScript(0, frame1, 4, frame5, 8, frame9, 10, frame11, 16, frame17, 18, frame19, 20, frame21, 34, frame35);
}
function frame11(){
areaTop = -44;
areaBottom = -12;
}
function frame19(){
animationMoving = false;
}
function frame1(){
animationMoving = false;
areaTop = -30;
areaBottom = 0;
}
function frame17(){
areaTop = -30;
areaBottom = 0;
}
function frame9(){
areaTop = -44;
areaBottom = 0;
}
function frame35(){
gotoAndPlay("dead");
}
function frame5(){
animationMoving = true;
}
function frame21(){
gotoAndPlay("walking");
}
}
}//package com.nitrome.twinshot
Section 53
//BlobPlus (com.nitrome.twinshot.BlobPlus)
package com.nitrome.twinshot {
public dynamic class BlobPlus extends Blob {
public function BlobPlus(){
addFrameScript(0, frame1, 4, frame5, 8, frame9, 10, frame11, 16, frame17, 18, frame19, 20, frame21, 34, frame35);
}
function frame11(){
areaTop = -44;
areaBottom = -12;
}
function frame19(){
animationMoving = false;
}
function frame1(){
animationMoving = false;
areaTop = -30;
areaBottom = 0;
}
function frame17(){
areaTop = -30;
areaBottom = 0;
}
function frame9(){
areaTop = -44;
areaBottom = 0;
}
function frame35(){
gotoAndPlay("dead");
}
function frame5(){
animationMoving = true;
}
function frame21(){
gotoAndPlay("walking");
}
}
}//package com.nitrome.twinshot
Section 54
//CeilingPlatform (com.nitrome.twinshot.CeilingPlatform)
package com.nitrome.twinshot {
public class CeilingPlatform extends Platform {
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solidOnTop = false;
solidUnderneath = true;
}
}
}//package com.nitrome.twinshot
Section 55
//Collectible (com.nitrome.twinshot.Collectible)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class Collectible extends MotiveObject {
public var worth:Number;// = 50
public var whiteIn:Number;// = 0
public var collected:Boolean;// = false
public var releaseTime:Number;// = 0
public var lifetime:Number;// = 150
public var :Boolean;// = true
public function Collectible(){
collected = false;
worth = 50;
lifetime = 150;
= true;
releaseTime = 0;
whiteIn = 0;
super();
extentToLeft = 8;
extentToRight = 8;
extentAbove = 8;
extentBelow = 8;
weight = 0.5;
}
public function doWhiteIn():void{
whiteIn = 1;
transform.colorTransform = Global.whiteOut((1 - whiteIn));
}
override public function advance():void{
velocityX = Global.slide(velocityX, groundSpeedX, 0.1);
super.advance();
wrap();
if (y > ((Controller.level.gridHeight + 2) * 24)){
destroy();
};
if (){
lifetime--;
if (lifetime < 30){
visible = ((Controller.frameNumber % 3) < 2);
};
if (lifetime < 1){
destroy();
};
};
if (releaseTime > 0){
releaseTime--;
};
if (whiteIn > 0){
whiteIn = (whiteIn - 0.1);
transform.colorTransform = Global.whiteOut((1 - whiteIn));
};
}
public function createAndRegisterFromEnemy(_arg1:Enemy):void{
x = _arg1.x;
y = (_arg1.y - (_arg1.extentAbove / 2));
velocityX = ((_arg1.velocityX)>0) ? 5 : -5;
velocityY = -5;
Controller.collectibleLayer.addChild(this);
Controller.level.objectList.push(this);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
x = ((_arg1 * 24) + 12);
y = ((_arg2 * 24) + 12);
= false;
Controller.collectibleLayer.addChild(this);
}
override public function unpause():void{
play();
}
public function createAndRegister(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
x = _arg1;
y = _arg2;
velocityX = _arg3;
velocityY = _arg4;
Controller.collectibleLayer.addChild(this);
Controller.level.objectList.push(this);
}
public function collect(_arg1:Player):void{
if (!collected){
collected = true;
if (_arg1){
_arg1.score = (_arg1.score + worth);
if ((this is Powerup)){
NitromeGame.sound_manager.playSound("powerupCollect");
} else {
if ((this is SilverCoin)){
NitromeGame.sound_manager.playSound("coin");
};
if ((this is GoldCoin)){
NitromeGame.sound_manager.playSound("coin2");
};
if ((this is Gem)){
NitromeGame.sound_manager.playSound("gem");
};
};
};
destroy();
};
}
override public function pause():void{
stop();
}
override public function destroy():void{
super.destroy();
Global.removeFromList(this, Controller.level.objectList);
}
public static function randomTypeCommon():Collectible{
var _local1:Number;
_local1 = Math.random();
if (_local1 >= 0.75){
return (new GoldCoin());
};
return (new SilverCoin());
}
public static function randomTypePowerup():Collectible{
var _local1:Number;
_local1 = Math.random();
if (_local1 >= 0.75){
return (new FlyPickup());
};
if (_local1 >= 0.5){
return (new InvincibilityPickup());
};
if (_local1 >= 0.25){
return (new SpeedPickup());
};
return (new HeartPickup());
}
public static function randomTypeSpecial():Collectible{
var _local1:Number;
_local1 = Math.random();
if (_local1 >= 0.9){
return (randomTypePowerup());
};
if (_local1 >= 0.72){
return (new Gem());
};
return (new GoldCoin());
}
public static function randomType():Collectible{
var _local1:Number;
_local1 = Math.random();
if (_local1 >= 0.93){
return (randomTypePowerup());
};
if (_local1 >= 0.89){
return (new Gem());
};
if (_local1 >= 0.7){
return (new GoldCoin());
};
return (new SilverCoin());
}
}
}//package com.nitrome.twinshot
Section 56
//Controller (com.nitrome.twinshot.Controller)
package com.nitrome.twinshot {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import com.nitrome.util.*;
import com.nitrome.game.*;
import flash.net.*;
public class Controller {
public static const SKIP_MENUS:Boolean = false;
public static const DEBUG:Boolean = false;
public static const ENCRYPTED_LEVELS:Boolean = true;
public static var level:Level = null;
public static var floatingScoreLayer:Sprite;
public static var signLayer:Sprite;
public static var frameNumber:Number = 0;
public static var platformLayer:Sprite;
public static var latestWinner:Number = 0;
public static var selectedLevel:Number = 1;
public static var panSpeed:Number = 4;
public static var popup:IngamePopup;
public static var background:Background;
public static var loadedLevelNumber:Number = -1;
public static var enemyLayer:Sprite;
public static var player1InvincibilityTime:Number = 0;
public static var levelPanningIn:Boolean = false;
public static var collectibleLayer:Sprite;
public static var player2Powerup:Number = Player.POWERUP_NONE;
public static var flyingP1:FlyingP1 = null;
public static var flyingP2:FlyingP2 = null;
public static var xml_done:Boolean = false;
public static var player1Wins:Number = 0;
public static var player2Wins:Number = 0;
public static var player2InvincibilityTime:Number = 0;
public static var tileLayer:Sprite;
public static var arrowLayer:Sprite;
public static var loadIndicator:LoadIndicator = null;
public static var levelToPanIn:Number = 0;
public static var chestLayer:Sprite;
public static var debugLayer:Sprite;
public static var loadedXML:XML = null;
public static var player1Powerup:Number = Player.POWERUP_NONE;
public static var levelPanningOut:Boolean = false;
public static var root:MovieClip;
public static var twoPlayerGame:Boolean = true;
public static var playerLayer:Sprite;
public static var content:Sprite;
public static var stage:Stage;
public static var xml_data:Array;
public static function isPaused():Boolean{
if (!popup){
return (false);
};
if (!popup.isOpen){
return (false);
};
if (popup. == "paused"){
return (true);
};
return (false);
}
public static function endGame():void{
if (!content){
return;
};
try {
endLevel();
} catch(e:Error) {
};
popup.destroy();
popup = null;
Key.terminate(stage);
stage.removeEventListener(Event.ENTER_FRAME, enterFrame);
content.removeChild(floatingScoreLayer);
floatingScoreLayer = null;
content.removeChild(arrowLayer);
arrowLayer = null;
content.removeChild(playerLayer);
playerLayer = null;
content.removeChild(enemyLayer);
enemyLayer = null;
content.removeChild(platformLayer);
platformLayer = null;
content.removeChild(tileLayer);
tileLayer = null;
content.removeChild(collectibleLayer);
collectibleLayer = null;
content.removeChild(chestLayer);
chestLayer = null;
content.removeChild(signLayer);
signLayer = null;
if (flyingP1){
if (flyingP1.parent){
flyingP1.parent.removeChild(flyingP1);
};
flyingP1 = null;
};
if (flyingP2){
if (flyingP2.parent){
flyingP2.parent.removeChild(flyingP2);
};
flyingP2 = null;
};
stage.quality = StageQuality.HIGH;
content = null;
root = null;
stage = null;
}
protected static function advancePanOut():void{
flyingP1.advance();
if (((flyingP2) && (twoPlayerGame))){
flyingP2.advance();
};
if (panSpeed < 12){
panSpeed = (panSpeed + 0.5);
};
Controller.content.x = (Controller.content.x - ((panSpeed * panSpeed) / 15));
Controller.content.y = (Controller.content.y + panSpeed);
if (Controller.content.y > 500){
level.destroy();
level = null;
levelPanningOut = false;
levelPanningIn = true;
startLevel(levelToPanIn);
};
if (level){
level.();
};
background.advance();
}
protected static function setupFlyingChars():void{
if (!flyingP1){
flyingP1 = new FlyingP1();
};
if (((((level) && (level.player1))) && (level.player1.alive))){
flyingP1.x = (level.player1.x + Controller.content.x);
flyingP1.y = (level.player1.y + Controller.content.y);
flyingP1.filters = level.player1.filters;
flyingP1.transform.colorTransform = level.player1.transform.colorTransform;
} else {
if (((level) && (level.player1))){
flyingP1.();
flyingP1.filters = [];
flyingP1.transform.colorTransform = new ColorTransform();
};
};
flyingP1.visible = true;
if (!flyingP1.parent){
Controller.root.flyingPlayerHolder.addChild(flyingP1);
};
if (twoPlayerGame){
if (!flyingP2){
flyingP2 = new FlyingP2();
};
if (((((level) && (level.player2))) && (level.player2.alive))){
flyingP2.x = (level.player2.x + Controller.content.x);
flyingP2.y = (level.player2.y + Controller.content.y);
flyingP2.filters = level.player2.filters;
flyingP2.transform.colorTransform = level.player2.transform.colorTransform;
} else {
if (((level) && (level.player2))){
flyingP2.();
flyingP2.filters = [];
flyingP2.transform.colorTransform = new ColorTransform();
};
};
flyingP2.visible = true;
if (!flyingP2.parent){
Controller.root.flyingPlayerHolder.addChild(flyingP2);
};
};
}
public static function loadXmlData(){
if (xml_done == false){
xml_data = new Array();
xml_data["0a87b77392c367e07e0f37b6b8bee8da.xml"] = "<level w=\"22\" h=\"21\"><a>-:199,ef,-:18,ef,-:99,et,-:78,p2,-:18,p1,-:45</a><t>a,-:75,sp1:2,-:20,bl4,bl6,-:20,bl7,bl4,-:18,sp1:2,bl4,bl7,sp1:2,-:16,bl,bl4,bl5,bl7,bl4,bl,-:16,bl7,-:4,bl4,-:15,bl6,-:6,bl4,-:14,bl4,-:6,bl7,-:13,bl,-:8,bl,-:11,sp1,bl7,-:8,bl7,sp1,-:10,bl6,bl4,-:8,bl4,bl6,-:10,bl,bl6,-:8,bl7,bl,-:10,bl7,bl4,wl8,wl4,wl9,cx:2,wl10,wl8,wl4,bl4,bl7,-:10,bl,-:10,bl4,-:10,bl4,-:10,bl7,-:7,bl7,sp1:2,bl7,-:10,bl4,sp1:2,bl7,-:2,bl,bl7,bl,bl7,bl,bl4,-:10,bl7,bl4,bl7,bl,bl6,bl5,-:21,a</t></level>";
xml_data["3e2e3492ef085faca95a68dd25cc37a6.xml"] = "<level w=\"22\" h=\"21\"><a>-:71,p2,-:9,p1,-:52,ef,-:4,ef,-:4,ef,-:4,ef,-:143,ef,-:4,ef,-:33,ef,-:14,ef,-:114</a><t>a,-:65,ns2,-:9,ns1,-:9,ns5,-,wl9,-:4,wl7,-:4,wl10,-:4,wl8,-:4,wl7,-,wl4,-:4,wl4,-:4,wl,-:4,wl4,-:4,wl4,-,wl8,-:3,ns5,wl4,-:4,wl4,-:3,ns7,wl4,-:4,wl8,-,wl,-:3,wl4:2,wl7,-:3,wl4,-:3,wl9,wl4,wl7,-:3,wl4,-,wl4,-:4,wl4,-:4,wl8,-:4,wl4,-:4,wl8,-,wl4,-:4,wl4,-:4,wl4,-:4,wl8,-:4,wl4,-,wl8,-:4,wl8,-:4,wl4,-:4,wl4,-:4,wl,-,wl4,-:4,wl4,-:4,wl8,-:4,wl4,-:4,wl4,-,wl4,-:4,wl4,-:4,wl4,-:4,wl,-:4,wl8,-,wl7,-:4,wl7,-:4,wl4,ns1,-:3,wl4,-:4,wl4,-,wl4,-:4,wl4,-:3,wl9,wl4:2,-:3,wl4,-:4,wl4,-,wl,ns1,-:3,wl8,-:4,wl4,-:4,wl,-:3,ns4,wl8,-,wl,wl4,-:3,wl4,-:4,wl8,-:4,wl8,-:3,wl9,wl4,-,wl8,-:4,wl4,-:4,wl4,-:4,wl,-:4,wl8,-,wl,-:4,wl8,-:4,wl4,-:4,wl4,-:4,wl4,-,wl4,-:4,wl4,-:4,wl8,-:4,wl4,-:4,wl,-,wl4,-:4,wl4,-:4,wl4,-:4,wl4,-:4,wl4,a</t></level>";
xml_data["4a61c11fbc88a62af14e4d40b37c9d1b.xml"] = "<level w=\"22\" h=\"17\"><a>-:135,p2,-,p1,-:70,pr3,-:123,ebe,ebm:2,-:11,ebm,-,ebe,-,ebm,-:23</a><t>bl4,bl,bl7,bl,bl2,bl,wl4,wl9,wl,wl4,wl,wl7,wl4,wl,wl4,bl,bl7,bl,bl2,bl4,bl,bl3,bl4,-:5,wl12,-:7,wl5,-:6,bl:2,-:5,cl3,-:7,cl1,-:6,bl8,bl6,-:13,cl3,-:6,bl,bl2,-:20,bl,bl8,-:20,bl7,bl,-:10,ns5,-:9,bl4,bl,bl4,bl5,bl7,bl5,bl4,bl6,bl4,bl5,wl,wl4,wl8,bl4,bl5,bl7,bl4:2,bl5,bl4,bl6,bl5,bl2,bl7,-:20,bl:2,-:20,bl:2,-:20,bl,bl8,-:20,bl:2,-:20,bl8,bl5,-:20,bl,bl4,-:20,bl,bl7,-:5,ns7,-:2,ns2,-,ns1,-:2,ns3,-:6,bl4,bl,bl4,bl3,bl,bl4,sx2,wl4:2,wl7,wl4,wl,wl4,wl8,wl,wl7,sx2,bl4,bl,bl8,bl:3</t></level>";
xml_data["4cb6ccda3e7c7fdffbcf923a48269fe5.xml"] = "<level w=\"23\" h=\"18\"><a>-:78,ek,-:2,ek,-:47,ef,-:112,ehgp,-:35,ef,-:98,p2,-:2,p1,-:33</a><t>wl,wl4,wl,wl4,cx:3,wl4,wl,wl4,wl,wl4,wl,wl4,wl,cx:3,wl,wl4,wl,wl4,wl,wl4,-:3,cx:3,-:8,cx:3,-:4,wl4,wl7,-:3,cx:3,-:8,cx:3,-:4,wl8,wl4,-:3,cx:3,-:8,cx:3,-:4,wl4,cx:69,wl,-:3,cx:3,-:8,cx:3,-:4,wl4:2,-:3,cx:3,-:8,cx:3,-:4,wl,wl8,-:3,cx:3,-:8,cx:3,-:4,wl4:2,-:3,cx:3,-:8,cx:3,-:4,wl8,cx:69,wl4,-:3,cx:3,-:8,cx:3,-:4,wl:2,-:3,cx:3,-:8,cx:3,-:4,wl4,wl10,ns5,ns6,-,cx:3,ns1,-,ns7,-,ns4,ns6,ns3,ns5,cx:3,ns6,ns1,-:2,wl:2,wl4,wl8,wl4,cx:3,wl8,wl4,wl7,wl10,wl7,wl4,wl,wl10,cx:3,wl4,wl7,wl4,wl7,wl4</t></level>";
xml_data["6b7b9ebd5eb1a4f70bed944ce2b05491.xml"] = "<level w=\"22\" h=\"25\"><a>-:53,p2,-:2,p1,-:60,pfa,-:27,pfb,-:24,ef,-:37,pfa,-:36,pfb,-:15,pfa,-:10,ef,-:28,pfb,-:37,pfb,-:28,ef,-:40,pfa,-:12,pfb,-:34,pfb,-:65,eb,-:26</a><t>bl,bl2,bl6,bl5,bl4,bl3,bl4,bl,bl4,bl6,bl2,bl4,bl,bl2,bl,bl5,bl2,bl4,bl2,bl8,bl4,bl,wl5,-:20,wl12,cl1,-:20,cl1,cl4,-:8,wl10,-:2,wl4,-:8,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl4,cl1,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1,cl4,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl1:2,-:20,cl4,cl1,-:20,cl1:2,-:20,cl1,cl5,-:20,cl5,wl7,sx2,sx,sx2:2,sx,sp1:3,sx,sx2:2,sx,sp1:3,sx2,sx,sx2,sx,sx2,wl8</t></level>";
xml_data["7c7e4cdad388aced3d4b0e0c312205f1.xml"] = "<level w=\"23\" h=\"17\"><a>-:71,eb,-:4,p2,-:7,p1,-:4,eb,-:188,ehg,-:17,ehg,-:94</a><t>a,-:45,wl11,-:21,wl11,cl5,-:3,ns7,ns1,-:3,ns2,-:6,ns5,ns6,ns1,-:3,cl2,wl,wl4,wl,wl10,wl:2,wl4,wl10,wl,wl4,cx:3,wl,wl4,wl10,wl4,wl:2,wl10,wl4,wl:3,-:8,wl4,-:3,wl4,-:8,wl,wl10,-:8,wl10,-:3,wl4,-:8,wl10,wl4,-:8,wl4,-:3,wl4,-:8,wl:2,-:8,wl8,-:3,wl10,-:8,wl4,wl,-:8,wl4,-:3,wl4,-:8,wl10,wl8,-:8,wl10,-:3,wl4,-:8,wl8,wl,-:8,wl4,-:3,wl8,-:8,wl,wl10,-:3,ns4,ns2,-:2,ns7,wl,-:3,wl,ns1,-:3,ns3,-:3,wl:2,cx:2,wl:2,wl4,wl,wl8,wl:2,cx:3,wl:5,wl8,wl,cx:2,wl:2,-:6,wl12,-:7,wl5,-:6,wl8:2,ns7,-,ns1,-:3,cl5,ns1,-:6,cl2,-:3,ns7,ns4,-,wl,bl6,bl,bl7,bl,bl8,cx:2,wl8,wl:2,cx:3,wl:3,cx:2,bl6,bl,bl8,bl,bl5</t></level>";
xml_data["7d1646bfa576040cc7330d4382e06f84.xml"] = "<level w=\"23\" h=\"19\"><a>-:145,pc:2,-:6,pc:2,-:127,ebm,-,ebm:2,-:3,ebm,-,ebm:2,-:13,psha,-:8,psha,-:77,p2,-:17,p1,-:4,pr3,-:17,pr3,-:2</a><t>bl6,-:3,bl6,bl5,bl3,bl4,bl5,bl4:2,bl5,bl4,bl6,bl5,bl3,bl4,bl7:2,-:3,bl4:2,-:21,bl4,bl,-:21,bl5,bl7,-:21,bl:2,-:21,bl6,bl7,-:21,bl6,bl,-:3,bl,-:5,bl4,sw,bl4,-:5,bl,-:3,bl,bl5,-:3,bl,-:6,bl5,-:6,bl5,-:3,bl5,bl3,-:3,bl5,-:6,bl4,-:6,bl,-:3,bl,bl6,-:3,bl,-:6,bl7,-:6,bl3,-:3,bl3,bl7,-:3,bl5,-:6,bl,-:6,bl,-:3,bl:2,-:3,bl,-:6,bl5,-:6,bl5,-:3,bl5,bl,-:3,bl4,-:6,bl8,-:6,bl3,-:3,bl8:2,-:3,bl8,-:4,cx:2,bl,cx:2,-:4,bl4,-:3,bl:2,-:21,bl5,bl6,-:21,bl,bl7,-:21,bl4:2,-:21,bl4:2,-:3,bl,bl8,bl5,bl7,bl5,bl3,bl:2,bl7,bl5,bl7,bl,bl3,bl5,bl,-:3,bl5</t></level>";
xml_data["8eeba3279733aa308fafc53661a8182d.xml"] = "<level w=\"24\" h=\"23\"><a>-:128,ebm,-:6,eb,-:67,ef,-:166,p2,-:2,p1,-:137,eb,-:8,eb,-:31</a><t>a,-:47,bl8,bl5,bl,wl8,wl2,wl4:2,wl8,wl4,wl2,-:4,wl2,wl4:2,wl8,wl4:2,wl7,bl6,bl,bl8,bl4,-:22,bl4,bl,-:22,bl5:2,-:2,ns2,-,ns3,ns10,-:3,ns3,-:2,ns5,-,ns7,-:3,ns1,-:3,bl:2,-:2,wl10,wl4,wl8,wl4,wl2,wl4,wl9,wl4,wl9,wl4,wl7,wl4,wl8,wl4,wl2,wl4,wl2,wl7,-:2,bl7,bl5,-:2,wl12,-:16,wl5,-:2,bl7,bl,-:2,cl3,-:16,cl3,-:2,bl,bl6,-:22,bl8,bl7,-:22,bl3,bl4,-:5,wl6,-:10,wl11,-:5,bl5,bl4,-:3,ns1,ns6,cl5,-:10,cl2,ns4,ns1,-:3,bl4,bl7,-:2,ns5,wl8,wl4:2,-:10,wl4:2,wl8,ns12,-:2,bl7,bl4,-:2,wl4:2,wl,wl3,wl7,-:8,wl9,wl,wl4:2,wl7,-:2,bl4:2,-:4,wl4:2,wl8,wl4,ns3,-,ns3,ns7,-,ns1,wl,wl4,wl8,wl4,-:4,bl5,bl7,-:5,wl,wl4:2,wl9,wl4,wl9,wl4,wl8,wl4,wl2,wl3,wl4,-:5,bl4:2,ns5,-:6,wl,wl4,wl3,wl4:2,wl3,wl4:2,-:5,ns16,ns7,bl5,bl4,bl5,bl7,-:8,wl12,wl5,-:8,bl5,bl4:2,-,bl4:2,-:8,cl1,cl4,-:8,bl4,bl8,-:3,bl5,cx:2,-:6,cl1:2,-:6,cx:2,bl4,-:5,cx:2,-:6,cl2,cl5,ns15,ns2,-:4,cx:2,-:7,cx:5,wl3:6,cx:5,-,a,-:2</t></level>";
xml_data["9a1fc10d547049710797932e5f422c28.xml"] = "<level w=\"29\" h=\"18\"><a>-:148,ebm,-:2,ebm,-:6,ebm,-,ebm,-:6,ebm,-:11,psha,-:8,psha,-:8,psha,-:221,p2,-,p1,-:9,ebe,-:38,ebe,-:13,ebe,-:37</a><t>bl2,bl5,bl2,bl8,bl6,bl7,bl2,bl,bl2:3,bl5,bl7,bl,bl8,bl4,bl2:2,bl6,bl,bl5,bl2,bl8,bl2:3,bl6,bl5,bl:2,-,bl4,-:4,bl,-:3,bl4,-:4,bl,-:3,bl,-:4,bl,-:2,bl2,bl,-,bl3,-:4,bl2,-:3,bl,-:4,bl2,-:3,bl,-:4,bl2,-:2,bl8,bl5,-,bl4,-:4,bl,-:3,bl6,-:4,bl5,-:3,bl2,-:4,bl,-:2,bl2,bl,-,bl4,-:4,bl5,-:3,bl4,-:4,bl,-:3,bl5,-:4,bl7,-:2,bl7,bl2,-,bl2,-:4,bl7,-:3,bl2,-:4,bl4,-:3,bl7,-:4,bl2,-:2,bl2,bl7,-,bl,-:4,bl,-:3,bl,-:4,bl8,-:3,bl3,-:4,bl4,-:2,bl5,bl6,-:27,bl6,bl,-:27,bl4,bl2,-:27,bl,bl8,-:27,bl2,bl,-:27,bl4,bl2,-:27,bl5:2,-:27,bl2,bl,-:27,bl8,bl2,bl,bl5,sw,bl2,-:6,bl6,sw,bl,bl2,bl5,bl8,-:6,bl6,bl5,sw,bl,bl2:2,-:4,bl2,-:6,bl4,-:4,bl,-:6,bl,-:9,bl:2,bl2,bl5,sw,bl6,bl8,bl3,-:4,bl,bl5,sw,bl,bl2,bl8,bl2:2,-:5</t></level>";
xml_data["15a60016395aa173ff7af7512ca00b8f.xml"] = "<level w=\"24\" h=\"17\"><a>-:148,eb,-:86,ef,-:30,sign,-:55,p2,-,p1,-:3,eb,-:79</a><t>a,-:47,wl11,-:23,cl1,-:23,cl1,-:23,cl4,-:23,cl5,ns4,ns6,-:2,ns7,ns15,ns5,-:15,wl6,wl7,wl10,wl9,wl2,wl4,wl9,wl10,wl7,wl,wl4,-:13,cl1,wl12,-:8,wl5,-:13,cl1:2,-:8,cl3,-:4,ns5,-:8,cl1,cl4,-:13,wl9,-:8,cl1:2,-:13,wl7,-:8,cl1:2,-:13,wl2,-:8,cl1:2,-:8,wl11,-,ns7,-,ns4,wl10,-,ns6,-,ns3,ns11,ns7,-:2,cl5:2,ns4,-,ns5,ns16,ns12,-:2,ns4,cl2,wl9,wl8,wl4,wl9,wl4:2,wl9,wl4,wl9,wl10,wl7,wl8,wl4,wl9,wl10,wl7,wl10,wl8,wl7,wl10,wl2,wl10,wl7,wl10,-:37,a</t><s x=\"2\" y=\"11\">Try shooting arrows into the walls - and then jumping up onto them!</s></level>";
xml_data["40a3afa271db47249fb1c1b0175f40e1.xml"] = "<level w=\"23\" h=\"21\"><a>-:15,sign,-:57,p2,-,p1,-:82,ehr,-:5,pc,-:57,ehr,-:27,pc,-:45,ehr,-:5,pc,-:44,ef,-:15,ef,-:92,ehr,-:14,pc,-:11</a><t>a,-:45,wl4:4,-:19,wl4,-:5,ns1,ns7,-:15,wl8,wl4:2,wl8,wl4,wl8,wl4:3,-:4,wl4:2,wl8,wl4:3,wl8,wl4:2,wl3,wl4,-:21,wl8,wl4,-:8,ns1,ns2,-:3,ns7,-:2,ns1,-,ns6,-:2,wl4:2,-:4,wl,wl8,wl,wl4,wl,wl8,wl4,wl,wl4,wl:2,wl4,wl,wl4,wl,wl8,wl,wl4,wl8,-:21,wl8,wl4,-,ns5,ns1,-,ns7,-:10,ns3,ns1,-:4,wl4,wl,wl10,wl:2,wl4,wl,wl3,wl,wl10,wl,wl4,wl,wl9,wl4,wl,wl3,wl4,wl,-:4,wl4,wl7,-:21,wl4:2,-:4,ns2,-:11,ns1,ns2,ns6,-:2,wl8,wl,-:4,wl:2,wl4,wl,wl9,wl,wl4,wl9,wl,wl4,wl7,wl:2,wl4:2,wl:2,wl4:2,-:21,wl4:2,-:7,ns5,ns1,ns3,-:11,wl4,wl8,wl4:2,wl10,wl4:2,wl7,wl4:3,wl8,wl4:2,wl10,wl4:2,wl9,wl4:2,wl10,wl4,wl8:2,wl4,-:21,wl4:2,-:21,wl8,wl7,-:2,ns2,-,ns4,-,ns2,-:6,ns3,-,ns6,ns3,-:3,ns3,wl4:4,wl7,wl4:2,wl9,wl4:2,-:4,wl4,wl9,wl4,wl8,wl4:2,wl8,wl4:3</t><s x=\"15\" y=\"0\">Watch out for these tricky blocks. They let you go down, but not up!</s></level>";
xml_data["044d100cfae9d71746c5a65f764c153a.xml"] = "<level w=\"23\" h=\"20\"><a>-:59,eb,-:91,eb,-:35,pfb,-:62,pfb,-:44,eb,-:6,pfa,-:3,pfa,-:40,sign,-:38,eb,-:30,p2,-,p1,-:40</a><t>wl4,wl,wl7,wl4:2,wl:2,wl4,wl8,wl3,wl8,wl4,wl8,wl4,wl,wl7,wl,wl3,wl:2,wl8,wl3,wl7,-:46,ns6,-:9,wl4,wl3:6,wl10,-:5,wl10,-:6,ns6,-:2,wl3,-:6,wl3,-:4,wl9,wl,-:5,wl4,wl9,wl4,wl3,wl10,-:6,wl3,-:4,wl,wl4,-:9,wl3,ns5,-,ns6,-,ns6,ns7,wl3,-:4,wl3,wl4,-:10,wl7,wl9,wl10,wl4,wl9,wl10,-:4,wl9,wl10,wl,-:12,wl3:2,-:7,wl3,wl4,-:7,ns5,ns15,ns4,ns7,-,wl3,wl,-:7,wl3:2,-:7,wl7,wl8,wl7,wl9,wl3,wl4,wl3,-:7,wl7,wl4,-:13,wl10,-:7,wl9,wl4,-:13,wl3,-:2,ns6,-:3,ns5,wl3,wl8,-:14,wl:2,wl9,wl4,wl,wl10,wl9,wl4,wl9,-:11,ns15,-:9,wl3,wl7,-:9,ns16,wl3,wl7,-:9,wl,wl4,-:8,ns4,wl3,-:2,wl3,ns2,-,ns3,ns5,ns6,-,ns5,ns4,wl3,wl4,-:8,wl7,-:3,wl4,wl7,wl,wl9,wl8,wl7,wl:2,wl7,wl4,wl,-:2,ns6,ns2,-:3,ns7,wl3,-:13,wl10,wl:2,wl9,wl,wl3,wl,wl3,wl9,wl10,-:13</t><s x=\"2\" y=\"15\">These platforms are only solid half the time. You'll need some good timing!</s></level>";
xml_data["65fad076b8ef5a54c32c3d2e49cf1762.xml"] = "<level w=\"24\" h=\"25\"><a>-:223,ef,-:3,ef,-:4,ef,-:326,p2,-:8,p1,-:31</a><t>-:4,a,-:206,wl5,-:8,wl12,-:14,cl1,-:8,cl1,-:14,cl1,-:8,cl1,-:9,wl11,-:4,cl1,-:8,cl1,-:9,cl4,-:4,cl1,-:8,cl1,-:4,wl5,-:4,cl1,-:4,cl4,-:8,cl1,-:4,cl1,-:4,cl1,-:4,cl4,-:8,cl4,-:4,cl4,-:4,cl1,-:4,cl3,-:8,cl1,-:4,cl1,-:4,cl4,-:13,cl3,-:4,cl1,-:4,cl1,-:4,wl11,-:13,cl1,-:4,cl1,-:4,cl1,-:8,wl11,-:4,cl1,-:4,cl1,-:4,cl4,-:8,cl1,-:4,cl3,-:4,cl1,-:4,cl1,-:8,cl1,-:9,cl1,-:4,cl1,-:8,cl4,-:4,wl11,-:4,cl4,-:4,cl1,-:4,ns6,ns4:3,cl5,ns6,ns7,ns2,ns7,cl2,ns2,-:2,ns7,cl5,ns3,ns7,ns2,ns6,cl5,ns4:3,ns5,wl4:24</t></level>";
xml_data["67e159ca70fa392119a7fde822b55bdc.xml"] = "<level w=\"23\" h=\"17\"><a>-:74,ehg,-:4,ehg,-,ehg,-:4,ehg,-:267,p2,-:2,p1,-:33</a><t>bl,wl4:2,wl:2,wl4:2,wl:2,wl4:2,wl:2,wl4:2,wl:2,wl4:2,wl:2,wl4,bl,bl2,-:21,bl,bl4,-:21,bl4,bl5,-:21,bl6,bl,sp1,wl4,-:2,wl4:2,wl2:2,wl4:2,wl2:2,wl4:2,wl2:2,wl4,-:2,wl10,sp1,bl,bl2,-:21,bl8:2,-:21,bl,bl5,-:2,wl10,wl,wl2,wl4:2,wl,wl2,wl4:2,wl2,wl,wl4:2,wl,wl2,wl4,wl10,-:2,bl4,bl2,-:21,bl5:2,ns5,-:9,ns6,-:10,bl7:2,wl8,wl,wl10,wl4,wl:2,wl4,-:2,wl,wl4:2,-:2,wl4:2,wl7,wl8,wl4:2,wl8,bl4,bl8,-:21,bl6,bl7,-:2,ns6,-:14,ns6,-:3,bl5,bl6,-:2,wl10,wl4,wl8,wl7,wl4:2,wl:2,wl4:2,wl,wl8,wl4,wl10,wl,wl8,wl4,-:2,bl8,bl5,-:21,bl6,bl8,ns7,ns4,ns6,ns3,-,ns6,-:13,ns3,ns5,bl5,bl7,wl7,wl8,wl10,wl4,wl7,wl8,wl10,wl4,wl7,wl8,wl4,wl10,wl7,wl8,wl4,wl10,wl,wl7,wl4,wl10,wl8,bl7</t></level>";
xml_data["80ea6564030d260b33cb5ed8ea3043f6.xml"] = "<level w=\"24\" h=\"18\"><a>-:128,ek,-,ek,-:4,ek,-:59,ef,-:16,ef,-:78,ef,-:16,ef,-:84,p2,-:3,p1,-:34</a><t>bl4,bl2,bl4,bl5,bl,bl2,bl5,bl4,bl7,bl2,bl5,bl4,bl2,bl4,bl5,bl2,bl4,bl5,bl2,bl7,bl2,bl5,bl2,bl4,bl5:2,-:20,bl4,bl,bl5,bl,-:20,bl7,bl5,-,bl,-:20,bl,-,ns12,bl4,-:20,bl4,ns13,bl7,bl2,-:3,bl3,ns6,ns10,ns9,ns2,-:2,ns11,ns3,ns6,-,ns15,ns16,bl,-:3,bl,bl8,bl4,bl5,-:3,bl4,bl6,bl8:2,bl7,bl6,bl8,bl7,bl8,bl6,bl5,bl8,bl7,bl2,-:3,bl,bl5,-,bl,-:20,bl7,-,ns11,bl4,-:20,bl8,ns10,bl8,bl5,-:20,bl4,bl7,bl4,bl7,-:20,bl8,bl2,-,bl4,-:20,bl,-,ns15,bl5,-:20,bl2,ns8,bl5,bl4,-:20,bl4,bl8,bl7,bl,-:20,bl2,bl,-,bl8,-:20,bl7,-,ns10,bl7,ns4,ns5:2,ns6,ns7,-:2,ns5,ns6,ns7,ns4,ns5,ns7,-,ns5,ns6,ns7,ns6,ns4:2,bl8,ns15,bl7,bl6,bl5,bl2,bl8,bl5:2,bl3,bl5:2,bl3,bl7,bl2,bl8,bl5,bl,bl2,bl8,bl2,bl5,bl8,bl7,bl5,bl7</t></level>";
xml_data["87fd26370e3ce6d62af7e663237e37cd.xml"] = "<level w=\"27\" h=\"21\"><a>-:120,p2,-,p1,-:13,ef,-:97,ef,-:203,eb,-:6,ek,-:5,eb,-:115</a><t>-,a,-:92,ns3,-:26,wl9,-:25,wl4,-,wl4,-:23,wl7,-:3,wl4,ns5,-:19,ns3,wl10,-:5,wl4,ns3,-:18,wl4,-:7,wl4,-:16,ns7,wl7,-:3,cx:3,-:3,wl10,-:14,ns10,wl4,-:3,cx,wl3:3,cx,-:3,wl4,ns4,-:11,ns1,wl10,-:3,cx,wl3:2,bl4,wl3:2,cx,-:3,wl4,-:11,wl4,-:5,cx,wl3:3,cx,-:5,wl10,ns3,-:7,ns4,wl4,-:7,cx:3,-:7,wl4,-:6,ns3,wl7,-:19,wl4,-:5,wl4,-:21,wl10,-:3,wl4,ns3,-,ns7,-,ns5,ns13,ns5,ns4,ns16,ns6,-,ns3,-:2,ns3,-,ns5,-,ns6,ns16,ns11,ns9,ns7,wl7,-:2,wl7,wl4,wl7,wl4:3,wl10,wl4:2,wl8,wl4:3,wl10,wl4:2,wl7,wl4:3,wl10,wl4,wl7,wl4:2,-:55,wl4,-:25,wl4</t></level>";
xml_data["92b9ac94f71c128628b8889123d0d65f.xml"] = "<level w=\"23\" h=\"17\"><a>-:11,pr3,-:22,pr3,-:12,eb,-:9,pr3,-:22,pr3,-:22,pr3,-:22,pr3,-:5,ef,-:16,pr3,-:10,esg,-:11,pr3,-:22,pr3,-:17,ef,-:4,pr3,-:12,esg,-:9,pr3,-:22,pr3,-:22,pr3,-:3,ef,-:18,pr3,-:22,pr3,-:18,p2,-:3,pr3,-:3,p1,-:18,pr3,-:11</a><t>-:25,bl7,-:17,bl6,-:25,cx:2,bl4,-:17,bl2,cx:2,-:25,bl,-:17,bl4,-:25,cx:2,bl5,-:17,bl8,cx:2,-:25,bl2,-:17,bl4,-:25,cx:2,bl6,-:17,bl,cx:2,-:25,bl4,-:17,bl2,-:48,wl,wl7,wl2,wl,wl8,wl7,wl2,wl8,wl,wl7,wl2,wl,wl2,wl,wl7,wl,wl8,wl:2,wl2,wl7,wl2:2</t></level>";
xml_data["278c6bba51950212bf075a525471d330.xml"] = "<level w=\"23\" h=\"16\"><a>-:224,p2,-:2,p1,-:52,ekp,-:87</a><t>a,-:7,cx:4,-:51,cx:4,-:54,cx:4,-:52,cx:3,-:26,wl3,-:23,cr:23,-:49,wl3:4,-:61,a</t></level>";
xml_data["515aebcf2b6e85b1fc3e6b6f4c9a9102.xml"] = "<level w=\"24\" h=\"22\"><a>-:265,p2,-:20,p1,-:103,ehg,-:10,ehg,-:41,et,-:84</a><t>a,-:104,bl5,bl4,cx:2,bl4:2,-:16,bl7,bl6,bl4,bl7,cx:2,bl7,bl4,bl5,bl4,-:13,bl4,bl5,bl4,bl7:2,cx:2,bl8,bl5,bl4,bl7,bl4,-:11,bl7,bl2,bl5,-:8,bl7,bl8,bl,-:9,bl,bl3,-:12,bl3,bl2,-:7,bl8,bl2,-:14,bl4,bl,-:6,bl,bl4,-:5,cx:4,-:5,bl4,bl7,-:5,bl2,bl5,-:5,cx:6,-:5,bl:2,ns2,-,bl4,bl,bl5,bl7,-:5,cx:6,-:5,bl5,bl6,bl7,bl4,-:2,bl2,bl,-:5,cx:6,-:5,bl2,bl,-:5,bl5,ns3,-:4,cx:6,-:5,bl5,-:6,bl7,bl6,-:5,cx:4,-:5,bl5,bl7,-:7,bl:2,-:12,bl:2,-:9,bl7,bl4,-:10,bl5,bl2,-:11,bl4,bl5,ns5,-:6,ns6,bl7,bl2,-:13,bl4,bl7,bl5,bl4:4,bl2,bl5,bl4,-:16,bl5:6,-:32,a</t></level>";
xml_data["576e98e310dc6db4c475a74df8423f26.xml"] = "<level w=\"27\" h=\"17\"><a>-:90,ek,-:5,ekp,-:234,et,-:85,p2,-,p1,-:39</a><t>bl,bl5,bl,bl6,bl,bl5,bl,bl7,bl6,bl,bl6,bl:2,bl5,bl4,bl7,bl,bl6,bl3,bl2,bl4,-:2,bl,-:2,bl4,bl2,-:22,bl2,-:2,bl,bl4,-:22,bl5,-:2,bl7,bl,-:7,ns2,-:2,ns2,-,ns7,-:3,ns3,-,ns2,ns5,ns11,ns4,bl2,-:2,bl,bl7,-:3,bl7,bl8,bl3,bl2,bl,bl5,bl6,bl4,bl2,bl8,bl,bl7,bl4,bl2,bl5,bl2,bl6,bl3,bl5,bl,-:2,bl5,bl4,-:9,bl,bl2,-:3,bl,bl2,-:3,bl,bl4,bl2,bl7,-:2,bl7,bl,ns4,-,ns16,-:7,bl4,-:2,bl4,-:7,bl:2,-:2,bl2,bl4,bl7,bl4,bl,bl4,bl7,bl,bl2,-:3,bl8,-,bl,-:4,ns1,-:4,bl4,-:14,bl:2,-:5,bl8,-:4,bl5,bl2,-:6,ns1,ns3,-:2,ns5,-,bl4:2,-:5,bl7,bl4,bl,-:3,bl2,bl,-:2,bl5,bl4,bl,bl2:2,bl5,bl4,bl2,bl6,bl5,bl,-:5,bl4,bl,bl2,-:4,bl,bl8,bl,bl8,-:15,bl8,bl3,bl7,-:3,ns3,bl6,-:7,ns7,-:6,ns5,ns12,ns2,ns4,bl5,bl4:2,-:4,bl2,-:4,ns7,bl,bl4,bl,bl5,bl3,bl5,bl,bl2,bl4,bl7,bl,bl4,bl8,bl2,bl,bl7,-:3,ns5,bl2,-:4,bl,bl6,-:19,bl5,bl4,-:3,bl4,-:9,ns1,ns5,ns10,ns7,-:7,bl,bl2,bl,-:2,bl7,-:3,bl,bl2,bl5,bl8,bl,bl4,bl5,bl2,bl8,bl,bl5,bl4,bl,bl8,bl2,bl,bl8,bl,bl8,bl,bl8,-:2,bl,-:2,bl</t></level>";
xml_data["2577eb81549ba3ee0098a24b371daa50.xml"] = "<level w=\"23\" h=\"17\"><a>-:112,ehr,-:49,ef,-:76,p2,-:3,p1,-:3,ef,-:104,ef,-:38</a><t>-,bl7,-:2,bl4,-:3,bl,-:5,bl2,-:3,bl,-:2,bl7,-:2,bl5,-:2,bl6,-:3,bl4,-:5,bl4,-:3,bl4,ns14,-,bl8,-:2,bl,bl4,bl8,bl,bl3,-:2,bl7,-:5,bl8,-:2,bl2,bl3,bl4,bl8,bl4,-:9,bl,-:5,bl6,-:8,ns7,-,ns4,ns5,-,ns6,-,ns5,bl2,-:5,bl3,-,ns5,ns6,-,ns7,ns5,ns4,ns5,wl9,wl8,wl9,wl4,wl8,wl4,wl8:2,bl5,-:5,bl,wl8,wl10,wl8,wl4,wl9,wl7,wl10,wl9,-:8,bl2,-:5,bl6,-:16,bl5,-:5,bl7,-:15,bl2,-:7,bl2,-:14,bl,-:7,bl5,-:13,ns10,bl5,-:7,bl4,ns3,-:12,bl7,bl4,bl,bl8,-:3,bl,bl5,bl2,bl8,-:12,bl,-:2,bl,-:3,bl5,-:2,bl4,-:11,ns3,bl5,-:2,bl2,-:3,bl2,-:2,bl6,ns12,-:6,ns5,-:3,bl5,-:11,bl2,-:3,ns7,-:2,bl7,-,ns6,ns5,bl4,-:11,bl,-,ns3,ns7,bl8,-:2,bl5,bl,bl8,bl2,bl5,-:11,bl5,bl8,bl4,bl8,bl,-</t></level>";
xml_data["3698f04e7dd294eda4113a23e4249371.xml"] = "<level w=\"23\" h=\"20\"><a>-:71,eb,-:17,eb,-:60,psha,-:12,ehg,-:17,ehg,-:60,pshb,-:11,esg,-:17,esg,-:84,psha,-:65,p2,-:4,p1,-:31</a><t>a,-:70,ns6,-:15,ns5,-:4,wl8,wl,wl10,wl,wl7,-:13,wl8,wl,wl4,wl2,wl7,-:47,ns7,-:21,wl4,wl,sw,wl,wl7,-:13,wl,wl10,sw,wl,wl8,-:67,ns7,-,wl7,wl4,sw,wl9,wl8,-:13,wl9,wl4,sw,wl4,wl8,-:69,cx:5,-:13,cx:5,-:30,ns4,ns7,-:5,ns5,ns4,-:7,bl:8,bl7,bl,bl4,sw,bl6,bl,bl5,bl:8</t></level>";
xml_data["4203bd6fc0a62248a24a8c79fb9ca2e1.xml"] = "<level w=\"23\" h=\"17\"><a>-:80,esg,-:61,ebp,-:13,ebp,-:53,ebp,-:15,ebp,-:53,eb,-:14,eb,-:56,p2,-:7,p1,-:30</a><t>-:9,bl,-:3,bl,-:9,bl:10,sp1:3,bl:11,-:21,bl:2,-:3,ns2,-,ns5,ns6,ns7,ns6,ns5,ns4,ns6,ns5,ns4,-,ns5,-:3,ns3,-,bl:2,wl4,wl3,wl,wl9,wl4,wl9,wl4,wl9,bl,bl8,bl7,bl2,bl5,wl9,wl,wl9,wl4,wl3,wl,wl9,wl4,bl:2,-:7,bl6,bl7,bl8,bl6,bl8,bl6,bl,-:7,bl:2,-:5,ns6,bl5:2,wl4,wl2,wl4,wl,wl4,bl8,bl2,ns5,-:5,bl:2,wl2,wl,wl2,wl,wl8,wl7,bl6,bl2,wl,bl2,bl,bl2,wl2,bl7,bl8,wl7,wl8,wl,wl2,wl,wl2,bl:2,-:6,bl7,bl6,wl4,bl4,bl5,bl4,wl4,bl2,bl5,-:6,bl:2,-:4,ns6,ns5,bl,bl5,wl2,bl8,bl2,bl6,wl,bl8,bl,ns7,-:5,bl:2,wl4:2,wl10,wl4:2,wl10,bl5,bl8,wl4,wl,wl4,wl2,wl4,bl5,bl6,wl10,wl4:5,bl:2,-:7,bl6,bl7,bl2,bl6,bl8,bl7,bl,-:7,bl:2,ns6,-:3,ns3,ns6,-,ns6,bl,bl8,bl,bl6,bl5,ns5,-,ns7,-:5,bl:2,wl9,wl4,wl3,wl,wl9,wl10,wl9,wl7,wl9,wl10,wl7,wl10,wl9,wl7,wl9,wl10,wl3,wl,wl9,wl4,wl3,bl:2,-:9,ns6,-,ns6,-:9,bl:2,-:2,ns7,-:5,wl9,wl7,wl10,wl8,wl3,-,ns4,-,ns6,-:4,bl:2,wl3,wl,wl9,wl4,wl3,wl,wl9,wl4,wl3,-:3,wl3,wl4,wl9,wl,wl9,wl4,wl3,wl,wl3,bl</t></level>";
xml_data["6610d8da0c3af4c9466dcbd3bf8cba96.xml"] = "<level w=\"24\" h=\"17\"><a>-:146,p2,-:2,sign,-:7,sign,-:7,p1,-:58,eb,-:2,eb,-:2,eb,-:177</a><t>a,-:47,wl12,-:22,wl11,cl1,-:22,cl1:2,-:22,cl1:2,-:22,cl1,cl5,ns5,ns2,ns6,-:16,ns7,-,ns2,cl2,wl4:2,wl10,wl4,-:16,wl9,wl4,wl8,wl4:2,-:22,wl4:2,ns4,-,ns7,ns4:2,ns7,ns4,ns5,ns1,ns7,ns3:2,ns5,ns7,ns4,ns5,ns4,ns7,ns1,ns5,ns4,-,wl10,wl8,wl4:2,wl8,wl9,wl4:2,wl8,wl4:2,wl8,wl4,wl9,wl4:3,wl8,wl4:5,wl7,wl4,-:8,wl12,-:6,wl12,-:16,cl3,-:6,cl1,-:23,cl1,-:23,cl3,-:54,a,-</t><s x=\"5\" y=\"6\">Player 1, move with the arrow keys, and press Space to fire!|Destroy all enemies!</s><s x=\"13\" y=\"6\">Player 2, move with the W A S D keys|and press the F key to fire!</s></level>";
xml_data["6774e88670def546cb6aa61120322bf9.xml"] = "<level w=\"23\" h=\"16\"><a>-:75,et,-:12,ehg,-:120,p2,-:2,p1,-:18,pr3,-:3,pr4,-:2,pr3,-:2,pr3,ehg,-,pr3,-:3,pr4,-:2,pr3,-:74,ehr,-:41</a><t>-,wl4,-:9,wl4,-:3,wl10,-:5,wl4,-,wl4,wl10,-:9,wl4,ns6,ns10,ns4,wl4,-:5,wl3,wl4,-:12,wl10,wl4,wl10,-:9,ns12,ns5,-:4,ns6,-,ns16,ns7,-:10,ns16,ns6,wl2,wl3,wl8,wl7,wl,wl3,wl4,wl8,wl9,wl2,wl,-:8,wl,wl3,wl,wl8,-:51,wl,wl3,wl,wl10,wl,wl9,wl4,wl,wl9,wl,wl3,wl10,-:84,wl9,wl4,wl9,wl4:3,-:21,ns6,ns1,-:20,wl4,wl10,wl4,-:9,ns10,ns12,-:2,ns6,ns4,ns5,ns2,ns6,ns7,wl9,-:3,wl4,-,ns6,-,ns1,ns3,-:2,wl4,wl9,wl4,wl,wl3,wl8,wl,wl7,wl4:2,wl10,wl4,-:3,wl9,wl4,wl10,wl9,wl4,wl7,wl10,wl3</t></level>";
xml_data["8639e5f3950412e93a37137a726a7c95.xml"] = "<level w=\"23\" h=\"22\"><a>-:154,ek,-:41,pc,-:66,p2,-:2,p1,-:36,eb,-:15,ebm,-:66,ehr,-:39,pc,-:51,ebp,-:27</a><t>a,-:21,a,-:69,cx:23,-:31,ns5,ns4,-:4,ns3,-:8,bl,bl4,bl5,bl,bl3,bl2,bl6,bl4,bl3,bl2,-:4,bl,bl4,bl5,bl3,bl2,bl,bl4,bl,bl3,-:9,bl5,-:4,bl4,-:31,wl3,wl2,wl3,wl7,wl3,wl,wl3,-:10,wl3,wl2,wl3,wl,wl3,wl2,-:6,wl2,-:3,ns6,ns7,ns6,-,ns5,-:2,wl7,-:11,wl3,cx:2,wl3,wl7,wl9,wl4,wl8,wl10,cx:2,wl3,-:11,wl,-:10,wl,-:5,wl3,wl2,wl3,wl,wl9,wl,wl3,-:2,cx:6,-:2,wl3,wl2,wl3,wl,wl9,wl,-:31,ns1,ns6,-:5,ns5,-:7,bl,bl5,bl6,bl,bl3,bl4,bl6,bl4,bl5,bl8,-:4,bl8,bl5,bl3,bl,bl4,bl:3,bl5,-:9,bl7,-:4,bl6,-:33,wl,-:17,wl2,-:2,cx:2,wl3,wl2,wl3,wl7,wl3,wl,wl9,wl,wl3,wl8,wl9,wl7,wl3,wl,wl9,wl,wl3,wl2,wl3,cx:2</t></level>";
xml_data["679295eb88d47cce55726c8581358cae.xml"] = "<level w=\"23\" h=\"17\"><a>-:79,eb,-:32,eb,-:5,pc,-:52,ebp,-:13,p1,p2,-:98,eb,-:105</a><t>bl8,bl2,bl7,bl,bl8,bl7,-:5,bl,bl7,bl8,bl4,bl6,bl,bl2,bl,bl5,bl2,bl,bl7,-:5,bl4,-:22,bl,-:11,ns6,-:10,bl3,-:11,bl8,-:5,ns3,-:4,bl4,bl8,bl3,bl2,bl7,bl4,bl5,-:5,ns7,ns1,-:4,bl5,-:4,bl,-:5,bl2,sx2,sx,sx2,sx,sx2,bl2,bl4,bl2,bl7,bl2,bl4,-:5,bl4,-:14,wl12,-,wl12,-:5,bl8,-:14,cl1,-,cl4,ns4,ns6,ns3,-:4,bl,bl4,bl5,bl3,bl,bl4,bl8,bl,bl4,bl,bl5,-:2,cl1,-,cl2,wl,wl4,wl7,-:4,wl7,-:9,bl,-:2,cl4,-,wl3,-:2,wl3,-:4,wl4,-:12,cl1,-:4,wl4,ns7,-:3,wl,-:7,bl4,-:4,cl5,-:2,wl10,wl7,wl,wl7,-:3,wl2,ns5,-:4,ns5,ns7,wl2,-:3,ns6,bl4,bl6,bl8,-:3,wl,-:3,bl,bl3,bl6,bl7,bl4,bl,bl5,bl8,bl,-:3,bl6,bl3,-:3,ns5,-,wl3,ns4,ns6,-:4,bl,-:12,wl,wl7,wl4,wl7,wl9,wl10,-:4,bl7,ns6,ns2,-,ns6,ns5,-:4,ns5,ns6,bl8,-:5,wl4,-:4,bl,bl8,bl4,bl,bl3,bl7,bl4,bl7,bl3,bl,bl8,bl,bl3</t></level>";
xml_data["5019258d55a3517e8185df8ac9e4a4f7.xml"] = "<level w=\"23\" h=\"21\"><a>-:98,et,-:10,et,-:55,ef,-:14,ef,-:99,ef,-:12,ef,-:106,p2,-:3,p1,-:78</a><t>bl7,bl4,bl,bl4,bl5,bl8,bl4,bl2,bl4,bl2,bl5,bl4,bl,bl5,bl6,bl4,bl,bl5,bl8,bl4,bl2,bl4,bl6,bl4,-:21,bl4,bl,-:21,bl,bl2,-:21,bl4,bl8,-,ns6,ns7,ns2,-,ns4,ns5,ns7,-:5,ns6,ns3,ns7,-,ns1,ns4,-:2,bl6,bl4,wl,wl9,wl7,wl8,wl10,wl7,wl10,wl9,wl,cx:3,wl,wl9,wl10,wl8,wl7,wl8,wl10,wl9,wl,bl,cx,-:21,cx:3,-:19,cx:4,-:19,cx:4,-:19,cx:5,-:17,cx:3,sx2:3,-:17,sx2:3,cx:3,-:17,cx:7,-:15,cx:8,-:15,cx:4,sx2:4,-:15,sx2:4,cx:6,-:11,cx:12,-:2,ns1,-,ns7,-,ns2,-,ns1,-:2,cx:12,-:2,bl4,bl6,bl,bl8,bl,bl7,bl5,-:2,cx:29,bl2,bl7,bl4,bl8,sx2:4,-:7,sx2:4,bl7,bl5,bl,bl7</t></level>";
xml_data["a4f6000a451bc1e4cb702b0e6a45167d.xml"] = "<level w=\"24\" h=\"23\"><a>-:60,ef,-:95,ef,-:95,ef,-:95,ef,-:37,p2,-:18,p1,-:38,ef,-:107</a><t>a,-:147,sp2,-:14,sp2,-:8,wl12,-:14,wl12,-:8,cl1,-:14,cl4,-:8,cl1,-:14,cl4,-:8,cl4,-:4,sp1,-:5,sp1,-:3,cl3,-:8,cl3,-:141,wl12,-:18,wl12,-:4,cl4,-:18,cl1,-:4,cl3,-:3,sp2,-:11,sp2,-:2,cl3,-:73,a</t></level>";
xml_data["a08864affb0006a6ee887fc15b1f45c6.xml"] = "<level w=\"24\" h=\"21\"><a>-:99,p2,-:7,ef,-:8,p1,-:174,ehg,-:8,ek,-:7,ehg,-:150,ehg,-:16,ehg,-:27</a><t>bl,bl7,bl5,bl4,bl7,bl,bl4,-:10,bl,bl5,bl4,bl,bl5,bl,bl4,bl,-:22,bl,bl4,-:22,bl,bl5,-:22,bl4:2,-:22,bl4,bl,cx:2,bl,-:16,bl,cx:2,bl,bl6,cx:2,bl7,bl4,-:14,bl,bl7,cx:2,bl4,bl7,-:3,bl,bl7,-:12,bl,bl4,-:3,bl,bl8,-:4,bl7,bl8,-:10,bl7,bl8,-:4,bl5,bl6,-:5,bl,bl8,-:8,bl:2,-:5,bl,bl4,-:6,bl7,bl,-:6,bl8,bl7,-:6,bl5,bl,-:22,bl4,bl8,-:22,bl:2,bl4,bl8,bl5,bl8,bl6,bl4,-:2,wl12,bl,bl8,bl7,bl,wl5,-:2,bl4,bl8,bl6,bl4,bl8,bl4,bl5,bl,-:5,wl12,-:2,cl3,-:4,cl1,-:2,wl5,-:5,bl,bl5,-:5,cl3,-:7,cl3,-:2,cl1,-:5,bl:2,-:16,cl3,-:5,bl8,bl4,-:22,bl4,bl,-:8,wl11,-:4,wl11,-:8,bl,bl7,-:8,cl5,-:4,cl5,-:8,bl8,bl7,bl8,bl7,bl,bl5,bl6,bl4,wl4,wl7,wl8,-:4,wl10,wl4,wl8,bl,bl4,bl,bl4,bl,bl4,bl</t></level>";
xml_data["ad13e71bed3991f0559d57fccc32a2bc.xml"] = "<level w=\"23\" h=\"22\"><a>-:122,ehr,-:4,ehr,-:109,pc,-:8,pc,-:126,ebe,-,ebm,-,ebm,-:3,ebm,-:2,ebm,-:77,p2,-:17,p1,-:25</a><t>wl4,-:21,wl4:2,-:21,wl4,wl8,-:21,wl7,wl4,-:21,wl4,wl3,-:21,wl,wl8,-:5,ns4,ns7,ns3,-,ns1,-:2,ns2,ns5,ns4,-:6,wl8,wl4,-:2,cx:3,wl4,wl8,wl4,wl,wl4,wl,wl4,wl9,wl4,wl8,cx:3,-:3,wl4:2,-:21,wl3,wl8,-:21,wl4:2,-:2,ns5,ns3,-:13,ns7,ns1,-:2,wl4,wl7,-:2,wl4,wl8,-:4,bl5,bl6,bl,bl4,bl8,-:4,wl4,wl8,-:2,wl7,wl4,-:2,bl4,-:15,bl7,-:2,wl,wl3,-:2,bl5,-:15,bl6,-:2,wl8,wl4,-:2,bl4,-:15,bl5,-:2,wl4,wl,-:2,bl4,-:15,bl7,-:2,wl4,wl7,-:2,bl4,-:15,bl4,-:2,wl7,wl4,-:2,bl7,-:15,bl5,-:2,wl,wl3,-:2,bl5,bl,bl4,bl,bl5,bl6,bl7,bl,bl4,bl7,bl,bl5,bl4,bl8,bl5,bl6:2,-:2,wl7,wl8,-:21,wl:2,-:21,wl8,wl4,ns5:2,ns4,ns7,ns4,ns5:2,ns4,ns7,ns4:2,ns6,ns5,ns4,ns5,ns4:2,ns6,ns5,ns4:2,wl,wl7,wl4,wl,wl9,wl2,wl,wl7,wl,wl9,wl2,wl4,wl7,wl4,wl2,wl,wl7,wl3,wl9,wl:2,wl4:2,wl7</t></level>";
xml_data["b0656e9c6b61011485462be949888c9b.xml"] = "<level w=\"24\" h=\"24\"><a>-:173,ehg,-:13,ehg,-:87,ehgp,-:88,p2,-:15,p1,-:86,ehgp,-:66,ehg,-:11,ehg,-:29</a><t>a,-:3,ns4:2,ns5,ns4,ns7,ns4,-:5,ns7,ns4:2,ns7,ns5,ns4,-:7,wl10,wl8,wl4,wl9,wl4,wl10,-:5,wl10,wl4,wl7,wl9,wl8,wl7,-:6,wl2,-:6,wl4,-:3,wl8,-:6,wl4,-:5,wl8,-:5,ns5,wl8,-:3,wl4,ns7,-:5,wl2,-:5,wl4,-:4,ns5,wl4:2,cx:3,wl4:2,ns1,-:4,wl8,-:5,wl8,-:4,wl9,-:7,wl4,-:4,wl4,-:5,wl4,-:4,wl4,-:7,wl8,-:4,wl,-:4,ns5,wl8,ns3,-:3,wl2,-:7,wl4,-:4,wl10,ns2,-:2,ns3,wl4:3,cx:3,wl4,-:7,wl2,cx:3,wl4,wl,wl4,ns7,-,wl4,-:6,wl10,-:7,wl8,-:6,wl9,-,wl8,-:6,wl4,-:7,wl4,-:6,wl4,-,wl4,-:6,wl8,ns1,-:4,ns6:2,wl8,-:6,wl8,-,wl9,-:6,ns3,wl4,wl8,cx:3,wl4,wl8,ns3,-:6,wl4,-,wl4,-:6,wl4,-:7,wl9,-:6,wl9,-,wl8,-:6,wl4,-:7,wl,-:6,wl8,-,wl4,ns5,ns3,-:4,wl10,-:7,wl,-:4,ns5,ns1,wl4,-:2,wl4,wl7,wl4,cx:3,wl4,-:7,wl4,cx:3,wl4:3,-:4,wl4,-:4,wl,-:7,wl4,-:4,wl4,-:5,wl,-:4,wl4,-:7,wl,-:4,wl4,-:5,wl4,-:4,wl4,ns7,ns6,-:3,ns3,ns1,wl4,-:4,wl,-:5,wl2,-:5,wl7,wl4,cx:3,wl4,wl10,-:5,wl,-:5,wl7,-:6,wl,-:3,wl,-:6,wl4,-:5,wl,ns3,ns4,-,ns1,ns5,ns4,wl4,-:3,wl4,ns3,ns1,ns4,-,ns2,ns7,wl4,-:6,wl8,wl2,wl4,wl8,wl4,wl9,-:5,wl4,wl9,wl4,wl7,wl4,wl8,-:3</t></level>";
xml_data["c021d4d7e6d00f1910ab74d4c41fa019.xml"] = "<level w=\"23\" h=\"17\"><a>-:86,ef,-:38,ef,-:37,ef,-:105,ef,-:12,ef,-:51,p2,-,p1,-:54</a><t>a,-:367,sp1:3,sp2:2,sp1:5,sp2:2,sp1:5,sp2:2,sp1:4</t></level>";
xml_data["c335ed78b9479e3cb8a310987455970e.xml"] = "<level w=\"24\" h=\"19\"><a>-:77,p2,-:12,p1,-:8,pc,-:17,pc,-:58,ek,-:88,ef,-:78,ekp,-:111</a><t>-:2,a,-:55,bl5,bl2,bl8,bl7,-:10,ns5,-:22,ns4,wl9,-:4,wl9,-:12,wl4,-:4,wl9,wl4,-:4,wl4,-:12,wl4,-:4,wl4:2,-,ns5,-:2,wl2,-:12,wl10,-:4,wl4:2,wl10,wl4,-:2,wl4,-:12,wl4,-:2,wl4:3,-,wl4,-:3,wl8,wl4,wl8,wl4,wl10,wl8,wl4,wl9,wl4,wl8,wl4,wl10,wl9,wl4,-:3,wl4,-,wl4:2,-:3,wl12,-:12,wl5,-:3,wl4:2,-:5,cl4,-:12,cl4,-:10,cl1,-:12,cl1,-:10,cl1,-:12,cl1,-:10,cl1,-:12,cl4,-:5,wl4:2,-:3,cl2,-:12,cl5,-:3,wl4:2,-,wl4,-:3,wl4,wl,wl8,wl4,wl,wl10,wl,wl4,wl10,wl,wl4:2,wl2,wl4,-:3,wl4,-:2,wl4,-:2,wl9,wl4,-:12,wl4:2,-:2,wl8,-:2,wl8,-:3,wl10,-:12,wl8,-:3,wl4,-:2,wl4,-:3,wl4,-:4,wl7,wl4,wl9,wl8,-:4,wl4,-:3,wl7,-</t></level>";
xml_data["caac6231a9f4ef423c88c229517b428d.xml"] = "<level w=\"29\" h=\"19\"><a>-:125,p2,-,p1,-:5,ek,-:76,ehr,-:35,pfa,-:24,pfb,-:7,pfb,-:20,pfb,-:7,pfb,-:24,pfa,-:8,eb,-:123,eb,-:46,ehr,-:37</a><t>-:6,bl2,bl,bl5,bl2,bl7,bl,bl4,bl2:2,bl,bl2,bl5,bl4,bl8,bl,bl4,bl,bl2,-:10,bl,-:18,bl,-:9,bl4,-:18,bl4,-:9,bl,-:18,bl,-:8,bl,-:17,ns6,-,bl5,-:7,bl4,-:5,bl2,bl,bl4,-:4,bl4,bl8,bl7,bl4,bl,bl5,bl7,-:2,bl8,bl4,bl,-:4,bl2,-:7,bl5,-:4,bl,-:11,bl4,-:3,bl,ns6,-:6,bl,-:4,bl2,-:11,bl8,-,bl,bl2,bl7,bl8,bl4,bl2,bl,bl2,bl,bl2,bl4,-:4,bl4,-:11,bl4,bl,-:27,bl4:2,-:27,bl,bl5,-:8,bl,bl4,bl5,-:4,bl,bl4,bl,bl8,bl4,bl5,-:3,ns16,ns4,ns6,bl2,bl4,-:9,bl2,-:11,bl,bl4,bl,bl8,bl4,bl5,-,bl7,-:8,ns5,bl,-:13,bl4,-:4,bl,-:6,bl5,bl2,bl7,bl2,-:13,bl,-:4,bl4,-:5,bl,-:4,bl5,cr:4,bl8,-:7,bl2,-:4,bl7,ns4,-:4,bl4,-:9,bl4,-:7,bl4,-:5,bl8,bl4,bl7,bl,bl8,-:10,bl,ns7,ns2,-:5,bl,-:21,bl5,bl7,bl,bl2,bl8,bl4,bl,-:5</t></level>";
xml_data["cf18b05ea8c192b7e93a47a715878aaf.xml"] = "<level w=\"26\" h=\"22\"><a>-:108,ebm,-:169,ebe,-:4,ebm,-:4,ebm,-:53,ebm,-,ebe,-:38,p2,-:2,p1,-:185</a><t>bl,bl2,bl8,bl4,bl,bl8,bl4,bl5,bl4,bl,bl4,bl7,bl2,bl,bl4,bl,bl8,bl2,bl5,bl2,bl7,bl4,bl2,bl,bl4,bl2,bl5,-:24,bl,bl2,-:24,bl2,bl7,-:24,bl5,bl8,-:4,ns7,ns5,-,ns3,-:16,bl2,bl5,-:2,wl4,wl3,wl8,wl7,wl3,wl10,-:2,cx:2,-:12,bl7,bl,-:5,wl3,-:18,bl2:2,-:24,bl4,bl2,-:24,bl2,bl,-:8,cx:4,-:12,bl:2,-:16,ns5,ns3,-:2,ns6,-,ns6,-,bl7,bl5,ns5,-:14,wl4,wl9,wl8,wl3,wl2,wl9,wl,wl9,wl4,bl2,bl,wl9,wl4,-:22,bl5,bl2,-:3,ns3,ns6,ns7,-:18,bl,bl8,-:2,wl4,wl3,wl7,wl8,wl3,wl4,-:4,cx:3,-:9,bl2,bl4,-:18,wl2,wl10,-,wl10,wl8,-,bl4,bl2,-:24,bl2:2,-:24,bl4,bl7,-:15,cx:2,-:7,bl4,bl5,-:24,bl5,bl4,-:24,bl7,bl,sp1:4,sp2:2,sp1:3,sp2:6,sp1:3,sp2:2,sp1:4,bl2</t></level>";
xml_data["cf9151a7a723cf0b9251139015b4e571.xml"] = "<level w=\"26\" h=\"19\"><a>-:67,ebp,-:66,et,-:14,et,-:66,ebm,-:10,ebm,-:78,et,-:62,et,-:6,ebm,-:77,p2,-,p1,-:37</a><t>bl4,bl2,bl6,bl4,bl2,bl4,bl5,bl8,bl,bl2,bl,bl4,bl7,bl5,bl,bl2,bl4,bl6,bl4,bl3,bl4,bl8,bl4,bl2,bl,bl2,bl,-:24,bl2:2,ns5,ns4,ns1,ns3,-:20,bl8,bl2,wl9,wl10,wl7,wl9,wl4,wl3,-:5,wl2,wl4,wl2,wl3,wl2,wl4,wl3,wl,wl2,wl4,wl3,-:2,bl4:2,-:11,wl5,-:12,bl,bl2,-:11,cl4,-:4,ns7,-:2,ns4,ns5,ns3,-,ns7,bl2,bl4,wl3,wl4,wl2,wl3,wl2,wl9,wl3,wl,-:3,cl1,-,wl3,wl2,wl9,wl8,wl3,wl7,wl9,wl10,wl,wl3,wl9,bl4,bl5,-:11,cl1,-,wl12,-:10,bl2:2,-:2,ns3,-,ns5,ns2,ns4,-,ns3,-:2,cl1,-,cl1,-:10,bl5,bl4,wl3,wl2,wl3,wl9,wl10,wl8,wl7,wl8,wl9,wl3,-,cl1,-,cl4,-,wl4,wl,wl9,wl2,wl3,wl,wl4,wl2,wl,bl,bl2,-:11,cl1,-,cl1,-:10,bl4:2,-:11,cl5,-,cl1,-:4,ns7,ns3,ns6,ns1,ns3,-,bl2,bl7,wl3,wl10,wl4,wl2,wl4,wl9,wl4,wl2,wl3,wl4,wl3,wl4,-,cl1,-:3,wl3,wl9,wl7,wl10,wl7,wl9,wl8,bl8:2,-:13,cl4,-:10,bl,bl6,-:6,ns1,ns5,ns7,-:4,cl5,-:10,bl2,bl4,-:2,wl2,wl3,wl9,wl10,wl7,wl8,wl10,wl9,wl2,wl3,wl4,wl,-:5,wl,wl3,wl2,wl9,wl,bl4,bl2,-:24,bl5,bl2,-,ns5,ns4,-,ns7,-,ns1,ns6,-:8,ns5,-:2,ns2,-,ns6,-:2,bl:2,bl2,bl4,bl5,bl4,bl6,bl2,bl7,bl2,bl6,bl2:2,bl,bl2,bl7,bl4,bl5,bl6,bl4,bl3,bl8,bl2,bl7,bl,bl4,bl</t></level>";
xml_data["d7b0a309633ab54fd4904fe45ce96ff5.xml"] = "<level w=\"23\" h=\"17\"><a>-:85,ef,-:35,ef,-:4,ek,-:43,pc,-:4,pc,-:10,pfa,-:18,pfb,-:32,pfb,-:6,pfa,-:55,pfa,-:4,pfb,-:8,pfb,-:4,pfa,-:26,p2,-,p1,-:41</a><t>wl2,wl,wl4:2,wl8,wl,wl4,wl10,wl,wl2,wl4:2,wl7,wl2,wl4:2,wl:2,wl10,wl4,wl,wl2,wl4,-:101,ns6,ns3,ns5,ns6,ns7,-:18,wl8,wl10,wl8,wl10,wl8,-:20,bl,-:172,ns7,ns5:2,ns4,ns7,ns2,ns5,ns4,ns7,ns6,ns7,ns5,ns7,ns4,ns5,ns3,ns7,ns6,ns5,ns4,ns5,ns7,ns6,wl9,wl7,wl10,wl9,wl7,wl8,wl7,wl3,wl9,wl10,wl7,wl9:2,wl7,wl8,wl9,wl10,wl9,wl8,wl9,wl10,wl9,wl7</t></level>";
xml_data["d84d866978da1e42e46a4788e867b7cd.xml"] = "<level w=\"24\" h=\"24\"><a>-:105,eb,-:4,eb,-:114,eb,-:4,eb,-:35,p2,-:18,p1,-:59,eb,-:4,eb,-:114,eb,-:4,eb,-:105</a><t>a,-:127,sx2,sx:2,-:2,sx:3,-:112,sx2:3,-:2,sx2:3,-:9,ns2,ns7,-:18,ns3,ns5,-,ns5,wl10,wl7,-:18,wl9,wl4,ns4,wl8,wl4,wl12,-:18,wl5,wl8,wl2,-:2,cl1,-:18,cl3,-:4,cl1,-:5,sx2:3,-:2,sx2:3,-:10,cl1,-:23,cl3,-:77,sx2:3,-:2,sx2:3,-:63,cx:10,-:7</t></level>";
xml_data["d1078bd7d0f341ddc336dc7ba89e4a03.xml"] = "<level w=\"25\" h=\"16\"><a>-:79,eb,-:15,eb,-:134,eb,-:13,eb,-:14,sign,-:43,p2,-:17,p1,-:15,ebp,-:62</a><t>bl8,bl2,bl4,bl6,bl4,bl8,bl6,bl4,bl6,bl4,bl8,bl5,bl7,bl6,bl2,bl8,bl5,bl4,bl6,bl4,bl5,bl4,bl7,bl6,bl5,-:53,ns6,-:2,ns3,ns2,ns5,ns3,-:5,ns3,ns4,-,ns1,-:2,ns7,-:6,bl7,bl,bl5,bl2,bl3,wl4,wl8,-:5,wl4,wl10,bl6,bl7,bl,bl6,bl,-:13,sx2:5,-:13,ns1,ns2,-:3,ns3,-:7,ns1,ns7,-:2,ns3,-:5,bl5,bl,bl7,bl5,-:2,wl8,wl4,-,ns3,ns1,-:4,wl4,wl8,-:2,bl6,bl7,bl,bl6,-:10,wl8,wl9,wl4:2,wl9,wl8,wl4,-:36,bl4,bl,bl4,bl6,wl4,wl8,-:9,wl4:2,bl,bl6,bl8,bl6,-:10,sx2,-:6,sx2:2,-:9,ns2,-:3,ns6,ns3,-:11,ns6,ns2,-:3,ns4,ns1,wl10,wl8,wl4:2,wl9,wl4,wl8,ns4,ns1,-:2,ns2,-:3,ns3,ns7,ns5,wl4,wl10,wl4,wl10,wl4,wl7,wl2,-:7,wl4,wl10,wl4,wl8,wl4,wl10,wl4,wl8,wl4:2,wl8,-:31,a</t><s x=\"9\" y=\"10\">This blue rock is different. You can't jump up through it. Go round it instead!</s></level>";
xml_data["d64320b483de261e64fb3b8e62d18dbe.xml"] = "<level w=\"23\" h=\"17\"><a>-:37,ef,-:58,sign,-:11,eb,-:172,p2,-,p1,-:11,eb,-:95</a><t>wl3,-:10,wl,-:10,wl,wl4,-:10,wl10,-:10,wl4,wl2,-:21,wl3,wl,wl10,wl2,-:18,ns14,wl8,-:21,wl7,wl4,-:11,wl,wl4,wl3,wl10,wl,wl3,wl4,wl3,-:30,ns4,-:2,ns7,ns11,ns6,-:17,wl7,wl10,wl2,wl9,wl4,wl9,wl4,wl3,wl7,-:3,ns7,-,ns8,ns4,-:15,wl5,-:3,wl9,sp1,wl4,wl7,-:15,cl1,-:22,cl4,-:11,ns4,ns8,-,ns5,ns2,ns6,-:5,cl5,-:6,ns6,-,ns1,ns4,-,wl8,wl9,wl,wl10,wl7,wl9,wl4,wl2,-:3,wl2,-:6,wl7,sp1,wl3,wl10,wl,wl3,-:21,wl3,wl4,-:21,wl4,wl10,-:21,wl</t><s x=\"4\" y=\"4\">Try jumping down off the bottom of the screen! Or walking off the sides...</s></level>";
xml_data["d061487766ba464ce6661c4c99449f13.xml"] = "<level w=\"25\" h=\"21\"><a>-:51,p2,-:18,p1,-:16,pc,-:5,pc,-:59,ebe,-:103,ef,-:6,ef,-:190,eb,-:5,eb,-:6,eb,-:4,ebe,-:51</a><t>a,-:52,ns3,-:2,ns1,ns3,-:7,ns1,-:6,ns3,ns1,-,wl7,wl9,wl10,wl4,wl9,wl8,wl4,wl10,wl7,wl4,-:4,wl9,wl4,-:4,wl7,wl4,wl10,wl8,wl4,-:7,wl4:2,-:5,wl12,wl5,-:15,wl4:2,wl12,-:5,cl1,cl3,-:9,ns4,ns7,ns5,ns4,ns5,wl4:3,cl3,-:5,cl1,-:10,bl5,bl,bl5,bl4,bl7,wl4,-:8,cl1,-:7,cx:3,bl4,bl7,bl6,bl2,bl,wl12,-:8,cl3,-:6,cx:2,bl:2,bl2,bl6,bl,bl4,bl7,cl1,-:14,cx:2,bl:2,-:6,cl3,-:13,cx:2,bl:2,-:20,cx:2,bl:2,-:3,ns1,ns3,-:15,cx:2,bl:2,-:4,bl4,bl7,cx:2,-:12,cx:2,bl:3,bl7,bl:2,bl7,bl,bl4,bl,cx:2,-:10,cx:2,bl:2,-:8,bl:2,cx,bl5,-:8,bl8,cx,bl8,bl,-:10,bl:2,bl7,cx:8,bl7,cx,bl7,-:34,ns4,ns5,ns6,ns4:2,ns5,ns1,ns7,ns4,ns6,ns4,ns6,ns7,ns3,ns4,ns7,ns4,ns6,ns3,ns6,-:4,bl6,bl4,bl7,bl4,bl7,bl4,bl6,bl4,bl7,bl2,bl4,bl6,bl7,bl6,bl2,bl7,bl2,bl7,bl2,bl6,bl2,bl7,bl8,bl7,bl8,-:24,a</t></level>";
xml_data["e8cc62fd6d9f5b6ed18b6ee940690fe7.xml"] = "<level w=\"29\" h=\"23\"><a>-:105,esg,-:87,ef,-:87,esg,-:40,esg,-:92,ef,-:64,esg,-:74,ef,-:61,p2,-:2,p1,-:46</a><t>-:6,wl4,wl,wl4,wl2,wl4,wl,wl4,wl,wl4,wl2,wl4,wl,wl4,wl2,wl4,wl,wl4,wl,wl4,wl2,wl4,wl,wl4,-:6,wl12,-:21,wl12,-:6,cl1,-:21,cl1,-:6,cl2,-:11,ns5,-,ns14,-,ns3,ns7,ns4,-:3,cl4,wl4,wl2,wl4,wl,wl4,wl2,wl4,-:11,wl9,wl10,wl9,wl8,wl10,wl7,wl9,-:3,cl1,wl5,-:5,wl,ns4,-,ns14,ns6,-:17,cl1:2,-:5,wl7,wl10,wl8,wl7,wl9,-:17,cl1:2,-:27,cl1:2,-:27,cl1,cl4,-:15,ns7,ns4,-,ns6,-,ns3,ns5,ns14,-:4,cl1:2,-:15,wl9,wl10,wl8,wl10,wl9,wl10,wl8,wl7,-:4,cl4,cl5,ns5,ns14,-,ns7,ns5,-:22,cl1,wl7,wl9,wl8,wl9,wl10,wl7,-:22,cl1,wl12,-:4,wl8,-:20,ns5,ns6,cl5,cl1,-:4,wl7,-:20,wl7,wl9,wl3,cl1,-:27,wl12,cl1,-:10,ns5,ns4,ns13,-:4,ns1,ns7,ns6,-:7,cl1:2,-:10,wl10,wl9,wl10,wl9,wl10,wl9,wl10:2,wl9,wl10,-:7,cl1:2,-:27,cl1,cl4,-:27,cl4,cl1,-:27,cl1,cl2,ns5,ns6,ns3,ns6,ns4,ns12,-:2,ns7,-:3,ns4,ns5,ns6,ns1,ns11,ns7,-,ns5,-,ns6,ns3,-,ns13,ns5,ns4,cl2,wl3,wl9,wl7,wl8,wl10,wl9,wl10,wl7,wl8,wl9,wl10,wl9,wl7,wl10,wl8:2,wl9,wl10,wl9,wl7,wl8,wl10,wl7,wl8,wl9,wl7:2,wl10,wl3</t></level>";
xml_data["e1685f57407f30f66635522df8b66dd6.xml"] = "<level w=\"23\" h=\"16\"><a>-:141,ebm,-:14,eb,-:90,ebm,-:85,p2,-,p1,-:32</a><t>wl6,-:22,cl1,-:22,cl1,-:21,wl11,cl4,-:21,cl4,cl1,-:21,cl1:2,-:21,cl1,cl5,ns6,ns10,ns3,-:16,ns6,ns1,cl5,wl4,wl9,wl10,wl9,wl4,wl3,-:8,wl3,wl4,wl3,wl4,wl3,wl10,wl9,wl10,wl3,-:3,wl12,-:18,wl12,-:3,cl4,-:5,wl,wl4,wl2,-:10,cl1,-:3,cl1,-:15,ns5,ns9,ns6,cl2,-:3,cl1,-:13,wl3,wl4,wl9,wl10,wl9,wl4,-:3,cl1,-,wl,wl4,wl2,-:9,wl5,-:4,wl5,-:3,cl1,-:13,cl1,-:4,cl4,-:3,cl5,ns5,ns4,ns7,ns9,ns3,ns6,-:2,ns3,-:4,cl5,ns8,ns3,-:2,cl2,-:3,wl4,wl3,wl10,wl7,wl10,wl9,wl4,wl3,wl4,wl9,wl4,wl3,wl4,wl3,wl4,wl9,wl10,wl3,wl4,wl3</t></level>";
xml_data["ea549831bdff1c05cc3723a5322b6d07.xml"] = "<level w=\"23\" h=\"17\"><a>-:32,eth,-:132,p2,-,p1,-:81,et,-:104,et,-:36</a><t>a:2,-:4,wl8,-:16,a,-:5,wl4,-:13,wl4,-:8,wl8,-:2,wl,cx:6,-:4,wl,-:8,wl9,-:2,wl3,-:10,wl4,-:8,wl2,-:2,wl7,-:10,wl7,-:8,wl4,-:2,wl3,-:10,wl4,-:11,wl,-:10,wl,-:11,wl10,-:3,ns4,-:6,wl4,-:4,cx:6,-:5,wl8,cx:3,-:3,wl,-:15,wl9,-:6,wl10,-:15,wl7,-:6,wl8,-:7,ns2,-:7,wl3,-:2,cx:4,wl4,-:7,wl7,-:7,wl2,-:14,wl9,-:4,cx:3,wl10,-:14,wl,-:22,wl3,-:22,wl7,cx:15,-,a</t></level>";
xml_data["ee36a9abc3311175cad77d196ae59f30.xml"] = "<level w=\"25\" h=\"22\"><a>-:54,p2,-:16,p1,-:188,sign,-:42,eth,-:18,eth,-:157,eb,-:7,eb,-:5,eb,-:2,eb,-:52</a><t>a,bl3,bl5,bl4,bl,bl5:2,bl,bl4,bl7,bl2,bl5,bl4,bl7,bl4,bl,bl3,bl5,bl2,bl,bl4,bl6,bl4,bl,bl6,-,bl,wl5,-:20,wl5,bl7,-,bl5,cl2,ns4,-:3,ns1,ns3,-,ns5,-:4,ns7,-,ns1,-:4,ns4,cl2,bl2,-,bl,bl4,wl4,wl8,wl4,wl7,wl,wl4,wl8,wl4,-:4,wl4,wl8,wl,wl7,wl4,wl,wl8,wl,bl4,bl8,-,bl4,-:22,bl,-,bl7,-:8,ns5,-:4,ns3,-:2,ns3,-:5,bl7,-,bl7,-:5,wl7,wl,wl4:2,-:4,wl7,wl4,wl,wl9,-:5,bl,-,bl,-:6,wl,wl7,wl,cx:4,wl4,wl8,wl7,-:6,bl5,-,bl,-:7,wl4,wl8,cx:4,wl8,wl4,-:7,bl4,-,bl8,-:8,wl,cx:4,wl,-:8,bl7,-,bl5,-:22,bl5,-,bl7,-:22,bl,-,bl7,-:22,bl5,-,bl2,bl4,bl7,bl5,-:16,bl8,bl5,bl8,bl,-,bl,-:8,wl,cx:4,wl9,-:8,bl2,-,bl7,-:6,ns1,wl4,wl,cx:4,wl4,wl,ns1,-:6,bl3,-,bl3,-:5,ns5,wl4,wl10,wl,cx:4,wl,wl4,wl10,ns3,-:5,bl7,-,bl6,-:5,wl4,wl8,wl4,wl7,-:4,wl,wl10,wl4,wl,-:5,bl8,-,bl,-:22,bl,-,bl7,-,ns3,-:2,ns6,ns1,ns6,-,ns1,-,ns5,ns4,-:2,ns3,ns1,ns2,ns7,-:2,ns5:2,bl6,-,bl,bl8,wl2,wl10,wl2,wl4,wl2,wl8,wl4,wl8,wl4,wl7,wl2,wl10,wl8,wl4,wl10,wl2,wl4,wl10,wl4,wl8,bl5,bl,-:24,a</t><s x=\"10\" y=\"10\">Watch out - thieves! They will snatch up coins, and they take three hits to kill!</s></level>";
xml_data["f9c950bb4266f972094a2d742d16f664.xml"] = "<level w=\"24\" h=\"17\"><a>-:108,p2,-:84,eb,-:2,ebp,-:2,eb,-:5,eb,-:2,ebp,-:2,eb,-:2,ebp,-:54,p1,-:91,eb,-:2,eb,-:2,eb,-:2,eb,-:2,eb,-:2,eb,-:5,eb,-:25</a><t>a,-:23,cx:48,-:48,cx:48,-:48,cl:24,-:48,cx:48,-:48,cr:24</t></level>";
xml_data["f981e09ff006175c02e21f4818b4ce98.xml"] = "<level w=\"23\" h=\"18\"><a>-:51,eb,-:83,eb,-:76,ebe,-:84,ef,-:78,p2,-,p1,-:3,eb,-:31</a><t>wl3,wl4:2,wl2,wl4:2,wl2,wl:2,wl3,wl2,wl,wl2,wl4,wl3,wl,wl4,wl2:2,wl4,wl2,wl4,wl3,-:3,wl5,-:8,wl5,-:13,cl5,-:8,cl4,-:13,wl4,wl3:2,wl4,wl3,-:4,cl1,-:21,wl10,cl1,sp1,-:21,cl1,-:10,wl4,wl2,wl,wl3,wl4:2,wl3,-:5,cl1,-:5,wl3,wl4,wl3,wl4,wl2,wl12,-:6,wl4,-:4,cl1,-:9,wl12,cl1,-:10,sp1,cl1,wl10,-:8,cl4,cl2,-:11,cl1,-:9,cl2,wl4,wl7,wl2,wl4,wl7,wl2,wl4:3,-:3,cl1,-:5,wl4,wl2:2,wl3,wl2,-:12,cl1,-:5,wl5,-:15,wl4,cl1,sp1,wl8,wl2,-:2,cl2,-:4,wl4,-:11,cl3,wl8,wl9,wl7,wl4,-,wl2,wl4:2,wl3:2,-:12,wl11,-:3,wl8,-:18,cl4,-:4,wl8,wl2,wl3,wl4,-:9,ns6,ns7,-:3,cl2,ns4,ns5,ns6,ns4,ns7,ns6,-:4,wl4,wl3,wl,wl3,wl2,wl,wl4:2,wl10,wl9,wl2,wl4:2,wl8,wl9,wl7,wl8,wl,wl9,wl2:3,wl3</t></level>";
xml_data["f4329ce59a0149d4ee43a59d30dcf20e.xml"] = "<level w=\"25\" h=\"23\"><a>-:82,pc,-:10,pc,-:84,ef,-:15,ef,-:218,ehr,-:114,p2,-:6,eb,-:3,eb,-:6,p1,-:28</a><t>a,-:49,a,-:25,wl8,bl:3,-:4,bl,-:5,bl,-:4,bl:3,wl10,-:2,wl4,-:7,wl4,ns3,-:3,ns5,wl10,-:7,wl2,-:2,wl8,-:7,wl9,wl,-:3,wl,wl4,-:7,wl4,-:2,wl9,-:7,wl10,-:5,wl9,-:7,wl9,-:2,wl4,-:7,wl4,ns1,-:4,wl4,-:7,wl4,-:2,wl10,-:3,ns2,ns3,ns7,-,wl4,wl,cx:3,wl,wl4,-,ns3,ns5,-:4,wl10,-:2,wl4,-:3,wl4:2,wl7,-,wl2,-:5,wl4,-,wl4:3,-:3,wl4,-:2,wl4,-:3,wl8,-,wl4,-,wl4,ns7,-:3,ns1,wl4,-,wl8,-,wl4,-:3,wl8,-:2,wl7,-:3,wl4,-,wl4,-,wl4,wl,-:3,wl,wl4,-,wl4,-,wl4,-:3,wl4,-:2,wl9,-:3,wl4,-,wl8,-,wl2,-:5,wl8,-,wl9,-,wl7,-:3,wl2,-:2,wl4,-:3,wl9,-,wl4,-,wl4,-:5,wl4,-,wl4,-,wl4,-:3,wl4,-:2,wl7,-:3,wl7,-,wl4,-,wl9,-:5,wl9,-,wl8,-,wl4,-:3,wl4,-:2,wl8,-:3,wl4,-,wl8,-,wl4,-:5,wl4,-,wl4,-,wl4,-:3,wl2,-:2,wl10,-:3,wl8,-,wl4,-,wl4,-:5,wl8,-,wl4,-,wl8,-:3,wl4,-:2,wl2,-:3,wl4,-,wl4,-,wl8,wl4,wl8,wl4:4,-,wl4,-,wl4,-:3,wl9,-:2,wl4,-:3,wl4,-,wl2,-:9,wl8,-,wl4,-:3,wl10,-:2,wl10,-:3,wl8,-,wl4,-:9,wl9,-,wl2,-:3,wl4,-:2,wl4,-:3,wl4,-,wl8,-:9,wl4,-,wl4,-:3,wl10,-:2,wl8,ns4,-,ns3,wl4,-,wl8,wl4,-:6,ns5,wl4,wl8,-,wl2,ns6,ns5,ns6,wl4,-:2,bl:5,-,bl:4,cx:3,bl:4,-,bl:5,a</t></level>";
xml_data["f66063a34f053e42b74060f7e442a7e6.xml"] = "<level w=\"27\" h=\"18\"><a>-:128,ef,-:22,ebm,-:46,ebm,-:46,p2,-:37,ef,-:17,p1,-:87,ef,-:96</a><t>bl,bl6,-:7,bl4,bl,ns6,-:6,bl,bl6,-:8,bl,bl2,-:7,bl,bl5,-:7,bl,bl4,-:8,bl4:2,-:7,bl4,bl,-:7,bl4,bl8,-:8,bl6,bl3,-:7,bl6,bl,-:7,bl:2,-:8,bl4,bl2,-:7,bl,bl4,-:7,bl3,bl8,-:8,bl5,bl,ns6,-:6,bl,bl8,-:7,bl,bl4,-:8,bl6,bl8,-:7,bl5,bl,-:7,bl5,bl,ns6,-:7,bl2,bl,-:7,bl:2,-:7,bl,bl6,bl8,-:7,bl3,bl8,-:7,bl6,bl5,ns6,-:6,bl4,bl5,bl2,-:7,bl:2,-:7,bl,bl8,-:8,bl7,bl8,-:7,bl6,bl2,ns5,-:6,bl5,bl,-:8,bl4,bl,-:7,bl,bl8,-:7,bl,bl5,-:8,bl4:2,-:7,bl5,bl,-:7,bl,bl3,ns7,-:7,bl6,bl5,-:7,bl3,bl,-:7,bl,bl8,-:8,bl,bl3,ns5,-:6,bl,bl8,-:7,bl6,bl,-:8,bl4,bl6,-:7,bl,bl6,-:7,bl,bl6,-:8,bl,bl2,-:7,bl:2,-:7,bl5,bl,bl5,-:7,bl6,bl2,-:7,bl6,bl8,-:7,bl6</t></level>";
xml_done = true;
};
}
public static function onLoadComplete():void{
background. = (background. + (300 - Controller.content.x));
Controller.content.y = 500;
Controller.content.x = 300;
setupFlyingChars();
level = new Level();
level.create(loadedXML);
NitromeGame.transition.play();
if (loadIndicator){
loadIndicator.();
};
MessageOverlay.show(("STAGE " + loadedLevelNumber));
level.
(true);
flyingP1.targetX = (level.player1.x + (275 - level. ));
flyingP1. = (level.player1.y + (200 - level.
));
if (twoPlayerGame){
flyingP2.targetX = (level.player2.x + (275 - level. ));
flyingP2. = (level.player2.y + (200 - level.
));
};
levelPanningIn = true;
}
public static function debugDraw():void{
var _local1:Number;
var _local2:Number;
if (!debugLayer){
Controller.content.addChild((debugLayer = new Sprite()));
};
debugLayer.graphics.clear();
_local1 = 0;
while (_local1 < level..length) {
_local2 = Math.floor((level.[_local1].calculateAiWeight() * 0xFF));
if (_local2 < -255){
debugLayer.graphics.beginFill(((0x0101 * (-(_local2) - 0xFF)) + 0xFF0000));
} else {
if (_local2 < 0){
debugLayer.graphics.beginFill((65536 * -(_local2)));
} else {
if (_local2 < 0x0100){
debugLayer.graphics.beginFill((0x0101 * _local2));
} else {
debugLayer.graphics.beginFill(((65536 * (_local2 - 0xFF)) + 0xFFFF));
};
};
};
debugLayer.graphics.drawRect((level.[_local1].tileX * 24), (level.[_local1].tileY * 24), 24, 24);
debugLayer.graphics.endFill();
_local1++;
};
}
protected static function advancePanIn():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Boolean;
flyingP1.advance();
if (((flyingP2) && (twoPlayerGame))){
flyingP2.advance();
};
if (level){
_local1 = (275 - level. );
_local2 = (200 - level.
);
_local3 = (content.x - _local1);
_local4 = (content.y - _local2);
_local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4)));
if (_local5 < 1){
panSpeed = 0;
content.x = _local1;
content.y = _local2;
_local6 = true;
} else {
panSpeed = (_local5 / 10);
if (panSpeed < 1){
panSpeed = 1;
};
if (panSpeed > 9){
panSpeed = 9;
};
if (panSpeed > _local5){
panSpeed = _local5;
};
content.x = Global.slide(content.x, (275 - level. ), ((panSpeed * _local3) / _local5));
content.y = Global.slide(content.y, (200 - level.
), ((panSpeed * _local4) / _local5));
};
if (((((_local6) && (flyingP1.))) && (((!(twoPlayerGame)) || (flyingP2.))))){
levelPanningIn = false;
flyingP1.visible = false;
level.player1.visible = true;
if (twoPlayerGame){
flyingP2.visible = false;
level.player2.visible = true;
};
};
level.();
} else {
background. = (background. + 5);
};
background.advance();
}
public static function restartLevel():void{
endLevel();
startLevel(loadedLevelNumber);
flyingP1.();
if (((flyingP2) && (twoPlayerGame))){
flyingP2.();
};
}
public static function startLevel(_arg1:Number):void{
var _local2:URLLoader;
var _local3:String;
var _local4:XML;
if (level){
endLevel();
};
if (_arg1 == loadedLevelNumber){
onLoadComplete();
return;
};
frameNumber = 0;
loadIndicator = new LoadIndicator((stage.stageWidth / 2), (stage.stageHeight / 2));
root.addChild(loadIndicator);
NitromeGame.transition.stop();
_local2 = new URLLoader();
_local3 = NitromeGame.getLevelName(_arg1);
Controller.loadXmlData();
_local4 = new XML(Controller.xml_data[_local3]);
loadedLevelNumber = _arg1;
loadedXML = _local4;
Controller.onLoadComplete();
}
public static function nextLevel():void{
var _local1:Number;
levelPanningOut = true;
levelToPanIn = (loadedLevelNumber + 1);
setupFlyingChars();
flyingP1.targetX = 350;
flyingP1. = 200;
if (flyingP2){
flyingP2.targetX = 200;
flyingP2. = 200;
} else {
flyingP1.targetX = 275;
};
if (level.player1){
level.player1.destroy();
};
if (level.player2){
level.player2.destroy();
};
_local1 = 0;
while (_local1 < level.objectList.length) {
level.objectList[_local1].removeUnnecessaryClones();
_local1++;
};
}
public static function enterFrame(_arg1:Event):void{
if (!isPaused()){
if (levelPanningOut){
advancePanOut();
} else {
if (levelPanningIn){
advancePanIn();
} else {
if (((content) && (level))){
frameNumber++;
level.advance();
};
};
};
};
if (popup){
popup.advance();
};
if (((((((popup) && (!(isPaused())))) && (!(popup.isOpen)))) && (Key.isDown(Key.P)))){
popup.open("paused");
pause();
};
}
public static function pause():void{
if (level){
level.pause();
};
if (flyingP1){
flyingP1.stop();
};
if (flyingP2){
flyingP2.stop();
};
}
public static function endLevel():void{
if (!level){
return;
};
level.destroy();
level = null;
}
public static function startGame(_arg1:Sprite):void{
if (content){
return;
};
stage = _arg1.stage;
root = MovieClip(_arg1.root);
root.stop();
content = _arg1;
background = root.background;
content.addChild((signLayer = new Sprite()));
content.addChild((chestLayer = new Sprite()));
content.addChild((collectibleLayer = new Sprite()));
content.addChild((tileLayer = new Sprite()));
content.addChild((platformLayer = new Sprite()));
content.addChild((enemyLayer = new Sprite()));
content.addChild((playerLayer = new Sprite()));
content.addChild((arrowLayer = new Sprite()));
content.addChild((floatingScoreLayer = new Sprite()));
popup = new IngamePopup();
stage.quality = StageQuality.LOW;
Key.initialize(stage);
stage.addEventListener(Event.ENTER_FRAME, enterFrame);
flyingP1 = new FlyingP1();
flyingP2 = new FlyingP2();
player1Powerup = Player.POWERUP_NONE;
player2Powerup = Player.POWERUP_NONE;
player1InvincibilityTime = 0;
player2InvincibilityTime = 0;
}
public static function unpause():void{
if (level){
level.unpause();
};
if (flyingP1){
flyingP1.play();
};
if (flyingP2){
flyingP2.play();
};
}
}
}//package com.nitrome.twinshot
Section 57
//ConveyorTile (com.nitrome.twinshot.ConveyorTile)
package com.nitrome.twinshot {
public class ConveyorTile extends Tile {
public static const CONVEYOR_SPEED:Number = 4;
override public function pause():void{
stop();
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solid = true;
solidOnTop = true;
solidOnSides = true;
solidUnderneath = false;
solidInside = false;
sendPause = true;
groundSpeedX = ((this is tile_cr)) ? CONVEYOR_SPEED : -(CONVEYOR_SPEED);
}
override public function unpause():void{
play();
}
}
}//package com.nitrome.twinshot
Section 58
//CrumbleTile (com.nitrome.twinshot.CrumbleTile)
package com.nitrome.twinshot {
public class CrumbleTile extends Tile {
protected function setSolid():void{
solid = true;
}
protected function setNonsolid():void{
solid = false;
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solid = true;
solidOnTop = true;
solidOnSides = false;
solidUnderneath = false;
solidInside = false;
sendContact = true;
}
override public function playerContact(_arg1:Player):void{
if (currentLabel != "crumble"){
gotoAndPlay("crumble");
};
}
}
}//package com.nitrome.twinshot
Section 59
//Debris (com.nitrome.twinshot.Debris)
package com.nitrome.twinshot {
import flash.display.*;
import flash.geom.*;
public class Debris extends MovieClip {
public var
:Number;// = 0
public var velocityX:Number;// = 0
public var velocityY:Number;// = 0
public var spin:Number;// = 0
public var finished:Boolean;// = false
public var lockY:DisplayObject;// = null
public var accelerationY:Number;// = 0
public function Debris(){
velocityX = 0;
velocityY = 0;
= 0;
accelerationY = 0;
spin = 0;
finished = false;
lockY = null;
super();
}
public function destroy():void{
stop();
if (parent){
parent.removeChild(this);
};
}
public function create(_arg1:Sprite, _arg2:Number, _arg3:Number):void{
_arg1.addChild(this);
x = _arg2;
y = _arg3;
Controller.level.debrisList.push(this);
}
public function advance():void{
var _local1:Rectangle;
var _local2:Rectangle;
velocityX = (velocityX +
);
velocityY = (velocityY + accelerationY);
x = (x + velocityX);
y = (y + velocityY);
rotation = (rotation + spin);
if (lockY){
y = lockY.y;
};
_local1 = getBounds(root);
_local2 = new Rectangle(0, 0, 550, 400);
if (!_local2.intersects(_local1)){
finished = true;
};
}
}
}//package com.nitrome.twinshot
Section 60
//DizzyStars (com.nitrome.twinshot.DizzyStars)
package com.nitrome.twinshot {
import flash.display.*;
public dynamic class DizzyStars extends MovieClip {
}
}//package com.nitrome.twinshot
Section 61
//Enemy (com.nitrome.twinshot.Enemy)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class Enemy extends MotiveObject {
public const STOP:Number = 4;
public const LEAP_UPWARD:Number = 2;
public const INIT:Number = -1;
public const LEAP_OFF_EDGE:Number = 1;
public const LEAP_OVER_GAP:Number = 3;
public const WALKING_FORWARD:Number = 0;
public var separateFallingAnimation:Boolean;// = false
public var canJump:Boolean;// = true
public var facingRight:Boolean;// = true
public var tendencyToTurnBackAnytime:Number;// = -0.2
public var state:Number;// = -1
public var alive:Boolean;// = true
public var containsCollectible:Boolean;// = true
public var targetX:Number;
public var tendencyToMoveUnpredictably:Number;// = 0.1
public var tendencyToLeap:Number;// = -0.05
public var :Number;// = 30
public var :Number;// = 0.2
public var tendencyToTurnBackAtEdges:Number;// = -0.1
public var
:Number;
public var tendencyToFollowPlayers:Number;// = 1
public var walkSpeed:Number;// = 3
public function Enemy(){
state = INIT;
alive = true;
facingRight = true;
walkSpeed = 3;
tendencyToFollowPlayers = 1;
= 0.2;
tendencyToLeap = -0.05;
tendencyToTurnBackAtEdges = -0.1;
tendencyToTurnBackAnytime = -0.2;
tendencyToMoveUnpredictably = 0.1;
canJump = true;
= 30;
= -(Infinity);
containsCollectible = true;
separateFallingAnimation = false;
super();
}
protected function ():void{
velocityX = Global.slide(velocityX, 0, 0.2);
horizontalMotion();
if (velocityY < 0){
velocityY = (velocityY + weight);
y = (y + velocityY);
objectUnderneath = null;
} else {
verticalMotion();
if (onGround){
decideNext();
};
};
}
override public function wrap():void{
if (x >= Controller.level.pixelWidth){
targetX = (targetX - Controller.level.pixelWidth);
};
if (x < 0){
targetX = (targetX + Controller.level.pixelWidth);
};
super.wrap();
}
protected function ():Array{
var aiMoves:Array;
var getWeight:Function;
var forwardRaycast:Raycast;
var backwardRaycast:Raycast;
var wallInFront:Boolean;
var wallBehind:Boolean;
var stuckBetweenWalls:Boolean;
var walkForwardX:Number;
var nextBelowRaycast:Raycast;
var prevBelowRaycast:Raycast;
var platformContinuesAhead:Boolean;
var platformContinuesBehind:Boolean;
var leapForwardRaycast:Raycast;
var dx:Number;
var fromAboveRaycast:Raycast;
var tx:Number;
var targetDownRaycast:Raycast;
var targetForwardRaycast:Raycast;
getWeight = function (_arg1:Raycast):Number{
var _local2:Number;
_local2 = 0;
if (((_arg1) && (_arg1.hitTile))){
_local2 = (_local2 + (_arg1.hitTile.calculateAiWeight() * tendencyToFollowPlayers));
};
_local2 = (_local2 + (tendencyToMoveUnpredictably * Math.random()));
return (_local2);
};
aiMoves = [];
forwardRaycast = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, (y - extentAbove), (y + extentBelow));
backwardRaycast = Raycast.fatRaycastX((x + (facingRight) ? -(extentToLeft) : extentToRight), (facingRight) ? -1 : 1, (y - extentAbove), (y + extentBelow));
wallInFront = ((forwardRaycast) && ((forwardRaycast.distance < 2)));
wallBehind = ((backwardRaycast) && ((backwardRaycast.distance < 2)));
stuckBetweenWalls = ((wallInFront) && (wallBehind));
if (!stuckBetweenWalls){
walkForwardX = ((wallInFront)!=facingRight) ? 30 : -30;
nextBelowRaycast = Raycast.fatRaycastY(y, 1, ((x + walkForwardX) - 6), ((x + walkForwardX) + 6));
prevBelowRaycast = Raycast.fatRaycastY(y, 1, ((x - walkForwardX) - 6), ((x - walkForwardX) + 6));
platformContinuesAhead = ((nextBelowRaycast) && ((nextBelowRaycast.distance < 2)));
platformContinuesBehind = ((prevBelowRaycast) && ((prevBelowRaycast.distance < 2)));
if (wallInFront){
aiMoves.push(new AiMove(getWeight(prevBelowRaycast), WALKING_FORWARD, NaN, NaN, true));
} else {
if (!platformContinuesAhead){
if (((canJump) && (nextBelowRaycast))){
leapForwardRaycast = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, ((y - extentAbove) - 10), ((y - extentAbove) + 10));
if (((!(leapForwardRaycast)) || ((leapForwardRaycast.distance >= 24)))){
aiMoves.push(new AiMove(getWeight(nextBelowRaycast), LEAP_OFF_EDGE, -7, (x + (walkForwardX * 1.5))));
};
};
aiMoves.push(new AiMove((getWeight(prevBelowRaycast) + tendencyToTurnBackAtEdges), WALKING_FORWARD, NaN, NaN, true));
} else {
aiMoves.push(new AiMove((getWeight(nextBelowRaycast) + ), WALKING_FORWARD));
if ((Controller.frameNumber -
) >= ){
aiMoves.push(new AiMove((getWeight(prevBelowRaycast) + tendencyToTurnBackAnytime), WALKING_FORWARD, NaN, NaN, true));
};
};
};
};
if (canJump){
dx = 2;
while (dx <= 4) {
tx = (x + ((dx + 1) * (facingRight) ? 24 : -24));
targetDownRaycast = Raycast.fatRaycastY(((y + 24) - (dx * 24)), 1, (tx - 3), (tx + 3));
targetForwardRaycast = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, ((y - 96) - 10), ((y - 96) + 10));
if (((targetForwardRaycast) && ((targetForwardRaycast.distance < 48)))){
} else {
if (((targetDownRaycast) && ((targetDownRaycast.distance < (dx * 24))))){
if (((((targetDownRaycast.hitTile) && (tileUnderneath))) && ((targetDownRaycast.hitTile.surfaceIndex == tileUnderneath.surfaceIndex)))){
} else {
aiMoves.push(new AiMove((getWeight(targetDownRaycast) + tendencyToLeap), LEAP_OVER_GAP, -13, tx));
break;
};
};
};
dx = (dx + 1);
};
fromAboveRaycast = Raycast.fatRaycastY((y - 96), 1, (x - 6), (x + 6));
if (((fromAboveRaycast) && ((fromAboveRaycast.distance < 96)))){
aiMoves.push(new AiMove((getWeight(fromAboveRaycast) + tendencyToLeap), LEAP_UPWARD, -13));
};
};
return (aiMoves);
}
protected function doWalkingForward():void{
var _local1:Number;
if (facingRight){
_local1 = (Math.floor(((x + extentToRight) / 24)) * 24);
} else {
_local1 = (Math.floor((((x + 24) - extentToLeft) / 24)) * 24);
};
velocityX = (facingRight) ? walkSpeed : -(walkSpeed);
if (groundSpeedX > 0){
velocityX = (velocityX + (walkSpeed * 0.5));
};
if (groundSpeedX < 0){
velocityX = (velocityX - (walkSpeed * 0.5));
};
horizontalMotion();
verticalMotion();
decideNext();
if (((((((facingRight) && ((x >= _local1)))) || (((!(facingRight)) && ((x <= _local1)))))) || (!(onGround)))){
if (state != WALKING_FORWARD){
x = _local1;
};
};
}
protected function decideNext():void{
var _local1:Array;
var _local2:Number;
var _local3:AiMove;
var _local4:Number;
if (isClone){
return;
};
_local1 = ();
_local2 = -(Infinity);
_local4 = 0;
while (_local4 < _local1.length) {
if (_local1[_local4].weight > _local2){
_local2 = _local1[_local4].weight;
_local3 = _local1[_local4];
};
_local4++;
};
if (_local3){
_local3.commit(this);
if (((_local3.turnAround) && ((_local3.state == WALKING_FORWARD)))){
= Controller.frameNumber;
};
};
}
override public function advance():void{
if (alive){
switch (state){
case INIT:
decideNext();
break;
case WALKING_FORWARD:
doWalkingForward();
break;
case LEAP_OFF_EDGE:
();
break;
case LEAP_UPWARD:
();
break;
case LEAP_OVER_GAP:
();
break;
case STOP:
();
break;
};
wrap();
} else {
doDeath();
};
animation();
}
override public function addClones():void{
if (alive){
super.addClones();
} else {
super.removeClones();
};
}
protected function doDeath():void{
velocityY++;
x = (x + velocityX);
y = (y + velocityY);
}
override public function hitByArrow(_arg1:Arrow):Boolean{
NitromeGame.sound_manager.playSound("enemyHit");
kill(_arg1);
return (true);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
x = ((_arg1 * 24) + 12);
y = ((_arg2 * 24) + 24);
extentToLeft = 12;
extentToRight = 12;
extentAbove = 48;
extentBelow = 0;
wallBounceFactor = 0;
floorBounceFactor = 0;
weight = 0.8;
play();
Controller.enemyLayer.addChild(this);
}
override public function unpause():void{
super.unpause();
if (alive){
play();
};
}
protected function ():void{
verticalMotion();
}
protected function ():void{
var _local1:Number;
if ((targetX - x) > (Controller.level.pixelWidth / 2)){
targetX = (targetX - Controller.level.pixelWidth);
};
if ((targetX - x) < (-(Controller.level.pixelWidth) / 2)){
targetX = (targetX + Controller.level.pixelWidth);
};
_local1 = (((x - targetX) * 0.9) + targetX);
_local1 = Global.slide(_local1, targetX, 0.4);
velocityX = Global.slide(velocityX, (_local1 - x), 1);
horizontalMotion();
verticalMotion();
if (onGround){
decideNext();
};
}
public function kill(_arg1:Arrow):void{
var _local2:FloatingScore;
var _local3:Collectible;
gotoAndStop("dead");
alive = false;
velocityY = -10;
if (containsCollectible){
_local3 = Collectible.randomType();
_local3.createAndRegisterFromEnemy(this);
};
if (_arg1.playerSource == 1){
Controller.level.player1.score = (Controller.level.player1.score + 100);
} else {
if ((((_arg1.playerSource == 2)) && (Controller.level.player2))){
Controller.level.player2.score = (Controller.level.player2.score + 100);
};
};
_local2 = new FloatingScore();
_local2.create(x, (y - (extentAbove / 2)), 100);
}
public function isHarmful():Boolean{
return (true);
}
protected function animation():void{
if (alive){
switch (state){
case WALKING_FORWARD:
if (currentLabel != "walking"){
gotoAndPlay("walking");
};
break;
case LEAP_OFF_EDGE:
case LEAP_OVER_GAP:
case LEAP_UPWARD:
if (((separateFallingAnimation) && ((velocityY > 0)))){
if (currentLabel != "falling"){
gotoAndPlay("falling");
};
} else {
if (currentLabel != "jumping"){
gotoAndPlay("jumping");
};
};
break;
};
} else {
if (currentLabel != "dead"){
gotoAndPlay("dead");
};
};
scaleX = (facingRight) ? 1 : -1;
}
protected function ():void{
var _local1:Number;
if ((targetX - x) > (Controller.level.pixelWidth / 2)){
targetX = (targetX - Controller.level.pixelWidth);
};
if ((targetX - x) < (-(Controller.level.pixelWidth) / 2)){
targetX = (targetX + Controller.level.pixelWidth);
};
_local1 = (((x - targetX) * 0.9) + targetX);
_local1 = Global.slide(_local1, targetX, 0.3);
velocityX = Global.slide(velocityX, (_local1 - x), 1);
horizontalMotion();
verticalMotion();
if (onGround){
decideNext();
};
}
override public function pause():void{
super.pause();
stop();
}
}
}//package com.nitrome.twinshot
class AiMove {
private var :Boolean;// = false
private var state:Number;
private var targetX:Number;
private var weight:Number;
private var turnAround:Boolean;// = false
private var :Boolean;// = false
private var velocityY:Number;
private function AiMove(_arg1:Number, _arg2:Number, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Boolean=false){
= false;
= false;
turnAround = false;
super();
weight = _arg1;
state = _arg2;
if (!isNaN(_arg3)){
velocityY = _arg3;
= true;
};
if (!isNaN(_arg4)){
targetX = _arg4;
= true;
};
turnAround = _arg5;
}
public function commit(_arg1:Enemy){
_arg1.state = state;
if (){
_arg1.velocityY = velocityY;
};
if (){
_arg1.targetX = targetX;
};
if (turnAround){
_arg1.facingRight = !(_arg1.facingRight);
};
if (state == _arg1.LEAP_UPWARD){
_arg1.velocityX = 0;
};
}
}
Section 62
//FlickerPlatform (com.nitrome.twinshot.FlickerPlatform)
package com.nitrome.twinshot {
import flash.display.*;
import com.nitrome.util.*;
public class FlickerPlatform extends Platform {
public const PHASES:Number = 2;
public const INTERVAL:Number = 50;
public var :Number;// = 0
public var solidVersion:MovieClip;
public function FlickerPlatform(){
= 0;
super();
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
if ((this is FlickerPlatformA)){
= 0;
};
if ((this is FlickerPlatformB)){
= 1;
};
advance();
advance();
}
override public function advance():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
super.advance();
_local1 = (Controller.frameNumber % (INTERVAL * PHASES));
_local2 = ( * INTERVAL);
solidOnTop = (((_local1 >= _local2)) && (((_local1 - _local2) < INTERVAL)));
canDetectSides = solidOnTop;
_local3 = (solidOnTop) ? 1 : 0;
if (solidVersion.alpha != _local3){
solidVersion.alpha = Global.slide(solidVersion.alpha, (solidOnTop) ? 1 : 0, 0.7);
};
}
}
}//package com.nitrome.twinshot
Section 63
//FlickerPlatformA (com.nitrome.twinshot.FlickerPlatformA)
package com.nitrome.twinshot {
public dynamic class FlickerPlatformA extends FlickerPlatform {
}
}//package com.nitrome.twinshot
Section 64
//FlickerPlatformB (com.nitrome.twinshot.FlickerPlatformB)
package com.nitrome.twinshot {
public dynamic class FlickerPlatformB extends FlickerPlatform {
}
}//package com.nitrome.twinshot
Section 65
//FloatingScore (com.nitrome.twinshot.FloatingScore)
package com.nitrome.twinshot {
import flash.display.*;
public class FloatingScore extends MovieClip {
public function FloatingScore(){
addFrameScript(26, , 53, frame54, 80, frame81);
}
public function destroy():void{
stop();
if (parent){
parent.removeChild(this);
};
}
public function create(_arg1:Number, _arg2:Number, _arg3:Number){
x = _arg1;
y = _arg2;
gotoAndPlay(("score" + _arg3.toString()));
Controller.floatingScoreLayer.addChild(this);
}
function frame81(){
destroy();
}
function (){
destroy();
}
function frame54(){
destroy();
}
}
}//package com.nitrome.twinshot
Section 66
//FlyingP1 (com.nitrome.twinshot.FlyingP1)
package com.nitrome.twinshot {
public dynamic class FlyingP1 extends FlyingPlayer {
}
}//package com.nitrome.twinshot
Section 67
//FlyingP2 (com.nitrome.twinshot.FlyingP2)
package com.nitrome.twinshot {
public dynamic class FlyingP2 extends FlyingPlayer {
}
}//package com.nitrome.twinshot
Section 68
//FlyingPlayer (com.nitrome.twinshot.FlyingPlayer)
package com.nitrome.twinshot {
import flash.display.*;
public class FlyingPlayer extends MovieClip {
public var :Boolean;// = false
public var :Number;// = 0
public var targetX:Number;// = 0
public function FlyingPlayer(){
targetX = 0;
= 0;
= false;
super();
();
}
public function ():void{
if ((this is FlyingP1)){
x = 400;
} else {
x = 150;
};
y = -50;
}
public function advance():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local1 = (targetX - x);
_local2 = ( - y);
_local3 = Math.sqrt(((_local1 * _local1) + (_local2 * _local2)));
if (_local3 < 1){
x = targetX;
y = ;
= true;
return;
};
_local4 = (_local3 / 10);
if (_local4 < 1){
_local4 = 1;
};
if (_local4 > 4){
_local4 = 4;
};
if (_local4 > _local3){
_local4 = _local3;
};
x = (x + ((_local1 * _local4) / _local3));
y = (y + ((_local2 * _local4) / _local3));
= false;
}
}
}//package com.nitrome.twinshot
Section 69
//FlyPickup (com.nitrome.twinshot.FlyPickup)
package com.nitrome.twinshot {
public class FlyPickup extends Powerup {
override public function collect(_arg1:Player):void{
if (((!(collected)) && (_arg1))){
_arg1.powerup = Player.POWERUP_FLIGHT;
_arg1.powerupFlash = 1;
};
super.collect(_arg1);
}
}
}//package com.nitrome.twinshot
Section 70
//Gem (com.nitrome.twinshot.Gem)
package com.nitrome.twinshot {
public class Gem extends Collectible {
public function Gem(){
worth = 500;
extentToLeft = 12;
extentToRight = 12;
extentAbove = 12;
extentBelow = 12;
}
}
}//package com.nitrome.twinshot
Section 71
//GoldCoin (com.nitrome.twinshot.GoldCoin)
package com.nitrome.twinshot {
public class GoldCoin extends Collectible {
public function GoldCoin(){
worth = 100;
}
}
}//package com.nitrome.twinshot
Section 72
//HeartPickup (com.nitrome.twinshot.HeartPickup)
package com.nitrome.twinshot {
public class HeartPickup extends Powerup {
override public function collect(_arg1:Player):void{
if (((!(collected)) && (_arg1))){
if (_arg1.hits < 3){
_arg1.hits++;
};
_arg1.powerupFlash = 1;
};
super.collect(_arg1);
}
}
}//package com.nitrome.twinshot
Section 73
//HelmetGuard (com.nitrome.twinshot.HelmetGuard)
package com.nitrome.twinshot {
public class HelmetGuard extends Enemy {
public var vulnerable:Boolean;// = false
public var
:Number;// = 0
public function HelmetGuard(){
= 0;
vulnerable = false;
super();
}
override protected function decideNext():void{
if (isClone){
return;
};
if ((((Math.random() > 0.8)) && ((Controller.frameNumber > (
+ 125))))){
state = STOP;
gotoAndPlay("peek");
= Controller.frameNumber;
} else {
super.decideNext();
};
}
override public function advance():void{
if (!alive){
rotation = (rotation + (facingRight) ? -4 : 4);
};
super.advance();
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (((vulnerable) && ((_arg1.y > (y - 27))))){
return (super.hitByArrow(_arg1));
};
_arg1.pingOff();
return (false);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 10;
extentToRight = 10;
if ((this is HelmetGuardPlus)){
walkSpeed = 4;
} else {
walkSpeed = 2;
};
}
override public function kill(_arg1:Arrow):void{
if (alive){
BlackMan.createCorpse(x, (y - 10), this);
y = (y - 40);
gotoAndStop("dead");
};
super.kill(_arg1);
}
}
}//package com.nitrome.twinshot
Section 74
//HelmetGuardNormal (com.nitrome.twinshot.HelmetGuardNormal)
package com.nitrome.twinshot {
public dynamic class HelmetGuardNormal extends HelmetGuard {
public function HelmetGuardNormal(){
addFrameScript(16, frame17, 22, frame23, 36, frame37, 68, frame69, 75, frame76, 87, frame88);
}
function frame23(){
gotoAndPlay("jumping");
}
function frame17(){
gotoAndPlay("walking");
}
function frame37(){
vulnerable = true;
}
function frame69(){
vulnerable = false;
}
function frame76(){
decideNext();
}
function frame88(){
gotoAndStop("dead");
}
}
}//package com.nitrome.twinshot
Section 75
//HelmetGuardPlus (com.nitrome.twinshot.HelmetGuardPlus)
package com.nitrome.twinshot {
public dynamic class HelmetGuardPlus extends HelmetGuard {
public function HelmetGuardPlus(){
addFrameScript(16, frame17, 22, frame23, 36, frame37, 68, frame69, 75, frame76, 87, frame88);
}
function frame23(){
gotoAndPlay("jumping");
}
function frame17(){
gotoAndPlay("walking");
}
function frame37(){
vulnerable = true;
}
function frame69(){
vulnerable = false;
}
function frame76(){
decideNext();
}
function frame88(){
gotoAndStop("dead");
}
}
}//package com.nitrome.twinshot
Section 76
//HogRider (com.nitrome.twinshot.HogRider)
package com.nitrome.twinshot {
public class HogRider extends Enemy {
public var charging:Boolean;// = false
public function HogRider(){
charging = false;
super();
addFrameScript(10, frame11, 20, frame21, 30, frame31);
}
function frame11(){
gotoAndPlay("walking");
}
function frame21(){
gotoAndPlay("charging");
}
override protected function decideNext():void{
var _local1:Boolean;
_local1 = facingRight;
super.decideNext();
if (((charging) && (!((facingRight == _local1))))){
(false);
};
}
override public function advance():void{
var _local1:Number;
var _local2:Player;
if (!alive){
rotation = (rotation + (facingRight) ? 10 : -10);
};
super.advance();
if (!alive){
return;
};
if (charging){
return;
};
if (!tileUnderneath){
return;
};
_local1 = 0;
while (_local1 < Controller.level.playerList.length) {
_local2 = Controller.level.playerList[_local1];
if (!_local2.alive){
} else {
if (((facingRight) && ((x > _local2.x)))){
} else {
if (((!(facingRight)) && ((x < _local2.x)))){
} else {
if (!_local2.tileUnderneath){
} else {
if (_local2.tileUnderneath.surfaceIndex == tileUnderneath.surfaceIndex){
(true);
};
};
};
};
};
_local1++;
};
}
function frame31(){
gotoAndStop("dead");
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 24;
extentToRight = 24;
extentAbove = 40;
canJump = false;
(false);
}
public function (_arg1:Boolean):void{
charging = _arg1;
walkSpeed = (charging) ? 6 : 2;
}
override public function kill(_arg1:Arrow):void{
var _local2:BlackManCorpse;
if (alive){
_local2 = BlackMan.createCorpse(x, (y - 30), this);
_local2.gotoAndStop(2);
y = (y - 27);
gotoAndStop("dead");
};
super.kill(_arg1);
}
override protected function animation():void{
if (((alive) && (charging))){
if (currentLabel != "charging"){
gotoAndPlay("charging");
};
scaleX = (facingRight) ? 1 : -1;
} else {
super.animation();
};
}
}
}//package com.nitrome.twinshot
Section 77
//InvincibilityPickup (com.nitrome.twinshot.InvincibilityPickup)
package com.nitrome.twinshot {
public class InvincibilityPickup extends Powerup {
override public function collect(_arg1:Player):void{
if (((!(collected)) && (_arg1))){
_arg1.powerup = Player.POWERUP_INVINCIBILITY;
_arg1.invincibleTime = Player.INVINCIBILITY_TIME;
_arg1.powerupFlash = 1;
};
super.collect(_arg1);
}
}
}//package com.nitrome.twinshot
Section 78
//King (com.nitrome.twinshot.King)
package com.nitrome.twinshot {
public class King extends Enemy {
public const SHOOT:Number = 28;
public var
:Number;
public function King(){
= -(Infinity);
super();
}
protected function shoot():void{
var _local1:Projectile;
_local1 = new Projectile();
_local1.createAndRegister(this);
}
protected function
():void{
verticalMotion();
}
override protected function doWalkingForward():void{
super.doWalkingForward();
if ((((((Controller.frameNumber > (
+ 50))) && ((Math.random() > 0.95)))) && ((Blob.totalBlobs() < 5)))){
state = SHOOT;
gotoAndPlay("shoot");
= Controller.frameNumber;
};
}
override public function advance():void{
if (alive){
if (state == SHOOT){
();
};
};
super.advance();
}
override protected function doDeath():void{
super.doDeath();
rotation = (rotation + (facingRight) ? -10 : 10);
}
override public function hitByArrow(_arg1:Arrow):Boolean{
var _local2:BlackMan;
if (_arg1.y > (y - 13)){
return (false);
};
_local2 = new BlackMan();
_local2.createInPlaceAndRegister(this);
return (super.hitByArrow(_arg1));
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 19;
extentToRight = 19;
extentAbove = 54;
extentBelow = 0;
canJump = false;
if ((this is KingPlus)){
walkSpeed = 1.5;
} else {
walkSpeed = 1;
};
containsCollectible = false;
}
override public function kill(_arg1:Arrow):void{
if (alive){
y = (y - 30);
};
super.kill(_arg1);
}
}
}//package com.nitrome.twinshot
Section 79
//KingNormal (com.nitrome.twinshot.KingNormal)
package com.nitrome.twinshot {
public dynamic class KingNormal extends King {
public function KingNormal(){
addFrameScript(24, frame25, 33, frame34, 39, frame40, 49, frame50);
}
function frame34(){
shoot();
}
function frame25(){
gotoAndPlay("walking");
}
function frame40(){
decideNext();
}
function frame50(){
gotoAndStop("dead");
}
}
}//package com.nitrome.twinshot
Section 80
//KingPlus (com.nitrome.twinshot.KingPlus)
package com.nitrome.twinshot {
public dynamic class KingPlus extends King {
public function KingPlus(){
addFrameScript(24, frame25, 33, frame34, 39, frame40, 49, frame50);
}
function frame34(){
shoot();
}
function frame25(){
gotoAndPlay("walking");
}
function frame40(){
decideNext();
}
function frame50(){
gotoAndStop("dead");
}
}
}//package com.nitrome.twinshot
Section 81
//LandPuff (com.nitrome.twinshot.LandPuff)
package com.nitrome.twinshot {
public dynamic class LandPuff extends Debris {
public function LandPuff(){
addFrameScript(16, frame17);
}
function frame17(){
destroy();
}
}
}//package com.nitrome.twinshot
Section 82
//Level (com.nitrome.twinshot.Level)
package com.nitrome.twinshot {
import flash.utils.*;
import com.nitrome.util.*;
import com.nitrome.game.*;
public class Level {
public var :Array;
public var objectList:Array;
public var gridHeight:Number;
public var tileGrid:Array;
public var playerList:Array;
public var gridWidth:Number;
public var paused:Boolean;// = false
public var debrisList:Array;
public var ended:Boolean;// = false
public var :Number;
public var pixelHeight:Number;
public var :Number;
public var
:Number;
public var pixelWidth:Number;
public var
:Number;// = 0
public var :Array;
public var player1:Player;
public var player2:Player;
public var :Number;// = 0
public static const LOCKED_IN:Boolean = false;
public function Level(){
ended = false;
paused = false;
= 0;
= 0;
super();
}
public function advance():void{
var _local1:Number;
var _local2:ActiveObject;
var _local3:Boolean;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:*;
var _local8:*;
var _local9:TreasureChest;
var _local10:Collectible;
_local1 = (objectList.length - 1);
while (_local1 >= 0) {
_local2 = objectList[_local1];
_local2.advance();
if (!_local2.destroyed){
_local2.addClones();
};
_local1--;
};
_local1 = (debrisList.length - 1);
while (_local1 >= 0) {
debrisList[_local1].advance();
if (debrisList[_local1].finished){
debrisList[_local1].destroy();
debrisList.splice(_local1, 1);
};
_local1--;
};
_local1 = (.length - 1);
while (_local1 >= 0) {
[_local1].advance();
_local1--;
};
if (((!(ended)) && (( > 0)))){
--;
if ( < 1){
_local3 = false;
do {
_local4 = Math.floor((Math.random() * gridWidth));
_local5 = Math.floor((Math.random() * gridHeight));
_local7 = tileGrid[_local4][_local5];
if (((!(_local7)) || (!(_local7.solid)))){
_local8 = 0;
while (_local8 < gridHeight) {
if (tileGrid[_local4][_local8]){
_local3 = true;
break;
};
_local8++;
};
};
} while (!(_local3));
_local6 = Math.random();
if (_local6 > 0.93){
_local9 = new TreasureChest();
_local9.createAndRegister(_local4, _local5);
_local9.doWhiteIn();
} else {
_local10 = Collectible.randomType();
_local10.createAndRegister(((_local4 * 24) + 12), ((_local5 * 24) + 12), 0, 0);
_local10.doWhiteIn();
};
NitromeGame.sound_manager.playSound("beamIn");
if (Math.random() >= 0.5){
= (200 + Math.floor((600 * Math.random())));
};
};
};
();
Controller.background.advance();
();
();
}
public function getTileWrap(_arg1:Number, _arg2:Number):Tile{
var _local3:Number;
var _local4:Number;
_local3 = (_arg1 % gridWidth);
if (_local3 < 0){
_local3 = (_local3 + gridWidth);
};
_local4 = (_arg2 % gridHeight);
if (_local4 < 0){
_local4 = (_local4 + gridHeight);
};
return (tileGrid[_local3][_local4]);
}
public function
(_arg1:Boolean=false):void{
var _local2:Number;
if (((((Controller.twoPlayerGame) && (player1.alive))) && (player2.alive))){
if (Math.abs((player1.x - player2.x)) < 500){
= ((player1.x + player2.x) / 2);
} else {
= (Math.min(player1.x, player2.x) + 250);
};
if (Math.abs((player1.y - player2.y)) < 350){
= ((player1.y + player2.y) / 2);
} else {
= (Math.max(player1.y, player2.y) - 175);
};
} else {
if (((Controller.twoPlayerGame) && (player2.alive))){
= player2.x;
= player2.y;
} else {
if (player1.alive){
= player1.x;
= player1.y;
} else {
return;
};
};
};
if ((gridWidth * 24) <= 552){
= (gridWidth * 12);
} else {
if ( > ((gridWidth * 24) - 275)){
= ((gridWidth * 24) - 275);
} else {
if ( < 275){
= 275;
};
};
};
if ((gridHeight * 24) <= 400){
= (gridHeight * 12);
} else {
if (
> ((gridHeight * 24) - 200)){
= ((gridHeight * 24) - 200);
} else {
if (
< 200){
= 200;
};
};
};
if (!_arg1){
_local2 = 32;
if (pixelHeight < (400 + 24)){
_local2 = 1;
};
Controller.content.x = Global.slide(Controller.content.x, (275 - ), 32);
Controller.content.y = Global.slide(Controller.content.y, (200 -
), _local2);
};
}
public function getTile(_arg1:Number, _arg2:Number):Tile{
if (!tileGrid[_arg1]){
return (null);
};
return (tileGrid[_arg1][_arg2]);
}
public function failed():void{
if (((!(ended)) && (!(LOCKED_IN)))){
Controller.popup.open("failed");
ended = true;
};
}
public function ():void{
if (((!(ended)) && (!(LOCKED_IN)))){
if (Controller.twoPlayerGame){
Score.value = (Score.value + player1.score);
Score.value = (Score.value + player2.score);
if (((player1.alive) && (!(player2.alive)))){
Controller.player1Wins++;
Controller.latestWinner = 1;
Controller.popup.open("1p_win");
} else {
if (((player2.alive) && (!(player1.alive)))){
Controller.player2Wins++;
Controller.latestWinner = 2;
Controller.popup.open("2p_win");
} else {
if (player1.score > player2.score){
Controller.player1Wins++;
Controller.latestWinner = 1;
Controller.popup.open("1p_win");
} else {
if (player2.score > player1.score){
Controller.player2Wins++;
Controller.latestWinner = 2;
Controller.popup.open("2p_win");
} else {
Controller.latestWinner = 0;
Controller.popup.open("draw");
};
};
};
};
} else {
Score.value = (Score.value + player1.score);
Controller.popup.open("complete");
};
NitromeGame.setLevelUnlocked((Controller.loadedLevelNumber + 1));
ended = true;
};
}
public function getScore():Number{
if (Controller.twoPlayerGame){
return ((player1.score + player2.score));
};
return (player1.score);
}
public function ():Tile{
var _local1:Array;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Tile;
var _local6:Boolean;
_local1 = [];
_local2 = 0;
while (_local2 < Controller.level.gridHeight) {
_local4 = 0;
while (_local4 < Controller.level.gridWidth) {
_local5 = Controller.level.getTile(_local4, _local2);
if (!_local5){
} else {
_local6 = false;
if (_local4 == 0){
_local6 = !(Controller.level.getTile((_local4 + 1), _local2));
} else {
if (_local4 == (Controller.level.gridWidth - 1)){
_local6 = !(Controller.level.getTile((_local4 - 1), _local2));
} else {
_local6 = ((!(Controller.level.getTile((_local4 - 1), _local2))) && (!(Controller.level.getTile((_local4 + 1), _local2))));
};
};
if (_local6){
_local1.push(_local5);
};
};
_local4++;
};
_local2++;
};
_local3 = Math.floor((Math.random() * _local1.length));
return (_local1[_local3]);
}
public function ():void{
Controller.root.playerInfo1.advance();
Controller.root.playerInfo2.advance();
}
public function pause():void{
var _local1:Number;
if (paused){
return;
};
paused = true;
_local1 = 0;
while (_local1 < .length) {
if ([_local1].sendPause){
[_local1].pause();
};
_local1++;
};
_local1 = 0;
while (_local1 < objectList.length) {
objectList[_local1].pause();
_local1++;
};
}
protected function ():void{
var _local1:Number;
var _local2:Tile;
var _local3:Tile;
var _local4:Number;
var _local5:Number;
var _local6:Boolean;
var _local7:Number;
var _local8:Number;
var _local9:RisingPlatform;
_local1 = 0;
_local4 = 0;
while (_local4 < gridHeight) {
_local6 = false;
_local7 = 0;
while (_local7 < gridWidth) {
_local2 = getTile(_local7, _local4);
if (((_local2) && (_local2.solid))){
if (!_local6){
_local6 = true;
_local1++;
};
_local2.surfaceIndex = _local1;
} else {
_local6 = false;
};
_local7++;
};
_local2 = getTile(0, _local4);
_local3 = getTile((gridWidth - 1), _local4);
if (((((((_local2) && (_local2.solid))) && (_local3))) && (_local3.solid))){
_local8 = _local3.surfaceIndex;
_local7 = 0;
while (_local7 < gridWidth) {
_local2 = getTile(_local7, _local4);
if (((_local2) && (_local2.solid))){
_local2.surfaceIndex = _local8;
} else {
break;
};
_local7++;
};
};
_local4++;
};
_local5 = 0;
while (_local5 < Controller.level.objectList.length) {
_local9 = (Controller.level.objectList[_local5] as RisingPlatform);
if (!_local9){
} else {
++_local1;
_local9.surfaceIndex = _local1;
};
_local5++;
};
}
public function destroy():void{
var _local1:Number;
_local1 = (.length - 1);
while (_local1 >= 0) {
[_local1].destroy();
_local1--;
};
_local1 = (objectList.length - 1);
while (_local1 >= 0) {
objectList[_local1].destroy();
_local1--;
};
_local1 = (debrisList.length - 1);
while (_local1 >= 0) {
debrisList[_local1].destroy();
_local1--;
};
= null;
tileGrid = null;
}
protected function ():void{
var _local1:Number;
var _local2:Boolean;
var _local3:Boolean;
var _local4:Boolean;
var _local5:Boolean;
if (ended){
return;
};
_local2 = false;
_local3 = false;
_local4 = false;
_local1 = 0;
while (_local1 < objectList.length) {
if ((objectList[_local1] is Enemy)){
_local3 = true;
if ((objectList[_local1] as Enemy).alive){
_local2 = true;
};
};
if ((objectList[_local1] is Collectible)){
_local4 = true;
};
if ((objectList[_local1] is TreasureChest)){
_local4 = true;
};
_local1++;
};
if (((((_local3) && (!(_local2)))) && (!(_local4)))){
++;
if ( > 50){
();
};
} else {
= 0;
};
_local5 = false;
if (player1.alive){
_local5 = true;
};
if (((((Controller.twoPlayerGame) && (player2))) && (player2.alive))){
_local5 = true;
};
if (!_local5){
++;
if (
> 30){
failed();
};
} else {
= 0;
};
}
public function create(_arg1:XML):void{
var unserialize:Function;
var list:Array;
var x:Number;
var y:Number;
var n:Number;
var itemType:String;
var itemClass:Class;
var activeObjectTypes:Object;
var theGemTile:Tile;
var newTile:Tile;
var newObject:ActiveObject;
var xml = _arg1;
unserialize = function (_arg1:String):Array{
var _local2:Array;
var _local3:Array;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local7:String;
var _local8:Number;
var _local9:Number;
_local2 = _arg1.split(",");
_local3 = [];
_local4 = 0;
while (_local4 < _local2.length) {
_local5 = _local2[_local4];
if (_local5.indexOf(":") == -1){
_local3.push(Global.trim(_local5));
} else {
_local6 = _local5.split(":");
_local7 = Global.trim(_local6[0]);
_local8 = Number(_local6[1]);
_local9 = 0;
while (_local9 < _local8) {
_local3.push(_local7);
_local9++;
};
};
_local4++;
};
return (_local3);
};
gridWidth = Number(xml.@w);
gridHeight = Number(xml.@h);
pixelWidth = (gridWidth * 24);
pixelHeight = (gridHeight * 24);
= [];
tileGrid = [];
objectList = [];
x = 0;
while (x < gridWidth) {
tileGrid[x] = [];
x = (x + 1);
};
= [];
list = unserialize(xml.t);
n = 0;
for (;n < list.length;(n = (n + 1))) {
x = (n % gridWidth);
y = int((n / gridWidth));
itemType = ("tile_" + list[n]);
itemClass = (getDefinitionByName(itemType) as Class);
//unresolved jump
var _slot1 = e;
continue;
newTile = new (itemClass);
newTile.create(x, y, itemType);
.push(newTile);
tileGrid[x][y] = newTile;
if (newTile.sendAdvance){
.push(newTile);
};
};
activeObjectTypes = {p1:Player1, p2:Player2, eb:BlobNormal, ebp:BlobPlus, ebe:Behemoth, ebm:BlackMan, ef:Bat, ehg:HelmetGuardNormal, ehgp:HelmetGuardPlus, ehr:HogRider, ek:KingNormal, ekp:KingPlus, esg:ShieldGuard, et:Teethy, eth:Thief, pc:CeilingPlatform, pfa:FlickerPlatformA, pfb:FlickerPlatformB, pr4:RisingPlatform4x1, pr3:RisingPlatform3x1, psha:SwitchPlatformHA, pshb:SwitchPlatformHB, csc:SilverCoin, cgc:GoldCoin, cg:Gem, sign:Sign};
list = unserialize(xml.a);
n = 0;
while (n < list.length) {
x = (n % gridWidth);
y = int((n / gridWidth));
itemType = list[n];
itemClass = activeObjectTypes[itemType];
if (!itemClass){
} else {
if ((((itemClass == Player2)) && (!(Controller.twoPlayerGame)))){
} else {
newObject = new (itemClass);
newObject.classConstructor = itemClass;
newObject.create(x, y, itemType);
objectList.push(newObject);
if ((newObject is Player1)){
player1 = (newObject as Player);
};
if ((newObject is Player2)){
player2 = (newObject as Player);
};
if ((newObject is Sign)){
(newObject as Sign).setText(xml.s.(@x == x).(@y == y));
};
};
};
n = (n + 1);
};
playerList = (Controller.twoPlayerGame) ? [player1, player2] : [player1];
debrisList = [];
();
theGemTile = ();
if (theGemTile){
theGemTile.gemTile = true;
};
if (Math.random() > 0.1){
= (200 + Math.floor((600 * Math.random())));
} else {
= Infinity;
};
SwitchTile.switchPosition = false;
}
public function unpause():void{
var _local1:Number;
if (!paused){
return;
};
paused = false;
_local1 = 0;
while (_local1 < .length) {
if ([_local1].sendPause){
[_local1].unpause();
};
_local1++;
};
_local1 = 0;
while (_local1 < objectList.length) {
objectList[_local1].unpause();
_local1++;
};
}
}
}//package com.nitrome.twinshot
Section 83
//MotiveObject (com.nitrome.twinshot.MotiveObject)
package com.nitrome.twinshot {
public class MotiveObject extends ActiveObject {
public var
:Number;// = 20
public var extentToLeft:Number;
public var velocityX:Number;// = 0
public var velocityY:Number;// = 0
public var floorBounceFactor:Number;// = 0.5
public var
:Number;// = 0.1
public var extentBelow:Number;
public var objectUnderneath:ActiveObject;// = null
public var tileUnderneath:Tile;// = null
public var pushedAgainstWall:Boolean;// = false
public var onGround:Boolean;// = false
public var :Number;// = 3
public var weight:Number;// = 1
public var landsOnArrows:Boolean;// = true
public var groundSpeedX:Number;// = 0
public var applyWeight:Boolean;// = true
public var extentAbove:Number;
public var surfaceIndexUnderneath:Number;
public var extentToRight:Number;
public var wallBounceFactor:Number;// = 0.5
public function MotiveObject(){
velocityX = 0;
velocityY = 0;
onGround = false;
weight = 1;
applyWeight = true;
wallBounceFactor = 0.5;
floorBounceFactor = 0.5;
= 0.1;
= 3;
landsOnArrows = true;
pushedAgainstWall = false;
groundSpeedX = 0;
= 20;
objectUnderneath = null;
tileUnderneath = null;
super();
}
protected function horizontalMotion():void{
var _local1:Number;
var _local2:Raycast;
_local1 = (x + velocityX);
pushedAgainstWall = false;
();
if (velocityX > 0){
_local2 = Raycast.fatRaycastX((x + extentToRight), 1, (y - extentAbove), (y + extentBelow));
if (((_local2) && ((_local2.distance < velocityX)))){
_local1 = (x + _local2.distance);
velocityX = (velocityX * -(wallBounceFactor));
if (groundSpeedX > 0){
pushedAgainstWall = true;
};
};
} else {
if (velocityX < 0){
_local2 = Raycast.fatRaycastX((x - extentToLeft), -1, (y - extentAbove), (y + extentBelow));
if (((_local2) && ((_local2.distance < -(velocityX))))){
_local1 = (x - _local2.distance);
velocityX = (velocityX * -(wallBounceFactor));
if (groundSpeedX < 0){
pushedAgainstWall = true;
};
};
};
};
x = _local1;
}
protected function
():Boolean{
var _local1:Platform;
var _local2:Arrow;
if (((((objectUnderneath) && (!(objectUnderneath.destroyed)))) && ((velocityY >= 0)))){
if ((objectUnderneath is Platform)){
if (!(objectUnderneath as Platform).solidOnTop){
return (false);
};
_local1 = (objectUnderneath as Platform);
if (((((x + extentToRight) > (_local1.x - _local1.extentToLeft))) && (((x - extentToLeft) < (_local1.x + _local1.extentToRight))))){
y = (_local1.y - extentBelow);
velocityY = 0;
onGround = true;
return (true);
};
} else {
if ((objectUnderneath is Arrow)){
_local2 = (objectUnderneath as Arrow);
if (!_local2.inWall){
return (false);
};
if (((((x + extentToRight) > (_local2.x - _local2.extentToLeft))) && (((x - extentToLeft) < (_local2.x + _local2.extentToRight))))){
y = (_local2.y - extentBelow);
velocityY = 0;
onGround = true;
return (true);
};
};
};
};
return (false);
}
public function intersects(_arg1:MotiveObject):Boolean{
var _local2:Number;
var _local3:Number;
_local2 = 0;
_local3 = 0;
if (_arg1.x > (x + (Controller.level.pixelWidth / 2))){
_local2 = -(Controller.level.pixelWidth);
};
if (_arg1.x < (x - (Controller.level.pixelWidth / 2))){
_local2 = Controller.level.pixelWidth;
};
if (_arg1.y > (y + (Controller.level.pixelHeight / 2))){
_local3 = -(Controller.level.pixelHeight);
};
if (_arg1.y < (y - (Controller.level.pixelHeight / 2))){
_local3 = Controller.level.pixelHeight;
};
if ((x + extentToRight) <= ((_arg1.x + _local2) - _arg1.extentToLeft)){
return (false);
};
if ((x - extentToLeft) >= ((_arg1.x + _local2) + _arg1.extentToRight)){
return (false);
};
if ((y + extentBelow) <= ((_arg1.y + _local3) - _arg1.extentAbove)){
return (false);
};
if ((y - extentAbove) >= ((_arg1.y + _local3) + _arg1.extentBelow)){
return (false);
};
return (true);
}
public function
(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Boolean{
var _local5:Number;
var _local6:Number;
_local5 = 0;
_local6 = 0;
if (_arg1 > (x + (Controller.level.pixelWidth / 2))){
_local5 = -(Controller.level.pixelWidth);
};
if (_arg1 < (x - (Controller.level.pixelWidth / 2))){
_local5 = Controller.level.pixelWidth;
};
if (_arg3 > (y + (Controller.level.pixelHeight / 2))){
_local6 = -(Controller.level.pixelHeight);
};
if (_arg3 < (y - (Controller.level.pixelHeight / 2))){
_local6 = Controller.level.pixelHeight;
};
if ((x + extentToRight) <= (_arg1 + _local5)){
return (false);
};
if ((x - extentToLeft) >= (_arg2 + _local5)){
return (false);
};
if ((y + extentBelow) <= (_arg3 + _local5)){
return (false);
};
if ((y - extentAbove) >= (_arg4 + _local5)){
return (false);
};
return (true);
}
public function debugDrawBoundaries():void{
graphics.clear();
graphics.lineStyle(1, 0xFF0000);
graphics.drawRect(-(extentToLeft), -(extentAbove), (extentToLeft + extentToRight), (extentAbove + extentBelow));
}
public function wrap():void{
while (x <= 0) {
x = (x + (Controller.level.gridWidth * 24));
};
while (x > (Controller.level.gridWidth * 24)) {
x = (x - (Controller.level.gridWidth * 24));
};
while (y <= 0) {
y = (y + (Controller.level.gridHeight * 24));
};
while (y > (Controller.level.gridHeight * 24)) {
y = (y - (Controller.level.gridHeight * 24));
};
}
override public function advance():void{
horizontalMotion();
verticalMotion();
}
public function pointWithin(_arg1:Number, _arg2:Number):Boolean{
var _local3:Number;
var _local4:Number;
_local3 = 0;
_local4 = 0;
if (_arg1 > (x + (Controller.level.pixelWidth / 2))){
_local3 = -(Controller.level.pixelWidth);
};
if (_arg1 < (x - (Controller.level.pixelWidth / 2))){
_local3 = Controller.level.pixelWidth;
};
if (_arg2 > (y + (Controller.level.pixelHeight / 2))){
_local4 = -(Controller.level.pixelHeight);
};
if (_arg2 < (y - (Controller.level.pixelHeight / 2))){
_local4 = Controller.level.pixelHeight;
};
if ((_arg1 + _local3) >= (x + extentToRight)){
return (false);
};
if ((_arg1 + _local3) <= (x - extentToLeft)){
return (false);
};
if ((_arg2 + _local4) >= (y + extentBelow)){
return (false);
};
if ((_arg2 + _local4) <= (y - extentAbove)){
return (false);
};
return (true);
}
protected function verticalMotion():void{
var _local1:Number;
var _local2:Raycast;
var _local3:Number;
if (((applyWeight) && ((velocityY <
)))){
velocityY = (velocityY + weight);
};
if (
()){
return;
};
onGround = false;
objectUnderneath = null;
tileUnderneath = null;
groundSpeedX = 0;
_local1 = (y + velocityY);
if (velocityY > 0){
_local2 = Raycast.fatRaycastY(((y + extentBelow) - ), 1, (x - extentToLeft), (x + extentToRight), true, landsOnArrows);
if (((_local2) && (((_local2.distance - ) < velocityY)))){
_local1 = ((y + _local2.distance) - );
velocityY = (velocityY * -(floorBounceFactor));
if (-(velocityY) <
){
velocityY = 0;
};
onGround = true;
objectUnderneath = _local2.hitObject;
tileUnderneath = _local2.hitTile;
if (tileUnderneath){
surfaceIndexUnderneath = tileUnderneath.surfaceIndex;
} else {
if ((objectUnderneath is RisingPlatform)){
surfaceIndexUnderneath = (objectUnderneath as RisingPlatform).surfaceIndex;
};
};
_local3 = 0;
while (_local3 < _local2.tiles.length) {
if (_local2.tiles[_local3].groundSpeedX){
groundSpeedX = _local2.tiles[_local3].groundSpeedX;
};
_local3++;
};
};
} else {
_local2 = Raycast.fatRaycastY((y - extentAbove), -1, (x - extentToLeft), (x + extentToRight), true, landsOnArrows);
if (((_local2) && ((_local2.distance < -(velocityY))))){
_local1 = (y - _local2.distance);
velocityY = 0;
};
};
y = _local1;
}
public function hitByArrow(_arg1:Arrow):Boolean{
return (false);
}
}
}//package com.nitrome.twinshot
Section 84
//Platform (com.nitrome.twinshot.Platform)
package com.nitrome.twinshot {
public class Platform extends ActiveObject {
public var extentToLeft:Number;
public var solidOnTop:Boolean;// = true
public var canDetectSides:Boolean;// = true
public var surfaceIndex:Number;
public var extentBelow:Number;
public var solidOnSides:Boolean;// = true
public var extentAbove:Number;
public var solidUnderneath:Boolean;// = false
public var extentToRight:Number;
public function Platform(){
solidOnTop = true;
solidOnSides = true;
solidUnderneath = false;
canDetectSides = true;
super();
}
public function getLeftX():Number{
return ((x - extentToLeft));
}
public function getRightX():Number{
return ((x + extentToRight));
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
x = (_arg1 * 24);
y = (_arg2 * 24);
extentToLeft = 48;
extentToRight = 48;
extentAbove = 0;
extentBelow = 24;
Controller.platformLayer.addChild(this);
}
}
}//package com.nitrome.twinshot
Section 85
//Player (com.nitrome.twinshot.Player)
package com.nitrome.twinshot {
import flash.display.*;
import flash.geom.*;
import com.nitrome.util.*;
import flash.filters.*;
public class Player extends MotiveObject {
public var
:Boolean;// = false
public var :DizzyStars;
public var :Number;
public var powerup:Number;// = 0
public var facingRight:Boolean;// = true
public var score:Number;// = 0
public var :Boolean;// = false
public var alive:Boolean;// = true
public var flickering:Number;// = 0
public var hits:Number;// = 3
public var number:Number;
public var :MovieClip;
public var powerupFlash:Number;// = 0
public var
:Number;// = 0
public var :Boolean;// = false
public var invincibleTime:Number;// = 0
public var :Number;// = 0
public var :Boolean;// = false
public static const POWERUP_SPEED:Number = 2;
public static const WALK_SPEED_DIZZY:Number = 4;
public static const INVINCIBILITY_TIME:Number = 500;
public static const POWERUP_INVINCIBILITY:Number = 3;
public static const POWERUP_FLIGHT:Number = 1;
public static const WALK_SPEED_POWEREDUP:Number = 15;
public static const FLICKER_TIME:Number = 50;
public static const WALK_SPEED_NORMAL:Number = 10;
public static const POWERUP_NONE:Number = 0;
public static const DIZZY_TIME:Number = 70;
public static const INVINCIBLE:Boolean = false;
public function Player(){
facingRight = true;
= 0;
= false;
flickering = 0;
= false;
= -(Infinity);
= false;
hits = 3;
score = 0;
alive = true;
powerup = POWERUP_NONE;
powerupFlash = 0;
= false;
invincibleTime = 0;
= 0;
super();
}
public function ():Player{
if (number == 2){
return (Controller.level.player1);
};
return (Controller.level.player2);
}
protected function ():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
_local1 = (x + Controller.content.x);
_local2 = ((y + Controller.content.y) - (extentAbove / 2));
if ((((((((((_local1 > -10)) && ((_local1 < 560)))) && ((_local2 > -20)))) && ((_local2 < 420)))) || (!(alive)))){
if (.parent){
.parent.removeChild();
};
return;
};
.x = _local1;
.y = _local2;
if (_local1 < 20){
.x = 20;
};
if (_local1 > 530){
.x = 530;
};
if (_local2 < 20){
.y = 20;
};
if (_local2 > 380){
.y = 380;
};
_local3 = Math.atan2((_local2 - .y), (_local1 - .x));
.triangle.rotation = (((_local3 * 180) / Math.PI) + 90);
if (!.parent){
Controller.root.addChild();
};
}
protected function ():void{
var _local1:Number;
var _local2:Enemy;
var _local3:Collectible;
if (flickering > 0){
flickering--;
};
if (((
) || (flickering))){
return;
};
_local1 = 0;
for (;_local1 < Controller.level.objectList.length;_local1++) {
if ((Controller.level.objectList[_local1] is Enemy)){
_local2 = (Controller.level.objectList[_local1] as Enemy);
if (!_local2.alive){
continue;
};
if (!_local2.isHarmful()){
continue;
};
if (intersects(_local2)){
hit(_local2);
};
} else {
if ((Controller.level.objectList[_local1] is Collectible)){
_local3 = (Controller.level.objectList[_local1] as Collectible);
if (_local3.collected){
} else {
if (intersects(_local3)){
collect(_local3);
};
};
};
};
};
}
override public function advance():void{
var _local1:Boolean;
var _local2:Debris;
if (alive){
_local1 = onGround;
();
super.advance();
if (onGround){
= false;
};
if (
> 0){
--;
};
if (((!(Controller.level.ended)) && ((invincibleTime > 0)))){
invincibleTime--;
if ((((invincibleTime < 1)) && ((powerup == POWERUP_INVINCIBILITY)))){
powerup = POWERUP_NONE;
};
};
if (powerupFlash > 0){
powerupFlash = (powerupFlash - 0.2);
if (powerupFlash < 0){
powerupFlash = 0;
};
};
wrap();
();
if (((onGround) && (!(_local1)))){
_local2 = new LandPuff();
_local2.create(Controller.playerLayer, x, y);
if (objectUnderneath){
_local2.lockY = objectUnderneath;
};
};
} else {
();
};
animation();
();
}
override public function addClones():void{
if (alive){
super.addClones();
} else {
super.removeClones();
};
}
override protected function verticalMotion():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Tile;
if (((onGround) && (tileUnderneath))){
_local1 = Math.floor(((x - extentToLeft) / 24));
_local2 = Math.floor(((x + extentToRight) / 24));
_local3 = Math.floor((y / 24));
_local4 = _local1;
while (_local4 <= _local2) {
_local5 = Controller.level.getTileWrap(_local4, _local3);
if (((_local5) && (_local5.sendContact))){
_local5.playerContact(this);
};
_local4++;
};
};
if (onGround){
= false;
};
if ((((powerup == POWERUP_FLIGHT)) && ((velocityY > -3)))){
= true;
};
applyWeight = ((onGround) || (!()));
super.verticalMotion();
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (((
) || (flickering))){
return (false);
};
if (Controller.level.ended){
return (false);
};
if (powerup == POWERUP_INVINCIBILITY){
return (false);
};
if (INVINCIBLE){
return (false);
};
= true;
= DIZZY_TIME;
velocityY = -8;
velocityX = (facingRight) ? -3 : 3;
NitromeGame.sound_manager.playSound("playerHitByArrow");
return (true);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
if ((this is Player1)){
number = 1;
} else {
if ((this is Player2)){
number = 2;
};
};
x = ((_arg1 * 24) + 12);
y = ((_arg2 * 24) + 24);
extentToLeft = 12;
extentToRight = 12;
extentAbove = 38;
extentBelow = 0;
wallBounceFactor = 0;
floorBounceFactor = 0;
= new DizzyStars();
visible = false;
if (number == 1){
= new Player1OutOfView();
powerup = Controller.player1Powerup;
invincibleTime = Controller.player1InvincibilityTime;
} else {
= new Player2OutOfView();
powerup = Controller.player2Powerup;
invincibleTime = Controller.player2InvincibilityTime;
};
Controller.playerLayer.addChild(this);
}
override public function unpause():void{
super.unpause();
if (currentLabel == "hit"){
return;
};
if (currentLabel == "dead"){
return;
};
play();
}
protected function ():void{
if ((((y <= ((Controller.level.gridHeight * 24) + 100))) || ((y <= 600)))){
velocityY++;
y = (y + velocityY);
visible = true;
};
}
public function collect(_arg1:Collectible):void{
var _local2:FloatingScore;
if (_arg1.releaseTime > 0){
return;
};
if (_arg1.worth > 0){
_local2 = new FloatingScore();
_local2.create(_arg1.x, _arg1.y, _arg1.worth);
};
_arg1.collect(this);
}
protected function fireArrow():void{
var _local1:Arrow;
if (isClone){
return;
};
_local1 = new Arrow();
_local1.createAndRegister(this);
= true;
= Controller.frameNumber;
}
protected function animation():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
if (((((alive) && ((flickering > 0)))) && ((flickering < (FLICKER_TIME - 10))))){
visible = ((Controller.frameNumber % 3) < 2);
} else {
visible = true;
};
if (
> 0){
if (!.parent){
parent.addChild();
};
.x = x;
.y = (y - 48);
} else {
if (.parent){
.parent.removeChild();
};
};
_local1 = (powerupFlash * 128);
if (((((alive) && ((powerup == POWERUP_INVINCIBILITY)))) && ((((invincibleTime > 60)) || (((Controller.frameNumber % 3) < 2)))))){
_local2 = (((Controller.frameNumber % 3))<2) ? 8454143 : 0xFFFFFF;
_local3 = ((Math.random())>0.8) ? 12 : 8;
filters = [new GlowFilter(_local2, 1, _local3, _local3, 2, 2)];
transform.colorTransform = new ColorTransform(1, 1, 1, 1, (32 + _local1), (32 + _local1), (32 + _local1));
} else {
filters = [];
transform.colorTransform = new ColorTransform(1, 1, 1, 1, _local1, _local1, _local1);
};
if (!alive){
gotoAndStop("dead");
} else {
if (((
) && ((flickering > 0)))){
gotoAndStop("hit");
} else {
if (currentLabel == "attack"){
} else {
if (onGround){
if ((((velocityX == groundSpeedX)) || (pushedAgainstWall))){
= 0;
if (
> 0){
if (currentLabel != "dizzyStand"){
gotoAndPlay("dizzyStand");
};
} else {
if (currentLabel != "stand"){
gotoAndPlay("stand");
};
};
} else {
= ( + (Math.abs((velocityX - groundSpeedX)) / 10));
if ( >= 7){
= ( - 7);
};
if ( < 0){
= ( + 7);
};
if (
> 0){
gotoAndStop((Global.findLabel(this, "dizzyWalkCycle").frame + int()));
} else {
gotoAndStop((Global.findLabel(this, "walkCycle").frame + int()));
};
};
} else {
if (){
if (currentLabel != "fly"){
gotoAndPlay("fly");
};
} else {
if (velocityY >= 0){
if (currentLabel != "fall"){
gotoAndPlay("fall");
};
} else {
if (currentLabel != "jump"){
gotoAndPlay("jump");
};
};
};
};
};
};
};
scaleX = (facingRight) ? 1 : -1;
}
public function hit(_arg1, _arg2:Boolean=true):void{
if (((
) || (flickering))){
return;
};
if (Controller.level.ended){
return;
};
if (powerup == POWERUP_INVINCIBILITY){
return;
};
if (INVINCIBLE){
return;
};
= true;
flickering = FLICKER_TIME;
velocityY = -15;
velocityX = (facingRight) ? -4 : 4;
= false;
powerup = POWERUP_NONE;
if (_arg2){
hits--;
if (hits < 1){
alive = false;
NitromeGame.sound_manager.playSound("playerDeath");
} else {
NitromeGame.sound_manager.playSound("playerHit");
};
};
}
protected function ():void{
var _local1:Boolean;
var _local2:Number;
var _local3:Boolean;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Boolean;
var _local9:Boolean;
var _local10:Boolean;
_local1 = !(Controller.level.ended);
if (
> 0){
_local2 = WALK_SPEED_DIZZY;
} else {
if (powerup == POWERUP_SPEED){
_local2 = WALK_SPEED_POWEREDUP;
} else {
_local2 = WALK_SPEED_NORMAL;
};
};
_local3 = false;
if (((Key.isDown(Key.LEFT)) && ((((number == 1)) || (!(Controller.twoPlayerGame)))))){
_local3 = true;
};
if (((Key.isDown(Key.A)) && ((((number == 2)) || (!(Controller.twoPlayerGame)))))){
_local3 = true;
};
_local4 = false;
if (((Key.isDown(Key.RIGHT)) && ((((number == 1)) || (!(Controller.twoPlayerGame)))))){
_local4 = true;
};
if (((Key.isDown(Key.D)) && ((((number == 2)) || (!(Controller.twoPlayerGame)))))){
_local4 = true;
};
_local5 = groundSpeedX;
_local6 = 0.8;
_local7 = ((powerup)==POWERUP_SPEED) ? 2 : 1;
_local8 = !(
);
if (((_local4) && (_local1))){
_local5 = (_local2 + groundSpeedX);
_local6 = _local7;
_local8 = true;
facingRight = true;
} else {
if (((_local3) && (_local1))){
_local5 = (-(_local2) + groundSpeedX);
_local6 = _local7;
_local8 = true;
facingRight = false;
};
};
if (_local8){
velocityX = Global.slide(velocityX, _local5, _local6);
};
_local9 = false;
if (((Key.isDown(Key.UP)) && ((((number == 1)) || (!(Controller.twoPlayerGame)))))){
_local9 = true;
};
if (((Key.isDown(Key.W)) && ((((number == 2)) || (!(Controller.twoPlayerGame)))))){
_local9 = true;
};
if (((!(onGround)) && ())){
if (((_local9) && (_local1))){
velocityY = Global.slide(velocityY, -(_local2), 1);
} else {
velocityY = (velocityY + weight);
};
= false;
} else {
if (((_local9) && (_local1))){
if (((onGround) && (!()))){
velocityY = -13;
= true;
NitromeGame.sound_manager.playSound("jump");
} else {
if ((((powerup == POWERUP_FLIGHT)) && (!()))){
= true;
};
};
} else {
= false;
};
};
_local10 = false;
if (((((Key.isDown(Key.CONTROL)) || (Key.isDown(Key.SPACE)))) && ((((number == 1)) || (!(Controller.twoPlayerGame)))))){
_local10 = true;
};
if (((((Key.isDown(Key.F)) || (Key.isDown(Key.G)))) && ((((number == 2)) || (!(Controller.twoPlayerGame)))))){
_local10 = true;
};
if (((_local10) && (_local1))){
if (((!()) && ((Controller.frameNumber > ( + 8))))){
if (currentLabel != "attack"){
gotoAndPlay("attack");
NitromeGame.sound_manager.playSound("arrowFire");
};
};
} else {
= false;
};
}
public function (_arg1:Tile):Boolean{
var _local2:Number;
var _local3:Number;
var _local4:Tile;
if (!onGround){
return (false);
};
if (!_arg1){
return (false);
};
_local2 = Math.floor((x / 24));
_local3 = Math.floor((y / 24));
_local4 = Controller.level.getTile(_local2, _local3);
if (!_local4){
return (false);
};
return ((_arg1.surfaceIndex == _local4.surfaceIndex));
}
override public function pause():void{
super.pause();
stop();
}
override public function destroy():void{
super.destroy();
if (number == 1){
Controller.player1Powerup = powerup;
Controller.player1InvincibilityTime = invincibleTime;
} else {
Controller.player2Powerup = powerup;
Controller.player2InvincibilityTime = invincibleTime;
};
if (.parent){
.parent.removeChild();
};
if (.parent){
.parent.removeChild();
};
}
}
}//package com.nitrome.twinshot
Section 86
//Player1 (com.nitrome.twinshot.Player1)
package com.nitrome.twinshot {
public dynamic class Player1 extends Player {
public function Player1(){
addFrameScript(11, frame12, 30, frame31, 55, frame56, 60, frame61, 72, frame73, 77, frame78, 80, frame81);
}
function frame12(){
gotoAndPlay("stand");
}
function frame31(){
gotoAndPlay("dizzyStand");
}
function frame56(){
gotoAndPlay("jump");
}
function frame61(){
gotoAndPlay("fall");
}
function frame73(){
gotoAndPlay("fly");
}
function frame78(){
fireArrow();
}
function frame81(){
gotoAndPlay("stand");
}
}
}//package com.nitrome.twinshot
Section 87
//Player1OutOfView (com.nitrome.twinshot.Player1OutOfView)
package com.nitrome.twinshot {
import flash.display.*;
public dynamic class Player1OutOfView extends MovieClip {
public var triangle:MovieClip;
}
}//package com.nitrome.twinshot
Section 88
//Player2 (com.nitrome.twinshot.Player2)
package com.nitrome.twinshot {
public dynamic class Player2 extends Player {
public function Player2(){
addFrameScript(11, frame12, 30, frame31, 55, frame56, 60, frame61, 72, frame73, 77, frame78, 80, frame81);
}
function frame12(){
gotoAndPlay("stand");
}
function frame31(){
gotoAndPlay("dizzyStand");
}
function frame56(){
gotoAndPlay("jump");
}
function frame61(){
gotoAndPlay("fall");
}
function frame73(){
gotoAndPlay("fly");
}
function frame78(){
fireArrow();
}
function frame81(){
gotoAndPlay("stand");
}
}
}//package com.nitrome.twinshot
Section 89
//Player2OutOfView (com.nitrome.twinshot.Player2OutOfView)
package com.nitrome.twinshot {
import flash.display.*;
public dynamic class Player2OutOfView extends MovieClip {
public var triangle:MovieClip;
}
}//package com.nitrome.twinshot
Section 90
//PlayerInfo (com.nitrome.twinshot.PlayerInfo)
package com.nitrome.twinshot {
import flash.display.*;
import flash.text.*;
import com.nitrome.util.*;
public class PlayerInfo extends Sprite {
public var life:MovieClip;
public var :Number;// = 0
public var powerup:MovieClip;
public var :Boolean;
public var score:TextField;
public function PlayerInfo(){
= 0;
super();
= (this is PlayerInfo2);
if (){
visible = Controller.twoPlayerGame;
};
}
public function advance():void{
var _local1:Player;
_local1 = () ? Controller.level.player2 : Controller.level.player1;
if (!_local1){
return;
};
life.gotoAndStop((4 - _local1.hits));
score.text = _local1.score.toString();
powerup.gotoAndStop((_local1.powerup + 1));
if (Controller.levelPanningOut){
= Global.slide(, 0, 0.1);
} else {
= Global.slide(, 1, 0.1);
};
y = (375 + (((1 - ) * (1 - )) * 60));
}
}
}//package com.nitrome.twinshot
Section 91
//PlayerInfo1 (com.nitrome.twinshot.PlayerInfo1)
package com.nitrome.twinshot {
public dynamic class PlayerInfo1 extends PlayerInfo {
}
}//package com.nitrome.twinshot
Section 92
//PlayerInfo2 (com.nitrome.twinshot.PlayerInfo2)
package com.nitrome.twinshot {
public dynamic class PlayerInfo2 extends PlayerInfo {
}
}//package com.nitrome.twinshot
Section 93
//Powerup (com.nitrome.twinshot.Powerup)
package com.nitrome.twinshot {
public class Powerup extends Collectible {
public function Powerup(){
worth = 0;
lifetime = 200;
extentToLeft = 12;
extentToRight = 12;
extentAbove = 12;
extentBelow = 12;
}
}
}//package com.nitrome.twinshot
Section 94
//Projectile (com.nitrome.twinshot.Projectile)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class Projectile extends MotiveObject {
public var :Boolean;// = false
public function Projectile(){
= false;
super();
addFrameScript(6, frame7, 13, frame14);
}
function frame14(){
();
}
function frame7(){
gotoAndPlay("spin");
}
override public function advance():void{
var _local1:Number;
var _local2:Player;
if (){
if (currentLabel != "splash"){
super.advance();
if (onGround){
gotoAndPlay("splash");
return;
};
} else {
rotation = 0;
return;
};
} else {
velocityY = (velocityY + weight);
x = (x + velocityX);
y = (y + velocityY);
};
if (x < 0){
x = (x + Controller.level.pixelWidth);
};
if (x >= Controller.level.pixelWidth){
x = (x - Controller.level.pixelWidth);
};
if (y > Controller.level.pixelHeight){
destroy();
};
rotation = (rotation + ((velocityX)>0) ? 10 : -10);
_local1 = 0;
while (_local1 < Controller.level.playerList.length) {
_local2 = Controller.level.playerList[_local1];
if (!_local2){
} else {
if (!_local2.alive){
} else {
if (_local2.intersects(this)){
_local2.hit(this);
};
};
};
_local1++;
};
}
protected function ():void{
var _local1:Blob;
destroy();
_local1 = new BlobNormal();
_local1.create(0, 0, "eb");
_local1.x = x;
_local1.y = ((y + extentBelow) - _local1.extentBelow);
Controller.level.objectList.push(_local1);
}
public function createAndRegister(_arg1:Enemy):void{
x = (_arg1.x + (_arg1.facingRight) ? 15 : -15);
y = (_arg1.y - 40);
velocityX = (_arg1.facingRight) ? 4 : -4;
velocityY = -10;
extentToLeft = 10;
extentToRight = 10;
extentAbove = 10;
extentBelow = 10;
cloneVertical = false;
= (_arg1 is KingPlus);
Controller.enemyLayer.addChild(this);
Controller.level.objectList.push(this);
}
override public function destroy():void{
super.destroy();
Global.removeFromList(this, Controller.level.objectList);
}
}
}//package com.nitrome.twinshot
Section 95
//Raycast (com.nitrome.twinshot.Raycast)
package com.nitrome.twinshot {
public class Raycast {
public var hitTile:Tile;
public var tiles:Array;
public var hitObject:ActiveObject;
public var distance:Number;
public function Raycast(_arg1:Number, _arg2:Tile=null, _arg3:ActiveObject=null){
tiles = [];
super();
distance = _arg1;
hitTile = _arg2;
hitObject = _arg3;
tiles = (_arg2) ? [_arg2] : [];
}
public static function fatRaycastX(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=true):Raycast{
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Raycast;
var _local12:Tile;
var _local13:Number;
var _local14:Function;
var _local15:Array;
var _local16:Number;
var _local17:Number;
var _local18:Platform;
_local6 = _arg1;
if (_arg2 > 0){
_local6--;
};
if (_arg2 < 0){
_local6++;
};
_local7 = Math.floor((_local6 / 24));
if ((((_local7 < 0)) && ((_arg2 < 0)))){
return (null);
};
if ((((_local7 >= Controller.level.gridWidth)) && ((_arg2 > 0)))){
return (null);
};
_local8 = _arg1;
_local9 = Math.floor((_arg3 / 24));
_local10 = (Math.ceil((_arg4 / 24)) - 1);
_local11 = null;
_local14 = Controller.level.getTileWrap;
_local15 = [];
_local13 = _local9;
while (_local13 <= _local10) {
_local12 = _local14(_local7, _local13);
_local15[_local13] = ((_local12) && (_local12.solid));
_local13++;
};
if (_arg2 > 0){
while (_local7 < (Controller.level.gridWidth + 2)) {
_local13 = _local9;
while (_local13 <= _local10) {
_local12 = _local14(_local7, _local13);
if (((((!(_local12)) || (!(_local12.solid)))) || (!(_local12.canDetectSides)))){
_local15[_local13] = false;
} else {
if (!_local12.canDetectSides){
} else {
if (((_arg5) && (!(_local12.solidOnSides)))){
} else {
if (((!(_local12.solidInside)) && (_local15[_local13]))){
} else {
_local11 = new Raycast((_local8 - _arg1), _local12);
//unresolved jump
};
};
};
};
_local13++;
};
++_local7;
_local8 = (_local7 * 24);
};
} else {
while (_local7 >= (0 - 2)) {
_local13 = _local9;
while (_local13 <= _local10) {
_local12 = _local14(_local7, _local13);
if (((((!(_local12)) || (!(_local12.solid)))) || (!(_local12.canDetectSides)))){
_local15[_local13] = false;
} else {
if (((_arg5) && (!(_local12.solidOnSides)))){
} else {
if (((!(_local12.solidInside)) && (_local15[_local13]))){
} else {
_local11 = new Raycast((_arg1 - _local8), _local12);
//unresolved jump
};
};
};
_local13++;
};
--_local7;
_local8 = ((_local7 + 1) * 24);
};
};
_local17 = 0;
for (;_local17 < Controller.level.objectList.length;_local17++) {
if ((Controller.level.objectList[_local17] is Platform)){
_local18 = (Controller.level.objectList[_local17] as Platform);
if (!_local18.canDetectSides){
} else {
if (((_arg5) && (!(_local18.solidOnSides)))){
} else {
if (_local18.y >= _arg4){
} else {
if ((_local18.y + 24) <= _arg3){
} else {
if (_arg2 >= 0){
_local16 = (_local18.x - _local18.extentToLeft);
if (_arg1 > _local16){
continue;
};
if (((!(_local11)) || (((_local16 - _arg1) < _local11.distance)))){
_local11 = new Raycast((_local16 - _arg1), null, _local18);
};
} else {
_local16 = (_local18.x + _local18.extentToRight);
if (_arg1 < _local16){
} else {
if (((!(_local11)) || (((_arg1 - _local16) < _local11.distance)))){
_local11 = new Raycast((_arg1 - _local16), null, _local18);
};
};
};
};
};
};
};
};
};
return (_local11);
}
public static function fatRaycastY(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Boolean=true, _arg6:Boolean=true):Raycast{
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Raycast;
var _local12:Tile;
var _local13:Number;
var _local14:Function;
var _local15:Number;
var _local16:Platform;
var _local17:Arrow;
var _local18:Number;
var _local19:Number;
_local7 = Math.floor((_arg1 / 24));
_local8 = _arg1;
_local9 = Math.floor((_arg3 / 24));
_local10 = (Math.ceil((_arg4 / 24)) - 1);
_local11 = null;
_local14 = Controller.level.getTileWrap;
if (_arg2 > 0){
while (_local7 < (Controller.level.gridHeight + 2)) {
_local13 = _local9;
while (_local13 <= _local10) {
_local12 = _local14(_local13, _local7);
if (((!(_local12)) || (!(_local12.solid)))){
} else {
if (((_arg5) && ((_local8 > (_local7 * 24))))){
} else {
if (((_arg5) && (!(_local12.solidOnTop)))){
} else {
if (_local11){
_local11.tiles.push(_local12);
} else {
_local11 = new Raycast((_local8 - _arg1), _local12);
};
};
};
};
_local13++;
};
if (_local11){
break;
};
++_local7;
_local8 = (_local7 * 24);
};
} else {
while (_local7 >= (0 - 2)) {
_local13 = _local9;
while (_local13 <= _local10) {
_local12 = _local14(_local13, _local7);
if (((!(_local12)) || (!(_local12.solid)))){
} else {
if (((!(_local12.solidInside)) && (_arg5))){
} else {
if (((_arg5) && (!(_local12.solidUnderneath)))){
} else {
_local11 = new Raycast((_arg1 - _local8), _local12);
//unresolved jump
};
};
};
_local13++;
};
--_local7;
_local8 = ((_local7 + 1) * 24);
};
};
_local15 = 0;
for (;_local15 < Controller.level.objectList.length;_local15++) {
if ((((_arg2 >= 0)) && (((_arg6) && ((Controller.level.objectList[_local15] is Arrow)))))){
_local17 = (Controller.level.objectList[_local15] as Arrow);
if (((!(_local17.inWall)) && (_local17.velocityX))){
continue;
};
_local19 = _local17.x;
if (_local19 > (_arg3 + (Controller.level.pixelWidth >> 1))){
_local19 = (_local19 - Controller.level.pixelWidth);
};
if (_local19 < (_arg3 - (Controller.level.pixelWidth >> 1))){
_local19 = (_local19 + Controller.level.pixelWidth);
};
if (_arg4 <= (_local19 - _local17.extentToLeft)){
continue;
};
if (_arg3 >= (_local19 + _local17.extentToRight)){
continue;
};
_local18 = _local17.y;
if (_arg1 > (_local18 + 2)){
_local18 = (_local18 + Controller.level.pixelHeight);
};
if (((!(_local11)) || (((_local18 - _arg1) < (_local11.distance - 2))))){
_local11 = new Raycast((_local18 - _arg1), null, _local17);
};
} else {
if ((Controller.level.objectList[_local15] is Platform)){
_local16 = (Controller.level.objectList[_local15] as Platform);
_local19 = _local16.x;
if (_local19 > (_arg3 + (Controller.level.pixelWidth >> 1))){
_local19 = (_local19 - Controller.level.pixelWidth);
};
if (_local19 < (_arg3 - (Controller.level.pixelWidth >> 1))){
_local19 = (_local19 + Controller.level.pixelWidth);
};
if (_arg4 <= (_local19 - _local16.extentToLeft)){
} else {
if (_arg3 >= (_local19 + _local16.extentToRight)){
} else {
if (_arg2 > 0){
if (!_local16.solidOnTop){
continue;
};
_local18 = _local16.y;
if (_arg1 > (_local18 + 2)){
_local18 = (_local18 + Controller.level.pixelHeight);
};
if (((!(_local11)) || (((_local18 - _arg1) < _local11.distance)))){
_local11 = new Raycast((_local18 - _arg1), null, _local16);
};
} else {
if (!_local16.solidUnderneath){
} else {
_local18 = (_local16.y + _local16.extentBelow);
if (_arg1 < (_local18 - 2)){
_local18 = (_local18 - Controller.level.pixelHeight);
};
if (((!(_local11)) || (((_arg1 - _local18) < _local11.distance)))){
_local11 = new Raycast((_arg1 - _local18), null, _local16);
};
};
};
};
};
};
};
};
return (_local11);
}
public static function raycastX(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=true):Raycast{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Tile;
var _local10:Boolean;
var _local11:Raycast;
var _local12:Number;
var _local13:Number;
var _local14:Platform;
_local5 = _arg2;
_local6 = Math.floor((_local5 / 24));
if (_local6 < 0){
return (null);
};
if (_local6 >= Controller.level.gridHeight){
return (null);
};
_local7 = _arg1;
_local8 = Math.floor((_local7 / 24));
_local9 = null;
_local9 = Controller.level.getTile(_local8, _local6);
_local10 = ((_local9) && (_local9.solid));
_local11 = null;
if (_arg3 >= 0){
if (_local8 < 0){
_local7 = 0;
_local8 = _local7;
};
while (_local8 < Controller.level.gridWidth) {
_local9 = Controller.level.tileGrid[_local8][_local6];
if (((((!(_local9)) || (!(_local9.solid)))) || (!(_local9.canDetectSides)))){
_local10 = false;
} else {
if (((_arg4) && (!(_local9.solidOnSides)))){
} else {
if (((!(_local9.solidInside)) && (_local10))){
} else {
_local11 = new Raycast((_local7 - _arg1), _local9);
break;
};
};
};
++_local8;
_local7 = (_local8 * 24);
};
} else {
if (_local8 >= Controller.level.gridWidth){
_local8 = (Controller.level.gridWidth - 1);
_local7 = ((_local8 + 1) * 24);
};
while (_local8 >= 0) {
_local9 = Controller.level.tileGrid[_local8][_local6];
if (((((!(_local9)) || (!(_local9.solid)))) || (!(_local9.canDetectSides)))){
_local10 = false;
} else {
if (((_arg4) && (!(_local9.solidOnSides)))){
} else {
if (((!(_local9.solidInside)) && (_local10))){
} else {
_local11 = new Raycast((_arg1 - _local7), _local9);
break;
};
};
};
--_local8;
_local7 = ((_local8 + 1) * 24);
};
};
if (!_arg4){
_local13 = 0;
for (;_local13 < Controller.level.objectList.length;_local13++) {
if ((Controller.level.objectList[_local13] is Platform)){
_local14 = (Controller.level.objectList[_local13] as Platform);
if (!_local14.canDetectSides){
} else {
if (_local14.y > _arg2){
} else {
if ((_local14.y + 24) < _arg2){
} else {
if (_arg3 >= 0){
_local12 = (_local14.x - _local14.extentToLeft);
if (_arg1 >= _local12){
continue;
};
if (((!(_local11)) || (((_local12 - _arg1) < _local11.distance)))){
_local11 = new Raycast((_local12 - _arg1), null, _local14);
};
} else {
_local12 = (_local14.x + _local14.extentToRight);
if (_arg1 <= _local12){
} else {
if (((!(_local11)) || (((_arg1 - _local12) < _local11.distance)))){
_local11 = new Raycast((_arg1 - _local12), null, _local14);
};
};
};
};
};
};
};
};
};
return (_local11);
}
}
}//package com.nitrome.twinshot
Section 96
//RisingPlatform (com.nitrome.twinshot.RisingPlatform)
package com.nitrome.twinshot {
public class RisingPlatform extends Platform {
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
if ((this is RisingPlatform3x1)){
extentToLeft = 24;
};
}
override public function advance():void{
y--;
if (y < -24){
y = (y + (Controller.level.gridHeight * 24));
};
}
}
}//package com.nitrome.twinshot
Section 97
//RisingPlatform3x1 (com.nitrome.twinshot.RisingPlatform3x1)
package com.nitrome.twinshot {
public dynamic class RisingPlatform3x1 extends RisingPlatform {
}
}//package com.nitrome.twinshot
Section 98
//RisingPlatform4x1 (com.nitrome.twinshot.RisingPlatform4x1)
package com.nitrome.twinshot {
public dynamic class RisingPlatform4x1 extends RisingPlatform {
}
}//package com.nitrome.twinshot
Section 99
//ShieldGuard (com.nitrome.twinshot.ShieldGuard)
package com.nitrome.twinshot {
public class ShieldGuard extends Enemy {
public function ShieldGuard(){
addFrameScript(12, frame13, 20, frame21);
}
function frame13(){
gotoAndPlay("walking");
}
function frame21(){
gotoAndStop("dead");
}
override protected function doDeath():void{
rotation = (rotation + (facingRight) ? -10 : 10);
super.doDeath();
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (_arg1.pointingRight == facingRight){
return (super.hitByArrow(_arg1));
};
_arg1.pingOff();
return (false);
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 16;
extentToRight = 16;
extentAbove = 40;
canJump = false;
}
override public function kill(_arg1:Arrow):void{
var _local2:Debris;
if (alive){
y = (y - 10);
x = (x + (facingRight) ? -8 : 8);
_local2 = new ShieldGuardBrokenShield();
_local2.create(Controller.enemyLayer, (x + (facingRight) ? 10 : -10), (y - 5));
_local2.velocityX = (velocityX + (Math.random() * 2));
_local2.velocityY = -8;
_local2.accelerationY = 1;
_local2.spin = (facingRight) ? 10 : -10;
};
super.kill(_arg1);
}
}
}//package com.nitrome.twinshot
Section 100
//ShieldGuardBrokenShield (com.nitrome.twinshot.ShieldGuardBrokenShield)
package com.nitrome.twinshot {
public dynamic class ShieldGuardBrokenShield extends Debris {
}
}//package com.nitrome.twinshot
Section 101
//Sign (com.nitrome.twinshot.Sign)
package com.nitrome.twinshot {
import flash.text.*;
public class Sign extends ActiveObject {
public var textField:TextField;
public function setText(_arg1:String):void{
textField.text = _arg1.split("|").join("\n");
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
x = (_arg1 * 24);
y = (_arg2 * 24);
Controller.signLayer.addChild(this);
}
}
}//package com.nitrome.twinshot
Section 102
//SilverCoin (com.nitrome.twinshot.SilverCoin)
package com.nitrome.twinshot {
public class SilverCoin extends Collectible {
public function SilverCoin(){
worth = 50;
}
}
}//package com.nitrome.twinshot
Section 103
//SpeedPickup (com.nitrome.twinshot.SpeedPickup)
package com.nitrome.twinshot {
public class SpeedPickup extends Powerup {
override public function collect(_arg1:Player):void{
if (((!(collected)) && (_arg1))){
_arg1.powerup = Player.POWERUP_SPEED;
_arg1.powerupFlash = 1;
};
super.collect(_arg1);
}
}
}//package com.nitrome.twinshot
Section 104
//SpikeTile (com.nitrome.twinshot.SpikeTile)
package com.nitrome.twinshot {
public class SpikeTile extends Tile {
public static const CLEARANCE:Number = 6;
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solid = true;
solidOnTop = true;
solidOnSides = true;
solidUnderneath = true;
solidInside = true;
sendContact = true;
}
override public function playerContact(_arg1:Player):void{
if ((_arg1.x - _arg1.extentToLeft) > (((tileX * 24) + 24) - CLEARANCE)){
return;
};
if ((_arg1.x + _arg1.extentToRight) < ((tileX * 24) + CLEARANCE)){
return;
};
_arg1.hit(this);
}
}
}//package com.nitrome.twinshot
Section 105
//SpringTile (com.nitrome.twinshot.SpringTile)
package com.nitrome.twinshot {
public class SpringTile extends Tile {
public var :Boolean;
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solid = true;
solidOnTop = true;
solidOnSides = true;
solidUnderneath = false;
solidInside = false;
sendContact = true;
= (_arg3 == "tile_sp2");
}
override public function playerContact(_arg1:Player):void{
var _local2:Number;
if (){
_local2 = -29;
} else {
_local2 = -18;
};
if (_arg1.velocityY > _local2){
_arg1.velocityY = _local2;
};
gotoAndPlay("spring");
NitromeGame.sound_manager.playSound("spring");
}
}
}//package com.nitrome.twinshot
Section 106
//SwitchPlatform (com.nitrome.twinshot.SwitchPlatform)
package com.nitrome.twinshot {
import flash.display.*;
import com.nitrome.util.*;
public class SwitchPlatform extends Platform {
public var :Boolean;// = false
public var solidVersion:MovieClip;
public function SwitchPlatform(){
= false;
super();
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
if ((this is SwitchPlatformHA)){
= true;
} else {
= false;
};
advance();
advance();
}
override public function advance():void{
var _local1:Number;
super.advance();
solidOnTop = !((SwitchTile.switchPosition == ));
canDetectSides = solidOnTop;
_local1 = (solidOnTop) ? 1 : 0;
if (solidVersion.alpha != _local1){
solidVersion.alpha = Global.slide(solidVersion.alpha, (solidOnTop) ? 1 : 0, 0.7);
};
}
}
}//package com.nitrome.twinshot
Section 107
//SwitchPlatformHA (com.nitrome.twinshot.SwitchPlatformHA)
package com.nitrome.twinshot {
public dynamic class SwitchPlatformHA extends SwitchPlatform {
}
}//package com.nitrome.twinshot
Section 108
//SwitchPlatformHB (com.nitrome.twinshot.SwitchPlatformHB)
package com.nitrome.twinshot {
public dynamic class SwitchPlatformHB extends SwitchPlatform {
}
}//package com.nitrome.twinshot
Section 109
//SwitchTile (com.nitrome.twinshot.SwitchTile)
package com.nitrome.twinshot {
import flash.display.*;
import com.nitrome.util.*;
public class SwitchTile extends Tile {
public const LEVER_MAX_ANGLE:Number = 20;
public var :Number;
public var lever:MovieClip;
public static var switchPosition:Boolean = false;
public function SwitchTile(){
= -(LEVER_MAX_ANGLE);
super();
}
override public function advance():void{
var _local1:Number;
var _local2:Number;
var _local3:Player;
= Global.slide(, (switchPosition) ? LEVER_MAX_ANGLE : -(LEVER_MAX_ANGLE), 10);
lever.rotation = ;
_local1 = ((tileX * 24) + 12);
_local2 = 0;
while (_local2 < Controller.level.playerList.length) {
_local3 = Controller.level.playerList[_local2];
if ((_local3.y - _local3.extentAbove) > (tileY * 24)){
} else {
if ((_local3.y + _local3.extentBelow) < ((tileY * 24) - 20)){
} else {
if (Math.abs((_local3.x - _local1)) < 10){
if ((((_local3.velocityX > 1)) && ((_local3.x > _local1)))){
(true);
};
if ((((_local3.velocityX < -1)) && ((_local3.x < _local1)))){
(false);
};
};
};
};
_local2++;
};
}
protected function (_arg1:Boolean):void{
if (switchPosition == _arg1){
return;
};
switchPosition = _arg1;
NitromeGame.sound_manager.playSound("lever");
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
solidOnTop = true;
solidOnSides = true;
solidUnderneath = false;
solidInside = false;
sendAdvance = true;
sendContact = true;
}
override public function playerContact(_arg1:Player):void{
var _local2:Number;
_local2 = (_arg1.x - ((tileX * 24) + 12));
if ((((_arg1.velocityX > 1)) && ((_local2 > 0)))){
(true);
};
if ((((_arg1.velocityX < -1)) && ((_local2 < 0)))){
(false);
};
}
}
}//package com.nitrome.twinshot
Section 110
//Teethy (com.nitrome.twinshot.Teethy)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class Teethy extends Enemy {
public const THROW_BACK:Number = 7;
private const FORWARD_RANGE:Number = 300;
public const EAT:Number = 6;
private const BACKWARD_RANGE:Number = 20;
public var :Number;// = 0
public var :Array;
public function Teethy(){
= [];
= 0;
super();
addFrameScript(24, frame25, 30, frame31, 42, frame43, 51, frame52, 59, frame60);
}
override protected function decideNext():void{
if (((((onGround) && ((.length > 0)))) && (( < 1)))){
state = THROW_BACK;
gotoAndPlay("throwBack");
} else {
super.decideNext();
};
}
override public function advance():void{
if (alive){
();
switch (state){
case EAT:
();
break;
case THROW_BACK:
();
break;
};
};
super.advance();
}
function frame43(){
decideNext();
}
function frame31(){
gotoAndPlay("jumping");
}
protected function ():void{
var _local1:Arrow;
_local1 = [0];
if (!_local1){
return;
};
.shift();
_local1.pointingRight = facingRight;
_local1.velocityX = (facingRight) ? Arrow.SPEED : -(Arrow.SPEED);
_local1.velocityY = 0;
_local1.scaleX = (facingRight) ? 1 : -1;
_local1.x = x;
_local1.y = (y - 20);
_local1.rotation = 0;
_local1.visible = true;
_local1.flying = true;
_local1.spinning = false;
_local1.inWall = false;
_local1.onGround = false;
_local1 = null;
}
protected function ():void{
verticalMotion();
}
function frame52(){
();
}
function frame25(){
gotoAndPlay("walking");
}
protected function ():void{
verticalMotion();
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (_arg1.pointingRight == facingRight){
return (super.hitByArrow(_arg1));
};
return (false);
}
function frame60(){
decideNext();
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentToLeft = 18;
extentToRight = 18;
extentAbove = 44;
walkSpeed = 1.1;
}
protected function ():void{
var _local1:Array;
var _local2:Number;
var _local3:Arrow;
var _local4:Array;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local1 = [];
if ((((state == WALKING_FORWARD)) || ((state == EAT)))){
_local2 = 0;
for (;_local2 < Controller.level.objectList.length;_local2++) {
_local3 = (Controller.level.objectList[_local2] as Arrow);
if (!_local3){
} else {
if (!_local3.flying){
} else {
if (_local3.eaten){
} else {
if (_local3.y > ((y + extentBelow) - 2)){
} else {
if (_local3.y < (y - extentAbove)){
} else {
if (_local3.pointingRight){
if (facingRight){
continue;
};
if (_local3.x > (x + BACKWARD_RANGE)){
continue;
};
if (_local3.x < (x - FORWARD_RANGE)){
continue;
};
} else {
if (!facingRight){
continue;
};
if (_local3.x < (x - BACKWARD_RANGE)){
continue;
};
if (_local3.x > (x + FORWARD_RANGE)){
continue;
};
};
_local1.push(_local3);
};
};
};
};
};
};
if (_local1.length > 0){
state = EAT;
_local4 = [];
_local5 = (FORWARD_RANGE + BACKWARD_RANGE);
_local2 = 0;
while (_local2 < _local1.length) {
_local7 = (_local1[_local2].x + (facingRight) ? BACKWARD_RANGE : -(BACKWARD_RANGE));
_local8 = Math.abs((_local7 - x));
if (_local5 > _local8){
_local5 = _local8;
};
if (_local8 < Arrow.SPEED){
_local4.push(_local3);
};
_local2++;
};
_local6 = (7 * (1 - (_local5 / FORWARD_RANGE)));
_local6 = Math.floor(_local6);
if (_local6 < 0){
_local6 = 0;
};
gotoAndStop((Global.findLabel(this, "eat").frame + _local6));
_local2 = 0;
while (_local2 < _local4.length) {
_local4[_local2].visible = false;
_local4[_local2].eaten = true;
.push(_local4[_local2]);
= 8;
_local2++;
};
} else {
if (state == EAT){
if (currentLabel != "eatFinish"){
gotoAndPlay("eatFinish");
};
};
};
};
if (((!((state == EAT))) && (( > 0)))){
--;
};
}
}
}//package com.nitrome.twinshot
Section 111
//Thief (com.nitrome.twinshot.Thief)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class Thief extends Enemy {
public const COLLECT:Number = 39;
public const GLIDE:Number = 42;
public var flickering:Number;// = 0
public var :Number;// = 0.8
public var :Array;
public var hits:Number;// = 3
public var :Collectible;// = null
public function Thief(){
= null;
= [];
hits = 3;
flickering = 0;
= 0.8;
super();
addFrameScript(16, frame17, 27, , 32, frame33, 42, frame43, 55, frame56, 67,
);
}
protected function grab():void{
if (isClone){
return;
};
.push(.classConstructor);
.collect(null);
}
function (){
grab();
}
function frame17(){
gotoAndPlay("walking");
}
override protected function doWalkingForward():void{
var _local1:Collectible;
var _local2:Number;
_local1 = ();
if (_local1){
_local2 = _local1.x;
if ((_local2 - x) > (Controller.level.pixelWidth / 2)){
_local2 = (_local2 - Controller.level.pixelWidth);
};
if ((_local2 - x) < (-(Controller.level.pixelWidth) / 2)){
_local2 = (_local2 + Controller.level.pixelWidth);
};
if (Math.abs((_local2 - x)) < (walkSpeed + 10)){
state = COLLECT;
= _local1;
gotoAndPlay("steal");
} else {
if ((_local2 - x) < 0){
facingRight = false;
velocityX = -(walkSpeed);
} else {
facingRight = true;
velocityX = walkSpeed;
};
};
horizontalMotion();
verticalMotion();
wrap();
return;
};
super.doWalkingForward();
}
override protected function decideNext():void{
var _local1:Number;
var _local2:Raycast;
var _local3:Raycast;
if (isClone){
return;
};
if (onGround){
_local1 = (y + (facingRight) ? 36 : -36);
_local2 = Raycast.fatRaycastY((y + extentBelow), 1, (_local1 - 6), (_local1 + 6));
if (((_local2) && ((_local2.distance < 48)))){
} else {
_local3 = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, (y - extentAbove), ((y + extentBelow) + 72));
if (((!(_local3)) || ((_local3.distance < 120)))){
} else {
state = GLIDE;
velocityY = -4;
return;
};
};
};
super.decideNext();
}
override public function advance():void{
if (alive){
switch (state){
case GLIDE:
();
break;
};
};
super.advance();
}
function frame33(){
decideNext();
}
function frame43(){
gotoAndPlay("jumping");
}
override protected function doDeath():void{
super.doDeath();
rotation = (rotation + (facingRight) ? 10 : -10);
}
function frame56(){
gotoAndPlay("falling");
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (flickering > 0){
return (false);
};
hits--;
if (hits > 0){
flickering = 40;
NitromeGame.sound_manager.playSound("enemyHit");
return (true);
};
return (super.hitByArrow(_arg1));
}
function
(){
gotoAndStop("dead");
}
override public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
super.create(_arg1, _arg2, _arg3);
extentAbove = 36;
walkSpeed = 2;
separateFallingAnimation = true;
}
public function ():Collectible{
var _local1:Number;
var _local2:Collectible;
var _local3:Number;
var _local4:Collectible;
var _local5:Number;
var _local6:Number;
_local1 = Infinity;
_local2 = null;
_local3 = 0;
while (_local3 < Controller.level.objectList.length) {
_local4 = (Controller.level.objectList[_local3] as Collectible);
if (!_local4){
} else {
if (_local4.collected){
} else {
if (!_local4.onGround){
} else {
if (_local4.surfaceIndexUnderneath != surfaceIndexUnderneath){
} else {
_local5 = _local4.x;
if ((_local5 - x) > (Controller.level.pixelWidth / 2)){
_local5 = (_local5 - Controller.level.pixelWidth);
};
if ((_local5 - x) < (-(Controller.level.pixelWidth) / 2)){
_local5 = (_local5 + Controller.level.pixelWidth);
};
_local6 = Math.abs((x - _local5));
if (_local6 < _local1){
_local1 = _local6;
_local2 = _local4;
};
};
};
};
};
_local3++;
};
return (_local2);
}
override public function kill(_arg1:Arrow):void{
var _local2:Number;
var _local3:Class;
var _local4:Collectible;
if (alive){
_local2 = 0;
while (_local2 < .length) {
_local3 = [_local2];
_local4 = new (_local3);
_local4.createAndRegisterFromEnemy(this);
_local4.velocityX = (_local4.velocityX + ((Math.random() - 0.5) * 4));
_local4.velocityY = (_local4.velocityY + ((Math.random() - 0.5) * 4));
_local2++;
};
y = (y - 23);
};
super.kill(_arg1);
}
override protected function animation():void{
if (((alive) && ((state == GLIDE)))){
if (velocityY > 0){
if (currentLabel != "falling"){
gotoAndPlay("falling");
};
} else {
if (currentLabel != "jumping"){
gotoAndPlay("jumping");
};
};
};
super.animation();
if (flickering > 0){
flickering--;
visible = ((Controller.frameNumber % 3) < 2);
} else {
visible = true;
};
}
protected function ():void{
var _local1:Raycast;
velocityY = Global.slide(velocityY, 1.5, 0.5);
velocityX = Global.slide(velocityX, (facingRight) ? 7 : -7, 1);
weight = 0;
horizontalMotion();
verticalMotion();
wrap();
_local1 = Raycast.fatRaycastX((x + (facingRight) ? extentToRight : -(extentToLeft)), (facingRight) ? 1 : -1, (y - extentAbove), (y + extentBelow));
if (((_local1) && ((_local1.distance < 24)))){
state = LEAP_UPWARD;
weight = ;
};
if (((onGround) || (pushedAgainstWall))){
if (onGround){
state = WALKING_FORWARD;
} else {
state = LEAP_UPWARD;
};
weight = ;
};
}
}
}//package com.nitrome.twinshot
Section 112
//Tile (com.nitrome.twinshot.Tile)
package com.nitrome.twinshot {
import flash.display.*;
public class Tile extends MovieClip {
public var solidOnTop:Boolean;// = true
public var canDetectSides:Boolean;// = true
public var surfaceIndex:Number;
public var solidOnSides:Boolean;// = true
public var groundSpeedX:Number;// = 0
public var sendPause:Boolean;// = false
public var tileX:Number;
public var tileY:Number;
public var solidInside:Boolean;// = true
public var sendContact:Boolean;// = false
public var gemTile:Boolean;// = false
public var solidUnderneath:Boolean;// = true
public var solid:Boolean;// = true
public var sendAdvance:Boolean;// = false
public function Tile(){
solid = true;
solidOnTop = true;
solidOnSides = true;
solidUnderneath = true;
solidInside = true;
canDetectSides = true;
sendContact = false;
sendPause = false;
sendAdvance = false;
groundSpeedX = 0;
gemTile = false;
super();
}
public function destroy():void{
if (parent){
parent.removeChild(this);
};
}
public function unpause():void{
}
public function playerContact(_arg1:Player):void{
}
public function create(_arg1:Number, _arg2:Number, _arg3:String):void{
tileX = _arg1;
tileY = _arg2;
x = (tileX * 24);
y = (tileY * 24);
if (_arg3.substr(0, 7) == "tile_bl"){
solidOnTop = true;
solidOnSides = true;
solidUnderneath = true;
} else {
if (_arg3.substr(0, 7) == "tile_wl"){
solidOnTop = true;
solidOnSides = true;
solidUnderneath = false;
} else {
if (_arg3.substr(0, 7) == "tile_fl"){
solidOnTop = true;
solidOnSides = false;
solidUnderneath = false;
} else {
if (_arg3.substr(0, 7) == "tile_cl"){
solidOnTop = false;
solidOnSides = true;
solidUnderneath = false;
} else {
if (_arg3.substr(0, 7) == "tile_ns"){
solidOnTop = false;
solidOnSides = false;
solidUnderneath = false;
canDetectSides = false;
};
};
};
};
};
solidInside = ((((solidOnTop) && (solidOnSides))) && (solidUnderneath));
Controller.tileLayer.addChild(this);
}
override public function toString():String{
return ((((("[Tile " + tileX) + ", ") + tileY) + "]"));
}
public function advance():void{
}
public function calculateAiWeight(_arg1:Enemy=null):Number{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Player;
var _local8:Number;
var _local9:Enemy;
var _local10:Number;
_local2 = 0;
if ((this is SpikeTile)){
return (-1);
};
if (Controller.level.tileGrid[tileX][(tileY - 1)]){
return (-1);
};
if (tileY == 0){
return (-0.5);
};
_local5 = 0;
while (_local5 < (Controller.twoPlayerGame) ? 2 : 1) {
_local7 = ((_local5)==0) ? Controller.level.player1 : Controller.level.player2;
if (!_local7){
} else {
if (!_local7.alive){
} else {
_local3 = ((tileX * 24) - _local7.x);
if (_local3 < (-(Controller.level.pixelWidth) / 2)){
_local3 = (_local3 + Controller.level.pixelWidth);
};
if (_local3 > (Controller.level.pixelWidth / 2)){
_local3 = (_local3 - Controller.level.pixelWidth);
};
_local4 = ((tileY * 24) - _local7.y);
_local8 = ((0.6 - Math.abs((_local3 / 500))) - Math.abs((_local4 / 375)));
if (_local8 > 0){
_local2 = (_local2 + _local8);
};
_local8 = (_local8 + 1);
_local8 = (_local8 / 20);
if (_local8 > 0){
_local2 = (_local2 + _local8);
};
if (((_local7.tileUnderneath) && ((surfaceIndex == _local7.tileUnderneath.surfaceIndex)))){
_local2 = (_local2 + 0.2);
};
};
};
_local5++;
};
_local6 = 0;
while (_local6 < Controller.level.objectList.length) {
_local9 = (Controller.level.objectList[_local6] as Enemy);
if (!_local9){
} else {
if (!_local9.alive){
} else {
_local3 = (((tileX * 24) + 12) - _local9.x);
if (_local3 < (-(Controller.level.pixelWidth) / 2)){
_local3 = (_local3 + Controller.level.pixelWidth);
};
if (_local3 > (Controller.level.pixelWidth / 2)){
_local3 = (_local3 - Controller.level.pixelWidth);
};
_local4 = ((tileY * 24) - _local9.y);
_local10 = ((0.4 - Math.abs((_local3 / 300))) - Math.abs((_local4 / 375)));
if (_local10 > 0){
_local2 = (_local2 - _local10);
};
};
};
_local6++;
};
return (_local2);
}
public function pause():void{
}
}
}//package com.nitrome.twinshot
Section 113
//TreasureChest (com.nitrome.twinshot.TreasureChest)
package com.nitrome.twinshot {
import com.nitrome.util.*;
public class TreasureChest extends MotiveObject {
public var :Number;// = 15
public var isOpen:Boolean;// = false
public var whiteIn:Number;// = 0
public var lifetime:Number;// = 300
public function TreasureChest(){
isOpen = false;
= 15;
lifetime = 300;
whiteIn = 0;
super();
addFrameScript(9, frame10, 20, frame21);
}
public function doWhiteIn():void{
whiteIn = 1;
transform.colorTransform = Global.whiteOut((1 - whiteIn));
}
function frame10(){
gotoAndStop("closed");
}
function frame21(){
stop();
}
override public function advance():void{
var _local1:Number;
var _local2:Number;
var _local3:Collectible;
if (((isOpen) && (( > 0)))){
_local1 = ((Math.random())>=0.5) ? 1 : 2;
_local2 = 0;
while (_local2 < _local1) {
_local3 = Collectible.randomTypeCommon();
_local3.createAndRegister(0, 0, ((Math.random() - 0.5) * 20), (-8 - (Math.random() * 12)));
_local3.x = (x + _local3.velocityX);
_local3.y = ((y + _local3.velocityY) + Math.floor((Math.random() * 4)));
_local3.releaseTime = 4;
_local3.lifetime = (_local3.lifetime + 25);
_local2++;
};
--;
visible = true;
if (lifetime < 100){
lifetime = 100;
};
} else {
lifetime--;
if (lifetime < 60){
visible = ((Controller.frameNumber % 3) < 2);
};
if (lifetime < 1){
destroy();
return;
};
};
super.advance();
wrap();
if (whiteIn > 0){
whiteIn = (whiteIn - 0.1);
transform.colorTransform = Global.whiteOut((1 - whiteIn));
};
}
override public function hitByArrow(_arg1:Arrow):Boolean{
if (((onGround) && (!(isOpen)))){
isOpen = true;
gotoAndPlay("open");
NitromeGame.sound_manager.playSound("chestOpen");
return (true);
};
return (false);
}
public function createAndRegister(_arg1:Number, _arg2:Number):void{
x = ((_arg1 * 24) + 12);
y = ((_arg2 * 24) + 12);
velocityX = 0;
velocityY = 0;
extentToLeft = 12;
extentToRight = 12;
extentAbove = 12;
extentBelow = 12;
floorBounceFactor = 0.2;
wallBounceFactor = 0;
= (18 + Math.floor((Math.random() * 8)));
Controller.chestLayer.addChild(this);
Controller.level.objectList.push(this);
}
override public function destroy():void{
super.destroy();
Global.removeFromList(this, Controller.level.objectList);
}
}
}//package com.nitrome.twinshot
Section 114
//Global (com.nitrome.util.Global)
package com.nitrome.util {
import flash.display.*;
import flash.geom.*;
import flash.text.*;
public class Global {
public static function ordinal(_arg1:Number):String{
if (((((_arg1 % 100) > 10)) && (((_arg1 % 100) < 15)))){
return ((_arg1.toString() + "th"));
};
if ((_arg1 % 10) == 1){
return ((_arg1.toString() + "st"));
};
if ((_arg1 % 10) == 2){
return ((_arg1.toString() + "nd"));
};
if ((_arg1 % 10) == 3){
return ((_arg1.toString() + "rd"));
};
return ((_arg1.toString() + "th"));
}
public static function safeMinimum(_arg1:Array):Number{
var _local2:Number;
var _local3:*;
_local2 = NaN;
for (_local3 in _arg1) {
if (((isNaN(_local2)) || ((_arg1[_local3] < _local2)))){
_local2 = _arg1[_local3];
};
};
return (_local2);
}
public static function isNumeric(_arg1:String):Boolean{
return ((_arg1 == String(Number(_arg1))));
}
public static function sign(_arg1:Number):Number{
if (_arg1 > 0){
return (1);
};
if (_arg1 < 0){
return (-1);
};
return (0);
}
public static function negativeModulo(_arg1:Number, _arg2:Number):Number{
if (_arg1 >= 0){
return (((_arg1 % _arg2) - _arg2));
};
return ((_arg1 % _arg2));
}
public static function removeFromList(_arg1, _arg2:Array):void{
var _local3:Number;
_local3 = (_arg2.length - 1);
while (_local3 >= 0) {
if (_arg2[_local3] == _arg1){
_arg2.splice(_local3, 1);
};
_local3--;
};
}
public static function enforcePlaces(_arg1:Number, _arg2:Number):String{
var _local3:String;
var _local4:String;
if (_arg1 < 0){
return (("-" + enforcePlaces(-(_arg1), _arg2)));
};
_local3 = String(Math.floor(_arg1));
_local4 = String(Math.floor(((_arg1 % 1) * Math.pow(10, _arg2))));
while (_local4.length < _arg2) {
_local4 = ("0" + _local4);
};
return (((_local3 + ".") + _local4));
}
public static function blackOut(_arg1:Number):ColorTransform{
var _local2:Number;
if (_arg1 > 0.5){
_local2 = ((_arg1 - 0.5) * 2);
return (new ColorTransform(_local2, _local2, _local2, 1, 0, 0, 0, 0));
};
return (new ColorTransform(0, 0, 0, (_arg1 * 2), 0, 0, 0, 0));
}
public static function unique(_arg1:Array):Array{
var _local2:Array;
var _local3:Number;
if (_arg1.length < 1){
return ([]);
};
_local2 = [_arg1[0]];
_local3 = 1;
while (_local3 < _arg1.length) {
if (_arg1[(_local3 - 1)] != _arg1[_local3]){
_local2.push(_arg1[_local3]);
};
_local3++;
};
return (_local2);
}
public static function safeMaximum(_arg1:Array):Number{
var _local2:Number;
var _local3:*;
_local2 = NaN;
for (_local3 in _arg1) {
if (((isNaN(_local2)) || ((_arg1[_local3] > _local2)))){
_local2 = _arg1[_local3];
};
};
return (_local2);
}
public static function positiveModulo(_arg1:Number, _arg2:Number):Number{
if (_arg1 >= 0){
return ((_arg1 % _arg2));
};
return (((_arg1 % _arg2) + _arg2));
}
public static function textToBitmap(_arg1:BitmapData, _arg2:String, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0xFFFFFF, _arg6:Boolean=false, _arg7:TextFormat=null):void{
var _local8:TextField;
_local8 = new TextField();
_local8.autoSize = TextFieldAutoSize.LEFT;
if (_arg7){
_local8.defaultTextFormat = _arg7;
} else {
_local8.defaultTextFormat = new TextFormat("_sans", 10);
};
_local8.textColor = _arg5;
_local8.text = _arg2;
if (_arg6){
_arg1.draw(_local8, new Matrix(1, 0, 0, 1, (_arg3 - int((_local8.width / 2))), (_arg4 - int((_local8.height / 2)))));
} else {
_arg1.draw(_local8, new Matrix(1, 0, 0, 1, _arg3, _arg4));
};
}
public static function repeatString(_arg1:String, _arg2:Number):String{
var _local3:String;
var _local4:Number;
if (_arg2 < 1){
return ("");
};
_local3 = _arg1;
_local4 = 1;
while (_local4 < _arg2) {
_local3 = (_local3 + _arg1);
_local4++;
};
return (_local3);
}
public static function copyColorTransform(_arg1:ColorTransform):ColorTransform{
return (new ColorTransform(_arg1.redMultiplier, _arg1.greenMultiplier, _arg1.blueMultiplier, _arg1.alphaMultiplier, _arg1.redOffset, _arg1.greenOffset, _arg1.blueOffset, _arg1.alphaOffset));
}
public static function whiteOut(_arg1:Number):ColorTransform{
var _local2:Number;
var _local3:Number;
if (_arg1 > 0.5){
_local2 = ((_arg1 - 0.5) * 2);
_local3 = (0xFF - (_local2 * 0xFF));
return (new ColorTransform(_local2, _local2, _local2, 1, _local3, _local3, _local3, 0));
};
return (new ColorTransform(0, 0, 0, (_arg1 * 2), 0xFF, 0xFF, 0xFF, 0));
}
public static function createGrid(_arg1:Number, _arg2:Number, _arg3=null):Array{
var _local4:Array;
var _local5:Array;
var _local6:Number;
_local4 = [];
_local5 = [];
_local6 = 0;
while (_local6 < _arg2) {
_local5.push(_arg3);
_local6++;
};
_local6 = 0;
while (_local6 < _arg1) {
_local4.push(_local5.slice());
_local6++;
};
return (_local4);
}
public static function removeOnceFromList(_arg1, _arg2:Array):void{
var _local3:Number;
_local3 = (_arg2.length - 1);
while (_local3 >= 0) {
if (_arg2[_local3] == _arg1){
_arg2.splice(_local3, 1);
return;
};
_local3--;
};
}
public static function copyArrayDeep(_arg1:Array):Array{
var _local2:Array;
var _local3:Number;
_local2 = [];
_local3 = 0;
while (_local3 < _arg1.length) {
if ((_arg1[_local3] is Array)){
_local2.push(copyArrayDeep(_arg1[_local3]));
} else {
_local2.push(_arg1[_local3]);
};
_local3++;
};
return (_local2);
}
public static function trim(_arg1:String):String{
var _local2:Number;
var _local3:Number;
_local2 = 0;
_local3 = (_arg1.length - 1);
while ((((((((_arg1.charAt(_local2) == " ")) || ((_arg1.charAt(_local2) == "\t")))) || ((_arg1.charAt(_local2) == "\n")))) || ((_arg1.charAt(_local2) == "\r")))) {
_local2++;
};
while ((((((((_arg1.charAt(_local3) == " ")) || ((_arg1.charAt(_local3) == "\t")))) || ((_arg1.charAt(_local3) == "\n")))) || ((_arg1.charAt(_local3) == "\r")))) {
_local3--;
};
return (_arg1.substring(_local2, (_local3 + 1)));
}
public static function deceleratingSweep(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{
var _local6:Number;
var _local7:Number;
_local6 = ((_arg3)>0) ? -(_arg5) : _arg5;
_local7 = ((_arg3 * _arg3) / (2 * -(_local6)));
_local7 = (_local7 + _arg1);
if (_arg1 < _arg2){
if (_local7 > _arg2){
return (-(_arg5));
};
return (_arg4);
//unresolved jump
};
if (_local7 < _arg2){
return (_arg5);
};
return (-(_arg4));
}
public static function slide(_arg1:Number, _arg2:Number, _arg3:Number):Number{
if (_arg1 < _arg2){
_arg1 = (_arg1 + _arg3);
if (_arg1 > _arg2){
_arg1 = _arg2;
};
return (_arg1);
//unresolved jump
};
_arg1 = (_arg1 - _arg3);
if (_arg1 < _arg2){
_arg1 = _arg2;
};
return (_arg1);
}
public static function createList(_arg1:Number, _arg2=null):Array{
var _local3:Array;
var _local4:Number;
_local3 = [];
_local4 = 0;
while (_local4 < _arg1) {
_local3.push(_arg2);
_local4++;
};
return (_local3);
}
public static function findLabel(_arg1:MovieClip, _arg2:String):FrameLabel{
var _local3:Number;
_local3 = 0;
while (_local3 < _arg1.currentLabels.length) {
if (_arg1.currentLabels[_local3].name == _arg2){
return (_arg1.currentLabels[_local3]);
};
_local3++;
};
return (null);
}
public static function findInList(_arg1, _arg2:Array):Number{
var _local3:Number;
_local3 = 0;
while (_local3 < _arg2.length) {
if (_arg2[_local3] == _arg1){
return (_local3);
};
_local3++;
};
return (-1);
}
public static function childrenList(_arg1, _arg2:String):Array{
var _local3:Array;
var _local4:*;
_local3 = [];
for (_local4 in _arg1) {
_local3.push(_arg1[_local4][_arg2]);
};
return (_local3);
}
}
}//package com.nitrome.util
Section 115
//Key (com.nitrome.util.Key)
package com.nitrome.util {
import flash.display.*;
import flash.events.*;
public class Key {
public static const LEFT:uint = 37;
public static const NUMPAD_DECIMAL:uint = 110;
public static const A:uint = 65;
public static const B:uint = 66;
public static const C:uint = 67;
public static const D:uint = 68;
public static const E:uint = 69;
public static const F:uint = 70;
public static const G:uint = 71;
public static const H:uint = 72;
public static const I:uint = 73;
public static const J:uint = 74;
public static const K:uint = 75;
public static const L:uint = 76;
public static const M:uint = 77;
public static const N:uint = 78;
public static const O:uint = 79;
public static const P:uint = 80;
public static const Q:uint = 81;
public static const R:uint = 82;
public static const S:uint = 83;
public static const T:uint = 84;
public static const U:uint = 85;
public static const V:uint = 86;
public static const W:uint = 87;
public static const X:uint = 88;
public static const Y:uint = 89;
public static const Z:uint = 90;
public static const QUOTE:uint = 222;
public static const BACKSPACE:uint = 8;
public static const SHIFT:uint = 16;
public static const PAGE_UP:uint = 33;
public static const MINUS:uint = 189;
public static const ALTERNATE:uint = 18;
public static const PAGE_DOWN:uint = 34;
public static const ESCAPE:uint = 27;
public static const NUMPAD_ADD:uint = 107;
public static const SEMICOLON:uint = 186;
public static const UP:uint = 38;
public static const LEFTBRACKET:uint = 219;
public static const F3:uint = 114;
public static const F5:uint = 116;
public static const DOWN:uint = 40;
public static const F1:uint = 112;
public static const F2:uint = 113;
public static const F4:uint = 115;
public static const F6:uint = 117;
public static const F7:uint = 118;
public static const INSERT:uint = 45;
public static const NUMBER_1:uint = 49;
public static const NUMBER_3:uint = 51;
public static const NUMBER_4:uint = 52;
public static const ENTER:uint = 13;
public static const NUMBER_6:uint = 54;
public static const F9:uint = 120;
public static const COMMA:uint = 188;
public static const NUMBER_5:uint = 53;
public static const NUMBER_7:uint = 55;
public static const NUMBER_0:uint = 48;
public static const F8:uint = 119;
public static const NUMBER_2:uint = 50;
public static const NUMBER_8:uint = 56;
public static const NUMBER_9:uint = 57;
public static const END:uint = 35;
public static const NUMPAD_MULTIPLY:uint = 106;
public static const BACKSLASH:uint = 220;
public static const HOME:uint = 36;
public static const F10:uint = 121;
public static const F11:uint = 122;
public static const F12:uint = 123;
public static const F13:uint = 124;
public static const F14:uint = 125;
public static const F15:uint = 126;
public static const SPACE:uint = 32;
public static const RIGHTBRACKET:uint = 221;
public static const EQUAL:uint = 187;
public static const COMMAND:uint = 15;
public static const CONTROL:uint = 17;
public static const NUMPAD_ENTER:uint = 108;
public static const NUMPAD:uint = 21;
public static const SLASH:uint = 191;
public static const TAB:uint = 9;
public static const NUMPAD_DIVIDE:uint = 111;
public static const DELETE:uint = 46;
public static const NUMPAD_0:uint = 96;
public static const NUMPAD_1:uint = 97;
public static const NUMPAD_2:uint = 98;
public static const NUMPAD_3:uint = 99;
public static const NUMPAD_4:uint = 100;
public static const NUMPAD_5:uint = 101;
public static const NUMPAD_6:uint = 102;
public static const NUMPAD_7:uint = 103;
public static const NUMPAD_8:uint = 104;
public static const NUMPAD_9:uint = 105;
public static const PERIOD:uint = 190;
public static const CAPS_LOCK:uint = 20;
public static const NUMPAD_SUBTRACT:uint = 109;
public static const BACKQUOTE:uint = 192;
public static const RIGHT:uint = 39;
protected static var keysDown:Object = new Object();
protected static var initialized:Boolean = false;
public static function terminate(_arg1:Stage):void{
if (initialized){
_arg1.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
_arg1.removeEventListener(KeyboardEvent.KEY_UP, keyReleased);
_arg1.removeEventListener(Event.DEACTIVATE, clearKeys);
initialized = false;
keysDown = new Object();
};
}
public static function isReady():Boolean{
return (initialized);
}
protected static function keyReleased(_arg1:KeyboardEvent):void{
if ((_arg1.keyCode in keysDown)){
delete keysDown[_arg1.keyCode];
};
}
protected static function keyPressed(_arg1:KeyboardEvent):void{
keysDown[_arg1.keyCode] = true;
}
public static function isDown(_arg1:uint):Boolean{
if (!initialized){
trace("ERROR: Key class has not been initialized.");
};
return (Boolean((_arg1 in keysDown)));
}
public static function initialize(_arg1:Stage):void{
if (!initialized){
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
_arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased);
_arg1.addEventListener(Event.DEACTIVATE, clearKeys);
initialized = true;
};
}
protected static function clearKeys(_arg1:Event):void{
keysDown = new Object();
}
}
}//package com.nitrome.util
Section 116
//Lock (com.nitrome.util.Lock)
package com.nitrome.util {
import flash.display.*;
public class Lock extends MovieClip {
public function Lock(){
addFrameScript(1, this.frame2);
}
function frame2(){
stop();
}
public static function urlLock(_arg1:Stage):void{
var _loc2_:String;
}
}
}//package com.nitrome.util
Section 117
//MD5 (com.nitrome.util.MD5)
package com.nitrome.util {
public class MD5 {
private var :int;// = 8
private var :String;// = ""
public function MD5(_arg1:String=null, _arg2:int=0){
= "";
= 8;
super();
if (_arg1 != null){
this. = _arg1;
};
if (((((!((_arg2 == 0))) && ((_arg2 == 8)))) || ((_arg2 == 16)))){
this. = _arg2;
};
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:String;
var _local4:int;
var _local5:int;
var _local6:int;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = new String("");
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local5 = (((((_arg1[(_local4 >> 2)] >> (8 * (_local4 % 4))) & 0xFF) << 16) | (((_arg1[((_local4 + 1) >> 2)] >> (8 * ((_local4 + 1) % 4))) & 0xFF) << 8)) | ((_arg1[((_local4 + 2) >> 2)] >> (8 * ((_local4 + 2) % 4))) & 0xFF));
_local6 = 0;
while (_local6 < 4) {
if (((_local4 * 8) + (_local6 * 6)) > (_arg1.length * 32)){
_local3 = (_local3 + );
} else {
_local3 = (_local3 + _local2.charAt(((_local5 >> (6 * (3 - _local6))) & 63)));
};
_local6++;
};
_local4 = (_local4 + 3);
};
return (_local3);
}
private function
(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):int{
return (
((
(
(_arg2, _arg1),
(_arg4, _arg6)), _arg5), _arg3));
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:int;
var _local4:int;
_local2 = new String("");
_local3 = ((1 << ) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * 32)) {
_local2 = (_local2 + String.fromCharCode(((_arg1[(_local4 >> 5)] >>> (_local4 % 32)) & _local3)));
_local4 = (_local4 + );
};
return (_local2);
}
private function (_arg1:String, _arg2:String):Array{
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:int;
var _local7:Array;
_local3 = new Array((_arg1));
if (_local3.length > 16){
_local3 = (_local3, (_arg1.length * ));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = new Array((_local4.concat((_arg2)), (0x0200 + (_arg2.length * ))));
return ((_local5.concat(_local7), (0x0200 + 128)));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function (_arg1:String, _arg2:String):String{
return (((_arg1, _arg2)));
}
public function hash(_arg1:String):String{
return ((_arg1));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function (_arg1:String):String{
return ((((_arg1), (_arg1.length * ))));
}
private function (_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
private function (_arg1:Array, _arg2:int):Array{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = (_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = (_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = (_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = (_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 =
(_local3, _local8);
_local4 =
(_local4, _local9);
_local5 =
(_local5, _local10);
_local6 =
(_local6, _local11);
_local7 = (_local7 + 16);
};
return (new Array(_local3, _local4, _local5, _local6));
}
private function (_arg1:String):String{
return ((((_arg1), (_arg1.length * ))));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
private function
(_arg1:String, _arg2:String):String{
return (((_arg1, _arg2)));
}
private function (_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
_local2 = new Array();
_local3 = ((1 << ) - 1);
_local4 = 0;
while (_local4 < (_arg1.length * )) {
_local2[(_local4 >> 5)] = (_local2[(_local4 >> 5)] | ((_arg1.charCodeAt((_local4 / )) & _local3) << (_local4 % 32)));
_local4 = (_local4 + );
};
return (_local2);
}
private function (_arg1:Array):String{
var _local2:String;
var _local3:String;
var _local4:int;
_local2 = "0123456789abcdef";
_local3 = new String("");
_local4 = 0;
while (_local4 < (_arg1.length * 4)) {
_local3 = (_local3 + (_local2.charAt(((_arg1[(_local4 >> 2)] >> (((_local4 % 4) * 8) + 4)) & 15)) + _local2.charAt(((_arg1[(_local4 >> 2)] >> ((_local4 % 4) * 8)) & 15))));
_local4++;
};
return (_local3);
}
private function
(_arg1:Number, _arg2:Number):Number{
var _local3:int;
var _local4:int;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
private function (_arg1:String):String{
return ((((_arg1), (_arg1.length * ))));
}
private function (_arg1:String, _arg2:String):String{
return (((_arg1, _arg2)));
}
private function (_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (
(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
}
}//package com.nitrome.util
Section 118
//QuickURLCheck (com.nitrome.util.QuickURLCheck)
package com.nitrome.util {
import flash.display.*;
public class QuickURLCheck {
public static const NITROME_URL:Array = ["http://www.nitrome.com/", "http://cdn.nitrome.com/"];
public static function isAtNitrome(_arg1:MovieClip):Boolean{
var _local2:String;
var _local3:int;
var _local4:String;
_local2 = _arg1.loaderInfo.url;
_local3 = 0;
while (_local3 < NITROME_URL.length) {
_local4 = NITROME_URL[_local3];
if (_local2.substr(0, _local4.length) == _local4){
return (true);
};
_local3++;
};
return (false);
}
}
}//package com.nitrome.util
Section 119
//MochiAd (mochi.as3.MochiAd)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showClickAwayAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_timeout:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{
}, ad_finished:function ():void{
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
return;
};
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
_local3 = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (this.root == null){
_local3 = true;
};
if (_local3){
delete this.onEnterFrame;
};
};
doOnEnterFrame(chk);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function _allowDomains(_arg1:String):String{
var _local2:String;
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType == "application"){
return (_local2);
};
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (_arg1.origFrameRate != undefined){
_arg1.stage.frameRate = _arg1.origFrameRate;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad._containerLCName != undefined){
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"});
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function showInterLevelAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (_local2 > chk.ad_msec){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local3:Object;
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
if (_local3.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
if (_local3.id == "test"){
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
};
return (_local3);
}
public static function _cleanup(_arg1:Object):void{
var idx:Number;
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = _arg1;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
try {
lc.client = null;
lc.close();
} catch(e:Error) {
};
};
setTimeout(f, 0);
};
idx = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function load(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var g:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!(clip is DisplayObject)){
trace("Warning: Object passed as container clip not a descendant of the DisplayObject type");
return (null);
};
if (MovieClip(clip).stage == null){
trace("Warning: Container clip for ad is not attached to the stage");
return (null);
};
if (!MochiAd._isNetworkAvailable()){
return (null);
};
try {
if (clip._mochiad_loaded){
return (null);
};
} catch(e:Error) {
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
} else {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
};
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
mc.lcName = name;
lv.lc = name;
lv.st = getTimer();
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
loader = new Loader();
g = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime()));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{
trace("[MochiAds] Blocked URL");
});
if (!options.skip){
loader.load(req);
};
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{
var _local4:Array;
var _local5:Number;
_local4 = _arg2.split(".");
_local5 = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
if (typeof(_arg1[_local4[_local5]]) == "function"){
return (_arg1[_local4[_local5]].apply(_arg1, _arg3));
};
return (undefined);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip;
_local4 = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Array;
_local3 = _arg2.getBounds(_arg2.root);
_local4 = 0;
_local5 = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function adShowing(_arg1:Object):void{
_arg1.origFrameRate = _arg1.stage.frameRate;
_arg1.stage.frameRate = 30;
}
public static function getValue(_arg1:Object, _arg2:String):Object{
var _local3:Array;
var _local4:Number;
_local3 = _arg2.split(".");
_local4 = 0;
while (_local4 < (_local3.length - 1)) {
if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local3[_local4]];
_local4++;
};
return (_arg1[_local3[_local4]]);
}
public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{
var _local4:Object;
var _local5:Object;
switch (_arg3.id){
case "setValue":
MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value);
break;
case "getValue":
_local4 = MochiAd.getValue(_arg1, _arg3.objectName);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4);
break;
case "runMethod":
_local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5);
break;
default:
trace(("[mochiads rpc] unknown rpc id: " + _arg3.id));
};
}
public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Array;
var _local5:Number;
_local4 = _arg2.split(".");
_local5 = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return;
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
_arg1[_local4[_local5]] = _arg3;
}
public static function showPreGameAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_w:Number;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var complete:Boolean;
var unloaded:Boolean;
var progress:Number;
var f:Function;
var sendHostProgress:Boolean;
var fn:Function;
var r:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}, ad_progress:function (_arg1:Number):void{
}, progress_override:function (_arg1:Object):Number{
return (NaN);
}, bar_offset:0};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){
options.ad_started();
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
return;
};
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
if (options.skip){
ad_timeout = 0;
};
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
var fn:Function;
MochiAd._cleanup(mc);
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
if (options.no_progress_bar){
bar.visible = false;
delete options.no_progress_bar;
} else {
bar.x = (10 + options.bar_offset);
bar.y = (h - 20);
};
bar_w = ((w - bar.x) - 10);
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(bar_w, 0);
backing.lineTo(bar_w, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo(bar_w, 0);
inside.lineTo(bar_w, 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(bar_w, 0);
outline.lineTo(bar_w, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
progress = Math.min(1, options.progress_override(clip));
f = function (_arg1:Event):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
if (!isNaN(progress)){
complete = (progress == 1);
} else {
if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){
complete = true;
} else {
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
} else {
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
};
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
mc.rpcTestFn = function (_arg1:String):Object{
trace(("[MOCHIAD rpcTestFn] " + _arg1));
return (_arg1);
};
sendHostProgress = false;
mc.sendHostLoadProgress = function (_arg1:String):void{
sendHostProgress = true;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Object;
var _local3:Number;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Object;
var _local11:Number;
var _local12:Number;
if (((!(this.parent)) || (!(this.parent.parent)))){
delete this["onEnterFrame"];
return;
};
_local1 = this.parent.parent.root;
_local2 = this.parent._mochiad_ctr;
_local3 = (getTimer() - this.started);
_local4 = false;
_local5 = _local1.loaderInfo.bytesTotal;
_local6 = _local1.loaderInfo.bytesLoaded;
_local7 = Math.min(1, options.progress_override(_local1));
if (_local7 == 1){
complete = true;
};
if (complete){
_local6 = Math.max(1, _local6);
_local5 = _local6;
};
_local8 = ((100 * _local6) / _local5);
if (!isNaN(_local7)){
_local8 = (100 * _local7);
};
_local9 = ((100 * _local3) / chk.ad_msec);
_local10 = this._mochiad_bar._inside;
_local11 = Math.min(100, Math.min(((_local8) || (0)), _local9));
_local11 = Math.max(this.last_pcnt, _local11);
this.last_pcnt = _local11;
_local10.scaleX = (_local11 * 0.01);
options.ad_progress(_local11);
if (sendHostProgress){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local8});
if (_local8 >= 100){
sendHostProgress = false;
};
};
if (!chk.showing){
_local12 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local12 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if ((((_local3 > chk.ad_timeout)) && ((_local8 == 100)))){
options.ad_failed();
_local4 = true;
};
};
};
if (_local3 > chk.ad_msec){
_local4 = true;
};
if (((complete) && (_local4))){
if (unloaded){
MochiAd.unload(_local1);
} else {
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
};
doOnEnterFrame(chk);
}
public static function showPreloaderAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(_arg1);
}
public static function showTimedAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(_arg1);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package mochi.as3
Section 120
//MochiCoins (mochi.as3.MochiCoins)
package mochi.as3 {
public class MochiCoins {
public static const STORE_HIDE:String = "StoreHide";
public static const NO_USER:String = "NoUser";
public static const IO_ERROR:String = "IOError";
public static const ITEM_NEW:String = "ItemNew";
public static const ITEM_OWNED:String = "ItemOwned";
public static const STORE_ITEMS:String = "StoreItems";
public static const ERROR:String = "Error";
public static const STORE_SHOW:String = "StoreShow";
public static var _inventory:MochiInventory;
public static function triggerEvent(_arg1:String, _arg2:Object):void{
MochiSocial.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
MochiSocial.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
MochiSocial.addEventListener(_arg1, _arg2);
}
public static function getStoreItems():void{
MochiServices.send("coins_getStoreItems");
}
public static function get inventory():MochiInventory{
return (_inventory);
}
public static function showStore(_arg1:Object=null):void{
MochiServices.bringToTop();
MochiServices.send("coins_showStore", {options:_arg1}, null, null);
}
public static function showItem(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showItem call must pass an Object with an item key");
return;
};
MochiServices.bringToTop();
MochiServices.send("coins_showItem", {options:_arg1}, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function showVideo(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showVideo call must pass an Object with an item key");
return;
};
MochiServices.bringToTop();
MochiServices.send("coins_showVideo", {options:_arg1}, null, null);
}
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_inventory = new MochiInventory();
});
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_inventory = null;
});
}
}//package mochi.as3
Section 121
//MochiDigits (mochi.as3.MochiDigits)
package mochi.as3 {
public final class MochiDigits {
private var
:MochiDigits;
private var
:Number;
private var
:Number;
public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{
= 0;
setValue(_arg1, _arg2);
}
public function set value(_arg1:Number):void{
setValue(_arg1);
}
public function
():void{
var _local1:uint;
_local1 = int((2147483647 * Math.random()));
= (
^ (_local1 ^
));
= _local1;
}
public function toString():String{
var _local1:String;
_local1 = String.fromCharCode((
^
));
if (
!= null){
_local1 = (_local1 +
.toString());
};
return (_local1);
}
public function get value():Number{
return (Number(this.toString()));
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local3:String;
_local3 = _arg1.toString();
var _temp1 = _arg2;
_arg2 = (_arg2 + 1);
= (_local3.charCodeAt(_temp1) ^
);
if (_arg2 < _local3.length){
= new MochiDigits(_arg1, _arg2);
} else {
= null;
};
();
}
public function
(_arg1:Number):void{
value = (value + _arg1);
}
}
}//package mochi.as3
Section 122
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher)
package mochi.as3 {
public class MochiEventDispatcher {
private var :Object;
public function MochiEventDispatcher():void{
= {};
}
public function triggerEvent(_arg1:String, _arg2:Object):void{
var _local3:Object;
if ( [_arg1] == undefined){
return;
};
for (_local3 in [_arg1]) {
var _local6 = [_arg1];
_local6[_local3](_arg2);
};
}
public function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Object;
if ( [_arg1] == undefined){
[_arg1] = [];
return;
};
for (_local3 in [_arg1]) {
if ( [_arg1][_local3] != _arg2){
} else {
[_arg1].splice(Number(_local3), 1);
};
};
}
public function addEventListener(_arg1:String, _arg2:Function):void{
removeEventListener(_arg1, _arg2);
[_arg1].push(_arg2);
}
}
}//package mochi.as3
Section 123
//MochiEvents (mochi.as3.MochiEvents)
package mochi.as3 {
import flash.display.*;
public class MochiEvents {
public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL";
public static const FORMAT_LONG:String = "LongForm";
public static const ALIGN_BOTTOM:String = "ALIGN_B";
public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived";
public static const FORMAT_SHORT:String = "ShortForm";
public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR";
public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR";
public static const ALIGN_TOP:String = "ALIGN_T";
public static const ALIGN_LEFT:String = "ALIGN_L";
public static const ALIGN_RIGHT:String = "ALIGN_R";
public static const ALIGN_TOP_LEFT:String = "ALIGN_TL";
public static const ALIGN_CENTER:String = "ALIGN_C";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
private static var gameStart:Number;
private static var levelStart:Number;
public static function endPlay():void{
MochiServices.send("events_clearRoundID", null, null, null);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function trackEvent(_arg1:String, _arg2=null):void{
MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function startSession(_arg1:String):void{
MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null);
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{
var _local3:Object;
var _local4:Object;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
_local3.clip = _arg1;
MochiServices.send("events_setNotifications", _local3, null, null);
}
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function startPlay(_arg1:String="gameplay"):void{
MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null);
}
}
}//package mochi.as3
Section 124
//MochiInventory (mochi.as3.MochiInventory)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class MochiInventory extends Proxy {
private var _timer:Timer;
private var :Array;
private var :Object;
private var :Number;
private var :Object;
private var :Number;
private var :Boolean;
public static const READY:String = "InvReady";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
private static const KEY_SALT:String = " syncMaint";
public static const WRITTEN:String = "InvWritten";
public static const NOT_READY:String = "InvNotReady";
public static const VALUE_ERROR:String = "InvValueError";
private static const CONSUMER_KEY:String = "MochiConsumables";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public function MochiInventory():void{
MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, );
MochiCoins.addEventListener(MochiCoins.ITEM_NEW, );
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, );
= new Object();
= false;
= 0;
= 0;
_timer = new Timer(1000);
_timer.addEventListener(TimerEvent.TIMER, sync);
_timer.start();
if (MochiSocial.loggedIn){
loggedIn();
} else {
();
};
}
private function (_arg1:Object):void{
if (!this[(_arg1.id + KEY_SALT)]){
this[(_arg1.id + KEY_SALT)] = 0;
};
if (!this[_arg1.id]){
this[_arg1.id] = 0;
};
this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count);
this[_arg1.id] = (this[_arg1.id] + _arg1.count);
if (_arg1.privateProperties.consumable){
if (!this[_arg1.privateProperties.tag]){
this[_arg1.privateProperties.tag] = 0;
};
this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count));
};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
if ( == null){
triggerEvent(ERROR, {type:NOT_READY});
return (-1);
};
if ( [_arg1]){
return (MochiDigits( [_arg1]).value);
};
return (undefined);
}
public function ():void{
MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, );
MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn);
MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, );
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
if ( == null){
triggerEvent(ERROR, {type:NOT_READY});
return (false);
};
if ( [_arg1] == undefined){
return (false);
};
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{
return (((_arg1)>=.length) ? 0 : (_arg1 + 1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
var _local3:MochiDigits;
if ( == null){
triggerEvent(ERROR, {type:NOT_READY});
return;
};
if (!(_arg2 is Number)){
triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2});
return;
};
if ( [_arg1]){
_local3 = MochiDigits( [_arg1]);
if (_local3.value == _arg2){
return;
};
_local3.value = _arg2;
} else {
.push(_arg1);
[_arg1] = new MochiDigits(_arg2);
};
++;
}
private function sync(_arg1:Event=null):void{
var _local2:Object;
var _local3:String;
if ((() || (( == )))){
return;
};
= ;
_local2 = {};
for (_local3 in ) {
_local2[_local3] = MochiDigits( [_local3]).value;
};
MochiUserData.put(CONSUMER_KEY, _local2, );
= true;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{
return ([(_arg1 - 1)]);
}
private function loggedIn(_arg1:Object=null):void{
MochiUserData.get(CONSUMER_KEY, );
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{
if (! [_arg1]){
return (false);
};
.splice(.indexOf(_arg1), 1);
delete [_arg1];
return (true);
}
private function (_arg1:Object):void{
[_arg1.id] = {properties:_arg1.properties, count:_arg1.count};
}
private function (_arg1:MochiUserData):void{
= false;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
= -1;
};
triggerEvent(WRITTEN, {});
}
private function (_arg1:MochiUserData):void{
var _local2:String;
var _local3:Number;
if (_arg1.error){
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
return;
};
= {};
= new Array();
if (_arg1.data){
for (_local2 in _arg1.data) {
.push(_local2);
[_local2] = new MochiDigits(_arg1.data[_local2]);
};
};
for (_local2 in ) {
_local3 = [_local2].count;
if ( [(_local2 + KEY_SALT)]){
_local3 = (_local3 - [_local2]);
};
if (_local3 == 0){
} else {
({id:_local2, count:_local3, properties:[_local2].properties});
};
};
triggerEvent(READY, {});
}
private function (_arg1:Object=null):void{
= null;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
}
}//package mochi.as3
Section 125
//MochiServices (mochi.as3.MochiServices)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiServices {
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _queue:Array;
private static var _swfVersion:String;
private static var _preserved:Object;
public static var netupAttempted:Boolean = false;
private static var _sendChannel:LocalConnection;
public static var servicesSync:MochiSync = new MochiSync();
private static var _nextCallbackID:Number;
private static var _clip:MovieClip;
private static var _id:String;
private static var _services:String = "services.swf";
private static var _servURL:String = "http://www.mochiads.com/static/lib/services/";
public static var widget:Boolean = false;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _loader:Loader;
private static var _callbacks:Object;
private static var _connecting:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _listenChannelName:String = "__ms_";
public static var onError:Object;
public static var netup:Boolean = true;
private static var _mochiLC:String = "MochiLC.swf";
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function get connected():Boolean{
return (_connected);
}
private static function onReceive(_arg1:Object):void{
var cb:String;
var cblst:Object;
var method:*;
var methodName:String;
var obj:Object;
var pkg = _arg1;
cb = pkg.callbackID;
cblst = _callbacks[cb];
if (!cblst){
return;
};
method = cblst.callbackMethod;
methodName = "";
obj = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
} else {
trace((("Error: Method " + method) + " does not exist."));
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
};
delete _callbacks[cb];
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1));
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
};
if (_clip != null){
if (_callbacks != null){
_callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_nextCallbackID++;
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
public static function get childClip():Object{
return (_clip);
}
private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{
var _local3:Array;
var _local4:int;
var _local5:Array;
var _local6:Array;
var _local7:MovieClip;
var _local8:LocalConnection;
var _local9:String;
var _local10:ByteArray;
var _local11:ByteArray;
var _local12:uint;
var _local13:uint;
var _local14:Loader;
_local3 = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
_local5 = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
_local6 = [0, 64, 0, 0, 0];
_local7 = new MovieClip();
_local8 = new LocalConnection();
_local9 = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time));
_local8 = new LocalConnection();
_local7.lc = _local8;
_local7.click = _arg2;
_local8.client = _local7;
_local8.connect(_local9);
_local10 = new ByteArray();
_local11 = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
_local11.writeShort(1);
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
_local11.writeByte(0);
_local12 = ((_local3.length + _local11.length) + 4);
_local13 = (_local12 + 35);
_local10.endian = Endian.LITTLE_ENDIAN;
_local10.writeUTFBytes("FWS");
_local10.writeByte(8);
_local10.writeUnsignedInt(_local13);
for each (_local4 in _local5) {
_local10.writeByte(_local4);
};
_local10.writeUnsignedInt(_local12);
_local10.writeByte(136);
_local10.writeShort(_local11.length);
_local10.writeBytes(_local11);
for each (_local4 in _local3) {
_local10.writeByte(_local4);
};
for each (_local4 in _local6) {
_local10.writeByte(_local4);
};
_local14 = new Loader();
_local14.loadBytes(_local10);
_local7.addChild(_local14);
return (_local7);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var vars:Object;
var avm1Click:DisplayObject;
var s:String;
var i:Number;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = _arg1;
var burl = _arg2;
var btn = _arg3;
var onClick = _arg4;
vars = new Object();
vars["mav"] = getVersion();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
s = "?";
i = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://x.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (_arg1:String):void{
var _local2:Rectangle;
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(_arg1, onClick);
_local2 = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
err = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
complete = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((netupAttempted) || (_connected))){
netupAttempted = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_mochiLocalConnection.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
} catch(error:Error) {
};
};
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
};
return (_local2);
}
public static function getVersion():String{
return ("3.8 as3");
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
}
public static function warnID(_arg1:String, _arg2:Boolean):void{
var _local3:Number;
_arg1 = _arg1.toLowerCase();
if (_arg1.length != 16){
trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length"));
return;
} else {
if (_arg1 == "1e113c7239048b3f"){
if (_arg2){
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
};
return;
} else {
if (_arg1 == "84993a1de4031cd8"){
if (_arg2){
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
};
return;
};
};
};
_local3 = 0;
while (_local3 < _arg1.length) {
switch (_arg1.charAt(_local3)){
case "0":
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "a":
case "b":
case "c":
case "d":
case "e":
case "f":
break;
default:
trace(("WARNING: Board ID contains illegal characters: " + _arg1));
return;
};
_local3++;
};
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (((_clip) && (_queue))){
while (_queue.length > 0) {
_local2 = _queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _callbacks[_local2.callbackID];
};
delete _callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
}
public static function get id():String{
return (_id);
}
private static function onEvent(_arg1:Object):void{
var _local2:String;
var _local3:String;
_local2 = _arg1.target;
_local3 = _arg1.event;
switch (_local2){
case "events":
MochiEvents.triggerEvent(_arg1.event, _arg1.args);
break;
case "coins":
MochiCoins.triggerEvent(_arg1.event, _arg1.args);
break;
case "sync":
servicesSync.triggerEvent(_arg1.event, _arg1.args);
break;
};
}
private static function urlOptions(_arg1:Object):Object{
var _local2:Object;
var _local3:String;
var _local4:Array;
var _local5:Number;
var _local6:Array;
_local2 = {};
if (_arg1.stage){
_local3 = _arg1.stage.loaderInfo.parameters.mochiad_options;
} else {
_local3 = _arg1.loaderInfo.parameters.mochiad_options;
};
if (_local3){
_local4 = _local3.split("&");
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split("=");
_local2[unescape(_local6[0])] = unescape(_local6[1]);
_local5++;
};
};
return (_local2);
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_clip.parent){
_clip.parent.removeChild(_clip);
};
if (_arg1 != null){
if ((_arg1 is DisplayObjectContainer)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is DisplayObjectContainer)){
DisplayObjectContainer(_container).addChild(_clip);
};
};
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
private static function loadError(_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load.");
MochiServices.disconnect();
MochiServices.onError("IOError");
}
private static function initComChannels():void{
if (!_connected){
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
_clip.onReceive = onReceive;
_clip.onEvent = onEvent;
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
while (_queue.length > 0) {
_mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift());
};
};
}
private static function loadLCBridge(_arg1:Object):void{
var loader:Loader;
var mochiLCURL:String;
var req:URLRequest;
var complete:Function;
var clip = _arg1;
loader = new Loader();
mochiLCURL = (_servURL + _mochiLC);
req = new URLRequest(mochiLCURL);
complete = function (_arg1:Object):void{
_mochiLocalConnection = MovieClip(loader.content);
listen();
};
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
loader.load(req);
clip.addChild(loader);
}
private static function listen():void{
_mochiLocalConnection.connect(_listenChannelName);
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
trace("Waiting for MochiAds services to connect...");
}
public static function get clip():Object{
return (_container);
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
initComChannels();
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
var _local3:String;
var _local4:URLRequest;
var _local5:URLVariables;
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
if (urlOptions(_arg2).servURL){
_servURL = urlOptions(_arg2).servURL;
};
_local3 = (_servURL + _services);
if (urlOptions(_arg2).servicesURL){
_local3 = urlOptions(_arg2).servicesURL;
};
_listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999))));
MochiServices.allowDomains(_local3);
_clip = new MovieClip();
loadLCBridge(_clip);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
_local4 = new URLRequest(_local3);
_local5 = new URLVariables();
_local5.listenLC = _listenChannelName;
_local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options;
_local5.api_version = getVersion();
if (widget){
_local5.widget = true;
};
_local4.data = _local5;
_loader.load(_local4);
_clip.addChild(_loader);
_sendChannel = new LocalConnection();
_queue = [];
_nextCallbackID = 0;
_callbacks = {};
_timer = new Timer(10000, 1);
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
return (_clip);
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
warnID(id, false);
if ((clip is DisplayObject)){
if (clip.stage == null){
trace("MochiServices connect requires the containing clip be attached to the stage");
};
if (((!(_connected)) && ((_clip == null)))){
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
};
} else {
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
}
public static function updateCopy(_arg1:Object):void{
MochiServices.send("coins_updateCopy", _arg1, null, null);
}
public static function bringToTop(_arg1:Event=null):void{
var e = _arg1;
if (((!((MochiServices.clip == null))) && (!((MochiServices.childClip == null))))){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
trace("Warning: Depth sort error.");
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
}
public static function connectWait(_arg1:TimerEvent):void{
if (!_connected){
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load. (timeout)");
MochiServices.disconnect();
MochiServices.onError("IOError");
};
}
}
}//package mochi.as3
Section 126
//MochiSocial (mochi.as3.MochiSocial)
package mochi.as3 {
public class MochiSocial {
public static const LOGGED_IN:String = "LoggedIn";
public static const PROFILE_HIDE:String = "ProfileHide";
public static const NO_USER:String = "NoUser";
public static const PROPERTIES_SIZE:String = "PropertiesSize";
public static const IO_ERROR:String = "IOError";
public static const PROPERTIES_SAVED:String = "PropertySaved";
public static const WIDGET_LOADED:String = "WidgetLoaded";
public static const USER_INFO:String = "UserInfo";
public static const ERROR:String = "Error";
public static const LOGIN_SHOW:String = "LoginShow";
public static const LOGGED_OUT:String = "LoggedOut";
public static const PROFILE_SHOW:String = "ProfileShow";
public static const LOGIN_SHOWN:String = "LoginShown";
public static const LOGIN_HIDE:String = "LoginHide";
private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher();
public static var _user_info:Object = null;
public static function getVersion():String{
return (MochiServices.getVersion());
}
public static function saveUserProperties(_arg1:Object):void{
MochiServices.send("coins_saveUserProperties", _arg1);
}
public static function get loggedIn():Boolean{
return (!((_user_info == null)));
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
_dispatcher.triggerEvent(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.addEventListener(_arg1, _arg2);
}
public static function getUserInfo():void{
MochiServices.send("coins_getUserInfo");
}
public static function showLoginWidget(_arg1:Object=null):void{
MochiServices.setContainer();
MochiServices.bringToTop();
MochiServices.send("coins_showLoginWidget", {options:_arg1});
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_dispatcher.removeEventListener(_arg1, _arg2);
}
public static function requestLogin():void{
MochiServices.send("coins_requestLogin");
}
public static function getAPIURL():String{
if (!_user_info){
return (null);
};
return (_user_info.api_url);
}
public static function hideLoginWidget():void{
MochiServices.send("coins_hideLoginWidget");
}
public static function getAPIToken():String{
if (!_user_info){
return (null);
};
return (_user_info.api_token);
}
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_user_info = _arg1;
});
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_user_info = null;
});
}
}//package mochi.as3
Section 127
//MochiSync (mochi.as3.MochiSync)
package mochi.as3 {
import flash.utils.*;
public dynamic class MochiSync extends Proxy {
private var
:Object;
public static var SYNC_PROPERTY:String = "UpdateProperty";
public static var SYNC_REQUEST:String = "SyncRequest";
public function MochiSync():void{
= {};
}
public function triggerEvent(_arg1:String, _arg2:Object):void{
switch (_arg1){
case SYNC_REQUEST:
MochiServices.send("sync_syncronize",
);
break;
case SYNC_PROPERTY:
[_arg2.name] = _arg2.value;
break;
};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
return (
[_arg1]);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
var _local3:String;
if (
[_arg1] == _arg2){
return;
};
_local3 = _arg1.toString();
[_local3] = _arg2;
MochiServices.send("sync_propUpdate", {name:_local3, value:_arg2});
}
}
}//package mochi.as3
Section 128
//MochiUserData (mochi.as3.MochiUserData)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
import flash.net.*;
public class MochiUserData extends EventDispatcher {
public var :Function;// = null
public var error:Event;// = null
public var key:String;// = null
public var
:String;// = null
public var data;// = null
public var _loader:URLLoader;
public function MochiUserData(_arg1:String="", _arg2:Function=null){
key = null;
data = null;
error = null;
= null;
= null;
super();
this.key = _arg1;
this. = _arg2;
}
public function (_arg1:SecurityErrorEvent):void{
(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString())));
}
public function (_arg1):void{
("put", (_arg1));
}
public function (_arg1:String, _arg2:ByteArray):void{
var api_url:String;
var api_token:String;
var args:URLVariables;
var req:URLRequest;
var _operation = _arg1;
var _data = _arg2;
= _operation;
api_url = MochiSocial.getAPIURL();
api_token = MochiSocial.getAPIToken();
if ((((api_url == null)) || ((api_token == null)))){
(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
return;
};
_loader = new URLLoader();
args = new URLVariables();
args.op = _operation;
args.key = key;
req = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString()));
req.method = URLRequestMethod.POST;
req.contentType = "application/x-mochi-userdata";
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)];
req.data = _data;
_loader.dataFormat = URLLoaderDataFormat.BINARY;
_loader.addEventListener(Event.COMPLETE,
);
_loader.addEventListener(IOErrorEvent.IO_ERROR, );
_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, );
try {
_loader.load(req);
} catch(e:SecurityError) {
(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString())));
};
}
public function
():void{
try {
(this);
} catch(e:Error) {
trace(("[MochiUserData] exception during callback: " + e));
};
}
public function (_arg1):ByteArray{
var _local2:ByteArray;
_local2 = new ByteArray();
_local2.objectEncoding = ObjectEncoding.AMF3;
_local2.writeObject(_arg1);
_local2.compress();
return (_local2);
}
public function (_arg1:IOErrorEvent):void{
data = null;
error = _arg1;
if ( != null){
();
} else {
dispatchEvent(_arg1);
};
close();
}
public function
(_arg1:Event):void{
var event = _arg1;
try {
if (_loader.data.length){
data =
(_loader.data);
} else {
data = null;
};
} catch(e:Error) {
(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString())));
return;
};
if ( != null){
();
} else {
dispatchEvent(event);
};
close();
}
public function
():void{
("get", (null));
}
override public function toString():String{
return ((((((((("[MochiUserData operation=" +
) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]"));
}
public function close():void{
if (_loader){
_loader.removeEventListener(Event.COMPLETE,
);
_loader.removeEventListener(IOErrorEvent.IO_ERROR, );
_loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, );
_loader.close();
_loader = null;
};
error = null;
= null;
}
public function
(_arg1:ByteArray){
_arg1.objectEncoding = ObjectEncoding.AMF3;
_arg1.uncompress();
return (_arg1.readObject());
}
public static function get(_arg1:String, _arg2:Function):void{
var _local3:MochiUserData;
_local3 = new MochiUserData(_arg1, _arg2);
_local3.
();
}
public static function put(_arg1:String, _arg2, _arg3:Function):void{
var _local4:MochiUserData;
_local4 = new MochiUserData(_arg1, _arg3);
_local4.(_arg2);
}
}
}//package mochi.as3
Section 129
//arrow_198 (TwinShot_fla.arrow_198)
package TwinShot_fla {
import flash.display.*;
public dynamic class arrow_198 extends MovieClip {
public var inner:MovieClip;
}
}//package TwinShot_fla
Section 130
//arrowFire_114 (TwinShot_fla.arrowFire_114)
package TwinShot_fla {
import flash.display.*;
public dynamic class arrowFire_114 extends MovieClip {
public function arrowFire_114(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 131
//arrowHitMetal_116 (TwinShot_fla.arrowHitMetal_116)
package TwinShot_fla {
import flash.display.*;
public dynamic class arrowHitMetal_116 extends MovieClip {
public function arrowHitMetal_116(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 132
//arrowHitWall_115 (TwinShot_fla.arrowHitWall_115)
package TwinShot_fla {
import flash.display.*;
public dynamic class arrowHitWall_115 extends MovieClip {
public function arrowHitWall_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 133
//beamIn_123 (TwinShot_fla.beamIn_123)
package TwinShot_fla {
import flash.display.*;
public dynamic class beamIn_123 extends MovieClip {
public function beamIn_123(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 134
//chestOpen_124 (TwinShot_fla.chestOpen_124)
package TwinShot_fla {
import flash.display.*;
public dynamic class chestOpen_124 extends MovieClip {
public function chestOpen_124(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 135
//coin_120 (TwinShot_fla.coin_120)
package TwinShot_fla {
import flash.display.*;
public dynamic class coin_120 extends MovieClip {
public function coin_120(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 136
//coin2_121 (TwinShot_fla.coin2_121)
package TwinShot_fla {
import flash.display.*;
public dynamic class coin2_121 extends MovieClip {
public function coin2_121(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 137
//enemyHit_119 (TwinShot_fla.enemyHit_119)
package TwinShot_fla {
import flash.display.*;
public dynamic class enemyHit_119 extends MovieClip {
public function enemyHit_119(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 138
//gem_122 (TwinShot_fla.gem_122)
package TwinShot_fla {
import flash.display.*;
public dynamic class gem_122 extends MovieClip {
public function gem_122(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 139
//instances_10 (TwinShot_fla.instances_10)
package TwinShot_fla {
import flash.display.*;
public dynamic class instances_10 extends MovieClip {
public function instances_10(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 140
//jump_113 (TwinShot_fla.jump_113)
package TwinShot_fla {
import flash.display.*;
public dynamic class jump_113 extends MovieClip {
public function jump_113(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 141
//lever_126 (TwinShot_fla.lever_126)
package TwinShot_fla {
import flash.display.*;
public dynamic class lever_126 extends MovieClip {
public function lever_126(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 142
//MainTimeline (TwinShot_fla.MainTimeline)
package TwinShot_fla {
import com.nitrome.twinshot.*;
import flash.display.*;
import flash.events.*;
import flash.text.*;
import mochi.as3.*;
import flash.utils.*;
import com.nitrome.util.*;
import com.nitrome.game.*;
public dynamic class MainTimeline extends MovieClip {
public var flyingPlayerHolder:MovieClip;
public var __id29_:TwinShotFont;
public var __setPropDict:Dictionary;
public var __id0_:TwinShotFont;
public var content:MovieClip;
public var __id30_:TwinShotFont;
public var button10:LevelStartButton;
public var button11:LevelStartButton;
public var button12:LevelStartButton;
public var button13:LevelStartButton;
public var button14:LevelStartButton;
public var button15:LevelStartButton;
public var button16:LevelStartButton;
public var button18:LevelStartButton;
public var button19:LevelStartButton;
public var playerInfo2:PlayerInfo2;
public var button17:LevelStartButton;
public var playerInfo1:PlayerInfo1;
public var button21:LevelStartButton;
public var button23:LevelStartButton;
public var button25:LevelStartButton;
public var button26:LevelStartButton;
public var button27:LevelStartButton;
public var button22:LevelStartButton;
public var button24:LevelStartButton;
public var button20:LevelStartButton;
public var button29:LevelStartButton;
public var pauseGame:PauseButton;
public var progressText:TextField;
public var button33:LevelStartButton;
public var button34:LevelStartButton;
public var button35:LevelStartButton;
public var button36:LevelStartButton;
public var button31:LevelStartButton;
public var button28:LevelStartButton;
public var button30:LevelStartButton;
public var button32:LevelStartButton;
public var button37:LevelStartButton;
public var button38:LevelStartButton;
public var background:Background;
public var button41:LevelStartButton;
public var button42:LevelStartButton;
public var button43:LevelStartButton;
public var button45:LevelStartButton;
public var button47:LevelStartButton;
public var button48:LevelStartButton;
public var button44:LevelStartButton;
public var button39:LevelStartButton;
public var button46:LevelStartButton;
public var button40:LevelStartButton;
public var button49:LevelStartButton;
public var button1:LevelStartButton;
public var button4:LevelStartButton;
public var button5:LevelStartButton;
public var button6:LevelStartButton;
public var button7:LevelStartButton;
public var button9:LevelStartButton;
public var button3:LevelStartButton;
public var button8:LevelStartButton;
public var curves_clip:MovieClip;
public var button50:LevelStartButton;
public var button2:LevelStartButton;
public var scoreField:TextField;
public var congratsImage:MovieClip;
public var __id25_:TwinShotFont;
public var __id26_:TwinShotFont;
public var __id27_:TwinShotFont;
public var __id28_:TwinShotFont;
public function MainTimeline(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 20, frame21, 70, , 100, , 111, , 60, frame61, 61, , 62,
, 63,
, 64, , 65, frame66, 66,
, 67,
, 68, frame69, 69, , 90, , 91, , 92, , 93,
, 94, frame95, 95, , 96, , 97, , 98, , 99, , 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 80, frame81, 81, , 82, , 83,
, 84, , 85, , 86,
, 87, frame88, 88,
, 89, , 112,
, 113, , 114, , 115, , 116, , 117,
, 118, , 119, , 120, );
}
public function (_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = loaderInfo.bytesLoaded;
_local3 = loaderInfo.bytesTotal;
_local4 = Math.round(((_local2 / _local3) * 100));
progressText.text = String((_local4 + "%"));
if (loaderInfo.bytesLoaded >= loaderInfo.bytesTotal){
removeEventListener(Event.ENTER_FRAME, );
if (Controller.SKIP_MENUS){
NitromeGame.transition.doTween("game");
} else {
NitromeGame.transition.doTween("nitrome");
};
};
}
function
(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.align = "center";
__id30_.align_vert = "center";
__id30_.blackStrength = 1.5;
__id30_.color = 14930174;
__id30_.id = "None";
__id30_.line_spacing = 18;
__id30_.text = "Congratulations!";
__id30_.tracking = 1;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.align = "left";
__id27_.align_vert = "center";
__id27_.blackStrength = 1.2;
__id27_.color = 14438298;
__id27_.id = "None";
__id27_.line_spacing = 18;
__id27_.text = "Markus Heinel";
__id27_.tracking = 1;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.align = "center";
__id25_.align_vert = "center";
__id25_.blackStrength = 1.5;
__id25_.color = 14930174;
__id25_.id = "None";
__id25_.line_spacing = 18;
__id25_.text = "Select game";
__id25_.tracking = 1;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
if ((((__setPropDict[__id0_] == undefined)) || (!((int(__setPropDict[__id0_]) == 2))))){
__setPropDict[__id0_] = currentFrame;
();
};
NitromeGame.init((root as MovieClip), "twinshot", "manoeuvrability", 50);
stage.showDefaultContextMenu = false;
addEventListener(Event.ENTER_FRAME, , false, 0, true);
stop();
}
function frame21(){
if (!Controller.DEBUG){
Lock.urlLock(stage);
};
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
}
function frame1(){
if (!QuickURLCheck.isAtNitrome(this)){
MochiAd.showPreGameAd({clip:root, id:"f01da56b847697a3", res:"550x400", background:7297925, color:14438298, outline:6498891, no_bg:true});
};
}
function frame36(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame33(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame37(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame38(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.align = "center";
__id25_.align_vert = "center";
__id25_.blackStrength = 1.5;
__id25_.color = 14930174;
__id25_.id = "None";
__id25_.line_spacing = 18;
__id25_.text = "Select a Level";
__id25_.tracking = 1;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame34(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame31(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame32(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame35(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame40(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame42(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame43(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame44(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame45(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame46(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame47(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame41(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame39(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 31)) && ((int(__setPropDict[__id25_]) <= 40))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.align = "center";
__id25_.align_vert = "center";
__id25_.blackStrength = 1.5;
__id25_.color = 14930174;
__id25_.id = "None";
__id25_.line_spacing = 18;
__id25_.text = "High Scores";
__id25_.tracking = 1;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame48(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame49(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame51(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame52(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame53(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame54(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame55(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame56(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame50(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame58(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame57(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame59(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame61(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function frame66(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
}
function (){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.align = "center";
__id0_.align_vert = "center";
__id0_.blackStrength = 1;
__id0_.color = 14438298;
__id0_.id = "None";
__id0_.line_spacing = 18;
__id0_.text = "loading...";
__id0_.tracking = 1;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame69(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 61)) && ((int(__setPropDict[__id25_]) <= 70))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function (){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.align = "left";
__id28_.align_vert = "center";
__id28_.blackStrength = 1.2;
__id28_.color = 14438298;
__id28_.id = "None";
__id28_.line_spacing = 18;
__id28_.text = "Chris Burt-Brown";
__id28_.tracking = 1;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function frame60(){
if ((((__setPropDict[__id25_] == undefined)) || (!((((int(__setPropDict[__id25_]) >= 41)) && ((int(__setPropDict[__id25_]) <= 60))))))){
__setPropDict[__id25_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function frame88(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function frame95(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function frame81(){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
Controller.startGame(content);
Controller.startLevel(Controller.selectedLevel);
NitromeGame.sound_manager.playMusic(SoundManager.GAME);
}
function (){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 81)) && ((int(__setPropDict[__id26_]) <= 90))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id27_] == undefined)) || (!((((int(__setPropDict[__id27_]) >= 91)) && ((int(__setPropDict[__id27_]) <= 100))))))){
__setPropDict[__id27_] = currentFrame;
();
};
if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 91)) && ((int(__setPropDict[__id28_]) <= 100))))))){
__setPropDict[__id28_] = currentFrame;
();
};
if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 91)) && ((int(__setPropDict[__id29_]) <= 100))))))){
__setPropDict[__id29_] = currentFrame;
();
};
if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 91)) && ((int(__setPropDict[__id26_]) <= 100))))))){
__setPropDict[__id26_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
scoreField.text = ("Your final score is " + Score.value.toString());
congratsImage.gotoAndStop((Controller.twoPlayerGame) ? 2 : 1);
NitromeGame.sound_manager.playMusic(SoundManager.MENU);
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function
(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.align = "left";
__id29_.align_vert = "center";
__id29_.blackStrength = 1.2;
__id29_.color = 14438298;
__id29_.id = "None";
__id29_.line_spacing = 18;
__id29_.text = "Dave Cowen";
__id29_.tracking = 1;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function
(){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.align = "center";
__id26_.align_vert = "center";
__id26_.blackStrength = 1.5;
__id26_.color = 14930174;
__id26_.id = "None";
__id26_.line_spacing = 18;
__id26_.text = "Instructions";
__id26_.tracking = 1;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.align = "center";
__id26_.align_vert = "center";
__id26_.blackStrength = 1.5;
__id26_.color = 14930174;
__id26_.id = "None";
__id26_.line_spacing = 18;
__id26_.text = "Credits";
__id26_.tracking = 1;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id30_] == undefined)) || (!((((int(__setPropDict[__id30_]) >= 112)) && ((int(__setPropDict[__id30_]) <= 121))))))){
__setPropDict[__id30_] = currentFrame;
();
};
}
}
}//package TwinShot_fla
Section 143
//nitrome_129 (TwinShot_fla.nitrome_129)
package TwinShot_fla {
import flash.display.*;
public dynamic class nitrome_129 extends MovieClip {
public function nitrome_129(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 144
//nitromeintro_176 (TwinShot_fla.nitromeintro_176)
package TwinShot_fla {
import flash.display.*;
public dynamic class nitromeintro_176 extends MovieClip {
public function nitromeintro_176(){
addFrameScript(31, frame32, 41, frame42, 47, frame48, 65, frame66, 94, frame95, 135, );
}
function frame95(){
NitromeGame.sound_manager.playSound("nitrome");
}
function frame48(){
NitromeGame.sound_manager.playSound("lever");
}
function frame32(){
NitromeGame.sound_manager.playSound("arrowHitWall");
}
function frame42(){
NitromeGame.sound_manager.playSound("arrowFire");
}
function (){
stop();
NitromeGame.transition.doTween("title_screen");
}
function frame66(){
NitromeGame.sound_manager.playSound("enemyHit");
}
}
}//package TwinShot_fla
Section 145
//playerDeath_127 (TwinShot_fla.playerDeath_127)
package TwinShot_fla {
import flash.display.*;
public dynamic class playerDeath_127 extends MovieClip {
public function playerDeath_127(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 146
//playerHit_118 (TwinShot_fla.playerHit_118)
package TwinShot_fla {
import flash.display.*;
public dynamic class playerHit_118 extends MovieClip {
public function playerHit_118(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 147
//playerHitByArrow_125 (TwinShot_fla.playerHitByArrow_125)
package TwinShot_fla {
import flash.display.*;
public dynamic class playerHitByArrow_125 extends MovieClip {
public function playerHitByArrow_125(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 148
//popupcontent_167 (TwinShot_fla.popupcontent_167)
package TwinShot_fla {
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import com.nitrome.game.*;
public dynamic class popupcontent_167 extends MovieClip {
public var default_restart:RestartLevelButton;
public var default_next:NextLevelButton;
public var __setPropDict:Dictionary;
public var player1Score:TwinShotFont;
public var __id23_:TwinShotFont;
public var levelScore:TextField;
public var __id24_:TwinShotFont;
public var player2Score:TwinShotFont;
public var totalScore:TextField;
public var default_resume:ContinueGameButton;
public function popupcontent_167(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(50, frame51, 51, frame52, 52, frame53, 53, frame54, 54, frame55, 55, frame56, 56, frame57, 57, frame58, 58, frame59, 59, frame60, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 20, frame21, 21, , 22, frame23, 23, , 24, frame25, 25, , 26, , 27, , 28, , 29, );
}
function (){
try {
player1Score["componentInspectorSetting"] = true;
} catch(e:Error) {
};
player1Score.align = "left";
player1Score.align_vert = "center";
player1Score.blackStrength = 1;
player1Score.color = 14438298;
player1Score.id = "None";
player1Score.line_spacing = 18;
player1Score.text = "0";
player1Score.tracking = 0;
try {
player1Score["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame14(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame23(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame25(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame21(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 11)) && ((int(__setPropDict[__id23_]) <= 20))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame32(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame35(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame36(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame37(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame33(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame34(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame38(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame31(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame40(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame42(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame43(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame44(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame45(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame46(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame47(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame41(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame49(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame39(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 31)) && ((int(__setPropDict[__id23_]) <= 40))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame48(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 21)) && ((int(__setPropDict[__id23_]) <= 30))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame51(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame52(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame53(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame54(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame55(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame56(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame57(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame58(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame59(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame50(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 41)) && ((int(__setPropDict[__id23_]) <= 50))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function frame60(){
if ((((__setPropDict[player2Score] == undefined)) || (!((((int(__setPropDict[player2Score]) >= 31)) && ((int(__setPropDict[player2Score]) <= 60))))))){
__setPropDict[player2Score] = currentFrame;
();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((((int(__setPropDict[__id24_]) >= 31)) && ((int(__setPropDict[__id24_]) <= 60))))))){
__setPropDict[__id24_] = currentFrame;
();
};
if ((((__setPropDict[player1Score] == undefined)) || (!((((int(__setPropDict[player1Score]) >= 31)) && ((int(__setPropDict[player1Score]) <= 60))))))){
__setPropDict[player1Score] = currentFrame;
();
};
if ((((__setPropDict[__id23_] == undefined)) || (!((((int(__setPropDict[__id23_]) >= 51)) && ((int(__setPropDict[__id23_]) <= 60))))))){
__setPropDict[__id23_] = currentFrame;
();
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.blackStrength = 1;
__id23_.color = 14705663;
__id23_.id = "None";
__id23_.line_spacing = 18;
__id23_.text = "Level Complete!";
__id23_.tracking = 0;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.blackStrength = 1;
__id23_.color = 14705663;
__id23_.id = "None";
__id23_.line_spacing = 18;
__id23_.text = "Level Failed";
__id23_.tracking = 0;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.align = "center";
__id24_.align_vert = "center";
__id24_.blackStrength = 1;
__id24_.color = 14639871;
__id24_.id = "None";
__id24_.line_spacing = 18;
__id24_.text = "vs.";
__id24_.tracking = 0;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.blackStrength = 1;
__id23_.color = 14705663;
__id23_.id = "None";
__id23_.line_spacing = 18;
__id23_.text = "Player 1 Wins!";
__id23_.tracking = 0;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.blackStrength = 1;
__id23_.color = 14705663;
__id23_.id = "None";
__id23_.line_spacing = 18;
__id23_.text = "Player 2 Wins!";
__id23_.tracking = 0;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.align = "center";
__id23_.align_vert = "center";
__id23_.blackStrength = 1;
__id23_.color = 14705663;
__id23_.id = "None";
__id23_.line_spacing = 18;
__id23_.text = "Draw!";
__id23_.tracking = 0;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
player2Score["componentInspectorSetting"] = true;
} catch(e:Error) {
};
player2Score.align = "right";
player2Score.align_vert = "center";
player2Score.blackStrength = 1;
player2Score.color = 14902586;
player2Score.id = "None";
player2Score.line_spacing = 18;
player2Score.text = "0";
player2Score.tracking = 0;
try {
player2Score["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package TwinShot_fla
Section 149
//powerupCollect_128 (TwinShot_fla.powerupCollect_128)
package TwinShot_fla {
import flash.display.*;
public dynamic class powerupCollect_128 extends MovieClip {
public function powerupCollect_128(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 150
//spring_117 (TwinShot_fla.spring_117)
package TwinShot_fla {
import flash.display.*;
public dynamic class spring_117 extends MovieClip {
public function spring_117(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package TwinShot_fla
Section 151
//ClearButton (ClearButton)
package {
import flash.utils.*;
import com.nitrome.highscore.*;
public dynamic class ClearButton extends ClearButton {
public var __setPropDict:Dictionary;
public var __id13_:TwinShotFont;
public function ClearButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function frame10(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function (){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.align = "center";
__id13_.align_vert = "center";
__id13_.blackStrength = 1.2;
__id13_.color = 14503834;
__id13_.id = "None";
__id13_.line_spacing = 18;
__id13_.text = "Clear";
__id13_.tracking = 0;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame18(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 1)) && ((int(__setPropDict[__id13_]) <= 10))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 11)) && ((int(__setPropDict[__id13_]) <= 20))))))){
__setPropDict[__id13_] = currentFrame;
();
};
}
function (){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.align = "center";
__id13_.align_vert = "center";
__id13_.blackStrength = 1.2;
__id13_.color = 16289784;
__id13_.id = "None";
__id13_.line_spacing = 18;
__id13_.text = "Clear";
__id13_.tracking = 0;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 152
//GameMusic (GameMusic)
package {
import flash.media.*;
public dynamic class GameMusic extends Sound {
}
}//package
Section 153
//HighScoreBoard (HighScoreBoard)
package {
import flash.utils.*;
import com.nitrome.highscore.*;
public dynamic class HighScoreBoard extends HighScoreBoard {
public var __setPropDict:Dictionary;
public var __id16_:TwinShotFont;
public function HighScoreBoard(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function (){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.align = "center";
__id16_.align_vert = "center";
__id16_.blackStrength = 1;
__id16_.color = 14438298;
__id16_.id = "None";
__id16_.line_spacing = 22;
__id16_.text = "High scores are available|at Nitrome.Com||Click to play with|high scores now!";
__id16_.tracking = 0;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame14(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame1(){
stop();
}
function frame19(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id16_] == undefined)) || (!((((int(__setPropDict[__id16_]) >= 11)) && ((int(__setPropDict[__id16_]) <= 20))))))){
__setPropDict[__id16_] = currentFrame;
();
};
stop();
}
}
}//package
Section 154
//LetterButton (LetterButton)
package {
import com.nitrome.highscore.*;
public dynamic class LetterButton extends LetterButton {
public function LetterButton(){
addFrameScript(0, frame1);
();
}
function frame1(){
stop();
}
function (){
try {
_letter["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_letter.align = "center";
_letter.align_vert = "center";
_letter.blackStrength = 1.2;
_letter.color = 14503834;
_letter.id = "None";
_letter.line_spacing = 18;
_letter.text = "a";
_letter.tracking = 0;
try {
_letter["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 155
//MenuMusic (MenuMusic)
package {
import flash.media.*;
public dynamic class MenuMusic extends Sound {
}
}//package
Section 156
//NextArrow (NextArrow)
package {
import flash.utils.*;
import com.nitrome.highscore.*;
public dynamic class NextArrow extends ArrowButton {
public var __setPropDict:Dictionary;
public var __id14_:TwinShotFont;
public function NextArrow(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function (){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.align = "center";
__id14_.align_vert = "center";
__id14_.blackStrength = 1.2;
__id14_.color = 14503834;
__id14_.id = "None";
__id14_.line_spacing = 18;
__id14_.text = "Next";
__id14_.tracking = 0;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.align = "center";
__id14_.align_vert = "center";
__id14_.blackStrength = 1.2;
__id14_.color = 16289784;
__id14_.id = "None";
__id14_.line_spacing = 18;
__id14_.text = "Next";
__id14_.tracking = 0;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 1)) && ((int(__setPropDict[__id14_]) <= 10))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 11)) && ((int(__setPropDict[__id14_]) <= 20))))))){
__setPropDict[__id14_] = currentFrame;
();
};
}
}
}//package
Section 157
//NitromeGame (NitromeGame)
package {
import flash.display.*;
import com.nitrome.util.*;
import com.nitrome.game.*;
import flash.net.*;
public class NitromeGame {
public static const NITROME:uint = 0;
private static const DOMAINS:Array = new Array(".nitrome.com/", ".miniclip.com/", ".candystand.com/");
public static const CANDYSTAND:uint = 2;
private static const NITROME_URL:Array = new Array("http://www.nitrome.com/", "http://cdn.nitrome.com/", "http://www.nitrome.co.uk/", "http://www.nitrome.net/", "http://www.nitromegames.com/", "http://www.nitromegames.co.uk/", "http://www.nitrome-games.com/", "http://www.nitrome-games.co.uk/", "http://www.nitromeimages.com/");
private static const CANDYSTAND_URL:Array = new Array("http://www.candystand.com", "http://candystand.com/");
public static const SUBMIT_URL:String = "http://www.nitrome.com/php/submit_score.php";
public static const MINICLIP:uint = 1;
private static const MINICLIP_URL:Array = new Array("http://www.miniclip.com/", "http://miniclip.com/");
public static const RETRIEVE_URL:String = "http://www.nitrome.com/php/retrieve_scores.php";
private static var _level_id:String;
private static var _leading_zero:Boolean = false;
private static var ar_1:Array = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "/", ":", ".", "_", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-");
private static var ar_2:Array = new Array("_", "7", "c", "2", "l", "r", "a", "h", "i", ".", "g", "m", "v", "1", "b", "q", "3", "z", "w", "o", "u", "t", "s", "0", "d", "f", "8", "n", "5", "k", ":", "j", "p", "/", "4", "6", "e", "9", "y", "x", "-");
private static var adj:Number = 1.75;
private static var _total_levels:int;
private static var _url:String;
public static var global:Object = new Object();
public static var timeline:MovieClip;
private static var _game_id:String;
private static var ff:Array = new Array();
private static var ar_key:String = "ctdngevfaqki8_lb:psoj90ux127hm/4w5y3rz.6-";
public static var transition:Transition;
private static var _time_based:Boolean = false;
public static var sound_manager:SoundManager;
private static var _selected_level:int = 1;
public static function setLastSavedScore(_arg1:int, _arg2:int=1):void{
var _local3:String;
var _local4:SharedObject;
_local3 = (("so_" + game_id) + String(_arg2));
_local4 = SharedObject.getLocal(_local3);
_local4.data.last_saved_score = _arg1;
_local4.flush();
_local4.close();
}
public static function lockAllLevels(_arg1:int=1):void{
var _local2:String;
var _local3:SharedObject;
var _local4:Array;
var _local5:int;
_local2 = (("so_" + game_id) + _arg1);
_local3 = SharedObject.getLocal(_local2);
_local4 = new Array(total_levels);
_local5 = 0;
while (_local5 < _local4.length) {
_local4[_local5] = 0;
_local5++;
};
_local4[0] = 1;
_local3.data.levels_unlocked = _local4;
_local3.flush();
_local3.close();
}
public static function get game_id():String{
return (_game_id);
}
public static function set leading_zero(_arg1:Boolean):void{
_leading_zero = _arg1;
}
public static function set sfx(_arg1:Boolean):void{
var _local2:String;
var _local3:SharedObject;
_local2 = ("so_" + game_id);
_local3 = SharedObject.getLocal(_local2);
_local3.data.sfxon = _arg1;
_local3.flush();
_local3.close();
}
public static function unlockAllLevels(_arg1:int=1):void{
var _local2:String;
var _local3:SharedObject;
var _local4:Array;
var _local5:int;
_local2 = (("so_" + game_id) + _arg1);
_local3 = SharedObject.getLocal(_local2);
_local4 = new Array(total_levels);
_local5 = 0;
while (_local5 < _local4.length) {
_local4[_local5] = 1;
_local5++;
};
_local3.data.levels_unlocked = _local4;
_local3.flush();
_local3.close();
}
private static function decryptString(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Number;
var _local5:int;
var _local6:*;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:int;
var _local11:String;
adj = 1.75;
ff = convertKey(_arg1);
_local3 = "";
_local4 = 0;
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2.substr(_local5, 1);
_local8 = 0;
while (_local8 < ar_2.length) {
if (ar_2[_local8] == _local6){
_local7 = _local8;
break;
};
_local8++;
};
adj = applyFudgeFactor();
_local9 = (_local4 + adj);
_local10 = (_local7 - Math.round(_local9));
_local10 = checkRange(_local10);
_local4 = (_local9 + _local7);
_local11 = ar_1[_local10];
_local3 = (_local3 + _local11);
_local5++;
};
return (_local3);
}
public static function init(_arg1:MovieClip, _arg2:String, _arg3:String, _arg4:Number):void{
timeline = _arg1;
_url = _arg1.loaderInfo.url;
_level_id = _arg3;
_total_levels = _arg4;
_game_id = _arg2.toLowerCase();
}
public static function displayNextButton(_arg1:String):Boolean{
var _local2:Array;
var _local3:String;
_local2 = _arg1.split("|");
_local3 = _local2[10];
if (_local3 == "1"){
return (true);
};
if (_local3 == "0"){
return (false);
};
return (false);
}
public static function set time_based(_arg1:Boolean):void{
_time_based = _arg1;
}
public static function get sfx():Boolean{
var _local1:String;
var _local2:SharedObject;
var _local3:Boolean;
var _local4:*;
_local1 = ("so_" + game_id);
_local2 = SharedObject.getLocal(_local1);
_local3 = false;
for each (_local4 in _local2.data) {
_local3 = true;
break;
};
if (_local3){
if (_local2.data.sfxon != undefined){
return (_local2.data.sfxon);
};
return (true);
//unresolved jump
};
return (true);
}
public static function getScoreData(_arg1:int, _arg2:String):String{
var _local3:String;
var _local4:String;
_local3 = ((((String(_arg1) + "_") + game_id) + "_") + _arg2.toLowerCase());
trace(("encrypting: " + _local3));
_local4 = encryptString(ar_key, _local3);
trace(("encrypted: " + _local4));
trace(("decrypted: " + decryptString(ar_key, _local4)));
return (_local4);
}
public static function getTotalScore(_arg1:int=1):int{
var _local2:String;
var _local3:SharedObject;
var _local4:Boolean;
var _local5:*;
var _local6:int;
var _local7:int;
_local2 = (("so_" + game_id) + String(_arg1));
_local3 = SharedObject.getLocal(_local2);
_local4 = false;
for each (_local5 in _local3.data) {
_local4 = true;
break;
};
if (!_local4){
return (0);
};
if (_local3.data.level_scores == undefined){
return (0);
};
_local6 = 0;
_local7 = 0;
while (_local7 < _local3.data.level_scores.length) {
if (((!((_local3.data.level_scores[_local7] == undefined))) && (!(isNaN(_local3.data.level_scores[_local7]))))){
_local6 = (_local6 + _local3.data.level_scores[_local7]);
};
_local7++;
};
return (_local6);
}
private static function convertKey(_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:String;
var _local6:int;
var _local7:int;
_local2 = new Array();
_local2.push(_arg1.length);
_local3 = 0;
_local4 = 0;
while (_local4 < _arg1.length) {
_local5 = _arg1.substr(_local4, 1);
_local7 = 0;
while (_local7 < ar_1.length) {
if (ar_1[_local7] == _local5){
_local6 = _local7;
break;
};
_local7++;
};
_local2.push(_local6);
_local3 = (_local3 + _local6);
_local4++;
};
_local2.push(_local3);
return (_local2);
}
private static function checkRange(_arg1:int):int{
var _local2:int;
_arg1 = Math.round(_arg1);
_local2 = ar_1.length;
while (_arg1 >= _local2) {
_arg1 = (_arg1 - _local2);
};
while (_arg1 < 0) {
_arg1 = (_arg1 + _local2);
};
return (_arg1);
}
public static function getSwfPath():String{
var _local1:String;
var _local2:int;
_local1 = url;
_local2 = _local1.length;
while (_local2 >= 0) {
if (_local1.charAt(_local2) == "/"){
_local1 = _local1.slice(0, (_local2 + 1));
break;
};
_local2--;
};
return (_local1);
}
public static function get music():Boolean{
var _local1:String;
var _local2:SharedObject;
var _local3:Boolean;
var _local4:*;
_local1 = ("so_" + game_id);
_local2 = SharedObject.getLocal(_local1);
_local3 = false;
for each (_local4 in _local2.data) {
_local3 = true;
break;
};
if (_local3){
if (_local2.data.musicon != undefined){
return (_local2.data.musicon);
};
return (true);
//unresolved jump
};
return (true);
}
public static function get level_id():String{
return (_level_id);
}
public static function setLevelUnlocked(_arg1:int, _arg2:int=1):void{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
var _local7:Array;
var _local8:int;
_local3 = (("so_" + game_id) + _arg2);
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
_local7 = new Array(total_levels);
if (!_local5){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
} else {
if (_local4.data.levels_unlocked == undefined){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
} else {
_local7 = _local4.data.levels_unlocked;
};
};
_local7[(_arg1 - 1)] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
}
public static function get total_levels():int{
return (_total_levels);
}
public static function isAtURL(... _args):Boolean{
var _local2:int;
var _local3:Array;
var _local4:Boolean;
var _local5:int;
var _local6:String;
if (_args.length == 0){
_args.push(NITROME);
};
_local2 = 0;
while (_local2 < _args.length) {
if (_args[_local2] == NITROME){
_local3 = NITROME_URL;
} else {
if (_args[_local2] == MINICLIP){
_local3 = MINICLIP_URL;
} else {
if (_args[_local2] == CANDYSTAND){
_local3 = CANDYSTAND_URL;
};
};
};
_local4 = false;
_local5 = 0;
while (_local5 < _local3.length) {
_local6 = _local3[_local5];
trace(("testing: " + _local6));
if (url.substr(0, _local6.length) == _local6){
_local4 = true;
break;
};
_local5++;
};
return (_local4);
_local2++;
};
return (false);
}
private static function encryptString(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Number;
var _local5:int;
var _local6:String;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:int;
var _local11:String;
adj = 1.75;
ff = convertKey(_arg1);
_local3 = "";
_local4 = 0;
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2.substr(_local5, 1);
_local8 = 0;
while (_local8 < ar_1.length) {
if (ar_1[_local8] == _local6){
_local7 = _local8;
break;
};
_local8++;
};
adj = applyFudgeFactor();
_local9 = (_local4 + adj);
_local10 = (Math.round(_local9) + _local7);
_local10 = checkRange(_local10);
_local4 = (_local9 + _local10);
_local11 = ar_2[_local10];
_local3 = (_local3 + _local11);
_local5++;
};
return (_local3);
}
public static function set selected_level(_arg1:int):void{
_selected_level = _arg1;
}
public static function get leading_zero():Boolean{
return (_leading_zero);
}
public static function set music(_arg1:Boolean):void{
var _local2:String;
var _local3:SharedObject;
_local2 = ("so_" + game_id);
_local3 = SharedObject.getLocal(_local2);
_local3.data.musicon = _arg1;
_local3.flush();
_local3.close();
}
public static function get time_based():Boolean{
return (_time_based);
}
public static function getLevelScore(_arg1:int, _arg2:int=1):int{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
_local3 = (("so_" + game_id) + String(_arg2));
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
if (!_local5){
return (0);
};
if (_local4.data.level_scores == undefined){
return (0);
};
if (_local4.data.level_scores[_arg1] == undefined){
return (0);
};
return (_local4.data.level_scores[_arg1]);
}
public static function getLevelUnlocked(_arg1:int, _arg2:int=1):Boolean{
var _local3:String;
var _local4:SharedObject;
var _local5:Boolean;
var _local6:*;
var _local7:Array;
var _local8:int;
_local3 = (("so_" + game_id) + _arg2);
_local4 = SharedObject.getLocal(_local3);
_local5 = false;
for each (_local6 in _local4.data) {
_local5 = true;
break;
};
_local7 = new Array(total_levels);
if (!_local5){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
if (_arg1 == 1){
return (true);
};
return (false);
} else {
if (_local4.data.levels_unlocked == undefined){
_local8 = 0;
while (_local8 < _local7.length) {
_local7[_local8] = 0;
_local8++;
};
_local7[0] = 1;
_local4.data.levels_unlocked = _local7;
_local4.flush();
_local4.close();
if (_arg1 == 1){
return (true);
};
return (false);
} else {
if (_local4.data.levels_unlocked[(_arg1 - 1)] == 1){
return (true);
};
if (_local4.data.levels_unlocked[(_arg1 - 1)] == 0){
return (false);
};
};
};
return (false);
}
public static function displayPreviousButton(_arg1:String):Boolean{
var _local2:Array;
var _local3:String;
_local2 = _arg1.split("|");
_local3 = _local2[11];
if (_local3 == "1"){
return (true);
};
if (_local3 == "0"){
return (false);
};
return (false);
}
public static function get selected_level():int{
return (_selected_level);
}
public static function setLevelScore(_arg1:int, _arg2:int, _arg3:int=1):void{
var _local4:String;
var _local5:SharedObject;
var _local6:Boolean;
var _local7:*;
_local4 = (("so_" + game_id) + _arg3);
_local5 = SharedObject.getLocal(_local4);
_local6 = false;
for each (_local7 in _local5.data) {
_local6 = true;
break;
};
if (!_local6){
_local5.data.level_scores = new Array();
_local5.data.level_scores[_arg2] = _arg1;
} else {
if (_local5.data.level_scores == undefined){
_local5.data.level_scores = new Array();
_local5.data.level_scores[_arg2] = _arg1;
} else {
_local5.data.level_scores[_arg2] = _arg1;
};
};
_local5.flush();
_local5.close();
}
private static function applyFudgeFactor():Number{
var _local1:Number;
_local1 = Number(ff.shift());
_local1 = (_local1 + adj);
ff.push(_local1);
return (_local1);
}
public static function getHighScoreLine(_arg1:String, _arg2:int):Object{
var _local3:Array;
var _local4:String;
var _local5:Array;
var _local6:Object;
_local3 = _arg1.split("|");
_local4 = _local3[(_arg2 - 1)];
if ((((((((_local4 == "0")) || ((_local4 == "1")))) || ((_local4 == null)))) || ((_local4 == "")))){
return (null);
};
_local5 = _local4.split("_");
if ((((_local5[1] == "n")) || ((_local5[2] == "n")))){
return (null);
};
_local6 = new Object();
_local6.username = _local5[2];
_local6.score = _local5[1];
_local6.rank = _local5[0];
return (_local6);
}
public static function get url():String{
return (_url);
}
public static function getLastSavedScore(_arg1:int=1):int{
var _local2:String;
var _local3:SharedObject;
var _local4:Boolean;
var _local5:*;
_local2 = (("so_" + game_id) + String(_arg1));
_local3 = SharedObject.getLocal(_local2);
_local4 = false;
for each (_local5 in _local3.data) {
_local4 = true;
break;
};
if (!_local4){
return (0);
};
if (_local3.data.last_saved_score == undefined){
return (0);
};
return (_local3.data.last_saved_score);
}
public static function getLevelName(_arg1:Number, _arg2:String=".xml"):String{
var _local3:MD5;
var _local4:String;
var _local5:String;
_local3 = new MD5();
_local4 = "";
if (leading_zero){
if (_arg1 < 10){
_local4 = "0";
};
};
_local5 = _local3.hash(String(((level_id + _local4) + _arg1)));
return ((_local5 + _arg2));
}
}
}//package
Section 158
//PrevArrow (PrevArrow)
package {
import flash.utils.*;
import com.nitrome.highscore.*;
public dynamic class PrevArrow extends ArrowButton {
public var __setPropDict:Dictionary;
public var __id15_:TwinShotFont;
public function PrevArrow(){
__setPropDict = new Dictionary(true);
super();
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);
}
function (){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.align = "center";
__id15_.align_vert = "center";
__id15_.blackStrength = 1.2;
__id15_.color = 14503834;
__id15_.id = "None";
__id15_.line_spacing = 18;
__id15_.text = "Prev";
__id15_.tracking = 0;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function (){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.align = "center";
__id15_.align_vert = "center";
__id15_.blackStrength = 1.2;
__id15_.color = 16289784;
__id15_.id = "None";
__id15_.line_spacing = 18;
__id15_.text = "Prev";
__id15_.tracking = 0;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame14(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 1)) && ((int(__setPropDict[__id15_]) <= 10))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 11)) && ((int(__setPropDict[__id15_]) <= 20))))))){
__setPropDict[__id15_] = currentFrame;
();
};
}
}
}//package
Section 159
//ScoreLine (ScoreLine)
package {
import com.nitrome.highscore.*;
public dynamic class ScoreLine extends HighScoreLine {
}
}//package
Section 160
//ScoreSubmitPanel (ScoreSubmitPanel)
package {
import flash.utils.*;
import com.nitrome.game.*;
import com.nitrome.highscore.*;
public dynamic class ScoreSubmitPanel extends ScoreSubmitPanel {
public var __setPropDict:Dictionary;
public function ScoreSubmitPanel(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 10, frame11, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20);
}
function (){
try {
_score_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_score_text.align = "center";
_score_text.align_vert = "center";
_score_text.blackStrength = 1.5;
_score_text.color = 14930174;
_score_text.id = "None";
_score_text.line_spacing = 18;
_score_text.text = "Your Score is 0";
_score_text.tracking = 0;
try {
_score_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
_name_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_name_text.align = "center";
_name_text.align_vert = "center";
_name_text.blackStrength = 1.5;
_name_text.color = 14930174;
_name_text.id = "None";
_name_text.line_spacing = 18;
_name_text.text = "";
_name_text.tracking = 0;
try {
_name_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame18(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
_score_text.text = ("YOUR SCORE IS " + Score.value);
stop();
}
function frame17(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame19(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
stop();
}
function frame10(){
if ((((__setPropDict[_score_text] == undefined)) || (!((((int(__setPropDict[_score_text]) >= 1)) && ((int(__setPropDict[_score_text]) <= 10))))))){
__setPropDict[_score_text] = currentFrame;
();
};
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 1)) && ((int(__setPropDict[_name_text]) <= 10))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[_name_text] == undefined)) || (!((((int(__setPropDict[_name_text]) >= 11)) && ((int(__setPropDict[_name_text]) <= 20))))))){
__setPropDict[_name_text] = currentFrame;
();
};
}
function
(){
try {
_name_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
_name_text.align = "center";
_name_text.align_vert = "center";
_name_text.blackStrength = 1;
_name_text.color = 14438298;
_name_text.id = "None";
_name_text.line_spacing = 22;
_name_text.text = "High scores are available|at Nitrome.Com||Click to play with|high scores now!";
_name_text.tracking = 0;
try {
_name_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 161
//SubmitButton (SubmitButton)
package {
import flash.utils.*;
import com.nitrome.highscore.*;
public dynamic class SubmitButton extends SubmitButton {
public var __setPropDict:Dictionary;
public var __id12_:TwinShotFont;
public function SubmitButton(){
__setPropDict = new Dictionary(true);
super();
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);
}
function (){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.align = "center";
__id12_.align_vert = "center";
__id12_.blackStrength = 1.2;
__id12_.color = 14503834;
__id12_.id = "None";
__id12_.line_spacing = 18;
__id12_.text = "Submit";
__id12_.tracking = 0;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function (){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.align = "center";
__id12_.align_vert = "center";
__id12_.blackStrength = 1.2;
__id12_.color = 16289784;
__id12_.id = "None";
__id12_.line_spacing = 18;
__id12_.text = "Submit";
__id12_.tracking = 0;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame10(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame14(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame12(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame18(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame3(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame6(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame7(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame1(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
stop();
}
function frame19(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame13(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame17(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame4(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame9(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame16(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame2(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame5(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame15(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame8(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 1)) && ((int(__setPropDict[__id12_]) <= 10))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame11(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
function frame20(){
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 11)) && ((int(__setPropDict[__id12_]) <= 20))))))){
__setPropDict[__id12_] = currentFrame;
();
};
}
}
}//package
Section 162
//Text_None_0 (Text_None_0)
package {
import flash.display.*;
public dynamic class Text_None_0 extends Sprite {
}
}//package
Section 163
//Text_None_1 (Text_None_1)
package {
import flash.display.*;
public dynamic class Text_None_1 extends Sprite {
}
}//package
Section 164
//Text_None_2 (Text_None_2)
package {
import flash.display.*;
public dynamic class Text_None_2 extends Sprite {
}
}//package
Section 165
//Text_None_3 (Text_None_3)
package {
import flash.display.*;
public dynamic class Text_None_3 extends Sprite {
}
}//package
Section 166
//Text_None_4 (Text_None_4)
package {
import flash.display.*;
public dynamic class Text_None_4 extends Sprite {
}
}//package
Section 167
//Text_None_5 (Text_None_5)
package {
import flash.display.*;
public dynamic class Text_None_5 extends Sprite {
}
}//package
Section 168
//Text_None_6 (Text_None_6)
package {
import flash.display.*;
public dynamic class Text_None_6 extends Sprite {
}
}//package
Section 169
//Text_None_7 (Text_None_7)
package {
import flash.display.*;
public dynamic class Text_None_7 extends Sprite {
}
}//package
Section 170
//Text_None_8 (Text_None_8)
package {
import flash.display.*;
public dynamic class Text_None_8 extends Sprite {
}
}//package
Section 171
//Text_None_9 (Text_None_9)
package {
import flash.display.*;
public dynamic class Text_None_9 extends Sprite {
}
}//package
Section 172
//Text_None_A (Text_None_A)
package {
import flash.display.*;
public dynamic class Text_None_A extends Sprite {
}
}//package
Section 173
//Text_None_APOSTROPHE (Text_None_APOSTROPHE)
package {
import flash.display.*;
public dynamic class Text_None_APOSTROPHE extends Sprite {
}
}//package
Section 174
//Text_None_B (Text_None_B)
package {
import flash.display.*;
public dynamic class Text_None_B extends Sprite {
}
}//package
Section 175
//Text_None_C (Text_None_C)
package {
import flash.display.*;
public dynamic class Text_None_C extends Sprite {
}
}//package
Section 176
//Text_None_COLON (Text_None_COLON)
package {
import flash.display.*;
public dynamic class Text_None_COLON extends Sprite {
}
}//package
Section 177
//Text_None_COMMA (Text_None_COMMA)
package {
import flash.display.*;
public dynamic class Text_None_COMMA extends Sprite {
}
}//package
Section 178
//Text_None_D (Text_None_D)
package {
import flash.display.*;
public dynamic class Text_None_D extends Sprite {
}
}//package
Section 179
//Text_None_E (Text_None_E)
package {
import flash.display.*;
public dynamic class Text_None_E extends Sprite {
}
}//package
Section 180
//Text_None_EXCLAMATION (Text_None_EXCLAMATION)
package {
import flash.display.*;
public dynamic class Text_None_EXCLAMATION extends Sprite {
}
}//package
Section 181
//Text_None_F (Text_None_F)
package {
import flash.display.*;
public dynamic class Text_None_F extends Sprite {
}
}//package
Section 182
//Text_None_FORWARDSLASH (Text_None_FORWARDSLASH)
package {
import flash.display.*;
public dynamic class Text_None_FORWARDSLASH extends Sprite {
}
}//package
Section 183
//Text_None_G (Text_None_G)
package {
import flash.display.*;
public dynamic class Text_None_G extends Sprite {
}
}//package
Section 184
//Text_None_H (Text_None_H)
package {
import flash.display.*;
public dynamic class Text_None_H extends Sprite {
}
}//package
Section 185
//Text_None_HYPHEN (Text_None_HYPHEN)
package {
import flash.display.*;
public dynamic class Text_None_HYPHEN extends Sprite {
}
}//package
Section 186
//Text_None_I (Text_None_I)
package {
import flash.display.*;
public dynamic class Text_None_I extends Sprite {
}
}//package
Section 187
//Text_None_J (Text_None_J)
package {
import flash.display.*;
public dynamic class Text_None_J extends Sprite {
}
}//package
Section 188
//Text_None_K (Text_None_K)
package {
import flash.display.*;
public dynamic class Text_None_K extends Sprite {
}
}//package
Section 189
//Text_None_L (Text_None_L)
package {
import flash.display.*;
public dynamic class Text_None_L extends Sprite {
}
}//package
Section 190
//Text_None_M (Text_None_M)
package {
import flash.display.*;
public dynamic class Text_None_M extends Sprite {
}
}//package
Section 191
//Text_None_N (Text_None_N)
package {
import flash.display.*;
public dynamic class Text_None_N extends Sprite {
}
}//package
Section 192
//Text_None_O (Text_None_O)
package {
import flash.display.*;
public dynamic class Text_None_O extends Sprite {
}
}//package
Section 193
//Text_None_P (Text_None_P)
package {
import flash.display.*;
public dynamic class Text_None_P extends Sprite {
}
}//package
Section 194
//Text_None_Q (Text_None_Q)
package {
import flash.display.*;
public dynamic class Text_None_Q extends Sprite {
}
}//package
Section 195
//Text_None_QUESTION (Text_None_QUESTION)
package {
import flash.display.*;
public dynamic class Text_None_QUESTION extends Sprite {
}
}//package
Section 196
//Text_None_R (Text_None_R)
package {
import flash.display.*;
public dynamic class Text_None_R extends Sprite {
}
}//package
Section 197
//Text_None_S (Text_None_S)
package {
import flash.display.*;
public dynamic class Text_None_S extends Sprite {
}
}//package
Section 198
//Text_None_SEMICOLON (Text_None_SEMICOLON)
package {
import flash.display.*;
public dynamic class Text_None_SEMICOLON extends Sprite {
}
}//package
Section 199
//Text_None_SPACE (Text_None_SPACE)
package {
import flash.display.*;
public dynamic class Text_None_SPACE extends Sprite {
}
}//package
Section 200
//Text_None_STOP (Text_None_STOP)
package {
import flash.display.*;
public dynamic class Text_None_STOP extends Sprite {
}
}//package
Section 201
//Text_None_T (Text_None_T)
package {
import flash.display.*;
public dynamic class Text_None_T extends Sprite {
}
}//package
Section 202
//Text_None_U (Text_None_U)
package {
import flash.display.*;
public dynamic class Text_None_U extends Sprite {
}
}//package
Section 203
//Text_None_V (Text_None_V)
package {
import flash.display.*;
public dynamic class Text_None_V extends Sprite {
}
}//package
Section 204
//Text_None_W (Text_None_W)
package {
import flash.display.*;
public dynamic class Text_None_W extends Sprite {
}
}//package
Section 205
//Text_None_X (Text_None_X)
package {
import flash.display.*;
public dynamic class Text_None_X extends Sprite {
}
}//package
Section 206
//Text_None_Y (Text_None_Y)
package {
import flash.display.*;
public dynamic class Text_None_Y extends Sprite {
}
}//package
Section 207
//Text_None_Z (Text_None_Z)
package {
import flash.display.*;
public dynamic class Text_None_Z extends Sprite {
}
}//package
Section 208
//tile_bl (tile_bl)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl extends Tile {
public function tile_bl(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 209
//tile_bl2 (tile_bl2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl2 extends Tile {
public function tile_bl2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 210
//tile_bl3 (tile_bl3)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl3 extends Tile {
public function tile_bl3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 211
//tile_bl4 (tile_bl4)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl4 extends Tile {
public function tile_bl4(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 212
//tile_bl5 (tile_bl5)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl5 extends Tile {
public function tile_bl5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 213
//tile_bl6 (tile_bl6)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl6 extends Tile {
public function tile_bl6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 214
//tile_bl7 (tile_bl7)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl7 extends Tile {
public function tile_bl7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 215
//tile_bl8 (tile_bl8)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_bl8 extends Tile {
public function tile_bl8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 216
//tile_cl (tile_cl)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl extends ConveyorTile {
}
}//package
Section 217
//tile_cl1 (tile_cl1)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl1 extends Tile {
}
}//package
Section 218
//tile_cl2 (tile_cl2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl2 extends Tile {
}
}//package
Section 219
//tile_cl3 (tile_cl3)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl3 extends Tile {
}
}//package
Section 220
//tile_cl4 (tile_cl4)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl4 extends Tile {
}
}//package
Section 221
//tile_cl5 (tile_cl5)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cl5 extends Tile {
}
}//package
Section 222
//tile_cr (tile_cr)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cr extends ConveyorTile {
}
}//package
Section 223
//tile_cx (tile_cx)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_cx extends CrumbleTile {
public function tile_cx(){
addFrameScript(7, frame8, 20, frame21, 90, , 96, );
}
function (){
setSolid();
}
function (){
gotoAndStop("normal");
}
function frame21(){
setNonsolid();
}
function frame8(){
gotoAndStop("normal");
}
}
}//package
Section 224
//tile_fl (tile_fl)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_fl extends Tile {
}
}//package
Section 225
//tile_ns1 (tile_ns1)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns1 extends Tile {
}
}//package
Section 226
//tile_ns10 (tile_ns10)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns10 extends Tile {
}
}//package
Section 227
//tile_ns11 (tile_ns11)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns11 extends Tile {
}
}//package
Section 228
//tile_ns12 (tile_ns12)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns12 extends Tile {
}
}//package
Section 229
//tile_ns13 (tile_ns13)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns13 extends Tile {
}
}//package
Section 230
//tile_ns14 (tile_ns14)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns14 extends Tile {
}
}//package
Section 231
//tile_ns15 (tile_ns15)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns15 extends Tile {
}
}//package
Section 232
//tile_ns16 (tile_ns16)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns16 extends Tile {
}
}//package
Section 233
//tile_ns2 (tile_ns2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns2 extends Tile {
}
}//package
Section 234
//tile_ns3 (tile_ns3)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns3 extends Tile {
}
}//package
Section 235
//tile_ns4 (tile_ns4)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns4 extends Tile {
}
}//package
Section 236
//tile_ns5 (tile_ns5)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns5 extends Tile {
}
}//package
Section 237
//tile_ns6 (tile_ns6)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns6 extends Tile {
}
}//package
Section 238
//tile_ns7 (tile_ns7)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns7 extends Tile {
}
}//package
Section 239
//tile_ns8 (tile_ns8)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns8 extends Tile {
}
}//package
Section 240
//tile_ns9 (tile_ns9)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_ns9 extends Tile {
}
}//package
Section 241
//tile_sp1 (tile_sp1)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_sp1 extends SpringTile {
public function tile_sp1(){
addFrameScript(0, frame1, 15, frame16);
}
function frame1(){
stop();
}
function frame16(){
gotoAndStop("normal");
}
}
}//package
Section 242
//tile_sp2 (tile_sp2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_sp2 extends SpringTile {
public function tile_sp2(){
addFrameScript(0, frame1, 15, frame16);
}
function frame1(){
stop();
}
function frame16(){
gotoAndStop("normal");
}
}
}//package
Section 243
//tile_sw (tile_sw)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_sw extends SwitchTile {
}
}//package
Section 244
//tile_sx (tile_sx)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_sx extends SpikeTile {
}
}//package
Section 245
//tile_sx2 (tile_sx2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_sx2 extends SpikeTile {
}
}//package
Section 246
//tile_wl (tile_wl)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl extends Tile {
}
}//package
Section 247
//tile_wl10 (tile_wl10)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl10 extends Tile {
}
}//package
Section 248
//tile_wl11 (tile_wl11)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl11 extends Tile {
}
}//package
Section 249
//tile_wl12 (tile_wl12)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl12 extends Tile {
}
}//package
Section 250
//tile_wl2 (tile_wl2)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl2 extends Tile {
}
}//package
Section 251
//tile_wl3 (tile_wl3)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl3 extends Tile {
}
}//package
Section 252
//tile_wl4 (tile_wl4)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl4 extends Tile {
}
}//package
Section 253
//tile_wl5 (tile_wl5)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl5 extends Tile {
}
}//package
Section 254
//tile_wl6 (tile_wl6)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl6 extends Tile {
}
}//package
Section 255
//tile_wl7 (tile_wl7)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl7 extends Tile {
}
}//package
Section 256
//tile_wl8 (tile_wl8)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl8 extends Tile {
}
}//package
Section 257
//tile_wl9 (tile_wl9)
package {
import com.nitrome.twinshot.*;
public dynamic class tile_wl9 extends Tile {
}
}//package
Section 258
//TwinShotFont (TwinShotFont)
package {
import com.nitrome.game.*;
public dynamic class TwinShotFont extends TemplateFont {
}
}//package