1 package org
.sevenchan
.dongs
.screens
3 import com
.adobe
.serialization
.json
.JSONEncoder
;
4 import org
.sevenchan
.AdventureController
;
5 import org
.sevenchan
.dongs
.Screen;
11 public class DebugScreen
extends Screen
13 private static var dbgStats
:Boolean = false;
14 private var text
:String = "";
15 private var act
:String = "main";
16 public function DebugScreen
()
21 override public function processButtonPress
(id
:int):Boolean
27 setButton
(1, "dbgStats:" + (dbgStats
?"1":"0"));
28 setButton
(2, "SuperStore");
29 setButton
(3, "BodyParts");
30 setButton
(4, "Creatures");
31 setButton
(5, "MoreGold");
32 //var enc:JSONEncoder = new JSONEncoder(main.player);
33 text
= "<h2>DEBUG MENU</h2>";
42 main
.setCheatMode
(dbgStats
);
43 text
= "<h2>Stat Modifiers Active</h2><p>You dirty fucking cheater.</p>";
47 case 2: // Super Store (Free shit)
48 SuperStoreScreen
.push
();
53 case 3: // BodyParts (Select body parts from body part pool)
54 main
.showBodyPartSelector
(true);
59 main
.showCreatureViewer
(true);
64 main
.player
.gold
+= 1000;
75 override public function getScreenText
():String