Talk:Dev Menu/@comment-139.99.203.183-20200805040245

package story {  import engine.Ease; import engine.MintArrayUtils; import engine.MintSprite; import engine.MintStringUtils; import engine.MintText; import engine.Point; import engine.TweenType; import engine.base.OpenflEngine; import haxe.IMap; import haxe.ds.StringMap; import haxe.ds._StringMap.StringMapKeysIterator; import motion.Actuate; import motion.actuators.GenericActuator; import motion.easing.IEasing; import motion.easing.Quad; import story.menu.Menu; import story.petGame.PetGame; public class Test {     public function Test {     }      public static function test(param1:String) : void {        var _loc2_:* = null as String; var _loc3_:* = null as String; var _loc4_:* = null as Function; var _loc5_:int = 0; var _loc6_:* = null as Array; var _loc7_:* = null; var _loc8_:* = null as Function; var _loc9_:* = null as Function; var _loc10_:* = null as Function; var _loc11_:* = null as Function; var _loc12_:* = null as Function; var _loc13_:* = null as Function; var _loc14_:* = null as Function; var _loc15_:* = null as Function; var _loc16_:* = null as Function; var _loc17_:* = null as Function; var _loc18_:* = null as Function; var _loc19_:* = null as Function; var _loc20_:* = null as Array; var _loc21_:* = null as MintSprite; var _loc22_:* = null as MintSprite; var _loc23_:* = null as MintSprite; var _loc24_:* = null as MintSprite; var _loc25_:* = null as MintSprite; var _loc26_:* = null as MintSprite; var _loc27_:int = 0; var _loc28_:* = null as MintSprite; var _loc29_:Number = NaN; var _loc30_:Boolean = false; var _loc31_:* = null as Point; var _loc32_:* = null as IMap; var _loc33_:Number = NaN; var _loc34_:int = 0; var _loc35_:int = 0; var _loc36_:int = 0; var _loc37_:* = null as IMap; var _loc38_:* = null as MintText; var _loc39_:* = null as MintText; var _loc40_:int = 0; var _loc41_:int = 0; var _loc42_:int = 0; var _loc43_:int = 0; var _loc44_:int = 0; var _loc45_:* = null as Array; var _loc46_:* = null as Array; var _loc47_:* = null as String; StaticExtern.clear; StaticExtern.saveCheckpoint("Test.test(\'" + param1 + "\');"); if(param1 == "main") {           StaticExtern.cameraFadeIn(6157740,0.5); StaticExtern.setLocation("Dev Menu"); StoryUtils.playMusic("mynt"); if(StaticExtern.data.currentHub == null) {              StaticExtern.data.currentHub = "Bright Forest"; }           var donationStrings:Array = ["THANKS VERY HECKA MUCH FOR DONATING!!!! <3","You are a beautiful little donato potato a-growing in our garden. Thank you. <3","Thanks so much for donating bud!","I bet you smell crisp and fresh as a summer\'s morn. Thanks for donating motherfucker. <3","You\'re a wonderful human being, donor. Thank you!","You\'re the shit!!! Thanks very much for giving us money in exchange for this dev version!!!!","I love you, Patreon donor! <3","Wow fuck you\'re a nice person for donating to our game like holy shit I can\'t get over you~!","Thanks for donating.","Thank you so much for donating!!","Our sincerest thanks for the donation, you\'re making our dreams come true. <3","Thanks, " + (!!StaticExtern.data.genderMale?"man.":"Grabby Cat~"),"Our warmest, softest, most curvy thanks to you for donating!","Thank you for the munny stranger!","Thanks a million for donating~"]; _loc2_ = "<!24px>Paraphore Dev Version " + StaticExtern.GAME_VERSION + "<!24px><!14px>\n\nLegacy greetings: " + Std.string(StaticExtern.pickOne(donationStrings)) + "\n\n<!14px>"; StaticExtern.append(_loc2_); if(StaticExtern.data.hasCock == false && StaticExtern.data.hasBoth == false && StaticExtern.data.hasCunt == false && StaticExtern.data.playerName == "Nameless" && StaticExtern.data.genderMale == false && StaticExtern.data.genderFemale == false && StaticExtern.data.genderNeutral == false) {              StaticExtern.append("Please set your player variables before you teleport anywhere, or you might glitch out."); }           else {              if(StaticExtern.data.myntColour == "red") {                 StaticExtern.data.myntColourFlavorized = "cherry"; }              if(StaticExtern.data.myntColour == "blue") {                 StaticExtern.data.myntColourFlavorized = "blueberry"; }              if(StaticExtern.data.myntColour == "mint") {                 StaticExtern.data.myntColourFlavorized = "mint"; }              _loc3_ = "Current player variables:\n\n<!b>Gender:<!b> " + StoryUtils.pickByGender("Male","Female","Neutral") + "\n<!b>Junk:<!b> " + StoryUtils.pickByGenitals("Cock","Cunt","Both") + "\n<!b>Chest:<!b> " + (!!StaticExtern.data.hasBoobs?"Boobs":"Flat") + "\n<!b>Name:<!b> " + StaticExtern.data.playerName + "\n<!b>Flavor:<!b> " + MintStringUtils.toTitleCase(StaticExtern.data.myntColourFlavorized) + "\n"; StaticExtern.append(_loc3_); }           _loc4_ = function:void {              StaticExtern.clearText; var _loc1_:String = StaticExtern.pickOne(["m","f","n"]); StaticExtern.data.genderMale = _loc1_ == "m"; StaticExtern.data.genderFemale = _loc1_ == "f"; StaticExtern.data.genderNeutral = _loc1_ == "n"; var _loc2_:String = StaticExtern.pickOne(["cock","cunt","both"]); StaticExtern.data.hasCock = _loc2_ == "cock"; StaticExtern.data.hasCunt = _loc2_ == "cunt"; StaticExtern.data.hasBoth = _loc2_ == "both"; StaticExtern.data.playerName = StaticExtern.pickOne(GameData.randomNames); StaticExtern.data.myntColour = StaticExtern.pickOne(["red","blue","mint"]); if(StaticExtern.data.myntColour == "red") {                 StaticExtern.data.myntColourFlavorized = "cherry"; }              if(StaticExtern.data.myntColour == "blue") {                 StaticExtern.data.myntColourFlavorized = "blueberry"; }              if(StaticExtern.data.myntColour == "mint") {                 StaticExtern.data.myntColourFlavorized = "mint"; }              StaticExtern.resetTheme; StaticExtern.data.hasBoobs = Number(Math.random) > 0.5; StoryUtils.generateCipher; var _loc3_:String = "<!24px>Paraphore Dev Version " + StaticExtern.GAME_VERSION + "<!24px><!14px>\n\nLegacy greetings: " + Std.string(StaticExtern.pickOne(donationStrings)) + "\n\n<!14px>"; StaticExtern.append(_loc3_); var _loc4_:String = "<!b>Gender:<!b> " + StoryUtils.pickByGender("Male","Female","Neutral") + "\n<!b>Junk:<!b> " + StoryUtils.pickByGenitals("Cock","Cunt","Both") + "\n<!b>Chest:<!b> " + (!!StaticExtern.data.hasBoobs?"Boobs":"Flat") + "\n<!b>Name:<!b> " + StaticExtern.data.playerName + "\n<!b>Flavor:<!b> " + MintStringUtils.toTitleCase(StaticExtern.data.myntColourFlavorized) + "\n"; StaticExtern.append(_loc4_); };           StaticExtern.addChoice("Randomize Player variables.",_loc4_); StaticExtern.addChoice("Set Player variables.",function:void           {               Test.test("player vars");            }); StaticExtern.addChoice("Tests.",function:void           {               Test.test("tests");            }); StaticExtern.addChoice("Cheats.",function:void           {               Test.test("devcheats");            }); StaticExtern.addChoice("Minigames.",function:void           {               Test.test("devminigames");            }); StaticExtern.addChoice("Teleport.",function:void           {               Test.test("devteleport");            }); StaticExtern.addChoice("Hub.",BrightForest.brightForestHub); }        if(param1 == "player vars") {           StaticExtern.setLocation("Player Vars"); StaticExtern.data.playerName = "Nameless"; StaticExtern.data.hasCunt = false; StaticExtern.data.hasCock = false; StaticExtern.data.hasBoth = false; StaticExtern.data.hasBoobs = false; StaticExtern.data.genderMale = false; StaticExtern.data.genderFemale = false; StaticExtern.data.genderNeutral = false; StaticExtern.data.myntColour = "mint"; StaticExtern.append("Name?"); StaticExtern.addTextChoice(function(param1:String):void           {               StaticExtern.data.playerName = param1;               if(int(StaticExtern.data.fatCatUnlockers.indexOf(StaticExtern.data.playerName.toUpperCase)) != -1)               {                  StaticExtern.msg("Welcome, patron! Skins unlocked!");                  StaticExtern.unlockUi("zeit","all");                  StaticExtern.unlockUi("trickster","all");                  Test.test("devequipset");               }               else               {                  Test.test("devbodyset");               }            }); }        if(param1 == "devequipset") {           StaticExtern.append("Wanna equip a skin?"); StaticExtern.addChoice("Equip Zeit.",function:void           {               StaticExtern.equipUi("zeit");               Test.test("devbodyset");            }); StaticExtern.addChoice("Equip Trickster.",function:void           {               StaticExtern.equipUi("trickster");               Test.test("devbodyset");            }); if(StaticExtern.data.playerName == "Ivandeus") {              StaticExtern.unlockUi("stinky","all"); StaticExtern.addChoice("Equip Stinky.",function:void              {                  StaticExtern.equipUi("stinky");                  Test.test("devbodyset");               }); }           if(StaticExtern.data.playerName == "nudeplanetorgy") {              StaticExtern.unlockUi("geist","all"); StaticExtern.addChoice("Equip Geist.",function:void              {                  StaticExtern.equipUi("geist");                  Test.test("devbodyset");               }); }           if(StaticExtern.data.playerName == "ari" || StaticExtern.data.playerName == "Ari") {              StaticExtern.unlockUi("taro","all"); StaticExtern.addChoice("Equip Taro.",function:void              {                  StaticExtern.equipUi("taro");                  Test.test("devbodyset");               }); }           if(StaticExtern.data.playerName == "DeaDGoD" || StaticExtern.data.playerName == "DeadGod" || StaticExtern.data.playerName == "Deadgod" || StaticExtern.data.playerName == "deadgod") {              StaticExtern.unlockUi("dead","all"); StaticExtern.addChoice("Equip Dead.",function:void              {                  StaticExtern.equipUi("dead");                  Test.test("devbodyset");               }); }           if(StaticExtern.data.playerName == "Cryptic" || StaticExtern.data.playerName == "cryptic") {              StaticExtern.unlockUi("stranger","all"); StaticExtern.addChoice("Equip Stranger.",function:void              {                  StaticExtern.equipUi("stranger");                  Test.test("devbodyset");               }); }           StaticExtern.addChoice("Nah.",function:void            {               Test.test("devbodyset");            }); }        if(param1 == "devbodyset") {           StaticExtern.setLocation("Player Vars"); StaticExtern.append("Welcome, " + StaticExtern.data.playerName + ".\n\nBody?"); if(!StaticExtern.data.hasBoobs) {              StaticExtern.addChoice("Boobs.",function:void               {                  StaticExtern.data.hasBoobs = true;                  Test.test("devbodyset");                  StaticExtern.append("\n\nYou got boobies.");               }); }           if(!StaticExtern.data.hasCunt) {              StaticExtern.addChoice("Cunt.",function:void               {                  StaticExtern.data.hasCunt = true;                  Test.test("devbodyset");                  StaticExtern.append("\n\nYou got a cunt.");               }); }           if(!StaticExtern.data.hasCock) {              StaticExtern.addChoice("Cock.",function:void               {                  StaticExtern.data.hasCock = true;                  Test.test("devbodyset");                  StaticExtern.append("\n\nYou got a cock.");               }); }           if(!StaticExtern.data.hasCock && !StaticExtern.data.hasCunt && !StaticExtern.data.hasBoobs) {              StaticExtern.addChoice("Everything.",function:void               {                  var _loc1_:Boolean = true;                  StaticExtern.data.hasBoobs = _loc1_;                  StaticExtern.data.hasBoth = _loc1_;                  Test.test("devgenderset");               }); }           if(StaticExtern.data.hasCunt || StaticExtern.data.hasCock) {              StaticExtern.addChoice("Okay, ready.",function:void               {                  Test.test("devgenderset");               }); }        }         if(param1 == "devgenderset") {           StaticExtern.append("Gender?"); if(!!StaticExtern.data.hasCunt && StaticExtern.data.hasCock) {              StaticExtern.data.hasBoth = true; StaticExtern.data.hasCunt = false; StaticExtern.data.hasCock = false; }           StaticExtern.addChoice("She.",function:void            {               StaticExtern.data.genderFemale = true;               Test.test("devflavorset");            }); StaticExtern.addChoice("He.",function:void           {               StaticExtern.data.genderMale = true;               Test.test("devflavorset");            }); StaticExtern.addChoice("They.",function:void           {               StaticExtern.data.genderNeutral = true;               Test.test("devflavorset");            }); }        if(param1 == "devPass") {           StaticExtern.disablePause; StaticExtern.setLocation("Dev Menu"); StoryUtils.playMusic("mynt"); if(StaticExtern.data.currentHub == null) {              StaticExtern.data.currentHub = "Bright Forest"; }           StaticExtern.cameraFadeIn(16777215,0.25); _loc2_ = "What\'s the secret password you got at the end of the game, " + Std.string(StaticExtern.pickOne(["slut","bitch","bud","bruh","bro","brew","buddy","pal"])) + "?\n\nYou gonna fuckin google it pussy? You won\'t!! You won\'t!!"; StaticExtern.append(_loc2_); StaticExtern.addTextChoice(function(param1:String):void           {               if(param1.toUpperCase == "STAYSTRONGREBECA" || param1.toUpperCase == "STAYSTRONGREBECA." || param1.toUpperCase == "STAYSTRONGREBECCA." || param1.toUpperCase == "STAYSTRONGREBECCA")              {                  Main.debug = true;                  StaticExtern.debugMode = true;                  StaticExtern.msg("Unlocked <!b>Dev Menu!<!b>",true);                  StaticExtern.enablePause;                  Test.test("main");                  StaticExtern.playSound("assets/audio/environment/caveWinSmall");               }               else               {                  StaticExtern.playSound("assets/audio/ui/nope");               }            }); StaticExtern.addChoice("Back to Main Menu.",function:void           {               StaticExtern.stopChannel("music");               StaticExtern.data.currentSong = "";               Menu.menuResolve;            }); }        if(param1 == "devPassAlt") {           StaticExtern.disablePause; StaticExtern.setLocation("Dev Menu"); StoryUtils.playMusic("mynt"); _loc2_ = "What\'s the secret password you got at the end of the game, " + Std.string(StaticExtern.pickOne(["slut","bitch","bud","bruh","bro","brew","buddy","pal"])) + "?\n\nYou gonna fuckin google it pussy? You won\'t!! You won\'t!!"; StaticExtern.append(_loc2_); StaticExtern.addTextChoice(function(param1:String):void           {               if(param1.toUpperCase == "STAYSTRONGREBECA" || param1.toUpperCase == "STAYSTRONGREBECA." || param1.toUpperCase == "STAYSTRONGREBECCA." || param1.toUpperCase == "STAYSTRONGREBECCA")              {                  Main.debug = true;                  StaticExtern.debugMode = true;                  StaticExtern.msg("Unlocked <!b>Dev Menu!<!b>",true);                  StaticExtern.enablePause;                  Test.test("main");                  StaticExtern.playSound("assets/audio/environment/caveWinSmall");               }               else               {                  StaticExtern.playSound("assets/audio/ui/nope");               }            }); StaticExtern.addChoice("Back to World Map.",function:void           {               WorldMap.map;            }); }        if(param1 == "devflavorset") {           StaticExtern.append("Flavor?"); StaticExtern.addChoice("Cherry.",function:void           {               StaticExtern.data.myntColour = "red";               StaticExtern.resetTheme;               Test.test("main");               StaticExtern.msg("Player vars set.");            }); StaticExtern.addChoice("Blueberry.",function:void           {               StaticExtern.data.myntColour = "blue";               StaticExtern.resetTheme;               Test.test("main");               StaticExtern.msg("Player vars set.");            }); StaticExtern.addChoice("Mint.",function:void           {               StaticExtern.data.myntColour = "mint";               StaticExtern.resetTheme;               Test.test("main");               StaticExtern.msg("Player vars set.");            }); }        if(param1 == "player vars test") {           StaticExtern.append("Heyoooo. This is the testy place for player var setting."); StaticExtern.data.playerName = "Craig"; _loc5_ = 0; _loc6_ = StaticExtern.data.items; while(_loc5_ < int(_loc6_.length)) {              _loc7_ = _loc6_[_loc5_]; _loc5_++; _loc7_.amount = 999; }           StaticExtern.addChoice("Next.",function:void            {               Test.test("devbodyset");            }); }        if(param1 == "devcheats") {           StaticExtern.makeSmallButtons; StaticExtern.setLocation("Cheats"); _loc4_ = function:void {              StaticExtern.msg("Unlocked every place."); StaticExtern.data.apothecaryUnlocked = true; StaticExtern.data.violetUnlocked = true; StaticExtern.data.moonUnlocked = true; StaticExtern.addPlace("Roxelle\'s Farm","A little farm way deep in the forest. Roxelle grows glowcorn and other crops here, with Bert\'s help.","Bright Forest"); StaticExtern.addPlace("Sewer Suburbs","A pleasant curving lane spotted with cul-de-sacs and condominums, built into the City\'s main sewage basin.","Junk City"); StaticExtern.addPlace("Snagglebank","A cum-coated sperm bank/cap bank/blood bank/abortion clinic tucked away among the alleymaze of the City.","Junk City"); StaticExtern.addPlace("Indigo Pond","A nymphs-only relaxation spot tucked deep inside an illusive thicket.","Bright Forest"); StaticExtern.addPlace("The Floatillery","A messy colony of rafts and log buildings which form a floating distillery owned by the Apothecary.","Bright Forest"); StaticExtern.addPlace("Red\'s Cottage","A cottage which used to house a grandmother and a bunny in a red cloak. Now it\'s just the bunny and the big bad wolf.","Bright Forest"); StaticExtern.addPlace("Septrica\'s","A bigass green skyscraper brothel in the middle of Junk City.","Junk City"); StaticExtern.addPlace("L.L.L.","A Library Laboratory Labyrinth, home of Lana the librarian. A maze of books and trucks and tents and equipment, possibly the only quiet and clean place in the entire city.","Junk City"); StaticExtern.addPlace("The Crack","A hot springs drawing heat from the crack on Violet\'s skull.","Violet Meteorite"); StaticExtern.addPlace("Hyper Land","An inflatable amusement park/casino.","Violet Meteorite"); StaticExtern.addPlace("Gryphon Cavern","A secret, feather-strewn cavern tucked away behind a waterfall.","Violet Meteorite"); };           var unlockSkins:Function = function:void {              StaticExtern.unlockUi("geist","all",false); StaticExtern.unlockUi("stinky","all",false); StaticExtern.unlockUi("zeit","all",false); StaticExtern.unlockUi("trickster","all",false); StaticExtern.unlockUi("taro","all",false); StaticExtern.unlockUi("dead","all",false); StaticExtern.unlockUi("dawn","all",false); StaticExtern.unlockUi("taffy","all",false); StaticExtern.unlockUi("suave","all",false); StaticExtern.unlockUi("eon","all",false); StaticExtern.unlockUi("myrrh","all",false); StaticExtern.unlockUi("scrap","all",false); StaticExtern.unlockUi("enginetic","all",false); StaticExtern.unlockUi("freak","all",false); StaticExtern.unlockUi("stranger","all"); };           StaticExtern.addChoice("Get 999 of every item.",function:void            {               var _loc3_:* = null;               var _loc1_:int = 0;               var _loc2_:Array = StaticExtern.data.items;               while(_loc1_ < int(_loc2_.length))               {                  _loc3_ = _loc2_[_loc1_];                  _loc1_++;                  _loc3_.amount = 999;               }               StaticExtern.msg("Got 999 of every item.");            }); StaticExtern.addChoice("Unlock every place.",_loc4_); StaticExtern.addChoice("Unlock all upper buttons.",function:void           {               StoryUtils.unlockTopButton(Main.shopButton);               StoryUtils.unlockTopButton(Main.skinsButton);               StaticExtern.msg("Unlocked Shop and Skins buttons.");            }); StaticExtern.addChoice("Make explorables happen infinite times.",function:void           {               var _loc3_:* = null;               var _loc1_:int = 0;               var _loc2_:Array = StaticExtern.data.exploreRefs;               while(_loc1_ < int(_loc2_.length))               {                  _loc3_ = _loc2_[_loc1_];                  _loc1_++;                  _loc3_.times = -1;               }               StaticExtern.msg("Infinite explorables toggled on.");            }); StaticExtern.addChoice("Unlock all skins.",function:void           {               unlockSkins;               StaticExtern.msg("Unlocked all skins.",true);               Test.test("devcheatsequip");            }); StaticExtern.addChoice("Unlock all journal entries.",function:void           {               StaticExtern.data.allJournal = true;               StaticExtern.msg("Unlocked all journal entries.");            }); StaticExtern.addChoice("Unlock all endings.",function:void           {               var _loc3_:* = null as String;               var _loc1_:int = 0;               var _loc2_:Array = ["protocol","mint","septrica","mynt","meteorite"];               while(_loc1_ < int(_loc2_.length))               {                  _loc3_ = _loc2_[_loc1_];                  _loc1_++;                  StaticExtern.data.endingsUnlocked.push(_loc3_);               }               StaticExtern.msg("Unlocked all endings.");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("main");            }); }        if(param1 == "devcheatsequip") {           StaticExtern.append("Wanna equip one?"); var f:Function = StaticExtern.equipUi; _loc4_ = function:void {              f("geist"); };           StaticExtern.addChoice("Geist.",_loc4_); var f1:Function = StaticExtern.equipUi; _loc8_ = function:void {              f1("stinky"); };           StaticExtern.addChoice("Stinky.",_loc8_); var f2:Function = StaticExtern.equipUi; _loc9_ = function:void {              f2("taro"); };           StaticExtern.addChoice("Taro.",_loc9_); var f3:Function = StaticExtern.equipUi; _loc10_ = function:void {              f3("taffy"); };           StaticExtern.addChoice("Taffy.",_loc10_); var f4:Function = StaticExtern.equipUi; _loc11_ = function:void {              f4("dead"); };           StaticExtern.addChoice("Dead.",_loc11_); var f5:Function = StaticExtern.equipUi; _loc12_ = function:void {              f5("dawn"); };           StaticExtern.addChoice("Dawn.",_loc12_); var f6:Function = StaticExtern.equipUi; _loc13_ = function:void {              f6("stranger"); };           StaticExtern.addChoice("Stranger.",_loc13_); var f7:Function = StaticExtern.equipUi; _loc14_ = function:void {              f7("suave"); };           StaticExtern.addChoice("Suave.",_loc14_); var f8:Function = StaticExtern.equipUi; _loc15_ = function:void {              f8("eon"); };           StaticExtern.addChoice("Eon.",_loc15_); var f9:Function = StaticExtern.equipUi; _loc16_ = function:void {              f9("myrrh"); };           StaticExtern.addChoice("Myrrh.",_loc16_); var f10:Function = StaticExtern.equipUi; _loc17_ = function:void {              f10("scrap"); };           StaticExtern.addChoice("Scrap.",_loc17_); var f11:Function = StaticExtern.equipUi; _loc18_ = function:void {              f11("enginetic"); };           StaticExtern.addChoice("Enginetic.",_loc18_); var f12:Function = StaticExtern.equipUi; _loc19_ = function:void {              f12("freak"); };           StaticExtern.addChoice("Freak.",_loc19_); StaticExtern.addChoice("Back.",function:void           {               Test.test("devcheats");            }); }        if(param1 == "devminigames") {           StaticExtern.append("Playtime~!"); StaticExtern.addChoice("Play Volleyball.",Septricas.volleyballGame); StaticExtern.addChoice("Play Goldfish Catchery.",Septricas.lilacGame); StaticExtern.addChoice("Play the Pet Game.",function:void           {               Test.test("devgoogoat");            }); if(StaticExtern.§internal§) {              StaticExtern.addChoice("Generate a hybrid.",function:void               {                  Test.test("character generator");               }); }           StaticExtern.addChoice("Back.",function:void            {               Test.test("main");            }); }        if(param1 == "quickmynt") {           StoryUtils.quickMynt("Som"); StaticExtern.append("This passage is temporarily interrupted"); StaticExtern.addChoice("Back.",function:void           {               Test.test("devminigames");            }); }        if(param1 == "onscreentimer") {           _loc4_ = function:void {              var _loc3_:int = 0; var clockText:MintText = StaticExtern.addText; var clockValue:int = 46; var _loc1_:int = 0; StaticExtern.playSound("assets/audio/music/musicbox","musicbox"); clockText.setFormat({                 "wordWrap":false,                  "fontColour":0,                  "fontSize":72               }); clockText.setText("00:" + clockValue); clockText.x = StaticExtern.GAME_WIDTH / 2 - clockText.fieldWidth / 2; clockText.y = 10; var _loc2_:int = 0; while(_loc2_ < 47) {                 _loc2_++; _loc3_ = _loc2_; StaticExtern.timer(_loc1_,function:void                 {                     clockText.setText("00:" + (clockValue > 9?"":"0") + clockValue);                     clockValue = clockValue - 1;                  }); _loc1_++; }           };            _loc4_; StaticExtern.append("This passage has a timer and a sad song"); StaticExtern.addChoice("Back.",function:void           {               Test.test("devminigames");            }); }        if(param1 == "devgoogoat") {           StaticExtern.append("Her name?"); StaticExtern.addTextChoice(function(param1:String):void           {               StaticExtern.data.gooGoatName = param1;               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Bleat.",function:void           {               StaticExtern.data.gooGoatName = "Bleat";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Goopi.",function:void           {               StaticExtern.data.gooGoatName = "Goopi";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Billy.",function:void           {               StaticExtern.data.gooGoatName = "Billy";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Bitch.",function:void           {               StaticExtern.data.gooGoatName = "Bitch";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Slut.",function:void           {               StaticExtern.data.gooGoatName = "Slut";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Whore.",function:void           {               StaticExtern.data.gooGoatName = "Whore";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Fuckling.",function:void           {               StaticExtern.data.gooGoatName = "Fuckling";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Fucklet.",function:void           {               StaticExtern.data.gooGoatName = "Fucklet";               Test.test("devgoogoat2");            }); StaticExtern.addChoice("Fucktoy.",function:void           {               StaticExtern.data.gooGoatName = "Fucktoy";               Test.test("devgoogoat2");            }); }        if(param1 == "devgoogoat2") {           StaticExtern.append("Your title?"); StaticExtern.addTextChoice(function(param1:String):void           {               StaticExtern.data.gooGoatPlayerTitle = param1;               Test.test("devgoogoat3");            }); StaticExtern.addChoice(StaticExtern.data.playerName,function:void           {               StaticExtern.data.gooGoatPlayerTitle = StaticExtern.data.playerName;               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Master",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Master";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Mistress",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Mistress";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Lord.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Lord";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Daddy.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Daddy";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Dad.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Dad";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Mommy.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Mommy";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Mom.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Mom";               Test.test("devgoogoat3");            }); StaticExtern.addChoice("Galaxy Wizard.",function:void           {               StaticExtern.data.gooGoatPlayerTitle = "Galaxy Wizard";               Test.test("devgoogoat3");            }); }        if(param1 == "devgoogoat3") {           StaticExtern.append("Home title?"); StaticExtern.addTextChoice(function(param1:String):void           {               StaticExtern.data.gooGoatHome = param1;               Test.test("devgoogoat4");            }); StaticExtern.addChoice("Moonlit Cabin.",function:void           {               StaticExtern.data.gooGoatHome = "Moonlit Cabin";               Test.test("devgoogoat4");            }); StaticExtern.addChoice("Luna.",function:void           {               StaticExtern.data.gooGoatHome = "Luna";               Test.test("devgoogoat4");            }); StaticExtern.addChoice("The Sex Castle.",function:void           {               StaticExtern.data.gooGoatHome = "The Sex Castle";               Test.test("devgoogoat4");            }); StaticExtern.addChoice("The Bone Zone.",function:void           {               StaticExtern.data.gooGoatHome = "The Bone Zone";               Test.test("devgoogoat4");            }); StaticExtern.addChoice("Just call it home.",function:void           {               StaticExtern.data.gooGoatHome = "Home";               Test.test("devgoogoat4");            }); }        if(param1 == "devgoogoat4") {           StaticExtern.append("Cheats?"); StaticExtern.data.myntPetDone = true; StaticExtern.data.gooGoatStamina = 100; StaticExtern.data.gooGoatTrust = 0; StaticExtern.data.gooGoatLuck = 0; StaticExtern.data.gooGoatSensitivity = 0; StaticExtern.data.gooGoatPsyche = 0; StaticExtern.data.gooGoatCharisma = 0; StaticExtern.addChoice("Max all stats.",function:void           {               var _loc1_:int = 100;               StaticExtern.data.gooGoatCharisma = _loc1_;               _loc1_ = _loc1_;               StaticExtern.data.gooGoatPsyche = _loc1_;               _loc1_ = _loc1_;               StaticExtern.data.gooGoatSensitivity = _loc1_;               _loc1_ = _loc1_;               StaticExtern.data.gooGoatLuck = _loc1_;               StaticExtern.data.gooGoatTrust = _loc1_;               StaticExtern.msg("Maxed all stats.");            }); StaticExtern.addChoice("Max Trust.",function:void           {               StaticExtern.data.gooGoatTrust = 100;               StaticExtern.msg("Maxed Trust.");            }); StaticExtern.addChoice("Max Luck.",function:void           {               StaticExtern.data.gooGoatLuck = 100;               StaticExtern.msg("Maxed Luck.");            }); StaticExtern.addChoice("Max Sensitivity.",function:void           {               StaticExtern.data.gooGoatSensitivity = 100;               StaticExtern.msg("Maxed Sensitivity.");            }); StaticExtern.addChoice("Max Psyche.",function:void           {               StaticExtern.data.gooGoatPsyche = 100;               StaticExtern.msg("Maxed Psyche.");            }); StaticExtern.addChoice("Max Charisma.",function:void           {               StaticExtern.data.gooGoatCharisma = 100;               StaticExtern.msg("Maxed Charisma.");            }); StaticExtern.addChoice("Begin.",PetGame.petGameResolve); }        if(param1 == "character generator") {           _loc6_ = ["sloth","lamb","chameleon","otter","cat/tiger/lion","bear","kangaroo","elephant","horse","ferret","snake","alpaca","deer","donkey","wolf","fox","hyena","moose","giraffe"]; _loc2_ = Std.string(StaticExtern.pickOne(["skunk","pig"])) + " + " + Std.string(StaticExtern.pickOne(_loc6_)); StaticExtern.append(_loc2_); StaticExtern.addChoice("Roll with filthy animals.",function:void           {               Test.test("character generator");            }); StaticExtern.addChoice("Roll with some materials.",function:void           {               Test.test("character generator2");            }); StaticExtern.addChoice("Roll wild.",function:void           {               Test.test("character generator3");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devminigames");            }); }        if(param1 == "character generator2") {           _loc6_ = ["shadow","candy","rubber","mist/gas"]; _loc20_ = ["sloth","lamb","chameleon","otter","cat/tiger/lion","bear","kangaroo","elephant","horse","ferret","snake","alpaca","deer","donkey","wolf","fox","hyena","moose","giraffe"]; _loc2_ = Std.string(StaticExtern.pickOne(_loc6_)) + " + " + Std.string(StaticExtern.pickOne(_loc20_)); StaticExtern.append(_loc2_); StaticExtern.addChoice("Roll with some good base animals.",function:void           {               Test.test("character generator");            }); StaticExtern.addChoice("Roll with some materials.",function:void           {               Test.test("character generator2");            }); StaticExtern.addChoice("Roll wild.",function:void           {               Test.test("character generator3");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devminigames");            }); }        if(param1 == "character generator3") {           _loc6_ = ["sloth","lamb","chameleon","otter","cat/tiger/lion","bear","kangaroo","elephant","horse","ferret","snake","alpaca","deer","donkey","wolf","fox","hyena","moose","giraffe"]; _loc2_ = Std.string(StaticExtern.pickOne(_loc6_)) + " + " + Std.string(StaticExtern.pickOne(_loc6_)); StaticExtern.append(_loc2_); StaticExtern.addChoice("Roll with some good base animals.",function:void           {               Test.test("character generator");            }); StaticExtern.addChoice("Roll with some materials.",function:void           {               Test.test("character generator2");            }); StaticExtern.addChoice("Roll wild.",function:void           {               Test.test("character generator3");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devminigames");            }); }        if(param1 == "devteleport") {           StaticExtern.setLocation("Teleports"); _loc21_ = StaticExtern.addRectSprite(120,40,0); _loc21_.y = 50; _loc21_.alpha = 0; _loc21_.onReleaseOnce = function:void {              StaticExtern.getUrl("https://youtu.be/KZaz7OqyTHQ"); StaticExtern.playSound("assets/audio/ui/topClick"); };           StaticExtern.append("Jump around~"); StaticExtern.data.currentHub = "Bright Forest"; StoryUtils.playMusic("mynt"); StaticExtern.addChoice("Bright Forest.",function:void           {               Test.test("devteleportbf");            }); StaticExtern.addChoice("Junk City.",function:void           {               Test.test("devteleportjc");            }); StaticExtern.addChoice("Violet Meteorite.",function:void           {               Test.test("devteleportvm");            }); StaticExtern.addChoice("Tranquil Apothecary.",function:void           {               Apothecary.explore("apohub");            }); StaticExtern.addChoice("AUTO-SHOP.",function:void           {               BrightForest.brightForestExplore("ExploreWorldShop");            }); StaticExtern.addChoice("New Scenes",function:void           {               Test.test("devteleportnewscenes");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("main");            }); }        if(param1 == "devteleportnewscenes") {           StaticExtern.makeSmallButtons; StoryUtils.playMusic("mynt"); StaticExtern.addChoice("BUG TEST",function:void           {               var _loc3_:* = null as String;               var _loc1_:int = 0;               var _loc2_:Array = ["protocol","mint","septrica","mynt","meteorite"];               while(_loc1_ < int(_loc2_.length))               {                  _loc3_ = _loc2_[_loc1_];                  _loc1_++;                  StaticExtern.data.endingsUnlocked.push(_loc3_);               }               Endings.explore("endingsHub");            }); StaticExtern.addChoice("Stealing an auto-mynt",function:void           {               BrightForest.brightForestExplore("world shop kill");            }); StaticExtern.addChoice("Bringing the auto-mynt to Som",function:void           {               TheFloatillery.theFloatillery("somStolenAuto");            }); StaticExtern.addChoice("Marei & Thelly",function:void           {               Endings.explore("thelly1");            }); StaticExtern.addChoice("Protocol Ending",function:void           {               Endings.explore("protocolHub");            }); StaticExtern.addChoice("Mint Ending (WIP)",function:void           {               Endings.explore("mintHub");            }); StaticExtern.addChoice("Self-replicating AUTO-MYNTs.",function:void           {               Test.test("selfauto");            }); StaticExtern.addChoice("Mynt ending",function:void           {               StaticExtern.data.currentEnding = "mynt";               Test.test("myntEndingGate");            }); StaticExtern.addChoice("Marei — Apothecary Tour",function:void           {               Apothecary.explore("mareiTour");            }); StaticExtern.addChoice("Cade — Cyan Wedding",function:void           {               VioletMeteorite.violetMeteoriteExplore("ExploreCyanWedding");            }); StaticExtern.addChoice("The Flood (WIP)",function:void           {               StaticExtern.data.floodMode = true;               BrightForest.brightForestExplore("floodHub");            }); StaticExtern.addChoice("Breaking into Septrica\'s",function:void           {               Septricas.enterSept("swipe Septricard");            }); StaticExtern.addChoice("<!b>NEXT PAGE<!b>",function:void           {               Test.test("devteleportnewscenes2");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "devteleportnewscenes2") {           StaticExtern.makeSmallButtons; StoryUtils.playMusic("mynt"); StaticExtern.addChoice("AMCN scene",function:void           {               MyntScenes.amcn("intro");            }); StaticExtern.addChoice("Missing Page 13",function:void           {               MyntScenes.myntMissing13("intro");            }); StaticExtern.addChoice("Missing Page 14",function:void           {               MyntScenes.myntMissing14("intro");            }); StaticExtern.addChoice("Missing Page 15",function:void           {               MyntScenes.myntMissing15("intro");            }); StaticExtern.addChoice("Missing Page 16",function:void           {               MyntScenes.myntMissing16("intro");            }); StaticExtern.addChoice("Mynt pass",function:void           {               MyntScenes.myntWriter("intro");            }); StaticExtern.addChoice("Sep ending",function:void           {               MyntScenes.amcn("clickedNoPlay");            }); StaticExtern.addChoice("Yes no prompt",function:void           {               Test.test("yesno");            }); StaticExtern.addChoice("Red after apo",function:void           {               Red.explore("afterApo1");            }); StaticExtern.addChoice("Red in City",function:void           {               JunkCity.junkCityExplore("redMove1");            }); StaticExtern.addChoice("Protocol ending unlock.",function:void           {               StaticExtern.data.currentEnding = "protocol";               Endings.explore("shelter");            }); StaticExtern.addChoice("Protocol map cutscene",function:void           {               StaticExtern.data.floodMode = true;               Endings.explore("protocolEndingMap");            }); StaticExtern.addChoice("Meteorite map cutscene",function:void           {               StaticExtern.data.floodMode = true;               Endings.explore("meteoriteEndingMap");            }); StaticExtern.addChoice("<!b>PREV PAGE<!b>",function:void           {               Test.test("devteleportnewscenes");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "myntEndingGate") {           StaticExtern.append("HUGE SPOILERS AHEAD!"); StaticExtern.addChoice("Show me the spoilers.",function:void           {               MyntScenes.myntEnding("intro");            }); StaticExtern.addChoice("After black hole.",function:void           {               MyntScenes.myntEnding("afterBlackHole");            }); StaticExtern.addChoice("Bomb shelter.",function:void           {               Endings.explore("shelter");            }); StaticExtern.addChoice("After shelter.",function:void           {               MyntScenes.myntEnding("afterShelter");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleportnewscenes");            }); }        if(param1 == "yesno") {           StoryUtils.yesNoPrompt(function:void            {               Test.test("devteleportnewscenes2");            },function:void            {               Test.test("devteleportnewscenes2");            }); }        if(param1 == "devteleportrefscenes") {           StaticExtern.makeSmallButtons; StoryUtils.playMusic("mynt"); StaticExtern.addChoice("Som and Archie test the AMCN",function:void           {               MyntScenes.myntMissing6("intro");            }); StaticExtern.addChoice("Som and Septrica test Mint",function:void           {               MyntScenes.myntMissing5("intro");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "toolteep") {           _loc21_ = StaticExtern.addRectSprite(400,400,0); _loc21_.x = StaticExtern.GAME_WIDTH / 2 - _loc21_.width / 2; _loc21_.y = StaticExtern.GAME_HEIGHT / 2 - _loc21_.height / 2; var f13:Function = StaticExtern.showToolTipOnCursor; _loc21_.onHover = function:void {              f13("<!16px>Big dicks are large and full of cum\nIf you\'re havin girl problems I feel bad for you son<!16px>","","sys"); };           StaticExtern.addChoice("Back.",function:void            {               Test.test("devteleportnewscenes");            }); }        if(param1 == "sommsg") {           StaticExtern.append("Archie,\n\nStop trying to work with Mynt. I know you don\'t want to hurt her feelings or whatever but by definition she cannot be part of our plan, in ANY way, so all the time you spend arguing with her or doing big dramatic monologues back and forth is time that could be spent getting your shit together for phase one. We will visit the Engine tomorrow whether you have someone to fap to or not.\n\nYes you read that right. Capital E for Engine. The big kahuna. The large fish. For once I was wrong, cause I guess you actually changed the right y value after all. The big blue bastard is above ground now. It\'s on the east side of the island. You can probably even see it in on your world map. Marie got right on that shit as soon as it popped up. She convinced Cage to put his <3 muscles <3 to use and build some foundation around it in exchange for two dozen Fuckmeat spawned with my technology. You know, those rare little things you keep begging me to tell you how to delete. Yeah. Not so \"pointlessly repulsive\" after all huh. This is why I\'m in charge.\n\nAnyway. Now that Marie and Cage have set up some level of security, no one should be able to just stumble onto the Engine and tell Mynt we hacked it up here at least. The blue light totally bleeds through and looks super enticing and mysterious. If Lana wasn\'t so busy with his science project I\'m sure he would be all over that shit, magnifying glass and everything.\n\nRight now the \"security\" they built around the Engine is just two doors and a handful of log walls. It\'ll be developed into something bigger later that we\'re going to call the Apothecary, once the mining ramps up and we can start to make concrete. Septrica set aside some space in the city plans for the production of all the materials and security shit we\'re gonna need. For example: card scanners that can\'t just be shorted out by a rogue cum squirt. Thankfully, Lana is looking into that for us on the pretense that we\'ll leave his project alone.\n\nI know this is a lot of names and terms at once but just keep your heart rate down and you\'ll be fine.\n\nWhat you have to do now is get your fap material up to date about the trip tomorrow. I believe she just sent you a message, actually, so go check that and don\'t even reply to this one.\n\nAnd no, I\'m not changing your password for you. I intentionally picked it to bother you into taking the initiative and LEARNING HOW TO USE THE COMPUTER MACHINE.\n\n— Som");           StaticExtern.addChoice("Back.",function:void            {               Test.test("devteleport");            });         }         if(param1 == "desktop")         {            StaticExtern.append("test");            StaticExtern.addChoice("[Minimize.]",function:void            {               Test.test("desktopinit");            });         }         if(param1 == "desktopinit")         {            StaticExtern.disablePause;            _loc21_ = StaticExtern.addSprite("img/effect/wendeezcomp/base.png");            _loc21_.y = -_loc21_.height;            StaticExtern.tween(_loc21_,{"y":0},1,{"ease":Ease.QUAD_OUT});            _loc22_ = StaticExtern.addRectSprite(60,40,0);            _loc23_ = StaticExtern.addRectSprite(60,40,0);            _loc24_ = StaticExtern.addRectSprite(60,40,0); _loc25_ = StaticExtern.addRectSprite(60,40,0); _loc26_ = StaticExtern.addRectSprite(60,40,0); _loc5_ = 0; _loc6_ = [_loc22_,_loc23_,_loc24_,_loc25_,_loc26_]; _loc27_ = 0; while(_loc27_ < int(_loc6_.length)) {              _loc28_ = _loc6_[_loc27_]; _loc27_++; _loc28_.alpha = 0; _loc28_.y = StaticExtern.GAME_HEIGHT - _loc28_.height; _loc28_.x = 60 * int(_loc6_.indexOf(_loc28_)) + _loc5_; _loc5_ = _loc5_ + 3; }           var f14:Function = StaticExtern.showToolTipOnCursor; _loc22_.onHover = function:void {              f14("wendeezcomp\n\nUsers:\n<!b>Archbishop<!b>\nWendy\nCade\nMike",""); };           var libraryWindow:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/steamLibrary.png"); var chatWindow:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/steamChat1.png"); var chatWindow2:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/steamChat2.png"); var chatWindow3:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/steamChat3.png"); var filesWindow:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/fileSystem.png"); var codeWindow:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/doomsdayCode.png"); var sublimeWindow:MintSprite = StaticExtern.addSprite("img/effect/wendeezcomp/wendyNote.png"); _loc29_ = 60; chatWindow.x = _loc29_; libraryWindow.x = _loc29_; _loc29_ = 140; chatWindow3.x = _loc29_; chatWindow2.x = _loc29_; _loc29_ = 60; chatWindow3.y = _loc29_; chatWindow2.y = _loc29_; filesWindow.x = 120; codeWindow.x = 300; codeWindow.y = 150; sublimeWindow.x = 185; _loc29_ = StaticExtern.GAME_HEIGHT; sublimeWindow.y = _loc29_; _loc29_ = _loc29_; filesWindow.y = _loc29_; libraryWindow.y = _loc29_; _loc29_ = 0.1; sublimeWindow.scaleY = _loc29_; _loc29_ = _loc29_; sublimeWindow.scaleX = _loc29_; _loc29_ = _loc29_; filesWindow.scaleY = _loc29_; _loc29_ = _loc29_; filesWindow.scaleX = _loc29_; _loc29_ = _loc29_; libraryWindow.scaleY = _loc29_; libraryWindow.scaleX = _loc29_; var friendsButton:MintSprite = StaticExtern.addRectSprite(150,50,0); var friendsButton2:MintSprite = StaticExtern.addRectSprite(65,25,0); friendsButton2.x = 100; friendsButton2.y = 40; var scrollButton:MintSprite = StaticExtern.addRectSprite(30,320,0); var codeButton:MintSprite = StaticExtern.addRectSprite(100,25,0); friendsButton.x = 5 + libraryWindow.width - friendsButton.width; friendsButton.y = 30 + libraryWindow.height - friendsButton.height; _loc4_ = function:void {              var _loc1_:Boolean = false; friendsButton2.mouseEnabled = _loc1_; friendsButton.mouseEnabled = _loc1_; StaticExtern.playSound("assets/audio/secret/click","click"); StaticExtern.setChannelVolume("click",0.3); var _loc2_:int = 50; chatWindow3.layer = _loc2_; _loc2_ = _loc2_; chatWindow2.layer = _loc2_; chatWindow.layer = _loc2_; StaticExtern.tween(chatWindow,{                 "x":140,                  "y":60,                  "alpha":1               },0.3); scrollButton.mouseEnabled = true; };           friendsButton2.onReleaseOnce = _loc4_; friendsButton.onReleaseOnce = _loc4_; scrollButton.x = 615; scrollButton.y = 160; var currentChatPage:int = 1; var scrollUp:Boolean = true; scrollButton.onReleaseOnce = function:void {              StaticExtern.playSound("assets/audio/ui/menu" + (Number(Math.random) > 0.5?"Open":"Close")); var _loc1_:Number = 0; chatWindow3.alpha = _loc1_; _loc1_ = _loc1_; chatWindow2.alpha = _loc1_; chatWindow.alpha = _loc1_; if(currentChatPage == 0) {                 chatWindow.alpha = 1; scrollUp = true; }              if(currentChatPage == 1) {                 chatWindow2.alpha = 1; }              if(currentChatPage == 2) {                 chatWindow3.alpha = 1; scrollUp = false; }              if(scrollUp) {                 currentChatPage = currentChatPage + 1; }              else {                 currentChatPage = currentChatPage - 1; }           };            codeButton.x = 300; codeButton.y = 160; codeButton.onReleaseOnce = function:void {              codeButton.mouseEnabled = false; codeWindow.layer = 40; StaticExtern.playSound("assets/audio/secret/click","click",{"loops":2}); StaticExtern.setChannelVolume("click",0.3); StaticExtern.tween(codeWindow,{                 "x":0,                  "y":0,                  "alpha":1,                  "scaleX":1,                  "scaleY":1               },0.3); };           var libraryCloser:MintSprite = StaticExtern.addRectSprite(80,30,0); libraryCloser.x = 670; libraryCloser.y = 30; var chatCloser:MintSprite = StaticExtern.addRectSprite(60,30,0); chatCloser.x = 600; chatCloser.y = 70; var filesCloser:MintSprite = StaticExtern.addRectSprite(100,20,0); filesCloser.x = 570; filesCloser.y = 100; var codeCloser:MintSprite = StaticExtern.addRectSprite(40,40,0); codeCloser.x = StaticExtern.GAME_WIDTH - codeCloser.width; var sublimeCloser:MintSprite = StaticExtern.addRectSprite(40,40,0); sublimeCloser.x = StaticExtern.GAME_WIDTH - sublimeCloser.width; _loc30_ = false; sublimeCloser.mouseEnabled = _loc30_; _loc30_ = _loc30_; codeCloser.mouseEnabled = _loc30_; _loc30_ = _loc30_; filesCloser.mouseEnabled = _loc30_; _loc30_ = _loc30_; chatCloser.mouseEnabled = _loc30_; _loc30_ = _loc30_; libraryCloser.mouseEnabled = _loc30_; _loc30_ = _loc30_; codeButton.mouseEnabled = _loc30_; _loc30_ = _loc30_; scrollButton.mouseEnabled = _loc30_; _loc30_ = _loc30_; friendsButton2.mouseEnabled = _loc30_; friendsButton.mouseEnabled = _loc30_; _loc29_ = 0; sublimeCloser.alpha = _loc29_; _loc29_ = _loc29_; codeCloser.alpha = _loc29_; _loc29_ = _loc29_; filesCloser.alpha = _loc29_; _loc29_ = _loc29_; chatCloser.alpha = _loc29_; _loc29_ = _loc29_; libraryCloser.alpha = _loc29_; _loc29_ = _loc29_; codeButton.alpha = _loc29_; _loc29_ = _loc29_; scrollButton.alpha = _loc29_; _loc29_ = _loc29_; friendsButton2.alpha = _loc29_; _loc29_ = _loc29_; friendsButton.alpha = _loc29_; _loc29_ = _loc29_; sublimeWindow.alpha = _loc29_; _loc29_ = _loc29_; codeWindow.alpha = _loc29_; _loc29_ = _loc29_; filesWindow.alpha = _loc29_; _loc29_ = _loc29_; chatWindow3.alpha = _loc29_; _loc29_ = _loc29_; chatWindow2.alpha = _loc29_; _loc29_ = _loc29_; chatWindow.alpha = _loc29_; libraryWindow.alpha = _loc29_; var openWindows:Array = []; _loc4_ = function(param1:String):void {              var _loc2_:int = 0; var _loc3_:Boolean = false; var _loc4_:Number = NaN; StaticExtern.playSound("assets/audio/secret/click","click"); StaticExtern.setChannelVolume("click",0.3); if(param1 == "steam") {                 if(MintArrayUtils.contains(openWindows,param1)) {                    openWindows.remove(param1); StaticExtern.tween(libraryWindow,{                       "x":60,                        "y":StaticExtern.GAME_HEIGHT,                        "alpha":0,                        "scaleX":0.1,                        "scaleY":0.1                     },0.3); _loc2_ = 35; libraryWindow.layer = _loc2_; _loc2_ = _loc2_; chatWindow3.layer = _loc2_; _loc2_ = _loc2_; chatWindow2.layer = _loc2_; chatWindow.layer = _loc2_; _loc3_ = false; chatCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; libraryCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; scrollButton.mouseEnabled = _loc3_; _loc3_ = _loc3_; friendsButton2.mouseEnabled = _loc3_; friendsButton.mouseEnabled = _loc3_; _loc4_ = 0; chatWindow3.alpha = _loc4_; _loc4_ = _loc4_; chatWindow2.alpha = _loc4_; chatWindow.alpha = _loc4_; }                 else {                    openWindows.push(param1); libraryWindow.layer = 40; _loc3_ = true; chatCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; libraryCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; friendsButton2.mouseEnabled = _loc3_; friendsButton.mouseEnabled = _loc3_; StaticExtern.tween(libraryWindow,{                       "x":5,                        "y":30,                        "alpha":1,                        "scaleX":1,                        "scaleY":1                     },0.3); }              }               if(param1 == "files") {                 if(MintArrayUtils.contains(openWindows,param1)) {                    openWindows.remove(param1); StaticExtern.tween(filesWindow,{                       "x":120,                        "y":StaticExtern.GAME_HEIGHT,                        "alpha":0,                        "scaleX":0.1,                        "scaleY":0.1                     },0.3); filesWindow.layer = 35; _loc3_ = false; codeCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; filesCloser.mouseEnabled = _loc3_; codeButton.mouseEnabled = _loc3_; codeWindow.alpha = 0; }                 else {                    openWindows.push(param1); filesWindow.layer = 40; _loc3_ = true; codeCloser.mouseEnabled = _loc3_; _loc3_ = _loc3_; filesCloser.mouseEnabled = _loc3_; codeButton.mouseEnabled = _loc3_; StaticExtern.tween(filesWindow,{                       "x":270,                        "y":100,                        "alpha":1,                        "scaleX":1,                        "scaleY":1                     },0.3); }              }               if(param1 == "sublime") {                 if(MintArrayUtils.contains(openWindows,param1)) {                    openWindows.remove(param1); sublimeCloser.mouseEnabled = false; StaticExtern.tween(sublimeWindow,{                       "x":185,                        "y":StaticExtern.GAME_HEIGHT,                        "alpha":0,                        "scaleX":0.1,                        "scaleY":0.1                     },0.3); sublimeWindow.layer = 35; }                 else {                    openWindows.push(param1); sublimeCloser.mouseEnabled = true; sublimeWindow.layer = 40; StaticExtern.tween(sublimeWindow,{                       "x":0,                        "y":0,                        "alpha":1,                        "scaleX":1,                        "scaleY":1                     },0.3); }              }            };            var f15:Function = _loc4_; _loc23_.onReleaseOnce = function:void {              f15("steam"); };           var f16:Function = _loc4_; _loc8_ = function:void {              f16("steam"); };           _loc9_ = _loc8_; chatCloser.onReleaseOnce = _loc9_; libraryCloser.onReleaseOnce = _loc9_; var f17:Function = _loc4_; _loc24_.onReleaseOnce = function:void {              f17("files"); };           var f18:Function = _loc4_; _loc9_ = function:void {              f18("files"); };           _loc10_ = _loc9_; codeCloser.onReleaseOnce = _loc10_; filesCloser.onReleaseOnce = _loc10_; var f19:Function = _loc4_; _loc25_.onReleaseOnce = function:void {              f19("sublime"); };           var f20:Function = _loc4_; _loc10_ = function:void {              f20("sublime"); };           sublimeCloser.onReleaseOnce = _loc10_; _loc26_.onReleaseOnce = function:void {              Test.test("devteleportnewscenes"); };           var f21:Function = StaticExtern.showToolTipOnCursor; _loc26_.onHover = function:void {              f21("Return to Paraphore",""); };        }         if(param1 == "devteleportbf") {           StaticExtern.append("Bright Forest teleports."); _loc21_ = StaticExtern.addSprite("assets/img/worldMap/brightForest.png"); _loc21_.x = 250; _loc21_.y = 200; StoryUtils.playMusic("brightForest"); StaticExtern.addChoice("Bright Forest hub.",BrightForest.brightForestHub); StaticExtern.addChoice("Roxelle\'s.",Roxelle.roxExplore); StaticExtern.addChoice("Red\'s Cottage.",function:void           {               Red.explore("intro");            }); StaticExtern.addChoice("Floatillery.",function:void           {               TheFloatillery.theFloatillery("explore");            }); StaticExtern.addChoice("Indigo Pond.",function:void           {               IndigoPond.indigoPond("intro");            }); StaticExtern.addChoice("Frog boy.",function:void           {               BrightForest.brightForestExplore("ExploreDarts");            }); StaticExtern.addChoice("Landfill.",function:void           {               BrightForest.brightForestExplore("ExploreSalvage");            }); StaticExtern.addChoice("Goblin village.",function:void           {               BrightForest.brightForestExplore("ExploreGobbo");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "devteleportjc") {           StaticExtern.append("Junk City teleports."); _loc21_ = StaticExtern.addSprite("assets/img/worldMap/junkCity.png"); _loc21_.x = 215; _loc21_.y = 230; StoryUtils.playMusic("junkCity"); StaticExtern.addChoice("Wanderings.",function:void           {               Test.test("devteleportjcwanderings");            }); StaticExtern.addChoice("Junk City hub.",JunkCity.junkCityHub); StaticExtern.addChoice("Septrica\'s.",Septricas.septricasExplore); StaticExtern.addChoice("Sewer Suburbs.",function:void           {               JunkCity.junkCityExplore("ExploreSewerSuburbs");            }); StaticExtern.addChoice("Snagglebank.",function:void           {               JunkCity.junkCityExplore("ExploreSnagglebank");            }); StaticExtern.addChoice("L.L.L.",function:void           {               LLL.libraryExplore("explore");            }); StaticExtern.addChoice("Cade party.",function:void           {               JunkCity.junkCityExplore("cadeparty44");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "devteleportjcwanderings") {           StaticExtern.append("Junk City wandering teleports."); StaticExtern.addChoice("Teen stripper.",function:void           {               JunkCity.junkCityExplore("ExploreTeenStripper");            }); StaticExtern.addChoice("Dumpster.",function:void           {               JunkCity.junkCityExplore("ExploreDumpsterDrown");            }); StaticExtern.addChoice("Breed Me.",function:void           {               JunkCity.junkCityExplore("ExploreBreedMe");            }); StaticExtern.addChoice("Cade.",function:void           {               JunkCity.junkCityExplore("ExploreCade");            }); }        if(param1 == "devteleportvm") {           StaticExtern.append("Violet Meteorite teleports."); _loc21_ = StaticExtern.addSprite("assets/img/worldMap/violetMeteorite.png"); _loc21_.x = 250; _loc21_.y = 100; StoryUtils.playMusic("violetMeteorite"); StaticExtern.addChoice("Violet Meteorite hub.",VioletMeteorite.violetMeteoriteHub); StaticExtern.addChoice("The Crack.",function:void           {               TheCrack.explore("explore");            }); StaticExtern.addChoice("Hyper Land.",function:void           {               HyperLand.explore("explore");            }); StaticExtern.addChoice("Gryphon.",function:void           {               VioletMeteorite.violetMeteoriteExplore("ExploreGryphon");            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleport");            }); }        if(param1 == "tests") {           StaticExtern.makeSmallButtons; StaticExtern.addChoice("game tests",function:void           {               Test.test("game tests");            }); StaticExtern.addChoice("text tests",function:void           {               Test.test("text tests");            }); StaticExtern.addChoice("effect tests",function:void           {               Test.test("effect tests");            }); StaticExtern.addChoice("save debug",function:void           {               Test.test("save debug");            }); StaticExtern.addChoice("Copyable text.",function:void           {               Test.test("copy text");            }); StaticExtern.addChoice("Enginetics particles.",function:void           {               Test.test("engineticsParticles");            }); StaticExtern.addChoice("Set cipher based on name.",function:void           {               Test.test("generateNewCipher");            }); StaticExtern.addChoice("Cipherizer.",function:void           {               Test.test("cipher");            }); StaticExtern.addChoice("Endings.",function:void           {               Test.test("endings");            }); StaticExtern.addChoice("Toggle WM notifications.",function:void           {               StaticExtern.data.notificationTest = !StaticExtern.data.notificationTest;               var _loc1_:String = "" + Std.string(StaticExtern.data.notificationTest);               StaticExtern.msg(_loc1_);            }); StaticExtern.addChoice("Toggle WM glows.",function:void           {               var _loc1_:StringMap = StaticExtern.data.gameSettings;               var _loc2_:Boolean = !("World Map Glows" in StringMap.reserved?_loc1_.getReserved("World Map Glows"):_loc1_.h["World Map Glows"]);               var _loc3_:StringMap = StaticExtern.data.gameSettings;               if("World Map Glows" in StringMap.reserved)               {                  _loc3_.setReserved("World Map Glows",_loc2_);               }               else               {                  _loc3_.h["World Map Glows"] = _loc2_;               }               _loc3_ = StaticExtern.data.gameSettings;               var _loc4_:String = "" + Std.string("World Map Glows" in StringMap.reserved?_loc3_.getReserved("World Map Glows"):_loc3_.h["World Map Glows"]);               StaticExtern.msg(_loc4_);            }); StaticExtern.addChoice("Toggle journal kinks.",function:void           {               var _loc1_:StringMap = StaticExtern.data.gameSettings;               var _loc2_:Boolean = !("Journal Kink Symbols" in StringMap.reserved?_loc1_.getReserved("Journal Kink Symbols"):_loc1_.h["Journal Kink Symbols"]);               var _loc3_:StringMap = StaticExtern.data.gameSettings;               if("Journal Kink Symbols" in StringMap.reserved)               {                  _loc3_.setReserved("Journal Kink Symbols",_loc2_);               }               else               {                  _loc3_.h["Journal Kink Symbols"] = _loc2_;               }               _loc3_ = StaticExtern.data.gameSettings;               var _loc4_:String = "" + Std.string("Journal Kink Symbols" in StringMap.reserved?_loc3_.getReserved("Journal Kink Symbols"):_loc3_.h["Journal Kink Symbols"]);               StaticExtern.msg(_loc4_); });           StaticExtern.addChoice("Toggle Flood mode.",function:void {              StaticExtern.data.floodMode = !StaticExtern.data.floodMode; var _loc1_:String = "" + Std.string(StaticExtern.data.floodMode); StaticExtern.msg(_loc1_); });           if(StaticExtern.§internal§)            {               StaticExtern.addChoice("On-screen timer.",function:void {                 Test.test("onscreentimer"); });           }            if(StaticExtern.§internal§)            {               StaticExtern.addChoice("theme unlock",function:void {                 Test.test("theme unlock test"); });           }            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "selfauto")         {            _loc21_ = StaticExtern.addSprite("img/effect/autoShop");            _loc21_.x = StaticExtern.GAME_WIDTH / 2 - _loc21_.width / 2;            _loc21_.y = StaticExtern.GAME_HEIGHT / 2 - _loc21_.height / 2;            StaticExtern.addChoice("Begin.",function:void {              Test.test("selfauto2"); });           StaticExtern.addChoice("Back.",function:void {              Test.test("main"); });        }         if(param1 == "selfauto2")         {            StaticExtern.disablePause;            StaticExtern.playSound("audio/mynt/intro");            var auto1:MintSprite = StaticExtern.addSprite("img/effect/autoShop");            auto1.x = StaticExtern.GAME_WIDTH / 2 - auto1.width / 2;            auto1.y = StaticExtern.GAME_HEIGHT / 2 - auto1.height / 2;            var mintFace:MintSprite = StaticExtern.addSprite("img/effect/mintAutoShop");            mintFace.x = auto1.x;            mintFace.y = auto1.y;            mintFace.tint = -1;            mintFace.alpha = 0;            var auto11:MintSprite = StaticExtern.addSprite("img/effect/autoShop");            auto11.alpha = 0;            auto11.x = auto1.x;            auto11.y = auto1.y;            auto11.scaleX = 0;            auto11.scaleY = 0;            var auto2:MintSprite = StaticExtern.addSprite("img/effect/autoShop"); auto2.alpha = 0; auto2.x = StaticExtern.GAME_WIDTH - auto2.width - 10; auto2.y = auto1.y;           auto2.scaleX = 0; auto2.scaleY = 0; var auto3:MintSprite = StaticExtern.addSprite("img/effect/autoShop"); auto3.alpha = 0; auto3.x = 10; auto3.y = auto1.y;           auto3.scaleX = 0; auto3.scaleY = 0; var canvas:MintSprite = new MintSprite; StaticExtern.prepareSprite(canvas); canvas.setupCanvas("img/effect/autoShop",StaticExtern.GAME_WIDTH,StaticExtern.GAME_HEIGHT); var e:Object = StaticExtern.emitterCreate("spritesheet/berryParticles"); e.sprite.layer = 36; e.position.minX = -30; e.position.minY = -30; e.position.maxX = StaticExtern.GAME_WIDTH + 30; e.position.maxY = StaticExtern.GAME_HEIGHT + 30; e.speed.min = 15; e.speed.max = 20; e.angle.min = 0; e.angle.max = 360; e.lifeSpan.min = 1; e.lifeSpan.max = 1; _loc31_ = new Point(400,300); var goCrazyTimer:int = 0; var emitTimer:int = 0; var emitTimer2:int = 0; var emitTimer3:int = 0; var goCrazy:Function = function:void {              var _loc2_:int = 0; var _loc3_:int = 0; var _loc4_:Number = NaN; var _loc5_:int = 0; if(Number(StaticExtern.getItem("AUTO-MYNT").amount) >= 777777) {                 StaticExtern.timerCancel(goCrazyTimer); StaticExtern.clearChoices; StaticExtern.addChoice("Back.",function:void                 {                     Test.test("main");                  }); StaticExtern.timer(5,function:void                 {                     var _loc2_:int = 0;                     var _loc3_:int = 0;                     var _loc4_:int = 0;                     var _loc5_:int = 0;                     var _loc1_:int = 0;                     while(_loc1_ < 3)                     {                        _loc1_++;                        _loc2_ = _loc1_;                        _loc3_ = int(StaticExtern.timer(0.01,function:void                        {                           StaticExtern.emitterEmit(e,e.sprite.frameNames[0]);                        },9999999));                        _loc4_ = int(StaticExtern.timer(0.02,function:void                        {                           StaticExtern.emitterEmit(e,e.sprite.frameNames[0]);                        },9999999));                        _loc5_ = int(StaticExtern.timer(0.02,function:void {                          StaticExtern.emitterEmit(e,e.sprite.frameNames[0]); },9999999));                    }                  });                  return;               }               var _loc1_:int = 0;               while(_loc1_ < 8)               {                  _loc1_++;                  _loc2_ = _loc1_;                  if(Number(Math.random) < 0.2 && Number(StaticExtern.getItem("AUTO-MYNT").amount) < 776778)                  {                     _loc3_ = int(StaticExtern.rndInt(999,1200));                     StaticExtern.addToItem("AUTO-MYNT",_loc3_);                  }                  if(Number(StaticExtern.getItem("AUTO-MYNT").amount) < 777777 && Number(StaticExtern.getItem("AUTO-MYNT").amount) >= 776778)                  {                     _loc4_ = 777777 - StaticExtern.getItem("AUTO-MYNT").amount;                     StaticExtern.addToItem("AUTO-MYNT",_loc4_);                  }                  _loc3_ = int(Math.round(Number(StaticExtern.rndFloat(-auto1.width / 2,StaticExtern.GAME_WIDTH)))); _loc5_ = int(Math.round(Number(StaticExtern.rndFloat(-auto1.height / 2,StaticExtern.GAME_HEIGHT)))); canvas.copyPixels(0,0,342,311,_loc3_,_loc5_); }           };            StaticExtern.tween(auto1,{"y":Number(auto1.y + 2)},0.05,{"type":TweenType.PINGPONG}); StaticExtern.tween(mintFace,{"y":Number(auto1.y + 2)},0.05,{"type":TweenType.PINGPONG}); StaticExtern.tween(mintFace,{"alpha":1},6.5,{"onComplete":function:void           {               mintFace.tint = 0;               StaticExtern.playSound("audio/environment/autoshop");               StaticExtern.playSound("audio/environment/mintAppears");               auto1.cancelTweens;               mintFace.cancelTweens;            }}); StaticExtern.timer(9,function:void           {               StaticExtern.playSound("audio/environment/autoshop");               StaticExtern.tween(auto1,{"x":10},0.4,{"ease":Ease.ELASTIC_OUT});               StaticExtern.tween(mintFace,{"x":10},0.4,{"ease":Ease.ELASTIC_OUT});               StaticExtern.tween(auto11,{ "scaleX":1, "scaleY":1, "x":StaticExtern.GAME_WIDTH - auto11.width - 10, "alpha":1 },0.4,{"ease":Ease.ELASTIC_OUT});              StaticExtern.addToItem("AUTO-MYNT",1);            }); StaticExtern.timer(12,function:void           {               StaticExtern.playSound("audio/environment/autoshop");               var f22:Function = StaticExtern.playSound;               var _loc1_:Function = function:void               {                  f22("audio/environment/autoshop");               };               StaticExtern.timer(0.2,_loc1_);               StaticExtern.tween(auto1,{"y":10},0.4,{"ease":Ease.ELASTIC_OUT});               StaticExtern.tween(mintFace,{"y":10},0.4,{"ease":Ease.ELASTIC_OUT});               StaticExtern.tween(auto11,{"y":10},0.4,{"ease":Ease.ELASTIC_OUT});               StaticExtern.tween(auto2,{ "scaleX":1, "scaleY":1, "y":StaticExtern.GAME_HEIGHT - 10 - auto2.height, "alpha":1 },0.4,{"ease":Ease.ELASTIC_OUT});              StaticExtern.tween(auto3,{ "scaleX":1, "scaleY":1, "y":StaticExtern.GAME_HEIGHT - 10 - auto3.height, "alpha":1 },0.4,{"ease":Ease.ELASTIC_OUT});              StaticExtern.addToItem("AUTO-MYNT",1);               StaticExtern.addToItem("AUTO-MYNT",1);            }); StaticExtern.timer(16,function:void           {               goCrazyTimer = int(StaticExtern.timer(0.05,function:void               {                  StoryUtils.playMusic("autoSpam",true);                  goCrazy;               },99999));            }); StaticExtern.hookClear(function:void           {               StaticExtern.emitterDestroy(e);               OpenflEngine.hideFps;               StaticExtern.timerCancel(emitTimer);               StaticExtern.timerCancel(emitTimer2);               StaticExtern.timerCancel(emitTimer3);            }); StaticExtern.addChoice("Back.",function:void           {               Test.test("devteleportnewscenes");            }); }        if(param1 == "engineticsParticles") {           var e1:Object = StaticExtern.emitterCreate("spritesheet/berryParticles"); e1.sprite.layer = 31; e1.position.minX = 0; e1.position.minY = StaticExtern.GAME_HEIGHT + 50; e1.position.maxX = StaticExtern.GAME_WIDTH - 5; e1.position.maxY = StaticExtern.GAME_HEIGHT + 70; e1.speed.min = 1; e1.speed.max = 2; e1.angle.min = 60; e1.angle.max = 120; e1.lifeSpan.min = 1; e1.lifeSpan.max = 3; _loc31_ = new Point(200,200); var emitTimer4:int = StaticExtern.timer(0.05,function:void           {               StaticExtern.emitterEmit(e1,e1.sprite.frameNames[0]);            },9999999); StaticExtern.addChoice("explode 100",function:void           {               var _loc2_:int = 0;               var _loc1_:int = 0;               while(_loc1_ < 100)               {                  _loc1_++;                  _loc2_ = _loc1_;                  StaticExtern.emitterEmit(e1,e1.sprite.frameNames[0]);               }            }); StaticExtern.addChoice("explode 1000",function:void           {               var _loc2_:int = 0;               var _loc1_:int = 0;               while(_loc1_ < 1000)               {                  _loc1_++;                  _loc2_ = _loc1_;                  StaticExtern.emitterEmit(e1,e1.sprite.frameNames[0]);               }            }); StaticExtern.addChoice("showFps",function:void           {               OpenflEngine.showFps;            }); StaticExtern.hookClear(function:void           {               StaticExtern.emitterDestroy(e1);               OpenflEngine.hideFps;               StaticExtern.timerCancel(emitTimer4);            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "endings") {           _loc21_ = StaticExtern.addSprite("assets/img/effect/endings/endingsBase.png"); _loc21_.x = StaticExtern.GAME_WIDTH / 2 - _loc21_.width / 2; _loc21_.y = StaticExtern.GAME_HEIGHT / 2 - _loc21_.height / 2; _loc22_ = StaticExtern.addSprite("assets/img/effect/endings/mint.png"); _loc23_ = StaticExtern.addSprite("assets/img/effect/endings/protocol.png"); _loc24_ = StaticExtern.addSprite("assets/img/effect/endings/septrica.png"); _loc25_ = StaticExtern.addSprite("assets/img/effect/endings/mynt.png"); _loc26_ = StaticExtern.addSprite("assets/img/effect/endings/meteorite.png"); _loc32_ = new StringMap; if("mynt" in StringMap.reserved) {              _loc32_.setReserved("mynt",_loc25_); }           else {              _loc32_.h["mynt"] = _loc25_; }           if("meteorite" in StringMap.reserved) {              _loc32_.setReserved("meteorite",_loc26_); }           else {              _loc32_.h["meteorite"] = _loc26_; }           if("protocol" in StringMap.reserved) {              _loc32_.setReserved("protocol",_loc23_); }           else {              _loc32_.h["protocol"] = _loc23_; }           if("septrica" in StringMap.reserved) {              _loc32_.setReserved("septrica",_loc24_); }           else {              _loc32_.h["septrica"] = _loc24_; }           if("mint" in StringMap.reserved) {              _loc32_.setReserved("mint",_loc22_); }           else {              _loc32_.h["mint"] = _loc22_; }           var endMap:IMap = _loc32_; _loc29_ = 0; _loc33_ = 0; _loc5_ = 0; _loc6_ = ["protocol","septrica","mynt","mint","meteorite"]; while(_loc5_ < int(_loc6_.length)) {              var endButtName:Array = [_loc6_[_loc5_]]; _loc5_++; var endButt:Array = [endButtName[0] in StringMap.reserved?endMap.getReserved(endButtName[0]):endMap.h[endButtName[0]]]; endButt[0].x = -endButt[0].width; endButt[0].y = _loc21_.y + _loc21_.height / 1.7 - endButt[0].height / 2; StaticExtern.tween(endButt[0],{"x":Number(Number(_loc21_.x + endButt[0].width / 1.5) + _loc29_)},0.5,{                 "ease":Ease.ELASTIC_OUT,                  "startDelay":Number(_loc33_ + 0.1)               }); _loc29_ = Number(_loc29_ + endButt[0].width * 1.2); _loc33_ = Number(_loc33_ + 0.1); if(MintArrayUtils.contains(StaticExtern.data.endingsUnlocked,endButtName[0])) {                 endButt[0].setupImage("assets/img/effect/endings/" + endButtName[0] + ".png"); }              else {                 endButt[0].setupImage("assets/img/effect/endings/lock.png"); }              _loc20_ = endButtName[0].split(""); _loc27_ = int(_loc20_.length); _loc20_ = []; _loc34_ = 0; _loc35_ = _loc27_; while(_loc34_ < _loc35_) {                 _loc34_++; _loc36_ = _loc34_; _loc20_.push("?"); }              var endButtCensor:Array = [_loc20_.join("")]; endButt[0].onHover = function(param1:Array, param2:Array, param3:Array):Function {                 var endButtCensor1:Array = param1; var endButt1:Array = param2; var endButtName1:Array = param3; return function:void {                    var _loc1_:* = null as String; if(MintArrayUtils.contains(StaticExtern.data.endingsUnlocked,endButtName1[0])) {                       endButt1[0].applyGlowEffect(16777215); _loc1_ = "" + MintStringUtils.toTitleCase(endButtName1[0]) + " Ending"; StaticExtern.showToolTipOnCursor(_loc1_,""); }                    else {                       endButt1[0].applyGlowEffect(0); StaticExtern.showToolTipOnCursor(endButtCensor1[0] + " Ending",""); }                 };               }(endButtCensor,endButt,endButtName); endButt[0].onHoverOnce = function(param1:Array):Function {                 var endButtName2:Array = param1; return function:void {                    if(MintArrayUtils.contains(StaticExtern.data.endingsUnlocked,endButtName2[0])) {                       StaticExtern.playSound("assets/audio/ui/hover3"); }                    else {                       StaticExtern.playSound("assets/audio/ui/hover2"); }                 };               }(endButtName); endButt[0].onUnHoverOnce = function(param1:Array):Function {                 var endButt2:Array = param1; return function:void {                    endButt2[0].clearEffects; };              }(endButt); endButt[0].onReleaseOnce = function(param1:Array, param2:Array):Function {                 var endButt3:Array = param1; var endButtName3:Array = param2; return function:void {                    if(MintArrayUtils.contains(StaticExtern.data.endingsUnlocked,endButtName3[0])) {                       StaticExtern.msg("Get teleported motherfucker",true); StaticExtern.playSound("assets/audio/ui/topClick"); }                    else {                       StoryUtils.nopeWiggle([endButt3[0]]); StaticExtern.playSound("assets/audio/ui/nope"); }                 };               }(endButt,endButtName); }           _loc4_ = function(param1:String):void {              var endingName:String = param1; StaticExtern.data.endingsUnlocked.push(endingName); var endButt4:MintSprite = endingName in StringMap.reserved?endMap.getReserved(endingName):endMap.h[endingName]; StaticExtern.playSound("assets/audio/ui/endingUnlocked"); StaticExtern.tween(endButt4,{                 "scaleX":0,                  "scaleY":0               },1.25,{                  "onComplete":function:void                  {                     endButt4.setupImage("assets/img/effect/endings/" + endingName + ".png");                     var _loc1_:MintSprite = StaticExtern.addSprite("assets/img/effect/poof");                     _loc1_.looping = false;                     _loc1_.animFrameRate = 25;                     _loc1_.centerPivot = true;                     _loc1_.x = endButt4.x - _loc1_.width / 3;                     _loc1_.y = endButt4.y - _loc1_.height / 3;                     StaticExtern.tween(endButt4,{ "scaleX":1, "scaleY":1, "alpha":1 },0.9,{"ease":Ease.ELASTIC_OUT});                 },                  "ease":Ease.QUAD_IN               }); };           _loc7_ = new StringMapKeysIterator(endMap.h,endMap.rh); while(_loc7_.hasNext) {              _loc2_ = _loc7_.next; _loc8_ = function(param1:Array, param2:Array):Function {                 var a1:Array = param1; var f23:Array = param2; return function:void {                    f23[0](a1[0]); };              }([_loc2_],[_loc4_]); StaticExtern.addChoice(_loc2_,_loc8_); }           StaticExtern.addChoice("Go back.",function:void            {               Test.test("tests");            }); }        if(param1 == "copy text") {           StaticExtern.appendTextField("This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text. This is some test text."); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "save debug") {           StaticExtern.addChoice("Test if mynt is on",function:void            {               StaticExtern.clearText;               StaticExtern.append(!!StaticExtern.isMyntOn?"True":"False");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "generateNewCipher") {           StoryUtils.generateCipher; _loc2_ = StaticExtern.data.cipherMap.toString; StaticExtern.append(_loc2_); StaticExtern.addTextChoice(function(param1:String):void           {               StaticExtern.data.playerName = param1;               Test.test("generateNewCipher");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "cipher") {           StaticExtern.addTextChoice(function(param1:String):void            {               Test.test("cipher");               param1 = StoryUtils.cipherize(param1);               StaticExtern.append(param1);            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "mood test") {           StaticExtern.addChoice("Anotha one.",function:void            {               Test.test("mood test");               var _loc1_:String = Boolean(StaticExtern.isActive("Mood Ring"))?StoryUtils.getMood:"";               StaticExtern.append("\n\n" + _loc1_);            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "benchmark tests") {           StaticExtern.addChoice("sprite bench",function:void            {               Test.test("sprite bench test");            }); StaticExtern.addChoice("copy tile bench",function:void           {               Test.test("copy tile bench test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "myntQueueAddTextChoice test") {           StaticExtern.showMynt; StaticExtern.myntQueueHideChoices; StaticExtern.myntQueueSay("This is a test"); StaticExtern.myntQueueAddTextChoice(function(param1:String):void           {               StaticExtern.myntQueueSay("The string your gave was " + param1);               StaticExtern.myntQueueSay("This concludes the test");               StaticExtern.myntQueueCall(function:void {                 Test.test("main"); StaticExtern.hideMynt; });           });            StaticExtern.myntQueueShowChoices; }        if(param1 == "drop items test") {           _loc4_ = function(param1:String):void {              if(param1 == "Glowberry") {                 var s5:MintSprite = StaticExtern.addSprite("assets/img/effect/exploreGlowberries.png"); s5.x = StaticExtern.GAME_WIDTH; s5.y = Number(60 + Math.random * 200); s5.rotation = Number(100 + 400 * Math.random); StaticExtern.tween(s5,{"y":StaticExtern.GAME_HEIGHT - 100 - s5.height},1.5,{"ease":Ease.BOUNCE_OUT}); StaticExtern.tween(s5,{                    "x":Number(StaticExtern.GAME_WIDTH * 0.5 * Math.random + 50),                     "rotation":(Number(Math.random) > 0.5?0:180)                  },2,{"ease":Ease.QUAD_OUT}); s5.onReleaseOnce = function:void {                    StaticExtern.addToItem("Glowberry",1); s5.destroy; };              }               else if(param1 == "Sweetgrass Leaf") {                 var s6:MintSprite = StaticExtern.addSprite("assets/img/effect/exploreSweetgrass.png"); s6.x = Number(60 + Math.random * 400); s6.y = StaticExtern.GAME_HEIGHT - 60 - s6.height; s6.scaleY = 0; StaticExtern.tween(s6,{                    "scaleY":1,                     "y":s6.y - 40                  },1.5,{"ease":Ease.ELASTIC_OUT}); s6.onReleaseOnce = function:void {                    var _loc1_:int = int(Math.round(3 * Math.random)); StaticExtern.addToItem("Sweetgrass Leaf",_loc1_); s6.destroy; };              }            };            var f24:Function = _loc4_; _loc8_ = function:void {              f24("Glowberry"); };           StaticExtern.addChoice("Spawn Glowberry.",_loc8_); var f25:Function = _loc4_; _loc9_ = function:void {              f25("Sweetgrass Leaf"); };           StaticExtern.addChoice("Spawn Sweetgrass.",_loc9_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("tests");            }); }        if(param1 == "effect tests") {           StaticExtern.addChoice("tween",function:void            {               Test.test("tween test");            }); StaticExtern.addChoice("glitch effect",function:void           {               Test.test("glitch effect test");            }); StaticExtern.addChoice("shrink",function:void           {               Test.test("shrink test");            }); StaticExtern.addChoice("rain",function:void           {               Test.test("rain test");            }); StaticExtern.addChoice("empty render",function:void           {               Test.test("empty render test");            }); StaticExtern.addChoice("drawPixels",function:void           {               Test.test("drawPixels test");            }); StaticExtern.addChoice("pivot",function:void           {               Test.test("pivot test");            }); StaticExtern.addChoice("complexAnim",function:void           {               Test.test("complexAnim test");            }); StaticExtern.addChoice("setupCanvas",function:void           {               Test.test("setupCanvas test");            }); StaticExtern.addChoice("tilemap",function:void           {               Test.test("tilemap test");            }); StaticExtern.addChoice("emitter",function:void           {               Test.test("emitter test");            }); StaticExtern.addChoice("emoji singleline",function:void           {               Test.test("emoji singleline test");            }); StaticExtern.addChoice("clip",function:void           {               Test.test("clip test");            }); StaticExtern.addChoice("msg",function:void           {               Test.test("msg test");            }); StaticExtern.addChoice("high",function:void           {               Test.test("high test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "high test") {           StaticExtern.append("\"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?\"\n\nSection 1.10.33 of \"de Finibus Bonorum et Malorum\", written by Cicero in 45 BC\n\n\"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.\"");           StaticExtern.addChoice("Minimum.",function:void {              Test.test("high test"); StoryUtils.highEffect(400); });           StaticExtern.addChoice("Soft.",function:void {              Test.test("high test"); StoryUtils.highEffect; });           StaticExtern.addChoice("Hard.",function:void {              Test.test("high test"); StoryUtils.highEffect(1200); });           StaticExtern.addChoice("Brutal.",function:void {              Test.test("high test"); StoryUtils.highEffect(3000); });           StaticExtern.addChoice("Go back.",function:void {              Test.test("tests"); });        }         if(param1 == "msg test")         {            var f26:Function = StaticExtern.msg;            _loc4_ = function:void            {               f26("This is a test");            };            StaticExtern.addChoice("msg1",_loc4_);            var f27:Function = StaticExtern.msg;            _loc8_ = function:void            {               f27("This message <!b>Has bold<!b>!");            };            StaticExtern.addChoice("msg2",_loc8_);            StaticExtern.addChoice("Go back.",function:void {              Test.test("tests"); });        }         if(param1 == "examine test")         {            StaticExtern.addChoice("<!b>examine;<!b> function test.",function:void {              Test.test("examine function test"); });           StaticExtern.addChoice("<!b>config.oneTime<!b> test.",function:void {              Test.test("config onetime test"); });           StaticExtern.addChoice("Go back.",function:void {              Test.test("tests"); });        }         if(param1 == "examine function test")         {            StaticExtern.append("This is a test for the <!b>examine;<!b> function in StoryUtils.");            StoryUtils.examine("Examine teacup.","You look at the teacup.");            StoryUtils.examine("Examine dog.","You pet the dog.");            StoryUtils.examine("Examine benis.","You pet the benis.");            StoryUtils.examine("Examine this system.","Upsides: looks cleaner, saves which choices you\'ve chosen.\nDownsides: Can\'t use kink symbols or set var upon clicking. Would need to pass a void to void and a button config, and at that rate it might as well just be part of the button config.");            StaticExtern.addChoice("Reset data.examinedStuff.",function:void {              StaticExtern.data.examinedStuff = []; StaticExtern.msg("data.examinedStuff reset."); Test.test("examine function test"); });           StaticExtern.addChoice("Go back.",function:void {              Test.test("examine test"); });        }         if(param1 == "config onetime test")         {            StaticExtern.append("This is a test for the <!b>config.oneTime<!b> button config in Main.");            StaticExtern.addChoice("Examine cunt.",function:void {              StaticExtern.clearText; StaticExtern.append("You peer at the pussy."); },{              "kinks":["Female"], "oneTime":true });           StaticExtern.addChoice("Examine this system.",function:void {              StaticExtern.clearText; StaticExtern.append("Downsides: ugly, possibly too many configs, not sure how to save which ones you\'ve chosen.\nUpsides: Very flexible, can do anything a choice might need to do. Probably the winner just for that reason."); },{              "kinks":["Plot"], "oneTime":true });           StaticExtern.addChoice("Go back.",function:void {              Test.test("examine test"); });        }         if(param1 == "unlock piece test")         {            _loc6_ = ["playerMenu","background","choiceBox","topBar","mynt"];            _loc5_ = 0;            while(_loc5_ < 5)            {               _loc5_++;               _loc27_ = _loc5_;               _loc2_ = _loc6_.pop;               if(!Theme.isUnlocked("suave",_loc2_))               {                  _loc6_.unshift(_loc2_);               }            }            if(int(_loc6_.length) > 0)            {               _loc2_ = StaticExtern.pickOne(_loc6_);               Theme.addUiChoice("suave",_loc2_);            }            StaticExtern.print(_loc6_);            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "disable pause test")         {            StaticExtern.addChoice("Disable.",function:void {              StaticExtern.disablePause; });           StaticExtern.addChoice("Enable.",function:void {              StaticExtern.enablePause; });           StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "text tests")         {            StaticExtern.addChoice("emoji",function:void {              Test.test("emoji test"); });           StaticExtern.addChoice("text",function:void {              Test.test("text test"); });           StaticExtern.addChoice("half text",function:void {              Test.test("half text test"); });           StaticExtern.addChoice("unified format",function:void {              Test.test("unified format test"); });           StaticExtern.addChoice("text align",function:void {              Test.test("text align test"); });           StaticExtern.addChoice("bumpy effect",function:void {              Test.test("bumpy effect test"); });           StaticExtern.addChoice("prompt",function:void {              Test.test("prompt test"); });           StaticExtern.addChoice("This is a very long button that does nothing but show how buttons go off the right side of the screen if they are long enough which should not happen because it looks kind of ugly to be quite honest and frank about the situation at hand",function:void {              StaticExtern.append("poop"); });           StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "game tests")         {            StaticExtern.addChoice("caves",function:void {              Test.test("cave tests"); });           StaticExtern.addChoice("blackjack kemp",function:void {              Test.test("blackjack kemp test"); });           StaticExtern.addChoice("blackjack red",function:void {              Test.test("blackjack red test"); });           StaticExtern.addChoice("blackjack rox",function:void {              Test.test("blackjack rox test"); });           StaticExtern.addChoice("blackjack som",function:void {              Test.test("blackjack som test"); });           StaticExtern.addChoice("blackjack sep",function:void {              Test.test("blackjack sep test"); });           StaticExtern.addChoice("new lilac",function:void {              Test.test("new lilac test"); });           StaticExtern.addChoice("degrade",function:void {              Test.test("degrade test"); });           StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "cave tests")         {            _loc5_ = 0;            _loc6_ = StaticExtern.getAssetList;            while(_loc5_ < int(_loc6_.length))            {               _loc2_ = _loc6_[_loc5_];               _loc5_++;               if(int(_loc2_.indexOf(".tmx")) != -1)               {                  _loc20_ = _loc2_.split(".");                  _loc20_.pop;                  _loc20_ = _loc20_.join("").split("/");                  var baseName:Array = [_loc20_.pop];                  _loc3_ = baseName[0];                  _loc4_ = function(param1:Array):Function                  {                     var baseName2:Array = param1;                     return function:void                     {                        StaticCallbacks.goCaves(baseName2[0] + ".tmx",function:Function {                          return function:void {                             Test.test("tests"); };                       });                     };                  }(baseName);                  StaticExtern.addChoice(_loc3_,_loc4_);               }            }            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "new lilac test")         {            Lilac.startGame(function:void {              Test.test("new lilac win"); },function:void {              Test.test("new lilac lose"); });        }         if(param1 == "new lilac win")         {            StaticExtern.append("You won");            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "new lilac lose")         {            StaticExtern.append("You lost");            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "clip test")         {            _loc21_ = StaticExtern.addSprite("assets/img/effect/owlGirl.png");            _loc21_.setClip(0,0,800,300);            StaticExtern.tween(_loc21_,{"rotation":360},2,{"type":TweenType.LOOP});            StaticExtern.addChoice("Go back.",function:void {              Test.test("main"); });        }         if(param1 == "rain test")         {            StaticExtern.append("It\'s raining. This text should still be readable.\n\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.\n\nNeque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.\n\nUt enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"); StoryUtils.rainEffect("ultrabrutal"); StaticExtern.addChoice("Back.",function:void           {               Test.test("tests");            }); }        if(param1 == "shrink test") {           StaticExtern.data.buttonSize = 14; if(StaticExtern.data.buttonSize != 0) {              StaticExtern.addChoice("<!" + StaticExtern.data.buttonSize + "px>Shrink this button.<!" + StaticExtern.data.buttonSize + "px>",function:void               {                  StaticExtern.data.buttonSize = StaticExtern.data.buttonSize - 1;                  Test.test("shrink test");               }); }           StaticExtern.addChoice("Reset.",function:void            {               StaticExtern.data.buttonSize = 14;               Test.test("shrink test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "text test") {           var i5:int = 0; StaticExtern.timer(0.1,function:void           {               i5 = i5 + 1;               StaticExtern.append("This <!b>is<!b> some <!i>test<!i> <!u>text<!u>." + (i5 - 1) + "\n");           },100); StaticExtern.addChoice("more",function:void           {               Test.test("more text test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "more text test") {           _loc5_ = 0; _loc27_ = int(Math.round(Number(Math.random * 100 + 100))); while(_loc5_ < _loc27_) {              _loc5_++; _loc34_ = _loc5_; StaticExtern.append("Test" + _loc34_ + "\n"); }           StaticExtern.addChoice("more",function:void            {               Test.test("more text test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "tween test") {           _loc5_ = 4; _loc27_ = 3; _loc34_ = 0; while(_loc34_ < 10) {              _loc34_++; _loc35_ = _loc34_; _loc21_ = StaticExtern.addRectSprite(50,50,16711680); _loc21_.x = int(_loc35_ % _loc5_) * (StaticExtern.GAME_WIDTH / _loc5_); _loc21_.y = int(_loc35_ / _loc5_) * (StaticExtern.GAME_HEIGHT / _loc27_); if(_loc35_ == 0) {                 StaticExtern.tween(_loc21_,{"x":Number(_loc21_.x + 100)},0.5,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 1) {                 StaticExtern.tween(_loc21_,{"scaleX":2},1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 2) {                 _loc21_.centerPivot = false; StaticExtern.tween(_loc21_,{"scaleX":2},1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 3) {                 StaticExtern.tween(_loc21_,{                     "scaleX":0.5,                     "scaleY":0.5                  },1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 4) {                 StaticExtern.tween(_loc21_,{"rotation":180},1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 5) {                 _loc21_.centerPivot = false; StaticExtern.tween(_loc21_,{"rotation":180},1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 6) {                 StaticExtern.tween(_loc21_,{                     "x":Number(_loc21_.x + 100),                     "rotation":180                  },1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 7) {                 _loc21_.centerPivot = false; StaticExtern.tween(_loc21_,{                    "x":Number(_loc21_.x + 100),                     "rotation":180                  },1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 8) {                 StaticExtern.tween(_loc21_,{                     "x":Number(_loc21_.x + 100),                     "scaleX":2                  },1,{"type":TweenType.PINGPONG}); }              if(_loc35_ == 9) {                 _loc21_.centerPivot = false; StaticExtern.tween(_loc21_,{                    "x":Number(_loc21_.x + 100),                     "scaleX":2                  },1,{"type":TweenType.PINGPONG}); }           }            StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            }); }        if(param1 == "unified format test") {           StaticExtern.setLocation("<!i>Italic land<!i>"); StaticExtern.append("This is <!i>show<!i> that you can <!u>format<!u> text <!b>anywhere!<!b>\n\n"); StaticExtern.append("<!10px>This<!10px> text <!20px>varies<!20px><!14px> in size.<!14px>\n"); StaticExtern.addChoice("Go <!b>BACK.<!b>",function:void           {               Test.test("main");            },{"toolTip":"Even <!u>tooltips<!u>"}); }        if(param1 == "advanced item test") {           StaticExtern.addChoice("Get 1 capsule",function:void            {               Test.test("advanced item test");            },{"give":["Capsule",1]}); StaticExtern.addChoice("Get 1 leaf and 1 capsule",function:void           {               Test.test("advanced item test");            },{"give":["Sweetgrass Leaf",1,"Capsule",1]}); StaticExtern.addChoice("Lose 1 capsule",function:void           {               Test.test("advanced item test");            },{"take":["Capsule",1]}); StaticExtern.addChoice("Lose 1 capsule(alt)",function:void           {               Test.test("advanced item test");            },{"give":["Capsule",-1]}); StaticExtern.addChoice("Spend simple",function:void           {               Test.test("advanced item test");            },{               "req":["Capsule",5],               "take":["Capsule",5]            }); StaticExtern.addChoice("Spend complex",function:void           {               Test.test("advanced item test");            },{"cost":["Sweetgrass Leaf",3,"Capsule",5]}); StaticExtern.addChoice("Spend complex(alt)",function:void           {               Test.test("advanced item test");            },{               "req":["Sweetgrass Leaf",3,"Capsule",5],               "take":["Sweetgrass Leaf",3,"Capsule",5]            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "swf test") {           StaticExtern.addMovie("goatOral",35); StaticExtern.movieToFrame("goatOral","dick_mc",2); StaticExtern.resizeMovie("goatOral",300); StaticExtern.moveMovie("goatOral",60,0); StaticExtern.addChoice("Back.",function:void           {               Test.test("tests");            }); }        if(param1 == "glitch effect test") {           _loc21_ = StaticExtern.addSprite("assets/img/effect/owlGirl.png"); _loc21_.applyGlitchEffect; StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "emoji test") {           StaticExtern.append("This is a test of emojis, like this abuse one: <!img:kink/Abuse.png>, or <!b>these one\'s <!img:kink/Male.png> <!img:kink/Female.png> here<!b>(format mix test)\n\n"); _loc2_ = ""; _loc5_ = 0; while(_loc5_ < 10) {              _loc5_++; _loc27_ = _loc5_; _loc2_ = _loc2_ + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget porttitor nisi, sit amet fermentum diam. Vivamus pulvinar orci elit. Nam eu dui id mauris ultricies efficitur id pellentesque quam. Maecenas nulla mauris, fringilla vel vulputate et, blandit at lectus. Nulla commodo dui tellus, sit amet egestas est ultricies eu. Donec nec placerat lectus, non auctor libero. Curabitur in pharetra arcu, venenatis dapibus augue. In euismod nulla magna. Quisque imperdiet iaculis faucibus. Proin eu libero vitae velit vehicula mollis condimentum a neque. Ut pharetra fringilla vulputate. Etiam lobortis purus ac ante feugiat, in volutpat est congue. In cursus lectus sit amet felis ullamcorper venenatis. Pellentesque lacus nunc, tempor sed arcu vel, sollicitudin sodales velit.\n\n"; }           _loc6_ = ["Abuse","Baby","Cub","Feral","Gore","Hyper","Patreon Commission","Pregnancy","Scat","Intersex","Vomit","Art","Blood","Female","Foodplay","Guest Writer","Male","Plot","Raunch","Snuff","Trash","Piss"]; _loc5_ = 0; while(_loc5_ < 100) {              _loc5_++; _loc27_ = _loc5_; _loc34_ = int(Math.round(Math.random * 10)); if(_loc2_.length < _loc27_ * 100 + _loc34_) {                 break; }              _loc2_ = _loc2_.substring(0,_loc27_ * 100 + _loc34_) + "<!img:kink/" + Std.string(StaticExtern.pickOne(_loc6_)) + ".png>" + _loc2_.substring(_loc27_ * 100 + _loc34_ + 1,_loc2_.length); }           StaticExtern.append(_loc2_); var f28:Function = StaticExtern.msg; _loc4_ = function:void {              f28("Such emoji <!img:kink/Art.png>  "); };           StaticExtern.addChoice("More tests emojis        <!img:effect/systemNext.png>        ",_loc4_,{"toolTip":"Yeah, in here too. <!img:kink/Art.png>"}); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "blackjack kemp test") {           Blackjack.startGame(Opponent.KEMP,function:void            {               Test.test("blackjack win");            },function:void            {               Test.test("blackjack lose");            }); StaticExtern.addChoice("Let\'s play!",function:void           {               Blackjack.startRound;            }); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack rox test") {           Blackjack.startGame(Opponent.ROXELLE,function:void            {               Test.test("blackjack win");            },function:void            {               Test.test("blackjack lose");            }); StaticExtern.addChoice("Let\'s play!",function:void           {               Blackjack.startRound;            }); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack red test") {           Blackjack.startGame(Opponent.RED,function:void            {               Test.test("blackjack win");            },function:void            {               Test.test("blackjack lose");            }); StaticExtern.addChoice("Let\'s play!",function:void           {               Blackjack.startRound;            }); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack som test") {           Blackjack.startGame(Opponent.SOM,function:void            {               Test.test("blackjack win");            },function:void            {               Test.test("blackjack lose");            }); StaticExtern.addChoice("Let\'s play!",function:void           {               Blackjack.startRound;            }); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack sep test") {           Blackjack.startGame(Opponent.SEPTRICA,function:void            {               Test.test("blackjack win");            },function:void            {               Test.test("blackjack lose");            },true); StaticExtern.addChoice("Let\'s play!",function:void           {               Blackjack.startRound;            }); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack win") {           StaticExtern.append("You won the blackjack game!"); StaticExtern.addChoice("Back.",function:void           {               Blackjack.endGame;               Test.test("game tests");            }); }        if(param1 == "blackjack lose") {           StaticExtern.append("You lost the blackjack game!"); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "half text test") {           StaticExtern.halfWidthText; StaticExtern.append("This is a really long sentence that would normally not wrap around the screen but will in this case because I called halfWidthText first"); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "degrade test") {           _loc6_ = ["Cub","Baby","Gore","Piss","Raunch","Scat","Vomit","Trash","Snuff"]; var enabledKinks:Array = StaticExtern.data.dpgEnabledKinks; var prefixList:Array = ["cock","fuck","slut","cum","dick","whore","slut","booty"]; var suffixList:Array = ["meat","slut","whore","toy","bitch","skank","cunt","slave","rag","hole","kitten","thing","muffin","puppet","sock"]; _loc32_ = new StringMap; _loc20_ = ["Scat"]; if("shit" in StringMap.reserved) {              _loc32_.setReserved("shit",_loc20_); }           else {              _loc32_.h["shit"] = _loc20_; }           _loc20_ = ["Scat"]; if("poopy" in StringMap.reserved) {              _loc32_.setReserved("poopy",_loc20_); }           else {              _loc32_.h["poopy"] = _loc20_; }           _loc20_ = ["Vomit"]; if("puke" in StringMap.reserved) {              _loc32_.setReserved("puke",_loc20_); }           else {              _loc32_.h["puke"] = _loc20_; }           _loc20_ = ["Vomit"]; if("vomit" in StringMap.reserved) {              _loc32_.setReserved("vomit",_loc20_); }           else {              _loc32_.h["vomit"] = _loc20_; }           _loc20_ = ["Piss"]; if("piss" in StringMap.reserved) {              _loc32_.setReserved("piss",_loc20_); }           else {              _loc32_.h["piss"] = _loc20_; }           _loc20_ = ["Piss"]; if("urinal" in StringMap.reserved) {              _loc32_.setReserved("urinal",_loc20_); }           else {              _loc32_.h["urinal"] = _loc20_; }           _loc20_ = ["Raunch"]; if("stank" in StringMap.reserved) {              _loc32_.setReserved("stank",_loc20_); }           else {              _loc32_.h["stank"] = _loc20_; }           _loc20_ = ["Raunch"]; if("stinky" in StringMap.reserved) {              _loc32_.setReserved("stinky",_loc20_); }           else {              _loc32_.h["stinky"] = _loc20_; }           _loc20_ = ["Raunch"]; if("smeg" in StringMap.reserved) {              _loc32_.setReserved("smeg",_loc20_); }           else {              _loc32_.h["smeg"] = _loc20_; }           _loc20_ = ["Raunch"]; if("musk" in StringMap.reserved) {              _loc32_.setReserved("musk",_loc20_); }           else {              _loc32_.h["musk"] = _loc20_; }           _loc20_ = ["Trash"]; if("trash" in StringMap.reserved) {              _loc32_.setReserved("trash",_loc20_); }           else {              _loc32_.h["trash"] = _loc20_; }           _loc20_ = ["Trash"]; if("garbo" in StringMap.reserved) {              _loc32_.setReserved("garbo",_loc20_); }           else {              _loc32_.h["garbo"] = _loc20_; }           _loc20_ = ["Trash"]; if("dumpster" in StringMap.reserved) {              _loc32_.setReserved("dumpster",_loc20_); }           else {              _loc32_.h["dumpster"] = _loc20_; }           _loc20_ = ["Scat","Piss"]; if("toilet" in StringMap.reserved) {              _loc32_.setReserved("toilet",_loc20_); }           else {              _loc32_.h["toilet"] = _loc20_; }           _loc20_ = ["Scat","Vomit","Piss","Raunch"]; if("filth" in StringMap.reserved) {              _loc32_.setReserved("filth",_loc20_); }           else {              _loc32_.h["filth"] = _loc20_; }           _loc20_ = ["Baby"]; if("baby" in StringMap.reserved) {              _loc32_.setReserved("baby",_loc20_); }           else {              _loc32_.h["baby"] = _loc20_; }           _loc20_ = ["Baby"]; if("toddler" in StringMap.reserved) {              _loc32_.setReserved("toddler",_loc20_); }           else {              _loc32_.h["toddler"] = _loc20_; }           _loc20_ = ["Cub"]; if("cub" in StringMap.reserved) {              _loc32_.setReserved("cub",_loc20_); }           else {              _loc32_.h["cub"] = _loc20_; }           _loc20_ = ["Cub"]; if("kiddy" in StringMap.reserved) {              _loc32_.setReserved("kiddy",_loc20_); }           else {              _loc32_.h["kiddy"] = _loc20_; }           _loc20_ = ["Snuff"]; if("snuff" in StringMap.reserved) {              _loc32_.setReserved("snuff",_loc20_); }           else {              _loc32_.h["snuff"] = _loc20_; }           _loc20_ = ["Snuff"]; if("murder" in StringMap.reserved) {              _loc32_.setReserved("murder",_loc20_); }           else {              _loc32_.h["murder"] = _loc20_; }           _loc20_ = ["Gore"]; if("torture" in StringMap.reserved) {              _loc32_.setReserved("torture",_loc20_); }           else {              _loc32_.h["torture"] = _loc20_; }           _loc20_ = ["Gore"]; if("meat" in StringMap.reserved) {              _loc32_.setReserved("meat",_loc20_); }           else {              _loc32_.h["meat"] = _loc20_; }           var prefixMap:IMap = _loc32_; _loc37_ = new StringMap; _loc20_ = ["Trash"]; if("dumpster" in StringMap.reserved) {              _loc37_.setReserved("dumpster",_loc20_); }           else {              _loc37_.h["dumpster"] = _loc20_; }           _loc20_ = ["Scat","Piss"]; if("toilet" in StringMap.reserved) {              _loc37_.setReserved("toilet",_loc20_); }           else {              _loc37_.h["toilet"] = _loc20_; }           _loc20_ = ["Scat","Vomit","Piss","Raunch"]; if("mop" in StringMap.reserved) {              _loc37_.setReserved("mop",_loc20_); }           else {              _loc37_.h["mop"] = _loc20_; }           _loc20_ = ["Scat","Vomit","Piss","Raunch"]; if("stain" in StringMap.reserved) {              _loc37_.setReserved("stain",_loc20_); }           else {              _loc37_.h["stain"] = _loc20_; }           _loc20_ = ["Scat","Vomit","Raunch"]; if("pig" in StringMap.reserved) {              _loc37_.setReserved("pig",_loc20_); }           else {              _loc37_.h["pig"] = _loc20_; }           _loc20_ = ["Scat","Vomit","Raunch"]; if("piggy" in StringMap.reserved) {              _loc37_.setReserved("piggy",_loc20_); }           else {              _loc37_.h["piggy"] = _loc20_; }           _loc20_ = ["Baby"]; if("baby" in StringMap.reserved) {              _loc37_.setReserved("baby",_loc20_); }           else {              _loc37_.h["baby"] = _loc20_; }           _loc20_ = ["Baby"]; if("toddler" in StringMap.reserved) {              _loc37_.setReserved("toddler",_loc20_); }           else {              _loc37_.h["toddler"] = _loc20_; }           _loc20_ = ["Baby"]; if("babe" in StringMap.reserved) {              _loc37_.setReserved("babe",_loc20_); }           else {              _loc37_.h["babe"] = _loc20_; }           _loc20_ = ["Baby"]; if("tod" in StringMap.reserved) {              _loc37_.setReserved("tod",_loc20_); }           else {              _loc37_.h["tod"] = _loc20_; }           _loc20_ = ["Cub"]; if("cub" in StringMap.reserved) {              _loc37_.setReserved("cub",_loc20_); }           else {              _loc37_.h["cub"] = _loc20_; }           _loc20_ = ["Gore"]; if("meat" in StringMap.reserved) {              _loc37_.setReserved("meat",_loc20_); }           else {              _loc37_.h["meat"] = _loc20_; }           var suffixMap:IMap = _loc37_; var updateKinks1:Function = function:void {              var _loc2_:* = null as String; var _loc3_:int = 0; var _loc4_:* = null as Array; var _loc5_:* = null as String; prefixList = ["cock","fuck","slut","cum","dick","whore","slut","booty"]; suffixList = ["meat","slut","whore","toy","bitch","skank","cunt","slave","rag","hole","kitten","thing","muffin","puppet","sock"]; var _loc1_:* = new StringMapKeysIterator(prefixMap.h,prefixMap.rh); while(_loc1_.hasNext) {                 _loc2_ = _loc1_.next; _loc3_ = 0; _loc4_ = _loc2_ in StringMap.reserved?prefixMap.getReserved(_loc2_):prefixMap.h[_loc2_]; while(_loc3_ < int(_loc4_.length)) {                    _loc5_ = _loc4_[_loc3_]; _loc3_++; if(MintArrayUtils.contains(enabledKinks,_loc5_)) {                       if(!MintArrayUtils.contains(prefixList,_loc2_)) {                          prefixList.push(_loc2_); }                    }                  }               }               _loc1_ = new StringMapKeysIterator(suffixMap.h,suffixMap.rh); while(_loc1_.hasNext) {                 _loc2_ = _loc1_.next; _loc3_ = 0; _loc4_ = _loc2_ in StringMap.reserved?suffixMap.getReserved(_loc2_):suffixMap.h[_loc2_]; while(_loc3_ < int(_loc4_.length)) {                    _loc5_ = _loc4_[_loc3_]; _loc3_++; if(MintArrayUtils.contains(enabledKinks,_loc5_)) {                       if(!MintArrayUtils.contains(suffixList,_loc2_)) {                          suffixList.push(_loc2_); }                    }                  }               }            };            updateKinks1; var dpgTerminal:MintSprite = StaticExtern.addSprite("assets/img/effect/dpg"); dpgTerminal.x = StaticExtern.GAME_WIDTH / 2 - dpgTerminal.width / 2; dpgTerminal.y = StaticExtern.GAME_HEIGHT / 2 - dpgTerminal.height / 2; dpgTerminal.alpha = 0; StaticExtern.tween(dpgTerminal,{"alpha":1},0.8,{"ease":Ease.QUINT_OUT}); var chosenPrefix:MintText = StaticExtern.addText; var chosenSuffix:MintText = StaticExtern.addText; _loc29_ = 0; _loc33_ = 0; _loc5_ = 0; while(_loc5_ < int(_loc6_.length)) {              var kinkString:Array = [_loc6_[_loc5_]]; _loc5_++; _loc33_ = Number(_loc33_ + 0.05); var kinkSprite:Array = [StaticExtern.addSprite("assets/img/kink/" + kinkString[0] + ".png")]; _loc29_ = Number(_loc29_ + kinkSprite[0].width * 1.3); kinkSprite[0].x = dpgTerminal.x + _loc29_ - 10; kinkSprite[0].y = dpgTerminal.y * 1.3; kinkSprite[0].alpha = 0; if(MintArrayUtils.contains(enabledKinks,kinkString[0])) {                 kinkSprite[0].applyGlowEffect(4490024); }              else {                 kinkSprite[0].tint = -872415232; }              StaticExtern.tween(kinkSprite[0],{                  "x":Number(dpgTerminal.x + _loc29_),                  "alpha":1               },0.6,{                  "ease":Ease.QUINT_IN,                  "startDelay":_loc33_               }); kinkSprite[0].onHover = function(param1:Array):Function {                 var kinkString1:Array = param1; return function:void {                    Tooltip.showOnCursor(kinkString1[0] + " Combos"); };              }(kinkString); kinkSprite[0].onReleaseOnceAnywhere = function(param1:Array, param2:Array):Function {                 var kinkSprite1:Array = param1; var kinkString2:Array = param2; return function:void {                    if(MintArrayUtils.contains(enabledKinks,kinkString2[0])) {                       enabledKinks.remove(kinkString2[0]); kinkSprite1[0].clearEffects; kinkSprite1[0].tint = -872415232; StaticExtern.playSound("assets/audio/ui/tak"); }                    else {                       enabledKinks.push(kinkString2[0]); kinkSprite1[0].tint = 0; kinkSprite1[0].applyGlowEffect(4490024); StaticExtern.playSound("assets/audio/ui/toggle"); }                    StaticExtern.tween(kinkSprite1[0],{"y":Number(kinkSprite1[0].y + 1)},0.1,{"type":TweenType.REVERSE}); updateKinks1; };              }(kinkSprite,kinkString); }           var timesPressed:int = 0; var dpgButton:MintSprite = new MintSprite; dpgButton.layer = 35; dpgButton.setupCanvas("effect/buttons",189,47); dpgButton.copyTile("anotherOne1",0,0); dpgButton.mouseEnabled = true; dpgButton.alpha = 0; dpgButton.x = dpgTerminal.x + dpgTerminal.width / 2 - dpgButton.width / 2; dpgButton.y = Number(dpgTerminal.y + dpgTerminal.height / 1.5); dpgButton.onReleaseOnceAnywhere = function:void {              if(timesPressed != 50) {                 timesPressed = timesPressed + 1; }              StaticExtern.playSound("assets/audio/ui/explore"); dpgButton.fillPixels(0,0,int(Math.round(dpgButton.width)),int(Math.round(dpgButton.height)),0); dpgButton.copyTile("anotherOne2",0,0); dpgButton.mouseEnabled = false; generateDegrade; };           StaticExtern.prepareSprite(dpgButton); StaticExtern.tween(dpgButton,{"alpha":1},1,{"ease":Ease.QUINT_OUT}); var checkRewards:Function = function:void {              var _loc2_:Boolean = false; var _loc4_:* = null as StringMap; var _loc5_:* = null as String; var _loc6_:* = null as StringMap; var _loc7_:* = null as String; var _loc8_:int = 0; var _loc9_:* = null as String; var _loc10_:* = null as StringMap; var _loc11_:* = null as Array; var _loc1_:String = chosenPrefix.getText + chosenSuffix.getText; var _loc3_:StringMap = GameData.dpgRewardsMap; if(_loc1_ in StringMap.reserved?Boolean(_loc3_.existsReserved(_loc1_)):_loc1_ in _loc3_.h)              { _loc2_ = !MintArrayUtils.contains(StaticExtern.data.dpgFoundCombos,_loc1_); }              else {                 _loc2_ = false; }              if(_loc2_) {                 StaticExtern.data.dpgFoundCombos.push(_loc1_); _loc4_ = GameData.dpgRewardsMap; _loc5_ = (_loc1_ in StringMap.reserved?_loc4_.getReserved(_loc1_):_loc4_.h[_loc1_])[0]; _loc6_ = GameData.dpgRewardsMap; _loc7_ = (_loc1_ in StringMap.reserved?_loc6_.getReserved(_loc1_):_loc6_.h[_loc1_])[2]; _loc8_ = 1; if(_loc5_ == "Rare") {                    _loc8_ = int(Math.round(Number(Math.random * 2 + 1))); }                 if(_loc5_ == "Mythical") {                    _loc8_ = int(Math.round(Number(Math.random * 3 + 1))); }                 StaticExtern.playSound("assets/audio/environment/caveWinSmall","reward"); StaticExtern.clearText; _loc9_ = _loc5_ + " Combo: <!b>" + MintStringUtils.toTitleCase(_loc1_) + "<!b>\n<!i>"; _loc10_ = GameData.dpgRewardsMap; _loc11_ = _loc1_ in StringMap.reserved?_loc10_.getReserved(_loc1_):_loc10_.h[_loc1_]; StaticExtern.append(_loc9_ + _loc11_[1] + "<!i>"); StaticExtern.addToItem(_loc7_,_loc8_); }           };            var generateDegrade:Function = function:void {              var _loc1_:Number = Math.random * 0.03 + 0.1 - timesPressed * 0.001; var currentFlip:int = 0; var _loc2_:int = int(Math.round(Number(Math.random * 4 + 2))); while(int(_loc2_ % 2) != 0) {                 _loc2_ = int(Math.round(Number(Math.random * 4 + 2))); }              var sufFlip:int = Math.round(Number(Math.random * 2 + 6)); while(int(sufFlip % 2) != 0) {                 sufFlip = Math.round(Number(Math.random * 2 + 6)); }              StaticExtern.tween(dpgButton,{"y":Number(dpgButton.y + 1)},0.1,{"type":TweenType.REVERSE}); chosenPrefix.setFormat({                 "wordWrap":false,                  "fontColour":13553358,                  "fontSize":22               }); chosenSuffix.setFormat({                 "wordWrap":false,                  "fontColour":13553358,                  "fontSize":22               }); var _loc3_:String = MintArrayUtils.pickOne(prefixList); chosenPrefix.setText(_loc3_); var _loc4_:String = chosenPrefix.getText; var _loc5_:String = MintArrayUtils.pickOne(suffixList,[_loc4_]); chosenSuffix.setText(_loc5_); var _loc6_:Number = Number(dpgTerminal.y + dpgTerminal.height * 0.42); chosenSuffix.y = _loc6_; chosenPrefix.y = _loc6_; _loc6_ = 0; chosenSuffix.scaleY = _loc6_; chosenPrefix.scaleY = _loc6_; var _loc7_:Boolean = true; chosenSuffix.centerPivot = _loc7_; chosenPrefix.centerPivot = _loc7_; var iter1:int = 0; var iter2:int = 0; var resetX:Function = function:void {                 chosenPrefix.x = dpgTerminal.x + dpgTerminal.width / 2 - chosenPrefix.fieldWidth - 5; chosenSuffix.x = Number(Number(dpgTerminal.x + dpgTerminal.width / 2) + 2); };              var _loc8_:Function = function(param1:MintText):void {                 var _loc2_:* = null as String; if(param1 == chosenPrefix) {                    iter1 = iter1 + 1; if(int((iter1 + 1) % 2) == 0) {                       return; }                    param1.setText(MintArrayUtils.pickOne(prefixList)); resetX; }                 if(param1 == chosenSuffix) {                    currentFlip = currentFlip + 1; iter2 = iter2 + 1; if(int((iter2 + 1) % 2) == 0) {                       return; }                    _loc2_ = chosenPrefix.getText; param1.setText(MintArrayUtils.pickOne(suffixList,[_loc2_])); if(currentFlip < sufFlip) {                       StaticExtern.playSound("assets/audio/ui/menuOpen","rolling"); }                    else {                       dpgButton.copyTile("anotherOne1",0,0); dpgButton.mouseEnabled = true; StaticExtern.tween(dpgButton,{"y":dpgButton.y - 1},0.1,{"type":TweenType.REVERSE}); StaticExtern.playSound("assets/audio/ui/menuClose","rolling"); checkRewards; }                    resetX; }              };               resetX; Actuate.tween(chosenPrefix,_loc1_,{"scaleY":1}).repeat(_loc2_).reflect.ease(Quad.get_easeOut).onRepeat(_loc8_,[chosenPrefix]); Actuate.tween(chosenSuffix,_loc1_,{"scaleY":1}).repeat(sufFlip).reflect.ease(Quad.get_easeOut).onRepeat(_loc8_,[chosenSuffix]); };           StaticExtern.setChannelVolume("reward",0.5); StaticExtern.setChannelVolume("rolling",0.5); StaticExtern.addChoice("<!20px>Pull the lever!<!20px>",function:void           {               chosenPrefix.setText("");               chosenSuffix.setText("");               generateDegrade;            }); StaticExtern.addChoice("<!20px>Back.<!20px>",function:void           {               Test.test("main");            }); StaticExtern.addChoice("<!20px>Max acceleration<!20px>",function:void           {               timesPressed = 50;            }); }        if(param1 == "console test") {           var f29:Function = StaticExtern.print; _loc4_ = function:void {              f29("I\'m a message"); };           StaticExtern.addChoice("Print message",_loc4_); var f30:Function = StaticExtern.warn; _loc8_ = function:void {              f30("I\'m a warning"); };           StaticExtern.addChoice("Give warning",_loc8_); var f31:Function = StaticExtern.error; _loc9_ = function:void {              f31("I\'m an error"); };           StaticExtern.addChoice("Throw an error",_loc9_); StaticExtern.addChoice("Throw an error indirectly",function:void           {               var _loc1_:* = 0;               _loc1_.functionThatDoesntExist;            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "text align test") {           _loc38_ = StaticExtern.addText; _loc38_.setText("abcABC!?|"); _loc38_.x = 100; _loc38_.y = 200; _loc39_ = StaticExtern.addText; _loc39_.setText("abcABC!?|"); _loc39_.x = 100; _loc39_.y = 300; _loc21_ = StaticExtern.addRectSprite(5,5,255); _loc21_.x = _loc38_.x;           _loc21_.y = _loc38_.y;            _loc22_ = StaticExtern.addRectSprite(_loc38_.fieldWidth,_loc38_.fieldHeight,255); _loc22_.x = _loc39_.x;           _loc22_.y = _loc39_.y;            _loc2_ = _loc38_.toString; StaticExtern.warn(_loc2_); _loc3_ = _loc39_.toString; StaticExtern.warn(_loc3_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "copy pixels test") {           var sprite2:MintSprite = StaticExtern.addSprite("assets/img/effect/taroMenu.png"); StaticExtern.addChoice("Copy some pixels",function:void           {               sprite2.copyPixels(100,100,100,100,0,0);               sprite2.fillPixels(100,100,100,100,16777215);            }); StaticExtern.addChoice("Reset image (removed)",function:void           {            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "rng test") {           StaticExtern.append("Ints (0-10):\n"); _loc5_ = 0; while(_loc5_ < 10) {              _loc5_++; _loc27_ = _loc5_; _loc2_ = int(StaticExtern.rndInt(0,10)) + ", "; StaticExtern.append(_loc2_); }           StaticExtern.append("\n\nFloats (0-10):\n"); _loc5_ = 0; while(_loc5_ < 10) {              _loc5_++; _loc27_ = _loc5_; _loc2_ = Number(StaticExtern.rndFloat(0,10)) + ", "; StaticExtern.append(_loc2_); }           StaticExtern.append("\n\nClassic:\n"); _loc5_ = 0; while(_loc5_ < 10) {              _loc5_++; _loc27_ = _loc5_; _loc2_ = Number(StaticExtern.random) + ", "; StaticExtern.append(_loc2_); }           var f32:Function = StaticExtern.rndSeed; _loc4_ = function:void {              f32(10,0); };           StaticExtern.addChoice("Seed with 10",_loc4_); var f33:Function = StaticExtern.rndSeed; _loc8_ = function:void {              f33(20,0); };           StaticExtern.addChoice("Seed with 20",_loc8_); var f34:Function = StaticExtern.rndSeed; var a11:int = Math.round(Number(StaticExtern.getTimer)); _loc9_ = function:void {              f34(a11,0); };           StaticExtern.addChoice("Seed with current time",_loc9_); StaticExtern.addChoice("Reroll",function:void           {               Test.test("rng test");            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "tilemap test") {           _loc6_ = 8,8,8,8,8,8,8,8,8,8],[8,7,0,0,0,0,0,0,0,8],[8,0,0,6,0,0,6,0,0,8],[8,0,0,0,0,6,0,0,0,8],[8,0,1,2,2,2,2,4,0,8],[8,0,0,0,0,0,0,0,0,8],[8,0,0,0,0,0,0,0,0,8],[8,0,0,0,0,0,0,0,0,8],[8,0,0,0,0,0,0,0,1,8],[8,8,8,8,8,8,8,8,8,8; _loc5_ = 16; _loc27_ = 16; _loc34_ = int(_loc6_[0].length); _loc35_ = int(_loc6_.length); var tilemap:Object = StaticExtern.tilemapCreate("spritesheet/caveTilemap.png",_loc5_,_loc27_,_loc34_,_loc35_); tilemap.sprite.x = Number(tilemap.sprite.x + 50); tilemap.sprite.y = Number(tilemap.sprite.y + 50); tilemap.autotileStart = 1; tilemap.autotileEnd = 16; _loc36_ = 0; _loc40_ = int(tilemap.tilesWide); while(_loc36_ < _loc40_) {              _loc36_++; _loc41_ = _loc36_; _loc42_ = 0; _loc43_ = int(tilemap.tilesHigh); while(_loc42_ < _loc43_) {                 _loc42_++; _loc44_ = _loc42_; tilemap.setTile(_loc44_,_loc41_,int(_loc6_[_loc41_][_loc44_])); }           }            tilemap.autotile; StaticExtern.hookClear(function:void           {               tilemap.destroy;            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "button line test") {           _loc4_ = function(param1:String):void {              StaticExtern.warn("Button named " + param1 + " was pressed."); };           var buttons:Array = []; _loc6_ = StaticExtern.makeButtonLine(["foo","bar","baz"],100,100,Direction.RIGHT); MintArrayUtils.fuse(buttons,_loc6_); _loc20_ = StaticExtern.makeButtonLine(["abc","def","ghi"],500,200,Direction.LEFT); MintArrayUtils.fuse(buttons,_loc20_); _loc45_ = StaticExtern.makeButtonLine(["123","456","789"],100,300,Direction.DOWN); MintArrayUtils.fuse(buttons,_loc45_); _loc46_ = StaticExtern.makeButtonLine(["quas","wex","exort"],300,500,Direction.UP); MintArrayUtils.fuse(buttons,_loc46_); _loc5_ = 0; while(_loc5_ < int(buttons.length)) {              _loc7_ = buttons[_loc5_]; _loc5_++; _loc7_.result = function(param1:Array, param2:Array):Function {                 var a12:Array = param1; var f35:Array = param2; return function:void {                    f35[0](a12[0]); };              }([_loc7_.label.text],[_loc4_]); }           StaticExtern.hookClear(function:void            {               var _loc2_:* = null;               var _loc1_:int = 0;               while(_loc1_ < int(buttons.length))               {                  _loc2_ = buttons[_loc1_];                  _loc1_++;                  _loc2_.destroy;               }            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "emitter test") {           var e2:Object = StaticExtern.emitterCreate("spritesheet/kinkParticles"); e2.position.minX = 200; e2.position.minY = 200; e2.position.maxX = 200; e2.position.maxY = 200; e2.angle.min = 80; e2.angle.max = 100; e2.lifeSpan.min = 2; e2.lifeSpan.max = 4; var particleNames:Array = []; _loc5_ = 0; _loc6_ = e2.sprite.frameNames; while(_loc5_ < int(_loc6_.length)) {              _loc2_ = _loc6_[_loc5_]; _loc5_++; particleNames.push(_loc2_); }           _loc31_ = new Point(200,200); StaticExtern.tween(e2.position,{              "minX":400,               "maxX":400            },1,{"type":TweenType.PINGPONG}); StaticExtern.tween(e2.position,{              "minY":300,               "maxY":300            },0.5,{"type":TweenType.PINGPONG}); var emitTimer5:int = StaticExtern.timer(0.05,function:void           {               var _loc1_:* = StaticExtern.pickOne(particleNames);               StaticExtern.emitterEmit(e2,_loc1_);            },9999999); StaticExtern.addChoice("explode 100",function:void           {               var _loc2_:int = 0;               var _loc3_:* = null;               var _loc1_:int = 0;               while(_loc1_ < 100)               {                  _loc1_++;                  _loc2_ = _loc1_;                  _loc3_ = StaticExtern.pickOne(particleNames);                  StaticExtern.emitterEmit(e2,_loc3_);               }            }); StaticExtern.addChoice("explode 1000",function:void           {               var _loc2_:int = 0;               var _loc3_:* = null;               var _loc1_:int = 0;               while(_loc1_ < 1000)               {                  _loc1_++;                  _loc2_ = _loc1_;                  _loc3_ = StaticExtern.pickOne(particleNames);                  StaticExtern.emitterEmit(e2,_loc3_);               }            }); StaticExtern.addChoice("showFps",function:void           {               OpenflEngine.showFps;            }); StaticExtern.hookClear(function:void           {               StaticExtern.emitterDestroy(e2);               OpenflEngine.hideFps;               StaticExtern.timerCancel(emitTimer5);            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "bumpy effect test") {           _loc2_ = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; _loc3_ = ""; _loc5_ = 14; _loc27_ = 1; _loc34_ = 0; _loc35_ = _loc2_.length; while(_loc34_ < _loc35_) {              _loc34_++; _loc36_ = _loc34_; _loc47_ = _loc2_.charAt(_loc36_); _loc3_ = _loc3_ + ("<!" + _loc5_ + "px>" + _loc47_ + "<!" + _loc5_ + "px>"); _loc5_ = _loc5_ + _loc27_; if(_loc5_ == 17) {                 _loc27_ = -1; }              if(_loc5_ == 14) {                 _loc27_ = 1; }           }            StaticExtern.append(_loc3_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "theme unlock test") {           StaticExtern.clear; _loc2_ = StaticExtern.data.themeUnlocks.toString; StaticExtern.append(_loc2_); _loc4_ = function(param1:String):void {              StaticExtern.unlockUi("zeit",param1); Test.test("theme unlock test"); };           _loc5_ = 0; _loc6_ = ["playerMenu","background","choiceBox","topBar","mynt"]; while(_loc5_ < int(_loc6_.length)) {              _loc3_ = _loc6_[_loc5_]; _loc5_++; _loc8_ = function(param1:Array, param2:Array):Function {                 var a13:Array = param1; var f36:Array = param2; return function:void {                    f36[0](a13[0]); };              }([_loc3_],[_loc4_]); StaticExtern.addChoice("Unlock " + _loc3_,_loc8_); }           StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            }); }        if(param1 == "mod test") {           _loc21_ = StaticExtern.addSprite("modLoader.png"); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); _loc21_.setMagicOnClick(function:void           {               StaticExtern.loadMod;            }); }        if(param1 == "prompt test") {           StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            }); }        if(param1 == "empty render test") {           _loc21_ = new MintSprite; _loc21_.setupEmpty(800,600); _loc21_.fillPixels(0,0,100,100,-65536); _loc21_.fillPixels(0,0,20,20,-16711936); StaticExtern.prepareSprite(_loc21_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "drawPixels test") {           _loc21_ = new MintSprite; _loc21_.setupCanvas("minigame/card",96,145); _loc21_.x = 100; _loc21_.y = 100; StaticExtern.prepareSprite(_loc21_); var f37:Function = _loc21_.drawPixels; _loc4_ = function:void {              f37(10,10,20,20,0,0,0,1); };           StaticExtern.addChoice("draw 10x10",_loc4_); var f38:Function = _loc21_.drawPixels; _loc8_ = function:void {              f38(10,10,20,20,0,0,0,1,0.99); };           StaticExtern.addChoice("draw 10x10 1x.99",_loc8_); var f39:Function = _loc21_.drawPixels; _loc9_ = function:void {              f39(10,10,20,20,0,0,0,1,0.95); };           StaticExtern.addChoice("draw 10x10 1x.95",_loc9_); var f40:Function = _loc21_.drawPixels; _loc10_ = function:void {              f40(10,10,20,20,0,0,0,1,0.9); };           StaticExtern.addChoice("draw 10x10 1x.9",_loc10_); var f41:Function = _loc21_.drawPixels; _loc11_ = function:void {              f41(10,10,20,20,0,0,0,1.01,1.01); };           StaticExtern.addChoice("draw 10x10 1.01x1.01",_loc11_); var f42:Function = _loc21_.drawPixels; _loc12_ = function:void {              f42(10,10,20,20,0,0,0,1.05,1.05); };           StaticExtern.addChoice("draw 10x10 1.05x1.05",_loc12_); var f43:Function = _loc21_.drawPixels; _loc13_ = function:void {              f43(10,10,20,20,0,0,-2013265665,2); };           StaticExtern.addChoice("draw 10x10 2x1 blue-ish",_loc13_); var f44:Function = _loc21_.drawPixels; _loc14_ = function:void {              f44(10,10,20,20,10,10,0); };           StaticExtern.addChoice("draw 10x10 offset",_loc14_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "pivot test") {           _loc21_ = StaticExtern.addSprite("effect/chimeraEgg"); _loc21_.x = 100; _loc21_.y = 100; StaticExtern.tween(_loc21_,{"rotation":90},1,{"type":TweenType.PINGPONG}); _loc22_ = StaticExtern.addSprite("effect/chimeraEgg"); _loc22_.pivotX = -100; _loc22_.x = 100; _loc22_.y = 300; StaticExtern.tween(_loc22_,{"rotation":90},1,{"type":TweenType.PINGPONG}); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "complexAnim test") {           _loc7_ = StaticExtern.createComplexAnim("RotateAnim"); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "setupCanvas test") {           var s11:MintSprite = new MintSprite; s11.setupCanvas("minigame/card",96,145); StaticExtern.prepareSprite(s11); StaticExtern.addChoice("blit K",function:void           {               s11.copyTile("K",0,0);            }); StaticExtern.addChoice("blit Q",function:void           {               s11.copyTile("Q",20,20);            }); StaticExtern.addChoice("blit J",function:void           {               s11.copyTile("J",50,50);            }); StaticExtern.addChoice("blit blue J",function:void           {               s11.copyTile("J",50,50,-16776961);            }); StaticExtern.addChoice("blit less blue J",function:void           {               s11.copyTile("J",50,50,-2013265665);            }); StaticExtern.addChoice("blit 10x10",function:void           {               s11.copyPixels(10,10,20,20,0,0);            }); StaticExtern.addChoice("blit front",function:void           {               s11.copyTile("front",0,0);            }); StaticExtern.addChoice("blit back",function:void           {               s11.copyTile("back",0,0);            }); StaticExtern.addChoice("blit block",function:void           {               s11.copyPixels(10,10,20,20,20,20);            }); StaticExtern.addChoice("blit block2",function:void           {               s11.copyPixels(0,0,20,20,10,10);            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "small choice test") {           StaticExtern.makeSmallButtons; _loc5_ = 0; while(_loc5_ < 15) {              _loc5_++; _loc27_ = _loc5_; StaticExtern.addChoice("This is a test",function:void              {               }); }           StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            }); }        if(param1 == "history test") {           StaticExtern.append("These were the last places you were:\n"); _loc5_ = 0; _loc6_ = StaticExtern.data.history; while(_loc5_ < int(_loc6_.length)) {              _loc2_ = _loc6_[_loc5_]; _loc5_++; StaticExtern.append(_loc2_ + "\n"); }           StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            }); }        if(param1 == "volume test") {           _loc4_ = function:void {              var _loc3_:Number = NaN; var _loc4_:* = null as Function; var _loc1_:int = 0; var _loc2_:Array = [1,0.5,0.25]; while(_loc1_ < int(_loc2_.length)) {                 var vol:Array = [Number(_loc2_[_loc1_])]; _loc1_++; _loc3_ = Number(vol[0]); _loc4_ = function(param1:Array):Function {                    var vol2:Array = param1; return function:void {                       StaticExtern.playSound("assets/audio/ui/tak","tak" + Number(vol2[0])); StaticExtern.setChannelVolume("tak" + Number(vol2[0]),Number(vol2[0])); };                 }(vol); StaticExtern.timer(_loc3_,_loc4_); }           };            _loc8_ = function:void {              var _loc3_:Number = NaN; var _loc4_:* = null as Function; var _loc1_:int = 0; var _loc2_:Array = [1,0.5,0.25]; while(_loc1_ < int(_loc2_.length)) {                 var vol3:Array = [Number(_loc2_[_loc1_])]; _loc1_++; _loc3_ = Number(vol3[0]); _loc4_ = function(param1:Array):Function {                    var vol5:Array = param1; return function:void {                       StaticExtern.playSound("assets/audio/ui/tak","tak" + Number(vol5[0]),{"startVolume":Number(vol5[0])}); };                 }(vol3); StaticExtern.timer(_loc3_,_loc4_); }           };            StaticExtern.addChoice("Test setChannelVolume",_loc4_); StaticExtern.addChoice("Test soundConfig",_loc8_); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "sprite bench test") {           var numSprites:Number = 1; var transparency:Boolean = false; var moving:Boolean = false; var imageChoices:Array = ["presentBlueApr","presentRedApr","presentRedDec","presentMintFeb","presentMintDec"]; var createScene:Function = function:void {              var _loc3_:int = 0; var _loc4_:* = null; var _loc5_:* = null as MintSprite; var _loc6_:* = null; var _loc7_:Number = NaN; StaticExtern.clearTemp; sprites = []; var _loc1_:int = 0; var _loc2_:int = int(numSprites); while(_loc1_ < _loc2_) {                 _loc1_++; _loc3_ = _loc1_; _loc4_ = StaticExtern.pickOne(imageChoices); _loc5_ = StaticExtern.addSprite(_loc4_); _loc5_.x = Number(StaticExtern.rndFloat(StaticExtern.GAME_WIDTH * 0.25,StaticExtern.GAME_WIDTH * 0.75)); _loc5_.y = Number(StaticExtern.rndFloat(StaticExtern.GAME_HEIGHT * 0.1,StaticExtern.GAME_HEIGHT * 0.5)); if(transparency) {                    _loc5_.alpha = Number(StaticExtern.rndFloat(0.25,1)); }                 if(moving) {                    _loc6_ = { "x":Number(_loc5_.x + Number(StaticExtern.rndFloat(-100,-100))), "rotation":Number(StaticExtern.rndFloat(-90,90)) };                    _loc7_ = Number(StaticExtern.rndFloat(1,3)); StaticExtern.tween(_loc5_,_loc6_,_loc7_,{                       "type":TweenType.PINGPONG,                        "ease":Ease.QUAD_IN_OUT                     }); }                 sprites.push(_loc5_); }           };            var updateText:Function = null; updateText = function:void {              StaticExtern.clearText; var _loc1_:String = "Sprites: " + int(numSprites) + "\nFps: " + int(Math.round(StaticExtern.getFps * 10)) / 10; StaticExtern.append(_loc1_); if(sprites[0].exists) {                 StaticExtern.timer(1,updateText); }           };            _loc4_ = updateText; createScene; _loc4_; StaticExtern.addChoice("x2",function:void           {               numSprites = numSprites * 2;               createScene;            }); StaticExtern.addChoice("x0.5",function:void           {               numSprites = numSprites * 0.5;               createScene;            }); StaticExtern.addChoice("transparent",function:void           {               transparency = !transparency;               createScene;            }); StaticExtern.addChoice("move",function:void           {               moving = !moving;               createScene;            }); StaticExtern.addChoice("Go back.",function:void           {               Test.test("main");            }); }        if(param1 == "copy tile bench test") {           var cardNum:int = 1; var iterTime:Number = 1; var cards:Array = []; OpenflEngine.showFps; var endBench:Function = function:void {              var _loc2_:* = null as MintSprite; var _loc1_:int = 0; while(_loc1_ < int(cards.length)) {                 _loc2_ = cards[_loc1_]; _loc1_++; _loc2_.destroy; }              StaticExtern.timerCancel(timerId); };           var doBench:Function = function:void {              var _loc3_:int = 0; var _loc4_:* = null as MintSprite; endBench; cards = []; var _loc1_:int = 0; var _loc2_:int = cardNum; while(_loc1_ < _loc2_) {                 _loc1_++; _loc3_ = _loc1_; _loc4_ = new MintSprite; _loc4_.setupCanvas("minigame/card"); _loc4_.x = Number(StaticExtern.rndFloat(100,StaticExtern.GAME_WIDTH - 100)); _loc4_.y = Number(StaticExtern.rndFloat(100,StaticExtern.GAME_HEIGHT - 100)); }              timerId = int(StaticExtern.timer(iterTime,function:void {                 var _loc3_:* = null as MintSprite; var _loc1_:Array = ["K","Q","J"]; var _loc2_:int = 0; while(_loc2_ < int(cards.length)) {                    _loc3_ = cards[_loc2_]; _loc2_++; _loc3_.copyTile(MintArrayUtils.pickOne(_loc1_),int(StaticExtern.rndInt(0,_loc3_.width)),int(StaticExtern.rndInt(0,_loc3_.height))); }              },999999));            };            StaticExtern.addChoice("card+1",function:void            {               cardNum = cardNum + 1;               doBench;            }); StaticExtern.addChoice("card-1",function:void           {               cardNum = cardNum - 1;               doBench;            }); StaticExtern.addChoice("iterTime/2",function:void           {               iterTime = iterTime / 2;               doBench;            }); StaticExtern.addChoice("iterTime*2",function:void           {               iterTime = iterTime * 2;               doBench;            }); StaticExtern.addChoice("Go back.",function:void           {               endBench;               OpenflEngine.hideFps;               Test.test("main");            }); }        if(param1 == "emoji singleline test") {           StaticExtern.addChoice("Go back.",function:void            {               Test.test("main");            },{"toolTip":"This is an emoji: <!img:kink/Abuse>"}); }     }   } }