Frame 1
function status_refresh() {
if (str > maxstr) {
str = maxstr;
} else if (str < minstr) {
str = minstr;
}
strength.text = str;
if (con > maxcon) {
con = maxcon;
} else if (con < mincon) {
con = mincon;
}
constitution.text = con;
if (dex > maxdex) {
dex = maxdex;
} else if (dex < mindex) {
dex = mindex;
}
dexterity.text = dex;
if (mag > maxmag) {
mag = maxmag;
} else if (mag < minmag) {
mag = minmag;
}
magic.text = mag;
if (mnd > maxmnd) {
mnd = maxmnd;
} else if (mnd < minmnd) {
mnd = minmnd;
}
mind.text = mnd;
if (char > maxchar) {
char = maxchar;
} else if (char < minchar) {
char = minchar;
}
charisma.text = char;
if (comb > maxcomb) {
comb = maxcomb;
} else if (comb < mincomb) {
comb = mincomb;
}
combat.text = comb;
if (spel > maxspel) {
spel = maxspel;
} else if (spel < minspel) {
spel = minspel;
}
spells.text = spel;
if (wil > maxwil) {
wil = maxwil;
} else if (wil < minwil) {
wil = minwil;
}
will.text = wil;
if (nymp > maxnymp) {
nymp = maxnymp;
} else if (nymp < minnymp) {
nymp = minnymp;
}
nymphomania.text = nymp;
if (lib > maxlib) {
lib = maxlib;
} else if (lib < minlib) {
lib = minlib;
}
libido.text = lib;
if (ple > maxple) {
ple = maxple;
} else if (ple < minple) {
ple = minple;
}
pleasure.text = ple;
if (gd > 1000000000) {
gd = 1000000000 /* 0x3B9ACA00 */;
} else if (gd < 0) {
gd = 0;
}
gold.text = gd;
if (str_con != str) {
if (str_con < str) {
strength_control.gotoAndStop("up");
} else {
strength_control.gotoAndStop("down");
}
str_con = str;
} else {
strength_control.gotoAndStop("none");
}
if (con_con != con) {
if (con_con < con) {
constitution_control.gotoAndStop("up");
} else {
constitution_control.gotoAndStop("down");
}
con_con = con;
} else {
constitution_control.gotoAndStop("none");
}
if (dex_con != dex) {
if (dex_con < dex) {
dexterity_control.gotoAndStop("up");
} else {
dexterity_control.gotoAndStop("down");
}
dex_con = dex;
} else {
dexterity_control.gotoAndStop("none");
}
if (mag_con != mag) {
if (mag_con < mag) {
magic_control.gotoAndStop("up");
} else {
magic_control.gotoAndStop("down");
}
mag_con = mag;
} else {
magic_control.gotoAndStop("none");
}
if (mnd_con != mnd) {
if (mnd_con < mnd) {
mind_control.gotoAndStop("up");
} else {
mind_control.gotoAndStop("down");
}
mnd_con = mnd;
} else {
mind_control.gotoAndStop("none");
}
if (char_con != char) {
if (char_con < char) {
charisma_control.gotoAndStop("up");
} else {
charisma_control.gotoAndStop("down");
}
char_con = char;
} else {
charisma_control.gotoAndStop("none");
}
if (comb_con != comb) {
if (comb_con < comb) {
combat_control.gotoAndStop("up");
} else {
combat_control.gotoAndStop("down");
}
comb_con = comb;
} else {
combat_control.gotoAndStop("none");
}
if (spel_con != spel) {
if (spel_con < spel) {
spells_control.gotoAndStop("up");
} else {
spells_control.gotoAndStop("down");
}
spel_con = spel;
} else {
spells_control.gotoAndStop("none");
}
if (wil_con != wil) {
if (wil_con < wil) {
will_control.gotoAndStop("up");
} else {
will_control.gotoAndStop("down");
}
wil_con = wil;
} else {
will_control.gotoAndStop("none");
}
if (lib_con != lib) {
if (lib_con < lib) {
libido_control.gotoAndStop("up");
} else {
libido_control.gotoAndStop("down");
}
lib_con = lib;
} else {
libido_control.gotoAndStop("none");
}
if (nymp_con != nymp) {
if (nymp_con < nymp) {
nymphomania_control.gotoAndStop("up");
} else {
nymphomania_control.gotoAndStop("down");
}
nymp_con = nymp;
} else {
nymphomania_control.gotoAndStop("none");
}
if (ple_con != ple) {
if (ple_con < ple) {
pleasure_control.gotoAndStop("up");
} else {
pleasure_control.gotoAndStop("down");
}
ple_con = ple;
} else {
pleasure_control.gotoAndStop("none");
}
while (time_min >= 60) {
time_min = time_min - 60;
time_hour++;
}
while (time_hour >= 24) {
time_hour = time_hour - 24;
time_day++;
}
time_clock = (time_hour + ":") + time_min;
hp_max = Math.ceil(con * 1.5) + 10;
atk = str + ((comb - (comb % 2)) / 2);
def = con + ((comb - (comb % 2)) / 2);
flee = dex + ((comb - (comb % 2)) / 2);
hit = comb + ((dex - (dex % 2)) / 2);
mp_max = mag + ((mnd - (mnd % 2)) / 2);
matk = mag + ((spel - (spel % 2)) / 2);
mdef = mnd + ((spel - (spel % 2)) / 2);
hp_maxD.text = hp_max;
if (hp > hp_max) {
hp = hp_max;
} else if (hp < 0) {
hp = 0;
}
hpD.text = hp;
mp_maxD.text = mp_max;
if (mp > mp_max) {
mp = mp_max;
} else if (mp < 0) {
mp = 0;
}
mpD.text = mp;
atkD.text = atk;
defD.text = def;
fleeD.text = flee;
hitD.text = hit;
matkD.text = matk;
mdefD.text = mdef;
stop();
}
function d100() {
return(Math.ceil(Math.random() * 100));
}
function d20() {
return(Math.ceil(Math.random() * 20));
}
function d10() {
return(Math.ceil(Math.random() * 10));
}
function d6() {
return(Math.ceil(Math.random() * 6));
}
function d3() {
return(Math.ceil(Math.random() * 3));
}
function walk() {
time_min = time_min + 5;
if (time_hour != walk_hour) {
walk_hour = time_hour;
lib = lib + ((nymp - (nymp % 10)) / 10);
hp--;
if (hp <= 0) {
frameatual = _currentframe;
gotoAndStop ("faint");
}
}
}
function ple_plus(extra) {
ple = ple + ((((lib - (lib % 10)) / 10) + d3()) + extra);
if (ple >= maxple) {
ple = minple;
wil = wil - 5;
lib = lib - 10;
nymp = nymp + 1;
}
}
var str;
var con;
var dex;
var mag;
var mnd;
var char;
var comb;
var spel;
var wil;
var lib;
var nymp;
var ple;
var maxstr;
var maxcon;
var maxdex;
var maxmag;
var maxmnd;
var maxchar;
var maxcomb;
var maxspel;
var maxwil;
var maxlib;
var maxnymp;
var maxple;
var minstr;
var mincon;
var mindex;
var minmag;
var minmnd;
var minchar;
var mincomb;
var minspel;
var minwil;
var minlib;
var minnymp;
var minple;
var str_con;
var con_con;
var dex_con;
var mag_con;
var mnd_con;
var char_con;
var comb_con;
var spel_con;
var wil_con;
var lib_con;
var nymp_con;
var ple_con;
var pi_goto;
var gd;
var hp;
var hp_max;
var atk;
var def;
var flee;
var hit;
var mp;
var mp_max;
var mdef;
var matk;
var monster_id;
var monster_name;
var str_m;
var con_m;
var dex_m;
var mag_m;
var mnd_m;
var char_m;
var comb_m;
var spel_m;
var ple_m;
monster_name = "teste";
str_m = 5;
con_m = 5;
dex_m = 5;
mag_m = 5;
mnd_m = 5;
char_m = 5;
comb_m = 5;
spel_m = 5;
ple_m = 5;
var geral1;
geral1 = 0;
var time_day;
var time_hour;
var time_min;
var time_clock;
var walk_hour;
time_day = 0;
time_hour = 8;
time_min = 0;
walk_hour = 8;
var frameatual;
var origem_battle;
var origem;
str = 5;
con = 10;
dex = 15;
mag = 3;
mnd = 5;
char = 8;
comb = 0;
spel = 0;
wil = 50;
nymp = 0;
lib = 10;
ple = 0;
maxstr = 100;
maxcon = 100;
maxdex = 100;
maxmag = 100;
maxmnd = 100;
maxchar = 100;
maxcomb = 100;
maxspel = 100;
maxwil = 100;
maxnymp = 100;
maxlib = 100;
maxple = 100;
minstr = 0;
mincon = 0;
mindex = 0;
minmag = 0;
minmnd = 0;
minchar = 0;
mincomb = 0;
minspel = 0;
minwil = 0;
minnymp = 0;
minlib = 0;
minple = 0;
gd = 50;
hp_max = Math.ceil(con * 1.5) + 10;
hp = hp_max;
mp_max = mag + ((mnd - (mnd % 2)) / 2);
mp = mp_max;
pleasure_control.gotoAndStop("none");
this.play();
Frame 2
db.text = "";
status_refresh();
gotoAndStop ("disc1");
Frame 16
nyxclip.stop();
Frame 38
Frame 39
status_refresh();
Frame 41
status_refresh();
Frame 42
geral1 = (d6() * 2) + 3;
gd = gd + geral1;
status_refresh();
db.text = ("you defeated the monster!\nFind " + geral1) + " gold.";
Frame 44
if (hp == 0) {
db.text = db.text + ((newline + ni.text) + ": \" i... i can't move... \"");
} else {
db.text = db.text + ((newline + ni.text) + ": \"i...can't take it anymore...please...\"");
}
db.text = db.text + "\nyou feel the monster lifting you";
Frame 45
lib = lib - 5;
nymp = nymp + 1;
wil = wil - 1;
con = con + 2;
hp = hp - (d6() + 5);
status_refresh();
if (nymp < 20) {
db.text = ni.text + ":\"No, let me go!!\"";
} else if ((nymp > 21) && (nymp < 45)) {
db.text = db.text + (ni.text + ": \"...\"");
} else if (nymp > 46) {
db.text = db.text + (ni.text + ": \"ugh...ah!!\u2665\"");
}
db.text = db.text + "\nyou have been raped!";
Frame 51
db.text = "After some time, the creacture seems to be satisfied and release you and say \nMinotaur:\"Come back when you want more\" ...\nyou leave the house leaking cum from your pussy \n";
if (nymp < 20) {
db.text = db.text + (ni.text + ": \"damn...i feel awful...\"");
} else if ((nymp > 21) && (nymp < 45)) {
db.text = db.text + (ni.text + ": \"...\"");
} else if (nymp > 46) {
db.text = db.text + (ni.text + ": \"i may...do it again...\u2665\"");
}
Frame 52
Frame 55
_root.con--;
_root.str--;
_root.char--;
_root.status_refresh();
_root.db.text = (_root.ni.text + ":\"I'm...too tired...\"") + "\nyou faint on the ground";
Frame 64
status_refresh();
stop();
Frame 70
Frame 76
Symbol 10 Button
on (release) {
gotoAndStop ("disc2");
}
Symbol 17 Button
on (release) {
gotoAndStop ("nyx");
}
Symbol 92 Button
on (rollOver) {
_root.db.text = (_root.ni.text + ":\nthis is my old home...") + "i need to find a new one";
}
on (rollOut) {
_root.db.text = "";
}
on (release) {
_root.ple_plus(0);
_root.time_min = _root.time_min + 120;
_root.status_refresh();
}
Symbol 97 Button
on (release) {
gotoAndStop ("nyx2");
_root.walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx2");
_root.walk();
}
Symbol 98 Button
on (release) {
_root.db.text = ni.text + ":I can't go trough here yet...(beta)";
}
on (rollOut) {
_root.db.text = "";
}
Symbol 99 Button
on (release) {
gotoAndStop ("nyx4");
_root.walk();
}
on (keyPress "<Right>") {
gotoAndStop ("nyx4");
_root.walk();
}
Symbol 101 Button
on (release) {
gotoAndStop ("nyx1");
_root.walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx1");
_root.walk();
}
Symbol 102 Button
on (release) {
gotoAndStop ("nyx5");
_root.walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx5");
_root.walk();
}
Symbol 103 Button
on (release) {
gotoAndStop ("nyx3");
_root.walk();
}
on (keyPress "<Right>") {
gotoAndStop ("nyx3");
_root.walk();
}
Symbol 104 Button
on (release) {
_root.origem = _currentframe;
_root.m_id = "monster1_teste";
_root.hit_m = _root.d6 + 2;
_root.flee_m = _root.d6() + 2;
_root.def_m = _root.d6() + 2;
_root.atk_m = _root.d6() + 2;
_root.hp_m = _root.d10() + 10;
_root.matk_m = _root.d10();
_root.mdef_m = _root.d10();
gotoAndStop ("player");
_root.db.text = "not implemented";
}
on (rollOver) {
_root.db.text = ("it is a house, seems to be a bit old...\n" + _root.ni.text) + ":\ni can hear some noises inside...";
}
on (rollOut) {
_root.db.text = "";
}
Symbol 107 Button
on (release) {
gotoAndStop ("nyx4");
_root.walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx4");
_root.walk();
}
Symbol 108 Button
on (release) {
gotoAndStop ("nyx2");
_root.walk();
}
on (keyPress "<Left>") {
gotoAndStop ("nyx2");
_root.walk();
}
Symbol 111 Button
on (release) {
_root.origem = _currentframe;
_root.db.text = "Innkeeper:\nCan i help you?";
gotoAndStop ("inn1");
}
on (rollOver) {
_root.db.text = _root.ni.text + ":\nIt's a normal inn.";
}
on (rollOut) {
_root.db.text = "";
}
Symbol 113 Button
on (release) {
gotoAndStop ("nyx3");
_root.walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx3");
_root.walk();
}
Symbol 114 Button
on (release) {
gotoAndStop ("nyx1");
_root.walk();
}
on (keyPress "<Left>") {
gotoAndStop ("nyx1");
_root.walk();
}
Symbol 119 Button
on (rollOver) {
_root.db.text = _root.ni.text + ":\"it's a big tree...\"";
}
on (rollOut) {
_root.db.text = "";
}
on (release) {
_root.origem = _currentframe;
gotoAndStop ("tree1");
}
Symbol 120 Button
on (release) {
gotoAndStop ("nyx2");
_root.walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx2");
_root.walk();
}
Symbol 134 Button
on (release, keyPress "<Enter>") {
_parent.gotoAndStop(_root.origem);
_root.db.text = "";
}
Symbol 140 Button
on (release) {
if (_root.gd >= 10) {
gotoAndStop ("inn1_sleep1");
} else {
_root.db.text = _root.ni.text + ":\nI don't have enough gold...";
}
}
on (rollOver) {
_root.db.text = "Innkeeper:\ndo you want a room? It's 10 Gold per night.";
}
on (rollOut) {
_root.db.text = "Innkeeper:\nCan i help you?";
}
Symbol 146 Button
on (release) {
_root.db.text = "Innkeeper:\"Nice weather don't you think?\"";
}
on (rollOut) {
_root.db.text = "Innkeeper:\nCan i help you?";
}
Symbol 152 Button
on (release) {
if (inn1_work1._visible) {
inn1_work1._visible = false;
inn1_work2._visible = false;
inn1_work3._visible = false;
inn1_talk._visible = true;
inn1_rest._visible = true;
inn1_back._visible = true;
_root.db.text = "Innkeeper:\nCan i help you?";
} else {
inn1_work1._visible = true;
inn1_work2._visible = true;
inn1_work3._visible = true;
inn1_talk._visible = false;
inn1_rest._visible = false;
inn1_back._visible = false;
_root.db.text = "Innkeeper:\nSo do you want to work?\nwe have a restaurant here too, you can work there.";
}
}
Symbol 158 Button
on (release, keyPress "1") {
if (_root.hp >= 3) {
_root.db.text = "frame ? wash dishes";
_root.gd = _root.gd + 5;
_root.hp = _root.hp - 3;
if (_root.wil <= 20) {
_root.wil = _root.wil + 1;
}
_root.lib = _root.lib - 1;
_root.time_hour = _root.time_hour + 2;
gotoAndStop(inn1_work1);
} else {
_root.db.text = _root.ni.text + ":\nI am too tired to work right now...";
}
}
on (rollOver) {
_root.db.text = _root.ni.text + ":\nGuess i can wash some dishes...\n(hp-3, gold+5)";
}
on (rollOut) {
_root.db.text = "Innkepper:\nSo do you want to work?";
}
Symbol 162 Button
on (release, keyPress "2") {
_root.db.text = "frame ? maid event";
gotoAndStop ("work2_intro1");
}
on (rollOver) {
_root.db.text = _root.ni.text + ":\nwill I need a maid uniform?\n(hp-3, gold+5)";
}
on (rollOut) {
_root.db.text = "Innkepper:\nSo do you want to work?";
}
Symbol 165 Button
on (release, keyPress "3") {
_root.db.text = "not implemented";
}
on (rollOver) {
_root.db.text = (("The Innkepper giggles and look at your body\nInnkepper:\nWell... theres always a work a woman like you can do...\n" + _root.ni.text) + " blush.") + "\n(hp-3, gold+5)";
}
on (rollOut) {
_root.db.text = "Innkepper:\nSo do you want to work?";
}
Symbol 168 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("inn1");
_root.db.text = "Innkeeper:\"Have you sleept(?) well?\"";
}
Symbol 170 Button
on (release, keyPress "<Enter>") {
if (_root.d100() < 80) {
gotoAndStop ("inn1");
_root.db.text = "Innkepper:\"Thanks.\"";
} else {
gotoAndStop ("inn1_work1_fail1");
}
}
Symbol 177 Button
on (release) {
if ((_root.wil >= _root.lib) && (_root.hp > 2)) {
_root.hp = _root.hp - 2;
gotoAndStop ("inn1_work1_fail1_resist");
} else {
gotoAndStop ("inn1_work1_fail1_...");
_root.db.text = "[not enough HP or Libido>Will]\n";
}
}
Symbol 183 Button
on (release) {
_root.db.text = "";
gotoAndStop ("inn1_work1_fail1_...");
}
Symbol 186 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("inn1");
}
Symbol 200 MovieClip Frame 1
var count;
count = 10;
Symbol 200 MovieClip Frame 26
if (count <= 0) {
_parent.gotoAndStop(_root.pi_goto);
} else {
count--;
_root.ple_plus(0);
_root.status_refresh();
gotoAndPlay ("start");
}
Symbol 201 Button
on (release) {
if ((_root.wil >= _root.lib) && (_root.hp > 2)) {
_root.hp = _root.hp - 2;
gotoAndStop ("inn1_work1_fail1_resist");
} else {
_root.db.text = "[not enough HP or Libido>Will]\n";
}
}
Symbol 202 Button
on (release) {
if ((_root.wil >= _root.lib) && (_root.hp > 2)) {
_root.hp = _root.hp - 2;
gotoAndStop ("inn1_work1_fail1_resist");
} else {
gotoAndStop ("inn1_work1_fail1_...");
_root.db.text = "[not enough HP or Libido>Will]";
}
}
Symbol 207 MovieClip Frame 1
var count;
count = 10 + _root.d3();
Symbol 207 MovieClip Frame 20
if (count <= 0) {
count = 10 + _root.d3();
gotoAndPlay ("fast");
} else {
count--;
_root.ple_plus(0);
_root.status_refresh();
gotoAndPlay ("normal");
}
Symbol 207 MovieClip Frame 35
if (count <= 0) {
count = 2;
gotoAndPlay ("cum");
} else {
count--;
_root.ple_plus(2);
_root.status_refresh();
gotoAndPlay ("fast");
}
Symbol 207 MovieClip Frame 79
if (count <= 0) {
gotoAndPlay ("finish");
} else {
count--;
_root.ple_plus(5);
_root.status_refresh();
gotoAndPlay ("cum");
}
Symbol 207 MovieClip Frame 140
_root.pi_cum--;
if (_root.pi_cum > 0) {
gotoAndPlay ("inicio");
} else {
_parent.gotoAndStop(_root.pi_goto);
}
Symbol 208 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("inn1");
}
Symbol 210 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("work2_intro2");
}
Symbol 211 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("work2_intro3");
}
Symbol 213 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("inn1_work2");
}
Symbol 217 Button
on (rollOver) {
_root.db.text = "Room 101";
}
on (rollOut) {
_root.db.text = _root.ni.text + ":\nLet's clean!";
}
on (release) {
test_room(101);
}
Symbol 218 Button
on (rollOver) {
_root.db.text = "Room 102";
}
on (rollOut) {
_root.db.text = _root.ni.text + ":\nLet's clean!";
}
on (release) {
test_room(102);
}
Symbol 219 Button
on (rollOver) {
_root.db.text = "Room 103";
}
on (rollOut) {
_root.db.text = _root.ni.text + ":\nLet's clean!";
}
on (release) {
test_room(103);
}
Symbol 220 Button
on (rollOver) {
_root.db.text = "Room 104";
}
on (rollOut) {
_root.db.text = _root.ni.text + ":\nLet's clean!";
}
on (release) {
test_room(104);
}
Symbol 221 Button
on (rollOver) {
_root.db.text = _root.ni.text + ":\nThat is all?";
}
on (rollOut) {
_root.db.text = _root.ni.text + ":\nLet's clean!";
}
on (release) {
gotoAndStop ("work2_finish");
}
Symbol 225 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("inn1_work2");
}
Symbol 227 MovieClip Frame 1
inn1_work1._visible = false;
inn1_work2._visible = false;
inn1_work3._visible = false;
_root.status_refresh();
Symbol 227 MovieClip Frame 6
_root.db.text = "you sleeped well";
_root.gd = _root.gd - 10;
_root.hp = _root.hp + (_root.con + _root.d10());
_root.mp = _root.mp + _root.mag;
_root.time_hour = _root.time_hour + 8;
_root.status_refresh();
Symbol 227 MovieClip Frame 11
Symbol 227 MovieClip Frame 17
_root.db.text = _root.ni.text + " work washing dishes...";
_root.status_refresh();
Symbol 227 MovieClip Frame 22
_root.db.text = (("while finishing the work, a man sneak behind " + _root.ni.text) + " and start groping ") + "her!";
_root.lib++;
_root.status_refresh();
Symbol 227 MovieClip Frame 31
_root.db.text = _root.ni.text + " figth the man off, and manage to leave the room\n";
_root.status_refresh();
Symbol 227 MovieClip Frame 40
_root.wil = _root.wil - 1;
_root.pi_goto = "inn1_work1_fail1_2";
_root.db.text = _root.db.text + (((_root.ni.text + " can't resist ,the man ") + "put her bra and top away ") + "and start playing with her breasts.");
_root.status_refresh();
Symbol 227 MovieClip Frame 47
_root.db.text = (("the man turn " + _root.ni.text) + "and trust his penis ") + "inside her and start fucking!";
_root.wil = _root.wil - 1;
_root.pi_goto = "inn1_work1_fail1_leave";
_root.status_refresh();
Symbol 227 MovieClip Frame 55
_root.db.text = ("after cumming, guy runs away," + _root.ni.text) + " on the floor";
_root.time_min = _root.time_min + 30;
_root.status_refresh();
Symbol 227 MovieClip Frame 63
Symbol 227 MovieClip Frame 69
Symbol 227 MovieClip Frame 75
var n_room1;
var n_room2;
_root.db.text = "Innkeeper:\nWell yes , take this uniform, but bring it back";
Symbol 227 MovieClip Frame 81
_root.db.text = (_root.ni.text + " enter in a back room and change ") + "her cloths";
Symbol 227 MovieClip Frame 87
_root.db.text = "Innkeeper:\nNow its better...\nwell you will need to clean the rooms: ";
n_room1 = _root.d6() - 2;
n_room2 = _root.d6() - 2;
while (((n_room1 < 1) || (n_room2 < 1)) || (n_room1 == n_room2)) {
n_room1 = _root.d6() - 2;
n_room2 = _root.d6() - 2;
}
n_room1 = n_room1 + 100;
n_room2 = n_room2 + 100;
if (n_room1 > n_room2) {
_root.db.text = _root.db.text + ((n_room2 + ", ") + n_room1);
} else {
_root.db.text = _root.db.text + ((n_room1 + ", ") + n_room2);
}
Symbol 227 MovieClip Frame 93
function test_room(n_room_ok) {
if (n_room1 == n_room_ok) {
n_room1 = -1;
gotoAndStop ("work2_room_ok");
} else if (n_room2 == n_room_ok) {
n_room2 = -1;
gotoAndStop ("work2_room_ok");
} else {
gotoAndStop ("work2_room_fail1");
}
}
_root.db.text = "";
_root.status_refresh();
Symbol 227 MovieClip Frame 99
_root.db.text = _root.ni.text + " clean the room.";
Symbol 227 MovieClip Frame 106
Symbol 227 MovieClip Frame 114
if ((n_room1 == -1) && (n_room2 == -1)) {
_root.db.text = "Innkeeper:\nYou did a good work here.";
_root.gd = _root.gd + 12;
_root.hp = _root.hp - 5;
_root.mnd = _root.mnd - 1;
if (_root.dex <= 15) {
_root.dex = _root.dex + 1;
}
if (_root.con <= 15) {
_root.con = _root.con + 1;
}
if (_root.char >= 20) {
_root.char = _root.char - 1;
}
_root.time_min = _root.time_min + 40;
_root.status_refresh();
} else {
_root.db.text = "Innkeeper:\nYou should put more effort if you want to make some gold.";
_root.hp = _root.hp - 5;
_root.mnd = _root.mnd - 1;
if (_root.dex <= 15) {
_root.dex = _root.dex + 1;
}
if (_root.con <= 15) {
_root.con = _root.con + 1;
}
if (_root.char >= 20) {
_root.char = _root.char - 1;
}
_root.time_min = _root.time_min + 40;
_root.status_refresh();
}
Symbol 227 MovieClip Frame 127
Symbol 237 Button
on (rollOver) {
_root.db.text = _root.ni.text + ":\"may i rest a bit?\"";
}
on (rollOut) {
_root.db.text = "";
}
on (release) {
gotoAndStop ("tree1_rest");
}
Symbol 238 Button
on (rollOver) {
_root.db.text = _root.ni.text + ":\"guess i am going...\"";
}
on (rollOut) {
_root.db.text = "";
}
on (release) {
gotoAndStop(_root.origem);
_root.db.text = "";
}
Symbol 241 Button
on (release) {
gotoAndStop(_root.origem);
}
Symbol 242 MovieClip Frame 1
_root.status_refresh();
_root.db.text = "";
Symbol 242 MovieClip Frame 7
_root.status_refresh();
_root.db.text = "";
Symbol 242 MovieClip Frame 8
_root.status_refresh();
_root.db.text = "";
Symbol 242 MovieClip Frame 9
_root.status_refresh();
_root.db.text = "";
Symbol 242 MovieClip Frame 10
_root.status_refresh();
_root.db.text = "";
Symbol 242 MovieClip Frame 14
inn1.stop();
Symbol 242 MovieClip Frame 25
_root.db.text = (_root.ni.text + ":\"wow... this is so buitiful...\"") + "\nwhat should i do?";
Symbol 242 MovieClip Frame 31
_root.hp = _root.hp + (3 + Math.ceil(_root.d10() / 2));
_root.mp++;
_root.status_refresh();
_root.db.text = _root.ni.text + ":\"i feel a bit better.\"";
Symbol 250 Button
on (release) {
escolha = 1;
gotoAndStop ("turno_player_calc");
}
Symbol 255 Button
on (release) {
escolha = 0;
gotoAndStop ("turno_player_calc");
}
Symbol 264 Button
on (release) {
escolha = 2;
gotoAndStop ("turno_player_calc");
}
Symbol 270 Button
on (release) {
escolha = 3;
gotoAndStop ("turno_player_calc");
}
Symbol 271 Button
on (release) {
if (escolha == -3) {
gotoAndStop ("turno_finish");
} else {
gotoAndStop ("turno_monster");
}
}
Symbol 272 Button
on (release) {
if ((escolha == -2) || (escolha == -1)) {
gotoAndStop ("turno_finish");
} else {
gotoAndStop ("turno_player");
}
}
Symbol 273 Button
on (release) {
switch (escolha) {
case -1 :
break;
case -2 :
break;
case -3 :
}
_parent.gotoAndStop(_root.origem_battle);
}
Symbol 274 MovieClip Frame 1
var escolha;
var dano;
var dado;
var ai;
var ai_m;
var hp_m;
var mp_m;
var atk_m;
var def_m;
var flee_m;
var hit_m;
var matk_m;
var mdef_m;
hp_m = Math.ceil(_root.con_m * 1.5) + 10;
atk_m = _root.str_m + ((_root.comb_m - (_root.comb_m % 2)) / 2);
def_m = _root.con_m + ((_root.comb_m - (_root.comb_m % 2)) / 2);
flee_m = _root.dex_m + ((_root.comb_m - (_root.comb_m % 2)) / 2);
hit_m = _root.comb_m + ((_root.dex_m - (_root.dex_m % 2)) / 2);
mp_m = _root.mag_m + ((_root.mnd_m - (_root.mnd_m % 2)) / 2);
matk_m = _root.mag_m + ((_root.spel_m - (_root.spel_m % 2)) / 2);
mdef_m = _root.mnd_m + ((_root.spel_m - (_root.spel_m % 2)) / 2);
_root.status_refresh();
this.gotoAndStop("turno_player");
Symbol 274 MovieClip Frame 7
Symbol 274 MovieClip Frame 13
function player_atk() {
if ((_root.hit + _root.d20()) > (flee_m + _root.d10())) {
dado = _root.d20();
if (dado == 20) {
dado = _root.d20();
dano = ((_root.atk + dado) + 20) - (def_m + _root.d10());
_root.db.text = _root.ni.text + " strikes a critical hit!\n";
} else {
_root.db.text = (_root.ni.text + " hit ") + _root.monster_name;
dano = (_root.atk + dado) - (def_m + _root.d10());
}
if (dano <= 0) {
dano = 0;
_root.db.text = _root.db.text + (((newline + _root.monster_name) + " doesn't suffer") + " anything!");
} else {
hp_m = hp_m - dano;
_root.db.text = _root.db.text + ("\nDamage: " + dano);
}
} else {
_root.db.text = _root.ni.text + " miss the blow";
}
}
function player_def() {
_root.db.text = _root.ni.text + " rise her guard";
_root.def = _root.def + ((_root.def - (_root.def % 2)) / 2);
}
function player_magic() {
_root.db.text = _root.ni.text + " don't know any magics!";
}
function player_tryRun() {
if ((_root.flee + _root.d10()) > (flee_m + _root.d10())) {
_root.db.text = _root.ni.text + " run away from the battle";
escolha = -3;
} else {
_root.db.text = _root.ni.text + " can't escape!";
}
}
switch (escolha) {
case 0 :
player_tryRun();
break;
case 1 :
player_atk();
break;
case 2 :
player_def();
break;
case 3 :
player_magic();
break;
default :
trace("bug");
_root.gotoAndStop("nyx");
}
Symbol 274 MovieClip Frame 19
function monster_dead() {
if (hp_m > 0) {
return(false);
}
return(true);
}
function monster_atk() {
if ((hit_m + _root.d20()) > (_root.flee + _root.d10())) {
dado = _root.d20();
if (dado == 20) {
dado = _root.d20();
dano = ((atk_m + dado) + 20) - (_root.def + _root.d10());
_root.db.text = _root.monster_name + " strikes a critical hit!\n";
} else {
_root.db.text = (_root.monster_name + " hit ") + _root.ni.text;
dano = (atk_m + dado) - (_root.def + _root.d10());
}
if (dano <= 0) {
dano = 0;
_root.db.text = _root.db.text + (((newline + _root.ni.text) + " doesn't suffer") + " anything =3");
} else {
_root.hp = _root.hp - dano;
_root.db.text = _root.db.text + ("\nDamage: " + dano);
}
} else {
_root.db.text = _root.monster_name + " miss the blow";
}
}
function player_dead() {
if (_root.hp > 0) {
return(false);
}
return(true);
}
if (monster_dead()) {
_root.db.text = ("The " + _root.monster_name) + " fall on the ground";
escolha = -1;
} else {
monster_atk();
_root.status_refresh();
if (player_dead()) {
_root.db.text = _root.db.text + ((newline + _root.ni.text) + " fall on the ground");
escolha = -2;
}
}
Symbol 274 MovieClip Frame 25
Symbol 275 Button
on (release) {
if ((hit + d10()) > (flee_m + d3())) {
dano = (atk + d10()) - (def_m + d3());
if (dano > 0) {
hp_m = hp_m - dano;
db.text = ("You hit the monster, dealing: " + dano) + ".";
} else {
db.text = "You hit the monster, but it doesn't suffer anything";
}
} else {
db.text = "You missed the attack...";
}
gotoAndStop(m_id);
}
Symbol 276 Button
on (release) {
if (mp >= 5) {
mp = mp - 5;
status_refresh();
dano = (matk + d10()) - (mdef_m + d3());
if (dano > 0) {
hp_m = hp_m - dano;
db.text = ("You cast a fire ball on the monster, dealing: " + dano) + ".";
} else {
db.text = "You cast a fire ball on the monster, but you doesn't suffer anything!";
}
gotoAndStop(m_id);
} else {
db.text = "You don't have enough mp!";
}
}
on (rollOut) {
db.text = "";
}
Symbol 277 Button
on (release) {
def = def + ((dex - (dex % 2)) / 2);
db.text = "defense up to " + def;
gotoAndStop(m_id);
}
Symbol 278 Button
on (release) {
if ((flee + d10()) > (flee_m + d10())) {
gotoAndStop(origem);
} else {
db.text = "The monster ______ you";
gotoAndStop(m_id);
}
}
Symbol 279 Button
on (release) {
if (hp_m > 0) {
ai = d6() % 2;
if (ai == 0) {
if ((hit_m + d10()) > (flee + d6())) {
dano = (atk_m + d10()) - (def + d3());
if (dano > 0) {
if (dano > 0) {
hp = hp - dano;
status_refresh();
db.text = ("The monster hit you, dealing: " + dano) + ".";
}
} else {
db.text = "The monster hit you, but you doesn't suffer anything";
}
} else {
db.text = "The monster attack, but missed.";
}
} else if (ai == 1) {
dano = (matk_m + d10()) - (mdef + d3());
if (dano > 0) {
hp = hp - dano;
status_refresh();
db.text = ("The monster spit a fire ball on you, dealing: " + dano) + ".";
} else {
db.text = "The monster spit a fire ball on you, but you doesn't suffer anything";
}
}
if ((hp > 0) && (wil >= lib)) {
gotoAndStop ("player");
} else {
if (lib > wil) {
db.text = db.text + "\nyou cant keep fighting against your libido and surrender to the monster";
} else {
db.text = db.text + "\nyou has been defeated";
}
gotoAndStop ("pre_rape1");
}
} else {
gotoAndStop ("win1");
}
}
Symbol 280 Button
on (release) {
gotoAndStop(origem);
}
Symbol 281 Button
on (release) {
gotoAndStop ("rape1");
}
Symbol 284 Button
on (release) {
gotoAndStop ("pos_rape1");
}
Symbol 285 Button
on (release) {
gotoAndStop(origem);
}
Symbol 286 Button
on (release) {
hp = hp + 5;
gotoAndStop(frameatual);
}
on (keyPress "<Enter>") {
hp = hp + 5;
gotoAndStop(frameatual);
}
Symbol 288 Button
on (release) {
if (geral1 == 1) {
rape1._x = 1000;
geral1 = 0;
} else {
rape1._x = 18;
geral1 = 1;
}
}
Symbol 291 Button
on (release) {
gotoAndStop ("teste");
}
Symbol 297 Button
on (release) {
nextFrame();
}
Symbol 300 Button
on (rollOver) {
db.text = (ni.text + ": this is my old home...") + "i need to find a new one";
}
on (rollOut) {
db.text = "";
}
Symbol 301 Button
on (release) {
gotoAndStop ("nyx2");
walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx2");
walk();
}
Symbol 302 Button
on (release) {
db.text = ni.text + ":I can't go trough here yet...";
}
on (rollOut) {
db.text = "";
}
Symbol 303 Button
on (release) {
gotoAndStop ("nyx4");
walk();
}
on (keyPress "<Right>") {
gotoAndStop ("nyx4");
walk();
}
Symbol 304 Button
on (release) {
gotoAndStop ("nyx1");
walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx1");
walk();
}
Symbol 305 Button
on (release) {
gotoAndStop ("nyx5");
walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx5");
walk();
}
Symbol 306 Button
on (release) {
gotoAndStop ("nyx3");
walk();
}
on (keyPress "<Right>") {
gotoAndStop ("nyx3");
walk();
}
Symbol 307 Button
on (release) {
gotoAndStop ("nyx4");
walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx4");
walk();
}
Symbol 308 Button
on (release) {
gotoAndStop ("nyx2");
walk();
}
on (keyPress "<Left>") {
gotoAndStop ("nyx2");
walk();
}
Symbol 309 Button
on (release) {
gotoAndStop ("nyx3");
walk();
}
on (keyPress "<Up>") {
gotoAndStop ("nyx3");
walk();
}
Symbol 310 Button
on (release) {
gotoAndStop ("nyx1");
walk();
}
on (keyPress "<Left>") {
gotoAndStop ("nyx1");
walk();
}
Symbol 311 Button
on (rollOver) {
db.text = ni.text + ":\"it's a big tree...\"";
}
on (rollOut) {
db.text = "";
}
on (release) {
origem = _currentframe;
gotoAndStop ("tree1");
}
Symbol 312 Button
on (release) {
gotoAndStop ("nyx2");
walk();
}
on (keyPress "<Down>") {
gotoAndStop ("nyx2");
walk();
}