Frame 1
function makepercent(n, min, max) {
return(Math.floor(((n - min) / (max - min)) * 100));
}
contextmenu = new ContextMenu();
contextmenu.hideBuiltInItems();
_root.menu = contextmenu;
var loadin = 1;
this.onEnterFrame = function () {
if (loadin) {
var _local2 = makepercent(_root.getBytesLoaded(), 0, _root.getBytesTotal());
_root.percent.text = _local2 + "%";
if (_local2 == 100) {
loadin = 0;
_root.gotoAndStop("load");
}
}
};
this.stop();
Frame 2
this.prevFrame();
Frame 10
function gstate_transition(gstate, gaction) {
switch (gstate) {
case "enterpool" :
return("swim");
case "exitpool" :
return("swimsuit");
case "enterexitbed" :
if (gaction == "walkE") {
return("bed");
}
return("");
}
return(gstate);
}
function nomovement_transition(gstate) {
switch (gstate) {
case "enterpool" :
return(1);
case "exitpool" :
return(1);
case "enterexitbed" :
return(1);
}
return(0);
}
function change_clocks(t) {
t = t.split(",");
world_state.hour = Number(t[0]);
world_state.minute = Number(t[1]);
}
function change_world(t) {
t = t.split(",");
world_state[t[0]] = Number(t[1]);
if (t[0] == "state") {
if (((!design) && (prog == 0)) && (world_state.state == 20)) {
saveprogress("noscene");
}
var _local2 = 0;
while (_local2 < world_sprites.length) {
var _local1 = 1;
while (_local1 < world_sprites[_local2].length) {
if (world_sprites[_local2][_local1].ws == world_state.state) {
world_sprites[_local2][0].state = _local1;
break;
}
_local1++;
}
_local2++;
}
createarea();
var _local4 = world_sprites[0][0];
cam(Math.floor((_local4.tx * tilep.w) / Stage.width), Math.floor((_local4.ty * tilep.h) / Stage.height));
}
}
function locks(t, t2) {
t = t.split(",");
var _local1 = 0;
while (_local1 < t.length) {
if (t[_local1] == "A") {
if (world_interactA[Number(t[_local1 + 1])][Number(t[_local1 + 2])] == undefined) {
world_interactA[Number(t[_local1 + 1])][Number(t[_local1 + 2])] = {};
}
var _local3 = world_interactA[Number(t[_local1 + 1])][Number(t[_local1 + 2])];
} else {
if (world_interactB[Number(t[_local1 + 1])][Number(t[_local1 + 2])] == undefined) {
world_interactB[Number(t[_local1 + 1])][Number(t[_local1 + 2])] = {};
}
var _local3 = world_interactB[Number(t[_local1 + 1])][Number(t[_local1 + 2])];
}
var _local4 = Number(t[_local1 + 3]);
if (_local4 == 2) {
_local3.lock = 1;
if (t2 == undefined) {
_local3.locktxt = t[_local1 + 4];
} else {
_local3.locktxt = t2;
}
_local1 = _local1 + 1;
} else if (_local4 == 3) {
_local3.touch = Number(t[_local1 + 4]);
_local1 = _local1 + 1;
} else {
_local3.lock = _local4;
}
_local1++;
}
_local1 = _local1 + 3;
}
function advancestates(t, t2) {
t = t.split(",");
if (t2 != undefined) {
t2 = t2.split(",");
if (t2[0] == "if") {
var _local4 = 0;
var _local2 = 0;
while (_local2 < t.length) {
_local4 = _local4 + ((world_sprites[sub_numbers[t[_local2]]][0].state == Number(t2[_local2 + 1])) ? 1 : 0);
_local2++;
}
if (t.length == _local4) {
t2 = t2.slice(-_local4);
} else {
return(undefined);
}
}
var _local2 = 0;
while (_local2 < t.length) {
world_sprites[sub_numbers[t[_local2]]][0].state = Number(t2[_local2]);
_local2++;
}
return(undefined);
}
var _local2 = 0;
while (_local2 < t.length) {
world_sprites[sub_numbers[t[_local2]]][0].state++;
_local2++;
}
}
function refpush(t) {
t = t.split(",");
var _local3 = 0;
while (_local3 < t.length) {
var _local2 = sub_numbers[t[_local3]];
var _local1 = world_sprites[_local2][0];
update_mainstate(_local1, world_sprites[_local2][_local1.state]);
ref_sprites.push(_local2);
var _local4 = ((_local1.ganim == undefined) ? 1 : (_local1.ganim));
attachsprite(_local2, _local4);
_local3++;
}
}
function gameinit(lvl) {
if (design) {
backup_tilesA = copyarr(world_tilesA);
backup_tilesB = copyarr(world_tilesB);
}
backup_interactA = copyarr(world_interactA);
backup_interactB = copyarr(world_interactB);
bgaud.setVolume(100);
timer = 0;
backup_sprites = copyarr(world_sprites);
backup_world_state = copyob(world_state);
gamep = {state:"playing", timer:0, fcount:0, tcount:0, fpt:4, fps:60, snd:""};
gamep.tps = Math.round(gamep.fps / gamep.fpt);
frameon("game");
_root.fg._xscale = tilep.zoom;
_root.fg._yscale = tilep.zoom;
_root.overlay.gotoAndStop("game");
_root.overlay.spc.gotoAndStop(3);
if (!design) {
cam(0, 1);
}
createarea();
if (lvl == 2) {
change_world("state,20");
}
playerzone_check();
}
function gameexit() {
gamep.state = "exiting";
if (design) {
world_tilesA = copyarr(backup_tilesA);
world_tilesB = copyarr(backup_tilesB);
}
world_interactA = copyarr(backup_interactA);
world_interactB = copyarr(backup_interactB);
world_sprites = copyarr(backup_sprites);
world_state = copyob(backup_world_state);
}
function superexit() {
frameon("menu");
}
function simulation() {
snd_fade();
if (gamep.state == "text") {
textcontrol();
} else if (gamep.state == "minigame") {
minigame();
} else if (gamep.state == "cutscene") {
if (_root.overlay.mc._currentframe == _root.overlay.mc._totalframes) {
finishcutscene();
snd_initfade("bgaud", 0, 1, 100);
}
} else if (gamep.state == "precutscene") {
if (_root.overlay.mc._currentframe == _root.overlay.mc._totalframes) {
finishcutscene();
snd_initfade("bgaud", 0, 1, 100);
performaction(text_text);
}
}
if (gamep.state != "playing") {
return(undefined);
}
gamep.timer++;
pdelay();
gamep.fcount = (((gamep.fcount + 1) == gamep.fpt) ? 0 : (gamep.fcount + 1));
if (gamep.fcount != 0) {
return(undefined);
}
gamep.tcount++;
var _local3 = 0;
while (_local3 < ref_sprites.length) {
var _local2 = ref_sprites[_local3];
var _local4 = world_sprites[_local2][0];
if (!_local4.live) {
} else {
_local4.ganim = _root.fg.sorted["s" + _local2].mc.mc._currentframe;
if (_local2 == 0) {
player();
} else {
npc(_local2);
}
if (gamep.state != "playing") {
return(undefined);
}
}
_local3++;
}
}
function npc(id) {
var _local1 = world_sprites[id][0];
var _local2 = world_sprites[id][_local1.state];
if (_local2.statejump) {
if (_local2.statejump == 2) {
_local1.state++;
_local2 = world_sprites[id][_local1.state];
}
update_mainstate(_local1, _local2);
movesprite(id);
} else if (_local2.dir != undefined) {
var _local5 = world_sprites[id][_local1.state + 1];
if (_local2.dir == "ud") {
var _local4 = ((_local1.ty < _local5.ty) ? "d" : "u");
} else if (_local2.dir == "lr") {
var _local4 = ((_local1.tx < _local5.tx) ? "r" : "l");
} else {
var _local4 = _local2.dir;
}
if (_local2.gaction == undefined) {
switch (_local4) {
case "u" :
_local1.gaction = "walkN";
break;
case "d" :
_local1.gaction = "walkS";
break;
case "l" :
_local1.gaction = "walkW";
break;
case "r" :
_local1.gaction = "walkE";
}
} else {
_local1.gaction = _local2.gaction;
}
update_gstate(id, _local2);
var _local6 = 0;
if ((_local4 == "u") || (_local4 == "d")) {
if (_local1.ty == _local5.ty) {
_local6 = 1;
}
} else if (_local1.tx == _local5.tx) {
_local6 = 1;
}
if (_local6) {
_local1.state++;
update_gstate(id, _local5);
movesprite(id);
playerzone_check();
return(undefined);
}
if ((_local4 == "u") || (_local4 == "d")) {
var _local8 = ((_local4 == "u") ? "d" : "u");
} else {
var _local8 = ((_local4 == "l") ? "r" : "l");
}
var _local7 = checktileto(_local4, _local8, id);
if (_local7 != 0) {
preparespritemove(id, _local2.spd, _local7);
if (_local2.spd != undefined) {
_local1.spd = _local2.spd;
}
}
} else {
update_gstate(id, _local2);
movesprite(id);
}
}
function player_statejump() {
var _local2 = 0;
var _local1 = world_sprites[_local2][0];
var _local3 = world_sprites[_local2][_local1.state];
if (_local3.statejump) {
update_mainstate(_local1, _local3);
if ((((_local1.tx < tilearea.xMin) || (_local1.tx >= tilearea.xMax)) || (_local1.ty < tilearea.yMin)) || (_local1.ty >= tilearea.yMax)) {
cam(Math.floor((_local1.tx * tilep.w) / Stage.width), Math.floor((_local1.ty * tilep.h) / Stage.height));
} else {
movesprite(_local2);
}
}
}
function player() {
var _local6 = 0;
var _local3 = world_sprites[_local6][0];
if ((((_local3.tx < tilearea.xMin) || (_local3.tx >= tilearea.xMax)) || (_local3.ty < tilearea.yMin)) || (_local3.ty >= tilearea.yMax)) {
cam(Math.floor((_local3.tx * tilep.w) / Stage.width), Math.floor((_local3.ty * tilep.h) / Stage.height));
}
var _local2 = interact_check();
if (_local2 != -1) {
if (_local2.push == undefined) {
_root.overlay.spc.gotoAndStop(1);
if (clicks.space == 1) {
clicks.space = 2;
var _local10 = 1;
}
} else if (clicks.up && (_local2.push == "u")) {
clicks.up = 2;
var _local10 = 1;
} else if (clicks.down && (_local2.push == "d")) {
clicks.down = 2;
var _local10 = 1;
} else if (clicks.left && (_local2.push == "l")) {
clicks.left = 2;
var _local10 = 1;
} else if (clicks.right && (_local2.push == "r")) {
clicks.right = 2;
var _local10 = 1;
}
if (_local10) {
if (_local2.id != undefined) {
var _local4 = world_sprites[_local2.id][0];
var _local5 = world_sprites[_local2.id][_local4.state];
}
if (_local5.taction || (_local5.tstate)) {
if (_local5.taction == "face") {
switch (_local3.gaction) {
case "standN" :
_local4.gaction = "standS";
break;
case "standS" :
_local4.gaction = "standN";
break;
case "standE" :
_local4.gaction = "standW";
break;
case "standW" :
_local4.gaction = "standE";
}
} else if (_local5.taction) {
_local4.gaction = _local5.taction;
}
movesprite(_local2.id);
}
var _local12 = performaction(world_text[_local2.txt]);
if (_local5.touchskip) {
_local4.state++;
}
if (_local12) {
return(undefined);
}
if (_local2.tx != undefined) {
var _local9 = (_local3.l ? ((("bx" + _local2.tx) + "y") + _local2.ty) : ((("ax" + _local2.tx) + "y") + _local2.ty));
_root.fg.sorted[_local9].mc.play();
}
return(undefined);
}
} else {
_root.overlay.spc.gotoAndStop(3);
if (clicks.space == 1) {
clicks.space = 2;
}
}
if (clicks.up && (clicks.canup)) {
clicks.up = 2;
var _local8 = "u";
var _local11 = "d";
_local3.gaction = "walkN";
} else if (clicks.down && (clicks.candown)) {
clicks.down = 2;
var _local8 = "d";
var _local11 = "u";
_local3.gaction = "walkS";
} else if (clicks.left && (clicks.canleft)) {
clicks.left = 2;
var _local8 = "l";
var _local11 = "r";
_local3.gaction = "walkW";
} else if (clicks.right && (clicks.canright)) {
clicks.right = 2;
var _local8 = "r";
var _local11 = "l";
_local3.gaction = "walkE";
} else {
changestand(_local6);
}
if (_local8) {
var _local7 = checktileto(_local8, _local11, _local6);
if (_local7 != 0) {
_root.overlay.spc.gotoAndStop(3);
preparespritemove(_local6, undefined, _local7);
} else {
changestand(_local6);
}
}
}
function changestand(id) {
var _local1 = world_sprites[id][0];
switch (_local1.gaction) {
case "walkN" :
_local1.gaction = "standN";
break;
case "walkS" :
_local1.gaction = "standS";
break;
case "walkE" :
_local1.gaction = "standE";
break;
case "walkW" :
_local1.gaction = "standW";
break;
}
movesprite(id);
}
function finishcutscene() {
_root.overlay.gotoAndStop("game");
_root.overlay.spc.gotoAndStop(3);
gamep.state = "playing";
clicks.up = 0;
clicks.down = 0;
clicks.left = 0;
clicks.right = 0;
clicks.space = 2;
playerzone_check();
}
function interact_check() {
var _local10 = 0;
var _local6 = world_sprites[_local10][0];
if ((_local6.gaction == "standN") || (_local6.gaction == "standS")) {
var _local7 = {tx:_local6.tx};
_local7.ty = ((_local6.gaction == "standN") ? (_local6.ty - 1) : (_local6.ty + 1));
var _local9 = ((_local6.gaction == "standN") ? "u" : "d");
var _local5 = ((_local9 == "d") ? "u" : "d");
var _local14 = ((_local9 == "d") ? "standN" : "standS");
} else {
var _local7 = {ty:_local6.ty};
_local7.tx = ((_local6.gaction == "standW") ? (_local6.tx - 1) : (_local6.tx + 1));
var _local9 = ((_local6.gaction == "standW") ? "l" : "r");
var _local5 = ((_local9 == "r") ? "l" : "r");
var _local14 = ((_local9 == "r") ? "standW" : "standE");
}
var _local4 = 0;
while (_local4 < ref_sprites.length) {
var _local2 = ref_sprites[_local4];
if (_local2 == _local10) {
} else {
var _local3 = world_sprites[_local2][0];
if (((!_local3.live) || (_local3.tx != _local7.tx)) || (_local3.ty != _local7.ty)) {
} else {
var _local1 = world_sprites[_local2][_local3.state];
if (_local1.touchx != undefined) {
return({txt:_local1.touchx, id:_local2});
}
if (_local1.pushx != undefined) {
return({txt:_local1.pushx, id:_local2, push:_local9});
}
if (_local1["touch" + _local5] != undefined) {
var _local8 = _local1["touch" + _local5];
return({txt:_local8, id:_local2});
}
if (_local1["push" + _local5] != undefined) {
var _local8 = _local1["push" + _local5];
return({txt:_local8, id:_local2, push:_local9});
}
}
}
_local4++;
}
tlon = (_local6.l ? (world_interactB[_local7.tx][_local7.ty]) : (world_interactA[_local7.tx][_local7.ty]));
if ((tlon.touch != undefined) && (tlon.touch != -1)) {
return({txt:tlon.touch, tx:_local7.tx, ty:_local7.ty});
}
var tlon = (_local6.l ? (world_interactB[_local6.tx][_local6.ty]) : (world_interactA[_local6.tx][_local6.ty]));
if (tlon.touch != undefined) {
return({txt:tlon.touch, tx:_local6.tx, ty:_local6.ty});
}
return(-1);
}
function playerzone_check() {
var _local1 = world_sprites[0][0];
if (_local1.turnarrive != 0) {
return(undefined);
}
var _local4 = 0;
for ( ; _local4 < ref_sprites.length ; _local4++) {
var _local3 = ref_sprites[_local4];
var _local5 = world_sprites[_local3][0];
var _local2 = world_sprites[_local3][_local5.state];
if (_local2.pa == undefined) {
} else if ((_local2.pdelay != undefined) && (_local1.pdelay > -1)) {
} else if ((_local2.pxmin == undefined) || ((((_local2.pxmin <= _local1.tx) && (_local2.pxmax >= _local1.tx)) && (_local2.pymin <= _local1.ty)) && (_local2.pymax >= _local1.ty))) {
if (_local2.pdelay != undefined) {
if (_local1.pdelay == -1) {
_local1.pdelay = gamep.timer + (_local2.pdelay * gamep.fps);
_local1.psprite = _local3;
continue;
}
if (_local1.pdelay == -2) {
_local1.pdelay = -1;
}
}
var _local6 = world_text[_local2.pa];
changestand(0);
_local5.state++;
if (_local3 == 0) {
if ((((_local1.tx < tilearea.xMin) || (_local1.tx >= tilearea.xMax)) || (_local1.ty < tilearea.yMin)) || (_local1.ty >= tilearea.yMax)) {
cam(Math.floor((_local1.tx * tilep.w) / Stage.width), Math.floor((_local1.ty * tilep.h) / Stage.height));
}
}
performaction(_local6);
return(undefined);
}
}
}
function pdelay() {
var _local1 = world_sprites[0][0];
if (_local1.pdelay < 0) {
return(undefined);
}
if (gamep.timer >= _local1.pdelay) {
var _local3 = world_sprites[_local1.psprite][0];
var _local2 = world_sprites[_local1.psprite][_local3.state];
if (_local2.pdelay == undefined) {
} else if ((_local2.pxmin == undefined) || ((((_local2.pxmin <= _local1.tx) && (_local2.pxmax >= _local1.tx)) && (_local2.pymin <= _local1.ty)) && (_local2.pymax >= _local1.ty))) {
var _local4 = world_text[_local2.pa];
changestand(0);
_local3.state++;
performaction(_local4);
_local1.pdelay = -1;
playerzone_check();
return(undefined);
}
_local1.pdelay = -2;
}
}
function performaction(sub) {
var _local4 = typeof(sub);
if (sub instanceof Array) {
if (sub[0].precut != undefined) {
gamep.state = "precutscene";
snd_initfade("bgaud", 0, 1, 0);
_root.overlay.gotoAndStop(sub[0].precut);
text_text = copyarr(sub);
text_text[0].precut = undefined;
return(1);
}
gamep.state = "text";
_root.overlay.gotoAndStop("text");
var _local5 = copyarr(sub);
text_end = _local5.shift();
text_text = copyarr(_local5);
text_on = 0;
updatetext();
clicks.left = 2;
clicks.right = 2;
clicks.space = 2;
return(1);
}
if (_local4 == "object") {
if (sub.canright != undefined) {
clicks.canright = sub.canright;
}
if (sub.canleft != undefined) {
clicks.canleft = sub.canleft;
}
if (sub.canup != undefined) {
clicks.canup = sub.canup;
}
if (sub.candown != undefined) {
clicks.candown = sub.candown;
}
if (sub.audio != undefined) {
snd_play(sub.audio);
}
if (sub.sprite != undefined) {
if (sub.animate) {
_root.fg.sorted["s" + sub.sprite].mc.mc.play();
}
var _local3 = world_sprites[sub.sprite][0];
if (sub.propname) {
var _local6 = sub["propval" + _local3[sub.propname]];
var _local7 = ((_local6 == undefined) ? (sub.propval) : (_local6));
_local3[sub.propname] = _local7;
}
if (sub.propname2) {
_local3[sub.propname2] = sub.propval2;
}
}
if (sub.func) {
if ((sub.func2 == undefined) && (sub.func2pass != undefined)) {
_root[sub.func](sub.funcpass, sub.func2pass);
} else {
_root[sub.func](sub.funcpass);
}
}
if (sub.func2) {
_root[sub.func2](sub.func2pass);
}
if (sub.cut) {
gamep.state = "cutscene";
snd_initfade("bgaud", 0, 1, 0);
_root.overlay.gotoAndStop(sub.cut);
return(1);
}
if (sub.propname == "state") {
playerzone_check();
}
finishcutscene();
if (sub.nextext != undefined) {
performaction(world_text[sub.nextext]);
}
if (sub.minigame) {
initminigame();
return(1);
}
} else if (_local4 == "string") {
finishcutscene();
} else if (_local4 == "number") {
finishcutscene();
}
}
function textcontrol() {
var _local1 = text_on;
if (clicks.space == 1) {
clicks.space = 2;
if (text_on == (text_text.length - 1)) {
performaction(text_end);
clicks.up = 0;
clicks.down = 0;
clicks.left = 0;
clicks.right = 0;
clicks.space = 2;
return(undefined);
}
}
if (clicks.right == 1) {
_local1++;
clicks.right = 2;
}
if (clicks.left == 1) {
_local1--;
clicks.left = 2;
}
if (((_local1 != text_on) && (_local1 > -1)) && (_local1 < text_text.length)) {
text_on = _local1;
updatetext();
}
}
function updatetext() {
var _local6 = ((text_on == 0) ? 2 : 1);
var _local3 = text_on == (text_text.length - 1);
var _local5 = (_local3 ? 2 : 1);
var _local4 = (_local3 ? 1 : 2);
_root.overlay.lft.gotoAndStop(_local6);
_root.overlay.rght.gotoAndStop(_local5);
_root.overlay.spc.gotoAndStop(_local4);
var _local2 = text_text[text_on].split("::");
_root.overlay.heads.gotoAndStop(_local2[0]);
_root.overlay.heads.mc.gotoAndStop(_local2[1]);
_root.overlay.txt.text = _local2[2];
}
function update_gstate(id, dub) {
var _local2 = world_sprites[id][0];
if (dub.gchar) {
_local2.gchar = dub.gchar;
}
if (dub.gstate) {
_local2.gstate = dub.gstate;
}
if (dub.gaction) {
_local2.gaction = dub.gaction;
}
if (dub.forceinclude != undefined) {
_local2.forceinclude = dub.forceinclude;
}
if (dub.ignoreblocking != undefined) {
_local2.ignoreblocking = dub.ignoreblocking;
}
}
function exportworld() {
var _local1 = "";
var _local2 = new Date();
_local1 = _local1 + ((((((((("//" + _local2.getFullYear()) + "/") + (_local2.getMonth() + 1)) + "/") + _local2.getDate()) + " ") + _local2.getHours()) + ":") + _local2.getMinutes());
_local1 = _local1 + newline;
_local1 = _local1 + (("world_txtA = \"" + exporttiles(world_tilesA)) + "\";");
_local1 = _local1 + newline;
_local1 = _local1 + (("world_txtB = \"" + exporttiles(world_tilesB)) + "\";");
_local1 = _local1 + newline;
_local1 = _local1 + "world_tilesA = importtiles(world_txtA);";
_local1 = _local1 + newline;
_local1 = _local1 + "world_tilesB = importtiles(world_txtB);";
trace(_local1);
}
function exportvar(nam, val, multi) {
var _local3 = nam + " = ";
if (multi) {
_local3 = _local3 + "new Array();\r";
var _local1 = 0;
while (_local1 < val.length) {
_local3 = _local3 + (((((((nam + "[") + _local1) + "]") + " = ") + exportarray(val[_local1])) + ";") + newline);
_local1++;
}
return(_local3);
}
var _local5 = typeof(val);
if (val instanceof Array) {
_local3 = _local3 + exportarray(val);
} else if (_local5 == "object") {
_local3 = _local3 + exportobject(val);
} else if (_local5 == "string") {
_local3 = _local3 + (("\"" + val) + "\"");
} else if (_local5 == "number") {
_local3 = _local3 + val;
}
_local3 = _local3 + ";";
return(_local3);
}
function exportarray(arr, kill) {
var _local3 = "[";
var _local1 = 0;
while (_local1 < arr.length) {
var _local4 = typeof(arr[_local1]);
if (arr[_local1] == undefined) {
_local3 = _local3 + (kill ? "" : ",0");
} else {
if (_local1) {
_local3 = _local3 + ", ";
}
if (arr[_local1] instanceof Array) {
_local3 = _local3 + exportarray(arr[_local1]);
} else if (_local4 == "object") {
_local3 = _local3 + exportobject(arr[_local1]);
} else if (_local4 == "string") {
_local3 = _local3 + (("\"" + arr[_local1]) + "\"");
} else if (_local4 == "number") {
_local3 = _local3 + arr[_local1];
}
}
_local1++;
}
_local3 = _local3 + "]";
if (_local3 == "[]") {
_local3 = "0";
}
return(_local3);
}
function exportobject(obj) {
var _local2 = "{";
var _local4 = 0;
for (var _local5 in obj) {
if (_local4) {
_local2 = _local2 + ", ";
}
var _local3 = typeof(obj[_local5]);
if (obj[_local5] == undefined) {
_local2 = _local2 + ((_local5 + ":") + 0);
} else if (_local3 == "string") {
_local2 = _local2 + (((_local5 + ":\"") + obj[_local5]) + "\"");
} else if (_local3 == "number") {
_local2 = _local2 + ((_local5 + ":") + obj[_local5]);
}
_local4++;
}
_local2 = _local2 + "}";
return(_local2);
}
function importarray(txt) {
var _local4 = new Array();
txt = txt.slice(1, -1);
while (true) {
var _local6 = txt.charAt(0);
if (_local6 == "[") {
var _local2 = 1;
var _local7 = 1;
while (true) {
_local7 = txt.indexOf("]", _local7);
_local2 = txt.indexOf("[", _local2);
if ((_local2 == -1) || (_local2 > _local7)) {
break;
}
_local2++;
_local7++;
}
_local7++;
var _local8 = txt.slice(0, _local7);
_local4.push(importarray(_local8));
txt = txt.slice(_local7);
} else if (_local6 == "{") {
var _local7 = txt.indexOf("}") + 1;
_local4.push(importobject(txt.slice(0, _local7)));
txt = txt.slice(_local7);
} else {
_local4 = txt.split(", ");
var _local3 = 0;
while (_local3 < _local4.length) {
var _local5 = Number(_local4[_local3]);
if (!isNaN(_local5)) {
_local4[_local3] = _local5;
}
_local3++;
}
}
if (txt.charAt(0) == ",") {
txt = txt.slice(2);
continue;
}
return(_local4);
}
}
function importobject(txt) {
var _local5 = new Object();
txt = txt.slice(1, -1);
var _local4 = txt.split(", ");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local1 = _local4.split(":");
var _local3 = ((_local1[1].charAt(0) == "\"") ? (_local1[1].slice(1, -1)) : (Number(_local1[_local2])));
_local5[_local1[0]] = _local3;
_local2++;
}
return(_local5);
}
function copyarr(arr) {
var _local4 = new Array();
var _local1 = 0;
while (_local1 < arr.length) {
var _local2 = arr[_local1];
if (_local2 instanceof Array) {
var _local5 = copyarr(arr[_local1]);
_local4.push(_local5);
} else if (typeof(_local2) == "object") {
var _local5 = copyob(arr[_local1]);
_local4.push(_local5);
} else {
_local4.push(_local2);
}
_local1++;
}
return(_local4);
}
function copyob(ob) {
var _local2 = new Object();
for (var _local3 in ob) {
_local2[_local3] = ob[_local3];
}
return(_local2);
}
function importtiles(txt) {
txt = txt.split(",");
var _local6 = new Array();
var _local5 = 0;
var _local2 = 0;
_local6[_local5] = new Array();
var _local4 = 0;
while (_local4 < txt.length) {
if (txt[_local4] == "br") {
_local5++;
_local6[_local5] = new Array();
_local2 = 0;
} else {
var _local1 = txt[_local4].split("x");
if (_local1.length == 0) {
} else if (_local1.length == 1) {
_local6[_local5][_local2] = Number(_local1[0]);
_local2++;
} else {
_local1[0] = Number(_local1[0]);
_local1[1] = Number(_local1[1]);
if (_local1[0] == 0) {
_local2 = _local2 + _local1[1];
} else {
var _local3 = 0;
while (_local3 < _local1[1]) {
_local6[_local5][_local2] = _local1[0];
_local2++;
_local3++;
}
}
}
}
_local4++;
}
return(_local6);
}
function exporttiles(arr) {
var _local2 = "";
var _local3 = 0;
var _local4 = 0;
var _local6 = 0;
while (_local6 < arr.length) {
if (_local6 != 0) {
if (_local3 != 0) {
_local2 = _local2 + ((_local2.length == 0) ? "" : ",");
_local2 = _local2 + ((_local4 > 1) ? ((_local3 + "x") + _local4) : (_local3));
}
_local2 = _local2 + ((_local2.length == 0) ? "" : ",");
_local2 = _local2 + "br";
_local3 = 0;
_local4 = 0;
}
var _local1 = 0;
while (_local1 < arr[_local6].length) {
if (arr[_local6][_local1] == undefined) {
arr[_local6][_local1] = 0;
}
if (arr[_local6][_local1] == _local3) {
_local4++;
} else {
_local2 = _local2 + ((_local2.length == 0) ? "" : ",");
_local2 = _local2 + ((_local4 > 1) ? ((_local3 + "x") + _local4) : (_local3));
_local3 = arr[_local6][_local1];
_local4 = 1;
}
_local1++;
}
_local6++;
}
var _local7 = _local2.split(",");
_local6 = _local7.length - 1;
while (_local6 > 0) {
if (_local7[_local6] != "br") {
_local7.splice(_local6 + 1);
_local2 = _local7.join(",");
break;
}
_local6--;
}
return(_local2);
}
function cam(xto, yto) {
if (!design) {
snd_ambience(xto, yto);
}
if (xto != -999) {
_root.fg._x = -(xto * Stage.width);
}
if (yto != -999) {
_root.fg._y = -(yto * Stage.height);
}
campointa = {x:0, y:0};
_root.fg.globalToLocal(campointa);
campointb = {x:Stage.width, y:Stage.height};
_root.fg.globalToLocal(campointb);
createarea();
}
function createarea() {
var _local8 = {xMin:campointa.x - tlradius.l, xMax:campointb.x + tlradius.r, yMin:campointa.y - tlradius.u, yMax:campointb.y + tlradius.d};
tilearea = {xMin:gettilex(_local8.xMin), xMax:gettilex(_local8.xMax), yMin:gettiley(_local8.yMin), yMax:gettiley(_local8.yMax)};
tilearea.line = (tilearea.xMax - tilearea.xMin) + 2;
tilearea.layer = (tilearea.line * ((tilearea.yMax - tilearea.yMin) + 2)) * 2;
_root.fg.gotoAndStop(3);
_root.fg.gotoAndStop(1);
var _local3 = tilearea.xMin;
while (_local3 <= tilearea.xMax) {
if (world_tilesA[_local3] == undefined) {
world_tilesA[_local3] = new Array();
}
if (world_tilesB[_local3] == undefined) {
world_tilesB[_local3] = new Array();
}
var _local2 = tilearea.yMin;
while (_local2 <= tilearea.yMax) {
if (world_tilesA[_local3][_local2] == undefined) {
world_tilesA[_local3][_local2] = 0;
}
if (world_tilesB[_local3][_local2] == undefined) {
world_tilesB[_local3][_local2] = 0;
}
var _local6 = world_tilesA[_local3][_local2];
if (_local6 != 0) {
attachtile(_local3, _local2, _local6, 0);
}
_local6 = world_tilesB[_local3][_local2];
if (_local6 != 0) {
attachtile(_local3, _local2, _local6, 1);
}
_local2++;
}
_local3++;
}
if (design == 1) {
return(undefined);
}
ref_sprites = new Array();
var _local5 = 0;
for ( ; _local5 < world_sprites.length ; _local5++) {
var _local4 = world_sprites[_local5][0];
update_mainstate(_local4, world_sprites[_local5][_local4.state]);
if (_local4.forceinclude) {
} else if ((((_local4.tx < (tilearea.xMin - 1)) || (_local4.tx > (tileare.xMax + 1))) || (_local4.ty < (tilearea.yMin - 1))) || (_local4.ty > (tilearea.yMax + 1))) {
continue;
}
ref_sprites.push(_local5);
var _local7 = ((_local4.ganim == undefined) ? 1 : (_local4.ganim));
attachsprite(_local5, _local7);
}
}
function update_mainstate(sub, dub) {
if (dub.statejump || (dub.ws == world_state.state)) {
if (dub.spd != undefined) {
sub.spd = dub.spd;
}
sub.tx = dub.tx;
sub.ty = dub.ty;
sub.l = dub.l;
sub.state++;
}
if (dub.forceinclude != undefined) {
sub.forceinclude = dub.forceinclude;
}
if (dub.ignoreblocking != undefined) {
sub.ignoreblocking = dub.ignoreblocking;
}
if (dub.gchar != undefined) {
sub.gchar = dub.gchar;
}
if (dub.gstate != undefined) {
sub.gstate = dub.gstate;
}
if (dub.gaction != undefined) {
sub.gaction = dub.gaction;
}
sub.turnarrive = 0;
sub.live = 1;
}
function attachtile(tx, ty, tl, l) {
var _local3 = (l ? ((("bx" + tx) + "y") + ty) : ((("ax" + tx) + "y") + ty));
var _local2 = tiledata[tl];
var _local8 = (_local2.over ? 1 : 0);
var _local7 = get_depth(tx, ty, l, _local8, 0);
_root.fg.sorted.attachMovie("tiles", _local3, _local7);
_root.fg.sorted[_local3]._x = tx * tilep.w;
_root.fg.sorted[_local3]._y = ty * tilep.h;
tl = ((tl == 0) ? (tiledata.length) : (tl));
_root.fg.sorted[_local3].gotoAndStop(tl);
if (_local2.checkerz) {
_root.fg.sorted[_local3].multi.gotoAndStop(((tx + ty) % _local2.checkerz) + 1);
} else if (_local2.checkerx && (_local2.checkery)) {
_root.fg.sorted[_local3].multi.gotoAndStop(((tx % _local2.checkerx) + 1) + ((ty % _local2.checkery) * _local2.checkerx));
} else if (_local2.checkerx) {
_root.fg.sorted[_local3].multi.gotoAndStop((tx % _local2.checkerx) + 1);
} else if (_local2.checkery) {
_root.fg.sorted[_local3].multi.gotoAndStop((ty % _local2.checkery) + 1);
}
}
function gettilex(cord) {
return(Math.floor(cord / tilep.w));
}
function gettiley(cord) {
return(Math.floor(cord / tilep.h));
}
function hastile(tx, ty, l) {
var _local1 = (l ? (world_tilesB[tx][ty]) : (world_tilesA[tx][ty]));
if (_local1 > 0) {
return(_local1);
}
return(0);
}
function settile(tx, ty, l, tl) {
if (l) {
var _local6 = world_tilesB[tx][ty];
var _local5 = (("bx" + tx) + "y") + ty;
world_tilesB[tx][ty] = tl;
} else {
var _local6 = world_tilesA[tx][ty];
var _local5 = (("ax" + tx) + "y") + ty;
world_tilesA[tx][ty] = tl;
}
if ((_local6 == 0) && (_root.fg.sorted[_local5] == undefined)) {
attachtile(tx, ty, tl, l);
} else {
tl = ((tl == 0) ? (tiledata.length) : (tl));
_root.fg.sorted[_local5].gotoAndStop(tl);
}
}
function attachsprite(id, ganim) {
var _local2 = "s" + id;
_root.fg.sorted.attachMovie("sprites", _local2, _root.fg.sorted.getNextHighestDepth());
movesprite(id);
_root.fg.sorted[_local2].mc.mc.gotoAndStop(ganim);
}
function movesprite(id) {
sprite_depth(id);
sprite_position(id);
}
function sprite_depth(id) {
var _local2 = world_sprites[id][0];
if ((((_local2.tx < (tilearea.xMin - 1)) || (_local2.tx > (tilearea.xMax + 1))) || (_local2.ty < (tilearea.yMin - 1))) || (_local2.ty > (tilearea.yMax + 1))) {
return(undefined);
}
var _local4 = "s" + id;
var _local3 = get_depth(_local2.tx, _local2.ty, _local2.l, 1, 1);
_root.fg.sorted[_local4].swapDepths(_local3);
}
function sprite_position(id) {
var _local2 = world_sprites[id][0];
var _local4 = "s" + id;
var _local9 = (_local2.l ? (world_tilesB[_local2.tx][_local2.ty]) : (world_tilesA[_local2.tx][_local2.ty]));
var _local3 = tiledata[_local9];
var _local7 = _local2.tx * tilep.w;
_local7 = _local7 + (_local3.sitx ? (_local3.sitx) : 0);
var _local6 = _local2.ty * tilep.h;
_local6 = _local6 + (_local3.sity ? (_local3.sity) : 0);
_root.fg.sorted[_local4]._x = _local7;
_root.fg.sorted[_local4]._y = _local6;
var _local5 = _local2.gstate;
var _local8 = _local2.gaction;
if ((((_local2.gaction == "standN") || (_local2.gaction == "standS")) || (_local2.gaction == "standE")) || (_local2.gaction == "standW")) {
_local5 = ((_local3.xstate != undefined) ? (_local3.xstate) : (_local2.gstate));
_local8 = ((_local3.xaction != undefined) ? (_local3.xaction) : (_local2.gaction));
}
_root.fg.sorted[_local4].gotoAndStop(_local2.gchar + _local5);
_root.fg.sorted[_local4].mc.gotoAndStop(_local8);
}
function get_depth(tx, ty, l, o, s) {
var _local1 = 0;
if (l) {
_local1 = _local1 + (tilearea.layer * 2);
}
if (o) {
_local1 = _local1 + tilearea.layer;
}
if (o) {
_local1 = _local1 + ((ty - tilearea.yMin) * (tilearea.line * 2));
} else {
_local1 = _local1 + ((ty - tilearea.yMin) * tilearea.line);
}
if (s) {
_local1 = _local1 + ((tx - tilearea.xMin) + tilearea.line);
} else {
_local1 = _local1 + (tx - tilearea.xMin);
}
return(_local1);
}
function render() {
if (gamep.state != "playing") {
return(undefined);
}
var _local1 = 0;
while (_local1 < ref_sprites.length) {
var _local2 = ref_sprites[_local1];
animatesprite(_local2);
_local1++;
}
}
function animatesprite(id) {
var _local2 = world_sprites[id][0];
if (!_local2.turnarrive) {
return(undefined);
}
var _local3 = "s" + id;
_root.fg.sorted[_local3]._x = _root.fg.sorted[_local3]._x + _local2.moveratex;
_root.fg.sorted[_local3]._y = _root.fg.sorted[_local3]._y + _local2.moveratey;
if (_local2.turnarrive == -25) {
if (_root.fg.sorted[_local3].mc.mc._currentframe == _root.fg.sorted[_local3].mc.mc._totalframes) {
_local2.turnarrive = 0;
_local2.live = 1;
}
} else if (_local2.turnarrive <= gamep.tcount) {
_local2.turnarrive = 0;
_local2.live = 1;
}
if (_local2.live && (id == 0)) {
clicks.up = 0;
clicks.down = 0;
clicks.left = 0;
clicks.right = 0;
clicks.space = 0;
playerzone_check();
}
}
function checktileto(dir, opdir, id) {
var _local2 = world_sprites[id][0];
var _local22 = (_local2.l ? (world_tilesB[_local2.tx][_local2.ty]) : (world_tilesA[_local2.tx][_local2.ty]));
var _local9 = tiledata[_local22];
var _local8 = _local2.l;
var _local12 = 0;
if ((!_local2.l) && (_local9["layer" + dir])) {
_local8 = 1;
_local12 = 1;
}
var _local13 = (_local9["exit" + dir] ? (_local9["exit" + dir]) : 0);
switch (dir) {
case "u" :
var _local20 = _local2.tx + _local13;
var _local19 = _local2.ty - 1;
break;
case "d" :
_local20 = _local2.tx + _local13;
_local19 = _local2.ty + 1;
break;
case "l" :
_local20 = _local2.tx - 1;
_local19 = _local2.ty + _local13;
break;
case "r" :
_local20 = _local2.tx + 1;
_local19 = _local2.ty + _local13;
}
var _local21 = world_tilesA[_local20][_local19];
var _local6 = tiledata[_local21];
if (_local8) {
if (_local6["layer" + opdir]) {
_local8 = 0;
_local12 = 1;
} else {
_local21 = world_tilesB[_local20][_local19];
_local6 = tiledata[_local21];
}
}
if (_local2.ignoreblocking) {
_local12 = 1;
}
if (!_local12) {
var _local15 = ((_local6.blockstate == _local2.gstate) ? 1 : 0);
var _local16 = (((_local6.dontblockstate != undefined) && (_local6.dontblockstate != _local2.gstate)) ? 1 : 0);
if ((((_local6.blockx || (_local15)) || (_local16)) || (_local21 == undefined)) || (_local21 == 0)) {
if ((_local15 || (_local16)) && (_local6.blocktxt != undefined)) {
changestand(id);
movesprite(id);
performaction([0, _local6.blocktxt]);
}
return(0);
}
switch (dir) {
case "u" :
if ((_local9.blocku || (_local6.blockd)) || (_local6.trapd)) {
return(0);
}
break;
case "d" :
if ((_local9.blockd || (_local6.blocku)) || (_local6.trapu)) {
return(0);
}
break;
case "l" :
if ((_local9.blockl || (_local6.blockr)) || (_local6.trapr)) {
return(0);
}
break;
case "r" :
if (!((_local9.blockr || (_local6.blockl)) || (_local6.trapl))) {
break;
}
return(0);
}
}
var _local4 = 0;
while (_local4 < ref_sprites.length) {
var _local5 = ref_sprites[_local4];
if (_local5 == id) {
} else {
var _local3 = world_sprites[_local5][0];
if (((_local8 == _local3.l) && (_local3.tx == _local20)) && (_local3.ty == _local19)) {
return(0);
}
}
_local4++;
}
var _local10 = (_local8 ? (world_interactB[_local20][_local19]) : (world_interactA[_local20][_local19]));
if ((id == 0) && (_local10.lock || ((_local10.sprite > -1) && (world_sprites[_local10.sprite][0][_local10.propname] == _local10.propval)))) {
if (_local10.locktxt != undefined) {
changestand(id);
movesprite(id);
performaction([0, _local10.locktxt]);
}
return(0);
}
if (_local9["anim" + dir]) {
var _local17 = (_local2.l ? ((("bx" + _local2.tx) + "y") + _local2.ty) : ((("ax" + _local2.tx) + "y") + _local2.ty));
_root.fg.sorted[_local17].mc.gotoAndPlay(2);
}
if (_local6["anim" + opdir]) {
var _local17 = (_local8 ? ((("bx" + _local20) + "y") + _local19) : ((("ax" + _local20) + "y") + _local19));
_root.fg.sorted[_local17].mc.gotoAndPlay(2);
}
if (_local9["gstate" + dir]) {
_local2.gstate = _local9["gstate" + dir];
} else if (_local6["gstate" + opdir]) {
_local2.gstate = _local6["gstate" + opdir];
}
if (_local2.l != _local8) {
if (_local8) {
sprite_position(id);
_local2.l = 1;
sprite_depth(id);
} else {
movesprite(id);
_local2.l = 0;
}
} else if (_local19 > _local2.ty) {
sprite_position(id);
var _local18 = _local2.ty;
_local2.ty = _local19;
sprite_depth(id);
_local2.ty = _local18;
} else {
movesprite(id);
}
return({tx:_local20, ty:_local19, tlon:_local22, tlto:_local21});
}
function preparespritemove(id, spd, obj) {
var _local1 = world_sprites[id][0];
var _local3 = tiledata[obj.tlon];
var _local5 = tiledata[obj.tlto];
if (nomovement_transition(_local1.gstate)) {
_local1.moveratey = 0;
_local1.moveratex = 0;
_local1.turnarrive = -25;
_local1.live = 0;
} else {
var _local11 = _local1.tx * tilep.w;
_local11 = _local11 + (_local3.sitx ? (_local3.sitx) : 0);
var _local9 = obj.tx * tilep.w;
_local9 = _local9 + (_local5.sitx ? (_local5.sitx) : 0);
var _local13 = _local9 - _local11;
var _local10 = _local1.ty * tilep.h;
_local10 = _local10 + (_local3.sity ? (_local3.sity) : 0);
var _local8 = obj.ty * tilep.h;
_local8 = _local8 + (_local5.sity ? (_local5.sity) : 0);
var _local12 = _local8 - _local10;
if (spd == undefined) {
if (_local3.spd != undefined) {
spd = _local3.spd;
} else {
spd = _local1.spd;
}
}
var _local7 = (gamep_spd[spd] * gamep.fpt) + 2;
_local1.moveratey = _local12 / _local7;
_local1.moveratex = _local13 / _local7;
_local1.turnarrive = gamep.tcount + gamep_spd[spd];
_local1.live = 0;
}
_local1.gstate = gstate_transition(_local1.gstate, _local1.gaction);
var _local4 = (_local1.l ? (world_interactB[obj.tx][obj.ty]) : (world_interactA[obj.tx][obj.ty]));
if (_local4.l != undefined) {
_local1.l = _local4.l;
_local1.tx = _local4.tx;
_local1.ty = _local4.ty;
return(undefined);
}
_local1.tx = obj.tx;
_local1.ty = obj.ty;
}
function controls() {
var _local4 = (design ? 10 : 6);
var _local2 = 0;
while (_local2 < _local4) {
var _local1 = inputs[_local2];
var _local3 = Key.isDown(_local1.kcode) || (Key.isDown(_local1.kcode2));
if (_local3 && (!clicks[_local1.tag])) {
clicks[_local1.tag] = 1;
} else if ((!_local3) && (clicks[_local1.tag] == 2)) {
clicks[_local1.tag] = 0;
}
_local2++;
}
}
function switch_keyboard(a) {
switch (a) {
case "qwerty" :
inputs[0].kcode = 74;
inputs[0].kcode2 = 65;
inputs[1].kcode = 76;
inputs[1].kcode2 = 68;
inputs[2].kcode = 73;
inputs[2].kcode2 = 87;
inputs[3].kcode = 75;
inputs[3].kcode2 = 83;
keyboard_type = 1;
return(undefined);
case "azerty" :
inputs[0].kcode = 74;
inputs[0].kcode2 = 81;
inputs[1].kcode = 76;
inputs[1].kcode2 = 68;
inputs[2].kcode = 73;
inputs[2].kcode2 = 90;
inputs[3].kcode = 75;
inputs[3].kcode2 = 83;
keyboard_type = 2;
return(undefined);
case "dvorak" :
inputs[0].kcode = 84;
inputs[0].kcode2 = 65;
inputs[1].kcode = 69;
inputs[1].kcode2 = 83;
inputs[2].kcode = 82;
inputs[2].kcode2 = 188;
inputs[3].kcode = 78;
inputs[3].kcode2 = 79;
keyboard_type = 3;
return(undefined);
case "fallback" :
inputs[0].kcode = 100;
inputs[0].kcode2 = 37;
inputs[1].kcode = 102;
inputs[1].kcode2 = 39;
inputs[2].kcode = 104;
inputs[2].kcode2 = 38;
inputs[3].kcode = 101;
inputs[3].kcode2 = 40;
keyboard_type = 4;
return(undefined);
}
}
function snd_play(snd, loop) {
var _local2 = "aud_" + snd;
if (_root[_local2] == undefined) {
_root.attachMovie("empty", "mc" + _local2, _root.getNextHighestDepth());
_root[_local2] = new Sound(_root["mc" + _local2]);
}
_root[_local2].attachSound(snd + ".wav");
if (loop) {
_root[_local2].start(0, 9999);
} else {
_root[_local2].start();
}
}
function snd_stop(snd) {
var _local2 = "aud_" + snd;
_root[_local2].stop();
}
function snd_ambience(xto, yto) {
var _local1 = world_map[yto][xto];
if (_local1.snd == gamep.snd) {
return(undefined);
}
gamep.snd = _local1.snd;
bgaud.stop();
bgaud.attachSound(_local1.snd + ".wav");
bgaud.start(0, 9999);
}
function snd_initfade(sndname, ease, len, vol, kill) {
var _local2 = fadep.length;
fadep[_local2] = new Object();
fadep[_local2].snd = sndname;
fadep[_local2].ease = ease / 100;
fadep[_local2].timers = timer;
fadep[_local2].timere = timer + (len * gamep.fps);
fadep[_local2].vols = _root[sndname].getVolume();
fadep[_local2].vole = vol;
fadep[_local2].kill = (kill ? 1 : 0);
}
function snd_fade() {
if (fadep.length == 0) {
return(undefined);
}
var _local4 = new Array();
var _local2 = 0;
while (_local2 < fadep.length) {
var _local6 = fadep[_local2];
var _local5 = makepercent(timer, _local6.timers, _local6.timere);
var _local3 = demakepercent(_local5, _local6.vols, _local6.vole);
_root[_local6.snd].setVolume(_local3);
if (_local3 == _local6.vole) {
if (_local6.kill) {
_root[_local6.snd].stop();
}
} else {
_local4.push(_local2);
}
_local2++;
}
if (_local4.length == 0) {
fadep = [0];
return(undefined);
}
if (_local4.length < fadep.length) {
var _local6 = new Array();
_local2 = 0;
while (_local2 < _local4.length) {
_local6[_local2] = copyob(fadep[_local4[_local2]]);
_local2++;
}
fadep = copyarr(_local6);
}
}
function makepercent(n, min, max) {
return(Math.floor(((n - min) / (max - min)) * 100));
}
function demakepercent(p, min, max) {
var _local1 = (p / 100) * Math.abs(max - min);
_local1 = ((min < max) ? (_local1 + min) : (min - _local1));
return(_local1);
}
function designinit() {
clicks.spinner = 0;
clicks.leftclick = 2;
frameon("game");
_root.fg._xscale = tilep.zoom;
_root.fg._yscale = tilep.zoom;
_root.overlay.gotoAndStop("designer");
_root.overlay.l.text = designp.l;
cam(designp.camx, designp.camy);
}
function designloop() {
var _local4 = gettilex(_root.fg._xmouse);
var _local3 = gettiley(_root.fg._ymouse);
var _local2 = hastile(_local4, _local3, designp.l);
_root.overlay.t.text = (((("x" + _local4) + "_y") + _local3) + "_tl") + _local2;
if ((((clicks.left == 1) || (clicks.right == 1)) || (clicks.up == 1)) || (clicks.down == 1)) {
var _local6 = designp.camx;
_local6 = _local6 - (clicks.left ? 1 : 0);
_local6 = _local6 + (clicks.right ? 1 : 0);
var _local5 = designp.camy;
_local5 = _local5 - (clicks.up ? 1 : 0);
_local5 = _local5 + (clicks.down ? 1 : 0);
cam(_local6, _local5);
designp.camx = _local6;
designp.camy = _local5;
clicks.left = 2;
clicks.right = 2;
clicks.up = 2;
clicks.down = 2;
}
if (clicks.space == 1) {
designp.l = (designp.l ? 0 : 1);
_root.overlay.l.text = designp.l;
clicks.space = 2;
}
if (clicks.spinner != 0) {
_local2 = _local2 + clicks.spinner;
_local2 = ((_local2 == tiledata.length) ? 0 : (_local2));
_local2 = ((_local2 == -1) ? (tiledata.length - 1) : (_local2));
settile(_local4, _local3, designp.l, _local2);
clicks.spinner = 0;
}
if (clicks.middleclick) {
if (clicks.middleclick == 1) {
designp.copypasta = hastile(_local4, _local3, designp.l);
clicks.middleclick = 2;
} else {
settile(_local4, _local3, designp.l, designp.copypasta);
}
}
if (clicks.playtest == 1) {
clicks.playtest = 2;
design = 2;
gameinit(0);
}
}
function testloop() {
if (clicks.playtest == 1) {
clicks.playtest = 2;
design = 1;
gameexit();
designinit();
return(undefined);
}
if (clicks.leftclick == 1) {
var _local4 = gettilex(_root.fg._xmouse);
var _local3 = gettiley(_root.fg._ymouse);
clicks.leftclick = 2;
var _local2 = world_sprites[0][0];
_local2.tx = _local4;
_local2.ty = _local3;
createarea();
}
if (clicks.test == 1) {
clicks.test = 2;
change_world("state,25");
}
}
function onEnterFrame() {
if (gamep.state != "paused") {
timer++;
}
controls();
if (framein == "game") {
if (design == 1) {
designloop();
} else if (design == 2) {
testloop();
render();
simulation();
} else {
render();
simulation();
}
}
}
function frameon(goto) {
framein = goto;
_root.gotoAndStop(goto);
}
function designing(b) {
if (b == 0) {
design = 0;
frameon("menu");
} else {
design = 1;
frameon("designer");
}
}
function finishgame(a) {
if (a == "win") {
if (prog == "losescene") {
saveprogress("allscene");
} else {
saveprogress("winscene");
}
} else if (a == "lose") {
if (prog == "winscene") {
saveprogress("allscene");
} else {
saveprogress("losescene");
}
}
gameexit();
frameon("menu");
}
function saveprogress(a) {
prog = a;
sav.data.prog = a;
sav.flush();
}
function initminigame() {
snd_initfade("bgaud", 0, 1, 0);
snd_play("fight", 1);
minigamep = {timer:0, texting:0, section:0, missdodge:0, dodges:0, pcstate:"default", nmestate:"default", newstates:1, pcalarm:0, nmealarm:0, sequence:0};
_root.miniclip.gotoAndStop(2);
gamep.state = "minigame";
sections = new Array();
var _local2 = 0;
while (_local2 < 4) {
sections[_local2] = new Array();
_local2++;
}
_local2 = 0;
while (_local2 < 15) {
sections[1][_local2] = "jab";
_local2++;
}
sections[1][random(4)] = "punch";
sections[1][4 + random(4)] = "punch";
sections[1][8 + random(4)] = "punch";
sections[1][12 + random(3)] = "punch";
_local2 = 0;
while (_local2 < 20) {
sections[2][_local2] = "jab";
_local2++;
}
sections[2][0 + random(4)] = "punch";
sections[2][4 + random(3)] = "punch";
sections[2][6 + random(3)] = "punch";
sections[2][9 + random(4)] = "punch";
sections[2][13 + random(3)] = "punch";
sections[2][16 + random(4)] = "punch";
sections[2][0 + random(5)] = "uppercut";
sections[2][5 + random(5)] = "uppercut";
sections[2][10 + random(5)] = "uppercut";
sections[2][15 + random(5)] = "uppercut";
_local2 = 0;
while (_local2 < 15) {
sections[3][_local2] = "jab";
_local2++;
}
sections[3][0 + random(3)] = "punch";
sections[3][3 + random(3)] = "punch";
sections[3][6 + random(3)] = "punch";
sections[3][9 + random(3)] = "punch";
sections[3][12 + random(3)] = "punch";
sections[3][0 + random(8)] = "uppercut";
sections[3][8 + random(7)] = "uppercut";
mspds = {snail:50, slow:40, mid:30, avg:25, fast:15};
}
function minigame() {
if (minigamep.texting) {
minigame_textcontrol();
return(undefined);
}
minigamep.timer++;
if (minigamep.newstates) {
_root.miniclip.pc.gotoAndStop(minigamep.pcstate);
_root.miniclip.nme.gotoAndStop(minigamep.nmestate);
minigamep.newstates = 0;
}
if (clicks.right == 1) {
clicks.right = 2;
if (minigamep.pcstate == "default") {
minigamep.newstates = 1;
minigamep.pcstate = "dodgepunch";
minigamep.pcalarm = minigamep.timer + mspds.avg;
}
}
if (clicks.left == 1) {
clicks.left = 2;
if (minigamep.pcstate == "default") {
minigamep.newstates = 1;
minigamep.pcstate = "dodgejab";
minigamep.pcalarm = minigamep.timer + mspds.fast;
}
}
if (clicks.up == 1) {
clicks.up = 2;
if (minigamep.pcstate == "default") {
minigamep.newstates = 1;
minigamep.pcstate = "counter";
minigamep.pcalarm = minigamep.timer + mspds.slow;
}
}
if (clicks.down == 1) {
clicks.down = 2;
if (minigamep.pcstate == "default") {
minigamep.newstates = 1;
minigamep.pcstate = "duck";
minigamep.pcalarm = minigamep.timer + mspds.mid;
}
}
if (clicks.space == 1) {
clicks.space = 2;
}
if (minigamep.nmestate == "default") {
if (minigamep.nmealarm == 0) {
minigamep.nmealarm = (minigamep.timer + random(120)) + mspds.fast;
} else if (minigamep.nmealarm <= minigamep.timer) {
var _local2 = "haymaker";
if ((minigamep.section != 3) || (minigamep.dodges < 30)) {
switch (minigamep.section) {
case 0 :
_local2 = "jab";
break;
case 2 :
if (minigamep.sequence > 19) {
minigamep.sequence = 0;
}
_local2 = sections[minigamep.section][minigamep.sequence];
minigamep.sequence++;
break;
default :
if (minigamep.sequence > 14) {
minigamep.sequence = 0;
}
_local2 = sections[minigamep.section][minigamep.sequence];
minigamep.sequence++;
}
}
minigamep.newstates = 1;
switch (_local2) {
case "jab" :
minigamep.nmestate = "jabsetup";
minigamep.nmealarm = minigamep.timer + mspds.avg;
break;
case "punch" :
minigamep.nmestate = "punchsetup";
minigamep.nmealarm = minigamep.timer + mspds.mid;
break;
case "uppercut" :
minigamep.nmestate = "uppercutsetup";
minigamep.nmealarm = minigamep.timer + mspds.slow;
break;
case "haymaker" :
minigamep.nmestate = "haymakersetup";
minigamep.nmealarm = minigamep.timer + mspds.snail;
}
}
}
if ((minigamep.pcalarm != 0) && (minigamep.pcalarm <= minigamep.timer)) {
minigamep.newstates = 1;
switch (minigamep.pcstate) {
case "dodgepunch" :
minigamep.pcstate = "dodgepunch2";
minigamep.pcalarm = minigamep.timer + mspds.avg;
break;
case "dodgejab" :
minigamep.pcstate = "dodgejab2";
minigamep.pcalarm = minigamep.timer + mspds.mid;
break;
case "duck" :
minigamep.pcstate = "duck2";
minigamep.pcalarm = minigamep.timer + mspds.slow;
break;
case "counter" :
minigamep.pcstate = "counter2";
minigamep.pcalarm = minigamep.timer + mspds.snail;
break;
default :
minigamep.pcstate = "default";
minigamep.pcalarm = 0;
}
}
if ((minigamep.nmealarm != 0) && (minigamep.nmealarm <= minigamep.timer)) {
minigamep.newstates = 1;
switch (minigamep.nmestate) {
case "jabsetup" :
minigamep.nmestate = "jabmid";
minigamep.nmealarm = minigamep.timer + mspds.fast;
if ((minigamep.pcstate == "dodgejab") || (minigamep.pcstate == "dodgejab2")) {
minigame_dodging("jab", 0);
} else {
minigame_dodging("jab", 1);
minigamep.pcstate = "hitjab";
minigamep.pcalarm = minigamep.timer + mspds.slow;
}
break;
case "jabmid" :
minigamep.nmestate = "jabfinal";
minigamep.nmealarm = minigamep.timer + mspds.fast;
break;
case "punchsetup" :
minigamep.nmestate = "punchmid";
minigamep.nmealarm = minigamep.timer + mspds.avg;
if ((minigamep.pcstate == "dodgepunch") || (minigamep.pcstate == "dodgepunch2")) {
minigame_dodging("punch", 0);
} else {
minigame_dodging("punch", 1);
minigamep.pcstate = "hitpunch";
minigamep.pcalarm = minigamep.timer + mspds.slow;
}
break;
case "punchmid" :
minigamep.nmestate = "punchfinal";
minigamep.nmealarm = minigamep.timer + mspds.avg;
break;
case "uppercutsetup" :
minigamep.nmestate = "uppercutmid";
minigamep.nmealarm = minigamep.timer + mspds.mid;
if ((minigamep.pcstate == "duck") || (minigamep.pcstate == "duck2")) {
minigame_dodging("uppercut", 0);
} else {
minigame_dodging("uppercut", 1);
minigamep.pcstate = "hituppercut";
minigamep.pcalarm = minigamep.timer + mspds.slow;
}
break;
case "uppercutmid" :
minigamep.nmestate = "uppercutfinal";
minigamep.nmealarm = minigamep.timer + mspds.mid;
break;
case "haymakersetup" :
minigamep.nmestate = "haymakermid";
minigamep.nmealarm = minigamep.timer + mspds.slow;
break;
case "haymakermid" :
minigamep.nmealarm = 0;
minigamep.pcalarm = 0;
if ((minigamep.pcstate == "counter") || (minigamep.pcstate == "counter2")) {
minigame_dodging("haymaker", 0);
} else {
minigame_dodging("haymaker", 1);
}
break;
default :
minigamep.nmestate = "default";
minigamep.nmealarm = 0;
}
}
}
function minigame_dodging(atk, hit) {
_root.miniclip.outs.text = (hit ? "smash" : "whoosh");
switch (minigamep.section) {
case 0 :
if (hit) {
minigamep.dodges = 0;
minigamep.missdodge++;
if (minigamep.missdodge == 8) {
minigame_textprep(["slut::shout::It's just a jab!", "slut::shout::Lean out of the way!"]);
}
} else {
minigamep.dodges++;
}
if (minigamep.dodges == 3) {
minigamep.dodges = 0;
minigamep.section++;
if (minigamep.missdodge > 3) {
minigame_textprep(["pretty::smirk::You have a pretty sturdy face.", "slut::shout::Watch out! He's serious now!"]);
} else {
minigame_textprep(["pretty::mad::You pretty fast for a lardass.", "slut::shout::Watch out! He's serious now!"]);
}
minigamep.missdodge = 0;
}
break;
case 1 :
if (atk == "punch") {
if (hit) {
minigamep.dodges = 0;
minigamep.missdodge++;
if (minigamep.missdodge == 3) {
minigame_textprep(["slut::shout::You have to jump out of the way of Michael's gut punch!", "fat::bruised::(As if it's that easy!)"]);
}
} else {
minigamep.dodges++;
}
if (minigamep.dodges == 2) {
minigamep.dodges = 0;
minigamep.section++;
minigame_textprep(["pretty::smirk::You're not bad for an amateur.", "pretty::smirk::A fat dumb amateur who's too afraid to even throw a punch.", "slut::shout::Dude, be ready to duck!"]);
minigamep.missdodge = 0;
}
}
break;
case 2 :
if (atk == "uppercut") {
if (hit) {
minigamep.missdodge++;
if (minigamep.missdodge == 1) {
minigame_textprep(["slut::default::Dude, I told you to be ready to duck."]);
}
} else {
minigamep.dodges++;
}
if (minigamep.dodges == 2) {
minigamep.dodges = 0;
minigamep.section++;
minigame_textprep(["pretty::smirk::...", "fat::bruised::..."]);
minigamep.missdodge = 0;
}
}
break;
case 3 :
if (atk == "haymaker") {
_root.miniclip.gotoAndStop(1);
snd_initfade("aud_fight", 0, 5, 0, 1);
if (hit) {
change_world("state,21");
performaction([{precut:"losefight"}, "fat::bruised::*huff* *huff* *huff* *huff*", "pretty::cond::Boring, I'm out."]);
} else {
change_world("state,25");
performaction([{precut:"winfight"}, "fat::bruisedshout::MY NAME IS MAAAAAAX!", "fat::bruised::*huff* *huff*", "slut::truesmile::Wow, a perfect cross-counter."]);
}
} else if (hit) {
} else if (atk == "jab") {
minigamep.dodges = minigamep.dodges + 1;
} else if (atk == "punch") {
minigamep.dodges = minigamep.dodges + 3;
} else if (atk == "uppercut") {
minigamep.dodges = minigamep.dodges + 5;
}
if (minigamep.missdodge == 0) {
if (minigamep.dodges >= 8) {
minigame_textprep(["slut::shout::FIGHT BACK WHATEVER-YOUR-NAME-IS!", "pretty::default::She always does this at my boxing matches, cheers for my opponent.", "pretty::smirk::Never helps them, though. If anything it gets me fired up."]);
minigamep.missdodge++;
}
} else if (minigamep.missdodge == 1) {
if (minigamep.dodges >= 16) {
minigame_textprep(["pretty::smirk::You don't punch back, you don't talk.", "pretty::smirk::You're just a punching bag to me."]);
minigamep.missdodge++;
}
} else {
if (minigamep.missdodge != 2) {
break;
}
if (minigamep.dodges < 24) {
break;
}
minigame_textprep(["pretty::smirk::Your name's Lou right?", "pretty::smirk::As in Lou the Loser.", "fat::bruised::No.", "pretty::smirk::Lou, the beta bathroom masturbator."]);
minigamep.missdodge++;
}
}
}
function minigame_textprep(sub) {
minigamep.texting = 1;
_root.overlay.gotoAndStop("text");
var _local2 = copyarr(sub);
text_text = copyarr(_local2);
text_on = 0;
updatetext();
clicks.left = 2;
clicks.right = 2;
clicks.space = 2;
}
function minigame_textcontrol() {
var _local2 = text_on;
if (clicks.space == 1) {
clicks.space = 2;
if (text_on == (text_text.length - 1)) {
minigamep.texting = 0;
clicks.up = 0;
clicks.down = 0;
clicks.left = 0;
clicks.right = 0;
clicks.space = 2;
_root.overlay.gotoAndStop("game");
_root.overlay.spc.gotoAndStop(3);
return(undefined);
}
}
if (clicks.right == 1) {
_local2++;
clicks.right = 2;
}
if (clicks.left == 1) {
_local2--;
clicks.left = 2;
}
if (((_local2 != text_on) && (_local2 > -1)) && (_local2 < text_text.length)) {
text_on = _local2;
updatetext();
}
}
world_txtA = "br,br,br,br,br,br,0x2,6x2,9,16x7,5,0x3,6x2,9,16x6,0x19,6x2,9,16x6,br,0x2,6x2,9,16x7,5,0x3,6,15,9,17,16,17,16,17,16,0x19,6,15,9,17,16,17,16,17,16,5,br,0x2,6x2,9,16,23,16,17x2,16x2,0x4,6,15,9,20,21,20,21,20,21,0x5,6x2,9,41,38x5,0x5,6,15,9,20,21,20,21,20,21,5,br,0x2,6,7,9,33,23,16,37,36,24,27,0x4,6,15,9,16x6,0x5,6x2,9,42,38x5,0x5,6x2,9,16x6,br,0x2,6x2,9,16x2,19,37,36,25,29,0x4,6x2,9,17,16,17,16,17,16,0x5,6x2,9,43,38x5,0x5,6,15,9,17,16,17,16,17,16,br,0x2,6x2,9,16x3,37,25,28,16,0x4,6x2,9,20,21,20,21,20,21,0x5,6x2,9,38x3,6,9,38,0x5,6,15,9,20,21,20,21,20,21,br,0x2,6x2,9,16x2,19,37,25,28,16,0x4,6,15,9,16x6,0x5,6x2,9,39,40,38,6,9,38,0x5,6x2,9,16x6,br,0x2,6x2,9,16x3,37,25,28,16,0x4,6,15,9,17,16,17,16,17,16,0x5,6x2,9,39,40,38,6,9,38x2,5,0x3,6,15,9,17,16,17,16x3,br,0x2,6x2,9,16x2,19,37,36,25,27,0x4,6,15,9,20,21,20,21,20,21,0x5,6x2,9,39,40,38,6,9,38x2,5,0x3,6,15,9,20,21,20,21,16x2,br,0x3,6x2,9,16x2,37,36,26,29,0x4,6x2,9,16x6,0x19,6x2,9,16x6,br,0x3,6x2,14,16x2,18x2,16x2,0x4,6,7,9,25,34,16x4,5,0x18,6x2,9,20,34,16x3,18,br,0x3,6x2,9,16x6,0x4,6x2,9,16,35,16x4,5,0x18,6,7,9,16,35,16x3,18,br,0x16,6x2,9,16x6,0x19,6x2,9,16x5,18,br,br,br,br,br,br,br,br,br,br,br,0x15,6x2,9,16x9,br,0x15,6x2,9,16x3,17,16x5,5,0x30,6x2,9,78,76x2,br,0x15,6x2,9,16,37,36x2,24,27,16x3,5,0x15,6x2,9,99,36,100,36,99,36,25,29,0x4,6x2,9,78,76x2,br,0x15,6x2,9,19,37,36x2,25,28,16x3,0x16,6x2,9,16,18,16,18,16,18,16x2,5,0x3,6x2,9,78,76x2,br,0x15,6x2,9,16,37,36x2,26,29,16x3,0x16,6x2,9,16x8,5,0x3,6x2,9,78,76x2,br,0x15,6x2,9,16,18,16,18,16x5,0x3,6x2,9,39,40,38,6,9,38x2,5,0x2,6,7,9,16,25,94,16x5,0x4,6x2,9,80,76x2,br,0x3,6x2,9,81x6,0x3,6x2,9,16x9,0x3,6x2,9,39,40,38,6,9,38x2,5,0x2,6x2,9,33,25,95,16x5,0x4,6x2,9,76x3,br,0x3,6x2,9,83,81x3,20,86,0x3,6x2,9,16x9,0x3,6x2,9,91,38x2,6,9,38,0x4,6x2,9,16,25,96,16x5,0x4,6x2,14,76x3,br,0x3,6,7,9,84,82,81x2,20,87,0x3,6x2,9,16x4,17,16x4,0x3,6x2,9,91,38x2,6,9,38,0x4,6x2,9,16x8,0x4,6x2,9,76x3,br,0x3,6x2,9,85,81x3,20,88,0x3,6x2,9,16x4,37,24,27,16x2,0x3,6x2,9,38x6,0x4,6x2,9,16x8,0x4,6x2,9,76x3,br,0x3,6x2,9,81x6,0x3,6x2,9,16x3,19,37,25,28,16x2,0x3,6x2,9,90,38x5,0x4,6x2,9,16,17,16,17,16,17,16x2,0x4,6x2,9,76x3,br,0x4,6x2,9,81x2,0x6,6x2,9,23,16,23,19,37,25,28,16x2,0x3,6x2,9,89,38x5,0x4,6x2,9,98,36,97,36,98,36,25,27,0x4,6x2,9,76x3,br,0x7,3x2,0x6,6x2,9,22,16,22,19,37,25,28,16x2,0x31,6x2,9,76x3,br,0x15,6x2,9,23,16,23,16,37,25,28,16x2,0x31,6x2,14,76x3,br,0x15,6x2,9,23,16,23,19,37,25,28,16,30,0x31,6x2,9,76x3,br,0x15,6x2,9,22,16,22,16,37,26,29,16,31,0x31,6x2,9,77,76x2,br,0x15,6x2,9,23,16,23,16,18,16x3,32,0x31,6x2,9,78,76x2,br,0x58,6x2,9,78,76x2,br,0x58,6x2,9,78,76x2,br,0x58,6x2,9,78,76x2,br,0x58,6x2,9,78,76x2,br,0x15,6x3,9,4x3,0x36,6x2,9,78,76x2,br,0x14,6x2,9,44x19,0x22,6x2,9,78,76x2,br,0x14,6x2,9,44x2,46x7,64,46x5,44x4,0x22,6x2,9,80,76x2,br,0x14,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,9,76x3,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,14,76x3,0x12,6x2,9,78,76x2,br,0x2,6x2,9,23,16x5,5,0x2,6x2,13,44,47,44x5,63,44,62,44x4,47,44x4,0x11,6x2,14,76x3,0x5,6x2,9,76x3,0x12,6x2,9,80,76x2,br,0x2,6x2,9,23,19,25,94,16x2,5,0x2,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,9,77,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,23,19,25,96,16x2,0x3,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,23,16x5,0x3,6x2,9,44,47,44x5,54,52,55,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16x6,0x3,6x2,9,44,47,44x5,58,61,59,44x4,47,44x4,0x11,6x2,9,76x3,0x5,6x2,9,80,76x2,6x2,9,68x2,0x2,6x2,9,81x2,6x2,9,76x3,br,0x2,6x2,9,16,19,25,94,16x2,0x3,6x2,9,44,47,44x12,47,44x4,0x11,6x2,9,76x32,5,br,0x2,6x2,9,16,19,25,96,16x2,0x3,6x2,9,44,47,44x12,47,44x4,0x11,6x2,9,76x32,5,br,0x2,6x2,9,16x6,0x3,6x2,9,66,47,44x12,47,44x4,0x11,6x2,9,76x32,5,br,0x2,6x2,9,16x6,0x3,6x2,9,67,47,44x12,47,44x4,0x11,6x2,9,76x32,5,br,0x2,6x2,9,16,19,25,94,16x2,0x3,6x2,9,66,47,44x12,47,44x4,0x11,6x2,9,76x32,5,br,0x2,6x2,9,16,19,25,96,16,30,0x3,6x2,9,67,47,44x12,47,44x4,0x22,6x2,9,77,76x2,6x2,9,81x2,0x7,6x2,9,76x3,br,0x2,6x2,9,16x5,31,0x3,6x2,9,66,47,44x12,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16x5,32,0x3,6,7,9,67,47,44x12,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16,19,25,94,16x2,0x3,6x2,9,66,47,44x12,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16,19,25,96,16x2,0x3,6x2,9,67,47,44x12,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,77,76x2,br,0x2,6x2,9,16x6,0x3,6x2,9,44,47,44x12,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x5,56,60,57,44x4,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,79,76x2,br,0x14,6x2,9,44,47,49x5,50,49,51,49x4,48,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,52x5,54,52,55,52x4,53,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x5,58,61,59,44x4,47,44x4,0x22,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x12,47,44x4,0x22,6x2,9,80,76x2,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x12,47,44x4,0x22,6x2,9,76x3,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x12,47,44x4,0x22,6x2,9,76x3,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x12,47,44x4,0x22,6x2,10,76x3,0x12,6x2,9,78,76x2,br,0x14,6x2,9,44,47,44x12,47,44x4,0x22,6,8,9,76x3,0x12,6x2,9,78,76x2,br,0x2,6x2,9,16,30,16x2,23,16,0x3,6x2,9,44,47,44x12,47,44x4,0x22,6x2,11,76x3,0x12,6x2,9,78,76x2,br,0x2,6,15,9,16,31,16x2,22,16,0x3,6x2,9,44,47,44x12,47,44x4,0x22,6x2,9,76x3,0x12,6x2,9,78,76x2,br,0x2,6,15,9,16,32,16x2,23,16,0x3,6x2,9,44,47,44x12,47,44x4,0x9,6x2,9,68x4,0x6,6x2,9,76x3,0x12,6x2,9,80,76x2,br,0x2,6x2,9,16x6,5,0x2,6x2,9,44,47,44x12,47,44x4,0x9,6x2,9,68,69,68x2,0x6,6x2,9,77,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16x6,5,0x2,6x2,9,44,47,44x12,47,44x4,0x9,6x2,9,68x4,0x6,6x2,9,78,76x2,0x12,6x2,14,76x3,br,0x2,6x2,9,16x6,0x3,6x2,9,44,47,44x12,47,44x4,0x9,6x2,9,70x3,68,0x6,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x2,6x2,9,16,25,94,16,25,94,0x3,6x2,9,44,47,44x5,56,60,57,44x4,47,44x4,0x9,6x2,9,68x4,0x6,6x2,9,78,76x2,0x12,6x2,9,77,76x2,br,0x2,6x2,9,19,25,95,19,25,95,0x3,6x2,9,44,47,44x5,50,49,51,44x4,47,44x4,0x9,6x2,9,68x4,0x6,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x2,6,15,9,16,25,95,16,25,95,0x3,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x9,6x2,9,68x3,71,0x6,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x2,6,15,9,19,25,95,19,25,95,0x3,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x9,6x2,9,68x3,72,0x6,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x2,6,15,9,16,25,95,16,25,95,0x3,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x9,6x2,9,68x3,73,0x6,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x2,6x2,9,19,25,95,19,25,95,0x3,6x2,12,44,47,44x5,63,44,62,44x4,47,44x4,0x9,6x2,9,68x4,0x6,6x2,9,78,76x2,0x12,6x2,9,80,76x2,br,0x2,6,15,9,16,25,95,19,25,95,0x3,6x2,9,44,47,44x5,63,44,62,44x4,47,44x4,0x12,3x2,0x8,6x2,9,80,76x2,0x12,6x2,9,76x3,br,0x2,6,15,9,19,25,95,16,25,95,0x3,6x2,9,44x2,45x7,65,45x5,44x4,0x22,6x2,9,76x3,0x12,6x2,9,76x3,br,0x2,6,15,9,16,25,96,16,25,96,0x3,6x2,9,44x19,0x22,6x2,14,76x3,0x12,6x2,10,76x3,br,0x2,6x2,9,16x6,0x47,6x2,9,76x3,0x12,6,8,9,76x3,br,0x58,6x2,9,77,76x2,0x12,6x2,11,76x3,br,0x58,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x58,6x2,9,78,76x2,0x12,6x2,9,76x3,br,0x58,6x2,9,78,76x2,0x12,6x2,9,77,76x2,br,0x58,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x58,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x30,44x9,0x19,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x30,46x3,64,46x5,0x19,6x2,9,78,76x2,0x12,6x2,9,78,76x2,br,0x30,44,63,44,62,44x5,0x19,6x2,9,78,76x2,0x12,6x2,9,80,76x2,br,0x30,44,63,44,62,44x5,0x19,6x2,9,80,76x2,0x12,6x2,9,76x3,br,0x30,44,63,44,62,44x5,0x19,6x2,9,76x21,br,0x30,44,63,44,62,44x5,0x19,6x2,9,76x21,br,0x30,44,63,92,62,44x2,93,44x2,0x19,6x2,9,76x21,br,0x30,44,54,52,55,44x5,0x19,6x2,9,76x21,br,0x30,44,58,61,59,44x5,0x19,6x2,9,76x21,br,0x30,44x2,93,44x3,92,44x2,0x19,6x3,9,45x3,0x11,6x2,9,76x3,br,0x30,44x9,0x37,6x2,9,76x3,br,0x30,44x9,0x37,6x2,14,76x3,br,0x30,44x2,92,44x3,93,44x2,0x37,6x2,9,76x3,br,0x30,44x9,0x37,6x2,9,76x3,br,0x30,44x9,br,0x30,44x2,93,44x3,92,44x2,br,0x30,44x9,br,0x30,44x9,br,0x30,44x2,92,44x3,93,44x2,br,0x30,44x9,br,0x30,44x9,br,0x30,44,56,60,57,44x5";
world_txtB = "br,br,br,br,br,br,br,br,br,br,br,0x35,6,br,0x35,6,br,0x35,6,br,0x35,6,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,br,0x35,6,br,0x35,6,br,0x35,6,br,0x35,6";
world_tilesA = importtiles(world_txtA);
world_tilesB = importtiles(world_txtB);
tiledata = new Array();
tiledata[6] = {blockx:1};
tiledata[7] = {blockx:1};
tiledata[8] = {blockx:1};
tiledata[9] = {blockx:1};
tiledata[10] = {over:1, sity:10};
tiledata[11] = {over:1, sity:10};
tiledata[12] = {over:1, sity:10};
tiledata[13] = {over:1, sity:10};
tiledata[14] = {animd:1, over:1, sity:10};
tiledata[15] = {blockx:1};
tiledata[17] = {blockl:1, xstate:"sit", xaction:"standE", over:1};
tiledata[18] = {blockr:1, xstate:"sit", xaction:"standW", over:1};
tiledata[19] = {blocku:1, xstate:"sit", xaction:"standS", over:1};
tiledata[20] = {blockx:1};
tiledata[21] = {over:1};
tiledata[22] = {blocku:1, over:1};
tiledata[23] = {blocku:1, over:1};
tiledata[24] = {blockx:1};
tiledata[25] = {blockx:1};
tiledata[26] = {blockx:1};
tiledata[27] = {over:1};
tiledata[28] = {over:1};
tiledata[29] = {over:1};
tiledata[30] = {blocku:1, over:1};
tiledata[31] = {blocku:1, over:1, sity:6};
tiledata[32] = {blocku:1, over:1};
tiledata[33] = {blockl:1, over:1};
tiledata[34] = {blockx:1, over:1};
tiledata[35] = {blocku:1, over:1};
tiledata[36] = {blockx:1};
tiledata[37] = {blockx:1, over:1};
tiledata[39] = {blockl:1, blockr:1, blocku:1, over:1, xstate:"sit", xaction:"standS"};
tiledata[40] = {animu:1, over:1};
tiledata[41] = {over:1};
tiledata[42] = {over:1};
tiledata[43] = {over:1};
tiledata[44] = {checkerz:3};
tiledata[45] = {checkerz:3};
tiledata[46] = {checkerz:3};
tiledata[47] = {checkerz:3, over:1};
tiledata[48] = {checkerz:3};
tiledata[49] = {checkerz:3};
tiledata[50] = {checkerz:3};
tiledata[51] = {checkerz:3};
tiledata[52] = {checkerz:3};
tiledata[53] = {checkerz:3};
tiledata[54] = {checkerz:3};
tiledata[55] = {checkerz:3};
tiledata[56] = {checkerz:3};
tiledata[57] = {checkerz:3};
tiledata[58] = {checkerz:3};
tiledata[59] = {checkerz:3};
tiledata[60] = {checkerz:3};
tiledata[61] = {checkerz:3};
tiledata[62] = {checkerz:3};
tiledata[63] = {checkerz:3};
tiledata[64] = {checkerz:3, blocku:1, over:1};
tiledata[65] = {checkerz:3, blocku:1, over:1};
tiledata[66] = {checkerz:3, blocku:1, over:1};
tiledata[67] = {checkerz:3, blocku:1, over:1};
tiledata[69] = {over:1};
tiledata[70] = {over:1};
tiledata[71] = {over:1};
tiledata[72] = {over:1};
tiledata[73] = {over:1};
tiledata[76] = {checkerz:2};
tiledata[77] = {checkerz:2, over:1};
tiledata[78] = {checkerz:2, over:1};
tiledata[79] = {checkerz:2, over:1};
tiledata[80] = {checkerz:2, over:1};
tiledata[82] = {blockx:1, over:1, xstate:"sit", xaction:"standS", sity:10};
tiledata[83] = {over:1};
tiledata[84] = {over:1};
tiledata[85] = {over:1};
tiledata[86] = {blocku:1, over:1};
tiledata[87] = {blocku:1, over:1};
tiledata[88] = {blocku:1, over:1};
tiledata[89] = {over:1};
tiledata[90] = {over:1};
tiledata[91] = {over:1};
tiledata[92] = {checkerz:3, sity:-14};
tiledata[93] = {checkerz:3, sity:14};
tiledata[94] = {over:1};
tiledata[95] = {over:1};
tiledata[96] = {over:1};
tiledata[97] = {blockx:1, over:1};
tiledata[98] = {blockx:1, over:1};
tiledata[99] = {blockx:1, over:1};
tiledata[100] = {blockx:1, over:1};
world_map = new Array();
world_map[0] = [{desc:"french", snd:"class"}, {desc:"counsellor", snd:"inside"}, {desc:"history", snd:"class"}, {desc:"art", snd:"class"}];
world_map[1] = [{desc:"math", snd:"class"}, {desc:"science", snd:"class"}, {desc:"gym", snd:"gym"}, {desc:"gym", snd:"gym"}];
world_map[2] = [{desc:"bathroom", snd:"tiled"}, {desc:"bathroom", snd:"tiled"}, {desc:"gym", snd:"gym"}, {desc:"gym", snd:"gym"}, {desc:"gym", snd:"gym"}];
world_map[3] = [{desc:"english", snd:"class"}, {desc:"comp", snd:"class"}, {desc:"hall", snd:"hall"}, {desc:"nurse", snd:"tiled"}];
world_map[4] = [0, {desc:"hall", snd:"hall"}, {desc:"hall", snd:"hall"}, {desc:"hall", snd:"hall"}, {desc:"hall", snd:"hall"}];
world_map[5] = [0, 0, {desc:"hall", snd:"hall"}, {desc:"hall", snd:"hall"}, {desc:"hall", snd:"hall"}];
world_text = new Array();
world_interactA = new Array();
world_interactB = new Array();
var i = 0;
while (i < 150) {
world_interactA[i] = new Array();
i++;
}
world_interactA[36][60] = {lock:1, tx:7, ty:11, l:0};
world_interactA[6][12] = {lock:0, tx:36, ty:61, l:0};
world_interactA[7][12] = {lock:0, tx:36, ty:61, l:0};
world_interactA[42][60] = {lock:1, tx:8, ty:52, l:0};
world_interactA[7][53] = {lock:0, tx:42, ty:61, l:0};
world_interactA[8][53] = {lock:0, tx:42, ty:61, l:0};
world_interactA[54][60] = {lock:1, tx:56, ty:10, l:0};
world_interactA[55][11] = {lock:0, tx:54, ty:61, l:0};
world_interactA[56][11] = {lock:0, tx:54, ty:61, l:0};
world_interactA[94][60] = {lock:1, tx:84, ty:10, l:0};
world_interactA[83][11] = {lock:1, tx:94, ty:61, l:0};
world_interactA[84][11] = {lock:1, tx:94, ty:61, l:0};
world_interactA[94][78] = {lock:1, tx:13, ty:39, l:0, locktxt:"fat::nervous::(I'd have to be an idiot to go into the girl's toilets.)"};
world_interactA[13][40] = {lock:0, tx:94, ty:79, l:0};
world_interactA[14][40] = {lock:0, tx:94, ty:79, l:0};
world_interactA[10][38] = {lock:1};
world_interactA[96][78] = {lock:1, tx:35, ty:39, l:0, locktxt:"fat::default::(Don't need to pee... or anything else.)"};
world_interactA[34][40] = {lock:0, tx:96, ty:79, l:0};
world_interactA[35][40] = {lock:0, tx:96, ty:79, l:0};
world_interactA[55][49] = {lock:0, tx:33, ty:53, l:0};
world_interactA[32][54] = {lock:0, tx:55, ty:50, l:0};
world_interactA[33][54] = {lock:0, tx:55, ty:50, l:0};
world_interactA[84][78] = {lock:1, tx:17, ty:24, l:0};
world_interactA[16][25] = {lock:1, tx:84, ty:79, l:0};
world_interactA[17][25] = {lock:1, tx:84, ty:79, l:0};
world_interactA[113][78] = {lock:0, tx:31, ty:26, l:0};
world_interactA[30][27] = {lock:0, tx:113, ty:79, l:0};
world_interactA[31][27] = {lock:0, tx:113, ty:79, l:0};
world_interactA[111][62] = {lock:0, tx:51, ty:19, l:0};
world_interactA[111][63] = {lock:0, tx:51, ty:20, l:0};
world_interactA[111][64] = {lock:0, tx:51, ty:21, l:0};
world_interactA[50][19] = {lock:0, tx:110, ty:62, l:0};
world_interactA[50][20] = {lock:0, tx:110, ty:63, l:0};
world_interactA[50][21] = {lock:0, tx:110, ty:64, l:0};
world_interactA[59][74] = {lock:1, tx:40, ty:7, l:0};
world_interactA[59][75] = {lock:1, tx:40, ty:8, l:0};
world_interactA[41][7] = {tx:60, ty:74, l:0};
world_interactA[41][8] = {tx:60, ty:75, l:0};
world_interactA[92][48] = {lock:0, tx:60, ty:67, l:0};
world_interactA[92][49] = {lock:0, tx:60, ty:68, l:0};
world_interactA[59][67] = {lock:1, tx:91, ty:48, l:0};
world_interactA[59][68] = {lock:1, tx:91, ty:49, l:0};
world_interactA[65][67] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::default::(The principal's office.)"};
world_interactA[65][68] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::default::(The principal's office.)"};
world_interactA[60][82] = {lock:1};
world_interactA[61][82] = {lock:1};
world_interactA[62][82] = {lock:1};
world_interactA[63][82] = {lock:1};
world_interactA[64][82] = {lock:1};
world_interactA[78][60] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::nervous::(I'd have to be an idiot to go into the girl's toilets.)"};
world_interactA[80][60] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::default::(Don't need to pee... or anything else.)"};
world_interactA[55][16] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::nervous::(Probably a bad idea to go into the girl's changing room... or even be near it.)"};
world_interactA[91][16] = {tx:37, ty:8, l:0, lock:1, locktxt:"fat::default::(I come dressed for P.E. so that I don't have to go in there.)"};
lock_entrance_north = "A,60,71,1,A,61,71,1,A,62,71,1,A,63,71,1,A,64,71,1";
unlock_entrance_north = "A,60,71,0,A,61,71,0,A,62,71,0,A,63,71,0,A,64,71,0";
lock_entrance_east = "A,74,79,1,A,74,80,1,A,74,81,1";
unlock_entrance_east = "A,74,79,0,A,74,80,0,A,74,81,0";
lock_intersection_north = "A,60,60,1,A,61,60,1,A,62,60,1,A,63,60,1,A,64,60,1";
unlock_intersection_north = "A,60,60,0,A,61,60,0,A,62,60,0,A,63,60,0,A,64,60,0";
lock_intersection_south = "A,60,64,1,A,61,64,1,A,62,64,1,A,63,64,1,A,64,64,1";
unlock_intersection_south = "A,60,64,0,A,61,64,0,A,62,64,0,A,63,64,0,A,64,64,0";
lock_intersection_east = "A,65,61,1,A,65,62,1,A,65,63,1";
unlock_intersection_east = "A,65,61,0,A,65,62,0,A,65,63,0";
lock_intersection_west = "A,59,61,1,A,59,62,1,A,59,63,1";
unlock_intersection_west = "A,59,61,0,A,59,62,0,A,59,63,0";
lock_gymhall_south = "A,106,67,1,A,107,67,1,A,108,67,1,A,109,67,1,A,110,67,1";
unlock_gymhall_south = "A,106,67,0,A,107,67,0,A,108,67,0,A,109,67,0,A,110,67,0";
lock_science_north = "A,106,73,1,A,107,73,1,A,108,73,1,A,109,73,1,A,110,73,1";
unlock_science_north = "A,106,73,0,A,107,73,0,A,108,73,0,A,109,73,0,A,110,73,0";
lock_arthall_east = "A,99,61,1,A,99,62,1,A,99,63,1";
unlock_arthall_east = "A,99,61,0,A,99,62,0,A,99,63,0";
lock_mathhall_east = "A,98,79,1,A,98,80,1,A,98,81,1";
unlock_mathhall_east = "A,98,79,0,A,98,80,0,A,98,81,0";
lock_mathhall_west = "A,76,79,1,A,76,80,1,A,76,81,1";
unlock_mathhall_west = "A,76,79,0,A,76,80,0,A,76,81,0";
lock_historyhall = "A,52,61,1,A,52,62,1,A,52,63,1";
unlock_historyhall = "A,52,61,0,A,52,62,0,A,52,63,0";
world_sprites = new Array();
sub_fat = (world_sprites[0] = new Array());
sub_ann = (world_sprites[1] = new Array());
sub_pretty = (world_sprites[2] = new Array());
sub_les = (world_sprites[3] = new Array());
sub_bitch = (world_sprites[4] = new Array());
sub_slut = (world_sprites[5] = new Array());
sub_david = (world_sprites[6] = new Array());
sub_melissa = (world_sprites[7] = new Array());
sub_teech = (world_sprites[8] = new Array());
sub_extra1 = (world_sprites[9] = new Array());
sub_extra2 = (world_sprites[10] = new Array());
sub_extra3 = (world_sprites[11] = new Array());
sub_extra4 = (world_sprites[12] = new Array());
sub_extra5 = (world_sprites[13] = new Array());
sub_extra6 = (world_sprites[14] = new Array());
sub_extra7 = (world_sprites[15] = new Array());
sub_extra8 = (world_sprites[16] = new Array());
sub_jock = (world_sprites[17] = new Array());
sub_numbers = {sub_fat:0, sub_ann:1, sub_pretty:2, sub_les:3, sub_bitch:4, sub_slut:5, sub_david:6, sub_melissa:7, sub_teech:8, sub_extra1:9, sub_extra2:10, sub_extra3:11, sub_extra4:12, sub_extra5:13, sub_extra6:14, sub_extra7:15, sub_extra8:16, sub_jock:17};
sub_pretty.push({tx:37, ty:8, state:1, l:0, gchar:"pretty", gstate:"", gaction:"standW", spd:1});
sub_pretty.push({ws:1, tx:37, ty:8, l:0});
sub_pretty.push({});
sub_david.push({tx:37, ty:8, state:1, l:0, gchar:"david", gstate:"", gaction:"standW", spd:1});
sub_david.push({ws:1, tx:37, ty:8, l:0});
sub_david.push({});
sub_extra7.push({tx:37, ty:8, state:1, l:0, gchar:"extraM", gstate:"", gaction:"standW", spd:2});
sub_extra7.push({ws:1, tx:37, ty:8, l:0});
sub_extra7.push({});
sub_extra8.push({tx:37, ty:8, state:1, l:0, gchar:"extraF", gstate:"", gaction:"standW", spd:1});
sub_extra8.push({ws:1, tx:37, ty:8, l:0});
sub_extra8.push({});
sub_jock.push({tx:37, ty:8, state:1, l:0, gchar:"jock", gstate:"", gaction:"standW", spd:2});
sub_jock.push({ws:1, tx:37, ty:8, l:0});
sub_jock.push({});
sub_slut.push({tx:37, ty:8, state:1, l:0, gchar:"slut", gstate:"", gaction:"standW", spd:1});
sub_slut.push({ws:1, tx:37, ty:8, l:0});
sub_slut.push({});
sub_les.push({tx:37, ty:8, state:1, l:0, gchar:"les", gstate:"", gaction:"standW", spd:2});
sub_les.push({ws:1, tx:37, ty:8, l:0});
sub_les.push({});
sub_bitch.push({tx:37, ty:8, state:1, l:0, gchar:"bitch", gstate:"", gaction:"standW", spd:2});
sub_bitch.push({ws:1, tx:37, ty:8, l:0});
sub_bitch.push({});
sub_teech.push({tx:17, ty:21, state:1, l:0, gchar:"math", gstate:"", gaction:"standW", spd:2});
sub_ann.push({tx:10, ty:19, state:1, l:0, gchar:"ann", gstate:"", gaction:"standE", spd:2});
sub_ann.push({});
sub_fat.push({tx:7, ty:19, state:1, l:0, gchar:"fatgym", gstate:"", gaction:"standE", spd:3, pdelay:-1});
sub_extra1.push({tx:7, ty:21, state:1, l:0, gchar:"extraM", gstate:"", gaction:"standE", spd:3});
sub_extra1.push({});
sub_melissa.push({tx:10, ty:23, state:1, l:0, gchar:"melissa", gstate:"", gaction:"standE", spd:2});
sub_melissa.push({tx:10, ty:23, ws:1, l:0});
sub_melissa.push({});
sub_extra2.push({tx:10, ty:21, state:1, l:0, gchar:"extraF", gstate:"", gaction:"standE", spd:2});
sub_extra2.push({tx:10, ty:21, ws:1, l:0});
sub_extra2.push({});
sub_extra3.push({tx:13, ty:21, state:1, l:0, gchar:"extraF", gstate:"", gaction:"standE", spd:3});
sub_extra3.push({tx:13, ty:21, ws:1, l:0});
sub_extra3.push({});
sub_extra4.push({tx:7, ty:23, state:1, l:0, gchar:"extraM", gstate:"", gaction:"standE", spd:2});
sub_extra4.push({tx:7, ty:23, ws:1, l:0});
sub_extra4.push({});
sub_extra5.push({tx:13, ty:23, state:1, l:0, gchar:"extraF", gstate:"", gaction:"standE", spd:2});
sub_extra5.push({tx:13, ty:23, ws:1, l:0});
sub_extra5.push({});
sub_extra6.push({tx:13, ty:19, state:1, l:0, gchar:"extraF", gstate:"", gaction:"standE", spd:2});
sub_extra6.push({tx:13, ty:19, ws:1, l:0});
sub_extra6.push({});
sub_fat.push({pa:0});
sub_fat.push({});
world_text[0] = [{sprite:sub_numbers.sub_ann, animate:1, canright:0, canleft:0, canup:0, candown:0}, "fat::default::(So soft.)", "fat::default::(Her neck looks so soft.)", "math::default::So does anyone want to come up and solve this?"];
sub_teech.push({pa:1, pdelay:2});
sub_teech.push({gaction:"standN"});
world_text[1] = [{func:"advancestates", funcpass:"sub_ann"}, "math::excited::Ann, you want to solve it?", "ann::default::I need to use the toilet.", "math::dispoint::Oh... ok, come get a hall pass."];
sub_ann.push({tx:10, ty:19, dir:"d"});
sub_ann.push({tx:10, ty:20, dir:"r"});
sub_ann.push({tx:15, ty:20, dir:"d"});
sub_ann.push({tx:15, ty:21, dir:"r"});
sub_ann.push({tx:16, ty:21, gaction:"standE", pa:2});
sub_ann.push({});
world_text[2] = [{func:"advancestates", funcpass:"sub_ann,sub_teech"}, "math::dispoint::Here you go.", "fat::happy::(Return soon my love! Heh.)"];
sub_teech.push({gaction:"standW"});
sub_ann.push({tx:16, ty:21, dir:"d"});
sub_ann.push({tx:84, ty:79, pa:3});
sub_ann.push({});
world_text[3] = [{func:"advancestates", funcpass:"sub_extra1,sub_fat"}, "math::default::Alright, who can solve this?", "fat::stupid::(I can't even remember what subject this class is.)", "math::pissed::Anyone?", "math::pissed::Ok, I'll call someone randomly.", "fat::happy::(I'm not worried, Mr. Donovan never calls on me.)", "math::pissed::Peter.", "fat::shock::(Seriously?)"];
sub_fat.push({pa:4, pdelay:1});
sub_fat.push({});
sub_extra1.push({tx:7, ty:21, dir:"d"});
sub_extra1.push({tx:7, ty:22, dir:"r"});
sub_extra1.push({tx:18, ty:22});
world_text[4] = [{cut:"transition", func:"locks", funcpass:"A,11,19,3,6", func2:"change_world", func2pass:"inclass,2"}, "fat::determined::(I thought for sure that thinking he wouldn't pick me would cause him to pick me.)", "fat::default::(Maybe he's forgotten my name.)"];
sub_fat.push({ws:1, tx:7, ty:19, l:0});
sub_fat.push({pa:5, pdelay:2});
sub_fat.push({});
world_text[5] = [{audio:"bell", canright:1, canleft:1, canup:1, candown:1, func:"advancestates", funcpass:"sub_extra1,sub_extra2,sub_extra3,sub_extra4,sub_extra5,sub_extra6,sub_melissa"}, "fat::default::(Class is almost over and Ann still hasn't returned.)", "fat::default::(I'll bring her books out for her.)", "fat::default::(She'll be all \"Thanks!\" and I'll be like \"No problem.\")"];
sub_extra1.push({ws:1, tx:7, ty:21, gaction:"standE", l:0});
sub_extra1.push({});
sub_ann.push({ws:1, tx:37, ty:8, l:0});
sub_teech.push({ws:1, tx:17, ty:20, l:0});
sub_teech.push({touchskip:1, touchx:120});
sub_teech.push({});
world_text[120] = [0, "math::dispoint::Running out of red ink."];
sub_melissa.push({tx:10, ty:23, dir:"d"});
sub_melissa.push({tx:10, ty:24, dir:"r"});
sub_melissa.push({tx:16, ty:24, dir:"d"});
sub_melissa.push({tx:84, ty:79});
sub_extra1.push({tx:7, ty:21, dir:"d"});
sub_extra1.push({tx:7, ty:22, dir:"r"});
sub_extra1.push({tx:9, ty:22, dir:"d"});
sub_extra1.push({tx:9, ty:24, dir:"r"});
sub_extra1.push({tx:16, ty:24, dir:"d"});
sub_extra1.push({tx:84, ty:79});
sub_extra2.push({tx:10, ty:21, dir:"d"});
sub_extra2.push({tx:10, ty:22, dir:"r"});
sub_extra2.push({tx:17, ty:22, dir:"d"});
sub_extra2.push({tx:84, ty:79});
sub_extra3.push({tx:13, ty:21, dir:"d"});
sub_extra3.push({tx:13, ty:22, dir:"r"});
sub_extra3.push({tx:17, ty:22, dir:"d"});
sub_extra3.push({tx:84, ty:79});
sub_extra4.push({tx:7, ty:23, dir:"d"});
sub_extra4.push({tx:7, ty:24, dir:"r"});
sub_extra4.push({tx:16, ty:24, dir:"d"});
sub_extra4.push({tx:84, ty:79});
sub_extra5.push({tx:13, ty:23, dir:"d"});
sub_extra5.push({tx:13, ty:24, dir:"r"});
sub_extra5.push({tx:16, ty:24, dir:"d"});
sub_extra5.push({tx:84, ty:79});
sub_extra6.push({tx:13, ty:19, dir:"d"});
sub_extra6.push({tx:13, ty:20, dir:"r"});
sub_extra6.push({tx:15, ty:20, dir:"d"});
sub_extra6.push({tx:15, ty:21, dir:"r"});
sub_extra6.push({tx:16, ty:21, dir:"d"});
sub_extra6.push({tx:84, ty:79});
world_text[6] = [{cut:"transition", func:"locks", funcpass:"A,11,19,3,-1", canright:0, canleft:0, canup:0, candown:0}, "fat::determined::(Books acquired.)"];
sub_extra1.push({ws:2, tx:37, ty:8, l:0});
sub_extra1.push({ws:3, tx:37, ty:8, l:0});
sub_extra1.push({});
sub_extra2.push({ws:2, tx:37, ty:8, l:0});
sub_extra3.push({ws:2, tx:37, ty:8, l:0});
sub_extra4.push({ws:2, tx:37, ty:8, l:0});
sub_extra5.push({ws:2, tx:37, ty:8, l:0});
sub_extra5.push({ws:3, tx:37, ty:8, l:0});
sub_extra5.push({});
sub_extra6.push({ws:2, tx:37, ty:8, l:0});
sub_melissa.push({ws:2, tx:37, ty:8, l:0});
sub_pretty.push({ws:2, tx:37, ty:8, l:0});
sub_david.push({ws:2, tx:37, ty:8, l:0});
sub_david.push({ws:3, tx:37, ty:8, l:0});
sub_david.push({});
sub_extra8.push({ws:2, tx:37, ty:8, l:0});
sub_jock.push({ws:2, tx:37, ty:8, l:0});
sub_bitch.push({ws:2, tx:37, ty:8, l:0});
sub_teech.push({ws:2, tx:37, ty:8, l:0});
sub_fat.push({ws:2, tx:81, ty:79, l:0, gaction:"standS"});
sub_extra7.push({ws:2, tx:73, ty:80, gaction:"standE", l:0, forceinclude:1});
sub_extra7.push({tx:73, ty:80, dir:"r"});
sub_extra7.push({tx:84, ty:80, dir:"u"});
sub_extra7.push({tx:16, ty:24, forceinclude:0});
sub_ann.push({ws:2, tx:13, ty:38, l:0, forceinclude:1});
sub_ann.push({tx:10, ty:38, dir:"r", spd:1});
sub_ann.push({tx:13, ty:38, dir:"d", spd:2});
sub_ann.push({tx:94, ty:80, dir:"l"});
sub_ann.push({tx:84, ty:80, gaction:"standW", pa:7, forceinclude:0});
world_text[7] = [0, "fat::nervous::(Here she comes...)", "fat::nervous::Hey, Ann.", "ann::blush::Uh, hi?", "fat::determined::I have your books.", "ann::happy::Oh, thanks!", "fat::nervous::Heh, no problemo.", "fat::shock::(Oh god, did I just say \"no problemo\"?!)"];
sub_ann.push({tx:84, ty:80, dir:"l"});
sub_ann.push({tx:81, ty:80, gaction:"standN", pa:8});
sub_ann.push({});
world_text[8] = [{canright:0, canleft:1, canup:0, candown:0}, "fat::nervous::(So stupid. I'll just give her books back and get out of here.)", "fat::determined::Here you are. Bye.", "ann::happy::Bye."];
sub_fat.push({pxmin:73, pxmax:73, pymin:79, pymax:79, pa:9});
world_text[9] = [{func:"locks", funcpass:(("A,71,78,3,10," + lock_entrance_north) + ",") + lock_entrance_east, canright:1, canleft:1, canup:1, candown:1}, "fat::mad::(She must think I'm an idiot.)", "fat::shame::(Well... I am.)", "fat::shame::(Gotta put away my Math books and get to French before the period starts.)"];
world_text[10] = [{func:"locks", funcpass:"A,71,78,3,-1"}, "fat::default::(Au revoir Math livre... I think that's right.)"];
sub_fat.push({pxmin:61, pxmax:65, pymin:75, pymax:75, pa:11});
world_text[11] = [0, "les::default::Hey bruh, wassup?", "fat::default::Oh, hi Leslie.", "slut::default::Who's this?", "fat::nervous::(Damn, Sophie's cute. Not as cute as Ann but cute.)", "les::default::Guy from my neighborhood... we also have a class together I think...", "fat::nervous::History, PE and Science.", "les::smile::Yeah, that one!", "slut::default::I meant his name.", "les::think::What was it? Ummmm...", "fat::default::My name's-", "les::think::No, don't tell me!", "slut::smirk::Come here.", "fat::nervous::I really need to get to class.", "slut::smirk::Come here."];
sub_slut.push({ws:2, tx:60, ty:74, l:0, gaction:"standE"});
sub_slut.push({touchr:12});
sub_les.push({ws:2, tx:60, ty:75, l:0, gaction:"standE"});
sub_les.push({});
world_text[12] = [{precut:"junk", cut:"transition", func:"locks", funcpass:(((((((unlock_entrance_north + ",") + unlock_entrance_east) + ",") + lock_intersection_north) + ",") + lock_intersection_south) + ",") + lock_gymhall_south}, "slut::smirk::So firm.", "les::laugh::Ha ha ha ha ha ha.", "fat::blush::(She's touching m-m-m-my...)", "fat::blush::I gotta go.", "slut::smirk::See ya!", "les::laugh::Ha ha ha ha ha, later dude."];
sub_fat.push({ws:3, tx:10, ty:7, l:0, gaction:"standS"});
sub_teech.push({ws:3, tx:7, ty:6, l:0, gaction:"standS", gchar:"french"});
sub_teech.push({touchx:121});
world_text[121] = [0, "french::0::J'ai besoin de la nicotine \u00E0 l'int\u00E9rieur de moi."];
sub_extra4.push({ws:3, tx:12, ty:7, l:0, gaction:"standS", forceinclude:1});
sub_extra4.push({tx:12, ty:7, dir:"l"});
sub_extra4.push({tx:11, ty:7, dir:"u"});
sub_extra4.push({tx:11, ty:6, dir:"l"});
sub_extra4.push({tx:8, ty:6, dir:"d"});
sub_extra4.push({tx:8, ty:7, dir:"l"});
sub_extra4.push({tx:6, ty:7, dir:"d"});
sub_extra4.push({tx:36, ty:61, dir:"l"});
sub_extra4.push({tx:32, ty:61, gaction:"standN", forceinclude:0, touchskip:1, touchx:122});
sub_extra4.push({});
world_text[122] = [0, "ghost::0::Hmmm, I wonder if these chips are still good...", "ghost::0::*CRUNNNTCH*", "ghost::0::Nope."];
sub_extra3.push({ws:3, tx:8, ty:8, l:0, forceinclude:1});
sub_extra3.push({tx:8, ty:8, dir:"u"});
sub_extra3.push({tx:8, ty:7, dir:"l"});
sub_extra3.push({tx:7, ty:7, dir:"d"});
sub_extra3.push({tx:36, ty:62, dir:"r"});
sub_extra3.push({tx:61, ty:62, dir:"u"});
sub_extra3.push({tx:61, ty:54, forceinclude:0});
sub_extra2.push({ws:3, tx:16, ty:8, l:0, forceinclude:1});
sub_extra2.push({tx:16, ty:8, dir:"u"});
sub_extra2.push({tx:16, ty:7, dir:"r"});
sub_extra2.push({tx:17, ty:7, dir:"d"});
sub_extra2.push({tx:17, ty:11, dir:"l"});
sub_extra2.push({tx:7, ty:11, dir:"d"});
sub_extra2.push({tx:36, ty:63, dir:"r"});
sub_extra2.push({tx:62, ty:63, dir:"d"});
sub_extra2.push({tx:62, ty:74, forceinclude:0});
sub_extra6.push({ws:3, tx:8, ty:9, l:0, forceinclude:1});
sub_extra6.push({tx:8, ty:9, dir:"d"});
sub_extra6.push({tx:8, ty:10, dir:"l"});
sub_extra6.push({tx:7, ty:10, pa:13});
sub_extra6.push({tx:7, ty:10, dir:"d"});
sub_extra6.push({tx:36, ty:61, dir:"r"});
sub_extra6.push({tx:42, ty:61, dir:"u"});
sub_extra6.push({tx:8, ty:52, forceinclude:0});
sub_extra8.push({ws:3, tx:16, ty:9, l:0, forceinclude:1});
sub_extra8.push({tx:16, ty:9, dir:"d"});
sub_extra8.push({tx:16, ty:11, dir:"l"});
sub_extra8.push({tx:7, ty:11, dir:"d"});
sub_extra8.push({tx:36, ty:62, dir:"r"});
sub_extra8.push({tx:67, ty:62, dir:"u"});
sub_extra8.push({tx:67, ty:61, gaction:"standN", forceinclude:0, touchskip:1, touchx:123});
sub_extra8.push({});
world_text[123] = [0, "fat::concerned::(She's looking at a mirror.)", "fat::concerned::(She isn't fixing her hair or anything, just staring... weird.)"];
world_text[13] = [{audio:"bell"}, "french::default::And don't forget your assignment, enfants.", "french::default::Ce jeudi, n'oubliez pas."];
sub_melissa.push({ws:3, tx:74, ty:62, l:0});
sub_melissa.push({tx:74, ty:62, dir:"l"});
sub_melissa.push({tx:63, ty:62, dir:"u"});
sub_melissa.push({tx:63, ty:53});
sub_pretty.push({ws:3, tx:109, ty:69, l:0});
sub_pretty.push({tx:109, ty:69, dir:"u"});
sub_pretty.push({tx:109, ty:63, dir:"r"});
sub_pretty.push({tx:91, ty:20, dir:"u"});
sub_pretty.push({tx:37, ty:8});
sub_jock.push({ws:3, tx:89, ty:61, l:0, gaction:"standS"});
sub_jock.push({});
sub_bitch.push({ws:3, tx:86, ty:61, l:0, gaction:"standE"});
sub_bitch.push({});
sub_slut.push({ws:3, tx:88, ty:61, l:0, gaction:"standS"});
sub_slut.push({});
sub_les.push({ws:3, tx:87, ty:61, l:0, gaction:"standS"});
sub_les.push({});
sub_fat.push({pxmin:87, pxmax:87, pymin:62, pymax:64, pa:14});
world_text[14] = [{func:"advancestates", funcpass:"sub_slut,sub_les,sub_jock,sub_bitch,sub_teech"}, "jock::default::I thought he was gonna catch me but-", "slut::truesmile::Hey mystery boy.", "fat::default::Hi.", "jock::jelly::You know this guy?", "slut::smirk::Yeah, that's Mystery Boy X. We're friends.", "slut::truesmile::Where you off to Mystery Boy X?", "fat::nervous::PE.", "slut::smirk::Oh right, the class we have together. I should go too.", "bitch::cunt::We're going to PE?", "slut::smirk::I remember there was something I wanted to do in PE. We have to go get something from my locker.", "jock::jelly::I'll go to PE too. It's the only class I'm passing after all.", "slut::truesmile::See ya later, Mystery Boy X!"];
sub_jock.push({tx:89, ty:61, dir:"r"});
sub_jock.push({tx:104, ty:61, dir:"d"});
sub_jock.push({tx:104, ty:62, dir:"r"});
sub_jock.push({tx:91, ty:19, dir:"u"});
sub_jock.push({tx:37, ty:8});
sub_bitch.push({tx:86, ty:61, dir:"d", spd:0});
sub_bitch.push({tx:86, ty:63, dir:"l", spd:2});
sub_bitch.push({tx:64, ty:63, dir:"d"});
sub_bitch.push({tx:64, ty:74});
sub_les.push({tx:87, ty:61, dir:"l", spd:0});
sub_les.push({tx:86, ty:61, dir:"d"});
sub_les.push({tx:86, ty:62, dir:"l", spd:2});
sub_les.push({tx:63, ty:62, dir:"d"});
sub_les.push({tx:63, ty:74});
sub_slut.push({tx:88, ty:61, dir:"l"});
sub_slut.push({tx:86, ty:61, dir:"d"});
sub_slut.push({tx:86, ty:62, dir:"l"});
sub_slut.push({tx:63, ty:62, dir:"d"});
sub_slut.push({tx:62, ty:74});
sub_teech.push({statejump:1, tx:63, ty:17, l:0, gchar:"gym", gaction:"standN"});
sub_teech.push({touchx:15, taction:"face"});
world_text[15] = [{canright:0, canleft:1, canup:0, candown:0, cut:"transition"}, "gym::smile::Hey champ, first one ready again. You change quick.", "fat::default::Well, I was already dressed.", "fat::default::(Since I don't like getting naked in front of other guys.)", "fat::default::This is my favorite class after all.", "gym::smile::Well that makes sense!", "gym::default::The menu for today is jumping jacks and laps, not the most fun I know but you guys need the cardio.", "gym::default::These kids have the lungs of chipmunks. It's all this sitting around playing videogames.", "gym::default::It used to be you had to get up and go out to an arcade to play vidya and you had to stand up to play them too.", "gym::default::And don't get me started on the content. These new games can barely be considered games at all.", "gym::yell::A bunch of cutscenes with no gameplay!"];
sub_teech.push({ws:4, tx:59, ty:17, l:0, gaction:"standS"});
sub_teech.push({touchskip:1, touchx:124});
world_text[124] = [0, "gym::yell::I WANT TO SEE YOU GIRLS SWEAT!", "bitch::cunt::Perv."];
sub_fat.push({});
sub_fat.push({ws:4, tx:92, ty:19, l:0, gaction:"walkW", gstate:"jog", spd:4});
sub_jock.push({ws:4, tx:90, ty:19, l:0, gaction:"walkW", gstate:"jog", spd:4});
sub_ann.push({ws:4, tx:85, ty:18, l:0, gaction:"walkW", gstate:"jog", spd:3, forceinclude:1});
sub_pretty.push({ws:4, tx:84, ty:18, l:0, gaction:"walkW", gstate:"jog", spd:3, forceinclude:1});
sub_extra1.push({ws:4, tx:83, ty:18, l:0, gaction:"walkW", gstate:"jog", spd:3, forceinclude:1});
sub_extra2.push({ws:4, tx:82, ty:18, l:0, gaction:"walkW", gstate:"jog", spd:3, forceinclude:1});
sub_jock.push({tx:90, ty:19, dir:"l"});
sub_ann.push({tx:91, ty:18, dir:"l"});
sub_pretty.push({tx:84, ty:18, dir:"l"});
sub_extra1.push({tx:83, ty:18, dir:"l"});
sub_extra2.push({tx:82, ty:18, dir:"l"});
tempstate1 = sub_ann.push({tx:53, ty:18, dir:"d"}) - 1;
sub_jock.push({tx:54, ty:19, dir:"d"});
tempstate4 = sub_extra1.push({tx:53, ty:18, dir:"d"}) - 1;
tempstate3 = sub_pretty.push({tx:53, ty:18, dir:"d"}) - 1;
tempstate5 = sub_extra2.push({tx:53, ty:18, dir:"d"}) - 1;
sub_jock.push({tx:54, ty:31, dir:"r"});
sub_ann.push({tx:53, ty:32, dir:"r"});
sub_extra1.push({tx:53, ty:32, dir:"r"});
sub_pretty.push({tx:53, ty:32, dir:"r"});
sub_extra2.push({tx:53, ty:32, dir:"r"});
sub_jock.push({tx:91, ty:31, dir:"u", spd:3});
sub_ann.push({tx:92, ty:32, dir:"u"});
sub_extra1.push({tx:92, ty:32, dir:"u"});
sub_pretty.push({tx:92, ty:32, dir:"u"});
sub_extra2.push({tx:92, ty:32, dir:"u"});
sub_jock.push({tx:91, ty:23, pushx:16, touchskip:1});
sub_jock.push({tx:91, ty:23, dir:"u", spd:4});
sub_jock.push({tx:91, ty:19, dir:"l"});
sub_ann.push({tx:92, ty:18, dir:"l"});
sub_extra1.push({tx:92, ty:18, dir:"l"});
sub_pretty.push({tx:92, ty:18, dir:"l"});
sub_extra2.push({tx:92, ty:18, dir:"l"});
tempstate2 = sub_jock.push({tx:54, ty:19, dir:"d"}) - 1;
sub_jock.push({tx:54, ty:31, dir:"r"});
sub_jock.push({tx:91, ty:31, dir:"u"});
sub_jock.push({tx:91, ty:19, dir:"l"});
sub_jock.push({tx:54, ty:19, pa:33});
sub_ann.push({tx:53, ty:18, pa:32});
sub_extra1.push({tx:53, ty:18, pa:34});
sub_pretty.push({tx:53, ty:18, pa:35});
sub_extra2.push({tx:53, ty:18, pa:37});
sub_ann.push({});
sub_jock.push({});
sub_extra1.push({});
sub_pretty.push({});
sub_extra2.push({});
world_text[32] = {sprite:sub_numbers.sub_ann, propname:"state", propval:tempstate1};
world_text[33] = {sprite:sub_numbers.sub_jock, propname:"state", propval:tempstate2};
world_text[34] = {sprite:sub_numbers.sub_extra1, propname:"state", propval:tempstate4};
world_text[35] = {sprite:sub_numbers.sub_pretty, propname:"state", propval:tempstate3};
world_text[37] = {sprite:sub_numbers.sub_extra2, propname:"state", propval:tempstate5};
tempstate6 = sub_fat.push({pa:38, pxmin:54, pxmax:54, pymin:19, pymax:19}) - 1;
sub_fat.push({pa:39, pxmin:54, pxmax:54, pymin:31, pymax:31});
sub_fat.push({pa:40, pxmin:91, pxmax:91, pymin:31, pymax:31});
sub_fat.push({pa:41, pxmin:91, pxmax:91, pymin:19, pymax:19});
sub_fat.push({});
world_text[38] = {canright:0, canleft:0, canup:0, candown:1};
world_text[39] = {canright:1, canleft:0, canup:0, candown:0};
world_text[40] = {canright:0, canleft:0, canup:1, candown:0};
world_text[41] = {canright:0, canleft:1, canup:0, candown:0, sprite:sub_numbers.sub_fat, propname:"state", propval:tempstate6};
world_text[16] = [{sprite:sub_numbers.sub_jock, propname:"spd", propval:4, func:"advancestates", funcpass:"sub_slut,sub_les,sub_bitch"}, "jock::mean::I'm not stupid you know.", "fat::sweaty::What?", "jock::mean::It's obvious Sophie is just trying to make me jealous.", "jock::mean::I just want you to understand too, she doesn't like you.", "jock::mean::She doesn't even know your fucking name."];
sub_slut.push({ws:4, tx:37, ty:8, l:0, gaction:"standN", gstate:"jack"});
sub_bitch.push({ws:4, tx:37, ty:8, l:0, gaction:"standN", gstate:"jack"});
sub_les.push({ws:4, tx:37, ty:8, l:0, gaction:"standN", gstate:"gym"});
sub_slut.push({});
sub_bitch.push({});
sub_les.push({});
sub_slut.push({statejump:1, tx:55, ty:20, l:0});
sub_bitch.push({statejump:1, tx:57, ty:20, l:0});
sub_les.push({statejump:1, tx:59, ty:20, l:0});
sub_slut.push({pa:17, pxmin:61, pxmax:61, pymin:31, pymax:31, forceinclude:1});
sub_slut.push({forceinclude:0, touchskip:1, touchx:125});
sub_slut.push({});
world_text[125] = [0, "slut::concerned::Hup, Hup, Hup."];
sub_bitch.push({touchskip:1, touchx:126});
sub_bitch.push({});
world_text[126] = [0, "bitch::douche::Body movement sucks!"];
sub_les.push({touchskip:1, touchx:127});
sub_les.push({});
world_text[127] = [0, "les::default::I need a smoke."];
tempstate1 = sub_ann.push({dir:"ud", spd:2, gstate:"gym", forceinclude:0}) - 1;
tempstate2 = sub_jock.push({dir:"lr", spd:3, gstate:"gym"}) - 1;
tempstate4 = sub_extra1.push({dir:"lr", spd:2, gstate:"gym", forceinclude:0}) - 1;
tempstate3 = sub_pretty.push({dir:"lr", spd:2, gstate:"gym", forceinclude:0}) - 1;
sub_ann.push({ty:20, dir:"lr"});
sub_ann.push({tx:60, dir:"u"});
sub_ann.push({tx:60, ty:18, dir:"l"});
sub_ann.push({tx:55, ty:18, dir:"u"});
sub_ann.push({tx:37, ty:8});
sub_jock.push({tx:91, dir:"u"});
sub_extra1.push({tx:91, dir:"u"});
sub_pretty.push({tx:91, dir:"u"});
sub_ann.push({tx:37, ty:8});
sub_jock.push({tx:37, ty:8});
sub_extra1.push({tx:37, ty:8});
sub_pretty.push({tx:37, ty:8});
tempstate5 = sub_extra2.push({dir:"ud", gstate:"gym", forceinclude:0}) - 1;
sub_extra2.push({ty:21, gaction:"standW", touchskip:1, touchx:128});
sub_extra2.push({});
world_text[128] = [0, "ghost::0::My contact.... My contact...."];
tempstate6 = sub_fat.push({pa:18, pxmin:88, pxmax:88, pymin:61, pymax:81}) - 1;
sub_fat.push({});
world_text[17] = [{sprite:0, propname:"gstate", propval:"", propname2:"spd", propval2:3, canright:1, canleft:1, canup:1, candown:1, func:"advancestates", funcpass:"sub_ann,sub_jock,sub_pretty,sub_extra1,sub_extra2,sub_fat", func2pass:(((((((((tempstate1 + ",") + tempstate2) + ",") + tempstate3) + ",") + tempstate4) + ",") + tempstate5) + ",") + tempstate6}, "gym::yell::That's enough laps!", "gym::default::Joggers cool down and get changed.", "fat::happy::(The other benefit of not having to change is getting to leave school early.)"];
world_text[18] = {audio:"bell", func:"change_world", funcpass:"state,5", func2:"locks", func2pass:(((unlock_intersection_south + ",") + lock_intersection_west) + ",") + lock_entrance_east};
sub_ann.push({ws:5, l:0, tx:37, ty:8});
sub_pretty.push({ws:5, l:0, tx:37, ty:8});
sub_les.push({ws:5, l:0, tx:37, ty:8});
sub_bitch.push({ws:5, l:0, tx:37, ty:8});
sub_slut.push({ws:5, l:0, tx:37, ty:8});
sub_david.push({ws:5, l:0, tx:58, ty:79, gaction:"standE"});
sub_david.push({});
sub_melissa.push({ws:5, l:0, tx:59, ty:79, gaction:"standW"});
sub_melissa.push({pa:19, pxmin:60, pxmax:64, pymin:79, pymax:81});
world_text[19] = [{func:"locks", funcpass:"A,60,82,0,A,61,82,0,A,62,82,0,A,63,82,0,A,64,82,0", func2:"advancestates", func2pass:"sub_fat"}, "fat::blush::(Whoa, my friend David is over there talking to Melissa... I have Math and Art with her.)", "david::lovey::So you wanna go somewhere?", "melissa::lovey::Nowhere in particular. What about you?", "david::lovey::I want to go everywhere with you.", "fat::stupid::(Mmmm.... I won't bother them.)"];
sub_fat.push({pa:20, pxmin:60, pxmax:64, pymin:82, pymax:82});
world_text[20] = {cut:"transition", func:"locks", funcpass:"A,60,82,1,A,61,82,1,A,62,82,1,A,63,82,1,A,64,82,1," + lock_entrance_north};
sub_teech.push({});
sub_teech.push({ws:5, l:0, tx:55, ty:80, forceinclude:1, gchar:"science"});
sub_teech.push({tx:55, ty:80, dir:"r"});
sub_teech.push({tx:61, ty:80, dir:"u"});
sub_teech.push({tx:61, ty:68, dir:"r"});
sub_teech.push({tx:37, ty:8, forceinclude:0});
sub_jock.push({ws:5, l:0, tx:108, ty:64, forceinclude:1, gstate:"", spd:2});
sub_jock.push({tx:108, ty:64, dir:"d"});
sub_jock.push({tx:108, ty:80, dir:"l"});
sub_jock.push({tx:63, ty:80, dir:"d"});
sub_jock.push({tx:63, ty:82, statejump:2});
sub_jock.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra1.push({ws:5, l:0, tx:12, ty:24, forceinclude:1, gstate:"", spd:3});
sub_extra1.push({tx:12, ty:24, dir:"r"});
sub_extra1.push({tx:16, ty:24, dir:"d"});
sub_extra1.push({tx:84, ty:79, dir:"r"});
sub_extra1.push({tx:88, ty:79, gaction:"standN", forceinclude:0});
sub_extra2.push({ws:5, l:0, tx:10, ty:24, forceinclude:1, gstate:"", spd:2});
sub_extra2.push({tx:10, ty:24, dir:"r"});
sub_extra2.push({tx:16, ty:24, dir:"d"});
sub_extra2.push({tx:84, ty:81, dir:"l"});
sub_extra2.push({tx:64, ty:81, dir:"d"});
sub_extra2.push({tx:64, ty:82, statejump:2});
sub_extra2.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra3.push({ws:5, l:0, tx:7, ty:24, forceinclude:1});
sub_extra3.push({tx:7, ty:24, dir:"r"});
sub_extra3.push({tx:16, ty:24, dir:"d"});
sub_extra3.push({tx:84, ty:80, dir:"r"});
sub_extra3.push({tx:94, ty:80, dir:"u"});
sub_extra3.push({tx:13, ty:39, statejump:2});
sub_extra3.push({statejump:1, tx:47, ty:63, l:0});
sub_extra3.push({tx:47, ty:63, dir:"r"});
sub_extra3.push({tx:60, ty:63, dir:"d"});
sub_extra3.push({tx:60, ty:82, statejump:2});
sub_extra3.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra4.push({ws:5, l:0, tx:110, ty:62, forceinclude:1});
sub_extra4.push({tx:110, ty:62, dir:"l"});
sub_extra4.push({tx:89, ty:62, dir:"u"});
sub_extra4.push({tx:89, ty:61, gaction:"standN", forceinclude:0, touchskip:1, touchx:130, taction:"face"});
sub_extra4.push({});
world_text[130] = [0, "ghost::0::Looking to score?", "fat::nervous::Uh no, I'm alright."];
sub_extra5.push({ws:5, l:0, tx:62, ty:50, forceinclude:1});
sub_extra5.push({tx:62, ty:50, dir:"d"});
sub_extra5.push({tx:62, ty:82, statejump:2});
sub_extra5.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra6.push({ws:5, l:0, tx:63, ty:50, forceinclude:1});
sub_extra6.push({tx:63, ty:50, dir:"d"});
sub_extra6.push({tx:63, ty:82, statejump:2});
sub_extra6.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra7.push({ws:5, l:0, tx:33, ty:62, forceinclude:1});
sub_extra7.push({tx:33, ty:62, dir:"r"});
sub_extra7.push({tx:61, ty:62, dir:"d"});
sub_extra7.push({tx:61, ty:82, statejump:2});
sub_extra7.push({statejump:1, tx:37, ty:8, l:0, forceinclude:0});
sub_extra8.push({ws:5, l:0, tx:34, ty:61, forceinclude:1});
sub_extra8.push({tx:34, ty:61, dir:"r"});
sub_extra8.push({tx:63, ty:61, dir:"d"});
sub_extra8.push({tx:63, ty:79, dir:"r"});
sub_extra8.push({tx:69, ty:79, gaction:"standN", forceinclude:0, touchskip:1, touchx:129});
sub_extra8.push({});
world_text[129] = [0, "ghost::0::Doo doo doo, I love getting counseled!"];
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_david.push({});
sub_teech.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_jock.push({});
sub_ann.push({ws:6, l:0, tx:37, ty:8});
sub_les.push({ws:6, l:0, tx:37, ty:8});
sub_bitch.push({ws:6, l:0, tx:37, ty:8});
sub_slut.push({ws:6, l:0, tx:37, ty:8});
sub_david.push({ws:6, l:0, tx:37, ty:8});
sub_teech.push({ws:6, l:0, tx:37, ty:8});
sub_extra1.push({ws:6, l:0, tx:37, ty:8});
sub_extra2.push({ws:6, l:0, tx:37, ty:8});
sub_extra3.push({ws:6, l:0, tx:37, ty:8});
sub_extra4.push({ws:6, l:0, tx:37, ty:8});
sub_extra5.push({ws:6, l:0, tx:37, ty:8});
sub_extra6.push({ws:6, l:0, tx:37, ty:8});
sub_extra7.push({ws:6, l:0, tx:37, ty:8});
sub_extra8.push({ws:6, l:0, tx:37, ty:8});
sub_jock.push({ws:6, l:0, tx:37, ty:8});
sub_fat.push({});
sub_fat.push({ws:6, l:0, tx:62, ty:82, gchar:"fat", gaction:"standN"});
sub_pretty.push({});
sub_pretty.push({ws:6, l:0, tx:63, ty:78, gstate:"", gaction:"standE"});
sub_melissa.push({});
sub_melissa.push({ws:6, l:0, tx:64, ty:78, gaction:"standW", touchx:131});
world_text[131] = [0, "melissa::default::..."];
sub_fat.push({pa:21, pxmin:62, pxmax:62, pymin:81, pymax:81});
world_text[21] = [{precut:"ear", func:"locks", funcpass:"A,71,78,3,22," + lock_entrance_north, func2:"advancestates", func2pass:"sub_pretty"}, "pretty::smirk::What do you think about that?", "melissa::default::I'm going steady with David you know.", "pretty::smirk::That doesn't answer my question.", "fat::mad::(Hitting on Melissa even though she's dating David, Michael is such a creep.)", "pretty::smile::Well I'll catch you later beautiful, think of me when you're with him.", "fat::mad::(Ignore, ignore ignore. I just need to go to my locker.)"];
sub_pretty.push({});
sub_pretty.push({tx:63, ty:78, dir:"u"});
sub_pretty.push({tx:63, ty:68});
world_text[22] = [{audio:"bell", cut:"transition", func:"locks", funcpass:"A,71,78,3,-1,", canright:0, canleft:0, canup:0, candown:0}, "fat::determined::(History books acquired. Now for the long walk to class."];
sub_pretty.push({ws:7, l:0, tx:37, ty:8});
sub_melissa.push({ws:7, l:0, tx:37, ty:8});
sub_les.push({ws:7, l:0, tx:37, ty:8});
sub_bitch.push({ws:7, l:0, tx:37, ty:8});
sub_slut.push({ws:7, l:0, tx:37, ty:8});
sub_david.push({ws:7, l:0, tx:37, ty:8});
sub_extra1.push({ws:7, l:0, tx:37, ty:8});
sub_extra2.push({ws:7, l:0, tx:37, ty:8});
sub_extra3.push({ws:7, l:0, tx:37, ty:8});
sub_jock.push({ws:7, l:0, tx:37, ty:8});
sub_fat.push({});
sub_fat.push({ws:7, l:0, tx:56, ty:6, gaction:"standS"});
sub_extra4.push({ws:7, l:0, tx:61, ty:6, gaction:"standS"});
sub_extra5.push({ws:7, l:0, tx:64, ty:6, gaction:"standS"});
sub_extra6.push({ws:7, l:0, tx:65, ty:6, gaction:"standS"});
sub_extra7.push({ws:7, l:0, tx:68, ty:6, gaction:"standS"});
sub_extra8.push({ws:7, l:0, tx:69, ty:6, gaction:"standS"});
sub_teech.push({ws:7, l:0, tx:63, ty:9, gaction:"standN", gchar:"history"});
sub_ann.push({ws:7, l:0, tx:56, ty:10, gstate:"", gaction:"standN"});
sub_ann.push({tx:56, ty:10, dir:"r"});
sub_ann.push({tx:59, ty:10, dir:"u"});
sub_ann.push({tx:59, ty:6, dir:"l"});
sub_ann.push({tx:57, ty:6, gaction:"standS", pa:23});
sub_ann.push({});
world_text[23] = [{nextext:24}, "fat::shock::(Oh god what!? She sat over here! Ann never sits here!)", "history::default::Alright class, Chapter 16 on page 175, Napoleon's invasion of Russia.", "fat::concerned::(Maybe she's sick. She does seem out of it.)", "history::default::As we learned in the previous chapter, Russia was in league with France via the Continental System.", "ann::outofit::Hmmm, I've forgotten my book.", "history::default::However in 1811 Russia began to diverge from it's alliance with France by trading with Britain despite it's embargo.", "fat::nervous::You forgot your book? You can share mine.", "ann::outofit::Thanks."];
world_text[24] = [{precut:"hand", func:"advancestates", funcpass:"sub_ann"}, "history::default::September 1812, The Battle of Borodino was a victory for Napoleon.", "fat::concerned::Ann... Are you alright?", "history::default::But resulted in an estimated 35,000 casualties on the French side and 44,000 on the Russian side.", "ann::outofit::Sure, I guess. Why?", "fat::concerned::You just seem kind of out of it.", "history::default::After this battle, this great victory, Napoleon heads to Moscow expecting to be crowned Emperor of Russia.", "ann::outofit::Say, do you know Michael?", "fat::concerned::Yeah, not personally though. Why?", "ann::outofit::I like him.", "history::fiendish::However what Napoleon was greeted to was a deserted and burning Moscow.", "history::fiendish::Napoleon never expected that Russia's scorched earth tactics would extend even to their own capitol.", "fat::default::(SHE LIKES MICHAEL?! My cute little Ann likes that douchehole?!)", "fat::determined::I saw him this morning hitting on Melissa.", "ann::think::Who's that?", "fat::determined::My friend David is going out with her, Michael was hitting on her even though he knows they're together.", "ann::think::Hmmm...", "fat::determined::Don't you think that's terrible of him?", "ann::think::So he likes girls who are already in a relationship?", "fat::determined::I think so.", "ann::default::Pretend to be my boyfriend.", "fat::stupid::Wuh?", "fat::nervous::(She wants me to PRETEND to be her boyfriend?! So she can attract Michael?)", "fat::nervous::(What should I do? I didn't think Ann was like this.)", "fat::nervous::(Well if I pretend to be her boyfriend maybe a real relationship will develop. I'll get to hang out with her.)", "fat::nervous::(But if Michael really is attracted to her because of me...)", "ann::think::Nevermind.", "fat::shock::Ah, what?", "ann::outofit::Mr. Bell.", "history::default::Yes Ann?", "ann::outofit::I'm not feeling well, can I go to the Nurse?", "history::default::Of course, you want someone to take you?", "ann::outofit::No, I can make it on my own."];
sub_ann.push({tx:57, ty:6, dir:"r"});
sub_ann.push({tx:58, ty:6, dir:"d"});
sub_ann.push({tx:58, ty:9, dir:"l"});
sub_ann.push({tx:56, ty:9, dir:"d"});
sub_ann.push({tx:54, ty:61, pa:25});
world_text[25] = [{cut:"transition", func:"locks", funcpass:"A,71,78,3,26", canright:1, canleft:1, canup:1, candown:1}, "history::default::So during the retreat from Russia many thousands more troops died or fled due to hunger and the cold Russian winter.", "fat::default::(I think I screwed that up.)"];
world_text[26] = [{func:"locks", funcpass:(("A,71,78,3,-1," + unlock_entrance_east) + ",") + lock_science_north}, "fat::default::(Science books acquired.)"];
sub_pretty.push({ws:8, l:0, tx:37, ty:8});
sub_melissa.push({ws:8, l:0, tx:37, ty:8});
sub_david.push({ws:8, l:0, tx:37, ty:8});
sub_extra1.push({ws:8, l:0, tx:55, ty:80});
sub_extra1.push({tx:55, ty:80, dir:"r"});
sub_extra1.push({tx:62, ty:80, dir:"u"});
sub_extra1.push({tx:62, ty:67});
sub_extra2.push({ws:8, l:0, tx:99, ty:80});
sub_extra2.push({tx:99, ty:80, dir:"l"});
sub_extra2.push({tx:92, ty:80, dir:"d"});
sub_extra2.push({tx:92, ty:81, dir:"l"});
sub_extra2.push({tx:89, ty:81, dir:"u"});
sub_extra2.push({tx:89, ty:80, dir:"l"});
sub_extra2.push({tx:84, ty:80, dir:"u"});
sub_extra2.push({statejump:2, tx:17, ty:24});
sub_extra2.push({statejump:1, tx:43, ty:21, l:0, gaction:"standS"});
sub_extra2.push({});
sub_extra3.push({ws:8, l:0, tx:107, ty:75});
sub_extra3.push({tx:107, ty:75, dir:"d"});
sub_extra3.push({tx:107, ty:79, dir:"l"});
sub_extra3.push({tx:103, ty:79, gaction:"standN", touchx:132});
world_text[132] = [0, "fat::default::(She's zoned out, listening to her Walkman.)"];
sub_extra4.push({ws:8, l:0, tx:108, ty:74});
sub_extra4.push({tx:108, ty:74, dir:"u"});
sub_extra4.push({statejump:2, tx:108, ty:68});
sub_extra4.push({statejump:1, tx:32, ty:18, l:0, gaction:"standS"});
sub_extra4.push({});
sub_les.push({ws:8, l:0, tx:89, ty:79, gaction:"standS", gstate:""});
sub_jock.push({ws:8, l:0, tx:90, ty:79, gaction:"standS"});
sub_ann.push({ws:8, l:0, tx:91, ty:79, gaction:"standW"});
sub_bitch.push({ws:8, l:0, tx:90, ty:80, gaction:"standN", gstate:""});
sub_slut.push({ws:8, l:0, tx:91, ty:80, gaction:"standN", gstate:""});
sub_extra5.push({ws:8, l:0, tx:30, ty:21});
sub_extra6.push({ws:8, l:0, tx:34, ty:21});
sub_extra7.push({ws:8, l:0, tx:39, ty:21});
sub_extra8.push({ws:8, l:0, tx:45, ty:22});
sub_fat.push({ws:8, l:0, tx:64, ty:80});
sub_fat.push({pa:27, pxmin:88, pxmax:88, pymin:79, pymax:81});
sub_fat.push({});
world_text[27] = [0, "jock::default::You want me to pretend to be your boyfriend?", "ann::happy::So that Michael will be interested in me.", "slut::default::It's a good plan. That's pretty much Michael's thing.", "bitch::fake::Wouldn't you rather pretend to be MY boyfriend.", "jock::default::No.", "ann::happy::So you'll be my faux-boyfriend?", "jock::default::Sure."];
sub_teech.push({});
sub_teech.push({ws:8, l:0, tx:36, ty:25, gchar:"science"});
sub_teech.push({tx:36, ty:25, dir:"u"});
sub_teech.push({tx:36, ty:19, dir:"r"});
sub_teech.push({tx:41, ty:19, gaction:"standS", pa:28});
sub_teech.push({});
world_text[28] = [{cut:"transition", audio:"bell", func:"locks", funcpass:"A,71,78,3,29," + lock_entrance_east}, "science::default::Alright, we'll be doing some practical today. Get suited up.", "fat::shame::(Why didn't I just say yes when I had the chance?)"];
sub_ann.push({ws:9, l:0, tx:37, ty:8});
sub_les.push({ws:9, l:0, tx:37, ty:8});
sub_bitch.push({ws:9, l:0, tx:37, ty:8});
sub_slut.push({ws:9, l:0, tx:37, ty:8});
sub_jock.push({ws:9, l:0, tx:37, ty:8});
sub_melissa.push({ws:9, l:0, tx:37, ty:8});
sub_pretty.push({ws:9, l:0, tx:37, ty:8});
sub_extra1.push({ws:9, l:0, tx:37, ty:8});
sub_extra2.push({ws:9, l:0, tx:37, ty:8});
sub_extra3.push({ws:9, l:0, tx:37, ty:8});
sub_teech.push({ws:9, l:0, tx:37, ty:8});
sub_extra4.push({ws:9, l:0, tx:37, ty:8});
sub_extra5.push({ws:9, l:0, tx:37, ty:8});
sub_extra6.push({ws:9, l:0, tx:37, ty:8});
sub_extra7.push({ws:9, l:0, tx:37, ty:8});
sub_extra8.push({ws:9, l:0, tx:37, ty:8});
sub_fat.push({ws:9, l:0, tx:73, ty:79, gaction:"standW"});
world_text[29] = [{func:"locks", funcpass:"A,71,78,3,-1", func2:"advancestates", func2pass:"sub_david", canright:0, canleft:0, canup:0, candown:0}, "fat::determined::(Art next, where did I put those colored pencils?)"];
sub_david.push({ws:9, l:0, tx:62, ty:69, forceinclude:1});
sub_david.push({});
sub_david.push({tx:62, ty:69, dir:"d", spd:2});
sub_david.push({tx:62, ty:80, dir:"r", forceinclude:0});
sub_david.push({tx:69, ty:80, gaction:"standE", pa:30});
world_text[30] = [0, "david::lovey::Hey bro!", "fat::happy::Hey David.", "david::lovey::You know Melissa right? You have Art with her next period right?", "fat::default::Yeah.", "david::lovey::Well me and her happen to be an item now.", "fat::default::Congratulations.", "david::lovey::I know right! Anyways will you send her my love?", "fat::concerned::I don't know man, that's kind of embarrassing.", "david::sad::Please, please, please! I'll owe you.", "fat::sigh::Fiiiiiiine.", "david::lovey::Thanks alot! See ya later.", "fat::happy::See ya."];
sub_david.push({tx:69, ty:80, dir:"r"});
sub_david.push({tx:77, ty:80, pa:31});
world_text[31] = {cut:"transition", canright:1, canleft:1, canup:1, candown:1};
sub_fat.push({});
sub_ann.push({ws:10, l:0, tx:37, ty:8});
sub_les.push({ws:10, l:0, tx:37, ty:8});
sub_bitch.push({ws:10, l:0, tx:37, ty:8});
sub_slut.push({ws:10, l:0, tx:37, ty:8});
sub_jock.push({ws:10, l:0, tx:37, ty:8});
sub_david.push({ws:10, l:0, tx:37, ty:8});
sub_extra1.push({ws:10, l:0, tx:37, ty:8});
sub_extra2.push({ws:10, l:0, tx:37, ty:8});
sub_extra3.push({ws:10, l:0, tx:37, ty:8});
sub_melissa.push({ws:10, l:0, tx:91, ty:8});
sub_pretty.push({ws:10, l:0, tx:92, ty:8, gstate:"sit"});
sub_teech.push({ws:10, l:0, tx:83, ty:7, gchar:"art", gaction:"standE"});
sub_teech.push({touchskip:1, touchx:133});
sub_teech.push({});
world_text[133] = [0, "art::0::Hi!"];
sub_extra4.push({ws:10, l:0, tx:87, ty:8});
sub_extra5.push({ws:10, l:0, tx:87, ty:5});
sub_extra6.push({ws:10, l:0, tx:89, ty:5});
sub_extra7.push({ws:10, l:0, tx:91, ty:5});
sub_extra8.push({ws:10, l:0, tx:93, ty:5});
sub_fat.push({ws:10, l:0, tx:84, ty:10, gaction:"standN"});
sub_fat.push({pa:42, pxmin:89, pxmax:89, pymin:8, pymax:8});
world_text[42] = [{nextext:43, func:"locks", funcpass:(((((((("A,83,11,0,A,84,11,0," + lock_arthall_east) + ",") + lock_intersection_south) + ",") + lock_intersection_west) + ",") + unlock_intersection_north) + ",") + unlock_intersection_east}, "fat::mad::(Oh great, Michael is sitting right next to her.)", "art::default::Yay, we're all here! Today's project is exciting, we're going to be learning how to do animation.", "pretty::smirk::Have you been thinking about my proposal?", "melissa::default::I don't even remember it.", "pretty::smirk::Shall I whisper it softly into your ear again?", "fat::mad::...", "art::default::We've got some lightboxes and specially notched paper so they can be lined up.", "pretty::smirk::You act so cold but I can hear your heartbeat from here.", "fat::mad::(LIKE HELL YOU CAN! What kind of lame-ass poetry is this?!)", "melissa::blush::...", "art::default::First I want you all to draw 2 figures on 2 pages. Like a shape or something more complex if you like.", "art::default::These 2 drawings will be the starting and ending frames of your animation.", "pretty::smirk::I think I'll draw your pretty ears.", "art::default::And then we'll take turns with the available lightboxes to draw the inbetween frames.", "art::default::The lightbox allows us to see the starting and ending frames at the same time.", "pretty::smirk::You can draw the lips that you can't stop glancing at.", "melissa::blush::I'm not.", "fat::mad::(I have to stop this! For David's sake.)", "art::default::This process is often called \"onion skinning\".", "art::default::Named after the translucent onionskin paper that many traditional animators use.", "melissa::blush::You just won't stop talking, where am I supposed to look?", "pretty::smile::Look anywhere you like, I won't mind.", "fat::default::David sends his love.", "melissa::shock::Huh?", "fat::default::I'm David's friend, he told me to send you that message. He sends his love.", "melissa::shock::Ah... thanks.", "pretty::mad::Tch."];
world_text[43] = [{precut:"art_transition"}, "fat::default::(Computer Class next, David's in that.)", "fat::default::(I'll just tell him I sent his message... I won't mention that other stuff.)"];
sub_ann.push({ws:11, l:0, tx:37, ty:8});
sub_les.push({ws:11, l:0, tx:37, ty:8});
sub_bitch.push({ws:11, l:0, tx:37, ty:8});
sub_slut.push({ws:11, l:0, tx:37, ty:8});
sub_david.push({ws:11, l:0, tx:37, ty:8, forceinclude:1});
sub_melissa.push({ws:11, l:0, tx:37, ty:8});
sub_pretty.push({ws:11, l:0, tx:37, ty:8});
sub_extra1.push({ws:11, l:0, tx:37, ty:8});
sub_extra3.push({ws:11, l:0, tx:37, ty:8});
sub_extra7.push({ws:11, l:0, tx:37, ty:8});
sub_extra8.push({ws:11, l:0, tx:82, ty:8, gaction:"standS"});
sub_extra8.push({touchskip:1, touchx:134});
sub_extra8.push({});
world_text[134] = [0, "art::0::Don't you have another class to get to?", "ghost::0::Animating is so much fun!"];
sub_teech.push({ws:11, l:0, tx:81, ty:8, gaction:"standS"});
sub_teech.push({});
sub_fat.push({ws:11, l:0, tx:85, ty:7, gaction:"standW"});
sub_fat.push({pa:44, pxmin:93, pxmax:95, pymin:61, pymax:63});
world_text[44] = {func:"advancestates", funcpass:"sub_teech"};
sub_teech.push({statejump:1, l:0, tx:35, ty:46, gchar:"comp", gstate:"sit"});
sub_extra5.push({ws:11, l:0, tx:87, ty:5});
sub_extra5.push({tx:87, ty:5, dir:"l"});
sub_extra5.push({tx:84, ty:5, dir:"d"});
sub_extra5.push({tx:94, ty:61, dir:"l"});
sub_extra5.push({tx:54, ty:61, dir:"u"});
sub_extra5.push({tx:56, ty:10});
sub_extra1.push({ws:11, l:0, tx:61, ty:59});
sub_extra1.push({tx:61, ty:59, dir:"d"});
sub_extra1.push({tx:61, ty:73});
sub_extra2.push({ws:11, l:0, tx:63, ty:58});
sub_extra2.push({tx:63, ty:58, dir:"u"});
sub_extra2.push({tx:63, ty:51, dir:"l"});
sub_extra2.push({tx:55, ty:51, dir:"u"});
sub_extra2.push({tx:33, ty:53, dir:"r"});
sub_extra2.push({tx:38, ty:53, dir:"u"});
sub_extra2.push({tx:38, ty:48, dir:"r"});
sub_extra2.push({tx:39, ty:48, dir:"u"});
sub_extra2.push({tx:39, ty:47, gaction:"standE"});
sub_extra4.push({ws:11, l:0, tx:39, ty:49});
sub_extra6.push({ws:11, l:0, tx:32, ty:47});
sub_jock.push({});
sub_jock.push({ws:11, l:0, tx:39, ty:51, gaction:"standE"});
sub_jock.push({});
sub_fat.push({pa:45, pxmin:32, pxmax:32, pymin:49, pymax:49});
world_text[45] = {func:"advancestates", funcpass:"sub_david", audio:"bell", canright:0, canleft:0, canup:0, candown:0};
sub_david.push({});
sub_david.push({statejump:1, l:0, tx:55, ty:51, gaction:"walkN"});
sub_david.push({tx:55, ty:51, dir:"u"});
sub_david.push({tx:33, ty:52, dir:"l", forceinclude:0});
sub_david.push({tx:32, ty:52, dir:"u"});
sub_david.push({tx:32, ty:51, gaction:"standW", pa:46, pdelay:1});
world_text[46] = [{func:"advancestates", funcpass:"sub_teech"}, "david::lovey::Hey.", "fat::default::Hey.", "david::lovey::Did you send my message?", "fat::nervous::Uh, yeah. Message delivered.", "david::excited::What did she say?", "fat::nervous::Oh right, she uh... she reciprocated.", "comp::default::There's a typing exercise, do that.", "david::excited::Can't wait for school to end so I can be with my bay-bay.", "fat::default::So, how did you guys... hook up?", "david::lovey::Well, we live in the same apartment complex, right.", "david::lovey::And over summer break we both went swimming in the pool at night and... heh heh.", "david::lovey::We just hit it off, y'know?", "fat::default::That's cool."];
sub_teech.push({});
sub_teech.push({statejump:1, l:0, tx:35, ty:46, gstate:"", spd:0});
sub_teech.push({tx:35, ty:46, dir:"r"});
sub_teech.push({tx:38, ty:46, dir:"d"});
sub_teech.push({tx:38, ty:47, gaction:"standE", pa:47, pdelay:2});
world_text[47] = {};
sub_teech.push({tx:38, ty:47, dir:"d"});
sub_teech.push({tx:38, ty:49, gaction:"standE", pa:47, pdelay:2});
sub_teech.push({tx:38, ty:47, dir:"d"});
sub_teech.push({tx:38, ty:49, gaction:"standE", pa:47, pdelay:2});
sub_teech.push({tx:38, ty:49, dir:"d"});
sub_teech.push({tx:38, ty:51, gaction:"standE", pa:48, pdelay:1});
world_text[48] = [0, "comp::yell::CLARENCE, WHAT THE HELL ARE YOU DOING?!", "jock::default::Playing hentai games.", "comp::tired::Honestly... how'd you even get passed the net nanny?", "jock::default::Web-proxy.", "comp::tired::What's that? Can you show me?", "jock::default::This site loads pages from other sites.", "comp::default::Interesting, normally I would write you up but...", "comp::default::This shows technical skill, I'll award you extra credit.", "jock::default::Kay."];
sub_teech.push({tx:38, ty:51, dir:"l"});
sub_teech.push({tx:33, ty:51, gaction:"standW", pa:47, pdelay:2});
sub_teech.push({tx:33, ty:51, dir:"u"});
sub_teech.push({tx:33, ty:49, gaction:"standW", pa:47, pdelay:2});
sub_teech.push({tx:33, ty:49, dir:"u"});
sub_teech.push({tx:33, ty:47, gaction:"standW", pa:47, pdelay:2});
sub_teech.push({tx:33, ty:47, dir:"u"});
sub_teech.push({tx:33, ty:46, dir:"r"});
sub_teech.push({tx:34, ty:46, gaction:"standS", pa:49, pdelay:1});
sub_teech.push({});
world_text[49] = [{func:"change_world", funcpass:"state,12", func2:"locks", func2pass:(((unlock_intersection_south + ",") + lock_intersection_east) + ",") + unlock_entrance_north, canright:1, canleft:1, canup:1, candown:1}, "comp::default::Alright, class is just about over. You all can leave early."];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_les.push({ws:12, l:0, tx:37, ty:8});
sub_bitch.push({ws:12, l:0, tx:37, ty:8});
sub_melissa.push({ws:12, l:0, tx:37, ty:8});
sub_pretty.push({ws:12, l:0, tx:37, ty:8});
sub_extra1.push({ws:12, l:0, tx:37, ty:8});
sub_extra3.push({ws:12, l:0, tx:37, ty:8});
sub_extra5.push({ws:12, l:0, tx:37, ty:8});
sub_extra7.push({ws:12, l:0, tx:37, ty:8});
sub_extra8.push({ws:12, l:0, tx:37, ty:8});
sub_fat.push({ws:12, l:0, tx:32, ty:49});
sub_teech.push({ws:12, l:0, tx:34, ty:46});
sub_david.push({ws:12, l:0, tx:32, ty:51, forceinclude:1});
sub_david.push({tx:32, ty:51, dir:"d"});
sub_david.push({tx:32, ty:52, dir:"r"});
sub_david.push({tx:33, ty:52, dir:"d"});
sub_david.push({tx:55, ty:51, dir:"r"});
sub_david.push({tx:63, ty:51, dir:"d"});
sub_david.push({tx:63, ty:61, dir:"r"});
sub_david.push({tx:76, ty:61, forceinclude:0});
sub_extra2.push({ws:12, l:0, tx:39, ty:47, forceinclude:1});
sub_extra2.push({tx:39, ty:47, dir:"d"});
sub_extra2.push({tx:39, ty:48, dir:"l"});
sub_extra2.push({tx:37, ty:48, dir:"d"});
sub_extra2.push({tx:37, ty:52, dir:"l"});
sub_extra2.push({tx:33, ty:52, dir:"d"});
sub_extra2.push({tx:55, ty:51, dir:"r"});
sub_extra2.push({tx:60, ty:51, dir:"d"});
sub_extra2.push({tx:60, ty:61, dir:"l"});
sub_extra2.push({tx:51, ty:61, gaction:"standN", forceinclude:0});
sub_extra4.push({ws:12, l:0, tx:39, ty:49, forceinclude:1});
sub_extra4.push({tx:39, ty:49, dir:"d"});
sub_extra4.push({tx:39, ty:50, dir:"l"});
sub_extra4.push({tx:35, ty:50, dir:"d"});
sub_extra4.push({tx:35, ty:53, dir:"l"});
sub_extra4.push({tx:33, ty:53, dir:"d"});
sub_extra4.push({tx:55, ty:52, dir:"r"});
sub_extra4.push({tx:60, ty:52, dir:"d"});
sub_extra4.push({statejump:2, tx:60, ty:82});
sub_extra4.push({statejump:1, l:0, tx:37, ty:8, forceinclude:0});
sub_extra6.push({ws:12, l:0, tx:32, ty:47, forceinclude:1});
sub_extra6.push({tx:32, ty:47, dir:"d"});
sub_extra6.push({tx:32, ty:48, dir:"r"});
sub_extra6.push({tx:33, ty:48, dir:"d"});
sub_extra6.push({tx:33, ty:52, dir:"l"});
sub_extra6.push({tx:32, ty:52, dir:"d"});
sub_extra6.push({tx:55, ty:51, dir:"r"});
sub_extra6.push({tx:62, ty:51, dir:"d"});
sub_extra6.push({tx:62, ty:80, dir:"r"});
sub_extra6.push({tx:76, ty:80, forceinclude:0});
sub_jock.push({ws:12, l:0, tx:39, ty:51, forceinclude:1});
sub_jock.push({tx:39, ty:51, dir:"d"});
sub_jock.push({tx:39, ty:52, dir:"l"});
sub_jock.push({tx:33, ty:52, dir:"d"});
sub_jock.push({tx:55, ty:51, dir:"r"});
sub_jock.push({tx:61, ty:51, dir:"d"});
sub_jock.push({tx:61, ty:79, dir:"l"});
sub_jock.push({tx:59, ty:79, gaction:"standW", pa:50, forceinclude:0});
sub_jock.push({});
world_text[50] = {func:"advancestates", funcpass:"sub_fat"};
sub_ann.push({ws:12, l:0, tx:58, ty:79, gaction:"standE"});
sub_slut.push({ws:12, l:0, tx:55, ty:79, gaction:"standE"});
sub_fat.push({});
sub_fat.push({pa:51, pxmin:60, pxmax:64, pymin:79, pymax:81});
world_text[51] = [{cut:"transition", func:"locks", funcpass:(((((((((("A,71,78,3,52," + lock_entrance_east) + ",") + lock_entrance_north) + ",") + lock_intersection_north) + ",") + lock_intersection_east) + ",") + unlock_intersection_south) + ",") + unlock_intersection_west}, "ann::happy::Yay, you're here. Now we can pretend to be a couple.", "ann::happy::How should we do this?", "fat::mad::(I better get out of here before I lose my mind.)"];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_melissa.push({ws:13, l:0, tx:37, ty:8});
sub_pretty.push({ws:13, l:0, tx:37, ty:8});
sub_extra1.push({ws:13, l:0, tx:37, ty:8});
sub_extra2.push({ws:13, l:0, tx:37, ty:8});
sub_extra3.push({ws:13, l:0, tx:37, ty:8});
sub_extra4.push({ws:13, l:0, tx:37, ty:8});
sub_extra5.push({ws:13, l:0, tx:37, ty:8});
sub_extra6.push({ws:13, l:0, tx:37, ty:8});
sub_extra7.push({ws:13, l:0, tx:37, ty:8});
sub_extra8.push({ws:13, l:0, tx:37, ty:8});
sub_teech.push({ws:13, l:0, tx:37, ty:8});
sub_les.push({ws:13, l:0, tx:54, ty:79, gaction:"standS"});
sub_les.push({touchskip:1, touchx:135});
world_text[135] = [0, "les::think::This relationship drama is getting pretty boring."];
sub_slut.push({ws:13, l:0, tx:55, ty:79, gaction:"standS"});
sub_slut.push({touchskip:1, touchx:136, taction:"face"});
world_text[136] = [0, "slut::smirk::Hey guy, you still have some crud in your eye.", "fat::blush::Thanks."];
sub_bitch.push({ws:13, l:0, tx:56, ty:79, gaction:"standE"});
sub_bitch.push({touchskip:1, touchx:137, taction:"face"});
world_text[137] = [0, "bitch::douche::Why can't I get a fake boyfriend?!", "bitch::fake::What are you staring at, chubby?", "fat::sleepy::..."];
sub_ann.push({ws:13, l:0, tx:58, ty:79, gaction:"standE"});
sub_jock.push({ws:13, l:0, tx:59, ty:79, gaction:"standS"});
sub_david.push({ws:13, l:0, tx:72, ty:81, gaction:"standN"});
tempstate1 = sub_david.push({tx:72, ty:81, dir:"l", spd:2}) - 1;
sub_david.push({tx:63, ty:81, gaction:"standW", pa:47, pdelay:2});
sub_david.push({tx:63, ty:81, dir:"u"});
sub_david.push({tx:63, ty:72, gaction:"standN", pa:47, pdelay:2});
sub_david.push({tx:63, ty:72, dir:"r"});
sub_david.push({tx:64, ty:72, gaction:"standS", pa:47, pdelay:1});
sub_david.push({tx:64, ty:72, dir:"d"});
sub_david.push({tx:64, ty:81, gaction:"standW", pa:47, pdelay:2});
sub_david.push({tx:64, ty:81, dir:"r"});
sub_david.push({tx:72, ty:81, gaction:"standE", pa:53, pdelay:1});
sub_david.push({});
world_text[53] = {sprite:sub_numbers.sub_david, propname:"state", propval:tempstate1};
sub_david.push({});
tempstate2 = sub_david.push({dir:"ud", spd:3}) - 1;
sub_david.push({ty:80, dir:"lr"});
sub_david.push({tx:71, ty:80, gaction:"standN", pa:54});
sub_fat.push({ws:13, l:0, tx:62, ty:82, gchar:"fatgym", gaction:"standN"});
world_text[52] = [{func:"locks", funcpass:"A,71,78,3,-1,A,42,60,0," + unlock_entrance_north, sprite:sub_numbers.sub_david, propname:"state", propval:tempstate2, canright:0, canleft:0, canup:0, candown:0}, "fat::yawn::*yawn*", "fat::sleepy::(English books ac-quired.)", "ann::mad::Michael didn't care at all.", "fat::sleepy::(Well that's good news.)", "slut::default::You're not very convincing.", "bitch::douche::What can you expect from a virgin?"];
world_text[54] = [{sprite:sub_numbers.sub_david, propname:"state", propval:tempstate1, canright:1, canleft:1, canup:1, candown:1, func:"change_world", funcpass:"inclass,0"}, "david::worry::Hey bud, have you seen Melissa around?", "fat::yawn::Naaaawwwwnnn.", "fat::sleepy::What's wrong?", "david::worry::Nothing, nevermind."];
sub_fat.push({pa:55, pxmin:7, pxmax:8, pymin:52, pymax:52});
world_text[55] = [0, "fat::sleepy::(Early... I'll just go to my seat and rest.)"];
sub_fat.push({pa:56, pxmin:7, pxmax:7, pymin:47, pymax:47});
world_text[56] = [{sprite:0, animate:1, cut:"transition", func:"change_world", funcpass:"inclass,1", canright:0, canleft:0, canup:0, candown:0}, "fat::sleepy::(The back-window seat, the seat for protagonists.)"];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:14, l:0, tx:37, ty:8});
sub_les.push({ws:14, l:0, tx:37, ty:8});
sub_bitch.push({ws:14, l:0, tx:37, ty:8});
sub_slut.push({ws:14, l:0, tx:37, ty:8});
sub_jock.push({ws:14, l:0, tx:37, ty:8});
sub_melissa.push({ws:14, l:0, tx:37, ty:8});
sub_pretty.push({ws:14, l:0, tx:37, ty:8});
sub_extra7.push({ws:14, l:0, tx:37, ty:8});
sub_extra8.push({ws:14, l:0, tx:37, ty:8});
sub_fat.push({ws:14, l:0, tx:7, ty:47, gstate:"sit", gaction:"asleep"});
sub_extra1.push({ws:14, l:0, tx:7, ty:51, gaction:"standE"});
sub_extra2.push({ws:14, l:0, tx:10, ty:47, gaction:"standE"});
sub_extra3.push({ws:14, l:0, tx:10, ty:49, gaction:"standE"});
sub_extra4.push({ws:14, l:0, tx:10, ty:51, gaction:"standE"});
sub_extra5.push({ws:14, l:0, tx:13, ty:47, gaction:"standE"});
sub_extra6.push({ws:14, l:0, tx:13, ty:49, gaction:"standE"});
sub_teech.push({ws:14, l:0, tx:16, ty:49, gaction:"standW", gchar:"english"});
sub_david.push({ws:14, l:0, tx:8, ty:52, spd:1});
sub_david.push({tx:8, ty:52, dir:"l"});
sub_david.push({tx:6, ty:52, dir:"u"});
sub_david.push({tx:6, ty:50, pa:57});
world_text[57] = {sprite:0, animate:1, audio:"bell"};
sub_david.push({tx:6, ty:50, dir:"r"});
sub_david.push({tx:7, ty:50, dir:"u"});
sub_david.push({tx:7, ty:49, gaction:"standE", pa:58, pdelay:2});
world_text[58] = [{cut:"transition", func:"change_world", funcpass:"inclass,0", canright:1, canleft:1, canup:1, candown:1}, "english::default::You should all be finished reading The Odyssey...", "english::default::So today I want an essay analyzing the motivations of a character of your choosing.", "david::glance::Hey, your next class... Melissa goes to that, right?", "fat::sleepy::Uhh yeah, Math.", "david::glance::Ok, cool."];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_jock.push({ws:15, l:0, tx:37, ty:8});
sub_extra1.push({ws:15, l:0, tx:40, ty:62});
sub_extra1.push({tx:40, ty:62, dir:"l"});
sub_extra1.push({tx:34, ty:62, dir:"u"});
sub_extra1.push({tx:34, ty:61, gaction:"standN", pa:47, pdelay:3});
sub_extra1.push({tx:34, ty:61, dir:"r"});
sub_extra1.push({tx:36, ty:61, dir:"u"});
sub_extra1.push({tx:7, ty:11});
tempstate1 = sub_extra1.push({statejump:1, tx:7, ty:21, l:0, gaction:"standE"}) - 1;
sub_extra4.push({ws:15, l:0, tx:42, ty:62});
sub_extra4.push({tx:42, ty:62, dir:"r"});
sub_extra4.push({tx:76, ty:62});
tempstate4 = sub_extra4.push({statejump:1, tx:10, ty:21, l:0, gaction:"standE"}) - 1;
sub_extra3.push({ws:15, l:0, tx:10, ty:49, gaction:"standE"});
sub_extra3.push({tx:10, ty:49, dir:"u"});
sub_extra3.push({tx:10, ty:48, dir:"l"});
sub_extra3.push({tx:9, ty:48, dir:"d"});
sub_extra3.push({tx:9, ty:52, dir:"l"});
sub_extra3.push({tx:8, ty:52, dir:"d"});
sub_extra3.push({tx:42, ty:63, dir:"r"});
sub_extra3.push({tx:60, ty:63, dir:"d"});
sub_extra3.push({tx:60, ty:67, dir:"l"});
sub_extra3.push({tx:91, ty:48});
tempstate3 = sub_extra3.push({statejump:1, tx:13, ty:21, l:0, gaction:"standE"}) - 1;
sub_extra6.push({ws:15, l:0, tx:12, ty:52, gaction:"standW"});
sub_extra6.push({tx:12, ty:52, dir:"l"});
sub_extra6.push({tx:8, ty:52, dir:"d"});
sub_extra6.push({tx:42, ty:62, dir:"r"});
sub_extra6.push({tx:61, ty:62, dir:"u"});
sub_extra6.push({tx:61, ty:54});
tempstate6 = sub_extra6.push({statejump:1, tx:7, ty:23, l:0, gaction:"standE"}) - 1;
sub_extra2.push({ws:15, l:0, tx:10, ty:47, gaction:"standE"});
sub_extra2.push({tx:10, ty:47, gaction:"standE", pa:47, pdelay:1});
sub_extra2.push({tx:10, ty:47, dir:"d"});
sub_extra2.push({tx:10, ty:48, dir:"r"});
sub_extra2.push({tx:15, ty:48, gaction:"standE", pa:47, pdelay:2});
sub_extra2.push({tx:15, ty:48, dir:"d"});
sub_extra2.push({tx:15, ty:52, dir:"l"});
sub_extra2.push({tx:8, ty:52, dir:"d"});
sub_extra2.push({tx:42, ty:62, dir:"r"});
sub_extra2.push({tx:69, ty:62, dir:"u"});
sub_extra2.push({tx:69, ty:61, gaction:"standS"});
sub_pretty.push({ws:15, l:0, tx:67, ty:80, gstate:""});
sub_pretty.push({tx:67, ty:80, dir:"l"});
sub_pretty.push({tx:62, ty:80, dir:"u", forceinclude:1});
sub_pretty.push({tx:62, ty:54});
sub_extra7.push({ws:15, l:0, tx:13, ty:23, gaction:"standE"});
sub_extra7.push({});
sub_extra5.push({ws:15, l:0, tx:13, ty:47, gaction:"standE"});
sub_extra5.push({touchskip:1, touchx:138});
sub_extra5.push({});
world_text[138] = [0, "ghost::0::...", "fat::concerned::(She's reading a Danielle Steel novel really intensely.)"];
sub_david.push({ws:15, l:0, tx:81, ty:79, gaction:"standE"});
sub_david.push({});
tempstate2 = sub_david.push({tx:81, ty:79, dir:"d", spd:3, forceinclude:1}) - 1;
sub_david.push({tx:81, ty:80, dir:"r"});
sub_david.push({tx:102, ty:80, forceinclude:0});
sub_melissa.push({ws:15, l:0, tx:82, ty:79, gaction:"standW"});
sub_melissa.push({});
tempstate5 = sub_melissa.push({tx:82, ty:79, dir:"r"}) - 1;
sub_melissa.push({tx:84, ty:79, dir:"u"});
sub_melissa.push({tx:16, ty:24, dir:"l"});
sub_melissa.push({tx:10, ty:24, dir:"u"});
sub_melissa.push({tx:10, ty:23, gaction:"standE"});
sub_teech.push({ws:15, l:0, tx:16, ty:49, gaction:"standW"});
sub_teech.push({touchskip:1, touchx:139});
sub_teech.push({});
world_text[139] = [0, "english::0::What are you still doing here?", "english::0::This story won't advance if you don't."];
tempstate7 = sub_teech.push({statejump:1, l:0, tx:18, ty:21, gaction:"standW", gchar:"math"}) - 1;
sub_teech.push({});
sub_fat.push({ws:15, l:0, tx:7, ty:48, gstate:"", gaction:"standS"});
sub_fat.push({pa:59, pxmin:7, pxmax:7, pymin:48, pymax:48});
world_text[59] = [{func:"locks", funcpass:"A,71,78,3,63,A,42,60,1," + lock_entrance_east}, "english::default::Don't forget, read at least half of Catcher In The Rye by Monday."];
world_text[63] = [{func:"locks", funcpass:(((("A,71,78,3,-1,A,84,78,0,A,16,25,0,A,17,25,0," + unlock_entrance_east) + ",") + lock_entrance_north) + ",") + lock_mathhall_east}, "fat::default::Math books acquired."];
sub_fat.push({pa:60, pxmin:78, pxmax:78, pymin:79, pymax:81});
world_text[60] = [{func:"advancestates", funcpass:"sub_teech,sub_david,sub_melissa,sub_extra1,sub_extra3,sub_extra4,sub_extra6", func2pass:(((((((((((tempstate7 + ",") + tempstate2) + ",") + tempstate5) + ",") + tempstate1) + ",") + tempstate3) + ",") + tempstate4) + ",") + tempstate6}, "fat::default::(Looks like he caught her.)", "david::worry::Where'd you go this morning? You just disappeared.", "melissa::suspicious::Umm well, I had to see a teacher first thing about an assignment.", "melissa::sad::Sorry.", "david::lovey::Ok.", "fat::dispoint::(I can't believe he bought that.)"];
sub_extra8.push({ws:15, l:0, tx:90, ty:79, gaction:"standW"});
sub_extra8.push({tx:90, ty:79, dir:"l"});
sub_extra8.push({tx:84, ty:79, dir:"u"});
sub_extra8.push({tx:16, ty:22, dir:"l"});
sub_extra8.push({tx:15, ty:22, dir:"u"});
sub_extra8.push({tx:15, ty:20, dir:"l"});
sub_extra8.push({tx:13, ty:20, dir:"u"});
sub_extra8.push({tx:13, ty:19, gaction:"standE"});
sub_fat.push({pa:61, pxmin:4, pxmax:10, pymin:19, pymax:21});
world_text[61] = {audio:"bell"};
sub_fat.push({pa:62, pxmin:7, pxmax:7, pymin:19, pymax:19, pdelay:1});
world_text[62] = [{func:"advancestates", funcpass:"sub_teech", func2:"locks", func2pass:"A,16,25,1,A,17,25,1"}, "fat::default::(Ann isn't here.)", "math::default::Ann isn't here. Is she absent?", "ghost::0::I saw her this morning.", "fat::default::(Skipping, figures with her hanging with that crowd.)", "math::dispoint::Skipping, figures with her grades.", "fat::nervous::(I hope that guy isn't doing anything weird with her... Clarence.)", "fat::nervous::(He looks at pornography in school, he's definitely going to try something.)", "fat::determined::I need to stop him!", "math::default::What did you say?", "fat::shock::(I said that out loud!)", "fat::nervous::I uh, I need to use the toilet.", "math::pissed::Fine, come get your hall pass."];
sub_teech.push({touchl:64, touchskip:1});
sub_teech.push({});
world_text[64] = [{func:"locks", funcpass:"A,16,25,0,A,17,25,0,A,84,78,1,A,94,78,0,A,96,78,0," + lock_mathhall_west}, "math::pissed::Everyone has to use the toilet during Math.", "fat::shame::Sorry."];
sub_fat.push({pa:65, pxmin:84, pxmax:84, pymin:79, pymax:79});
world_text[65] = [0, "fat::determined::(Ok, where do I go?)", "fat::determined::(Where would Clarence be, making Ann do unspeakable things?)", "fat::determined::(I just have to think like a perverted sex fiend!)", "fat::determined::(And when I find them I will... I will...)", "fat::shame::(Ugh, I'm being stupid aren't I?)", "fat::shame::(I'm not that heroic and things are not that black and white.)", "fat::default::(I don't really need to go but I guess I should go to the toilets then come back.)"];
sub_fat.push({pa:66, pxmin:94, pxmax:94, pymin:79, pymax:81});
world_text[66] = [0, "slut::smirk::You're not be- real enough -th Clarence to fool -chael.", "fat::concerned::Sound like Sophie is talking to Ann about their scheme in the girl's room.", "slut::smirk::--- you want to --- you h- to loo- ---", "fat::concerned::It's too hard to make out what they're saying...", "fat::concerned::There's no one around, maybe I'll try getting closer..."];
sub_slut.push({ws:15, l:0, tx:8, ty:33, gaction:"standE"});
sub_ann.push({ws:15, l:0, tx:9, ty:33, gaction:"standS"});
sub_les.push({ws:15, l:0, tx:10, ty:33, gaction:"standW"});
sub_bitch.push({ws:15, l:0, tx:11, ty:34, gaction:"standW"});
sub_fat.push({pa:67, pxmin:11, pxmax:11, pymin:38, pymax:38});
world_text[67] = [{nextext:68}, "slut::smirk::You'll have to start acting like a REAL couple with Clarence.", "slut::smirk::Michael is a hunter, he won't be fooled by what you're doing now.", "ann::default::How can I do that?", "slut::default::Well first off you need to kiss.", "fat::shock::(KISS?!)", "ann::mad::But we did kiss!", "fat::shock::(THEY KISSED?!)", "slut::default::That kiss was weak-ass. You need to do a real couple's kiss.", "ann::default::What's that like?", "slut::smirk::Oh, you don't even know.", "fat::mad::(A KISS IS A KISS!)", "slut::smirk::We should teach you what being a couple is like, right Les?", "les::smile::Yeaaaaah."];
world_text[68] = [{precut:"peep", func:"advancestates", funcpass:"sub_bitch"}, "bitch::douche::Quit being lesbos, it's gross.", "les::smile::No.", "bitch::douche::Fine, I'm leaving.", "fat::nervous::(Oh crap, I better get out of here!)"];
sub_bitch.push({});
sub_bitch.push({tx:11, ty:34, spd:0, dir:"l"});
sub_bitch.push({tx:9, ty:34, dir:"d"});
sub_bitch.push({tx:9, ty:38, gaction:"standS"});
sub_fat.push({pa:69, pxmin:94, pxmax:94, pymin:79, pymax:79});
world_text[69] = [{func:"locks", funcpass:"A,94,78,1"}, "fat::nervous::(Where do I go? Back to class?)", "fat::shock::(I have an erection!)", "fat::shock::(Toilet! Toilet! Toilet!)"];
sub_fat.push({pa:70, pxmin:34, pxmax:35, pymin:33, pymax:33});
world_text[70] = [{audio:"jerkin", canright:0, canleft:0, canup:0, candown:0, func:"advancestates", funcpass:"sub_pretty", func2:"locks", func2pass:"A,37,38,2,fat::stupid::(I need to wash my hands first.)"}, "fat::blush::(It's so hard. How long will this take to subside?)", "fat::blush::(I guess I should take the quick route.)", "fat::shame::(I really should not be jerking it in school.)", "fat::blush::(But then again there's alot of things that probably shouldn't be happening at school...)", "fat::blush::(With this image of Ann and Sophie in my head I'll definitely beat my record...)"];
sub_pretty.push({statejump:1, l:0, tx:108, ty:80});
sub_pretty.push({tx:108, ty:80, dir:"l"});
sub_pretty.push({tx:96, ty:80, dir:"u"});
sub_pretty.push({tx:35, ty:38, dir:"r"});
sub_pretty.push({tx:38, ty:38, dir:"u"});
sub_pretty.push({tx:38, ty:35, dir:"l"});
sub_pretty.push({tx:37, ty:35, dir:"u"});
sub_pretty.push({tx:37, ty:33, gaction:"standN", pa:71, forceinclude:0});
world_text[71] = [{func:"locks", funcpass:"A,39,32,3,73", canright:1, canleft:1, canup:1, candown:1}, "fat::orgasm::Ahhhnnnn.", "fat::sigh::Huu. Huu.", "fat::blush::(Ok, done. Just got to wash this stuff off my hand and get back to class.)"];
world_interactA[39][32] = {touch:72};
world_text[72] = {audio:"washhands"};
world_text[73] = [{func:"locks", funcpass:"A,39,32,3,72,A,37,38,0,A,84,78,0,A,96,78,1", func2:"advancestates", func2pass:"sub_teech", audio:"washhands"}, "fat::nervous::(Shit, it's Michael. I didn't hear him come in.)", "fat::nervous::(I hope he didn't hear me.)", "pretty::eyeshut::..."];
sub_teech.push({touchl:74, touchskip:1});
sub_teech.push({});
world_text[74] = [{func:"locks", funcpass:"A,84,78,1"}, "fat::shame::Here's the hall pass...", "math::smirk::What didja fall in?", "ghost::0::Ha ha ha."];
sub_fat.push({pa:75, pxmin:7, pxmax:7, pymin:19, pymax:19});
world_text[75] = {audio:"bell", cut:"transition", func:"locks", funcpass:lock_intersection_west + ",A,36,60,0"};
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:16, l:0, tx:37, ty:8});
sub_les.push({ws:16, l:0, tx:37, ty:8});
sub_slut.push({ws:16, l:0, tx:37, ty:8});
sub_jock.push({ws:16, l:0, tx:37, ty:8});
sub_david.push({ws:16, l:0, tx:37, ty:8});
sub_melissa.push({ws:16, l:0, tx:37, ty:8});
sub_pretty.push({ws:16, l:0, tx:37, ty:8});
sub_extra1.push({ws:16, l:0, tx:37, ty:8});
sub_extra5.push({ws:16, l:0, tx:37, ty:8});
sub_extra7.push({ws:16, l:0, tx:37, ty:8});
sub_bitch.push({ws:16, l:0, tx:14, ty:7, gaction:"standS"});
sub_extra4.push({ws:16, tx:12, ty:7, l:0, gaction:"standS"});
sub_extra3.push({ws:16, tx:8, ty:8, l:0, gaction:"standE"});
sub_extra2.push({ws:16, tx:16, ty:8, l:0, gaction:"standW"});
sub_extra6.push({ws:16, tx:8, ty:9, l:0, gaction:"standE"});
sub_teech.push({ws:16, l:0, tx:12, ty:5, gaction:"standS", gchar:"french"});
sub_extra8.push({ws:16, tx:32, ty:61, l:0, forceinclude:1, gaction:"standN"});
sub_extra8.push({});
sub_extra8.push({tx:32, ty:61, dir:"r"});
sub_extra8.push({tx:36, ty:61, dir:"u"});
sub_extra8.push({tx:7, ty:11, dir:"r"});
sub_extra8.push({tx:16, ty:11, dir:"u"});
sub_extra8.push({tx:16, ty:9, gaction:"standW", forceinclude:0, pa:77, pxmin:10, pxmax:10, pymin:7, pymax:7});
sub_fat.push({ws:16, l:0, tx:39, ty:62, gaction:"standW"});
sub_fat.push({pa:76, pxmin:36, pxmax:36, pymin:61, pymax:63});
world_text[76] = [{func:"advancestates", funcpass:"sub_extra8"}, "fat::sweaty::(Sheesh, it feels like all I do all day is walk around.)"];
world_text[77] = [{canright:0, canleft:0, canup:1, candown:0, cut:"transition"}, "fat::concerned::(Next class is PE. This is gonna be tough.)", "french::0::Bonjour la classe.", "bitch::happy::Bonjour, Mademoiselle Thomas.", "fat::concerned::(Ann, Clarence, Michael, Sophie, everyone in one class.)", "fat::concerned::(What if Ann and Clarence start making out in class?)", "french::default::Le terme officiel est \"Embrasse-Fran\u00E7aise\".", "bitch::happy::Vous etes si mauvais.", "fat::concerned::(That definitely won't happen but...)", "fat::concerned::(What if Michael heard me and tells people?)", "fat::concerned::(I have this feeling something horrible will happen.)", "fat::concerned::(I need to do something.)"];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_david.push({ws:17, l:0, tx:37, ty:8});
sub_melissa.push({ws:17, l:0, tx:37, ty:8});
sub_extra3.push({ws:17, l:0, tx:37, ty:8});
sub_extra4.push({ws:17, l:0, tx:37, ty:8});
sub_extra5.push({ws:17, l:0, tx:37, ty:8});
sub_extra6.push({ws:17, l:0, tx:37, ty:8});
sub_extra7.push({ws:17, l:0, tx:37, ty:8});
sub_extra8.push({ws:17, l:0, tx:37, ty:8});
sub_teech.push({ws:17, l:0, tx:113, ty:30, gaction:"standS", gchar:"gym"});
sub_teech.push({pa:78, pdelay:1});
world_text[78] = [{func:"advancestates", funcpass:"sub_fat,sub_jock,sub_ann,sub_pretty,sub_slut,sub_bitch,sub_les,sub_extra1,sub_extra2"}, "gym::yell::GO!"];
sub_teech.push({});
sub_les.push({ws:17, l:0, tx:106, ty:36, gstate:"gym", gaction:"standE", spd:1});
sub_bitch.push({ws:17, l:0, tx:106, ty:35, gstate:"gym", gaction:"standE", spd:1});
sub_slut.push({ws:17, l:0, tx:106, ty:34, gstate:"gym", gaction:"standE", spd:1});
sub_fat.push({ws:17, l:0, tx:106, ty:33, gaction:"standN", spd:1});
sub_extra1.push({ws:17, l:0, tx:106, ty:32, gstate:"gym", gaction:"standE", spd:1});
sub_ann.push({ws:17, l:0, tx:122, ty:33, gstate:"gym", gaction:"standS", spd:1});
sub_jock.push({ws:17, l:0, tx:122, ty:34, gstate:"gym", gaction:"standW", spd:1});
sub_pretty.push({ws:17, l:0, tx:122, ty:35, gstate:"gym", gaction:"standS", spd:1});
sub_extra2.push({ws:17, l:0, tx:122, ty:36, gstate:"gym", gaction:"standW", spd:1});
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_les.push({tx:106, ty:36, dir:"u"});
sub_bitch.push({tx:106, ty:35, dir:"u"});
sub_slut.push({tx:106, ty:34, dir:"u"});
sub_fat.push({pa:79, pxmin:106, pxmax:106, pymin:32, pymax:32});
sub_fat.push({});
world_text[79] = [{canright:0, canleft:0, canup:0, candown:0, func:"advancestates", funcpass:"sub_teech"}, "bitch::douche::He's totally not buying it.", "slut::default::She's still staring at him too much.", "les::default::Clarence's acting is awful."];
sub_extra1.push({tx:106, ty:32, dir:"r", gstate:"jog", spd:3});
sub_ann.push({tx:122, ty:33, dir:"d"});
sub_jock.push({tx:122, ty:34, dir:"d"});
sub_pretty.push({tx:122, ty:35, dir:"d"});
sub_extra2.push({tx:122, ty:36, dir:"l", gstate:"jog", spd:3});
sub_extra2.push({tx:106, ty:36, gaction:"standW", gstate:"gym", spd:1, pa:80});
sub_extra2.push({});
sub_les.push({tx:106, ty:35, gaction:"standE"});
sub_bitch.push({tx:106, ty:34, gaction:"standE"});
sub_slut.push({tx:106, ty:33, gaction:"standE"});
sub_extra1.push({tx:122, ty:32, gstate:"gym", gaction:"standE", spd:1, pa:80});
sub_extra1.push({});
sub_ann.push({tx:122, ty:34, gaction:"standS"});
sub_jock.push({tx:122, ty:35, gaction:"standW"});
sub_pretty.push({tx:122, ty:36, gaction:"standW"});
world_text[80] = {func:"advancestates", funcpass:"sub_teech"};
sub_teech.push({});
sub_teech.push({});
sub_teech.push({pa:81, pdelay:1});
world_text[81] = [{canright:1, sprite:0, propname:"gstate", propval:"jog", propname2:"spd", propval2:3, func:"advancestates", funcpass:"sub_fat,sub_jock,sub_ann,sub_pretty,sub_slut,sub_bitch,sub_les,sub_extra1,sub_extra2"}, "gym::yell::GO!"];
sub_teech.push({});
sub_fat.push({pa:82, pxmin:122, pxmax:122, pymin:32, pymax:32});
sub_fat.push({});
world_text[82] = [{sprite:0, propname:"gstate", propval:"", propname2:"spd", propval2:1, canright:0, canleft:0, canup:0, candown:1, func:"advancestates", funcpass:"sub_teech"}, "ann::sweaty::Haa, I hate sprinting, I'm all sweaty.", "jock::perv::Is your pussy sweaty too?", "fat::mad::(What the heck?!)", "ann::shock::What? Gross, don't say that!", "jock::perv::I want to wipe the sweat from your cunt in front of everybody.", "ann::mad::Heh, heh.", "ann::mad::[This isn't how couples act in public Clarence! This isn't how ANYONE acts in public!!]", "jock::perv::[I'm pretending you're my girlfriend just like you asked me to, you're the one not taking this serious.]", "ann::mad::[Do it right!]"];
sub_extra1.push({tx:122, ty:32, dir:"d"});
sub_extra1.push({tx:122, ty:34, gaction:"standS"});
sub_ann.push({tx:122, ty:34, dir:"d"});
sub_ann.push({tx:122, ty:35, gaction:"standS"});
sub_jock.push({tx:122, ty:35, dir:"d"});
sub_jock.push({tx:122, ty:36, gaction:"standW"});
sub_pretty.push({tx:122, ty:36, dir:"l", gstate:"jog", spd:3});
sub_pretty.push({tx:106, ty:36, gaction:"standN", gstate:"gym", spd:1, pa:80});
sub_pretty.push({});
sub_extra2.push({tx:106, ty:36, dir:"u"});
sub_extra2.push({tx:106, ty:35, gaction:"standN"});
sub_les.push({tx:106, ty:35, dir:"u"});
sub_les.push({tx:106, ty:34, gaction:"standE"});
sub_bitch.push({tx:106, ty:34, dir:"u"});
sub_bitch.push({tx:106, ty:33, gaction:"standE"});
sub_slut.push({tx:106, ty:33, dir:"u"});
sub_slut.push({tx:106, ty:32, gaction:"standE"});
sub_teech.push({});
sub_teech.push({pa:78, pdelay:1});
sub_teech.push({});
sub_fat.push({pa:83, pxmin:122, pxmax:122, pymin:34, pymax:34});
sub_fat.push({});
world_text[83] = [{func:"advancestates", funcpass:"sub_teech"}, "fat::determined::(Clarence is such a perverted bastard. I wish I could make this stop.)", "fat::determined::(I can't believe he said all that.)", "fat::determined::(If only there was something I could say to Ann to make her stop this.)"];
sub_extra1.push({tx:122, ty:34, dir:"d"});
sub_extra1.push({tx:122, ty:35, gaction:"standS"});
sub_ann.push({tx:122, ty:35, dir:"d"});
sub_ann.push({tx:122, ty:36, gaction:"standW"});
sub_jock.push({tx:122, ty:36, dir:"l", gstate:"jog", spd:3});
sub_jock.push({tx:106, ty:36, gaction:"standN", gstate:"gym", spd:1, pa:80});
sub_jock.push({});
sub_pretty.push({tx:106, ty:36, dir:"u"});
sub_pretty.push({tx:106, ty:35, gaction:"standN"});
sub_extra2.push({tx:106, ty:35, dir:"u"});
sub_extra2.push({tx:106, ty:34, gaction:"standN"});
sub_les.push({tx:106, ty:34, dir:"u"});
sub_les.push({tx:106, ty:33, gaction:"standE"});
sub_bitch.push({tx:106, ty:33, dir:"u"});
sub_bitch.push({tx:106, ty:32, gaction:"standE"});
sub_slut.push({tx:106, ty:32, dir:"r"});
sub_slut.push({tx:122, ty:32, gaction:"standE", pa:80});
sub_slut.push({});
sub_teech.push({});
sub_teech.push({});
sub_teech.push({pa:78, pdelay:1});
sub_teech.push({});
sub_fat.push({pa:84, pxmin:122, pxmax:122, pymin:35, pymax:35});
sub_fat.push({});
world_text[84] = [{func:"advancestates", funcpass:"sub_teech"}, "gym::yell::C'mon girls, more effort!"];
sub_extra1.push({tx:122, ty:35, dir:"d"});
sub_extra1.push({tx:122, ty:36, gaction:"standW"});
sub_ann.push({tx:122, ty:36, dir:"l", gstate:"jog", spd:3});
sub_ann.push({tx:106, ty:36, gaction:"standN", gstate:"gym", spd:1, pa:80});
sub_ann.push({});
sub_jock.push({tx:106, ty:36, dir:"u"});
sub_jock.push({tx:106, ty:35, gaction:"standE"});
sub_pretty.push({tx:106, ty:35, dir:"u"});
sub_pretty.push({tx:106, ty:34, gaction:"standN"});
sub_extra2.push({tx:106, ty:34, dir:"u"});
sub_extra2.push({tx:106, ty:33, gaction:"standN"});
sub_les.push({tx:106, ty:33, dir:"u"});
sub_les.push({tx:106, ty:32, gaction:"standE"});
sub_bitch.push({tx:106, ty:33, dir:"r"});
sub_bitch.push({tx:122, ty:32, gaction:"standS", pa:80});
sub_bitch.push({});
sub_slut.push({tx:106, ty:32, dir:"d"});
sub_slut.push({tx:106, ty:34, gaction:"standS"});
sub_teech.push({});
sub_teech.push({});
sub_teech.push({pa:78, pdelay:1});
sub_teech.push({});
sub_fat.push({pa:85, pxmin:122, pxmax:122, pymin:36, pymax:36});
sub_fat.push({});
world_text[85] = [{canright:0, canleft:0, canup:0, candown:0, func:"advancestates", funcpass:"sub_teech"}, "bitch::cunt::Oh, y'know I saw Clarence talking with you-know-who yesterday.", "bitch::cunt::They're totally planning something for Ann.", "slut::default::Well, I suppose that's a good consolation prize."];
sub_extra1.push({tx:122, ty:36, dir:"l", gstate:"jog", spd:3});
sub_extra1.push({tx:106, ty:36, gaction:"standN", gstate:"gym", spd:1, pa:80});
sub_extra1.push({});
sub_ann.push({tx:106, ty:36, dir:"u"});
sub_ann.push({tx:106, ty:35, gaction:"standN"});
sub_jock.push({tx:106, ty:35, dir:"u"});
sub_jock.push({tx:106, ty:34, gaction:"standE"});
sub_pretty.push({tx:106, ty:34, dir:"u"});
sub_pretty.push({tx:106, ty:33, gaction:"standN"});
sub_extra2.push({tx:106, ty:33, dir:"u"});
sub_extra2.push({tx:106, ty:32, gaction:"standE"});
sub_les.push({tx:106, ty:32, dir:"r"});
sub_les.push({tx:122, ty:32, gaction:"standE", pa:80});
sub_les.push({});
sub_bitch.push({tx:122, ty:32, dir:"d"});
sub_bitch.push({tx:122, ty:34, gaction:"standS"});
sub_slut.push({tx:106, ty:34, dir:"d"});
sub_slut.push({tx:106, ty:35, gaction:"standW"});
sub_teech.push({});
sub_teech.push({});
sub_teech.push({pa:86, pdelay:1});
world_text[86] = [{canleft:1, sprite:0, propname:"gstate", propval:"jog", propname2:"spd", propval2:3, func:"advancestates", funcpass:"sub_fat,sub_jock,sub_ann,sub_pretty,sub_slut,sub_bitch,sub_les,sub_extra1,sub_extra2"}, "gym::yell::GO!"];
sub_teech.push({});
sub_fat.push({pa:87, pxmin:108, pxmax:108, pymin:36, pymax:36});
sub_fat.push({});
world_text[87] = [{canleft:1, canright:1, canup:1, candown:1, cut:"transition"}, "fat::sweaty::(That's it, no more listening to their conversations.)", "fat::sweaty::(This has nothing to do with me. Zone it all out.)"];
sub_extra1.push({tx:106, ty:36, dir:"u"});
sub_extra1.push({tx:106, ty:35, gaction:"standN"});
sub_ann.push({tx:106, ty:35, dir:"u"});
sub_ann.push({tx:106, ty:34, gaction:"standN"});
sub_jock.push({tx:106, ty:34, dir:"u"});
sub_jock.push({tx:106, ty:33, gaction:"standE"});
sub_pretty.push({tx:106, ty:33, dir:"u"});
sub_pretty.push({tx:106, ty:32, gaction:"standE"});
sub_extra2.push({tx:106, ty:32, dir:"r"});
sub_extra2.push({tx:122, ty:32, gaction:"standE"});
sub_les.push({tx:122, ty:32, dir:"d"});
sub_les.push({tx:122, ty:34, gaction:"standW"});
sub_bitch.push({tx:122, ty:34, dir:"d"});
sub_bitch.push({tx:122, ty:35, gaction:"standS"});
sub_slut.push({tx:106, ty:35, dir:"d"});
sub_slut.push({tx:106, ty:36, gaction:"standN"});
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_les.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_bitch.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_slut.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_jock.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_david.push({ws:18, l:0, tx:37, ty:8});
sub_extra1.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_extra2.push({ws:18, l:0, tx:37, ty:8, gstate:""});
sub_extra3.push({ws:18, l:0, tx:37, ty:8});
sub_extra4.push({ws:18, l:0, tx:37, ty:8});
sub_extra5.push({ws:18, l:0, tx:37, ty:8});
sub_extra6.push({ws:18, l:0, tx:37, ty:8});
sub_extra8.push({ws:18, l:0, tx:37, ty:8});
sub_teech.push({ws:18, l:0, tx:37, ty:8});
sub_ann.push({ws:18, l:0, tx:62, ty:79, gstate:"", gaction:"standE"});
sub_pretty.push({ws:18, l:0, tx:70, ty:79, gstate:"", gaction:"standE"});
sub_melissa.push({ws:18, l:0, tx:71, ty:79, gaction:"standW"});
sub_extra7.push({ws:18, l:0, tx:87, ty:80});
sub_extra7.push({tx:87, ty:80, dir:"r"});
sub_extra7.push({tx:103, ty:80});
sub_fat.push({ws:18, l:0, tx:36, ty:33, gstate:"", gaction:"standN"});
sub_fat.push({pa:88, pxmin:88, pxmax:88, pymin:79, pymax:81});
world_text[88] = [{func:"locks", funcpass:unlock_mathhall_west}, "fat::default::(Need to get my Science book before leaving, homework due tomorrow.)"];
sub_fat.push({pa:89, pxmin:72, pxmax:72, pymin:79, pymax:81});
world_text[89] = [{precut:"kiss", cut:"transition", func:"locks", funcpass:(("A,71,78,3,91," + lock_entrance_east) + ",") + lock_entrance_north}, "fat::sleepy::(Screw it.)"];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_bitch.push({ws:19, l:0, tx:37, ty:8});
sub_slut.push({ws:19, l:0, tx:37, ty:8});
sub_melissa.push({ws:19, l:0, tx:37, ty:8});
sub_pretty.push({ws:19, l:0, tx:37, ty:8});
sub_extra7.push({ws:19, l:0, tx:55, ty:79, gaction:"standN"});
sub_extra7.push({pa:47, pdelay:4});
sub_extra7.push({tx:55, ty:79, dir:"d"});
sub_extra7.push({tx:55, ty:81, dir:"r"});
sub_extra7.push({tx:61, ty:81, pa:90});
world_text[90] = {func:"advancestates", funcpass:"sub_extra8"};
sub_extra7.push({tx:61, ty:81, dir:"r"});
sub_extra7.push({tx:77, ty:81});
sub_extra8.push({ws:19, l:0, tx:37, ty:8, forceinclude:1});
sub_extra8.push({});
sub_extra8.push({statejump:1, l:0, tx:61, ty:82});
sub_extra8.push({tx:61, ty:82, dir:"u"});
sub_extra8.push({tx:61, ty:63, dir:"r"});
sub_extra8.push({tx:48, ty:63, forceinclude:0});
sub_fat.push({ws:19, l:0, tx:62, ty:82, gchar:"fat", gaction:"standN"});
world_text[91] = [{canup:0, candown:0, canleft:0, canright:0, func:"advancestates", funcpass:"sub_david", func2:"locks", func2pass:"A,71,78,3,-1"}, "fat::default::(History book, get.)"];
sub_david.push({ws:19, l:0, tx:78, ty:79, forceinclude:1});
sub_david.push({});
sub_david.push({tx:78, ty:79, dir:"l"});
sub_david.push({tx:72, ty:79, gaction:"standW", forceinclude:0, pa:92});
world_text[92] = [{canup:1, candown:1, canleft:1, canright:1, func:"locks", funcpass:(((((((((("A,54,60,0," + lock_historyhall) + ",") + unlock_entrance_north) + ",") + unlock_intersection_west) + ",") + unlock_intersection_south) + ",") + lock_intersection_east) + ",") + lock_intersection_north}, "david::lovey::Hey homie.", "fat::default::Hi, David...", "fat::default::How are things with Melissa?", "david::lovey::I won't lie, things are a little rough at the moment.", "david::glance::I think she's having her period.", "david::lovey::Why do you ask?", "fat::default::No reason, just curious."];
sub_david.push({tx:72, ty:79, dir:"d"});
sub_david.push({tx:72, ty:80, dir:"l"});
sub_david.push({tx:63, ty:80, dir:"u"});
sub_david.push({tx:63, ty:62, dir:"r"});
sub_david.push({tx:76, ty:62});
sub_extra6.push({ws:19, l:0, tx:65, ty:61, gaction:"standE"});
sub_extra6.push({tx:65, ty:61, dir:"r", forceinclude:1});
sub_extra6.push({tx:68, ty:61, gaction:"standN", pa:47, pdelay:3});
sub_extra6.push({tx:68, ty:61, dir:"l"});
sub_extra6.push({tx:54, ty:61, dir:"u"});
sub_extra6.push({tx:56, ty:8, dir:"r"});
sub_extra6.push({tx:62, ty:8, dir:"u"});
sub_extra6.push({tx:62, ty:6, dir:"l"});
sub_extra6.push({tx:61, ty:6, gaction:"standS", forceinclude:0});
sub_extra2.push({ws:19, l:0, tx:53, ty:52});
sub_extra2.push({tx:53, ty:52, dir:"r"});
sub_extra2.push({tx:57, ty:52, dir:"u"});
sub_extra2.push({tx:57, ty:61, gaction:"standN", pa:47, pdelay:4});
sub_extra2.push({tx:57, ty:61, dir:"l"});
sub_extra2.push({tx:48, ty:61});
sub_extra1.push({ws:19, l:0, tx:64, ty:6, gaction:"standS"});
sub_extra3.push({ws:19, l:0, tx:65, ty:6, gaction:"standS"});
sub_extra4.push({ws:19, l:0, tx:68, ty:6, gaction:"standS"});
sub_extra5.push({ws:19, l:0, tx:69, ty:6, gaction:"standS"});
sub_teech.push({ws:19, l:0, tx:63, ty:9, gaction:"standE", gchar:"history"});
sub_teech.push({});
sub_teech.push({gaction:"standN"});
sub_fat.push({pa:93, pxmin:56, pxmax:56, pymin:6, pymax:6});
world_text[93] = {canup:0, candown:0, canleft:0, canright:0, func:"advancestates", funcpass:"sub_ann,sub_les,sub_jock"};
sub_jock.push({ws:19, l:0, tx:46, ty:63, forceinclude:1, spd:1});
sub_jock.push({});
sub_jock.push({tx:46, ty:63, dir:"r"});
sub_jock.push({tx:54, ty:63, dir:"u"});
sub_jock.push({tx:54, ty:61, pa:94});
world_text[94] = {audio:"bell", func:"advancestates", funcpass:"sub_teech"};
sub_jock.push({});
sub_ann.push({ws:19, l:0, tx:48, ty:63, forceinclude:1, spd:2});
sub_les.push({ws:19, l:0, tx:47, ty:63, forceinclude:1, spd:2});
sub_ann.push({});
sub_les.push({});
sub_ann.push({tx:48, ty:63, dir:"r"});
sub_les.push({tx:47, ty:63, dir:"r"});
sub_ann.push({tx:54, ty:63, dir:"u"});
sub_les.push({tx:54, ty:63, dir:"u"});
sub_ann.push({tx:56, ty:8, dir:"r"});
sub_les.push({tx:56, ty:8, dir:"r"});
sub_ann.push({tx:58, ty:8, dir:"u"});
sub_les.push({tx:59, ty:8, dir:"u"});
sub_ann.push({tx:58, ty:6, dir:"l"});
sub_les.push({tx:59, ty:6, dir:"r"});
sub_ann.push({tx:57, ty:6, gaction:"standS", forceinclude:0});
sub_les.push({tx:60, ty:6, gaction:"standS", pa:95, pdelay:1, forceinclude:0});
world_text[95] = [{func:"advancestates", funcpass:"sub_jock"}, "history::default::Chapter 18, page 182. Napoleon's Abdication to the Sixth Coalition.", "ann::happy::[Hee hee, I know.]", "les::smile::[She's so territorial. She's probably pee'd on him.]", "ann::happy::[Hee hee.]", "history::default::The Sixth Coalition; Great Britain, Russia and Prussia formed to end Napoleon's reign.", "history::default::You'll remember, Napoleon's forces were heavily hit during his invasion of and retreat from Russia.", "les::laugh::[We should go out to eat to celebrate.]", "ann::happy::[It's nothing to celebrate.]", "history::default::Pouncing on his weakened state the Sixth Coalition begin engaging Napoleon in battle.", "history::default::However, despite having only a short time to raise forces, Napoleon wins these first battles.", "les::smile::[We can still go out to eat.]", "ann::happy::[You just want to eat out.]", "les::smile::[Girls or Mexican.]", "ann::happy::[Hee hee.]", "fat::blush::(How can they joke about what they did?)", "fat::blush::(They're not even acting awkward... girls are weird.)", "history::default::Even though outnumbered, Napoleon's military genius won him battles in Lutzen, Bautzen and Dresden.", "history::default::To counter his genius the Sixth Coalition conceived the Trachtenberg Plan.", "history::default::The Trachtenberg Plan was simply that they should not engage forces directly under Napoleon's control."];
sub_jock.push({tx:54, ty:63, dir:"u"});
sub_jock.push({tx:56, ty:10, gaction:"standN", pa:96, pdelay:1, forceinclude:0});
world_text[96] = [{func:"advancestates", funcpass:"sub_ann"}, "jock::default::Hey.", "history::default::Yes?", "jock::default::The counsellor sent me to get Ann.", "history::default::Oh, ok. Ann you can go.", "les::smile::[Good luck!]", "ann::happy::[Hee hee, thanks.]"];
sub_jock.push({tx:56, ty:10, dir:"d"});
sub_jock.push({tx:54, ty:61});
sub_ann.push({tx:57, ty:6, dir:"r"});
sub_ann.push({tx:58, ty:6, dir:"d"});
sub_ann.push({tx:58, ty:8, dir:"l"});
sub_ann.push({tx:56, ty:8, dir:"d"});
sub_ann.push({tx:54, ty:61, pa:97, pdelay:2});
world_text[97] = [{canup:1, candown:1, canleft:1, canright:1, cut:"transition"}, "fat::concerned::(Weird, what was that all about?)", "history::default::Mmm, where was I?", "les::default::The Trachtenberg Plan.", "history::default::Right, thank you Leslie. So around this time Austria and Sweden join The Sixth Coalition..."];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:20, l:0, tx:37, ty:8});
sub_les.push({ws:20, l:0, tx:37, ty:8});
sub_bitch.push({ws:20, l:0, tx:37, ty:8});
sub_jock.push({ws:20, l:0, tx:37, ty:8});
sub_david.push({ws:20, l:0, tx:37, ty:8});
sub_extra6.push({ws:20, l:0, tx:37, ty:8});
sub_extra7.push({ws:20, l:0, tx:37, ty:8});
sub_extra8.push({ws:20, l:0, tx:37, ty:8});
sub_teech.push({ws:20, l:0, tx:37, ty:8});
sub_fat.push({ws:20, l:0, tx:63, ty:79, gchar:"fat", gstate:"", gaction:"standE"});
sub_fat.push({pa:119, pxmin:61, pxmax:68, pymin:77, pymax:81});
world_text[119] = {canright:1, canleft:1, canup:1, candown:1, func:"locks", funcpass:(("A,71,78,3,98," + lock_entrance_north) + ",") + lock_entrance_east};
world_text[98] = [{func:"locks", funcpass:"A,71,78,3,-1," + unlock_entrance_east}, "fat::default::(Science book acquired.)"];
sub_fat.push({pa:99, pxmin:79, pxmax:79, pymin:79, pymax:81});
world_text[99] = [{canup:0, candown:0, canleft:0, canright:0, func:"advancestates", funcpass:"sub_pretty,sub_melissa"}, "melissa::mad::No, I WON'T settle down!", "fat::default::(Oh, what now?)", "melissa::mad::You just get off on toying with people's emotions!", "pretty::cond::You're making a scene.", "fat::default::(So he got Melissa to cheat on David and now he's broken up with her... And I can't get to Science class.)", "melissa::mad::GOOD! I want everyone to know that Michael is a pathetic person who can't love!", "melissa::cond::And he goes out of his way to make everyone else feel as miserable as he does.", "fat::default::(Are breakups normally this hostile? David may have been right about her period.)", "melissa::cond::You ruin other people's relationships because you're jealous.", "pretty::cond::While I appreciate your expert psychoanalysis, I don't take advice from hysterical sluts.", "fat::shock::(I can't believe he's saying shit like this after everything he's done.)", "pretty::smirk::Why would I even want to be with someone who cheats on their boyfriend?", "fat::mad::Asshole!", "fat::shock::(Oh shit, I said that out loud.)", "pretty::mad::What did you say?!"];
sub_pretty.push({ws:20, l:0, tx:83, ty:80, gaction:"standW"});
sub_melissa.push({ws:20, l:0, tx:82, ty:80, gaction:"standE"});
sub_extra1.push({ws:20, l:0, tx:87, ty:80, gaction:"standW"});
sub_extra2.push({ws:20, l:0, tx:86, ty:81, gaction:"standW"});
sub_extra3.push({ws:20, l:0, tx:81, ty:79, gaction:"standE"});
sub_extra4.push({ws:20, l:0, tx:76, ty:79, gaction:"standE"});
sub_slut.push({ws:20, l:0, tx:81, ty:81, gaction:"standN"});
sub_extra5.push({ws:20, l:0, tx:86, ty:79, gaction:"standW"});
sub_pretty.push({});
sub_pretty.push({tx:83, ty:80, dir:"l"});
sub_pretty.push({tx:82, ty:80, gaction:"standW", pa:100});
sub_melissa.push({});
sub_melissa.push({tx:82, ty:80, dir:"u", gaction:"walkS"});
sub_melissa.push({tx:82, ty:79, gaction:"standS"});
world_text[100] = [{minigame:1}, "pretty::mad::What did you say to me?", "fat::nervous::I, uh, I...", "fat::determined::I called you an ASSHOLE.", "fat::mad::Because you're an ASSHOLE.", "slut::smirk::Oh snap!", "pretty::mad::Big talk from someone who jerks off in the toilets.", "slut::laugh::Pffffbbbtt!", "fat::nervous::(Fuck. Fuccccck.)", "fat::mad::FFFF-FUCK YOU!", "pretty::smirk::Let's go then..."];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:21, l:0, tx:37, ty:8});
sub_les.push({ws:21, l:0, tx:37, ty:8});
sub_bitch.push({ws:21, l:0, tx:37, ty:8});
sub_jock.push({ws:21, l:0, tx:37, ty:8});
sub_david.push({ws:21, l:0, tx:37, ty:8});
sub_extra6.push({ws:21, l:0, tx:37, ty:8});
sub_extra7.push({ws:21, l:0, tx:37, ty:8});
sub_extra8.push({ws:21, l:0, tx:37, ty:8});
sub_fat.push({ws:21, l:0, tx:79, ty:80, gchar:"fat", gstate:"decked"});
sub_pretty.push({ws:21, l:0, tx:82, ty:80, gaction:"standW"});
sub_pretty.push({tx:82, ty:80, dir:"r"});
sub_pretty.push({tx:86, ty:80, pa:101});
world_text[101] = {func:"advancestates", funcpass:"sub_extra1"};
sub_pretty.push({tx:86, ty:80, dir:"r"});
sub_pretty.push({tx:101, ty:80, pa:102});
world_text[102] = {func:"advancestates", funcpass:"sub_teech"};
sub_teech.push({ws:21, l:0, tx:100, ty:81, spd:3, gchar:"science", forceinclude:1});
sub_teech.push({});
sub_teech.push({tx:100, ty:81, dir:"u"});
sub_teech.push({tx:100, ty:80, dir:"l"});
sub_teech.push({tx:80, ty:80, gaction:"standW", forceinclude:0, pa:103});
world_text[103] = [{func:"advancestates", funcpass:"sub_slut"}, "science::default::What's going on here? What happened to him?", "fat::beaten::Mmmmm...", "science::mad::Who did this to him? Anyone?", "ghost::0::...", "slut::concerned::He needs to see the Nurse, I'll take him.", "science::default::Ok."];
sub_slut.push({ws:21, l:0, tx:81, ty:81, gaction:"standW"});
sub_slut.push({});
sub_slut.push({tx:81, ty:81, dir:"l"});
sub_slut.push({tx:79, ty:81, gaction:"standN", pa:104});
world_text[104] = {cut:"transition"};
sub_extra1.push({ws:21, l:0, tx:87, ty:80, gaction:"standW"});
sub_extra1.push({});
sub_extra1.push({tx:87, ty:80, dir:"u", gaction:"walkS"});
sub_extra1.push({tx:87, ty:79, gaction:"standE"});
sub_extra2.push({ws:21, l:0, tx:86, ty:81, gaction:"standW"});
sub_extra3.push({ws:21, l:0, tx:81, ty:79, gaction:"standE"});
sub_extra4.push({ws:21, l:0, tx:76, ty:79, gaction:"standE"});
sub_extra5.push({ws:21, l:0, tx:86, ty:79, gaction:"standW"});
sub_melissa.push({ws:21, l:0, tx:82, ty:79, gaction:"standS"});
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:22, l:0, tx:37, ty:8});
sub_les.push({ws:22, l:0, tx:37, ty:8});
sub_bitch.push({ws:22, l:0, tx:37, ty:8});
sub_jock.push({ws:22, l:0, tx:37, ty:8});
sub_david.push({ws:22, l:0, tx:37, ty:8});
sub_melissa.push({ws:22, l:0, tx:37, ty:8});
sub_pretty.push({ws:22, l:0, tx:37, ty:8});
sub_extra1.push({ws:22, l:0, tx:37, ty:8});
sub_extra2.push({ws:22, l:0, tx:37, ty:8});
sub_extra3.push({ws:22, l:0, tx:37, ty:8});
sub_extra4.push({ws:22, l:0, tx:37, ty:8});
sub_extra5.push({ws:22, l:0, tx:37, ty:8});
sub_extra6.push({ws:22, l:0, tx:37, ty:8});
sub_extra7.push({ws:22, l:0, tx:37, ty:8});
sub_extra8.push({ws:22, l:0, tx:37, ty:8});
sub_teech.push({ws:22, l:0, tx:37, ty:8});
sub_fat.push({ws:22, l:0, tx:83, ty:49, gstate:"sleep"});
sub_slut.push({ws:22, l:0, tx:82, ty:48, gaction:"standE"});
sub_slut.push({pa:105, pdelay:2});
world_text[105] = [{cut:"pitysex"}, "slut::concerned::Sorry about Michael.", "slut::concerned::He wasn't always like this.", "fat::bruised::Ummm.", "slut::default::Oh, Michael's my brother by the way.", "slut::default::Ever since he started boxing... he got way too confident.", "slut::concerned::And I'm sorry I was teasing you before and whatever.", "fat::blushbruise::It's alright.", "slut::truesmile::It was really cool when you just up and called Michael an asshole, you're braver than I thought...ummm.", "fat::blushbruise::...Max.", "slut::truesmile::You were really cool, Max.", "fat::blushbruise::(As strange as it seems, after this me and Sophie became a couple.)", "fat::blushbruise::(Michael couldn't do anything to break us up and he hated it and we loved that he hated it.)"];
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:25, l:0, tx:37, ty:8});
sub_les.push({ws:25, l:0, tx:37, ty:8});
sub_bitch.push({ws:25, l:0, tx:37, ty:8});
sub_jock.push({ws:25, l:0, tx:37, ty:8});
sub_david.push({ws:25, l:0, tx:37, ty:8});
sub_extra6.push({ws:25, l:0, tx:37, ty:8});
sub_extra7.push({ws:25, l:0, tx:37, ty:8});
sub_extra8.push({ws:25, l:0, tx:37, ty:8});
sub_extra1.push({ws:25, l:0, tx:87, ty:80, gaction:"standW"});
sub_extra1.push({});
sub_extra1.push({tx:87, ty:80, dir:"u", gaction:"walkS"});
sub_extra1.push({tx:87, ty:79, gaction:"standW"});
sub_extra2.push({ws:25, l:0, tx:86, ty:81, gaction:"standW"});
sub_extra3.push({ws:25, l:0, tx:81, ty:79, gaction:"standE"});
sub_extra4.push({ws:25, l:0, tx:76, ty:79, gaction:"standE"});
sub_extra5.push({ws:25, l:0, tx:86, ty:79, gaction:"standW"});
sub_melissa.push({ws:25, l:0, tx:82, ty:79, gaction:"standS"});
sub_teech.push({ws:25, l:0, tx:100, ty:80, spd:3, gchar:"science", forceinclude:1});
sub_teech.push({tx:100, ty:80, dir:"l"});
sub_teech.push({tx:88, ty:80, pa:101});
sub_teech.push({tx:88, ty:80, dir:"l"});
sub_teech.push({tx:84, ty:80, gaction:"standW", forceinclude:0, pa:106});
world_text[106] = [{cut:"transition"}, "pretty::ugly::Uhhnnnn...", "science::mad::BREAK IT UP! BREAK IT UP!", "science::default::Ugh, can someone take Michael to the nurse?", "slut::concerned::I'll do it.", "science::mad::I'm taking you to see the Principal, Max."];
sub_fat.push({ws:25, l:0, tx:80, ty:80, gaction:"standE"});
sub_pretty.push({ws:25, l:0, tx:82, ty:80, gstate:"decked"});
sub_slut.push({ws:25, l:0, tx:81, ty:81, gaction:"standE"});
sub_fat.push({});
sub_ann.push({});
sub_les.push({});
sub_bitch.push({});
sub_slut.push({});
sub_jock.push({});
sub_david.push({});
sub_melissa.push({});
sub_pretty.push({});
sub_extra1.push({});
sub_extra2.push({});
sub_extra3.push({});
sub_extra4.push({});
sub_extra5.push({});
sub_extra6.push({});
sub_extra7.push({});
sub_extra8.push({});
sub_teech.push({});
sub_ann.push({ws:26, l:0, tx:37, ty:8});
sub_les.push({ws:26, l:0, tx:37, ty:8});
sub_bitch.push({ws:26, l:0, tx:37, ty:8});
sub_jock.push({ws:26, l:0, tx:37, ty:8});
sub_david.push({ws:26, l:0, tx:37, ty:8});
sub_melissa.push({ws:26, l:0, tx:37, ty:8});
sub_extra1.push({ws:26, l:0, tx:37, ty:8});
sub_extra2.push({ws:26, l:0, tx:37, ty:8});
sub_extra3.push({ws:26, l:0, tx:37, ty:8});
sub_extra4.push({ws:26, l:0, tx:37, ty:8});
sub_extra5.push({ws:26, l:0, tx:37, ty:8});
sub_extra6.push({ws:26, l:0, tx:37, ty:8});
sub_extra7.push({ws:26, l:0, tx:37, ty:8});
sub_extra8.push({ws:26, l:0, tx:37, ty:8});
sub_fat.push({ws:26, l:0, tx:64, ty:66, gaction:"standW"});
sub_teech.push({ws:26, l:0, tx:63, ty:66, gaction:"standE"});
sub_teech.push({pa:108, pdelay:1});
world_text[108] = [{func:"advancestates", funcpass:"sub_pretty,sub_slut,sub_teech"}, "science::mad::I can't believe you'd do something like this Max, you're one of my best students.", "science::mad::I really really hope you don't get expelled.", "science::default::Anyways, Principal Scott is busy right now and I have to go to class so you wait here."];
sub_teech.push({});
sub_teech.push({tx:63, ty:66, dir:"d"});
sub_teech.push({tx:63, ty:74, statejump:2});
sub_teech.push({tx:37, ty:8, statejump:1, l:0});
sub_pretty.push({ws:26, l:0, tx:60, ty:74, spd:1, gstate:"", forceinclude:1});
sub_slut.push({ws:26, l:0, tx:61, ty:74, spd:1, forceinclude:1});
sub_pretty.push({});
sub_slut.push({});
sub_pretty.push({tx:60, ty:74, dir:"u"});
sub_slut.push({wtx:61, ty:74, dir:"u"});
sub_pretty.push({tx:60, ty:68, gaction:"standN"});
sub_slut.push({tx:61, ty:67, dir:"l"});
sub_slut.push({tx:60, ty:67, pa:107});
world_text[107] = {func:"advancestates", funcpass:"sub_pretty"};
sub_pretty.push({tx:60, ty:68, dir:"l"});
sub_slut.push({tx:60, ty:67, dir:"l"});
sub_pretty.push({tx:90, ty:49, forceinclude:0, pa:109});
sub_slut.push({tx:90, ty:48, forceinclude:0});
world_text[109] = [{canup:1, candown:1, canleft:1, canright:1, func:"locks", funcpass:(((lock_intersection_south + ",") + unlock_entrance_north) + ",") + lock_entrance_east}, "fat::beatsmile::(I don't even care if I get expelled right now.)", "fat::beatsmile::(Punching that smug asshole right in the face with all the strength I had.)", "fat::beatsmile::(That was truly my most perfect moment.)", "ann::pain::AhhOW! --AWP!", "fat::bruised::(That sounds like Ann...)", "ann::pain::--AWP! ---- it!", "fat::bruised::(That's definitely Ann, from the Counsellor's office...)"];
sub_fat.push({pa:110, pxmin:60, pxmax:60, pymin:74, pymax:75});
world_text[110] = [{cut:"hero"}, "ann::pain::Stop, that hurts!", "jock::perv::You said you wanted to stay a virgin, right?", "ann::pain::That's enough! Stop!", "jock::mean::Hey, could you shut her up?", "ann::pain::I'm not kidd-*ulg*", "counsellor::smile::You need to keep it down or someone will hear us.", "fat::rage::(What happened next wasn't by any means the happy ending you or I were wanting...)", "fat::rage::(Ann ended up changing schools and we never became anything more than friends...)", "fat::rage::(I don't mind though, I much prefer this ending...)"];
world_state = {state:0, hour:1, minute:4, stopdoor:0, inclass:1};
tlradius = {r:0, l:0, u:0, d:0};
tilep = {w:32, hw:16, h:32, hh:16, zoom:100};
tilearea = {xMin:0, xMax:0, yMin:0, yMax:0};
gamep_spd = [8, 6, 5, 3, 2];
inputs = new Array();
inputs.push({tag:"left", desc:"Move", kcode:74, kcode2:65});
inputs.push({tag:"right", desc:"Move", kcode:76, kcode2:68});
inputs.push({tag:"up", desc:"Move", kcode:73, kcode2:87});
inputs.push({tag:"down", desc:"Move", kcode:75, kcode2:83});
inputs.push({tag:"space", desc:"Action", kcode:32});
inputs.push({tag:"f", desc:"Fullscreen", kcode:70});
inputs.push({tag:"leftclick", desc:"Leftclick", kcode:1});
inputs.push({tag:"middleclick", desc:"Middleclick", kcode:4});
inputs.push({tag:"playtest", desc:"Shift", kcode:16});
inputs.push({tag:"test", desc:"T", kcode:84});
clicker = new Object();
clicker.onMouseWheel = function (delta) {
clicks.spinner = ((delta > 0) ? 1 : -1);
};
Mouse.addListener(clicker);
clicks = {canright:1, canleft:1, canup:1, candown:1};
var i = 0;
while (i < 9) {
var sub = inputs[i];
clicks[sub.tag] = 0;
i++;
}
keyboard_type = 1;
_root.attachMovie("empty", "bgaudio", _root.getNextHighestDepth());
bgaud = new Sound(_root.bgaudio);
fadep = new Array();
designp = {camx:0, camy:0, l:0};
timer = 0;
designing(0);
sav = SharedObject.getLocal("asc");
prog = ((sav.data.prog == undefined) ? 0 : (sav.data.prog));
Instance of Symbol 998 MovieClip in Frame 17
on (press) {
_root.designinit();
}
Instance of Symbol 998 MovieClip in Frame 17
on (press) {
_root.exportworld();
}
Frame 25
_root._quality = "HIGH";
this.nextFrame();
Instance of Symbol 1059 MovieClip in Frame 25
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://twitter.com/onehandgames/", "_blank");
}
Instance of Symbol 1062 MovieClip in Frame 25
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.tumblr.com", "_blank");
}
Frame 26
this.stop();
_root.mc.gotoAndStop((_root.prog ? 3 : 1));
Frame 27
this.prevFrame();
Frame 31
this.nextFrame();
Frame 32
this.stop();
Frame 33
this.prevFrame();
Frame 40
this.nextFrame();
Frame 41
this.stop();
Frame 42
this.prevFrame();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 25
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 21
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 102
stop();
Symbol 870 MovieClip [loadaudio] Frame 1
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 2
_root.snd_play("door");
Symbol 913 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 2
_root.snd_play("stallopen");
Symbol 936 MovieClip Frame 17
if (_root.world_state.stopdoor) {
stop();
}
Symbol 936 MovieClip Frame 33
_root.snd_play("stallclose");
Symbol 992 MovieClip [tiles] Frame 1
stop();
Symbol 992 MovieClip [tiles] Frame 7
this.hour.gotoAndStop(_root.world_state.hour);
this.minute.gotoAndStop(_root.world_state.minute);
Symbol 992 MovieClip [tiles] Frame 21
var nam = this._name;
if ((_root.world_state.inclass == 1) || ((_root.world_state.inclass == 2) && (nam == "ax11y20"))) {
var namx = nam.split("y");
var namy = Number(namx[1]);
namx = namx[0].split("x");
namx = Number(namx[1]);
var notrand = ((namx + namy) % (this.mc._totalframes - 1));
this.mc.gotoAndStop(notrand + 2);
}
Symbol 998 MovieClip Frame 1
this.stop();
Symbol 1040 MovieClip Frame 1
this.gotoAndStop(_root.keyboard_type);
Instance of Symbol 1051 MovieClip in Symbol 1056 MovieClip Frame 1
on (rollOver) {
_parent.gotoAndStop(2);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
on (press) {
_root.gameinit(1);
}
Symbol 1056 MovieClip Frame 2
this.mc.gotoAndStop(1);
Instance of Symbol 1051 MovieClip in Symbol 1056 MovieClip Frame 3
on (rollOver) {
_parent.gotoAndStop(6);
}
on (rollOut) {
_parent.gotoAndStop(3);
}
on (press) {
_root.gameinit(1);
}
Instance of Symbol 1051 MovieClip in Symbol 1056 MovieClip Frame 3
on (rollOver) {
_parent.gotoAndStop(5);
}
on (rollOut) {
_parent.gotoAndStop(3);
}
on (press) {
_root.frameon("cutscenes");
}
Instance of Symbol 1051 MovieClip in Symbol 1056 MovieClip Frame 3
on (rollOver) {
_parent.gotoAndStop(4);
}
on (rollOut) {
_parent.gotoAndStop(3);
}
on (press) {
_root.gameinit(2);
}
Symbol 1056 MovieClip Frame 4
this.mc.gotoAndStop(1);
Symbol 1056 MovieClip Frame 5
this.mc.gotoAndStop(1);
Symbol 1056 MovieClip Frame 6
this.mc.gotoAndStop(1);
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 1
this.gotoAndStop(_root.keyboard_type);
Instance of Symbol 1051 MovieClip in Symbol 1064 MovieClip Frame 1
on (press) {
_root.switch_keyboard("qwerty");
_parent.gotoAndStop(1);
_root.anim.mc.gotoAndStop(1);
}
Instance of Symbol 1051 MovieClip in Symbol 1064 MovieClip Frame 1
on (press) {
_root.switch_keyboard("azerty");
_parent.gotoAndStop(2);
_root.anim.mc.gotoAndStop(2);
}
Instance of Symbol 1051 MovieClip in Symbol 1064 MovieClip Frame 1
on (press) {
_root.switch_keyboard("dvorak");
_parent.gotoAndStop(3);
_root.anim.mc.gotoAndStop(3);
}
Instance of Symbol 1051 MovieClip in Symbol 1064 MovieClip Frame 1
on (press) {
_root.switch_keyboard("fallback");
_parent.gotoAndStop(4);
_root.anim.mc.gotoAndStop(4);
}
Symbol 1095 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 1
_root.snd_play("junk");
Symbol 1114 MovieClip Frame 699
stop();
Symbol 1142 MovieClip Frame 1
_root.snd_play("ear");
Symbol 1142 MovieClip Frame 467
stop();
Symbol 1170 MovieClip Frame 1
_root.snd_play("hand");
Symbol 1170 MovieClip Frame 889
stop();
Symbol 1218 MovieClip Frame 1
_root.snd_play("peep");
Symbol 1218 MovieClip Frame 941
stop();
Symbol 1236 MovieClip Frame 1
_root.snd_play("kiss");
Symbol 1236 MovieClip Frame 662
stop();
Symbol 1345 MovieClip Frame 1
_root.snd_play("pity");
Symbol 1345 MovieClip Frame 2302
stop();
if (_root.framein == "game") {
_root.finishgame("lose");
}
Symbol 1475 MovieClip Frame 1
_root.snd_play("hero");
Symbol 1475 MovieClip Frame 2180
stop();
if (_root.framein == "game") {
_root.finishgame("win");
}
Symbol 1476 MovieClip Frame 1
stop();
Instance of Symbol 1095 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_parent.gotoAndStop("four");
}
Instance of Symbol 1097 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_parent.gotoAndStop("three");
}
Instance of Symbol 1097 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_parent.gotoAndStop("two");
}
Instance of Symbol 1097 MovieClip "mc1" in Symbol 1476 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_parent.gotoAndStop("one");
}
Instance of Symbol 1095 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_parent.gotoAndStop("five");
}
Instance of Symbol 1099 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
if ((_root.prog == "losescene") || (_root.prog == "allscene")) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
if ((_root.prog == "losescene") || (_root.prog == "allscene")) {
_parent.gotoAndStop("six");
}
}
Instance of Symbol 1099 MovieClip in Symbol 1476 MovieClip Frame 1
on (rollOver) {
if ((_root.prog == "winscene") || (_root.prog == "allscene")) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
if ((_root.prog == "winscene") || (_root.prog == "allscene")) {
_parent.gotoAndStop("seven");
}
}
Instance of Symbol 998 MovieClip in Symbol 1476 MovieClip Frame 1
on (press) {
_root.frameon("menu");
}
Instance of Symbol 998 MovieClip in Symbol 1476 MovieClip Frame 14
on (press) {
_root.snd_stop("ear");
_root.snd_stop("hand");
_root.snd_stop("hero");
_root.snd_stop("junk");
_root.snd_stop("kiss");
_root.snd_stop("peep");
_root.snd_stop("pity");
_parent.gotoAndStop(1);
}
Symbol 1477 MovieClip Frame 1
stop();
Symbol 1524 MovieClip Frame 14
stop();
Symbol 1539 MovieClip Frame 1
stop();
Symbol 1704 MovieClip Frame 186
stop();
Symbol 1709 MovieClip Frame 185
stop();
Symbol 1710 MovieClip Frame 95
_root.change_world("state," + (_root.world_state.state + 1));
Symbol 1710 MovieClip Frame 211
stop();
Symbol 1733 MovieClip Frame 95
_root.change_world("state," + (_root.world_state.state + 1));
Symbol 1733 MovieClip Frame 196
stop();
Instance of Symbol 998 MovieClip in Symbol 1734 MovieClip Frame 13
on (press) {
_root.frameon("designer");
}