Frame 1
if (_global.System) {
System.security.allowDomain("mochibot.com");
}
_level0.__com_mochibot__swfid = "d6a64eda";
loadMovieNum ("http://mochibot.com/my/core.swf", 10301);
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 10
stop();
Frame 11
function msg(text) {
_root.message = text;
_root.paused = true;
_root.msg_continue._visible = paused;
}
function checkChar(person) {
var midx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var midy = (_root.char_mc._y + (_root.char_mc.loop.h / 2));
var ty = (_root.char_mc._y - 25);
var rx = ((_root.char_mc._x + _root.char_mc.loop.w) + 25);
var by = ((_root.char_mc._y + _root.char_mc.loop.h) + 25);
var lx = (_root.char_mc._x - 25);
if (person.hitTest(lx, ty, true)) {
return(true);
}
if (person.hitTest(midx, ty, true)) {
return(true);
}
if (person.hitTest(rx, ty, true)) {
return(true);
}
if (person.hitTest(lx, midy, true)) {
return(true);
}
if (person.hitTest(rx, midy, true)) {
return(true);
}
if (person.hitTest(lx, by, true)) {
return(true);
}
if (person.hitTest(midx, by, true)) {
return(true);
}
if (person.hitTest(rx, by, true)) {
return(true);
}
return(false);
}
function goWorld(world, xloc, yloc, xmax, ymax, charx, chary, music) {
_root.current_world = world;
_root.current_xmax = xmax;
_root.current_ymax = ymax;
_root.field.removeMovieClip();
var name = ((((_root.current_world + "_") + yloc) + "_") + xloc);
_root.attachMovie(name, "field", 0);
_root.field._x = 25;
_root.field._y = 25;
_root.char_mc._y = chary;
_root.char_mc._x = charx;
if (music != "no") {
gameMusic.stop();
gameMusic.attachSound(music);
gameMusic.start();
}
}
stop();
paused = true;
_root.msg_continue._visible = paused;
gameMusic = new Sound();
gameMusic.onSoundComplete = function () {
this.start();
};
gameMusic.attachSound("outdoor");
gameMusic.start();
mapW = 12;
mapH = 10;
tileSize = 50;
current_world = "outdoor";
current_xmax = 2;
current_ymax = 3;
_root.attachMovie("outdoor_3_2", "field", 0);
_root.field._x = 25;
_root.field._y = 25;
_root.attachMovie("char_mc", "char_mc", 1);
_root.char_mc._x = 350;
_root.char_mc._y = 200;
_root.msg(player_name + ": Whoa, I better find that CD soon. But first I gotta hand this assignment in.");
Instance of Symbol 45 MovieClip "current_item" in Frame 11
onClipEvent (keyDown) {
if (Key.isDown(36) && (_root.paused == false)) {
this.nextFrame();
this.current++;
_root.char_mc.gotoAndPlay(6);
_root.char_mc.getitem.item.gotoAndPlay(this.current + 1);
_root.msg(("You got the " + this.list[this.current]) + "!");
}
}
Instance of Symbol 208 MovieClip [message_mc] "msg_continue" in Frame 11
onClipEvent (load) {
item_collected = false;
end_of_message = null;
}
onClipEvent (keyDown) {
if (Key.isDown(32) && (this._visible == true)) {
if (item_collected) {
_root.current_item.nextFrame();
_root.current_item.current++;
_root.char_mc.gotoAndPlay(6);
_root.char_mc.getitem.item.gotoAndPlay(_root.current_item.current + 1);
_root.msg(("You got the " + _root.current_item.list[_root.current_item.current]) + "!");
} else {
_root.paused = false;
this._visible = false;
_root.message = "";
}
this.item_collected = false;
if (_root.endflag == true) {
_root.char_mc.removeMovieClip();
_root.field.removeMovieClip();
_root.gotoAndPlay("win");
}
}
}
Frame 12
stop();
Symbol 45 MovieClip Frame 1
current = 0;
list = ["health assignment", "frisbee", "chocolate milk", "skateboard", "disk", "scissors", "slushee", "monosodium glutamate", "french fries", "Metallica CD"];
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 3
stop();
Symbol 45 MovieClip Frame 4
stop();
Symbol 45 MovieClip Frame 5
stop();
Symbol 45 MovieClip Frame 6
stop();
Symbol 45 MovieClip Frame 7
stop();
Symbol 45 MovieClip Frame 8
stop();
Symbol 45 MovieClip Frame 9
stop();
Symbol 45 MovieClip Frame 10
stop();
Symbol 52 MovieClip Frame 55
this._parent.gotoAndPlay(1);
Symbol 53 MovieClip [char_mc] Frame 1
stop();
Instance of Symbol 7 MovieClip [blank] "loop" in Symbol 53 MovieClip [char_mc] Frame 1
onClipEvent (load) {
function checkPos(x, y, dir) {
var ml = _root.field.map[Math.floor(((y - 25) + (h / 2)) / 50)][Math.floor((x - 25) / 50)];
var mr = _root.field.map[Math.floor(((y - 25) + (h / 2)) / 50)][Math.floor(((x + w) - 25) / 50)];
var bl = _root.field.map[Math.floor(((y + h) - 25) / 50)][Math.floor((x - 25) / 50)];
var br = _root.field.map[Math.floor(((y + h) - 25) / 50)][Math.floor(((x + w) - 25) / 50)];
var l = x;
var r = (x + w);
var b = (y + h);
var t = y;
if ((((dir == 0) && (ml == 1)) || (mr == 1)) || (t < (_root.field._y + 4))) {
return(false);
}
if ((((dir == 1) && (mr == 1)) || (br == 1)) || (((_root.field._x + _root.field._width) - 4) < r)) {
return(false);
}
if ((((dir == 2) && (bl == 1)) || (br == 1)) || (((_root.field._y + _root.field._height) - 4) < b)) {
return(false);
}
if ((((dir == 3) && (ml == 1)) || (bl == 1)) || (l < (_root.field._x + 4))) {
return(false);
}
return(true);
}
idle = 1;
walk_left = 2;
walk_right = 3;
walk_up = 4;
walk_down = 5;
speed = 2;
char = this._parent;
current_action = idle;
prev_action = null;
h = 62;
w = 40;
}
onClipEvent (enterFrame) {
prev_action = current_action;
if ((Key.isDown(37) && (checkPos(char._x - speed, char._y, 3))) && (!_root.paused)) {
char._x = char._x - speed;
current_action = walk_left;
}
if ((Key.isDown(39) && (checkPos(char._x + speed, char._y, 1))) && (!_root.paused)) {
char._x = char._x + speed;
current_action = walk_right;
}
if ((Key.isDown(38) && (checkPos(char._x, char._y - speed, 0))) && (!_root.paused)) {
char._y = char._y - speed;
current_action = walk_up;
}
if ((Key.isDown(40) && (checkPos(char._x, char._y + speed, 2))) && (!_root.paused)) {
char._y = char._y + speed;
current_action = walk_down;
}
if ((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) {
current_action = idle;
}
if (prev_action != current_action) {
char.gotoAndPlay(current_action);
}
if ((char._y < (_root.field._y + 10)) && (1 < _root.field.ysec)) {
var oldx = _root.field.xsec;
var oldy = _root.field.ysec;
_root.field.removeMovieClip();
var name = ((((_root.current_world + "_") + (oldy - 1)) + "_") + oldx);
_root.attachMovie(name, "field", 0);
_root.field._x = 25;
_root.field._y = 25;
char._y = (_root.field._y + _root.field._height) - (h + 12);
}
if ((((_root.field._y + _root.field._height) - (h + 10)) < char._y) && (_root.field.ysec < _root.current_ymax)) {
var oldx = _root.field.xsec;
var oldy = _root.field.ysec;
_root.field.removeMovieClip();
var name = ((((_root.current_world + "_") + (oldy + 1)) + "_") + oldx);
_root.attachMovie(name, "field", 0);
_root.field._x = 25;
_root.field._y = 25;
char._y = _root.field._y + 12;
}
if ((char._x < (_root.field._x + 10)) && (1 < _root.field.xsec)) {
var oldx = _root.field.xsec;
var oldy = _root.field.ysec;
_root.field.removeMovieClip();
var name = ((((_root.current_world + "_") + oldy) + "_") + (oldx - 1));
_root.attachMovie(name, "field", 0);
_root.field._x = 25;
_root.field._y = 25;
char._x = (_root.field._x + _root.field._width) - (w + 12);
}
if ((((_root.field._x + _root.field._width) - (w + 10)) < char._x) && (_root.field.xsec < _root.current_xmax)) {
var oldx = _root.field.xsec;
var oldy = _root.field.ysec;
_root.field.removeMovieClip();
var name = ((((_root.current_world + "_") + oldy) + "_") + (oldx + 1));
_root.attachMovie(name, "field", 0);
_root.field._x = 25;
_root.field._y = 25;
char._x = _root.field._x + 12;
}
}
Symbol 53 MovieClip [char_mc] Frame 2
stop();
Symbol 53 MovieClip [char_mc] Frame 3
stop();
Symbol 53 MovieClip [char_mc] Frame 4
stop();
Symbol 53 MovieClip [char_mc] Frame 5
stop();
Symbol 53 MovieClip [char_mc] Frame 6
stop();
Instance of Symbol 7 MovieClip [blank] in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Jack";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 3) {
_root.msg(name + ": Hey there. I'm running a little late for my meeting. I need to find a ride.");
}
if (3 < _root.current_item.current) {
_root.msg(name + ": Now I'll be able to show up in time. See you later.");
}
if (_root.current_item.current == 3) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Wow, you got a skateboard. May I please borrow it? I've got something in exchange...");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 64 MovieClip [outdoor_2_1] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.xsec = 1;
this.ysec = 2;
Instance of Symbol 73 MovieClip in Symbol 74 MovieClip Frame 1
onClipEvent (enterFrame) {
var charx = ((_root.char_mc._x + (_root.char_mc.loop.w / 2)) + 10);
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) + 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("school_downstairs", 1, 2, 2, 3, 175, (_root.field._y + _root.field._height) - (_root.char_mc.loop.h + 12), "sobey_school");
}
}
Symbol 75 MovieClip [outdoor_3_2] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.xsec = 2;
this.ysec = 3;
Instance of Symbol 7 MovieClip [blank] in Symbol 78 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Ray";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 1) {
_root.msg(name + ": So bored. We could really use some equippment from the gym.");
}
if (1 < _root.current_item.current) {
_root.msg(name + ": That game of frisbee was awesome fun. Thanks!");
}
if (_root.current_item.current == 1) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Hey. Can I please have that frisbee! Here, I'll even give you this...");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Instance of Symbol 7 MovieClip [blank] in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Lenny";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 1) {
_root.msg(name + ": So bored. We could really use some equippment from the gym.");
}
if (1 < _root.current_item.current) {
_root.msg(name + ": That game of frisbee was awesome fun. Thanks!");
}
if (_root.current_item.current == 1) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Hey. Can I please have that frisbee! Here, I'll even give you this...");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 81 MovieClip [outdoor_3_1] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.xsec = 1;
this.ysec = 3;
Instance of Symbol 7 MovieClip [blank] in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Mr. Adams";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 9) {
_root.msg(((name + ": Brother ") + _root.player_name) + ", where's that CD you owe me?");
}
if (9 < _root.current_item.current) {
_root.msg(name + ": Hey bro. Don't forget your essay for class later.");
}
if (_root.current_item.current == 9) {
_root.msg(name + ": Hey bro, thanks for returning that.");
_root.endflag = true;
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 93 MovieClip [school_upstairs_1_1] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1], [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
this.xsec = 1;
this.ysec = 1;
Instance of Symbol 7 MovieClip [blank] in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Mr. Benum";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 4) {
_root.msg(((name + ": Hi there ") + _root.player_name) + ", would you happen to have a disk you can spare?");
}
if (4 < _root.current_item.current) {
_root.msg(name + ": Hey again. Hows your project in class coming along?");
}
if (_root.current_item.current == 4) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": May I borrow that? Oh, and here are some scissors you left here the other day.");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 105 MovieClip [school_upstairs_1_2] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
this.xsec = 2;
this.ysec = 1;
Instance of Symbol 99 MovieClip in Symbol 105 MovieClip [school_upstairs_1_2] Frame 1
onClipEvent (enterFrame) {
var charx = ((_root.char_mc._x + (_root.char_mc.loop.w / 2)) - 10);
var chary = (_root.char_mc._y + (_root.char_mc.loop.h / 2));
if (this.hitTest(charx, chary, true)) {
_root.goWorld("school_downstairs", 1, 2, 2, 3, 75, 405, "no");
}
}
Instance of Symbol 7 MovieClip [blank] in Symbol 109 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Mr. Hawkins";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 0) {
_root.msg(((name + ": ") + _root.player_name) + ", your assignment is already due!");
}
if (0 < _root.current_item.current) {
_root.msg(((name + ": Hey ") + _root.player_name) + ". Remember, we start ultimate frisbee today in gym.");
}
if (_root.current_item.current == 0) {
_root.msg_continue.item_collected = true;
_root.msg(((name + ": Hey ") + _root.player_name) + ". Thanks for handing that in. Here, take this.");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 110 MovieClip [school_downstairs_3_2] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
this.xsec = 2;
this.ysec = 3;
Instance of Symbol 7 MovieClip [blank] in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Caf Lady";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 7) {
_root.msg(name + ": Sorry. I'd give you fries, but we're out of our 'special ingredient'.");
}
if (7 < _root.current_item.current) {
_root.msg(name + ": Now you know what makes our fries so crispy and delicious.");
}
if (_root.current_item.current == 7) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Excellent. You brought some more of our 'special ingredient'. Here. I'll give you some fries right now.");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 117 MovieClip [school_downstairs_1_2] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1]];
this.xsec = 2;
this.ysec = 1;
Symbol 121 MovieClip [school_downstairs_2_2] Frame 1
map = [[1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1]];
this.xsec = 2;
this.ysec = 2;
Symbol 134 MovieClip [tiles_mc] Frame 1
stop();
Symbol 134 MovieClip [tiles_mc] Frame 2
stop();
Symbol 134 MovieClip [tiles_mc] Frame 3
stop();
Symbol 134 MovieClip [tiles_mc] Frame 4
stop();
Symbol 134 MovieClip [tiles_mc] Frame 5
stop();
Symbol 134 MovieClip [tiles_mc] Frame 6
stop();
Symbol 134 MovieClip [tiles_mc] Frame 7
stop();
Symbol 134 MovieClip [tiles_mc] Frame 8
stop();
Symbol 134 MovieClip [tiles_mc] Frame 9
stop();
Symbol 134 MovieClip [tiles_mc] Frame 10
stop();
Symbol 134 MovieClip [tiles_mc] Frame 11
stop();
Symbol 134 MovieClip [tiles_mc] Frame 12
stop();
Symbol 134 MovieClip [tiles_mc] Frame 13
stop();
Symbol 134 MovieClip [tiles_mc] Frame 14
stop();
Symbol 134 MovieClip [tiles_mc] Frame 15
stop();
Symbol 134 MovieClip [tiles_mc] Frame 16
stop();
Symbol 134 MovieClip [tiles_mc] Frame 17
stop();
Symbol 134 MovieClip [tiles_mc] Frame 18
stop();
Instance of Symbol 7 MovieClip [blank] in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Mike";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 8) {
_root.msg(name + ": Yeah, I've got the CD. But I'm only giving it back if I get some fries. I am so hungry right now.");
}
if (8 < _root.current_item.current) {
_root.msg(name + ": Man, those were some good fries. I wonder what makes them so crispy and delicious...");
}
if (_root.current_item.current == 8) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Yey! My fries. Anyways, here's the CD back.");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 140 MovieClip [school_downstairs_2_1] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1]];
this.xsec = 1;
this.ysec = 2;
Instance of Symbol 134 MovieClip [tiles_mc] in Symbol 140 MovieClip [school_downstairs_2_1] Frame 1
onClipEvent (load) {
this.gotoAndPlay(18);
}
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) - 8);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("outdoor", 2, 3, 2, 3, 225, 450, "outdoor");
}
}
Instance of Symbol 137 MovieClip in Symbol 140 MovieClip [school_downstairs_2_1] Frame 1
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) - 8);
if (this.hitTest(charx, chary, true)) {
_root.goWorld("school_upstairs", 2, 1, 2, 1, 475, 125, "no");
}
}
Instance of Symbol 7 MovieClip [blank] in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Sobey's Lady";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 6) {
_root.msg(name + ": The only problem with working in a kosher grocery store is that it makes you thirsty.");
}
if (6 < _root.current_item.current) {
_root.msg(name + ": That slushee was exactly what I needed.");
}
if (_root.current_item.current == 6) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Oh wow! You brought me a slushee. Thanks. Here, have this fine Sobey's product!");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 157 MovieClip [sobeys_1_1] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1]];
this.xsec = 1;
this.ysec = 1;
Instance of Symbol 143 MovieClip in Symbol 157 MovieClip [sobeys_1_1] Frame 1
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) - 20);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("outdoor", 1, 1, 2, 3, 225, 225, "outdoor");
}
}
Instance of Symbol 7 MovieClip [blank] in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Benny";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 2) {
_root.msg(name + ": Hey dude. I'm all rocked out. I need something to drink.");
}
if (2 < _root.current_item.current) {
_root.msg(name + ": Now that I've regained my rockage power, I'm off to Disney Land!");
}
if (_root.current_item.current == 2) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Rock on!");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 173 MovieClip [bennys_1_1] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1], [1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]];
this.xsec = 1;
this.ysec = 1;
Instance of Symbol 134 MovieClip [tiles_mc] in Symbol 173 MovieClip [bennys_1_1] Frame 1
onClipEvent (load) {
this.gotoAndPlay(16);
}
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) - 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("outdoor", 2, 1, 2, 3, 325, 275, "outdoor");
}
}
Instance of Symbol 7 MovieClip [blank] in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
person = this._parent;
name = "Mac's Lady";
dir = 1;
prev_dir = null;
}
onClipEvent (enterFrame) {
prev_dir = dir;
if (_root.checkChar(person) && (Key.isDown(17))) {
if (_root.current_item.current < 5) {
_root.msg(name + ": Hey. Sales are a little slow today since we ran out of chips. If only I had something to open a new box.");
}
if (5 < _root.current_item.current) {
_root.msg(name + ": Thanks a lot for the help. Business seems good again.");
}
if (_root.current_item.current == 5) {
_root.msg_continue.item_collected = true;
_root.msg(name + ": Hmm... I can open the package with those scissors you have.");
}
}
if (person._x < _root.char_mc._x) {
dir = 1;
} else {
dir = 0;
}
if (dir != prev_dir) {
person._xscale = -person._xscale;
}
}
Symbol 180 MovieClip [macs_1_1] Frame 1
map = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1], [1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1]];
this.xsec = 1;
this.ysec = 1;
Instance of Symbol 134 MovieClip [tiles_mc] in Symbol 180 MovieClip [macs_1_1] Frame 1
onClipEvent (load) {
this.gotoAndPlay(16);
}
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) - 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("outdoor", 2, 2, 2, 3, 475, 275, "outdoor");
}
}
Instance of Symbol 184 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (enterFrame) {
var charx = ((_root.char_mc._x + (_root.char_mc.loop.w / 2)) + 10);
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) + 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("macs", 1, 1, 1, 1, 375, (_root.field._y + _root.field._height) - (_root.char_mc.loop.h + 12), "macs");
}
}
Symbol 189 MovieClip [outdoor_2_2] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0], [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0], [0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]];
this.xsec = 2;
this.ysec = 2;
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (enterFrame) {
var charx = (_root.char_mc._x + (_root.char_mc.loop.w / 2));
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) + 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("bennys", 1, 1, 1, 1, 275, (_root.field._y + _root.field._height) - (_root.char_mc.loop.h + 12), "benny");
}
}
Symbol 195 MovieClip [outdoor_1_2] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.xsec = 2;
this.ysec = 1;
Instance of Symbol 198 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
var charx = ((_root.char_mc._x + (_root.char_mc.loop.w / 2)) + 10);
var chary = ((_root.char_mc._y + (_root.char_mc.loop.h / 2)) + 10);
if (this.hitTest(charx, chary, false)) {
_root.goWorld("sobeys", 1, 1, 1, 1, 375, (_root.field._y + _root.field._height) - (_root.char_mc.loop.h + 12), "sobey_school");
}
}
Symbol 204 MovieClip [outdoor_1_1] Frame 1
map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0], [0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0], [0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0], [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this.xsec = 1;
this.ysec = 1;
Symbol 211 Button
on (release) {
getURL ("http://www.albinoblacksheep.com/", "_blank");
}
Symbol 223 Button
on (release) {
_root.play();
}
Symbol 224 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(loading_bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 224 MovieClip Frame 2
gotoAndPlay (1);
Symbol 236 Button
on (release) {
gotoAndStop (10);
}
Symbol 240 Button
on (release) {
gotoAndPlay (3);
}
Symbol 244 Button
on (release) {
gotoAndPlay (4);
}
Symbol 271 Button
on (release) {
_root.gotoAndPlay("game");
}
Symbol 281 Button
on (release) {
gotoAndStop ("entername");
}