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 tile_table(c, tl, tr, bl, br) {
tl = ((tl == c) ? 1 : 0);
tr = ((tr == c) ? 1 : 0);
bl = ((bl == c) ? 1 : 0);
br = ((br == c) ? 1 : 0);
c = ((tl + tr) + bl) + br;
if (c == 4) {
return("cx");
}
if (c == 3) {
if ((tl && (tr)) && (bl)) {
return("br");
}
if ((tl && (tr)) && (br)) {
return("bl");
}
if ((tl && (bl)) && (br)) {
return("tr");
}
if ((tr && (bl)) && (br)) {
return("tl");
}
} else if (c == 2) {
if (tl && (tr)) {
return("b");
}
if (tr && (br)) {
return("l");
}
if (bl && (br)) {
return("t");
}
if (tl && (bl)) {
return("r");
}
if (bl && (tr)) {
return("fs");
}
if (tl && (br)) {
return("bs");
}
} else if (c == 1) {
if (tl) {
return("btl");
}
if (tr) {
return("btr");
}
if (bl) {
return("bbl");
}
if (br) {
return("bbr");
}
} else if (c == 0) {
return("co");
}
}
function gstate_transition(sub) {
switch (sub.gstate) {
case "walk" :
return("stand");
case "northdoor" :
return("stand");
}
return(sub.gstate);
}
function nomovement_transition(sub) {
switch (sub.gstate) {
case "walk" :
return(1);
case "northdoor" :
return(1);
case "stand" :
return(1);
}
return(0);
}
function decide_ror() {
if (world_state.ror > 1) {
advancestates("psyche+++" + temppsyche);
return(undefined);
}
advancestates("psyche");
}
function output_faces() {
emotes = [{}, {}, {}, {}, {}, {}];
e_num = {pc:0, friend:1, girl:2, hikki:3, autist:4, psyche:5};
var _local5 = 0;
while (_local5 < world_text.length) {
var _local2 = world_text[_local5];
if (_local2 instanceof Array) {
var _local4 = 1;
while (_local4 < _local2.length) {
var _local1 = _local2[_local4].split("::");
if (e_num[_local1[0]] == undefined) {
} else {
emotes[e_num[_local1[0]]][_local1[1]] = 1;
}
_local4++;
}
}
_local5++;
}
for (_local5 in e_num) {
var _local3 = _local5 + ": ";
for (var _local4 in emotes[e_num[_local5]]) {
_local3 = _local3 + (_local4 + ", ");
}
trace(_local3);
}
}
function gameinit(lvl) {
if (demoing) {
lvl = 1;
}
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;
clicks.canur = 0;
clicks.canul = 0;
clicks.candr = 0;
clicks.candl = 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, 0);
}
world_state.hidetiles = 1;
world_state.ror = 0;
createarea();
if (lvl == 2) {
saveprogress("0,3,3,3");
change_world("state,3");
} else if (lvl == 3) {
var _local2 = prog.split(",");
change_world("state," + _local2[0]);
}
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") {
_root["minigame_" + gamep.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();
if (gamep.state != "playing") {
return(undefined);
}
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 astar(id, atx, aty, al, btx, bty, bl) {
}
function npc(id) {
var _local1 = world_sprites[id][0];
if (_local1.delay > -1) {
_local1.delay--;
return(undefined);
}
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);
return(undefined);
}
if (_local2.mov && (!_local1.movn)) {
var _local6 = _local2.mov.split(".");
if ((_local1.mov == undefined) || (_local1.mov == -1)) {
_local1.mov = 0;
} else {
_local1.mov++;
}
if (_local1.mov == _local6.length) {
_local1.mov = -1;
_local1.state++;
playerzone_check();
return(undefined);
}
_local2.dir = undefined;
_local2.gdir = undefined;
_local2.gstate = undefined;
var _local7 = 0;
var _local9 = 0;
switch (_local6[_local1.mov]) {
case "w" :
_local1.delay = Number(_local6[_local1.mov + 1]) * gamep.tps;
_local1.mov = _local1.mov + 1;
break;
case "as" :
advancestates(_local6[_local1.mov + 1]);
_local1.mov = _local1.mov + 1;
_local7 = 1;
_local9 = 1;
break;
case "ne" :
_local2.dir = "ne";
break;
case "nw" :
_local2.dir = "nw";
break;
case "se" :
_local2.dir = "se";
break;
case "sw" :
_local2.dir = "sw";
break;
default :
_local2[_local6[_local1.mov]] = _local6[_local1.mov + 1];
_local1.mov = _local1.mov + 1;
_local7 = 1;
}
if (_local7) {
if ((_local1.mov + 1) == _local6.length) {
_local1.mov = -1;
_local1.state++;
playerzone_check();
} else if (_local9) {
playerzone_check();
}
}
if (_local2.dir) {
_local1.movn = 1;
var _local4 = world_sprites[id][_local1.state + 1];
var _local10 = _local6[_local1.mov + 1];
if (_local10 == "t") {
_local4.tx = Number(_local6[_local1.mov + 2]);
_local4.ty = Number(_local6[_local1.mov + 3]);
_local1.movdist = -1;
_local1.mov = _local1.mov + 3;
} else {
_local4.tx = -1;
_local4.ty = -1;
_local1.movdist = Number(_local10);
_local1.mov = _local1.mov + 1;
}
}
}
if (_local2.dir != undefined) {
var _local4 = world_sprites[id][_local1.state + 1];
if (_local1.movn && (_local1.movdist != -1)) {
if (_local1.movdist) {
_local1.movdist--;
} else {
_local4.tx = _local1.tx;
_local4.ty = _local1.ty;
}
}
if (_local2.dir == "a") {
var _local5 = astar(id, _local1.tx, _local1.ty, _local1.l, _local4.tx, _local4.ty, _local4.l);
} else {
var _local5 = _local2.dir;
}
if (_local2.gstate == undefined) {
_local1.gstate = "walk";
}
if (_local2.gdir == undefined) {
_local1.gdir = _local5;
}
update_gstate(id, _local2);
var _local8 = 0;
if ((_local1.ty == _local4.ty) && (_local1.tx == _local4.tx)) {
_local8 = 1;
}
if (_local8) {
if (_local2.mov) {
_local1.movn = 0;
} else {
_local1.state++;
}
if ((_local4.dir == undefined) && (_local4.gstate == undefined)) {
_local4.gstate = "stand";
}
update_gstate(id, _local4);
movesprite(id);
playerzone_check();
return(undefined);
}
if ((_local5 == "nw") || (_local5 == "se")) {
var _local11 = ((_local5 == "nw") ? "se" : "nw");
} else {
var _local11 = ((_local5 == "ne") ? "sw" : "ne");
}
var _local6 = checktileto(_local5, _local11, id);
if ((_local6 != 0) && (_local6.ret != 0)) {
preparespritemove(id, _local2.spd, _local6);
if (_local2.spd != undefined) {
_local1.spd = _local2.spd;
}
} else if ((_local6.id == 0) && (_local2.pushx != undefined)) {
_local1.pushx = 1;
} else if (_local1.movn && (_local1.movdist != -1)) {
_local1.movdist++;
}
} else {
update_gstate(id, _local2);
movesprite(id);
}
}
function player() {
var _local6 = 0;
var _local2 = world_sprites[_local6][0];
var _local11 = world_sprites[_local6][_local2.state];
if (_local11.statejump) {
update_mainstate(_local2, _local11);
movesprite(_local6);
}
if ((((_local2.tx < tilearea.xMin) || (_local2.tx >= tilearea.xMax)) || (_local2.ty < tilearea.yMin)) || (_local2.ty >= tilearea.yMax)) {
cam();
}
var _local3 = interact_check();
if (_local3 != -1) {
if (_local3.push == undefined) {
_root.overlay.spc.gotoAndStop(1);
if (clicks.space == 1) {
clicks.space = 2;
var _local13 = 1;
}
} else if (_local3.push == "x") {
var _local13 = 1;
} else if (clicks.ul && (_local3.push == "nw")) {
clicks.ul = 2;
var _local13 = 1;
} else if (clicks.ur && (_local3.push == "ne")) {
clicks.ur = 2;
var _local13 = 1;
} else if (clicks.dl && (_local3.push == "sw")) {
clicks.dl = 2;
var _local13 = 1;
} else if (clicks.dr && (_local3.push == "se")) {
clicks.dr = 2;
var _local13 = 1;
}
if (_local13) {
if (_local3.id != undefined) {
var _local5 = world_sprites[_local3.id][0];
var _local4 = world_sprites[_local3.id][_local5.state];
}
if (_local4.pdir || (_local4.pstate)) {
if (_local4.pdir) {
_local2.gdir = _local4.pdir;
}
if (_local4.pstate) {
_local2.gstate = _local4.pstate;
}
movesprite(_local6);
}
if (_local4.tdir || (_local4.tstate)) {
if (_local4.tdir == "face") {
var _local9 = ((_local2.ty > _local5.ty) ? "s" : "n");
if (_local5.ty % 2) {
_local9 = _local9 + ((_local2.tx == _local5.tx) ? "w" : "e");
} else {
_local9 = _local9 + ((_local2.tx == _local5.tx) ? "e" : "w");
}
_local5.gdir = _local9;
} else if (_local4.tdir) {
_local5.gdir = _local4.tdir;
}
if (_local4.tstate) {
_local5.gstate = _local4.tstate;
}
movesprite(_local3.id);
}
var _local16 = performaction(world_text[_local3.txt]);
if (_local4.touchskip) {
_local5.state++;
}
if (_local16) {
return(undefined);
}
if (_local3.tx != undefined) {
var _local12 = (_local2.l ? ((("bx" + _local3.tx) + "y") + _local3.ty) : ((("ax" + _local3.tx) + "y") + _local3.ty));
_root.fg.sorted[_local12].mc.play();
}
return(undefined);
}
} else {
_root.overlay.spc.gotoAndStop(3);
if (clicks.space == 1) {
clicks.space = 2;
}
}
var _local14 = (_local2.l ? (world_tilesB[_local2.tx][_local2.ty]) : (world_tilesA[_local2.tx][_local2.ty]));
var _local10 = tiledata[_local14];
if (_local10.forceout != undefined) {
var _local7 = _local10.forceout;
} else if (clicks.ul && (clicks.canul)) {
clicks.ul = 2;
var _local7 = "nw";
} else if (clicks.ur && (clicks.canur)) {
clicks.ur = 2;
var _local7 = "ne";
} else if (clicks.dl && (clicks.candl)) {
clicks.dl = 2;
var _local7 = "sw";
} else if (clicks.dr && (clicks.candr)) {
clicks.dr = 2;
var _local7 = "se";
} else {
changestand(_local6);
}
if (_local7) {
_local2.gstate = "walk";
_local2.gdir = _local7;
if ((_local7 == "nw") || (_local7 == "se")) {
var _local15 = ((_local7 == "nw") ? "se" : "nw");
} else {
var _local15 = ((_local7 == "ne") ? "sw" : "ne");
}
var _local8 = checktileto(_local7, _local15, _local6);
if ((_local8 != 0) && (_local8.ret != 0)) {
_root.overlay.spc.gotoAndStop(3);
preparespritemove(_local6, undefined, _local8);
} else {
changestand(_local6);
}
}
}
function changestand(id) {
var _local1 = world_sprites[id][0];
_local1.gstate = gstate_transition(_local1);
movesprite(id);
}
function finishcutscene() {
_root.overlay.gotoAndStop("game");
_root.overlay.spc.gotoAndStop(3);
gamep.state = "playing";
clicks.ul = 0;
clicks.ur = 0;
clicks.dl = 0;
clicks.dr = 0;
clicks.space = 2;
playerzone_check();
}
function interact_check() {
var _local10 = 0;
var _local9 = world_sprites[_local10][0];
var _local6 = tile2point(_local9.tx, _local9.ty);
_local6.px = _local6.px + (((_local9.gdir == "nw") || (_local9.gdir == "sw")) ? 0 : (tilep.w));
_local6.py = _local6.py + (((_local9.gdir == "nw") || (_local9.gdir == "ne")) ? (-tilep.hh) : (tilep.halfh + tilep.hh));
_local6 = point2tile(_local6.px, _local6.py);
var _local7 = _local9.gdir;
if ((_local7 == "nw") || (_local7 == "se")) {
var _local5 = ((_local7 == "nw") ? "se" : "nw");
} else {
var _local5 = ((_local7 == "ne") ? "sw" : "ne");
}
var _local4 = 0;
while (_local4 < ref_sprites.length) {
var _local1 = ref_sprites[_local4];
if (_local1 == _local10) {
} else {
var _local3 = world_sprites[_local1][0];
if (_local3.pushx) {
_local3.pushx = 0;
var _local2 = world_sprites[_local1][_local3.state];
return({txt:_local2.pushx, id:_local1, push:"x"});
}
if (((!_local3.live) || (_local3.tx != _local6.tx)) || (_local3.ty != _local6.ty)) {
} else {
var _local2 = world_sprites[_local1][_local3.state];
if (_local2.touchx != undefined) {
return({txt:_local2.touchx, id:_local1});
}
if (_local2.pushx != undefined) {
return({txt:_local2.pushx, id:_local1, push:_local7});
}
if (_local2["touch" + _local5] != undefined) {
var _local8 = _local2["touch" + _local5];
return({txt:_local8, id:_local1});
}
if (_local2["push" + _local5] != undefined) {
var _local8 = _local2["push" + _local5];
return({txt:_local8, id:_local1, push:_local7});
}
}
}
_local4++;
}
tlon = (_local9.l ? (world_interactB[_local6.tx][_local6.ty]) : (world_interactA[_local6.tx][_local6.ty]));
if ((tlon.touch != undefined) && (tlon.touch != -1)) {
return({txt:tlon.touch, tx:_local6.tx, ty:_local6.ty});
}
var tlon = (_local9.l ? (world_interactB[_local9.tx][_local9.ty]) : (world_interactA[_local9.tx][_local9.ty]));
if ((tlon.touch != undefined) && (tlon.touch != -1)) {
return({txt:tlon.touch, tx:_local9.tx, ty:_local9.ty});
}
return(-1);
}
function pzonecheck(zone, sub) {
zone = zone.split(",");
var _local1 = 0;
while (_local1 < zone.length) {
if ((Number(zone[_local1]) == sub.tx) && (Number(zone[_local1 + 1]) == sub.ty)) {
return(1);
}
_local1 = _local1 + 2;
}
return(0);
}
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.pzone == undefined) || (pzonecheck(_local2.pzone, _local1))) {
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();
}
}
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.pzone == undefined) || (pzonecheck(_local2.pzone, _local1))) {
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 _local6 = copyarr(sub);
text_end = _local6.shift();
text_text = copyarr(_local6);
text_on = 0;
text_choice = (sub[0].choice ? 1 : 0);
updatetext();
clicks.dl = 2;
clicks.dr = 2;
clicks.ul = 2;
clicks.ur = 2;
clicks.space = 2;
return(1);
}
if (_local4 == "object") {
if (sub.candr != undefined) {
clicks.candr = sub.candr;
}
if (sub.candl != undefined) {
clicks.candl = sub.candl;
}
if (sub.canul != undefined) {
clicks.canul = sub.canul;
}
if (sub.canur != undefined) {
clicks.canur = sub.canur;
}
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 _local5 = sub["propval" + _local3[sub.propname]];
var _local7 = ((_local5 == undefined) ? (sub.propval) : (_local5));
_local3[sub.propname] = _local7;
}
if (sub.propname2) {
_local3[sub.propname2] = sub.propval2;
}
movesprite(sub.sprite);
}
if (sub.as) {
advancestates(sub.as);
}
if (sub.locks) {
locks(sub.locks);
}
if (sub.warps) {
warps(sub.warps);
}
if (sub.changeworld) {
change_world(sub.changeworld);
}
if (sub.sav) {
saveprogress(sub.sav);
}
if (sub.func) {
_root[sub.func](sub.funcpass);
}
if (sub.func2) {
_root[sub.func2](sub.func2pass);
}
if (sub.func3) {
_root[sub.func3](sub.func3pass);
}
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.choice != undefined) {
var _local6 = sub.choice.split(",");
performaction(world_text[_local6[text_on]]);
}
if (sub.nextext != undefined) {
performaction(world_text[sub.nextext]);
}
if (sub.minigame) {
gamep.minigame = sub.minigame;
_root["initminigame_" + gamep.minigame]();
gamep.state = "minigame";
return(1);
}
} else if (_local4 == "string") {
finishcutscene();
} else if (_local4 == "number") {
finishcutscene();
}
}
function textcontrol(minigame) {
var _local2 = text_on;
if (clicks.space == 1) {
clicks.space = 2;
if (text_choice || (text_on == (text_text.length - 1))) {
clicks.ul = 0;
clicks.ur = 0;
clicks.dl = 0;
clicks.dr = 0;
clicks.space = 2;
if (minigame) {
minigamep.texting = 0;
_root.overlay.gotoAndStop("game");
_root.overlay.spc.gotoAndStop(3);
} else {
performaction(text_end);
}
return(undefined);
}
}
if ((clicks.dr == 1) || (clicks.ur == 1)) {
_local2++;
clicks.dr = 2;
clicks.ur = 2;
}
if ((clicks.dl == 1) || (clicks.ul == 1)) {
_local2--;
clicks.dl = 2;
clicks.ul = 2;
}
if (((_local2 != text_on) && (_local2 > -1)) && (_local2 < text_text.length)) {
text_on = _local2;
updatetext();
}
}
function updatetext() {
var _local5 = ((text_on == 0) ? 2 : 1);
var _local3 = text_on == (text_text.length - 1);
var _local4 = (_local3 ? 2 : 1);
_root.overlay.lft.gotoAndStop(_local5);
_root.overlay.rght.gotoAndStop(_local4);
if (text_choice) {
_root.overlay.spc.gotoAndStop(4);
} else if (_local3) {
_root.overlay.spc.gotoAndStop(1);
} else {
_root.overlay.spc.gotoAndStop(2);
}
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.gdir) {
_local2.gdir = dub.gdir;
}
if (dub.forceinclude != undefined) {
_local2.forceinclude = dub.forceinclude;
}
if (dub.ignoreblocking != undefined) {
_local2.ignoreblocking = dub.ignoreblocking;
}
}
function change_world(t) {
t = t.split(",");
var _local3 = 0;
while (_local3 < t.length) {
if (t[_local3 + 1] == "++") {
world_state[t[_local3]]++;
} else if (t[_local3 + 1] == "--") {
world_state[t[_local3]]--;
} else {
world_state[t[_local3]] = Number(t[_local3 + 1]);
}
if (t[_local3] == "state") {
var _local1 = 0;
while (_local1 < world_sprites.length) {
var _local6 = world_sprites[_local1][0];
if (_local1) {
_local6.delay = -1;
_local6.mov = -1;
_local6.movn = 0;
}
var _local2 = 1;
while (_local2 < world_sprites[_local1].length) {
var _local7 = world_sprites[_local1][_local2];
if (_local7.ws < world_state.state) {
_local6.state = _local2;
} else if (_local7.ws == world_state.state) {
_local6.state = _local2;
break;
}
_local2++;
}
var _local5 = world_sprites[_local1][0].state;
if (world_sprites[_local1][_local5].ws < world_state.state) {
world_sprites[_local1][_local5].statejump = 1;
}
_local1++;
}
var _local6 = world_sprites[0][0];
var _local7 = world_sprites[0][_local6.state];
update_mainstate(_local6, _local7);
cam();
}
_local3 = _local3 + 2;
}
createarea();
}
function locks(t) {
t = t.split(",");
var _local1 = 0;
while (_local1 < t.length) {
var _local8 = t[_local1];
var _local3 = Number(t[_local1 + 1]);
var _local2 = Number(t[_local1 + 2]);
var _local6 = Number(t[_local1 + 3]);
var _local7 = Number(t[_local1 + 4]);
if (_local8 == "A") {
if (world_interactA[_local3][_local2] == undefined) {
world_interactA[_local3][_local2] = {};
}
var _local5 = world_interactA[_local3][_local2];
} else {
if (world_interactB[_local3][_local2] == undefined) {
world_interactB[_local3][_local2] = {};
}
var _local5 = world_interactB[_local3][_local2];
}
if (_local6 == 2) {
_local5.lock = 1;
_local5.locktxt = _local7;
_local1 = _local1 + 1;
} else if (_local6 == 3) {
_local5.touch = _local7;
_local1 = _local1 + 1;
} else {
_local5.lock = _local6;
}
_local1 = _local1 + 4;
}
}
function warps(t) {
t = t.split(",");
var _local1 = 0;
while (_local1 < t.length) {
var _local8 = t[_local1];
var _local3 = Number(t[_local1 + 1]);
var _local2 = Number(t[_local1 + 2]);
var _local7 = Number(t[_local1 + 3]);
var _local6 = Number(t[_local1 + 4]);
var _local9 = Number(t[_local1 + 5]);
if (_local8 == "A") {
if (world_interactA[_local3][_local2] == undefined) {
world_interactA[_local3][_local2] = {};
}
var _local5 = world_interactA[_local3][_local2];
} else {
if (world_interactB[_local3][_local2] == undefined) {
world_interactB[_local3][_local2] = {};
}
var _local5 = world_interactB[_local3][_local2];
}
_local5.tx = _local7;
_local5.ty = _local6;
_local5.l = _local9;
_local1 = _local1 + 6;
}
}
function advancestates(t) {
var _local12 = 1;
var _local10 = t.split("+++");
var _local3 = _local10[1];
if (_local3 != undefined) {
_local3 = _local3.split(",");
var _local7 = ((_local3[0] == "if") ? 1 : 0);
_local12 = (_local7 ? 1 : 0);
}
var _local9 = _local10[2];
if (_local9 != undefined) {
_local9 = _local9.split(",");
var _local7 = 1;
_local12 = 0;
}
var _local8 = _local10[3];
if (_local8 != undefined) {
_local8 = _local8.split(",");
var _local13 = 1;
}
t = _local10[0].split(",");
if (_local7) {
_local10 = 0;
var _local11 = 0;
var _local1 = 1;
while (_local1 < _local3.length) {
var _local4 = _local3[_local1];
var _local6 = world_sprites[sub_numbers[_local4]][0].state;
var _local5 = Number(_local3[_local1 + 1]);
_local10 = _local10 + ((_local6 == _local5) ? 1 : 0);
_local11++;
_local1 = _local1 + 2;
}
if (_local11 != _local10) {
if (_local13) {
_local1 = 0;
while (_local1 < t.length) {
var _local5 = Number(_local8[_local1]);
world_sprites[sub_numbers[t[_local1]]][0].state = _local5;
_local1++;
}
}
return(undefined);
}
}
if (_local12) {
var _local1 = 0;
while (_local1 < t.length) {
world_sprites[sub_numbers[t[_local1]]][0].state++;
_local1++;
}
} else {
var _local1 = 0;
while (_local1 < t.length) {
var _local5 = (_local7 ? (Number(_local9[_local1])) : (Number(_local3[_local1])));
world_sprites[sub_numbers[t[_local1]]][0].state = _local5;
_local1++;
}
}
}
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 (xto == undefined) {
var _local5 = world_sprites[0][0];
var _local4 = tile2point(_local5.tx, _local5.ty);
xto = Math.floor(_local4.px / tilep.stagew);
yto = Math.floor(_local4.py / tilep.stageh);
}
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 = new Object();
var _local9 = point2tile(_local8.xMin, _local8.yMin);
tilearea.xMin = _local9.tx;
tilearea.yMin = _local9.ty;
_local9 = point2tile(_local8.xMax, _local8.yMax);
tilearea.xMax = _local9.tx;
tilearea.yMax = _local9.ty;
tilearea.line = tilearea.xMax - tilearea.xMin;
tilearea.fulline = tilearea.line * 3;
tilearea.layer = tilearea.fulline * ((tilearea.yMax - tilearea.yMin) + 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 > (tilearea.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.gdir != undefined) {
sub.gdir = dub.gdir;
}
sub.turnarrive = 0;
sub.live = 1;
}
function attachtile(tx, ty, tl, l) {
var _local5 = (l ? ((("bx" + tx) + "y") + ty) : ((("ax" + tx) + "y") + ty));
var _local3 = tiledata[tl];
var _local13 = (_local3.over ? 1 : 0);
var _local10 = get_depth(tx, ty, l, _local13, 0);
_root.fg.sorted.attachMovie("tiles", _local5, _local10);
var _local9 = tile2point(tx, ty);
_root.fg.sorted[_local5]._x = _local9.px;
_root.fg.sorted[_local5]._y = _local9.py;
tl = ((tl == 0) ? (tiledata.length) : (tl));
_root.fg.sorted[_local5].gotoAndStop(tl);
if (_local3.checkerz) {
_root.fg.sorted[_local5].multi.gotoAndStop(((tx + ty) % _local3.checkerz) + 1);
} else if (_local3.checkerx && (_local3.checkery)) {
_root.fg.sorted[_local5].multi.gotoAndStop(((tx % _local3.checkerx) + 1) + ((ty % _local3.checkery) * _local3.checkerx));
} else if (_local3.checkerx) {
_root.fg.sorted[_local5].multi.gotoAndStop((tx % _local3.checkerx) + 1);
} else if (_local3.checkery) {
_root.fg.sorted[_local5].multi.gotoAndStop((ty % _local3.checkery) + 1);
} else if (_local3.table) {
var _local7 = ty % 2;
var _local11 = ((!_local7) ? (hastile(tx - 1, ty - 1, l)) : (hastile(tx, ty - 1, l)));
var _local14 = ((!_local7) ? (hastile(tx, ty - 1, l)) : (hastile(tx + 1, ty - 1, l)));
var _local12 = ((!_local7) ? (hastile(tx - 1, ty + 1, l)) : (hastile(tx, ty + 1, l)));
var _local15 = ((!_local7) ? (hastile(tx, ty + 1, l)) : (hastile(tx + 1, ty + 1, l)));
_root.fg.sorted[_local5].multi.gotoAndStop(tile_table(tl, _local11, _local14, _local12, _local15));
}
}
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.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, 0, 1);
_root.fg.sorted[_local4].swapDepths(_local3);
}
function sprite_position(id) {
var _local2 = world_sprites[id][0];
var _local4 = "s" + id;
var _local10 = (_local2.l ? (world_tilesB[_local2.tx][_local2.ty]) : (world_tilesA[_local2.tx][_local2.ty]));
var _local3 = tiledata[_local10];
var _local5 = tile2point(_local2.tx, _local2.ty);
var _local8 = _local5.px;
_local8 = _local8 + (_local3.sitx ? (_local3.sitx) : 0);
var _local7 = _local5.py;
_local7 = _local7 + (_local3.sity ? (_local3.sity) : 0);
_root.fg.sorted[_local4]._x = _local8;
_root.fg.sorted[_local4]._y = _local7;
var _local6 = _local2.gstate;
var _local9 = _local2.gdir;
if (_local2.gstate == "stand") {
_local6 = ((_local3.xstate != undefined) ? (_local3.xstate) : (_local2.gstate));
_local9 = ((_local3.xdir != undefined) ? (_local3.xdir) : (_local2.gdir));
}
_root.fg.sorted[_local4].gotoAndStop(_local2.gchar);
_root.fg.sorted[_local4].mc.gotoAndStop(_local6);
_root.fg.sorted[_local4].mc.mc.gotoAndStop(_local9);
_root.fg.sorted[_local4].mc.mc.mc.gotoAndPlay(1);
}
function get_depth(tx, ty, l, o, s) {
var _local1 = 0;
if (l) {
_local1 = _local1 + tilearea.layer;
}
_local1 = _local1 + ((ty - tilearea.yMin) * tilearea.fulline);
_local1 = _local1 + (tx - tilearea.xMin);
if (s) {
_local1 = _local1 + tilearea.line;
}
if (o) {
_local1 = _local1 + (tilearea.line * 2);
}
return(_local1);
}
function tile2tile(tx, ty, dir, dist) {
var _local4 = ty % 2;
var _local1 = (_local4 ? (Math.ceil(dist / 2)) : (Math.floor(dist / 2)));
ty = ty + (((dir == "se") || (dir == "sw")) ? (dist) : (-dist));
tx = tx + (((dir == "ne") || (dir == "se")) ? (_local1) : (-_local1));
return({tx:tx, ty:ty});
}
function tile2point(tx, ty) {
var _local4 = ty * tilep.halfh;
var _local1 = ty % 2;
var _local5 = (_local1 ? ((tx * tilep.w) + tilep.halfw) : (tx * tilep.w));
return({px:_local5, py:_local4});
}
function point2tile(px, py) {
var _local6 = Math.floor(py / tilep.halfh);
var _local2 = _local6 % 2;
px = px - (_local2 ? (tilep.halfw) : 0);
tx = Math.floor(px / tilep.w);
px = px - (tx * tilep.w);
py = py - (_local6 * tilep.halfh);
if (px < tilep.halfw) {
var _local5 = px / tilep.halfw;
var _local4 = py / tilep.halfh;
if ((_local5 + _local4) < 1) {
if (_local2) {
return({tx:tx, ty:_local6 - 1});
}
return({tx:tx - 1, ty:_local6 - 1});
}
} else if (px > tilep.halfw) {
px = px - tilep.halfw;
var _local5 = (tilep.halfw - px) / tilep.halfw;
var _local4 = py / tilep.halfh;
if ((_local5 + _local4) < 1) {
if (_local2) {
return({tx:tx + 1, ty:_local6 - 1});
}
return({tx:tx, ty:_local6 - 1});
}
}
return({tx:tx, ty:_local6});
}
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.mc._currentframe == _root.fg.sorted[_local3].mc.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.ul = 0;
clicks.ur = 0;
clicks.dl = 0;
clicks.dr = 0;
clicks.space = 0;
playerzone_check();
}
}
function checktileto(dir, opdir, id) {
var _local2 = world_sprites[id][0];
var _local24 = (_local2.l ? (world_tilesB[_local2.tx][_local2.ty]) : (world_tilesA[_local2.tx][_local2.ty]));
var _local8 = tiledata[_local24];
var _local9 = _local2.l;
var _local15 = 0;
if ((!_local2.l) && (_local8["layer" + dir])) {
_local9 = 1;
_local15 = 1;
}
var _local16 = _local2.ty % 2;
var _local14 = (_local8["exit" + dir] ? (_local8["exit" + dir]) : 0);
var _local13 = dir;
if (_local14 != 0) {
switch (dir) {
case "nw" :
_local13 = ((_local14 == 1) ? "north" : "west");
break;
case "ne" :
_local13 = ((_local14 == -1) ? "north" : "east");
break;
case "sw" :
_local13 = ((_local14 == 1) ? "south" : "west");
break;
case "se" :
_local13 = ((_local14 == -1) ? "south" : "east");
}
}
var _local22 = _local2.tx;
var _local21 = _local2.ty;
switch (_local13) {
case "nw" :
_local21--;
_local22 = _local22 - (_local16 ? 0 : 1);
break;
case "ne" :
_local21--;
_local22 = _local22 + (_local16 ? 1 : 0);
break;
case "sw" :
_local21++;
_local22 = _local22 - (_local16 ? 0 : 1);
break;
case "se" :
_local21++;
_local22 = _local22 + (_local16 ? 1 : 0);
break;
case "north" :
_local21 = _local21 - 2;
break;
case "south" :
_local21 = _local21 + 2;
break;
case "west" :
_local22--;
break;
case "east" :
_local22++;
}
var _local23 = world_tilesA[_local22][_local21];
var _local7 = tiledata[_local23];
if (_local9) {
if (_local7["layer" + opdir]) {
_local9 = 0;
_local15 = 1;
} else {
_local23 = world_tilesB[_local22][_local21];
_local7 = tiledata[_local23];
}
}
if (_local2.ignoreblocking) {
_local15 = 1;
}
if (!_local15) {
var _local18 = world_state[_local7.blockstate];
if (((_local7.blockx || (_local18)) || (_local23 == undefined)) || (_local23 == 0)) {
if (_local18 && (id != 0)) {
} else {
if ((_local18 && (id == 0)) && (_local7.blocktxt != undefined)) {
changestand(id);
movesprite(id);
var _local3 = (isNaN(_local7.blocktxt) ? (world_state[_local7.blocktxt]) : (_local7.blocktxt));
performaction(world_text[_local3]);
return(0);
}
return(0);
}
}
switch (dir) {
case "nw" :
if ((_local8.blocknw || (_local7.blockse)) || (_local7.trapse)) {
return(0);
}
break;
case "ne" :
if ((_local8.blockne || (_local7.blocksw)) || (_local7.trapsw)) {
return(0);
}
break;
case "sw" :
if ((_local8.blocksw || (_local7.blockne)) || (_local7.trapne)) {
return(0);
}
break;
case "se" :
if (!((_local8.blockse || (_local7.blocknw)) || (_local7.trapnw))) {
break;
}
return(0);
}
}
var _local5 = 0;
while (_local5 < ref_sprites.length) {
var _local3 = ref_sprites[_local5];
if (_local3 == id) {
} else {
var _local4 = world_sprites[_local3][0];
if (((_local9 == _local4.l) && (_local4.tx == _local22)) && (_local4.ty == _local21)) {
return({id:_local3, ret:0});
}
}
_local5++;
}
var _local12 = (_local9 ? (world_interactB[_local22][_local21]) : (world_interactA[_local22][_local21]));
if ((id == 0) && (_local12.lock || ((_local12.sprite > -1) && (world_sprites[_local12.sprite][0][_local12.propname] == _local12.propval)))) {
if (_local12.locktxt != undefined) {
changestand(id);
movesprite(id);
performaction(world_text[_local12.locktxt]);
}
return(0);
}
if (_local8["anim" + dir]) {
var _local19 = (_local2.l ? ((("bx" + _local2.tx) + "y") + _local2.ty) : ((("ax" + _local2.tx) + "y") + _local2.ty));
_root.fg.sorted[_local19].mc.gotoAndPlay(2);
}
if (_local7["anim" + opdir]) {
var _local19 = (_local9 ? ((("bx" + _local22) + "y") + _local21) : ((("ax" + _local22) + "y") + _local21));
_root.fg.sorted[_local19].mc.gotoAndPlay(2);
}
if (_local8["gstate" + dir]) {
_local2.gstate = _local8["gstate" + dir];
} else if (_local7["gstate" + opdir]) {
_local2.gstate = _local7["gstate" + opdir];
} else if (_local7[("gstate" + opdir) + "nx"]) {
_local2.gstate = "enter" + _local7[("gstate" + opdir) + "nx"];
} else if (_local8[("gstate" + dir) + "nx"]) {
_local2.gstate = "exit" + _local8[("gstate" + dir) + "nx"];
}
if (_local2.l != _local9) {
if (_local9) {
sprite_position(id);
_local2.l = 1;
sprite_depth(id);
} else {
movesprite(id);
_local2.l = 0;
}
} else if (_local7.under || (_local8.under)) {
if (_local21 > _local2.ty) {
sprite_position(id);
var _local20 = _local2.ty;
_local2.ty = _local21;
sprite_depth(id);
_local2.ty = _local20;
} else {
movesprite(id);
}
} else if (_local21 < _local2.ty) {
sprite_position(id);
var _local20 = _local2.ty;
_local2.ty = _local21;
sprite_depth(id);
_local2.ty = _local20;
} else {
movesprite(id);
}
return({tx:_local22, ty:_local21, tlon:_local24, tlto:_local23});
}
function preparespritemove(id, spd, obj) {
var _local2 = world_sprites[id][0];
var _local4 = tiledata[obj.tlon];
var _local7 = tiledata[obj.tlto];
var _local6 = nomovement_transition(_local2);
var _local11 = tile2point(_local2.tx, _local2.ty);
var _local10 = _local11.px;
var _local19 = (_local4.sitx ? (_local10 + _local4.sitx) : (_local10));
var _local8 = _local11.py;
var _local18 = (_local4.sity ? (_local8 + _local4.sity) : (_local8));
_local11 = tile2point(obj.tx, obj.ty);
var _local14 = (_local6 ? (_local10) : (_local11.px));
_local14 = _local14 + (_local7.sitx ? (_local7.sitx) : 0);
var _local13 = (_local6 ? (_local8) : (_local11.py));
_local13 = _local13 + (_local7.sity ? (_local7.sity) : 0);
var _local16 = _local14 - _local19;
var _local15 = _local13 - _local18;
if (spd == undefined) {
if (_local4.spd != undefined) {
spd = _local4.spd;
} else {
spd = _local2.spd;
}
}
var _local17 = "s" + id;
var _local12 = (_local6 ? (_root.fg.sorted[_local17].mc.mc.mc._totalframes) : ((gamep_spd[spd] * gamep.fpt) + 2));
_local2.moveratey = ((_local15 == 0) ? 0 : (_local15 / _local12));
_local2.moveratex = ((_local16 == 0) ? 0 : (_local16 / _local12));
_local2.turnarrive = (_local6 ? -25 : (gamep.tcount + gamep_spd[spd]));
_local2.live = 0;
_local2.gstate = gstate_transition(_local2);
var _local5 = (_local2.l ? (world_interactB[obj.tx][obj.ty]) : (world_interactA[obj.tx][obj.ty]));
if (_local5.l != undefined) {
_local2.l = _local5.l;
_local2.tx = _local5.tx;
_local2.ty = _local5.ty;
if (_local5.func != undefined) {
_root[_local5.func](_local2);
}
return(undefined);
}
_local2.tx = obj.tx;
_local2.ty = obj.ty;
}
function ctrlen() {
if (design == 1) {
control_length = inputs.length;
} else if (design == 2) {
control_length = 9;
} else {
control_length = 6;
}
}
function controls() {
var _local2 = 0;
while (_local2 < control_length) {
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 = 87;
inputs[0].kcode2 = 85;
inputs[1].kcode = 69;
inputs[1].kcode2 = 73;
inputs[2].kcode = 83;
inputs[2].kcode2 = 74;
inputs[3].kcode = 68;
inputs[3].kcode2 = 75;
keyboard_type = 1;
return(undefined);
case "azerty" :
inputs[0].kcode = 90;
inputs[0].kcode2 = 85;
inputs[1].kcode = 69;
inputs[1].kcode2 = 73;
inputs[2].kcode = 83;
inputs[2].kcode2 = 74;
inputs[3].kcode = 68;
inputs[3].kcode2 = 75;
keyboard_type = 2;
return(undefined);
case "dvorak" :
inputs[0].kcode = 188;
inputs[0].kcode2 = 67;
inputs[1].kcode = 190;
inputs[1].kcode2 = 82;
inputs[2].kcode = 79;
inputs[2].kcode2 = 84;
inputs[3].kcode = 69;
inputs[3].kcode2 = 78;
keyboard_type = 3;
return(undefined);
case "fallback" :
inputs[0].kcode = 37;
inputs[0].kcode2 = 100;
inputs[1].kcode = 38;
inputs[1].kcode2 = 101;
inputs[2].kcode = 40;
inputs[2].kcode2 = 97;
inputs[3].kcode = 39;
inputs[3].kcode2 = 98;
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 _local7 = point2tile(_root.fg._xmouse, _root.fg._ymouse);
var _local4 = _local7.tx;
var _local3 = _local7.ty;
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.one == 1) {
copyscreen();
clicks.one = 2;
} else if (clicks.two == 1) {
pastescreen();
clicks.two = 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;
ctrlen();
gameinit(0);
}
}
function testloop() {
if (clicks.playtest == 1) {
clicks.playtest = 2;
design = 1;
ctrlen();
gameexit();
designinit();
return(undefined);
}
if (clicks.leftclick == 1) {
var _local2 = point2tile(_root.fg._xmouse, _root.fg._ymouse);
var _local5 = _local2.tx;
var _local4 = _local2.ty;
clicks.leftclick = 2;
var _local3 = world_sprites[0][0];
_local3.tx = _local5;
_local3.ty = _local4;
createarea();
}
if (clicks.test == 1) {
clicks.test = 2;
}
}
function copyscreen() {
var _local6 = {x:0, y:0};
_root.fg.globalToLocal(_local6);
_local6 = point2tile(_local6.x, _local6.y);
var _local7 = {x:Stage.width, y:Stage.height};
_root.fg.globalToLocal(_local7);
_local7 = point2tile(_local7.x, _local7.y);
screen_tilesA = new Array();
screen_tilesB = new Array();
var _local4 = _local6.tx;
while (_local4 <= _local7.tx) {
var _local3 = _local4 - _local6.tx;
if (screen_tilesA[_local3] == undefined) {
screen_tilesA[_local3] = new Array();
}
if (screen_tilesB[_local3] == undefined) {
screen_tilesB[_local3] = new Array();
}
var _local2 = _local6.ty;
while (_local2 <= _local7.ty) {
var _local5 = _local2 - _local6.ty;
screen_tilesA[_local3][_local5] = world_tilesA[_local4][_local2];
screen_tilesB[_local3][_local5] = world_tilesB[_local4][_local2];
_local2++;
}
_local4++;
}
}
function pastescreen() {
var _local5 = {x:0, y:0};
_root.fg.globalToLocal(_local5);
_local5 = point2tile(_local5.x, _local5.y);
var _local7 = {x:Stage.width, y:Stage.height};
_root.fg.globalToLocal(_local7);
_local7 = point2tile(_local7.x, _local7.y);
var _local3 = _local5.tx;
while (_local3 <= _local7.tx) {
var _local6 = _local3 - _local5.tx;
var _local2 = _local5.ty;
while (_local2 <= _local7.ty) {
var _local4 = _local2 - _local5.ty;
world_tilesA[_local3][_local2] = screen_tilesA[_local6][_local4];
world_tilesB[_local3][_local2] = screen_tilesB[_local6][_local4];
_local2++;
}
_local3++;
}
createarea();
}
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");
}
ctrlen();
}
function finishgame(a) {
gameexit();
if (demoing) {
frameon("demoend");
} else {
frameon("menu");
}
}
function init_saves(d) {
var _local2 = _root._url.split(":");
demoing = (((_local2[0] == "http") || (d)) ? 1 : 0);
mainmen = ((!demoing) ? "full" : "demo");
mainmen = mainmen + ((prog == "0,0,0,0,0,0") ? "A" : "B");
}
function saveprogress(t) {
t = t.split(",");
var _local3 = prog.split(",");
var _local1 = 0;
while (_local1 < t.length) {
_local3[Number(t[_local1])] = t[_local1 + 1];
_local1 = _local1 + 2;
}
prog = _local3.join(",");
sav.data.prog = prog;
sav.flush();
}
function initminigame_pee() {
minigamep = {texting:0, canmove:0, section:0, min:20, max:796, spd:0, maxspd:10, accl:1.5, hitting:0, hits:0, goal:300, w:60, wh:90, streamspd:0, streamdir:1, streamaccl:0.75, streamburst:20};
_root.miniclip.gotoAndStop("pee");
_root.miniclip.mc.gotoAndStop("intro");
snd_initfade("bgaud", 0, 1, 0);
snd_play("pee", 1);
}
function minigame_pee() {
if (minigamep.texting) {
textcontrol(1);
return(undefined);
}
if (!minigamep.canmove) {
return(undefined);
}
switch (minigamep.section) {
case 0 :
_root.miniclip.mc.gotoAndStop("side");
_root.miniclip.mc.stream.gotoAndStop(1);
_root.miniclip.mc.bottle.goingin.gotoAndStop(2);
_root.miniclip.mc.bottle.peelevel.gotoAndStop(1);
minigamep.section++;
break;
case 1 :
minigame_peeside();
break;
case 2 :
_root.miniclip.mc.gotoAndStop("interlude");
minigamep.canmove = 0;
minigamep.section++;
break;
case 3 :
_root.miniclip.mc.gotoAndStop("front");
_root.miniclip.mc.bottle.miss.gotoAndStop(1);
_root.miniclip.mc.bottle.peelevel.gotoAndStop(1);
minigamep.maxspd = 15;
minigamep.hitting = 0;
minigamep.hits = 0;
minigamep.goal = 1000;
minigamep.section++;
break;
case 4 :
minigame_peefront();
break;
case 5 :
performaction([{func:"end_minigame", funcpass:"pee"}, "hikki::laugh::AHAHAHA.", "hikki::laugh::What a stupid thing to make a minigame.", "hikki::laugh::Oh lord."]);
}
}
function minigame_peefront() {
var _local2 = 0;
if (clicks.ul || (clicks.dl)) {
clicks.ul = 2;
clicks.dl = 2;
_local2 = -1;
} else if (clicks.ur || (clicks.dr)) {
clicks.ur = 2;
clicks.dr = 2;
_local2 = 1;
}
if ((_local2 == 0) || ((_local2 * minigamep.spd) < 0)) {
minigamep.spd = 0;
} else if (minigamep.spd == 0) {
minigamep.spd = _local2;
} else {
var _local11 = minigamep.maxspd * _local2;
var _local8 = minigamep.spd * minigamep.accl;
minigamep.spd = ((minigamep.maxspd < Math.abs(_local8)) ? (_local11) : (_local8));
}
var _local5 = _root.miniclip.mc.bottle._x + minigamep.spd;
if (_local5 < minigamep.min) {
minigamep.spd = 0;
_root.miniclip.mc.bottle._x = minigamep.min;
} else if (_local5 > minigamep.max) {
minigamep.spd = 0;
_root.miniclip.mc.bottle._x = minigamep.max;
} else {
_root.miniclip.mc.bottle._x = _local5;
}
if (minigamep.streamspd == 0) {
minigamep.streamspd = random(minigamep.streamburst);
}
var _local4 = _root.miniclip.mc.stream._x + (minigamep.streamspd * minigamep.streamdir);
if (_local4 < minigamep.min) {
minigamep.streamdir = 1;
_root.miniclip.mc.stream._x = minigamep.min;
} else if (_local4 > minigamep.max) {
minigamep.streamdir = -1;
_root.miniclip.mc.stream._x = minigamep.max;
} else {
_root.miniclip.mc.stream._x = _local4;
if (random(20) == 11) {
minigamep.streamdir = minigamep.streamdir * -1;
}
}
minigamep.streamspd = Math.floor(minigamep.streamspd * minigamep.streamaccl);
var _local6 = _root.miniclip.mc.bottle._x - minigamep.wh;
var _local9 = _local6 + minigamep.w;
var _local7 = _local9 + minigamep.w;
var _local10 = _local7 + minigamep.w;
_local2 = _root.miniclip.mc.stream._x;
if ((_local2 > _local6) && (_local2 < _local10)) {
if (_local2 < _local9) {
if (minigamep.hitting != 3) {
minigamep.hitting = 3;
_root.miniclip.mc.bottle.miss.gotoAndStop(3);
}
} else if (_local2 > _local7) {
if (minigamep.hitting != 2) {
minigamep.hitting = 2;
_root.miniclip.mc.bottle.miss.gotoAndStop(2);
}
} else {
minigamep.hits++;
var _local3 = Math.ceil((minigamep.hits / minigamep.goal) * 100);
_root.miniclip.mc.bottle.peelevel.gotoAndStop(_local3);
if (minigamep.hits >= minigamep.goal) {
minigamep.section++;
} else if (_local3 > 70) {
minigamep.hits++;
minigamep.streamburst = 90;
} else if (_local3 > 40) {
minigamep.hits = minigamep.hits + 3;
minigamep.streamburst = 50;
}
if (minigamep.hitting != 0) {
minigamep.hitting = 0;
_root.miniclip.mc.bottle.miss.gotoAndStop(1);
}
}
} else if (minigamep.hitting != 0) {
minigamep.hitting = 0;
_root.miniclip.mc.bottle.miss.gotoAndStop(1);
}
}
function minigame_peeside() {
var _local3 = 0;
if (clicks.ul || (clicks.dl)) {
clicks.ul = 2;
clicks.dl = 2;
_local3 = -1;
} else if (clicks.ur || (clicks.dr)) {
clicks.ur = 2;
clicks.dr = 2;
_local3 = 1;
}
if ((_local3 == 0) || ((_local3 * minigamep.spd) < 0)) {
minigamep.spd = 0;
} else if (minigamep.spd == 0) {
minigamep.spd = _local3;
} else {
var _local6 = minigamep.maxspd * _local3;
var _local5 = minigamep.spd * minigamep.accl;
minigamep.spd = ((minigamep.maxspd < Math.abs(_local5)) ? (_local6) : (_local5));
}
var _local4 = _root.miniclip.mc.bottle._x + minigamep.spd;
if (_local4 < minigamep.min) {
minigamep.spd = 0;
_root.miniclip.mc.bottle._x = minigamep.min;
} else if (_local4 > minigamep.max) {
minigamep.spd = 0;
_root.miniclip.mc.bottle._x = minigamep.max;
} else {
_root.miniclip.mc.bottle._x = _local4;
}
_local3 = _root.miniclip.mc.stream.hitTest(_root.miniclip.mc.bottle._x, _root.miniclip.mc.bottle._y, true);
if ((!minigamep.hitting) && (_local3)) {
_root.miniclip.mc.bottle.goingin.gotoAndStop(1);
minigamep.hitting = 1;
minigamep.hitsmooth = 20;
} else if (minigamep.hitting && (!_local3)) {
if (minigamep.hitsmooth) {
minigamep.hitsmooth--;
} else {
_root.miniclip.mc.bottle.goingin.gotoAndStop(2);
minigamep.hitting = 0;
}
}
if (_local3) {
minigamep.hits++;
var _local2 = Math.ceil((minigamep.hits / minigamep.goal) * 100);
_root.miniclip.mc.bottle.peelevel.gotoAndStop(_local2);
if (minigamep.hits >= minigamep.goal) {
minigamep.section++;
} else if (_local2 >= 60) {
_root.miniclip.mc.stream.gotoAndStop(3);
} else if (_local2 >= 30) {
_root.miniclip.mc.stream.gotoAndStop(2);
}
}
}
function minigame_peeanim(anim) {
if (!(anim === "toend")) {
} else {
minigamep.canmove = 1;
}
}
function initminigame_hands() {
snd_initfade("bgaud", 0, 1, 0);
snd_play("blood", 1);
minigamep = {texting:0, canmove:1, frames:0, pace:34, update:0, back:1, north:1, action:-1, turning:0, turnt:0, miss:0, section:0, small:0, big:0, flip1:0, flip2:0, flipseq:0, sequence:0};
hands_sequence_small = new Array();
hands_sequence_big = new Array();
var _local5 = 0;
while (_local5 < 4) {
var _local4 = random(5);
hands_sequence_small[_local5] = new Array();
var _local3 = 0;
while (_local3 < 4) {
hands_sequence_small[_local5].push(_local4);
var _local2 = random(5);
if (_local2 == _local4) {
_local2 = random(5);
}
_local4 = _local2;
_local3++;
}
hands_sequence_big[_local5] = new Array();
_local3 = 0;
while (_local3 < 5) {
hands_sequence_big[_local5].push(_local4);
var _local2 = random(5);
if (_local2 == _local4) {
_local2 = random(5);
}
_local4 = _local2;
_local3++;
}
_local5++;
}
hands_fliponce = new Array();
_local5 = 0;
while (_local5 < 5) {
hands_fliponce[_local5] = random(3) + 1;
_local5++;
}
hands_fliptwice = new Array();
_local5 = 0;
while (_local5 < 3) {
var _local4 = random(3) + 1;
hands_fliptwice[_local5] = [_local4, (random(4 - _local4) + _local4) + 1];
_local5++;
}
_root.miniclip.gotoAndStop("hands");
_root.miniclip.repeat.gotoAndStop(2);
}
function minigame_hands() {
if (minigamep.texting) {
textcontrol(1);
return(undefined);
}
if (!minigamep.canmove) {
return(undefined);
}
if (minigamep.update == 2) {
_root.miniclip.feedback.gotoAndStop(1);
_root.miniclip.repeat.gotoAndStop(2);
} else if (minigamep.update == 1) {
minigamep.update = 0;
if (minigamep.turning) {
if (minigamep.back) {
_root.miniclip.simon.gotoAndStop("ftob");
} else {
_root.miniclip.simon.gotoAndStop("btof");
}
minigamep.turning = 0;
minigamep.canmove = 0;
return(undefined);
}
var _local2 = (minigamep.back ? "b" : "f");
_local2 = _local2 + (minigamep.north ? "n" : "s");
switch (minigamep.action) {
case -1 :
break;
case 0 :
_local2 = _local2 + "w";
break;
case 1 :
_local2 = _local2 + "e";
break;
case 2 :
_local2 = _local2 + "sp";
}
_root.miniclip.simon.gotoAndStop(_local2);
}
switch (minigamep.section) {
case 0 :
minigame_textprep(["hand::::Watch as I do then do as I did."]);
minigamep.section++;
return(undefined);
case 1 :
minigame_handsactions(0, 0);
return(undefined);
case 2 :
minigame_handsrepeat(0);
return(undefined);
case 3 :
minigamep.update = 2;
_root.miniclip.feedback.gotoAndStop("success");
minigame_textprep(["hand::::Ok, you've got the basics down.", "hand::::Now comes the hard stuff."]);
minigamep.section++;
return(undefined);
case 4 :
minigame_handsactions(0, 1);
return(undefined);
case 5 :
minigame_handsrepeat(0);
return(undefined);
case 6 :
minigamep.update = 2;
_root.miniclip.feedback.gotoAndStop("success");
minigame_textprep(["hand::::Confusing isn't it?", "hand::::Let's step it up."]);
minigamep.section++;
return(undefined);
case 7 :
minigame_handsactions(1, 1);
return(undefined);
case 8 :
minigame_handsrepeat(1);
return(undefined);
case 9 :
minigamep.update = 2;
_root.miniclip.feedback.gotoAndStop("success");
minigame_textprep(["hand::::I'm impressed.", "hand::::This will be the last one."]);
minigamep.section++;
return(undefined);
case 10 :
minigame_handsactions(1, 2);
return(undefined);
case 11 :
minigame_handsrepeat(1);
return(undefined);
case 12 :
_root.miniclip.feedback.gotoAndStop("success");
_root.miniclip.win.gotoAndPlay(2);
_root.miniclip.simon.gotoAndStop("blank");
minigamep.section++;
minigamep.canmove = 0;
return(undefined);
case 13 :
performaction([{func:"end_minigame", funcpass:"hands", func2:"locks", func2pass:mwell_fill}, "hikki::bloody::"]);
return(undefined);
}
}
function minigame_handsrepeat(seq) {
var _local2 = -1;
if (clicks.ul == 1) {
clicks.ul = 2;
_local2 = 0;
_root.snd_play("westminster_B");
} else if (clicks.ur == 1) {
clicks.ur = 2;
_local2 = 1;
_root.snd_play("westminster_E");
} else if (clicks.dl == 1) {
clicks.dl = 2;
_local2 = 2;
_root.snd_play("westminster_Gs");
} else if (clicks.dr == 1) {
clicks.dr = 2;
_local2 = 3;
_root.snd_play("westminster_Fs");
} else if (clicks.space == 1) {
clicks.space = 2;
_local2 = 4;
_root.snd_play("westminster_combo");
}
if (_local2 != -1) {
var _local4 = (seq ? (hands_sequence_big[minigamep.big][minigamep.sequence]) : (hands_sequence_small[minigamep.small][minigamep.sequence]));
if (_local2 == _local4) {
minigamep.sequence++;
var _local5 = (seq ? (hands_sequence_big[minigamep.big].length) : (hands_sequence_small[minigamep.small].length));
if (minigamep.sequence == _local5) {
minigamep.sequence = 0;
minigamep.section++;
if (seq) {
minigamep.big++;
} else {
minigamep.small++;
}
}
} else {
minigamep.miss++;
if (minigamep.miss == 3) {
_root.miniclip.xxx.gotoAndPlay(4);
snd_stop("blood");
performaction([{func:"end_minigame"}, "hand::::Ok, now I said I wanted to know what you thought of the game BUT...", "hand::::As it stands you're quite pathetic at this game and WELL...", "hand::::I can't really take criticism... from someone as pathetic as you SO...", "hand::::I ask that you try again and succeed before offering your opinion on this game's quality."]);
} else {
if (seq) {
minigamep.big++;
} else {
minigamep.small++;
}
minigamep.sequence = 0;
minigamep.section--;
minigamep.update = 2;
_root.miniclip.xxx.gotoAndStop(minigamep.miss + 1);
_root.miniclip.feedback.gotoAndStop("fail");
switch (random(5)) {
case 0 :
minigame_textprep(["hand::::No see, that's wrong.", "hand::::Let's try again."]);
break;
case 1 :
minigame_textprep(["hand::::Rookie mistake.", "hand::::Let's try again."]);
break;
case 2 :
minigame_textprep(["hand::::Are you even paying attention?", "hand::::Let's try again."]);
break;
case 3 :
minigame_textprep(["hand::::I don't even get how you thought that was correct.", "hand::::Let's try again."]);
break;
case 4 :
minigame_textprep(["hand::::Don't do that again as we do this again."]);
}
}
}
}
}
function minigame_handsactions(seq, flp) {
minigamep.frames++;
if (minigamep.frames == minigamep.pace) {
minigamep.frames = 0;
} else {
return(undefined);
}
minigamep.update = 1;
if (minigamep.action != -1) {
minigamep.action = -1;
return(undefined);
}
if (!minigamep.turnt) {
if (flp == 1) {
var _local2 = hands_fliponce[minigamep.flip1];
} else if (flp == 2) {
var _local2 = hands_fliptwice[minigamep.flip2][minigamep.flipseq];
}
if (_local2 == minigamep.sequence) {
if (!minigamep.north) {
minigamep.north = 1;
return(undefined);
}
minigamep.flipseq++;
minigamep.turning = 1;
minigamep.back = (minigamep.back ? 0 : 1);
minigamep.turnt = 1;
return(undefined);
}
}
var _local2 = (seq ? (hands_sequence_big[minigamep.big][minigamep.sequence]) : (hands_sequence_small[minigamep.small][minigamep.sequence]));
if (_local2 == undefined) {
if (minigamep.section == 10) {
if (!minigamep.north) {
minigamep.north = 1;
return(undefined);
}
if (minigamep.back) {
minigamep.back = 0;
minigamep.turning = 1;
return(undefined);
}
}
_root.miniclip.feedback.gotoAndStop("repeat");
_root.miniclip.repeat.gotoAndStop(1);
minigamep.update = 0;
minigamep.sequence = 0;
minigamep.flipseq = 0;
if (flp) {
minigamep["flip" + flp]++;
}
minigamep.section++;
return(undefined);
}
if (((!minigamep.north) && ((_local2 == 0) || (_local2 == 1))) || (minigamep.north && ((_local2 == 2) || (_local2 == 3)))) {
minigamep.north = (minigamep.north ? 0 : 1);
return(undefined);
}
minigamep.action = ((_local2 > 1) ? (_local2 - 2) : (_local2));
minigamep.sequence++;
minigamep.turnt = 0;
}
function minigame_handsanim(anim) {
if (!(anim === "toend")) {
} else {
minigamep.canmove = 1;
}
}
function initminigame_lab() {
minigamep = {texting:0, flask:0, moves:0, cmyk:"c", canmove:1, reset:0, pour1:"c", pour2:"c", pour3:"c"};
minigamep.c = world_state.cjuice;
minigamep.m = world_state.mjuice;
minigamep.y = world_state.yjuice;
minigamep.k = world_state.kjuice;
_root.miniclip.gotoAndStop("lab");
_root.miniclip.mc.gotoAndStop("c");
minigame_labanim("set");
var _local2 = (world_state.mouthd ? 1 : 3);
_root.miniclip.mc.tag1.gotoAndStop(_local2);
_local2 = (world_state.lolid ? 2 : 3);
_root.miniclip.mc.tag2.gotoAndStop(_local2);
}
function minigame_lab() {
if (minigamep.texting) {
textcontrol(1);
return(undefined);
}
if (!minigamep.canmove) {
return(undefined);
}
if (minigamep.flask == 3) {
var _local2 = {c:0, m:0, y:0, k:0};
_local2.c = ((((minigamep.pour1 == "c") || (minigamep.pour2 == "c")) || (minigamep.pour3 == "c")) ? 1 : 0);
_local2.m = ((((minigamep.pour1 == "m") || (minigamep.pour2 == "m")) || (minigamep.pour3 == "m")) ? 1 : 0);
_local2.y = ((((minigamep.pour1 == "y") || (minigamep.pour2 == "y")) || (minigamep.pour3 == "y")) ? 1 : 0);
_local2.k = ((((minigamep.pour1 == "k") || (minigamep.pour2 == "k")) || (minigamep.pour3 == "k")) ? 1 : 0);
if ((_local2.c && (_local2.m)) && (_local2.y)) {
performaction({cut:"potionhand", func:"end_minigame", funcpass:"destroy", func2:"change_world", func2pass:"state,5,glass,1"});
return(undefined);
}
if ((_local2.k && (_local2.m)) && (_local2.y)) {
if (world_state.mouthd) {
performaction([{func:"end_minigame"}, "hikki::mono::I've already mixed these...", "hikki::mono::I like having a mouth...", "hikki::mono::Even if it isn't mine."]);
return(undefined);
}
performaction({cut:"potionmouth", func2:"end_minigame", func2pass:"juice", func:"change_world", funcpass:"state,2,mouthd,1"});
return(undefined);
}
if ((_local2.k && (_local2.c)) && (_local2.y)) {
if (world_state.lolid) {
performaction([{func:"end_minigame"}, "hikki::mono::I've already mixed these...", "hikki::mono::Being young again was freeing but...", "hikki::mono::..."]);
return(undefined);
}
performaction({cut:"potionloli", func2:"end_minigame", func2pass:"juice", func:"change_world", funcpass:"state,6,lolid,1,trydoor,-1,mwell,0,kwell,1,cwell,1"});
return(undefined);
}
if ((_local2.k && (_local2.m)) && (_local2.c)) {
if (world_state.lolid) {
performaction({cut:"potiondeath", func:"end_minigame", funcpass:"destroy", func2:"change_world", func2pass:"state,8,glass,1,trydoor,-1"});
return(undefined);
}
performaction({cut:"potiondie"});
return(undefined);
}
} else if ((((!minigamep.c) && (!minigamep.m)) && (!minigamep.y)) && (!minigamep.k)) {
if (minigamep.flask == 0) {
if (minigamep.moves > 1) {
if (world_state.alchemy == 0) {
performaction([{func:"end_minigame"}, "hikki::mono::A chemistry set..."]);
} else {
performaction([{func:"end_minigame"}, "hikki::mono::I should try to fill these vials."]);
}
return(undefined);
}
} else {
var _local4 = world_sprites[0][0];
if (_local4.gchar == "loli") {
performaction([{func:"end_minigame"}, "loli::smile::Potions!"]);
} else {
performaction([{func:"end_minigame"}, "hikki::mono::I believe I will require atleast 3 full vials to perform any alchemic feats."]);
}
return(undefined);
}
}
var _local3 = "";
if (clicks.ul == 1) {
clicks.ul = 2;
_local3 = "c";
} else if (clicks.ur == 1) {
clicks.ur = 2;
_local3 = "m";
} else if (clicks.dl == 1) {
clicks.dl = 2;
_local3 = "y";
} else if (clicks.dr == 1) {
clicks.dr = 2;
_local3 = "k";
}
if ((_local3 != "") && (_local3 != minigamep.cmyk)) {
_root.miniclip.mc.gotoAndStop((minigamep.cmyk + "to") + _local3);
minigamep.cmyk = _local3;
minigamep.canmove = 0;
if (minigamep.reset) {
minigame_labanim("set");
minigamep.reset = 0;
}
minigamep.moves++;
return(undefined);
}
if (clicks.space == 1) {
clicks.space = 2;
if (minigamep[minigamep.cmyk]) {
minigamep[minigamep.cmyk] = 0;
minigamep.flask++;
minigamep["pour" + minigamep.flask] = minigamep.cmyk;
minigamep.reset = 1;
_root.miniclip.mc.gotoAndStop(minigamep.cmyk + "pour");
minigame_labanim("set");
minigamep.canmove = 0;
}
}
}
function minigame_labanim(anim) {
switch (anim) {
case "set" :
_root.miniclip.mc.c.gotoAndStop(minigamep.c + 1);
_root.miniclip.mc.m.gotoAndStop(minigamep.m + 1);
_root.miniclip.mc.y.gotoAndStop(minigamep.y + 1);
_root.miniclip.mc.k.gotoAndStop(minigamep.k + 1);
break;
case "pour" :
_root.miniclip.mc.flask.gotoAndStop(minigamep.flask + 1);
_root.miniclip.mc.flask["pour" + minigamep.flask].mc.gotoAndStop(minigamep["pour" + minigamep.flask]);
break;
case "toend" :
minigamep.canmove = 1;
}
}
function end_minigame(v) {
switch (v) {
case "juice" :
world_state.cjuice = minigamep.c;
world_state.mjuice = minigamep.m;
world_state.yjuice = minigamep.y;
world_state.kjuice = minigamep.k;
break;
case "hands" :
change_world("mwell,1,state,1");
snd_stop("blood");
break;
case "pee" :
if (demoing) {
finishgame("demo");
return(undefined);
}
change_world("ywell,1,minibottle,1,bigbottle,2");
locks(ywell_fill);
snd_stop("pee");
break;
case "destroy" :
world_state.cjuice = minigamep.c;
world_state.mjuice = minigamep.m;
world_state.yjuice = minigamep.y;
world_state.kjuice = minigamep.k;
performaction({func:"locks", funcpass:destroy_lab});
break;
}
snd_initfade("bgaud", 0, 1, 100);
gamep.state = "playing";
_root.miniclip.gotoAndStop(1);
}
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;
}
world_txtA = "0x43,6x6,5x2,br,0x41,6x6,5x4,br,0x9,6,0,6,0,6,0,6,0,5,0x11,6x8,5x2,6x6,5x4,br,0x7,6x8,5x5,0x7,8,6,8,6,8,6,8,6,5x7,0,5x4,0x16,2x3,br,0x5,6x8,5x8,0x7,7x8,5x9,0x16,2x7,br,0x3,6x8,5x8,0x11,7x8,5x8,0x14,2x7,br,0,8,6,8,6,8,6,8,6,5x8,0x15,7x8,5x7,0x15,2x3,br,0x2,7x8,5x5,0x19,7x8,5x3,0x14,3x3,br,0x4,7,0,7,0,7,0,7,0,5,0x45,3x3,br,br,br,br,br,0x29,6x10,5x3,br,0x9,10,0,10,0,10,0,4,0x11,8,6,8,6,8,6,8,6,8,6,5x7,0x15,6x8,5x3,br,0x7,10x6,4x5,0x10,7,0,7,0,7,0,7,0,7,0,5x8,0x11,6x8,5x7,br,0x5,12,10,12,10,12,10,4x9,0x8,9x9,0,5x10,0x7,6x8,5x8,br,0x6,11x6,4x9,0x7,9,0,9,0,9,0,9,0,9,0,5x9,0x6,8,6,8,6,8,6,8,6,5x8,br,0x8,11x6,4x5,0x8,8,6,8,6,8,6,8,6,8,6,5x8,0x9,7x8,5x5,br,0x10,11,0,11,0,11,0,4,0x11,7x10,5x5,0x13,7,0,7,0,7,0,7,0,5,br,0x30,7,0,7,0,7,0,7,0,7,0,5,br,br,br,0x7,6,0,6,0,6,0,2,0x5,3x3,0x13,6,0,6,0,6,0,2,br,0x5,6x6,2x5,0,3x7,0x9,6x6,2x5,br,0x3,6x6,2x9,3x5,0x8,6x6,2x9,0x9,6x8,5x3,br,0,9,6,9,6,9,6,2x13,3,0x8,6x6,2x13,0x5,8,6,8,6,8,6,8,6,5x7,br,0,9x5,0,2x15,0x5,6x6,2x16,0x5,7x8,5x8,br,0x2,7x6,2x16,0x2,9x5,0,2x15,0x9,7x8,5x8,br,0x4,7x6,2x13,0x3,9,7,9,7,9,7,2x13,3,0x12,7x8,5x5,br,0x6,7x6,2x9,0x7,7x6,2x9,3x5,0x12,7,0,7,0,7,0,7,0,5,br,0x8,7x6,2x5,0x11,7x6,2x5,0,3x7,br,0x10,7,0,7,0,7,0,2,0x15,7,0,7,0,7,0,2,0x5,3x3,br,br,br,br,0x9,6,0,6,0,6,0,3,0x17,6,0,6,0,6,0,3,br,0x7,6x6,37x3,3x2,0x13,6x6,3x5,br,0x5,6x6,37,3x2,37x3,3x3,0x9,6x6,3x2,38,3x6,br,0x3,8,6,8,6,8,6,3,37x4,3x7,0x7,8,7,8,7,8,7,3,38x4,3x7,br,0x4,7x6,3x2,37,3x6,0x11,7x6,38,3x2,38x3,3x3,br,0x6,7x6,3x5,0x15,7x6,38x3,3x2,br,0x8,7,0,7,0,7,0,3,0x19,7,0,7,0,7,0,3,br,br,br,br,br,br,br,0x9,6x6,3x3,0x17,6x6,3x3,br,0x7,8,6,8,6,8,6,3x7,0x13,8,6,8,6,8,6,3x7,br,0x8,7x6,3x5,0x15,7x6,3x5,br,0x10,7,0,7,0,7,0,3,0x19,7,0,7,0,7,0,3,br,br,br,br,br,br,br,0x9,6,0,6,0,6,0,3,br,0x7,6x6,37x3,3x2,br,0x5,6x6,37,3x2,37x3,3x3,br,0x3,8,6,8,6,8,6,3,37x4,3x7,br,0x4,7x6,3x2,37,3x6,br,0x6,7x6,3x5,br,0x8,7,0,7,0,7,0,3";
world_txtB = "br,0x47,1,br,0x17,1,0,20,0x15,17,0,1x3,0x3,55,54,1x3,br,0x14,17,1x5,0x15,52,1,53,1x4,55,1x4,0x15,1x4,0,1,br,0x13,29,1x7,0x15,1x9,0x16,1x7,br,0x9,17,0,1,29,1x6,0x17,18,0,1,30,1x6,0x14,1x7,br,0x9,1x2,51,52,1x4,0x23,30x2,1x5,0x15,1x3,0,1,br,0x9,18,1x5,0x27,1x3,19,0x13,1x3,br,0x12,1,0x45,1x5,br,0x60,1,br,br,br,br,0x37,17,0,1x3,br,0x15,1,0x21,1x7,0x23,47x2,1,0,20,br,0x13,1x3,0,33,0x20,1x8,0x22,1x4,br,0x11,34,1x6,32,1,0x14,22,0,9,0x2,1x9,0x17,42,0,1x4,br,0x12,1x2,31,36,1x5,0x13,21,0,9,0x2,1x8,0x16,43,0,1x4,br,0x10,23,24,0x2,1x5,0,19,0x16,1x8,0x18,50,1x3,br,0x16,1,0x20,18,1x5,0x21,50,0x3,51,br,0x40,1,br,br,br,0x13,1,0,16,0x3,29,1x2,0x17,13,0,1,br,0x10,17,1x5,0,29x2,1x3,58,1,0x15,1x5,br,0x6,25,0,17,1x10,30,1,30,1,0x13,13,1x5,52,1x3,0,20,0x15,49x2,1,br,0x5,9,0x2,1x7,28,1x5,0x12,13,0,1x4,29x2,1x7,0x15,46,1x4,br,0x5,9,0x2,1x8,28x2,1x4,16,0x10,1x4,29x2,1x4,27,1x5,0x16,45,1x4,br,0x8,1x4,30x2,1x4,28,1x5,0x6,9,0x2,1x3,51,1x4,27x2,1x4,15,0x20,1x4,br,0x8,14,0,1x4,30x2,1x7,0x7,9,0x2,1x7,27,1x5,0x21,48,1x3,19,br,0x11,14,1x9,0,19,0x8,26,0,18,1x3,53,1x5,29,1x2,28x2,0x20,48,br,0x14,1x5,0x16,18,1x5,0,1,30,53,1x2,27,52,br,0x14,14,0,1,0x21,1,0,15,0x3,30,1,27,br,br,br,br,0x15,1,0x21,13,0,1,br,0x15,57,1x2,0x19,1x5,br,0x12,1x2,0x3,1x3,16,0x14,40,1,0,1x6,br,0x9,39,0x2,57,0,1x7,0x13,40,0x2,56,0,1x7,br,0x10,39,1,0,1x6,0x18,1x2,0x3,1x3,br,0x12,1x5,0x23,56,1x2,br,0x14,1,0x25,1,br,br,br,br,br,br,br,0x15,1x3,0x23,1x3,0,20,br,0x13,1x3,53x2,1x2,0x19,1x2,53,1x4,br,0x14,51,1,52,1,51,19,0x20,1x3,52,51,br,0x16,1,0x25,1,br,br,br,br,br,br,br,0x15,1,br,0x15,57,1x2,br,0x12,1x2,0x3,1x3,br,0x9,39,0x2,57,0,1x7,br,0x10,39,1,0,1x6,br,0x12,1x5,br,0x12,14,0,1";
world_tilesA = importtiles(world_txtA);
world_tilesB = importtiles(world_txtB);
tiledata = new Array();
tmp = 13;
tiledata[tmp] = {animse:1, forceout:"se", gstatese:"northdoor"};
tiledata[tmp + 1] = {animsw:1, forceout:"sw", gstatesw:"northdoor"};
tiledata[tmp + 2] = {animnw:1, forceout:"nw", under:1};
tiledata[tmp + 3] = {animne:1, forceout:"ne", under:1};
tmp = tmp + 4;
tiledata[tmp] = {animse:1, forceout:"se", gstatese:"northdoor"};
tiledata[tmp + 1] = {animsw:1, forceout:"sw", gstatesw:"northdoor"};
tiledata[tmp + 2] = {animnw:1, forceout:"nw", under:1};
tiledata[tmp + 3] = {animne:1, forceout:"ne", under:1};
tmp = 27;
tiledata[tmp] = {xstate:"sit", xdir:"nw", blockse:1};
tiledata[tmp + 1] = {xstate:"sit", xdir:"ne", blocksw:1};
tiledata[tmp + 2] = {xstate:"sit", xdir:"se", blocknw:1};
tiledata[tmp + 3] = {xstate:"sit", xdir:"sw", blockne:1};
tmp = tmp + 4;
tiledata[tmp] = {blockx:1};
tiledata[tmp + 1] = {blockx:1};
tiledata[tmp + 2] = {xstate:"sit", xdir:"ne", blocksw:1};
tmp = tmp + 3;
tiledata[tmp] = {blockx:1};
tiledata[tmp + 1] = {blockx:1};
tiledata[tmp + 2] = {blockx:1};
tmp = tmp + 3;
tiledata[tmp] = {blockx:1, table:1};
tiledata[tmp + 1] = {blockx:1, table:1};
tmp = tmp + 2;
tiledata[tmp] = {blockx:1};
tiledata[tmp + 1] = {blockx:1};
tmp = tmp + 2;
tiledata[tmp] = {blockx:1};
tiledata[tmp + 1] = {blockx:1};
tiledata[tmp + 2] = {blockx:1};
tiledata[tmp + 3] = {blockx:1};
tiledata[tmp + 4] = {blockx:1};
tiledata[tmp + 5] = {blockx:1};
tmp = tmp + 6;
tiledata[tmp] = {under:1};
tiledata[tmp + 1] = {under:1};
tiledata[tmp + 2] = {under:1};
tiledata[tmp + 3] = {under:1};
tmp = 54;
tiledata[tmp] = {animse:1, forceout:"se", gstatese:"northdoor"};
tiledata[tmp + 1] = {blockx:1};
tiledata[tmp + 2] = {xstate:"bed", xdir:"nw", gstatese:"stand", sitx:-20, sity:-6};
tiledata[tmp + 3] = {xstate:"bed", xdir:"ne", gstatesw:"stand", sitx:20, sity:-6};
tiledata[tmp + 4] = {blockx:1};
world_map = new Array();
world_map[0] = [{desc:"m-hall", snd:"hall2"}, {desc:"psycheoffice", snd:"inside2"}, {desc:"f-side", snd:"hall"}, {desc:"f-room", snd:"inside2"}, {desc:"m-isolation", snd:"inside2"}, {desc:"m-room2", snd:"inside2"}];
world_map[1] = [{desc:"f-hall", snd:"hall2"}, {desc:"center", snd:"hall"}, {desc:"m-side", snd:"inside"}, {desc:"m-room1", snd:"inside2"}, {desc:"f-isolation", snd:"inside2"}];
world_map[2] = [{desc:"empty", snd:""}, {desc:"m-toilet", snd:"hall"}, {desc:"f-toilet", snd:"hall"}];
world_text = new Array();
world_interactA = new Array();
world_interactB = new Array();
var i = 0;
while (i < 70) {
world_interactB[i] = new Array();
i++;
}
world_text[100] = {};
world_text[0] = [0, "pc::d::It's locked."];
world_interactB[3][14] = {tx:5, ty:65, l:1, lock:1, locktxt:0};
world_interactB[6][66] = {tx:3, ty:14, l:1};
world_interactB[5][9] = {tx:51, ty:19, l:1, lock:0};
world_interactB[51][19] = {tx:5, ty:9, l:1, lock:0};
world_interactB[2][19] = {tx:19, ty:37, l:1, lock:1, locktxt:0};
world_interactB[19][37] = {tx:2, ty:19, l:1, lock:1};
world_interactB[7][9] = {tx:25, ty:47, l:1, lock:0};
world_interactB[25][47] = {tx:7, ty:9, l:1, lock:1};
world_interactB[2][44] = {tx:18, ty:20, l:1, lock:0};
world_interactB[18][20] = {tx:2, ty:44, l:1, lock:0};
world_interactB[5][36] = {tx:49, ty:45, l:1, lock:0};
world_interactB[49][45] = {tx:5, ty:36, l:1, lock:0};
world_interactB[7][45] = {tx:13, ty:37, l:1, lock:1};
world_interactB[13][37] = {tx:7, ty:45, l:1, lock:1};
world_interactB[2][35] = {tx:30, ty:22, l:1, lock:1};
world_interactB[30][22] = {tx:2, ty:35, l:1, lock:1};
world_interactB[31][35] = {tx:14, ty:71, l:1, lock:0};
world_interactB[14][71] = {tx:31, ty:35, l:1, lock:0};
world_interactB[32][40] = {tx:36, ty:37, l:1, lock:0};
world_interactB[36][37] = {tx:32, ty:40, l:1, lock:0};
world_interactB[30][33] = {tx:4, ty:66, l:1, lock:1};
world_interactB[3][67] = {tx:30, ty:33, l:1, lock:1};
world_interactB[28][47] = {tx:3, ty:63, l:1, lock:1};
world_interactB[3][62] = {tx:28, ty:47, l:1, lock:1};
world_interactB[26][33] = {tx:7, ty:61, l:1, lock:1};
world_interactB[8][62] = {tx:26, ty:33, l:1, lock:1};
world_interactB[25][36] = {tx:8, ty:60, l:1, lock:1};
world_interactB[8][61] = {tx:25, ty:36, l:1, lock:1};
world_interactB[23][39] = {tx:8, ty:59, l:1, lock:1};
world_interactB[9][60] = {tx:23, ty:39, l:1, lock:1};
world_interactB[24][10] = {tx:29, ty:71, l:1, lock:0};
world_interactB[29][71] = {tx:24, ty:10, l:1, lock:0};
world_interactB[27][22] = {tx:65, ty:12, l:1, lock:0};
world_interactB[65][12] = {tx:27, ty:22, l:1, lock:0};
world_interactB[30][11] = {tx:38, ty:20, l:1, lock:1};
world_interactB[38][20] = {tx:30, ty:11, l:1, lock:0};
world_interactB[25][8] = {tx:6, ty:62, l:1, lock:1};
world_interactB[6][63] = {tx:25, ty:8, l:1, lock:1};
world_interactB[23][15] = {lock:1};
world_interactB[29][8] = {lock:1};
world_interactB[32][14] = {lock:1};
world_interactB[39][37] = {lock:1};
world_interactB[62][12] = {lock:1};
world_sprites = new Array();
sub_pc = (world_sprites[0] = new Array());
sub_friend = (world_sprites[1] = new Array());
sub_girl = (world_sprites[2] = new Array());
sub_hikki = (world_sprites[3] = new Array());
sub_psyche = (world_sprites[4] = new Array());
sub_therapist = (world_sprites[5] = new Array());
sub_a = (world_sprites[6] = new Array());
sub_b = (world_sprites[7] = new Array());
sub_autist = (world_sprites[8] = new Array());
sub_anon1 = (world_sprites[9] = new Array());
sub_anon2 = (world_sprites[10] = new Array());
sub_anon3 = (world_sprites[11] = new Array());
sub_anon4 = (world_sprites[12] = new Array());
sub_anon5 = (world_sprites[13] = new Array());
sub_anon6 = (world_sprites[14] = new Array());
sub_anon7 = (world_sprites[15] = new Array());
sub_numbers = {pc:0, friend:1, girl:2, hikki:3, psyche:4, therapist:5, a:6, b:7, autist:8, anon1:9, anon2:10, anon3:11, anon4:12, anon5:13, anon6:14, anon7:15};
sub_psyche.push({tx:3, ty:64, state:1, l:1, gchar:"psyche", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_therapist.push({tx:3, ty:64, state:1, l:1, gchar:"therapist", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_b.push({tx:3, ty:64, state:1, l:1, gchar:"attendingB", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_anon4.push({tx:3, ty:64, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_anon5.push({tx:3, ty:64, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_anon6.push({tx:3, ty:64, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_anon7.push({tx:3, ty:64, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_psyche.push({});
sub_therapist.push({});
sub_b.push({});
sub_anon4.push({});
sub_anon5.push({});
sub_anon6.push({});
sub_anon7.push({});
sub_friend.push({tx:29, ty:40, state:1, l:1, gchar:"friend", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_girl.push({tx:27, ty:38, state:1, l:1, gchar:"girl", gstate:"stand", gdir:"se", spd:0, forceinclude:1});
sub_hikki.push({tx:27, ty:37, state:1, l:1, gchar:"hikki", gstate:"stand", gdir:"se", spd:0, forceinclude:1});
sub_autist.push({tx:26, ty:40, state:1, l:1, gchar:"autist", gstate:"stand", gdir:"se", spd:0, forceinclude:1});
sub_anon1.push({tx:26, ty:39, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"se", spd:0, forceinclude:1});
sub_anon2.push({tx:27, ty:43, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_anon3.push({tx:28, ty:42, state:1, l:1, gchar:"anon", gstate:"stand", gdir:"nw", spd:0, forceinclude:1});
sub_friend.push({});
sub_girl.push({});
sub_hikki.push({});
sub_autist.push({});
sub_anon1.push({});
sub_anon2.push({});
sub_anon3.push({});
sub_pc.push({tx:50, ty:15, state:1, l:1, gchar:"pc", gstate:"out", gdir:"ne", spd:0, pdelay:-1, forceinclude:1});
sub_pc.push({gstate:"out", pdelay:3, pa:1});
world_text[1] = [{canur:1, canul:1, candr:1, candl:1, sprite:0, propname:"gstate", propval:"stand"}, "pc::pain::Ugh, owwwww.", "pc::pain::(Where am I?)"];
sub_pc.push({pzone:"51,18", pa:2});
world_text[2] = [0, "pc::regret::(Oh, right.)", "pc::d::(Last night my mother took me here.)"];
sub_pc.push({});
sub_a.push({tx:25, ty:42, state:1, l:1, gchar:"attendingA", gstate:"stand", gdir:"ne", spd:0, forceinclude:1});
sub_a.push({pzone:"25,44,26,44,27,44,27,46,27,47", pa:15});
sub_a.push({gdir:"se", pa:3, pdelay:1});
world_text[3] = [0, "a::d::Ah, good you're up.", "a::d::Come here, we'll have introductions."];
sub_a.push({touchse:4, touchskip:1, tdir:"ne", pdir:"ne"});
world_text[4] = [{nextext:5}, "a::d::Everyone, this is Andrew.", "pc::shy::Hi.", "a::d::We'll go around and introduce everyone, starting with James.", "autist::eyeshut::...", "a::d::James.", "autist::eyeshutmad::NO!", "a::d::I know you're grumpy in the morning but watch yourself James.", "autist::eyeshut::Mmmm...", "a::d::Next.", "anon::d::Deacon.", "girl::d::Chloe."];
world_text[5] = [{precut:"meetgirl", sav:"3,3", cut:"goalsheet", as:"pc,girl"}, "a::d::What have we said about this? Real name.", "girl::laugh::Haha, sorry. My name is Karen.", "pc::lovestruck::(Karen...)", "a::d::REAL name.", "girl::nofun::Kiernan.", "a::d::Next.", "hikki::d::I'm Morgan.", "friend::tired::Michael.", "anon::d::Evan", "anon::d::Fredrick.", "a::d::And I'm Ben, the attending.", "a::d::Right now we're doing morning goals so I want you to take a seat with everyone else and fill this out."];
sub_a.push({gdir:"ne"});
sub_girl.push({touchse:6});
world_text[6] = [0, "girl::glance::..."];
sub_pc.push({pzone:"28,41", pa:7});
sub_pc.push({});
world_text[7] = [{nextext:8}, "pc::d::(Alright, let's see...)", "pc::d::(The first question is 'What is your goal for the day?')", "pc::perplex::(My goal for the day? What does that even mean?)", "pc::perplex::(This is a psychiatric hospital so I guess I'm supposed to be getting better, but how do you have a goal for that?)", "pc::regret::(I don't even know what's wrong with me.)", "pc::d::(My goal for the day...)"];
world_text[8] = [{choice:"9,9,9"}, "pc::d::('Control my impulses' sounds like something someone might say in this situation...)", "pc::d::('Get to know everyone' is a legitimate goal for a first day anywhere I think...)", "pc::d::('Get better' is kinda stupid and unspecific but what else is there...)"];
world_text[9] = [{nextext:10}, "pc::d::(Alright, question two... 'What steps will you take to reach your goal?')", "pc::pissed::Ugh, what?", "friend::heh::Heh, you don't have to take it so seriously, y'know.", "friend::heh::They barely even look at what we write down, it's just to kill time in the morning.", "pc::d::Oh.", "friend::heh::Just don't put down killing yourself as a goal, heh.", "pc::smile::Ok, thanks.", "pc::smile::(Steps to reach my goal...)"];
world_text[10] = [{choice:"11,11,11"}, "pc::d::('I will work towards my goal one step at a time in a cautious paced manner.')", "pc::d::('With the help of those around me.')", "pc::smile::('I'd prefer skating to steps.')"];
world_text[11] = [{nextext:12}, "pc::d::('How does today's goal fit into your overarching goals?')", "pc::pissed::(What the fuck?!)"];
world_text[12] = [{choice:"13,13,13"}, "pc::d::('I have no idea.')", "pc::d::('I... have no idea.')", "pc::smile::(Ummm... 'My goals have bad arches.')"];
world_text[13] = [{canul:0, as:"pc"}, "pc::d::(Alright done.)"];
sub_pc.push({pdelay:4, pa:14});
sub_pc.push({});
world_text[14] = [{as:"a"}, "a::d::Everyone done?", "anon::d::Yeah.", "girl::smile::I'm done.", "a::d::Andrew?", "pc::d::Yeah, I'm done.", "a::d::Ok."];
sub_a.push({dir:"se"});
sub_a.push({tx:25, ty:43, dir:"ne"});
sub_a.push({tx:26, ty:41, gdir:"nw", gstate:"stand", pdelay:1, pa:15});
world_text[15] = {};
sub_a.push({dir:"ne"});
sub_a.push({tx:27, ty:40, gdir:"nw", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"ne"});
sub_a.push({tx:27, ty:39, gdir:"nw", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"ne"});
sub_a.push({tx:28, ty:38, gdir:"nw", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"se"});
sub_a.push({tx:28, ty:39, gdir:"se", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"sw"});
sub_a.push({tx:28, ty:40, gdir:"se", gstate:"stand", pdelay:1, pa:16});
world_text[16] = [0, "a::d::Good work."];
sub_a.push({dir:"sw"});
sub_a.push({tx:27, ty:41, gdir:"se", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"sw"});
sub_a.push({tx:27, ty:42, gdir:"se", gstate:"stand", pdelay:1, pa:15});
sub_a.push({dir:"sw"});
sub_a.push({tx:26, ty:44, dir:"nw"});
sub_a.push({tx:25, ty:42, gdir:"ne", gstate:"stand", pdelay:3, pa:17});
sub_a.push({});
world_text[17] = [{as:"therapist"}, "friend::tired::Yeah and now that we're done with that it's a bunch of waiting around.", "pc::d::Lame.", "friend::tired::What are you here for?", "pc::regret::Umm, well I have bi-polar or something.", "friend::tired::What's that?", "pc::regret::Like, I'll suddenly get really angry.", "friend::tired::Damn, who doesn't have bi-polar?", "pc::smile::I know right? Why are you here?", "friend::tired::My lawyer talked the judge into putting me in here so I wouldn't have to go to juvie.", "pc::d::Oh, what did you-?", "friend::d::Since you're new I'll give you some tips.", "friend::d::First tip, do not screw around with James.", "pc::d::James?", "friend::d::The fat tard over there. He freaks out over nothing.", "friend::d::Seriously, if you have to talk to him act like he's the police... Yes sir. No sir.", "pc::d::Ok, tip two?", "friend::smile::Ummm, you'll be given one of those inkblot tests y'know?", "friend::smile::Where it's just some random stuff and you have to say what it looks like...", "pc::smile::Yeah?", "friend::heh::Don't get an erection when you take that.", "pc::heh::Haha, what?!", "friend::heh::Swear to god, they all look like pussy.", "pc::heh::Ha ha ha.", "friend::smile::I answered 'butterfly' to all of them so now she thinks butterflies make me hard."];
sub_therapist.push({tx:6, ty:11, l:1, statejump:1});
sub_therapist.push({dir:"ne"});
sub_therapist.push({tx:27, ty:44, pa:18});
world_text[18] = [{canul:1, as:"pc,friend,girl,anon1,anon2,anon3"}, "therapist::d::Ok people, we're starting."];
sub_therapist.push({dir:"se"});
sub_therapist.push({tx:27, ty:45, dir:"ne"});
sub_therapist.push({tx:29, ty:42, dir:"se"});
sub_therapist.push({tx:30, ty:44, dir:"ne"});
sub_therapist.push({tx:30, ty:43});
sub_friend.push({dir:"ne"});
sub_friend.push({tx:29, ty:39, dir:"se"});
sub_friend.push({tx:31, ty:43});
sub_girl.push({mov:"se.t.27.39.ne.t.28.37.se.t.30.41.sw.t.29.43.se.t.31.47"});
tempstate1 = sub_girl.push({mov:"w.1"}) - 1;
sub_girl.push({pzone:"26,39,27,38,27,43,28,42,28,41,29,40", pa:190});
sub_girl.push({});
tempstate3 = sub_girl.push({pa:20}) - 1;
sub_girl.push({pdelay:2, pa:21});
sub_girl.push({});
sub_anon1.push({dir:"se"});
sub_anon1.push({tx:27, ty:41, dir:"sw"});
sub_anon1.push({tx:26, ty:43, dir:"se"});
sub_anon1.push({tx:28, ty:46, dir:"ne"});
sub_anon1.push({tx:29, ty:44, dir:"se"});
sub_anon1.push({tx:30, ty:46});
sub_anon2.push({dir:"sw"});
sub_anon2.push({tx:27, ty:44, dir:"se"});
sub_anon2.push({tx:27, ty:45, dir:"ne"});
sub_anon2.push({tx:29, ty:42, dir:"se"});
sub_anon2.push({tx:31, ty:46, dir:"ne"});
sub_anon2.push({tx:31, ty:45, dir:"se"});
sub_anon2.push({tx:32, ty:46});
sub_anon3.push({dir:"nw"});
sub_anon3.push({tx:27, ty:41, dir:"sw"});
sub_anon3.push({tx:26, ty:43, dir:"se"});
sub_anon3.push({tx:27, ty:45, dir:"ne"});
sub_anon3.push({tx:29, ty:42, dir:"se"});
sub_anon3.push({tx:31, ty:46, dir:"ne"});
sub_anon3.push({tx:32, ty:44});
sub_pc.push({pzone:"26,42,26,43,27,44,28,37,29,38,29,39", pa:19});
world_text[19] = [0, "a::d::Oh Andrew, this is the daily substance abusers meeting.", "a::d::You can sit back down.", "pc::shy::Ok."];
tempstate2 = sub_pc.push({}) - 1;
world_text[190] = {as:(((("girl+++if,pc," + tempstate2) + "+++") + tempstate3) + "+++") + tempstate1};
world_text[20] = {canul:0, canur:0, candl:0, candr:0};
world_text[21] = {as:"autist"};
sub_autist.push({mov:"sw.1.nw.1.as.pc"});
sub_autist.push({});
sub_pc.push({pa:22});
sub_pc.push({});
world_text[22] = [{canul:1, canur:1, candl:1, candr:1, as:"a"}, "hikki::d::...", "pc::smile::So hey, we're the only ones who aren't in here for drugs.", "hikki::d::Uh, yeah.", "pc::smile::So umm, why are you here?", "hikki::d::I have schizophrenia.", "pc::d::Like, you hear voices?", "hikki::d::Yeah, and I see stuff too...", "hikki::d::But I'm on medication for it right now.", "pc::d::That reminds me, I usually take my medication by now.", "pc::d::(I'll ask the attending about it.)"];
sub_a.push({touchx:23, touchskip:1, tdir:"face"});
world_text[23] = [{as:"autist"}, "a::d::What is it, Andrew?", "pc::shy::Uh, normally I'd take my pill about now.", "a::d::Ok well, I was told that you won't be taking any medication.", "pc::perplex::Why's that?", "a::d::For patients on behavior meds it's standard practice to trial off meds while in hospital.", "a::d::I'm only an attending though, if you want the specific reason you can ask your psychiatrist when you meet.", "pc::d::Ok... thanks."];
sub_a.push({gdir:"ne"});
sub_autist.push({dir:"ne"});
sub_autist.push({tx:26, ty:37, pa:24});
world_text[24] = [{as:"b"}, "a::d::James, where you going?", "autist::d::...", "a::d::James.", "autist::yell::PEE.", "a::d::Ok."];
sub_autist.push({dir:"ne"});
sub_autist.push({tx:28, ty:33, dir:"se"});
sub_autist.push({tx:30, ty:36, dir:"ne"});
sub_autist.push({tx:30, ty:35, dir:"se"});
sub_autist.push({tx:31, ty:36, dir:"ne"});
sub_autist.push({tx:18, ty:63});
sub_b.push({tx:6, ty:11, l:1, statejump:1});
sub_b.push({dir:"ne"});
sub_b.push({tx:27, ty:44, dir:"se"});
sub_b.push({tx:27, ty:45, dir:"ne"});
sub_b.push({tx:29, ty:42, dir:"se"});
sub_b.push({tx:30, ty:44, pdelay:3, pa:25});
world_text[25] = {as:"girl"};
sub_b.push({dir:"nw"});
sub_b.push({tx:29, ty:43, dir:"ne"});
sub_b.push({tx:30, ty:42, gdir:"sw"});
sub_girl.push({dir:"nw"});
sub_girl.push({tx:29, ty:42, pa:26});
world_text[26] = {as:"b"};
sub_girl.push({dir:"sw"});
sub_girl.push({tx:26, ty:47, dir:"nw"});
sub_girl.push({tx:26, ty:46, dir:"sw"});
sub_girl.push({tx:6, ty:12, pa:27});
sub_girl.push({});
sub_b.push({dir:"sw"});
sub_b.push({tx:27, ty:48, dir:"nw"});
sub_b.push({tx:26, ty:46, dir:"sw"});
sub_b.push({tx:6, ty:11, pa:27});
sub_b.push({});
world_text[27] = [{cut:"transition", sav:"0,1", canul:0, canur:0, candl:0, candr:0}, "pc::sigh::There's nothing to do."];
sub_pc.push({tx:28, ty:41, l:1, ws:1, gstate:"stand"});
sub_friend.push({tx:29, ty:40, l:1, ws:1, gstate:"stand"});
sub_hikki.push({tx:27, ty:37, l:1, ws:1, gstate:"stand"});
sub_autist.push({tx:26, ty:40, l:1, ws:1, gstate:"stand"});
sub_anon1.push({tx:26, ty:39, l:1, ws:1, gstate:"stand"});
sub_anon2.push({tx:27, ty:43, l:1, ws:1, gstate:"stand"});
sub_anon3.push({tx:28, ty:42, l:1, ws:1, gstate:"stand"});
sub_b.push({tx:24, ty:42, l:1, ws:1, gdir:"se", gstate:"stand"});
sub_therapist.push({tx:28, ty:37, l:1, ws:1, gdir:"sw", gstate:"stand"});
sub_friend.push({});
sub_hikki.push({});
sub_autist.push({});
sub_anon1.push({});
sub_anon2.push({});
sub_anon3.push({});
sub_b.push({});
sub_therapist.push({});
sub_girl.push({tx:7, ty:10, l:1, ws:1});
sub_a.push({tx:6, ty:11, l:1, ws:1});
sub_girl.push({pa:28});
world_text[28] = [0, "anon::d::...and I realize now all I can do is put my faith in God.", "pc::pissed::That's such a bullshit cop-out.", "anon::d::Don't you believe in God?", "pc::pissed::No, I don't. But even if you do, how can you just leave everything you do on God?", "anon::d::Everything we do is part of God's plan.", "pc::pissed::So you're free of any personal responsibility then?", "anon::d::All things are possible through..."];
sub_girl.push({dir:"ne"});
sub_girl.push({tx:26, ty:46, dir:"nw"});
sub_girl.push({tx:25, ty:45, dir:"ne"});
sub_girl.push({tx:28, ty:40, dir:"nw"});
sub_girl.push({tx:27, ty:38});
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:45, pdelay:3, pa:29});
sub_a.push({});
world_text[29] = [{as:"anon3"}, "a::d::Sorry to interrupt, I need Evan.", "therapist::d::By all means..."];
sub_anon3.push({dir:"nw"});
sub_anon3.push({tx:27, ty:40, dir:"sw"});
sub_anon3.push({tx:26, ty:41, dir:"se"});
sub_anon3.push({tx:27, ty:42, dir:"sw"});
sub_anon3.push({tx:26, ty:44, pa:30});
sub_anon3.push({dir:"se"});
sub_anon3.push({tx:26, ty:45, dir:"sw"});
sub_anon3.push({tx:6, ty:11});
world_text[30] = {as:"a"};
sub_a.push({dir:"sw"});
sub_a.push({tx:6, ty:12, pdelay:2, pa:31});
sub_a.push({});
world_text[31] = [{as:"therapist"}, "therapist::d::Karen, welcome back. We were discussing how everyone feels about how we're progressing.", "therapist::d::Or just how we feel in general. Would you like to conbtribute?", "girl::smile::Not really, I've already done a bunch of feelings talk with the Psychiatrist.", "therapist::d::Ok, that's fine. Ummm... Drew?", "pc::d::Andrew.", "therapist::d::Right, Andrew. I know it's your first day but would you like to share?", "pc::d::No, thanks.", "therapist::d::Are you sure you don't have anything you'd like to get off your chest?", "pc::shy::No, I'm fine.", "therapist::d::Alright well... that will do us for today then. I'll see you guys tomorrow.", "girl::smile::Bye!"];
sub_therapist.push({dir:"sw"});
sub_therapist.push({tx:26, ty:42, dir:"se"});
sub_therapist.push({tx:27, ty:44, pa:32});
sub_therapist.push({dir:"sw"});
sub_therapist.push({tx:7, ty:10, statejump:2});
sub_therapist.push({tx:3, ty:64, statejump:1});
sub_therapist.push({});
world_text[32] = {canul:1, canur:1, candl:1, candr:1, as:"anon1,anon2,friend,girl,autist"};
sub_friend.push({dir:"ne"});
sub_friend.push({tx:16, ty:67, pa:42});
sub_friend.push({dir:"ne"});
sub_friend.push({tx:18, ty:63, pdelay:8, pa:100});
sub_friend.push({dir:"sw"});
sub_friend.push({tx:15, ty:69, dir:"nw"});
sub_friend.push({tx:14, ty:67, pdelay:3, pa:42});
sub_friend.push({dir:"se"});
sub_friend.push({tx:15, ty:69, dir:"sw"});
sub_friend.push({tx:29, ty:40, touchx:33, touchskip:1});
sub_friend.push({});
world_text[33] = [0, "friend::d::What are you doing talking to me?", "pc::perplex::Huh?", "friend::smile::I know you want to be talking to HER so do it already.", "pc::d::..."];
sub_anon2.push({touchx:34, touchskip:1});
sub_anon2.push({});
world_text[34] = [0, "anon::d::Get away from me, you godless heathen."];
sub_autist.push({touchx:35});
world_text[35] = [0, "autist::eyeshutmad::...", "pc::d::(I probably shouldn't bother him.)"];
sub_anon1.push({pdelay:2, pa:100});
sub_anon1.push({dir:"se"});
sub_anon1.push({tx:27, ty:40, pdelay:1, pa:100});
sub_anon1.push({gdir:"sw", pdelay:2, pa:100});
sub_anon1.push({dir:"ne"});
sub_anon1.push({tx:27, ty:39, dir:"nw"});
sub_anon1.push({tx:27, ty:38});
world_text[42] = {as:"girl,hikki"};
sub_girl.push({dir:"se"});
sub_girl.push({tx:27, ty:39, dir:"ne"});
sub_girl.push({tx:28, ty:38, gdir:"nw"});
sub_girl.push({dir:"ne"});
sub_girl.push({tx:4, ty:66});
sub_hikki.push({dir:"se"});
sub_hikki.push({tx:28, ty:38, dir:"ne"});
sub_hikki.push({tx:5, ty:63});
sub_girl.push({dir:"sw"});
sub_girl.push({tx:29, ty:35, dir:"nw"});
sub_girl.push({tx:28, ty:33, gdir:"se", touchskip:1, touchx:36, tdir:"face"});
sub_girl.push({});
sub_hikki.push({dir:"sw"});
sub_hikki.push({tx:29, ty:35, dir:"nw"});
sub_hikki.push({tx:29, ty:34});
world_text[36] = [{nextext:37}, "pc::shy::Umm, hey.", "hikki::d::Hi.", "girl::smile::Hi Andrew.", "pc::shy::Hi... uhhh.", "girl::glance::Did you forget my name already?", "pc::shock::No of course not!", "pc::think::Your name is..."];
world_text[37] = [{choice:"38,39,38"}, "pc::think::Karen.", "pc::think::Kiernan.", "pc::think::Chloe."];
world_text[38] = [{as:"a,anon3"}, "girl::smile::Ooh, crash-and-burn.", "pc::regret::Ugh, sorry.", "girl::smile::It's Kiernan.", "pc::think::Kiernan, Kiernan.", "girl::smile::And she's Morgan.", "hikki::smile::Hi, again."];
world_text[39] = [{as:"a,anon3"}, "girl::nofun::I can't believe you forgot my name.", "pc::perplex::No, I'm sure...", "hikki::smile::You're right, it's Kiernan. She lies all the time.", "girl::laugh::I can't believe you're going around calling me a liar to everyone!", "hikki::smile::But you are."];
sub_anon3.push({dir:"ne"});
sub_anon3.push({tx:27, ty:44, dir:"se"});
sub_anon3.push({tx:3, ty:63});
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:45, pdelay:4, pa:40});
sub_a.push({});
world_text[40] = [{as:"girl,hikki"}, "a::d::Alright girls, time to go back to your side.", "girl::smile::Coming!", "girl::smile::Bye Andrew.", "pc::d::Bye."];
sub_girl.push({dir:"sw"});
sub_girl.push({tx:24, ty:41, dir:"se"});
sub_girl.push({tx:25, ty:43, pa:30});
sub_girl.push({dir:"se"});
sub_girl.push({tx:26, ty:44, pa:100});
sub_girl.push({dir:"se"});
sub_girl.push({tx:26, ty:45, dir:"sw"});
sub_girl.push({tx:6, ty:11, statejump:2});
sub_girl.push({tx:3, ty:64, statejump:1});
sub_girl.push({});
sub_hikki.push({dir:"se"});
sub_hikki.push({tx:30, ty:36, dir:"sw"});
sub_hikki.push({tx:26, ty:43, dir:"se"});
sub_hikki.push({tx:27, ty:44, gdir:"sw", pa:30});
sub_hikki.push({dir:"sw"});
sub_hikki.push({tx:7, ty:10, statejump:2});
sub_hikki.push({tx:3, ty:64, statejump:1});
sub_hikki.push({});
sub_a.push({});
sub_a.push({dir:"sw"});
sub_a.push({tx:6, ty:12, pa:43});
sub_a.push({});
tempstate1 = sub_friend.push({pa:100}) - 1;
tempstate2 = sub_autist.push({pa:100}) - 1;
tempstate3 = sub_anon1.push({pa:100}) - 1;
tempstate4 = sub_anon2.push({pa:100}) - 1;
world_text[43] = {as:(((((("friend,autist,anon1,anon2+++" + tempstate1) + ",") + tempstate2) + ",") + tempstate3) + ",") + tempstate4};
sub_autist.push({});
sub_anon1.push({});
sub_anon2.push({});
sub_friend.push({pdelay:3, pa:100});
sub_friend.push({dir:"ne"});
sub_friend.push({tx:29, ty:39, dir:"se"});
sub_friend.push({tx:30, ty:40, touchx:44, touchskip:1, tdir:"face"});
sub_friend.push({});
world_text[44] = [{canul:0, canur:0, candl:0, candr:0, as:"a"}, "pc::d::Man, this is boring.", "friend::d::I know, right? There used to be a TV...", "pc::d::...", "friend::d::So you talked with her, huh?", "pc::shy::Yeah.", "friend::d::Well she's cute as fuck and all but y'know...", "friend::d::Well... you shouldn't get involved with anyone in here.", "friend::d::This is a looney-bin after all.", "pc::d::Yeah, I guess.", "friend::d::And y'know if you get caught doing anything in here you're getting thrown out or worse.", "pc::d::Worse?", "friend::d::Yeah well for me, I'd end up straight back in Juvenile.", "friend::d::But it's not like they'd just ignore it for anyone else either.", "friend::d::They'll call the police for you too, yknow?", "pc::d::Yeah..."];
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:46, pdelay:2, pa:100});
sub_a.push({gdir:"nw", pdelay:1, pa:26});
sub_a.push({});
sub_b.push({dir:"se"});
sub_b.push({tx:25, ty:45, pdelay:2, pa:30});
sub_b.push({gdir:"ne"});
sub_a.push({dir:"sw"});
sub_a.push({tx:7, ty:10, pdelay:2, pa:45});
world_text[45] = [{as:"anon4,autist"}, "b::d::Ok guys, listen up.", "b::d::A new person is coming."];
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:45, dir:"se"});
sub_a.push({tx:27, ty:46, gdir:"ne", pdelay:2, pa:46});
sub_a.push({});
sub_anon4.push({tx:3, ty:64, l:1, ws:1});
sub_anon4.push({});
sub_anon4.push({tx:6, ty:11, l:1, statejump:1});
sub_anon4.push({dir:"ne"});
sub_anon4.push({tx:26, ty:45});
world_text[46] = [{canul:1, canur:1, candl:1, candr:1, as:"anon4,friend,autist,anon1,anon2,b"}, "a::d::Hey guys, this is Mark.", "autist::yell::HI MARK!", "anon::d::Uh, hi.", "a::d::We'll have a proper introduction tomorrow, right now it's bedtime everybody.", "a::d::Mark your room's here.", "a::d::Andrew.", "pc::d::Yes?", "a::d::You're with Michael.", "pc::d::K.", "friend::smile::Follow me."];
sub_anon4.push({dir:"ne"});
sub_anon4.push({tx:27, ty:44, dir:"se"});
sub_anon4.push({tx:3, ty:63});
sub_anon1.push({dir:"se"});
sub_anon1.push({tx:27, ty:39, dir:"ne"});
sub_anon1.push({tx:28, ty:37, dir:"nw"});
sub_anon1.push({tx:7, ty:61});
sub_anon2.push({dir:"nw"});
sub_anon2.push({tx:27, ty:42, dir:"ne"});
sub_anon2.push({tx:29, ty:38, dir:"nw"});
sub_anon2.push({tx:7, ty:61});
sub_autist.push({dir:"se"});
sub_autist.push({tx:26, ty:41});
sub_autist.push({dir:"sw"});
sub_autist.push({tx:26, ty:42, dir:"nw"});
sub_autist.push({tx:25, ty:40, dir:"ne"});
sub_autist.push({tx:26, ty:38, dir:"nw"});
sub_autist.push({tx:8, ty:60});
sub_b.push({dir:"se"});
sub_b.push({tx:26, ty:46, dir:"sw"});
sub_b.push({tx:7, ty:10});
sub_friend.push({dir:"ne"});
sub_friend.push({tx:31, ty:38, dir:"se"});
sub_friend.push({tx:38, ty:41, dir:"ne"});
sub_friend.push({tx:40, ty:38, dir:"nw"});
sub_friend.push({tx:39, ty:37, pa:47, pzone:"41,40"});
sub_friend.push({});
world_text[47] = [{cut:"transition", sav:"0,2"}, "friend::sleep::Night Andrew.", "pc::glance::Goodnight, Michael."];
sub_psyche.push({tx:17, ty:14, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_therapist.push({tx:3, ty:64, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_a.push({tx:3, ty:64, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_anon5.push({tx:3, ty:64, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_anon6.push({tx:3, ty:64, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_anon7.push({tx:3, ty:64, l:1, ws:2, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({});
sub_a.push({});
sub_anon5.push({});
sub_anon6.push({});
sub_anon7.push({});
sub_pc.push({tx:41, ty:40, l:1, gstate:"stand", ws:2});
sub_pc.push({});
sub_b.push({tx:31, ty:39, l:1, ws:2});
sub_b.push({dir:"se"});
sub_b.push({tx:37, ty:38, pa:48});
world_text[48] = [{canur:1, canul:1, candr:1, candl:1}, "b::d::Rise and shine fellas."];
sub_b.push({pa:49, pzone:"40,43"});
world_text[49] = {as:"friend"};
sub_friend.push({tx:39, ty:37, l:1, ws:2});
sub_friend.push({});
sub_friend.push({dir:"se"});
sub_friend.push({tx:40, ty:38, dir:"sw"});
sub_friend.push({tx:38, ty:41, dir:"nw"});
sub_friend.push({tx:30, ty:37, dir:"sw"});
sub_friend.push({tx:29, ty:40});
sub_girl.push({tx:27, ty:38, l:1, ws:2, gstate:"stand", gdir:"se"});
sub_hikki.push({tx:27, ty:37, l:1, ws:2, gstate:"stand", gdir:"se"});
sub_anon3.push({tx:28, ty:42, l:1, ws:2, gstate:"stand", gdir:"nw"});
sub_anon4.push({tx:27, ty:43, l:1, ws:2, gstate:"stand", gdir:"nw"});
sub_girl.push({});
sub_hikki.push({});
sub_anon3.push({});
sub_anon4.push({});
sub_b.push({dir:"nw"});
sub_b.push({tx:29, ty:34, dir:"sw"});
sub_b.push({tx:28, ty:36, dir:"nw"});
sub_b.push({tx:7, ty:61, pdelay:2, pa:52});
sub_b.push({dir:"se"});
sub_b.push({tx:27, ty:34, dir:"sw"});
sub_b.push({tx:25, ty:37, pa:50});
sub_b.push({dir:"nw"});
sub_b.push({tx:7, ty:59});
world_text[52] = [{canur:0, canul:0, candr:0, candl:0, sprite:0, propname:"gstate", propval:"out"}, "pc::pain::(It's too early.)", "pc::pain::(So tired.)"];
world_text[50] = {as:"anon1,anon2"};
sub_anon1.push({tx:7, ty:61, l:1, ws:2});
sub_anon1.push({});
sub_anon1.push({dir:"se"});
sub_anon1.push({tx:27, ty:35, dir:"sw"});
sub_anon1.push({tx:25, ty:40, dir:"se"});
sub_anon1.push({tx:25, ty:41, dir:"ne"});
sub_anon1.push({tx:26, ty:40, pa:51});
sub_anon1.push({});
sub_anon2.push({tx:7, ty:60, l:1, ws:2});
sub_anon2.push({});
sub_anon2.push({dir:"se"});
sub_anon2.push({tx:28, ty:37, dir:"sw"});
sub_anon2.push({tx:27, ty:40, dir:"nw"});
sub_anon2.push({tx:26, ty:39});
world_text[51] = {as:"autist,b", canur:1, canul:1, candr:1, candl:1, sprite:0, propname:"gstate", propval:"stand"};
sub_autist.push({tx:8, ty:60, l:1, ws:2});
sub_autist.push({});
sub_autist.push({dir:"se"});
sub_autist.push({tx:25, ty:37, dir:"sw"});
sub_autist.push({tx:24, ty:39, gdir:"se"});
sub_b.push({dir:"se"});
sub_b.push({tx:25, ty:37, dir:"sw"});
sub_b.push({tx:25, ty:38, pzone:"28,41", pa:20});
sub_b.push({dir:"se"});
sub_b.push({tx:25, ty:39, dir:"sw"});
sub_b.push({tx:25, ty:40, dir:"se"});
sub_b.push({tx:27, ty:44, gdir:"ne", pa:53});
world_text[53] = [0, "b::d::Alright guys this is Mark.", "anon::d::Hi.", "b::d::I want everyone to introduce themselves starting from over here.", "anon::d::I'm Deacon.", "anon::d::Fredrick.", "girl::flirt::Hi Mark, nice to meet you. I'm Kiernan.", "hikki::d::Hi, I'm Morgan.", "friend::sleep::...", "b::d::Michael! Eyes open!", "friend::tired::Huh?", "b::d::Introductions.", "friend::tired::Uh, yeah. I'm Michael.", "pc::tired::I'm Andrew.", "b::d::And I take it you're already familiar with your roommate, Evan?", "anon::d::Yeah.", "b::d::Ok, and over there is James.", "b::d::Alright, I'm going to hand out the goal sheets."];
sub_b.push({dir:"nw"});
sub_b.push({tx:26, ty:43, dir:"ne"});
sub_b.push({tx:27, ty:42, gdir:"se", pdelay:1, pa:100});
sub_b.push({dir:"ne"});
sub_b.push({tx:27, ty:41, gdir:"se", pdelay:1, pa:100});
sub_b.push({dir:"ne"});
sub_b.push({tx:28, ty:40, gdir:"se", pa:54});
world_text[54] = [{cut:"goalsheet"}, "b::d::Here you are.", "pc::tired::Ugh, thanks."];
sub_b.push({dir:"ne"});
sub_b.push({tx:28, ty:39, gdir:"se", pdelay:1, pa:100});
sub_b.push({dir:"nw"});
sub_b.push({tx:28, ty:38, gdir:"nw", pdelay:1, pa:100});
sub_b.push({dir:"sw"});
sub_b.push({tx:27, ty:39, gdir:"nw", pdelay:1, pa:100});
sub_b.push({dir:"sw"});
sub_b.push({tx:27, ty:40, gdir:"nw", pdelay:1, pa:100});
sub_b.push({dir:"sw"});
sub_b.push({tx:26, ty:41, gdir:"nw", pdelay:1, pa:100});
sub_b.push({dir:"sw"});
sub_b.push({tx:26, ty:42, dir:"nw"});
sub_b.push({tx:25, ty:40, pdelay:1, pa:55});
sub_b.push({});
world_text[55] = [{nextext:56}, "pc::tired::('What is your goal for the day?')", "pc::tired::(This crap again.)", "pc::tired::(Honestly, what's the point of this shit?)", "pc::tired::Ugh...", "pc::tired::('What is your goal for the day?')"];
world_text[56] = [{choice:"57,57,57"}, "pc::tired::(Get better.)", "pc::tired::(Make the right choices.)", "pc::tired::(Be optimistic.)"];
world_text[57] = [{as:"anon4"}, "pc::tired::('What steps will you take to reach your goal?')", "pc::tired::(Steps...)", "pc::tired::..."];
sub_anon4.push({dir:"nw"});
sub_anon4.push({tx:27, ty:42, dir:"ne"});
sub_anon4.push({tx:30, ty:36, dir:"se"});
sub_anon4.push({tx:30, ty:37, dir:"ne"});
sub_anon4.push({tx:15, ty:69, pa:58});
sub_anon4.push({});
world_text[58] = [{as:"girl"}, "pc::tired::(Steps to reach my goal...)", "pc::tired::..."];
sub_girl.push({dir:"se"});
sub_girl.push({tx:27, ty:39, dir:"ne"});
sub_girl.push({tx:29, ty:35, gstate:"walk", pa:59});
sub_girl.push({});
world_text[59] = [{precut:"transition"}, "friend::d::Oh shit, this is gonna be bad.", "pc::tired::Huh?", "friend::d::You didn't see?", "pc::tired::See what?", "friend::d::Kiernan snuck into the boys toilets.", "pc::shock::...", "friend::d::First day in and the new kid is getting sucked off.", "friend::d::Some people have all the luck.", "pc::shock::No way.", "friend::d::Oh shit, someone's coming out..."];
sub_anon5.push({tx:3, ty:64, l:1, ws:3, gstate:"stand", gdir:"ne"});
sub_anon6.push({tx:3, ty:64, l:1, ws:3, gstate:"stand", gdir:"ne"});
sub_anon7.push({tx:3, ty:64, l:1, ws:3, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({});
sub_anon7.push({});
sub_a.push({tx:4, ty:16, l:1, ws:3, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_girl.push({tx:3, ty:64, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_girl.push({});
sub_hikki.push({tx:27, ty:37, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_anon1.push({tx:26, ty:39, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_anon2.push({tx:26, ty:40, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_friend.push({tx:29, ty:40, l:1, gstate:"stand", gdir:"nw", ws:3});
sub_anon4.push({tx:15, ty:70, l:1, ws:3});
sub_anon4.push({dir:"sw"});
sub_anon4.push({tx:30, ty:38, dir:"nw"});
sub_anon4.push({tx:29, ty:37, dir:"sw"});
sub_anon4.push({tx:28, ty:39, pa:60});
world_text[60] = [0, "friend::glance::Yo man, what she do?", "anon::d::..."];
sub_anon4.push({dir:"sw"});
sub_anon4.push({tx:27, ty:42, dir:"se"});
sub_anon4.push({tx:27, ty:43, pdelay:1, pa:61});
world_text[61] = [{as:"anon3"}, "friend::d::He didn't even respond, you can tell he did it.", "pc::shock::(No way, she...)", "friend::d::There's no way she's gonna get out without being caught."];
sub_anon3.push({dir:"nw"});
sub_anon3.push({tx:27, ty:41, dir:"ne"});
sub_anon3.push({tx:28, ty:39, pa:62});
world_text[62] = [0, "friend::glance::Dude, Evan, don't go in there.", "anon::d::..."];
sub_anon3.push({dir:"ne"});
sub_anon3.push({tx:29, ty:37, dir:"se"});
sub_anon3.push({tx:30, ty:38, dir:"ne"});
sub_anon3.push({tx:15, ty:70, pa:63});
sub_anon3.push({tx:3, ty:64, l:1, statejump:1});
sub_anon3.push({});
world_text[63] = [{canur:1, canul:1, candr:1, candl:1}, "friend::d::Fuck, that new kid is smart.", "pc::shock::(He went in there... Will Kiernan... with him too?)", "friend::glance::He sends in his roommate so that he isn't the last guy in there.", "pc::think::(If I go in there... She might...)", "friend::d::Man, I gotta pee real bad now.", "pc::d::Should I go in?", "friend::wut::Have you seriously not been paying attention?", "friend::wut::Kiernan has been gone for a while now and you want to be the 3rd guy in a row to go to the boy's toilet?", "friend::wut::The attending is gonna know something is up.", "pc::d::(He's right but... I have to do something.)"];
sub_pc.push({tx:28, ty:41, l:1, gstate:"stand", gdir:"nw", ws:3});
sub_pc.push({pzone:"15,69,16,70", pa:64});
world_text[64] = {cut:"toiletbj", sav:"2,2", changeworld:"state,4"};
sub_b.push({tx:26, ty:42, l:1, ws:3, gstate:"stand", gdir:"ne"});
sub_b.push({touchx:65, touchskip:1, tdir:"face"});
world_text[65] = [{as:"autist"}, "b::d::You finished your goalsheet, Andrew?", "pc::shy::Uh, no. I'm just uh, not sure what to put down.", "b::d::Well I can't really help you out but you can talk about it with your peers if you want.", "pc::shy::Ok, thanks."];
sub_b.push({gdir:"ne"});
sub_friend.push({touchx:66});
world_text[66] = [0, "friend::wut::Don't do it, man."];
sub_hikki.push({touchx:67});
world_text[67] = [0, "hikki::d::Go away. I'm not getting involved."];
sub_anon1.push({});
sub_anon2.push({});
sub_anon4.push({touchx:68});
world_text[68] = [0, "anon::d::...", "pc::pissed::..."];
sub_autist.push({tx:24, ty:39, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_autist.push({});
sub_autist.push({touchx:69});
sub_autist.push({});
world_text[69] = [{nextext:70}, "autist::d::...", "pc::d::Hey, James.", "autist::d::...", "pc::d::Umm, I need help with my goalsheet...", "autist::d::What do you want?"];
world_text[70] = [{choice:"100,71"}, "pc::d::Nevermind.", "pc::d::I need help with my goalsheet."];
world_text[71] = [{canul:0, canur:0, candl:0, candr:0, as:"autist,b"}, "autist::d::I don't know.", "pc::d::Can you show me what you wrote?", "autist::d::No.", "pc::d::Come on, it's not a test, you can show me.", "autist::eyeshut::It's personal.", "pc::d::Show me your goal, I want to know.", "autist::eyeshut::I said it's my personal business, ok?", "pc::smile::Oh I think I can see what it says from here anyways.", "autist::eyeshutmad::Stop it.", "pc::heh::Your goal for today is to eat your own weight in butter.", "autist::yell::MY GOALS AREN'T BUTTER!"];
sub_b.push({gdir:"nw", pdelay:1, pa:74});
world_text[74] = [{as:"autist,pc"}, "b::d::Hey what's going on?", "pc::d::I don't know, James won't stop talking about butter.", "autist::rage::BUT YOU WERE THE ONE WHO SAID I HAD-", "b::d::James! Settle down!", "autist::rage::WHY'S IT MY FAULT IF HE'S THE ONE WHO SAID THAT ABOUT ME WHEN HE DOESN'T EVEN-", "b::d::James you need to settle down right now.", "autist::rage::AAAAGGGGHHHH!!!"];
sub_pc.push({});
sub_autist.push({gstate:"crazed"});
sub_b.push({dir:"nw"});
sub_b.push({tx:25, ty:41, pa:75});
world_text[75] = [{canul:1, canur:1, candl:1, candr:1, locks:"B,27,38,1"}, "b::d::Andrew, move aside."];
sub_b.push({pzone:"25,37,25,38,23,41,24,42,25,42", pa:76});
world_text[76] = {as:"girl,anon3,hikki,friend"};
sub_hikki.push({});
sub_friend.push({});
sub_b.push({dir:"nw"});
sub_b.push({tx:25, ty:40});
sub_anon3.push({tx:15, ty:69, l:1, statejump:1});
sub_anon3.push({dir:"sw"});
sub_anon3.push({tx:30, ty:37, dir:"nw"});
sub_anon3.push({tx:30, ty:36, dir:"sw"});
sub_anon3.push({tx:27, ty:41, dir:"se"});
sub_anon3.push({tx:28, ty:42});
sub_girl.push({tx:16, ty:68, l:1, statejump:1});
sub_girl.push({dir:"sw"});
sub_girl.push({tx:31, ty:36, dir:"nw"});
sub_girl.push({tx:30, ty:34, dir:"sw"});
sub_girl.push({tx:27, ty:39, dir:"nw"});
sub_girl.push({tx:27, ty:38, pa:77});
sub_girl.push({});
world_text[77] = {as:"b,autist"};
sub_autist.push({gstate:"out"});
sub_b.push({dir:"se"});
sub_b.push({tx:25, ty:41, gdir:"ne", pa:78});
sub_b.push({});
world_text[78] = [{as:"pc", locks:"B,27,38,0"}, "b::d::Everyone stay calm, I've sedated James.", "b::d::Andrew, take a seat.", "pc::d::Ok.", "pc::smile::(I did it!)"];
sub_pc.push({pzone:"28,41", pa:79});
sub_pc.push({});
world_text[79] = [{canul:0, canur:0, candl:0, candr:0, as:"friend,a"}, "friend::heh::Damn man, that was crazy amazing. Good job.", "pc::smile::It was nothing.", "friend::d::Jay.", "b::d::What is it, Michael?", "pc::glance::...", "friend::d::Can I use the toilet?", "b::d::Yeah, go on."];
sub_friend.push({dir:"ne"});
sub_friend.push({tx:18, ty:63});
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:46, gdir:"nw", pdelay:3, pa:100});
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:45, dir:"nw"});
sub_a.push({tx:26, ty:44, dir:"ne"});
sub_a.push({tx:26, ty:43, pa:80});
world_text[80] = [{canul:1, canur:1, candl:1, candr:1, as:"b,girl,anon1,anon2,anon3,anon4"}, "a::d::Ok guys, the therapist is going to be here soon.", "a::d::I want everyone in drug and alcohol recovery in the meeting area.", "a::d::Andrew, I'm taking you to the psychiatrist so get ready."];
sub_b.push({gdir:"se"});
sub_girl.push({dir:"se"});
sub_girl.push({tx:27, ty:39, dir:"ne"});
sub_girl.push({tx:28, ty:37, dir:"se"});
sub_girl.push({tx:30, ty:41, dir:"sw"});
sub_girl.push({tx:29, ty:43, dir:"se"});
sub_girl.push({tx:31, ty:47, pa:81});
world_text[81] = {as:"anon4"};
sub_anon4.push({dir:"sw"});
sub_anon4.push({tx:27, ty:44, dir:"se"});
sub_anon4.push({tx:27, ty:45, dir:"ne"});
sub_anon4.push({tx:29, ty:42, dir:"se"});
sub_anon4.push({tx:30, ty:44, dir:"ne"});
sub_anon4.push({tx:30, ty:43});
sub_anon4.push({dir:"se"});
sub_anon4.push({tx:32, ty:46});
sub_anon3.push({dir:"nw"});
sub_anon3.push({tx:27, ty:41, dir:"sw"});
sub_anon3.push({tx:26, ty:43, dir:"se"});
sub_anon3.push({tx:27, ty:45, dir:"ne"});
sub_anon3.push({tx:29, ty:42, dir:"se"});
sub_anon3.push({tx:31, ty:46, dir:"sw"});
sub_anon3.push({tx:30, ty:47});
sub_anon1.push({dir:"se"});
sub_anon1.push({tx:27, ty:40, dir:"sw"});
sub_anon1.push({tx:26, ty:42, dir:"se"});
sub_anon1.push({tx:27, ty:45, dir:"ne"});
sub_anon1.push({tx:29, ty:42, dir:"se"});
sub_anon1.push({tx:31, ty:46, dir:"ne"});
sub_anon1.push({tx:32, ty:44});
sub_anon2.push({dir:"se"});
sub_anon2.push({tx:27, ty:42, dir:"sw"});
sub_anon2.push({tx:26, ty:43, dir:"se"});
sub_anon2.push({tx:28, ty:46, dir:"ne"});
sub_anon2.push({tx:29, ty:44, dir:"se"});
sub_anon2.push({tx:30, ty:46});
sub_a.push({dir:"sw"});
sub_a.push({tx:26, ty:44, dir:"nw"});
sub_a.push({tx:25, ty:42, gdir:"ne", pzone:"24,43,25,43,26,44,26,45,27,46,27,47", pa:82});
world_text[82] = [{as:"friend"}, "a::d::You want help dragging him to isolation?", "b::d::Don't worry, I got it.", "a::d::Alright."];
sub_friend.push({dir:"sw"});
sub_friend.push({tx:29, ty:39, dir:"se"});
sub_friend.push({tx:31, ty:43});
sub_a.push({dir:"se"});
sub_a.push({tx:26, ty:45, dir:"sw"});
sub_a.push({tx:26, ty:46, pa:83});
world_text[83] = [{locks:"B,25,47,0,B,2,19,0"}, "a::d::Andrew, we're going."];
sub_a.push({dir:"sw"});
sub_a.push({tx:3, ty:18, gdir:"ne", pa:100, pzone:"3,15,4,16,4,17,5,18,3,16,3,17,4,18,4,19"});
sub_a.push({dir:"sw"});
sub_a.push({tx:17, ty:41, dir:"nw"});
sub_a.push({tx:17, ty:40, pa:84, pzone:"16,41,16,43,16,45,16,47"});
world_text[84] = [{locks:"B,25,47,1,B,2,19,1", as:"therapist"}, "a::d::Yeah and the new arrival is Mark.", "therapist::d::Got it.", "therapist::d::Hi, Andrew.", "pc::d::Hi.", "therapist::d::You're not getting off lightly today, be prepared.", "pc::d::Ok..."];
sub_therapist.push({tx:16, ty:39, l:1, ws:3, gstate:"stand", gdir:"se"});
sub_therapist.push({});
sub_therapist.push({dir:"se"});
sub_therapist.push({tx:17, ty:41, dir:"ne"});
sub_therapist.push({tx:3, ty:17});
sub_a.push({dir:"sw"});
sub_a.push({tx:16, ty:42, dir:"nw"});
sub_a.push({tx:14, ty:38, pa:85, pzone:"13,40,13,39,14,37,13,41,14,40,14,39,15,38"});
world_text[85] = {locks:"B,13,37,0"};
sub_a.push({dir:"nw"});
sub_a.push({tx:5, ty:41, gdir:"sw", pa:86, pzone:"4,43,5,42,6,40"});
world_text[86] = [{as:"psyche"}, "a::d::First door down the hall is you, got it?", "pc::d::Yeah."];
sub_a.push({dir:"se"});
sub_a.push({tx:14, ty:39});
sub_psyche.push({tx:17, ty:14, l:1, ws:3, gstate:"sit_ink", gdir:"se"});
sub_psyche.push({});
sub_psyche.push({pzone:"17,20,17,18,18,18", pa:100});
sub_psyche.push({pa:87, pdelay:1, gstate:"stand"});
world_text[87] = [0, "psyche::smile::Andrew, welcome. Have a seat."];
sub_psyche.push({pzone:"15,17", pa:20});
sub_psyche.push({pa:88, pdelay:1, gstate:"sit_calm"});
world_text[88] = [{canul:0, canur:0, candl:0, candr:0, sav:"4,4", cut:"meetpsyche"}, "psyche::smile::I'm your psychiatrist, Barbara Collins.", "pc::shy::Hi.", "psyche::smile::I just want to have a regular conversation with you, nothing fancy. Is that ok?", "pc::shy::Sure.", "psyche::d::Alright, so..."];
sub_psyche.push({pa:89, pdelay:1, gstate:"sit_irate"});
world_text[89] = [{changeworld:"state,5"}, "psyche::irate::Andrew!", "pc::d::Umm, what?", "psyche::irate::Are you even paying attention.", "pc::d::Yeah.", "psyche::irate::I don't see how we can have a regular conversation when you spend all your time staring at my thighs.", "pc::shock::I wasn't.", "psyche::irate::...", "pc::shock::Really, I wasn't.", "psyche::d::Our session is over, your attending will be here shortly to escort you."];
sub_friend.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_hikki.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_psyche.push({tx:17, ty:14, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_therapist.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_autist.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon1.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon2.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon3.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon4.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon5.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon6.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_anon7.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_hikki.push({});
sub_psyche.push({});
sub_therapist.push({});
sub_autist.push({});
sub_anon1.push({});
sub_anon2.push({});
sub_anon3.push({});
sub_anon4.push({});
sub_anon5.push({});
sub_anon6.push({});
sub_anon7.push({});
sub_pc.push({tx:16, ty:67, l:1, ws:4, gstate:"stand", gdir:"se"});
sub_pc.push({pa:90});
world_text[90] = [0, "pc::d::Alright, I'll go out first and tell you if the coast is clear.", "girl::d::Ok."];
sub_pc.push({pzone:"15,69,14,69,15,71", pa:91});
world_text[91] = {canul:0, canur:0, candl:0, candr:0, as:"b"};
sub_b.push({tx:31, ty:36, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_b.push({dir:"ne"});
sub_b.push({tx:15, ty:70, pa:92});
sub_b.push({});
world_text[92] = [{canul:1, canur:1, candl:1, candr:1, locks:"B,16,68,2,93,B,16,69,2,93"}, "b::d::Andrew, where's Kiernan?", "pc::shock::What?", "b::d::Don't make this worse on yourself.", "pc::glance::I...", "b::d::Move over to the sinks."];
world_text[93] = [0, "b::d::The SINKS, move over to the SINKS."];
sub_pc.push({pzone:"14,67,14,68", pa:94});
sub_pc.push({});
world_text[94] = {canul:0, canur:0, candl:0, candr:0, as:"a,b", sprite:0, propname:"gdir", propval:"se"};
sub_b.push({dir:"nw"});
sub_b.push({tx:14, ty:69, gdir:"ne"});
sub_a.push({tx:31, ty:36, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_a.push({dir:"ne"});
sub_a.push({tx:16, ty:68, pa:25});
sub_a.push({pdelay:1, pa:25});
sub_a.push({});
sub_girl.push({tx:3, ty:64, l:1, ws:4, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_girl.push({statejump:1, tx:16, ty:67, l:1, gdir:"se"});
sub_girl.push({});
sub_girl.push({gdir:"sw", pa:95, pdelay:1});
sub_girl.push({});
world_text[95] = [{cut:"end"}, "pc::regret::(It's safe to say that beyond this point things did not turn out well.)", "pc::regret::(There are things to be said of not living your life with regrets...)", "pc::regret::(But living without thinking of how your actions impact others...)", "pc::regret::(...the regrets just continue to pile up.)"];
sub_anon6.push({tx:3, ty:64, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon7.push({tx:3, ty:64, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({});
sub_friend.push({tx:29, ty:40, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_girl.push({tx:27, ty:38, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_hikki.push({tx:27, ty:37, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_therapist.push({tx:28, ty:37, l:1, ws:5, gstate:"stand", gdir:"sw"});
sub_anon1.push({tx:26, ty:40, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon2.push({tx:26, ty:39, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon3.push({tx:28, ty:42, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon4.push({tx:27, ty:43, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_anon5.push({tx:28, ty:41, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_girl.push({});
sub_hikki.push({});
sub_therapist.push({});
sub_anon1.push({});
sub_anon2.push({});
sub_anon3.push({});
sub_anon4.push({});
sub_anon5.push({});
sub_b.push({tx:5, ty:11, l:1, ws:5, gstate:"stand", gdir:"se"});
sub_b.push({});
sub_autist.push({tx:50, ty:16, l:1, ws:5, gstate:"out", gdir:"ne"});
sub_autist.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:5, gstate:"sit_ink", gdir:"ne"});
sub_psyche.push({});
sub_pc.push({tx:15, ty:17, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_pc.push({});
sub_a.push({tx:3, ty:46, l:1, ws:5, gstate:"stand", gdir:"ne"});
sub_a.push({dir:"nw"});
sub_a.push({tx:17, ty:19, pa:96});
world_text[96] = [{canul:1, canur:1, candl:1, candr:1, sav:"0,5", locks:"B,7,45,0,B,19,37,0"}, "a::d::Here for Andrew.", "psyche::smile::Thank you, Ben.", "psyche::d::Goodbye Andrew.", "pc::d::Bye."];
sub_a.push({dir:"se"});
sub_a.push({tx:3, ty:46, dir:"ne"});
sub_a.push({tx:4, ty:44, gdir:"nw", pa:100, pzone:"3,43"});
sub_a.push({dir:"ne"});
sub_a.push({tx:5, ty:42, dir:"se"});
sub_a.push({tx:6, ty:44, dir:"ne"});
sub_a.push({tx:6, ty:43, dir:"se"});
sub_a.push({tx:16, ty:43, dir:"ne"});
sub_a.push({tx:19, ty:38, pa:100, pzone:"18,37,18,38,18,39,19,39,19,40"});
sub_a.push({dir:"ne"});
sub_a.push({tx:6, ty:12, gdir:"nw", pa:97, pzone:"5,12,5,13,6,14,6,15,6,13,7,14"});
sub_a.push({});
world_text[97] = [{as:"pc", locks:"B,7,45,1,B,19,37,1"}, "a::d::Go on ahead, Andrew. Everyone's in group session."];
sub_pc.push({pa:98, pzone:"25,45,26,45,26,47"});
world_text[98] = [0, "therapist::d::Welcome back, Andrew.", "therapist::d::Come have a se- I mean, come join the group."];
sub_pc.push({pa:99, pzone:"26,41,27,42,29,38"});
world_text[99] = [{as:"anon5"}, "therapist::d::Andrew, our group grew while you were gone..."];
sub_anon5.push({dir:"nw"});
sub_anon5.push({tx:28, ty:40, pa:101});
world_text[101] = [{as:"girl"}, "anon::d::Hi Andrew, I'm Arnold.", "pc::d::Hi.", "therapist::d::We've run out of seats, would you be fine on the floor or standing up or...", "girl::smile::He can have my seat."];
sub_anon5.push({dir:"se"});
sub_anon5.push({tx:28, ty:41});
sub_girl.push({dir:"se"});
sub_girl.push({tx:27, ty:39, dir:"ne"});
sub_girl.push({tx:28, ty:38, gdir:"sw", pa:20, pzone:"27,38"});
sub_girl.push({gdir:"nw", pdelay:2, pa:102});
world_text[102] = {as:"hikki"};
sub_girl.push({dir:"sw"});
sub_girl.push({tx:27, ty:39, dir:"ne"});
sub_girl.push({tx:28, ty:38, dir:"nw"});
sub_girl.push({tx:27, ty:37});
sub_hikki.push({dir:"se"});
sub_hikki.push({tx:28, ty:39, dir:"ne"});
sub_hikki.push({tx:29, ty:38, dir:"se"});
sub_hikki.push({tx:29, ty:39, gstate:"sitfloor", gdir:"nw", pdelay:1, pa:103});
sub_hikki.push({});
world_text[103] = [{as:"a"}, "therapist::d::Ummm...? Ok well, let's move on to Mark.", "anon::d::I'm mostly here for drug stuff so... yeah.", "therapist::d::Do you feel that-", "girl::glance::<Hey.>", "pc::perplex::<Hmm?>", "girl::glance::<What you did...>", "anon::d::No, yeah. I'm totally remorseful and stuff.", "anon::d::I'm just really stupid.", "therapist::d::Please Mark, no name-calling. Especially not towards yourself.", "girl::glance::<...it was really->"];
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:46, pa:104});
sub_a.push({});
world_text[104] = [{as:"anon2"}, "a::d::I need to borrow Fredrick.", "therapist::d::Fredrick...", "anon::d::Coming."];
sub_anon2.push({dir:"se"});
sub_anon2.push({tx:27, ty:40, dir:"sw"});
sub_anon2.push({tx:25, ty:43, dir:"se"});
sub_anon2.push({tx:26, ty:45, pa:30});
sub_anon2.push({dir:"sw"});
sub_anon2.push({tx:5, ty:13});
sub_a.push({dir:"sw"});
sub_a.push({tx:5, ty:14, pa:105});
world_text[105] = [{canul:0, canur:0, candl:0, candr:0, cut:"transition", sav:"0,6"}, "therapist::d::Alright, thanks for sharing Mark that was fantastic.", "therapist::d::Next, Andrew.", "pc::shy::Uh, what?", "therapist::d::Why are you here?", "pc::regret::Uh, I have bipolar and uhhhh...", "therapist::d::The specific reason.", "pc::regret::Well... me and my mom had a fight... a bad one.", "friend::d::You hit her?", "therapist::d::Michael...", "pc::regret::...", "pc::regret::Yeah.", "friend::wut::Not cool.", "girl::nofun::...", "therapist::d::No judgement. Everyone here has made mistakes.", "pc::regret::...", "therapist::d::I think it's someone elses turn now, ummm... Morgan."];
sub_psyche.push({tx:17, ty:14, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_anon1.push({tx:26, ty:40, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon2.push({tx:26, ty:39, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon3.push({tx:27, ty:38, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon4.push({tx:27, ty:37, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({});
sub_anon3.push({});
sub_anon4.push({});
sub_anon6.push({tx:3, ty:18, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_b.push({tx:3, ty:17, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_anon5.push({tx:16, ty:67, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_anon5.push({dir:"sw"});
sub_anon5.push({tx:29, ty:40});
sub_autist.push({tx:5, ty:14, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_autist.push({dir:"ne"});
sub_autist.push({tx:26, ty:46, dir:"nw"});
sub_autist.push({tx:23, ty:41, dir:"ne"});
sub_autist.push({tx:25, ty:37, dir:"nw"});
sub_autist.push({tx:8, ty:60});
sub_girl.push({tx:27, ty:42, l:1, ws:6, gstate:"stand", gdir:"se"});
sub_girl.push({});
sub_girl.push({gdir:"sw"});
sub_hikki.push({tx:27, ty:43, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_friend.push({tx:30, ty:43, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_pc.push({tx:31, ty:43, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_pc.push({});
sub_a.push({tx:5, ty:13, l:1, ws:6, gstate:"stand", gdir:"ne"});
sub_a.push({dir:"ne"});
sub_a.push({tx:26, ty:45, pa:25, pdelay:4});
sub_a.push({tx:26, ty:45, pa:106});
world_text[106] = [{as:"anon6,b"}, "a::d::People, listen up.", "a::d::We've got a new patient coming soon.", "girl::flirt::More? Isn't this overcrowding?", "a::d::His name is Ohio.", "anon::d::Pffft.", "friend::laugh::Ohio!? Haha, what?", "a::d::Yeah, yeah. Get it out of your systems now.", "a::d::I don't want anyone laughing at him when he gets here.", "a::d::He very recently attempted suicide and is emotionally sensitive right now.", "a::d::I know some of you here have done the same so... well...", "a::d::Be empathetic."];
sub_a.push({dir:"nw"});
sub_a.push({tx:25, ty:43, gdir:"se"});
sub_a.push({gdir:"ne"});
sub_anon6.push({dir:"ne"});
sub_anon6.push({tx:26, ty:45, dir:"nw"});
sub_anon6.push({tx:26, ty:44, pa:30});
sub_anon6.push({gdir:"ne"});
sub_b.push({dir:"ne"});
sub_b.push({tx:26, ty:46, dir:"se"});
sub_b.push({tx:26, ty:47, gdir:"nw", pdelay:2, pa:100});
sub_b.push({dir:"ne"});
sub_b.push({tx:27, ty:46, dir:"nw"});
sub_b.push({tx:26, ty:45, gdir:"ne", pa:107});
world_text[107] = [{canul:1, canur:1, candl:1, candr:1, as:"pc,a,girl,hikki,friend,anon1,anon2,anon3,anon4"}, "b::d::Hey everyone, this is Ohio.", "b::d::Come up and introduce yourselves."];
sub_a.push({dir:"sw"});
sub_a.push({tx:25, ty:44, gdir:"ne"});
sub_b.push({dir:"sw"});
sub_b.push({tx:26, ty:46, gdir:"ne"});
sub_hikki.push({dir:"sw"});
sub_hikki.push({tx:26, ty:45, gdir:"nw"});
sub_girl.push({dir:"sw"});
sub_girl.push({tx:26, ty:43});
sub_anon1.push({dir:"sw"});
sub_anon1.push({tx:25, ty:42, dir:"se"});
sub_anon1.push({tx:25, ty:43});
sub_anon2.push({dir:"se"});
sub_anon2.push({tx:27, ty:40, dir:"sw"});
sub_anon2.push({tx:26, ty:42, gdir:"se"});
sub_anon3.push({dir:"se"});
sub_anon3.push({tx:27, ty:39, dir:"sw"});
sub_anon3.push({tx:26, ty:41});
sub_anon4.push({dir:"se"});
sub_anon4.push({tx:28, ty:39, dir:"sw"});
sub_anon4.push({tx:27, ty:42});
sub_friend.push({dir:"sw"});
sub_friend.push({tx:30, ty:44, dir:"nw"});
sub_friend.push({tx:29, ty:43, pzone:"30,41,31,40,30,42,30,40,30,44,29,45", pa:109});
world_text[109] = [0, "friend::d::I remember this.", "pc::perplex::What?", "friend::d::They did this same thing when Evan first arrived... make everyone get up to meet him.", "friend::d::And he attempted suicide too, that must be why they do this."];
sub_friend.push({dir:"sw"});
sub_friend.push({tx:27, ty:47, dir:"nw"});
sub_friend.push({tx:27, ty:46});
sub_pc.push({pzone:"27,44", pa:110});
sub_pc.push({});
world_text[110] = [{as:"a,b,girl"}, "anon::d::Hi, I'm Arnold.", "girl::smile::Arnold's new too.", "anon::d::Hi.", "friend::heh::Hey OHIO, I'm Michael.", "pc::heh::...", "anon::d::Hi, Michael.", "pc::heh::I'm Andrew.", "anon::d::Hi.", "b::d::Mark, what are you doing over there? Introduce yourself.", "anon::d::...", "girl::smile::Don't mind Mark, he's he's had a tiring day.", "pc::glance::...", "girl::laugh::He's alot of fun when he's energetic, I promise.", "pc::pissed::...", "a::d::Alright girls, we're going back to your side.", "hikki::d::Ok.", "girl::smile::Alright! See ya tomorrow, Ohio!", "anon::d::Bye..."];
sub_girl.push({gdir:"se", pdelay:1, pa:111});
world_text[111] = [0, "girl::d::Can I get by?", "pc::pissed::...", "pc::regret::Sure."];
sub_girl.push({dir:"se"});
sub_girl.push({tx:27, ty:44, dir:"sw"});
sub_girl.push({tx:6, ty:12, pa:112});
sub_girl.push({});
sub_hikki.push({dir:"sw"});
sub_hikki.push({tx:5, ty:13});
sub_b.push({dir:"se"});
sub_b.push({tx:26, ty:47, gdir:"ne"});
sub_a.push({dir:"se"});
sub_a.push({tx:26, ty:46, pa:102});
sub_a.push({dir:"sw"});
sub_a.push({tx:5, ty:14});
world_text[112] = [{cut:"transition"}, "pc::pissed::(I can't believe she would say that shit right in front of me.)", "pc::pissed::(Right in front of everyone.)", "friend::d::Andrew, you good?", "pc::sigh::Yeah.", "pc::sigh::(How long will it be before I burst?)", "pc::d::(And then, instead of James, I'm the one on the floor...)"];
sub_anon7.push({tx:3, ty:64, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_a.push({tx:7, ty:10, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_autist.push({tx:8, ty:60, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:7, ty:61, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:7, ty:60, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:3, ty:63, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:4, ty:64, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:8, ty:59, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_friend.push({tx:39, ty:37, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_anon6.push({tx:30, ty:47, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_b.push({tx:6, ty:11, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_hikki.push({tx:6, ty:12, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_girl.push({tx:5, ty:13, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_pc.push({tx:41, ty:40, l:1, ws:7, gstate:"stand", gdir:"ne"});
sub_pc.push({pzone:"29,45,30,44,31,42", pa:113});
world_text[113] = [0, "pc::tired::(Me and Ohio are the first ones up...)", "pc::tired::(He hasn't noticed me... he's just staring into space.)", "pc::tired::(I wonder if that's what depression looks like... or maybe that's just how he is in the mornings.)", "pc::tired::(I'll sit across from him so he notices me.)"];
sub_pc.push({pzone:"32,44", pa:114});
sub_pc.push({});
world_text[114] = [{as:"a", canul:0, canur:0, candl:0, candr:0}, "anon::d::...", "pc::tired::(Wow, he still hasn't noticed me.)", "pc::tired::Morning.", "anon::d::...", "pc::tired::Good morning.", "anon::d::Huh? Oh, hi. I mean, good morning.", "pc::concern::(He's thumbing the scars on his wrist...)"];
sub_a.push({mov:"ne.t.26.45.se.1.ne.1.se.2.w.2.nw.2.ne.t.31.39.se.2.as.anon3,anon4.w.3.as.friend.nw.t.29.35.sw.1.nw.2.sw.1.nw.2.w.2.se.2.sw.3.nw.1.w.2.as.autist,anon1,anon2.w.1.se.2.sw.3.nw.1.w.2.se.t.25.43.gdir.ne.as.anon5"});
sub_a.push({});
sub_anon3.push({mov:"nw.t.27.44.ne.1"});
sub_anon3.push({});
sub_anon4.push({mov:"w.4.nw.t.26.43.ne.2.se.1"});
sub_anon4.push({pa:108});
world_text[108] = [0, "pc::concern::So... we're the first ones up, huh?", "anon::d::Yeah.", "pc::concern::Yeah..."];
sub_autist.push({mov:"se.3.w.3.sw.2.se.3.ne.4.se.1"});
sub_autist.push({});
sub_anon1.push({mov:"w.3.se.t.28.37.sw.2.nw.1"});
sub_anon1.push({});
sub_anon2.push({mov:"w.5.se.t.28.37.sw.3.nw.1"});
sub_anon2.push({});
sub_friend.push({mov:"se.1.sw.3.nw.t.31.39.sw.2.se.1.sw.1"});
sub_friend.push({pa:115});
sub_friend.push({});
world_text[115] = [0, "friend::tired::Ugh.", "friend::sleep::...", "pc::concern::Ohio, is that how you did it?", "anon::d::Did what?", "pc::concern::Your wrist... is that how you?", "friend::tired::...", "anon::d::N-no, these are old."];
sub_anon5.push({mov:"se.t.25.42.ne.2"});
sub_anon5.push({pa:116});
sub_anon5.push({});
world_text[116] = [{as:"b,hikki,girl"}, "friend::glance::Y'know that's not the way you're supposed to do it.", "anon::d::What?", "friend::heh::Down the lane, not across the road.", "anon::d::Huh?", "friend::d::They can't fix the vein if you cut it length-wise.", "friend::d::Going across is call-for-help shit.", "pc::d::If you really wanted to die it'd probably be better to cut at the neck.", "anon::d::...", "friend::wut::Dude, that would hurt like hell.", "friend::d::And if you want to suffocate you use a bag or car fumes.", "pc::d::Not suffocate, I meant cut the artery on your neck that takes blood to your brain.", "pc::think::I'm not sure which side that one is...", "pc::d::I don't think it would hurt much more than cutting your wrist and you would pass out quicker.", "friend::think::Hmmm...", "anon::d::I used a belt last time...", "pc::concern::Oh...", "friend::glance::..."];
sub_b.push({mov:"ne.t.27.44.nw.1.gdir.ne.w.3"});
sub_b.push({pa:117});
sub_b.push({});
sub_hikki.push({mov:"ne.t.26.45.se.1.ne.7"});
sub_hikki.push({});
sub_girl.push({mov:"ne.t.26.45.se.1.ne.6"});
sub_girl.push({});
world_text[117] = [{cut:"transition", sav:"0,8"}, "b::d::Alright guys, morning goals."];
sub_anon7.push({tx:3, ty:64, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_b.push({tx:3, ty:64, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_anon6.push({tx:3, ty:64, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_therapist.push({tx:30, ty:44, l:1, ws:8, gstate:"stand", gdir:"se"});
sub_therapist.push({});
sub_friend.push({tx:30, ty:43, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_girl.push({tx:31, ty:47, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_anon1.push({tx:30, ty:46, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:30, ty:47, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:32, ty:46, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:32, ty:44, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:31, ty:43, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_a.push({tx:29, ty:36, l:1, ws:8, gstate:"stand", gdir:"sw"});
sub_a.push({});
sub_autist.push({tx:28, ty:33, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_hikki.push({tx:27, ty:37, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_pc.push({tx:28, ty:41, l:1, ws:8, gstate:"stand", gdir:"ne"});
sub_pc.push({pdelay:2, pa:118});
sub_pc.push({});
world_text[118] = [{cut:"transition"}, "pc::d::(I had gotten used to the routine of this place.)", "pc::d::(I was kinda scared when I first woke here but now it just kinda feels like summer camp.)", "pc::d::(A summer camp for the damaged and broken.)"];
sub_friend.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_girl.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_hikki.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_a.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_b.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_autist.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_pc.push({tx:19, ty:64, l:1, ws:9, gstate:"stand", gdir:"ne"});
sub_pc.push({pa:119, pdelay:2});
sub_pc.push({});
world_text[119] = {cut:"transition"};
sub_friend.push({tx:3, ty:64, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_a.push({tx:3, ty:64, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_b.push({tx:3, ty:64, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_therapist.push({tx:28, ty:37, l:1, ws:10, gstate:"stand", gdir:"sw"});
sub_therapist.push({});
sub_girl.push({tx:26, ty:43, l:1, ws:10, gstate:"sitfloor", gdir:"ne"});
sub_girl.push({});
sub_hikki.push({tx:26, ty:42, l:1, ws:10, gstate:"sitfloor", gdir:"ne"});
sub_hikki.push({});
sub_autist.push({tx:26, ty:40, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:26, ty:39, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:27, ty:38, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:27, ty:37, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:27, ty:43, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:28, ty:42, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({tx:29, ty:40, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_pc.push({tx:28, ty:41, l:1, ws:10, gstate:"stand", gdir:"ne"});
sub_pc.push({pa:119, pdelay:3});
sub_pc.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_friend.push({tx:30, ty:43, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_girl.push({tx:31, ty:43, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_hikki.push({tx:31, ty:47, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_anon6.push({tx:30, ty:47, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_a.push({tx:25, ty:42, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_anon4.push({tx:14, ty:67, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon4.push({mov:"w.4.se.2.sw.t.30.38.nw.1.gdir.sw.w.3.sw.4.se.1"});
sub_anon4.push({});
sub_autist.push({tx:26, ty:39, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:29, ty:40, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:28, ty:41, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:27, ty:37, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon5.push({tx:27, ty:43, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_pc.push({tx:32, ty:44, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_pc.push({pa:120});
sub_pc.push({});
world_text[120] = [{as:"b"}, "pc::laugh::Ha ha ha ha, what?!", "girl::laugh::Ha ha ha, oh god.", "hikki::smile::No, just no. That's not how the anatomy works.", "anon::d::But that's what my parents told me.", "hikki::smile::You definitely cannot get pregnant from oral sex.", "anon::d::Not even if she swallows?", "hikki::laugh::Ha ha ha ha.", "girl::laugh::Stop it, you're killing me!", "pc::smile::The mouth goes to the esophagus, goes to the stomach, goes to the intestines, goes to the toilet.", "friend::laugh::Ha ha ha ha.", "pc::smile::And the stomach is full of acid to break down food, there's no way.", "anon::d::But what if...", "anon::d::What if the sperm entered the bloodstream?", "friend::wut::The bloodstream?", "hikki::unsure::...", "girl::think::...", "pc::think::...", "anon::d::The bloodstream goes everywhere right? So it could potentially carry the semen to the womb?", "pc::think::Mmmm... Maybe?", "girl::smile::Just imagine...", "girl::smile::The Virgin Mary got throat-fucked so hard that cum got into her bloodstream and she got pregnant from that.", "pc::laugh::Ha ha ha ha.", "anon::d::...", "friend::heh::That's messed up."];
sub_anon7.push({tx:6, ty:12, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_b.push({tx:6, ty:11, l:1, ws:11, gstate:"stand", gdir:"ne"});
sub_b.push({});
sub_b.push({mov:"ne.t.26.45.nw.2.as.a.w.4.se.2.sw.t.6.11.as.a"});
sub_b.push({});
sub_a.push({gdir:"se"});
sub_a.push({pa:121});
world_text[121] = [{as:"friend", canul:1, canur:1, candl:1, candr:1}, "a::d::Michael, Andrew. Come over here for a second."];
sub_friend.push({mov:"sw.1.nw.2.sw.3.nw.2.as.a"});
sub_friend.push({});
sub_a.push({});
sub_a.push({touchse:122, touchskip:1});
sub_a.push({});
world_text[122] = [{canul:0, canur:0, candl:0, candr:0, sprite:0, propname:"gdir", propval:"se", as:"b,anon7,friend", locks:"B,32,40,1"}, "a::d::Alright guys we have another new arrival coming so we need to move some people to the other side.", "friend::d::The girls side?", "a::d::That's right and I've chosen you two.", "a::d::I can trust you two to behave over there right?", "pc::excite::(The girls side!)", "pc::excite::Yes, sir!", "friend::think::But isn't there still a free bed in James' room?", "pc::shock::(What are you saying Michael?! Just say yes!)", "a::d::Michael, you should know better than anyone why we can't put someone in James' room.", "friend::d::I guess.", "a::d::And we sure can't move James to the girls side.", "a::d::So, you'll do it?", "friend::d::Yeah, alright.", "a::d::Great.", "pc::excite::(Great!)"];
sub_friend.push({mov:"nw.1.gdir.se"});
sub_friend.push({});
sub_b.push({mov:"ne.t.26.45.nw.1.gdir.ne"});
sub_b.push({});
sub_anon7.push({mov:"ne.t.26.45.w.1"});
sub_anon7.push({pa:123});
sub_anon7.push({});
world_text[123] = [{as:"anon6,girl,hikki,anon5"}, "b::d::Hey everyone.", "b::d::Oh, people in the lounge area, could you join us?"];
sub_girl.push({mov:"nw.2.sw.1"});
sub_girl.push({});
sub_hikki.push({mov:"w.1.nw.4.gdir.sw"});
sub_hikki.push({pa:124});
sub_hikki.push({});
sub_anon5.push({mov:"nw.1.gdir.sw"});
sub_anon5.push({});
sub_anon6.push({mov:"ne.1.nw.4.gdir.sw"});
sub_anon6.push({});
world_text[124] = [{as:"anon7,b,anon6,anon5"}, "b::d::Everyone, I'd like you to welcome our newest arrival, Phillip.", "friend::smile::Hi Phillip, I'm Michael.", "pc::excite::I'm Andrew.", "anon::d::Deacon.", "anon::d::Fredrick.", "anon::d::Mark", "anon::d::Evan.", "anon::d::Hi, I'm Arnold.", "hikki::d::Morgan.", "anon::d::Ohio.", "girl::smile::I'm Penelope, welcome!", "b::d::Your real name, Kiernan!", "girl::laugh::What he said.", "b::d::The quiet one over there is James.", "autist::eyeshut::...", "a::d::And I'm your other attending, Ben. Nice to meet you."];
sub_anon5.push({mov:"se.1"});
sub_anon5.push({});
sub_anon6.push({mov:"sw.1.se.3"});
sub_anon6.push({});
sub_b.push({mov:"gdir.se.w.4.se.1.ne.1.se.1.ne.t.31.38.se.4"});
sub_b.push({});
sub_anon7.push({mov:"w.1.gdir.nw.w.3.se.1.gdir.nw.w.2.as.a.ne.t.31.38.se.3"});
sub_anon7.push({});
sub_a.push({mov:"w.4.sw.1.se.3.gdir.ne"});
sub_a.push({pa:125});
sub_a.push({});
world_text[125] = [{as:"girl,hikki,friend"}, "a::d::Kiernan, Morgan, Michael, Andrew, come here."];
sub_friend.push({mov:"se.1.sw.1"});
sub_friend.push({});
sub_hikki.push({mov:"sw.1.nw.1.sw.2.nw.1.sw.1"});
sub_hikki.push({});
sub_girl.push({mov:"sw.5.nw.1.gdir.sw.as.a"});
sub_girl.push({});
sub_a.push({pa:126});
world_text[126] = [{canul:1, canur:1, candl:1, candr:1, locks:"B,25,47,0,B,2,19,0,B,7,9,1,B,13,37,0,B,2,44,1,B,7,45,1,B,2,35,0", as:"friend,hikki,girl"}, "a::d::Alright guys, I'm taking you over to the other side.", "girl::d::Them too?", "a::d::Yeah, we've run out of rooms on this side.", "girl::smile::Awesome!"];
sub_a.push({mov:"sw.t.3.18"});
sub_a.push({});
sub_hikki.push({mov:"sw.t.3.17"});
sub_hikki.push({});
sub_friend.push({mov:"se.1.sw.t.4.16.se.1.sw.2.gdir.nw"});
sub_friend.push({});
sub_girl.push({mov:"nw.1.sw.t.6.11.se.1.sw.t.4.18.as.a"});
sub_girl.push({});
sub_a.push({pzone:"2,17,3,16,4,20,4,19,5,18,3,15,4,16,4,17", pa:100});
sub_a.push({mov:"as.hikki,girl,friend.sw.t.16.43.nw.t.3.36.gdir.se"});
sub_hikki.push({mov:"w.2.sw.t.18.40.nw.1.sw.1.nw.1.sw.1.nw.3.sw.1.nw.t.5.41.sw.1.nw.4.ne.1.gdir.nw"});
tempstate1 = sub_hikki.push({}) - 1;
sub_friend.push({mov:"nw.1.sw.t.17.42.nw.3.sw.1.nw.t.4.38"});
tempstate2 = sub_friend.push({}) - 1;
sub_girl.push({mov:"sw.1.nw.1.sw.t.16.43.nw.t.6.42.sw.1.nw.t.2.37"});
tempstate3 = sub_girl.push({}) - 1;
tempstate4 = sub_a.push({mov:"w.1"}) - 1;
sub_a.push({pzone:"2,38,3,38,3,39,4,37,4,36,3,35", pa:127});
sub_a.push({});
sub_a.push({});
sub_a.push({});
tempstate5 = sub_a.push({mov:"as.hikki,girl,friend.nw.2.ne.1.gdir.sw"}) - 1;
world_text[127] = {as:(((((((("a+++if,hikki," + tempstate1) + ",friend,") + tempstate2) + ",girl,") + tempstate3) + "+++") + tempstate5) + "+++") + tempstate4};
sub_hikki.push({mov:"nw.t.29.20.sw.1.nw.5.sw.2.se.1.as.pc"});
sub_hikki.push({});
sub_girl.push({mov:"ne.1.nw.t.29.20.sw.1.nw.5.sw.3.nw.1.as.pc"});
sub_girl.push({});
sub_friend.push({mov:"nw.t.29.20.sw.1.nw.5.sw.3.se.2.as.pc"});
sub_friend.push({});
sub_a.push({pzone:"26,20,25,18,24,17", pa:128});
world_text[128] = [{as:"pc"}, "pc::excite::Oh wow, there's a TV.", "a::d::You guys will be in this room over here near the entrance.", "a::d::I've got stuff I need to do, I'll be back."];
sub_a.push({mov:"sw.1.se.4.as.pc"});
sub_a.push({});
sub_pc.push({});
sub_pc.push({});
sub_pc.push({});
sub_pc.push({});
sub_pc.push({pzone:"23,19,24,17", pa:129});
sub_pc.push({});
world_text[129] = [{precut:"tv1", nextext:130}, "pc::heh::How come the girls get a TV and we don't?", "friend::d::I mentioned before that there used to be a TV, right?", "pc::d::Oh right, what happened to it.", "friend::heh::James broke it.", "pc::d::Oh.", "girl::smile::James is insane. Did he like punch through the glass or what?", "friend::smile::He tipped it over and it smashed on the floor.", "friend::heh::Then he started kicking it and didn't stop even after they gave him the shot.", "friend::heh::Seriously, they gave him four in the ass before it finally knocked him out.", "hikki::d::What set him off?", "friend::d::Me...", "friend::regret::I was making fun of him.", "pc::regret::..."];
world_text[130] = [{precut:"tv2", canul:0, canur:0, candl:0, candr:0, as:"girl,hikki"}, "pc::glance::...", "girl::tired::...", "friend::tired::...", "hikki::tired::...", "girl::yawn::I think *yawn* it's time I go to bed.", "hikki::tired::Me too, goodnight.", "pc::smile::Goodnight.", "girl::tiredsmile::Goodnight fellas.", "pc::smile::Goodnight Kiernan.", "friend::tired::Night."];
sub_hikki.push({mov:"nw.1.ne.2.nw.2.ne.3.nw.3"});
sub_hikki.push({});
sub_girl.push({mov:"se.1.ne.3.nw.1.ne.5.se.t.29.13.ne.4.w.3.as.pc"});
sub_girl.push({});
sub_pc.push({pa:131});
sub_pc.push({});
world_text[131] = [{as:"hikki"}, "pc::think::Hey Michael, I've been wondering...", "friend::tired::What?", "pc::think::What's Kiernan in the substance abuse meetings for?", "friend::tired::Substance abuse.", "pc::d::No, you know what I mean. What was she using?", "friend::tired::Same as most everyone, weed and alcohol.", "pc::think::Hmmm..."];
sub_hikki.push({mov:"se.t.26.11.ne.2.se.t.29.13.ne.3.as.a"});
sub_hikki.push({});
sub_a.push({mov:"w.4.nw.t.29.20.sw.1.nw.3.gdir.sw.w.1"});
sub_a.push({pa:132});
world_text[132] = [{canul:1, canur:1, candl:1, candr:1, as:"friend"}, "a::d::Alright guys, wrap it up. It's bed time.", "friend::tired::Alright."];
sub_a.push({mov:"se.2.ne.5.nw.2.ne.1.w.4.sw.1.se.2.sw.1"});
sub_a.push({});
sub_friend.push({mov:"nw.2.ne.2.se.4.sw.t.63.16.nw.3.ne.1.as.pc"});
sub_friend.push({});
sub_pc.push({pzone:"60,15", pa:133});
sub_pc.push({});
world_text[133] = [{cut:"transition", sav:"0,12"}, "pc::d::Goodnight Michael.", "friend::sleep::Night, Andrew."];
sub_girl.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_girl.push({});
sub_hikki.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_hikki.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_a.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_autist.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_friend.push({tx:62, ty:12, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_pc.push({tx:60, ty:15, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_pc.push({pa:134});
sub_b.push({tx:3, ty:37, l:1, ws:12, gstate:"stand", gdir:"ne"});
sub_b.push({});
world_text[134] = [{canul:1, canur:1, candl:1, candr:1}, "pc::tired::(It's been an hour I suppose...)", "pc::tired::(I've tried to sleep but I just can't.)", "pc::d::(Honestly, how can I?)", "pc::d::(She's right there. I could go to her right now.)", "pc::d::(Why aren't I? What's stopping me?)", "pc::tired::(Well if I'm caught I'll be in alot of trouble.)", "pc::d::(But I'm sure I heard the attending leave a minute ago.)", "pc::d::(I should do it, sneak over there now while I have the chance.)", "pc::nerv::(I'll do it!)"];
sub_pc.push({pzone:"30,19,30,18,29,17,29,16,28,15,28,14,27,13,27,12,26,11,26,10,25,9", pa:26});
sub_pc.push({});
sub_b.push({mov:"nw.t.29.20.gdir.ne"});
sub_b.push({pa:135});
world_text[135] = [0, "b::d::Where do you think you're going?", "pc::nerv::(CRAAAAAAAP.)", "pc::nerv::Uhh, j-just going to the toilet.", "b::d::Go on then."];
sub_b.push({gdir:"nw", pzone:"29,70", pa:136});
world_text[136] = [{cut:"transition"}, "pc::sigh::(That was dangerous.)"];
sub_b.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_a.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_autist.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_hikki.push({tx:29, ty:19, l:1, ws:13, gstate:"stand", gdir:"sw"});
sub_hikki.push({});
sub_girl.push({tx:29, ty:18, l:1, ws:13, gstate:"stand", gdir:"sw"});
sub_girl.push({});
sub_friend.push({tx:28, ty:21, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_pc.push({tx:60, ty:15, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_pc.push({});
sub_b.push({tx:60, ty:16, l:1, ws:13, gstate:"stand", gdir:"ne"});
sub_b.push({pdelay:2, pa:137});
world_text[137] = [{canul:0, canur:0, candl:0, candr:0, sav:"0,13"}, "b::d::ANDREW!", "pc::tired::Hueh?", "b::d::Wake up already, everyone's waiting on you.", "pc::tired::Mmm..."];
sub_b.push({mov:"w.1.se.3.ne.1.as.pc.ne.t.28.19.se.2.gdir.nw"});
sub_b.push({pzone:"27,21", pa:138});
sub_pc.push({pa:140});
sub_pc.push({});
world_text[140] = [{canul:1, canur:1, candl:1, candr:1}, "b::d::Move it."];
world_text[138] = [{as:"pc", locks:"B,30,22,0,B,7,45,0"}, "b::d::Alright, let's go.", "b::d::Single file."];
sub_pc.push({pzone:"29,21", pa:139});
world_text[139] = {canul:0, canur:0, candl:0, candr:1};
sub_hikki.push({mov:"sw.1.se.t.16.43.ne.t.19.38"});
sub_hikki.push({});
sub_girl.push({mov:"sw.1.se.t.16.43.ne.t.19.38"});
sub_girl.push({});
sub_friend.push({mov:"ne.1.se.t.16.43.ne.t.19.38"});
sub_friend.push({});
sub_b.push({mov:"as.hikki,girl.as.friend.se.t.7.44"});
sub_b.push({pzone:"6,43,6,42,5,41,5,40", pa:100});
sub_b.push({mov:"se.t.16.43.ne.t.19.38"});
sub_b.push({});
sub_pc.push({pzone:"16,42", pa:141});
sub_pc.push({});
world_text[141] = {cut:"transition", canul:0, canur:0, candl:0, candr:0, locks:"B,30,22,1,B,7,45,1", sav:"0,14"};
sub_a.push({tx:5, ty:65, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_psyche.push({tx:17, ty:14, l:1, ws:14, gstate:"sit_think", gdir:"ne"});
sub_psyche.push({});
sub_therapist.push({tx:28, ty:37, l:1, ws:14, gstate:"stand", gdir:"sw"});
sub_therapist.push({});
sub_girl.push({tx:26, ty:43, l:1, ws:14, gstate:"sitfloor", gdir:"ne"});
sub_girl.push({});
sub_hikki.push({tx:26, ty:42, l:1, ws:14, gstate:"sitfloor", gdir:"ne"});
sub_hikki.push({});
sub_anon5.push({tx:26, ty:40, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon1.push({tx:26, ty:39, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:27, ty:38, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:27, ty:37, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:29, ty:39, l:1, ws:14, gstate:"stand", gdir:"nw"});
sub_anon4.push({});
sub_anon4.push({mov:"nw.1.sw.4.se.1"});
sub_anon4.push({});
sub_anon6.push({tx:29, ty:40, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({tx:28, ty:41, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_friend.push({tx:28, ty:42, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_pc.push({tx:27, ty:43, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_pc.push({pa:142});
sub_pc.push({});
world_text[142] = [0, "anon::d::And then when I was 10 years old she got lost for like a month and we were putting up signs everywhere.", "pc::sigh::(Ugh, how long is he going to keep talking about this?)", "anon::d::So it turned out that all along she had been in our neighbors yard. Then when I was 12...", "pc::pissed::(Shut up about your cat already, no one cares!)"];
sub_autist.push({tx:6, ty:11, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_autist.push({mov:"ne.t.26.45.se.1.ne.t.31.38.nw.4.sw.2.w.2.nw.1.sw.3.gdir.se"});
sub_autist.push({});
sub_b.push({tx:6, ty:12, l:1, ws:14, gstate:"stand", gdir:"ne"});
sub_b.push({mov:"ne.t.26.45.w.3"});
sub_b.push({pa:143});
world_text[143] = [{locks:"B,25,47,0,B,7,9,1,B,2,19,0,B,13,37,0,B,19,37,1,B,2,35,1,B,2,44,0,B,7,45,1", canul:1, canur:1, candl:1, candr:1}, "anon::d::...we couldn't treat her cancer so she ended up losing the function of her-", "b::d::I need Andrew.", "pc::sigh::Thank god."];
sub_b.push({mov:"sw.1"});
sub_b.push({pzone:"25,45,26,45,26,47", pa:100});
sub_b.push({mov:"as.anon4.sw.t.3.18.as.a"});
sub_b.push({pzone:"2,17,3,17,3,19", pa:100});
sub_a.push({mov:"se.t.4.17.ne.t.7.12.nw.1.ne.3"});
sub_a.push({});
sub_b.push({mov:"sw.t.16.43.nw.t.14.38"});
sub_b.push({pzone:"14,37,14,39,13,39", pa:100});
sub_b.push({mov:"nw.t.5.41.gdir.sw"});
sub_b.push({pzone:"3,44,3,45", pa:100});
sub_b.push({mov:"as.psyche.se.6"});
sub_b.push({});
sub_psyche.push({pzone:"17,19", pa:144});
world_text[144] = [0, "psyche::smile::Have a seat Andrew."];
sub_psyche.push({pzone:"15,17", pa:145, gstate:"sit_calm"});
world_text[145] = [{nextext:146, canul:0, canur:0, candl:0, candr:0}, "psyche::d::Is there anything you'd like to talk about?", "pc::d::Not really.", "psyche::smile::Alright then, there's something I'd like us to do...", "psyche::question::Have you ever taken a Rorschach test?", "pc::d::No.", "psyche::smile::Alright, I'm going to show you some inkblots and I want you to tell me what you see.", "psyche::d::Here's the first one... What do you see?"];
world_text[146] = [{precut:"ror_bug", choice:"147,148,149"}, "pc::think::(A cockroach?)", "pc::think::(A bug?)", "pc::think::(A pussy?)"];
world_text[147] = [{nextext:150, changeworld:"ror,++"}, "pc::nerv::A... uh, cock-", "psyche::question::A cock?", "pc::shock::A cock-*cough*... A cockroach!", "psyche::glance::Hmmm, interesting.", "pc::pain::(Yeesh.)", "psyche::glance::Alright, how about this one...?"];
world_text[148] = [{nextext:150}, "pc::nerv::Umm, it's a bug, right?", "psyche::smile::Sure. There's no wrong answers.", "pc::concern::(The wrong answer is the one that makes you think I'm insane.)", "psyche::glance::Alright, tell me what you see in this one..."];
world_text[149] = [{nextext:150, changeworld:"ror,++"}, "pc::nerv::Well, it looks like... the only thing I can see it being is...", "pc::pain::A vagina.", "pc::pain::(Fffffff....)", "psyche::glance::Ok, tell me what you see in this next one..."];
world_text[150] = [{precut:"ror_flower", choice:"151,152,153"}, "pc::think::(A butterfly.)", "pc::think::(A flower.)", "pc::think::(A pussy.)"];
world_text[151] = [{nextext:154}, "pc::glance::A butterfly.", "psyche::question::Alright, what do you see in this one...?"];
world_text[152] = [{nextext:154, changeworld:"ror,++"}, "pc::glance::A flower.", "psyche::smile::I see...", "psyche::question::How about this one, what do you see?"];
world_text[153] = [{nextext:154, changeworld:"ror,++"}, "pc::glance::A puss- a vagina.", "psyche::smile::Don't be ashamed, alot of people see that.", "smile::question::How about this one, what do you see?"];
world_text[154] = [{precut:"ror_butt", choice:"155,156,157"}, "pc::d::(Oh c'mon, that's a butt.)", "pc::d::(What else could it even be...?)", "pc::d::(Maybe I can get away with just saying I cant see anything.)"];
world_text[155] = [{nextext:158, changeworld:"ror,++"}, "pc::d::It's a butt.", "psyche::glance::A butt?", "pc::d::A girl's butt.", "psyche::smile::I see, moving on..."];
world_text[156] = [{nextext:158}, "pc::d::It's a butt...", "psyche::glance::A butt?", "pc::nerv::A butterfly.", "psyche::question::Ok then, how about this one...?"];
world_text[157] = [{nextext:158}, "pc::nerv::I can't see anything...", "psyche::glance::Nothing at all?", "pc::nerv::Nothing.", "psyche::d::Hmmmm....", "pc::concern::(Oh great, now she thinks I'm insane.)", "psyche::d::Moving on..."];
world_text[158] = [{precut:"ror_thighs", choice:"159,160,161"}, "pc::d::(I know what it looks like but... It could also be pliers! I'll say it's pliers.)", "pc::d::(Oh yeah, didn't Michael say I should just say everything is a Butterfly?)", "pc::d::(Fuck it, I'll just say it...)"];
world_text[159] = [{func:"decide_ror"}, "pc::d::It's pliers.", "psyche::glance::Ok then.", "psyche::smile::That's all.", "pc::sigh::*phew*", "psyche::smile::I've found this highly enlightening..."];
world_text[160] = [{func:"decide_ror"}, "pc::d::It's a butterfly.", "psyche::glance::Ok then.", "psyche::smile::That's all.", "pc::sigh::*phew*", "psyche::smile::I've found this highly enlightening..."];
world_text[161] = [{func:"decide_ror", changeworld:"ror,++"}, "pc::nerv::It's a pussy.", "psyche::question::A pussy?", "pc::nerv::A vagina that is... and thighs.", "psyche::glance::I see.", "psyche::smile::I've found this highly enlightening..."];
sub_psyche.push({});
sub_psyche.push({gstate:"sit_irate", pa:162});
sub_psyche.push({});
world_text[162] = [{as:"psyche"}, "psyche::question::Now, how about we talk about your mother.", "pc::d::Ok.", "psyche::question::What does she do for a living?", "pc::d::She's a..."];
sub_psyche.push({gstate:"sit_ink", pdelay:2, pa:119});
sub_psyche.push({});
temppsyche = sub_psyche.push({pa:163}) - 1;
sub_psyche.push({});
world_text[163] = [{cut:"psyche", sav:"5,5"}, "psyche::smile::I'm quite certain that you're plagued by adolescent frustration.", "pc::perplex::Huh?", "psyche::smile::Sexual frustration..."];
sub_therapist.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_therapist.push({});
sub_a.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_a.push({});
sub_autist.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_autist.push({});
sub_anon1.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon1.push({});
sub_anon2.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon2.push({});
sub_anon3.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon3.push({});
sub_anon4.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon4.push({});
sub_anon5.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon5.push({});
sub_anon6.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon6.push({});
sub_anon7.push({tx:3, ty:64, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_anon7.push({});
sub_friend.push({tx:6, ty:40, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_friend.push({});
sub_girl.push({tx:4, ty:39, l:1, ws:15, gstate:"stand", gdir:"se"});
sub_girl.push({});
sub_hikki.push({tx:5, ty:40, l:1, ws:15, gstate:"stand", gdir:"nw"});
sub_hikki.push({});
sub_pc.push({tx:15, ty:17, l:1, ws:15, gstate:"stand", gdir:"ne"});
sub_psyche.push({tx:17, ty:14, l:1, ws:15, gstate:"sit_irate", gdir:"ne"});
sub_psyche.push({});
sub_psyche.push({gstate:"sit_ink"});
sub_b.push({tx:17, ty:19, l:1, ws:15, gstate:"stand", gdir:"nw"});
sub_b.push({pa:164});
world_text[164] = [{locks:"B,18,20,0,B,2,44,1,B,7,45,1,B,2,35,0,B,30,22,1", as:"psyche", canul:1, canur:1, candl:1, candr:1, sav:"0,15"}, "b::d::I'm here for-", "psyche::irate::You're late.", "b::d::Sorry Barbara, we had a thing over there...", "psyche::smile::Till our next session, Andrew.", "pc::smile::Bye."];
sub_b.push({mov:"se.2.ne.4.nw.4.ne.1.gdir.nw"});
sub_b.push({});
sub_pc.push({pzone:"4,42,4,43", pa:165});
sub_pc.push({});
world_text[165] = [{as:"girl,hikki,friend,b"}, "pc::perplex::What are you guys doing here?", "friend::d::We're going back to our side.", "pc::perplex::This early?", "girl::excite::It was crazy , they had to bring in-", "b::d::C'mon already, I need you guys in here."];
sub_b.push({mov:"nw.2.ne.1.gdir.sw"});
sub_b.push({});
sub_b.push({mov:"sw.1.se.3.as.pc"});
sub_b.push({});
sub_girl.push({mov:"nw.t.29.20.sw.1.nw.5.sw.3.nw.1.as.pc"});
sub_girl.push({});
sub_hikki.push({mov:"nw.t.29.20.sw.1.nw.5.sw.4.nw.1.as.b"});
sub_hikki.push({});
sub_friend.push({mov:"sw.1.nw.t.29.20.sw.1.nw.5.sw.3.se.2.as.pc"});
sub_friend.push({});
sub_pc.push({});
sub_pc.push({});
sub_pc.push({pzone:"24,17,25,19", pa:166});
sub_pc.push({});
world_text[166] = [{as:"friend", canul:0, canur:0, candl:0, candr:0}, "pc::d::So what happened?", "girl::excite::Ohio hurt himself and they had to get out the medkit and call an ambulance...", "girl::excite::And so they, the attendings, started putting everyone in their rooms...", "girl::excite::And when they go to put James in his room he starts spazzing out.", "pc::concern::Is Ohio gonna be alright?", "girl::excite::I don't know exactly what happened to him, I never saw...", "girl::excite::Michael found him though, what did he do?", "friend::sad::Mmmm...", "friend::sad::Well I found him in the bathroom, he had broken the mirror...", "friend::sad::Like he'd cracked the mirror and taken a shard from it and he...", "pc::regret::...", "hikki::sad::...", "friend::sad::I'm... I'm gonna go lie down."];
sub_friend.push({mov:"nw.2.ne.2.se.4.sw.t.63.16.as.pc.nw.3.ne.1"});
sub_friend.push({});
sub_pc.push({pa:167});
sub_pc.push({});
world_text[167] = [{nextext:168}, "pc::concern::That must have been hard to see.", "pc::concern::Plus we were talking with Ohio about suicide.", "hikki::wut::What? Why?", "pc::concern::It just came up and... well we were talking about ways to kill yourself...", "pc::regret::It was funny at the time.", "pc::regret::...", "girl::smile::Let's watch something."];
world_text[168] = [{precut:"tv3", as:"b"}, "hikki::d::We're not supposed to watch MTV.", "girl::nofun::Chill Morgan, I'll change it if an attending comes.", "pc::d::(The girls in this video are practically naked.)", "girl::laugh::Ha ha, the girls in this video are practically naked.", "pc::glance::I was just thinking that.", "girl::flirt::I bet you were.", "pc::nerv::Heh... have you taken the Rorschach test?", "girl::smile::Yeah, why?", "pc::nerv::I just took it and all the pictures were... sexual.", "girl::wut::Sexual?", "pc::shy::They were all vaginas.", "girl::laugh::Pfffthahaha, what?", "girl::laugh::There's no vags. There's like, a mask and butterflys.", "hikki::smile::And that one that looks like two bears high-fiveing.", "girl::flirt::There's no clams in the inkblots you perv.", "pc::sigh::If you say so...", "girl::flirt::You probably don't even know what a pussy looks like.", "pc::shy::I do though.", "girl::flirt::You got a girlfriend?", "pc::d::I have the internet."];
sub_b.push({mov:"nw.t.29.20.as.pc.sw.1.nw.4.gdir.sw"});
sub_pc.push({pa:169});
world_text[169] = [{cut:"tv2"}, "girl::panic::Oh shit, here he comes."];
sub_b.push({pa:170});
world_text[170] = [{as:"girl,hikki", canul:1, canur:1, candl:1, candr:1}, "b::d::Alright guys, bed.", "girl::nofun::It's still early though.", "b::d::This isn't a democracy.", "girl::flirt::Yeah, you're being a total DICtator.", "b::d::Goodnight."];
sub_b.push({touchx:171, tdir:"face"});
world_text[171] = [0, "pc::d::Hey, is Ohio gonna be alright?", "b::d::I hope so."];
sub_girl.push({mov:"se.1.ne.3.nw.1.ne.5.se.3.ne.t.38.19.nw.3.ne.1"});
sub_girl.push({});
sub_hikki.push({mov:"w.1.se.1.ne.3.nw.2.ne.t.28.8.se.4.ne.t.40.16.nw.3.ne.1"});
sub_hikki.push({});
sub_pc.push({pzone:"60,15", pa:172});
sub_pc.push({});
world_text[172] = {canul:0, canur:0, candl:0, candr:0, as:"b"};
sub_b.push({mov:"se.3.ne.1.se.6"});
sub_b.push({pa:173});
world_text[173] = [{locks:"B,30,11,0", canul:1, canur:1, candl:1, candr:1}, "pc::d::(There's definitely no way I can sleep now.)", "pc::d::(Tonight, I'm doing it.)", "pc::d::(I'm gonna sneak over to Kiernan's room.)", "pc::d::(I just have to wait on the attending to-)", "pc::glance::*slam*", "pc::glance::(Ok, here I go!)"];
sub_b.push({pzone:"38,20", pa:174});
world_text[174] = {cut:"girl", sav:"1,1", as:"pc", canul:0, canur:0, candl:0, candr:0};
sub_pc.push({statejump:1, tx:39, ty:19, l:1, gstate:"stand", gdir:"nw"});
sub_b.push({statejump:1, tx:38, ty:19, l:1, gstate:"stand", gdir:"nw"});
sub_b.push({mov:"w.1"});
sub_b.push({pa:175});
world_text[175] = [0, "pc::nerv::(Oh shit!)", "b::d::Kiernan.", "girl::tired::Huuuh?", "b::d::You know you're not allowed to close your door.", "girl::tired::Uuuhm, yeah. I forgot, sorry.", "b::d::Don't let it happen again."];
sub_b.push({mov:"sw.3"});
sub_b.push({pa:176});
sub_b.push({});
world_text[176] = [{canul:1, canur:1, candl:1, candr:1}, "pc::sigh::(Holy shit, that was close.)", "pc::d::(I better get back to my room before he checks and finds me missing.)"];
sub_pc.push({pzone:"38,19", pa:177});
world_text[177] = [{as:"b", locks:"B,24,17,2,178,B,25,18,2,178,B,26,20,2,178"}, "girl::smile::Bye, Andrew.", "pc::smile::Bye."];
sub_b.push({statejump:1, tx:25, ty:20, l:1, gstate:"stand", gdir:"sw"});
sub_b.push({});
world_text[178] = [0, "pc::nerv::(WAY TOO CLOSE!)"];
sub_pc.push({pzone:"30,19,30,18,29,17,29,16,28,15,28,14,27,13,27,12,26,11,26,10,25,9", pa:179});
world_text[179] = {sprite:0, propname:"gstate", propval:"out", as:"b", canul:0, canur:0, candl:0, candr:0};
sub_b.push({mov:"gdir.ne.w.1"});
sub_b.push({pa:180});
world_text[180] = [{sprite:0, propname:"gstate", propval:"stand", canul:1, canur:1, candl:1, candr:1}, "pc::nerv::(Don't see me. Don't see me. Don't see me.)", "b::d::..."];
sub_b.push({gdir:"sw"});
sub_pc.push({pzone:"64,13", pa:181});
world_text[181] = [0, "pc::sigh::Phew..."];
sub_pc.push({pzone:"60,15", pa:182});
sub_pc.push({});
world_text[182] = [{cut:"end"}, "pc::tired::(Soon after this, Kiernan would leave the hospital.)", "pc::tired::(I did too, soon enough.)", "pc::tired::(I had been falsely diagnosed with bi-polar disorder.)", "pc::tired::(It was the medication itself that had lost me the control of my emotions and led me to doing...)", "pc::tired::(...regrettable things.)", "pc::tired::(I was mentally sound... as much as any adolescent.)", "pc::sleep::(And while I didn't belong there I didn't regret the time I spent.)", "pc::sleep::(And I hope they all get the turnaround in their life they need...)", "pc::sleep::(Michael, Kiernan, Morgan, James, Ohio.)", "pc::sleep::(Everyone...)", "pc::d::(Everyone except Mark.)", "pc::pissed::(Fuck that guy.)"];
world_state = {state:0, hidetiles:0, ror:0};
tlradius = {r:0, l:0, u:0, d:0};
tilep = {w:48, h:24, zoom:150};
tilep.stagew = (100 / tilep.zoom) * Stage.width;
tilep.stageh = (100 / tilep.zoom) * Stage.height;
tilep.halfw = tilep.w / 2;
tilep.halfh = tilep.h / 2;
tilep.hh = tilep.halfh / 2;
tileradius.l = (tileradius.r = tilep.halfw);
tileradius.u = (tileradius.d = tilep.halfh);
tilearea = {xMin:0, xMax:0, yMin:0, yMax:0};
gamep_spd = [8, 6, 5, 3, 2];
inputs = new Array();
inputs.push({tag:"ul", desc:"Move"});
inputs.push({tag:"ur", desc:"Move"});
inputs.push({tag:"dl", desc:"Move"});
inputs.push({tag:"dr", desc:"Move"});
inputs.push({tag:"space", desc:"Action", kcode:32});
inputs.push({tag:"f", desc:"Fullscreen", kcode:70});
inputs.push({tag:"playtest", desc:"Shift", kcode:16});
inputs.push({tag:"leftclick", desc:"Leftclick", kcode:1});
inputs.push({tag:"test", desc:"T", kcode:84});
inputs.push({tag:"middleclick", desc:"Middleclick", kcode:4});
inputs.push({tag:"up", desc:"Move", kcode:104});
inputs.push({tag:"down", desc:"Move", kcode:101});
inputs.push({tag:"right", desc:"Move", kcode:102});
inputs.push({tag:"left", desc:"Move", kcode:100});
inputs.push({tag:"one", desc:"Copy", kcode:109});
inputs.push({tag:"two", desc:"Paste", kcode:107});
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++;
}
switch_keyboard("qwerty");
_root.attachMovie("empty", "bgaudio", _root.getNextHighestDepth());
bgaud = new Sound(_root.bgaudio);
fadep = new Array();
designp = {camx:0, camy:0, l:1};
timer = 0;
designing(0);
sav = SharedObject.getLocal("f");
prog = ((sav.data.prog == undefined) ? "0,0,0,0,0,0" : (sav.data.prog));
Instance of Symbol 322 MovieClip in Frame 17
on (press) {
_root.designinit();
}
Instance of Symbol 322 MovieClip in Frame 17
on (press) {
_root.exportworld();
}
Frame 25
_root._quality = "HIGH";
this.nextFrame();
Instance of Symbol 383 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 386 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();
init_saves(0);
_root.mc.gotoAndStop(_root.mainmen);
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();
Frame 46
this.nextFrame();
Instance of Symbol 383 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://twitter.com/onehandgames/", "_blank");
}
Instance of Symbol 386 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.tumblr.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Instance of Symbol 1496 MovieClip in Frame 46
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
getURL ("http://onehandgames.bandcamp.com", "_blank");
}
Frame 47
this.stop();
Frame 48
this.prevFrame();
Symbol 16 MovieClip Frame 40
stop();
Symbol 25 MovieClip Frame 40
stop();
Symbol 46 MovieClip Frame 30
stop();
Symbol 48 MovieClip Frame 30
stop();
Symbol 60 MovieClip Frame 31
stop();
Symbol 61 MovieClip Frame 31
stop();
Symbol 88 MovieClip Frame 30
stop();
Symbol 94 MovieClip Frame 25
stop();
Symbol 120 MovieClip Frame 34
stop();
Symbol 129 MovieClip Frame 34
stop();
Symbol 152 MovieClip Frame 56
stop();
Symbol 161 MovieClip Frame 56
stop();
Symbol 185 MovieClip Frame 56
stop();
Symbol 194 MovieClip Frame 56
stop();
Symbol 208 MovieClip Frame 22
stop();
Symbol 209 MovieClip Frame 22
stop();
Symbol 216 MovieClip Frame 27
stop();
Symbol 217 MovieClip Frame 27
stop();
Symbol 234 MovieClip [loadaudio] Frame 1
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 316 MovieClip [tiles] Frame 1
this.design.gotoAndStop(_root.world_state.hidetiles + 1);
stop();
Symbol 316 MovieClip [tiles] Frame 33
this.design.gotoAndStop(_root.world_state.hidetiles + 1);
Symbol 316 MovieClip [tiles] Frame 56
this.design.gotoAndStop(_root.world_state.hidetiles + 1);
Symbol 316 MovieClip [tiles] Frame 57
this.design.gotoAndStop(_root.world_state.hidetiles + 1);
Symbol 322 MovieClip Frame 1
this.stop();
Symbol 364 MovieClip Frame 1
this.gotoAndStop(_root.keyboard_type);
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 1
on (rollOver) {
_parent.gotoAndStop(2);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
on (press) {
_root.gameinit(1);
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 1
on (rollOver) {
_parent.gotoAndStop(3);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
on (press) {
_root.frameon("cutscenes");
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 1
on (press) {
getURL ("http://onehandgames.bandcamp.com/", "_blank");
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 7
on (rollOver) {
_parent.gotoAndStop(8);
}
on (rollOut) {
_parent.gotoAndStop(7);
}
on (press) {
_root.gameinit(1);
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 7
on (rollOver) {
_parent.gotoAndStop(9);
}
on (rollOut) {
_parent.gotoAndStop(7);
}
on (press) {
_root.frameon("cutscenes");
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 7
on (rollOver) {
_parent.gotoAndStop(10);
}
on (rollOut) {
_parent.gotoAndStop(7);
}
on (press) {
_root.gameinit(2);
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 11
on (rollOver) {
_parent.gotoAndStop(14);
}
on (rollOut) {
_parent.gotoAndStop(11);
}
on (press) {
_root.gameinit(1);
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 11
on (rollOver) {
_parent.gotoAndStop(13);
}
on (rollOut) {
_parent.gotoAndStop(11);
}
on (press) {
_root.frameon("cutscenes");
}
Instance of Symbol 375 MovieClip in Symbol 380 MovieClip Frame 11
on (rollOver) {
_parent.gotoAndStop(12);
}
on (rollOut) {
_parent.gotoAndStop(11);
}
on (press) {
_root.gameinit(3);
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 1
this.gotoAndStop(_root.keyboard_type);
Instance of Symbol 375 MovieClip in Symbol 388 MovieClip Frame 1
on (press) {
_root.switch_keyboard("qwerty");
_parent.gotoAndStop(1);
_root.anim.mc.gotoAndStop(1);
}
Instance of Symbol 375 MovieClip in Symbol 388 MovieClip Frame 1
on (press) {
_root.switch_keyboard("azerty");
_parent.gotoAndStop(2);
_root.anim.mc.gotoAndStop(2);
}
Instance of Symbol 375 MovieClip in Symbol 388 MovieClip Frame 1
on (press) {
_root.switch_keyboard("dvorak");
_parent.gotoAndStop(3);
_root.anim.mc.gotoAndStop(3);
}
Instance of Symbol 375 MovieClip in Symbol 388 MovieClip Frame 1
on (press) {
_root.switch_keyboard("fallback");
_parent.gotoAndStop(4);
_root.anim.mc.gotoAndStop(4);
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 870 MovieClip Frame 1
_root.snd_play("girlmu");
Symbol 870 MovieClip Frame 3436
stop();
Symbol 992 MovieClip Frame 1
_root.snd_play("toiletmu");
Symbol 992 MovieClip Frame 2300
stop();
Symbol 1027 MovieClip Frame 1
_root.snd_play("meetgirlmu");
Symbol 1027 MovieClip Frame 344
stop();
Symbol 1151 MovieClip Frame 1
_root.snd_play("meetpsychemu");
Symbol 1151 MovieClip Frame 1261
stop();
Symbol 1353 MovieClip Frame 1
_root.snd_play("psychemu");
Symbol 1353 MovieClip Frame 3052
stop();
if (_root.framein == "game") {
_root.finishgame();
}
Symbol 1354 MovieClip Frame 1
stop();
var temp = _root.prog.split(",");
_root.cutscanplay = new Object();
var i = 1;
while (i < 6) {
_root.cutscanplay["cut" + i] = Number(temp[i]);
_root.overlay["mc" + i].onPress = function () {
var _local3 = this._name.split("c");
_local3 = _local3[1];
if (_root.cutscanplay["cut" + _local3]) {
_root.overlay.gotoAndStop(["play" + _local3]);
}
};
_root.overlay["mc" + i].onRollOver = function () {
var _local3 = this._name.split("c");
_local3 = _local3[1];
if (_root.cutscanplay["cut" + _local3]) {
_root.overlay["lines" + _local3].gotoAndStop(2);
} else {
_root.overlay["lines" + _local3].gotoAndStop(3);
}
};
_root.overlay["mc" + i].onRollOut = function () {
var _local3 = this._name.split("c");
_local3 = _local3[1];
_root.overlay["lines" + _local3].gotoAndStop(1);
};
i++;
}
Instance of Symbol 322 MovieClip in Symbol 1354 MovieClip Frame 1
on (press) {
_root.frameon("menu");
}
Instance of Symbol 322 MovieClip in Symbol 1354 MovieClip Frame 14
on (press) {
_root.snd_stop("meetgirlmu");
_root.snd_stop("meetpsychemu");
_root.snd_stop("girlmu");
_root.snd_stop("psychemu");
_root.snd_stop("toiletmu");
_parent.gotoAndStop(1);
}
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1453 MovieClip Frame 95
_root.change_world("state," + (_root.world_state.state + 1));
Symbol 1453 MovieClip Frame 211
stop();
Symbol 1454 MovieClip Frame 130
stop();
if (_root.framein == "game") {
_root.finishgame();
}
Symbol 1465 MovieClip Frame 237
stop();
Symbol 1471 MovieClip Frame 1
_root.snd_play("tv1");
Symbol 1471 MovieClip Frame 186
stop();
Symbol 1477 MovieClip Frame 1
_root.snd_play("tv2");
Symbol 1477 MovieClip Frame 160
stop();
Symbol 1480 MovieClip Frame 1
_root.snd_play("tv3");
Symbol 1480 MovieClip Frame 160
stop();
Instance of Symbol 322 MovieClip in Symbol 1489 MovieClip Frame 13
on (press) {
_root.frameon("designer");
}
Symbol 1496 MovieClip Frame 1
stop();