1 package org
.sevenchan
.dongs
.screens
3 import flash
.utils
.ByteArray;
4 import org
.sevenchan
.dongs
.creature
.*;
5 import org
.sevenchan
.dongs
.bodyparts
.*;
6 import org
.sevenchan
.dongs
.*;
7 import org
.sevenchan
.dongs
.creature
.Bova
;
12 public class NewGameScreen
extends Screen
14 private var stage
:int = -1;
15 private var text
:String = "";
17 [Embed
(source
="txt/bsd-license.txt",mimeType
="application/octet-stream")]
18 private var License
:Class;
20 [Embed
(source
="txt/intro.txt",mimeType
="application/octet-stream")]
21 private var Introduction
:Class;
23 public function NewGameScreen
()
25 this.appearanceButton
= false;
26 this.debugMenuButton
= true;
27 this.exportGameButton
= false;
28 this.loadOrSaveButton
= false;
29 this.newGameButton
= false;
30 this.importGameButton
= true;
33 this.setButton
(NEXT_BUTTON
, "Next");
36 override public function processButtonPress
(id
:int):Boolean
38 var done
:Boolean = false;
44 this.setButton
(NEXT_BUTTON
, "Next");
47 case 0: // Species selection
50 setButton
(0, "Human");
52 setButton
(2, "Demon");
53 text
= "<h2>Species</h2><p>Select whatever the hell you want to be. Note that this list is very incomplete.</p>";
56 case 1: // Gender selection
58 text
= "<h2>Gender Selection</h2>";
61 main
.player
.setBaseType
(new Human
());
62 text
+= "<p>As a simple human, you can either be male or female as you start out.</p>";
63 text
+= "<ul><li><b>Male</b> - You gain a dick and a couple of balls.</li><li><b>Female</b> - A vagina and randomly-sized boobs.</li></ul>";
64 text
+= "<p>Humans also get randomly colored skin, hair, and eyes.</p>";
67 setButton
(2, "Female");
70 main
.player
.setBaseType
(new Bova
());
71 text
+= "<p>You are a Bova, a race of cow-girls that was once enslaved by man. Throwing off their shackles, they formed their own nation after a bloody war.</p>";
72 text
+= "<p>Bovae can be Male or Female.</p>";
73 text
+= "<p>Males (bulls) are very strong, yet not very smart.</p>";
74 text
+= "<p>Females are more cunning, yet they need their bulls for protection.</p>";
77 setButton
(2, "Female");
80 main
.player
.setBaseType
(new Demon
());
81 text
+= "<p>You have chosen to become a Demon. Demons can infect other creatures with an STD that eventually changes them into demons, as well.</p>";
82 text
+= "<p>Demons can be any gender except asexual.</p>";
85 setButton
(1, "Hermophrodite");
86 setButton
(2, "Female");
94 main
.player
.gender
= Gender
.MALE
;
97 main
.player
.gender
= Gender
.HERM
;
100 main
.player
.gender
= Gender
.FEMALE
;
103 main
.player
.initialGenderSetup
();
106 text
= "<h2>Class Selection</h2>";
107 text
+= "<p>Here, you choose your initial startup benefits and weapons.</p>";
109 setButton
(0, "Avg. Joe");
110 text
+= "<li>Avg. Joe - Just go in with the clothes on your back. (1 STR, 1 INT, 1 SPD)</li>";
111 setButton
(1, "Soldier");
112 text
+= "<li>Soldier - You spent more time on swordplay than books. This lets you dive right into the combat. (+3 STR, Cheap Sword, Leather Armor)</li>";
113 setButton
(2, "Bookworm");
114 text
+= "<li>Bookworm - You read a lot of scrolls as a kid, and paid attention in class. Strength, however, is not your forte. (+3 INT, Glasses, Daemonology Book)</li>";
123 main
.player
.strength
+= 1;
124 main
.player
.speed
+= 1;
125 main
.player
.intellect
+= 1;
128 main
.player
.strength
+= 3;
131 main
.player
.intellect
+= 2;
132 main
.player
.speed
+= 1;
135 main
.player
.balls
.push
(main
.player
.balls
[0]);
136 main
.player
.strength
+= 1;
137 main
.player
.speed
+= 1;
141 text
= new Introduction
();
143 main
.setupStatsPanel
();
144 setButton
(NEXT_BUTTON
, "Next");
151 trace
(id
,stage
,done
);
155 override public function getScreenText
():String