Frame 1
function newGame(flabel) {
score = 0;
tempScore = 0;
lives = 1;
initialized = false;
totalGarbage = 0;
numRows = 12;
numCols = 24;
numCells = numRows * numCols;
cellSize = 30;
xBase = 15;
yBase = 90;
doorNum1 = 29;
doorNum2 = 28;
wallNum = 30;
emptNum = 99;
yumNum = 50;
colleagues = new Array();
garbageTrain = new Array();
yummies = new Array();
klavers = new Array();
walls = new Array();
cars = new Array();
levelTimer = 999999999999;
outtime = 50;
magicTime = 300;
opponentlengte = 0;
traPosx = new Array();
traPosy = new Array();
gotoAndPlay(flabel);
gp = false;
}
function setLevenendood(lives) {
_root.iLevenendood0._visible = true;
var l = 1;
while (l < lives) {
name = "iLevenendood" + l;
_root.iLevenendood0.duplicateMovieClip(name, 50 + l);
_root[name]._x = iLevenendood0._x - (iLevenendood0._width * l);
_root[name]._y = buur._y;
_root[name]._visible = true;
l++;
}
"iLevenendood" + lives.gotoAndStop(2);
}
function colToX(col) {
return(xBase + (col * cellSize));
}
function rowToY(row) {
return(yBase + (row * cellSize));
}
function setPacman1(c, r, speed, outtime) {
pName = "iPacman1";
_level0.iPacman1.swapDepths(40000);
_level0.iPacman2.swapDepths(40001);
iPacman1._x = colToX(c);
iPacman1._y = rowToY(r);
iPacman1.speed = speed;
iPacman1.oldspeed = speed / 2;
iPacman1.stp = 0;
iPacman1.outtime = outtime;
_root.levelTimer = gamelevelTime;
goon = false;
iPacman1.man.gotoAndStop(1);
iPacman1.gotoAndPlay("walk");
}
function setColleague(type, num, c, r, speed, outtime) {
var cName = ("iColleague" + num);
_root[type].duplicateMovieClip(cName, 3520 + num);
_root[cName]._x = colToX(c);
_root[cName]._y = rowToY(r);
_root[cName].speed = speed;
_root[cName].oldspeed = speed / 2;
_root[cName].outtime = outtime;
}
function setColleagues(type, num) {
ci = 1;
while (num >= ci) {
var name = (type + ci);
colleagues[ci] = _root[name];
ci++;
}
}
function setGarbage(type, gai, c, r) {
var name = (type.toString() + gai);
_root.iGarbage.duplicateMovieClip(name, 2200 + gai);
_root[name]._x = colToX(c);
_root[name]._y = rowToY(r);
_root[name].owner = "nobody";
garbageTrain[gai - 1] = _root[name];
gai++;
totalGarbage++;
}
function setKlaver(type, gai, c, r) {
var name = (type + gai);
_root.Yum.duplicateMovieClip(name, 1600 + gai);
_root[_root[name]._name]._x = colToX(c);
_root[_root[name]._name]._y = rowToY(r);
_root[_root[name]._name]._visible = false;
klavers[gai] = _root[name];
}
function setYummy(type, gai, c, r) {
var name = (type + gai);
_root.Yum.duplicateMovieClip(name, 1500 + gai);
_root[_root[name]._name]._x = colToX(c);
_root[_root[name]._name]._y = rowToY(r);
yummies[gai] = _root[name];
}
function setBackground(type, c, r) {
_root.Background.gotoAndStop(type);
}
function setWall(type, wi, c, r) {
var name = (type + wi);
_root.Wall.duplicateMovieClip(name, 1000 + wi);
_root[name]._x = colToX(c);
_root[name]._y = rowToY(r);
walls[wi] = _root[name];
}
function setDoor(type, c, r) {
var name = ("Door" + type);
_root.Door.duplicateMovieClip(name, 300 + type);
_root[name]._x = colToX(c);
_root[name]._y = rowToY(r);
_root[name].gotoAndStop(type);
}
function setCar(cari, c, r) {
var name = ("Car" + cari);
_root.Car.duplicateMovieClip(name, 2300 + cari);
_root[name]._x = colToX(c);
_root[name]._y = rowToY(r);
_root[name].gotoAndStop(cari + 1);
cars[cari] = _root[name];
}
function deconstruct() {
iPacman1._visible = false;
iPacman1.myCar = null;
ci = 1;
while (colleagues.length >= ci) {
removeMovieClip(colleagues[ci]);
ci++;
}
var yi = 0;
while (yi < yummies.length) {
removeMovieClip(yummies[yi]);
yi++;
}
var ki = 0;
while (ki < klavers.length) {
removeMovieClip(klavers[ki]);
ki++;
}
var wi = 0;
while (wi < walls.length) {
removeMovieClip(walls[wi]);
wi++;
}
var i = 0;
while (i < cars.length) {
removeMovieClip(cars[i]);
i++;
}
var gi = 0;
while (gi < garbageTrain.length) {
removeMovieClip(garbageTrain[gi]);
gi++;
}
totalGarbage = 0;
removeMovieClip(_root.Door1);
removeMovieClip(_root.Door2);
}
function Initialize(level, mazetyp, maze, magic, levelTime) {
iPacman1.speed = 0;
iPacman1.oldposx = new Array(10);
iPacman1.oldposy = new Array(10);
iPacman1.superState = false;
iPacman1.speedState = false;
iPacman1.magicState = false;
iPacman1.revState = false;
iPacman1.sliding = false;
iPacman1.knockout = false;
iPacman1.outtimer = 10;
iPacman1.win = null;
iPacman1.boxing = null;
iPacman1.myCar = null;
iPacman1.lengte = 0;
iPacman1.stp = 2;
iPacman1.go = false;
iPacman1.going = false;
iPacman1.superState = false;
iPacman1.speedState = false;
iPacman1.magicState = false;
_root.helmpje._visible = false;
_root.raketje._visible = false;
_root.klaver.visible = false;
_root.iPacman1.man.helm._visible = false;
iPacman1._visible = true;
iPacman1.gotoAndStop(1);
setBackground(mazetype, 0, 0);
buildBoard(mazetype, maze, magic);
setLevenendood(lives);
_root.iLevelTimerbar._xscale = 200;
_root.iLevelTimerbar._visible = true;
_root.iSuperTimerbar._xscale = 100;
_root.iSuperTimerbar._visible = false;
_root.iSpeedTimerbar._xscale = 100;
_root.iSpeedTimerbar._visible = false;
_root.iMagicTimerbar._xscale = 100;
_root.iMagicTimerbar._visible = false;
iPacman1.superTimer = undefined;
iPacman1.speedTimer = undefined;
iPacman1.magicTimer = undefined;
opponentlengte = 0;
if (1 < _root.cpu) {
gamelevelTime = levelTime / 2;
} else if ((0.5 < _root.cpu) and (_root.cpu < 1)) {
gamelevelTime = levelTime;
} else if ((0 < _root.cpu) and (_root.cpu < 0.5)) {
gamelevelTime = levelTime * 2;
}
name = "";
email = "";
winlose = 0;
}
function buildBoard(mazetype, maze, magic) {
var c = 0;
var r = 0;
var gai = 1;
var wi = 0;
var yi = 0;
var ht = 1;
var tri = 0;
var tgi = 0;
var cari = 0;
var i = 0;
while (i < numCells) {
if (maze[i] == 31) {
setGarbage(mazetype, gai, c, r);
gai++;
} else if (maze[i] == 10) {
setWall(("Wall" + mazetype) + "D", wi, c, r);
wi++;
} else if (maze[i] == 11) {
setWall(("Wall" + mazetype) + "C", wi, c, r);
wi++;
} else if (maze[i] == 12) {
setWall(("Wall" + mazetype) + "J", wi, c, r);
wi++;
} else if (maze[i] == 13) {
setWall(("Wall" + mazetype) + "K", wi, c, r);
wi++;
} else if (maze[i] == 14) {
setWall(("Wall" + mazetype) + "I", wi, c, r);
wi++;
} else if (maze[i] == 15) {
setWall(("Wall" + mazetype) + "B", wi, c, r);
wi++;
} else if (maze[i] == 16) {
setWall(("Wall" + mazetype) + "F", wi, c, r);
wi++;
} else if (maze[i] == 17) {
setWall(("Wall" + mazetype) + "H", wi, c, r);
wi++;
} else if (maze[i] == 18) {
setWall(("Wall" + mazetype) + "G", wi, c, r);
wi++;
} else if (maze[i] == 19) {
setWall(("Wall" + mazetype) + "E", wi, c, r);
wi++;
} else if (maze[i] == 20) {
setWall(("Wall" + mazetype) + "A", wi, c, r);
wi++;
} else if (maze[i] == 21) {
setWall(("Wall" + mazetype) + "L", wi, c, r);
wi++;
} else if (maze[i] == 22) {
setWall(("Wall" + mazetype) + "M", wi, c, r);
wi++;
} else if (maze[i] == 23) {
setWall(("Wall" + mazetype) + "N", wi, c, r);
wi++;
} else if (maze[i] == 24) {
setWall(("Wall" + mazetype) + "O", wi, c, r);
wi++;
} else if (maze[i] == 28) {
setDoor(2, c, r);
} else if (maze[i] == 29) {
setDoor(1, c, r);
} else if (maze[i] == 51) {
setYummy("Slo", yi, c, r);
yi++;
} else if (maze[i] == 52) {
setYummy("Fas", yi, c, r);
yi++;
} else if (maze[i] == 53) {
setYummy("Bom", yi, c, r);
yi++;
} else if (maze[i] == 54) {
setYummy("Can", yi, c, r);
yi++;
} else if (maze[i] == 55) {
setYummy("Rev", yi, c, r);
yi++;
} else if (maze[i] == 56) {
setYummy("Hin", yi, c, r);
yi++;
} else if (maze[i] == 57) {
setYummy("Hui", yi, c, r);
HuiR = r;
HuiC = c;
yi++;
} else if (maze[i] == 58) {
setYummy("Tra", yi, c, r);
yi++;
} else if (maze[i] == 59) {
setYummy("Ice", yi, c, r);
yi++;
} else if (maze[i] == 60) {
setYummy("Mud", yi, c, r);
yi++;
} else if (maze[i] == 61) {
setYummy("Mag", yi, c, r);
yi++;
} else if (maze[i] == 62) {
setYummy("Pre", yi, c, r);
yi++;
} else if (maze[i] == 63) {
setCar(cari, c, r);
cari++;
} else if (maze[i] == 99) {
traPosx[tri] = colToX(c);
traPosy[tri] = rowToY(r);
if (magic) {
setKlaver("Kla", tri, c, r);
}
tri++;
}
if ((++c) >= numCols) {
c = 0;
r++;
}
i++;
}
}
function resetTrain(player) {
st = 1;
while (st < 11) {
player.oldposx[st] = player._x;
player.oldposy[st] = player._y;
var gi = 0;
while (gi < _root.totalGarbage) {
if ((_root.garbageTrain[gi].owner == player) and (_root.garbageTrain[gi].mud == false)) {
_root.garbageTrain[gi]._visible = false;
_root.garbageTrain[gi]._x = oldx;
_root.garbageTrain[gi]._y = oldy;
_root.garbageTrain[gi].oldposx[st] = _root.garbageTrain[gi]._x;
_root.garbageTrain[gi].oldposy[st] = _root.garbageTrain[gi]._y;
_root.garbageTrain[gi]._visible = true;
}
gi++;
}
st++;
}
}
fscommand (allowscale, false);
var score;
var tempScore;
var lives;
var initialized;
var totalGarbage;
var opponentlengte;
var numRows;
var numCols;
var numCells;
var cellSize;
var level;
var startPosPacmanC;
var startPosPacmanR;
var startPosColleagueR;
var startPosColleagueC;
var xBase;
var yBase;
var pName;
var cName;
var pacmanType;
var colleagueType;
var doorNum1;
var doorNum2;
var wallNum;
var emptNum;
var yumNum;
var colleagues;
var garbageTrain;
var yummies;
var klavers;
var walls;
var cars;
var HuiR;
var numColleagues;
var superTime;
var speedTime;
var levelTimer;
var gamelevelTime;
var levelTime;
var outtime;
var magicTime;
var cpu;
var cSpeed;
var pSpeed;
var traPosx;
var traPosy;
var winlose;
newGame(2);
starttime = getTimer();
Frame 66
_root.cpu = (getTimer() - starttime) / 3000;
pSpeedconst = 3;
cSpeedconst = 3;
if (1 < _root.cpu) {
_root.pSpeed = pSpeedconst * 2;
_root.cSpeed = cSpeedconst * 2;
} else if ((0.5 < _root.cpu) and (_root.cpu < 1)) {
_root.pSpeed = pSpeedconst;
_root.cSpeed = cSpeedconst;
} else if ((0 < _root.cpu) and (_root.cpu < 0.5)) {
_root.pSpeed = pSpeedconst;
_root.cSpeed = cSpeedconst;
}
Frame 423
gotoAndPlay (67);
Frame 426
level = 1;
levelTime = 1000;
startPosPacmanC = 6;
startPosPacmanR = 3;
outtime = _root.outtime;
couttime = _root.outtime * 2;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
_root.numColleagues = 0;
started = true;
magic = false;
mazetype = 1;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 15, 19, 19, 19, 19, 16, 99, 15, 24, 99, 99, 22, 16, 99, 15, 19, 19, 19, 19, 16, 99, 20, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 99, 99, 53, 31, 20, 99, 20, 31, 99, 99, 99, 20, 99, 20, 20, 99, 21, 99, 99, 99, 99, 21, 31, 20, 99, 99, 99, 53, 20, 99, 21, 99, 99, 99, 99, 21, 99, 21, 20, 63, 99, 99, 53, 99, 99, 53, 54, 20, 99, 99, 31, 99, 20, 99, 99, 99, 99, 54, 99, 99, 99, 29, 20, 99, 23, 31, 99, 99, 99, 23, 99, 20, 99, 99, 99, 99, 20, 99, 23, 99, 99, 99, 99, 23, 99, 23, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 31, 99, 99, 99, 20, 99, 20, 20, 99, 17, 19, 19, 19, 19, 18, 99, 17, 24, 99, 53, 22, 18, 99, 17, 19, 19, 19, 19, 18, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleagues(colleagueType, _root.numColleagues, couttime);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed, outtime);
stop();
Instance of Symbol 147 MovieClip "helmpje" in Frame 426
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 152 MovieClip "iLevenendood0" in Frame 426
onClipEvent (enterFrame) {
id = this._name.substr(-1, 1);
if (_root.lives >= (int(id) + 1)) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
}
Instance of Symbol 246 MovieClip "grootwitvlak" in Frame 426
onClipEvent (load) {
this.swapDepths(99999999);
}
Instance of Symbol 247 MovieClip "raketje" in Frame 426
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 259 MovieClip "klaver" in Frame 426
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 309 MovieClip "Car" in Frame 426
onClipEvent (load) {
function collect(player) {
if (this.hitTest(player)) {
_root.sound.gotoAndPlay("Pic");
this.owner = player;
if (player == _root.iPacman1) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
}
var owner = "nobody";
var oldposx = new Array(10);
var oldposy = new Array(10);
var lengte = 0;
}
Instance of Symbol 336 MovieClip "iGarbage" in Frame 426
onClipEvent (load) {
function collect(player) {
if (this.hitTest(player)) {
_root.sound.gotoAndPlay("Pic");
this.owner = player;
if (player != _root.iPacman1) {
mud = false;
}
}
}
var owner = "nobody";
var oldposx = new Array(10);
var oldposy = new Array(10);
var mud = false;
}
Instance of Symbol 379 MovieClip "Yum" in Frame 426
onClipEvent (load) {
function eat(player) {
if (_name.substr(0, 3) == "Tra") {
if (player._name == "iPacman1") {
player.stp = 0;
_root.resetTrain(_root.iPacman1);
_root.iPacman1.gotoAndPlay("jump");
_root.sound.gotoAndPlay("Tra");
}
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Slo") {
player.speed = player.oldspeed;
player._x = (Math.round((player._x - 15) / 30) * 30) + 15;
player._y = (Math.round((player._y - 90) / 30) * 30) + 90;
_root.resetTrain(_root.iPacman1);
player.speedTimer = 0;
player.speedState = false;
this._x = this._x + 2000;
_root.sound.gotoAndPlay("Slo");
} else if (_name.substr(0, 3) == "Fas") {
_root.sound.gotoAndPlay("Fas");
player.oldspeed = player.speed;
if (player.speedState) {
player.speedTimer = _root.speedTime;
if (player._name == "iPacman1") {
_root.iSpeedTimerbar._xscale = 100;
}
} else {
if (player.speed == 3) {
player.speed = 6;
} else {
player.speed = 15;
}
_root.resetTrain(_root.iPacman1);
player.speedTimer = _root.speedTime;
player.speedState = true;
}
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Bom") {
if (player.superState == false) {
_root.sound.gotoAndPlay("Bom");
player.gotoAndPlay("bom");
if (player != _root.iPacman1) {
_root.score = _root.score + 20;
}
} else {
_root.score = _root.score + 25;
_root.sound.gotoAndPlay("Nobomb");
}
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Can") {
_root.sound.gotoAndPlay("Can");
if (player.superState) {
player.superTimer = _root.superTime;
_root.iSuperTimerbar._xscale = 100;
} else {
player.superTimer = _root.superTime;
player.superState = true;
player.man.helm._visible = true;
}
if (player._name == "iPacman1") {
_root.score = _root.score + 5;
}
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Rev") {
_root.sound.gotoAndPlay("Rev");
if (player.revState == false) {
player.revState = true;
} else {
player.revState = false;
}
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Hin") {
_root.sound.gotoAndPlay("Hin");
player._x = _root.colToX(_root.HuiC);
player._y = _root.rowToY(_root.HuiR);
player.dx = 0;
player.dy = 0;
_root.resetTrain(_root.iPacman1);
player.stp = 0;
player.nextMove();
} else if (_name.substr(0, 3) == "Ice") {
_root.sound.gotoAndPlay("Ice");
player.sliding = true;
} else if (_name.substr(0, 3) == "Mud") {
_root.sound.gotoAndPlay("Mud");
if (player._name == "iPacman1") {
tgi = 0;
while (tgi < _root.totalGarbage) {
if ((_root.garbageTrain[tgi].owner == _root.iPacman1) and (_root.garbageTrain[tgi].mud == false)) {
_root.garbageTrain[tgi].mud = true;
_root.garbageTrain[tgi].owner = "nobody";
_root.garbageTrain[tgi]._x = this._x;
_root.garbageTrain[tgi]._y = this._y;
}
tgi++;
}
}
} else if (_name.substr(0, 3) == "Mag") {
_root.sound.gotoAndPlay("Mag");
player.magicState = true;
tri = 0;
while (tri < _root.klavers.length) {
_root.klavers[tri]._visible = true;
tri++;
}
player.magicTimer = _root.magicTime;
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Kla") {
_root.score = _root.score + 10;
this._x = this._x + 2000;
} else if (_name.substr(0, 3) == "Pre") {
_root.sound.gotoAndPlay("Pre");
_root.lives++;
_root.setLevenendood(_root.lives);
this._x = this._x + 2000;
_root.score = _root.score + 5;
}
}
}
Instance of Symbol 384 MovieClip "Door" in Frame 426
onClipEvent (enterFrame) {
if (_root.iPacman1.lengte >= _root.totalGarbage) {
door.gotoAndStop(2);
} else {
door.gotoAndStop(1);
}
}
Frame 427
level = 2;
levelTime = 1500;
startPosColleagueC = 12;
startPosColleagueR = 9;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 2;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 15, 19, 19, 19, 19, 16, 99, 99, 23, 53, 53, 23, 99, 99, 15, 19, 19, 19, 19, 16, 99, 20, 20, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 31, 99, 20, 99, 99, 20, 31, 99, 99, 99, 20, 99, 20, 20, 99, 21, 99, 99, 99, 99, 21, 99, 99, 20, 99, 31, 20, 99, 99, 21, 99, 99, 99, 99, 21, 99, 20, 20, 99, 99, 99, 99, 99, 99, 31, 52, 22, 10, 19, 19, 10, 24, 99, 99, 99, 99, 31, 99, 99, 99, 29, 20, 31, 23, 99, 31, 99, 99, 23, 99, 99, 20, 54, 31, 20, 99, 99, 23, 99, 99, 99, 99, 23, 99, 20, 20, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 20, 99, 99, 20, 31, 99, 99, 99, 20, 99, 20, 20, 99, 17, 19, 19, 19, 19, 18, 54, 99, 21, 53, 53, 21, 99, 99, 17, 19, 19, 19, 19, 18, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 52, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1.gotoAndPlay(2);
stop();
Frame 428
level = 3;
levelTime = 2000;
startPosColleagueC = 12;
startPosColleagueR = 4;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 3;
started = true;
_root.numColleagues = 2;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 16, 20, 99, 99, 99, 99, 99, 20, 99, 99, 31, 31, 99, 52, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 20, 20, 99, 52, 23, 99, 31, 20, 99, 99, 99, 23, 54, 99, 23, 99, 99, 99, 23, 31, 99, 20, 99, 99, 20, 20, 99, 99, 20, 99, 99, 20, 99, 31, 99, 20, 99, 31, 20, 99, 55, 99, 20, 99, 99, 20, 99, 99, 20, 20, 99, 99, 20, 99, 99, 20, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 20, 99, 99, 20, 99, 99, 20, 20, 99, 22, 10, 24, 53, 13, 24, 99, 22, 10, 19, 19, 10, 24, 99, 22, 14, 99, 22, 10, 24, 99, 20, 20, 99, 99, 20, 99, 99, 20, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 20, 31, 99, 20, 99, 99, 20, 20, 99, 31, 20, 99, 99, 20, 31, 99, 99, 20, 99, 99, 20, 99, 99, 99, 20, 99, 53, 20, 99, 99, 20, 20, 99, 54, 20, 99, 99, 21, 99, 99, 99, 21, 99, 99, 21, 31, 99, 99, 20, 99, 31, 21, 99, 99, 29, 20, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 20, 17, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 429
level = 4;
levelTime = 2500;
startPosColleagueC = 12;
startPosColleagueR = 5;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 4;
started = true;
_root.numColleagues = 2;
outtime = _root.outtime;
couttime = _root.outtime * 3;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 20, 20, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 20, 20, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 99, 99, 20, 20, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 20, 20, 99, 99, 55, 99, 99, 99, 99, 99, 31, 52, 31, 99, 54, 31, 54, 99, 55, 31, 58, 99, 99, 99, 29, 20, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 31, 99, 99, 23, 99, 99, 99, 20, 20, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 58, 22, 10, 24, 99, 99, 20, 20, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 20, 20, 99, 99, 99, 31, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 430
level = 5;
levelTime = 2500;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 5;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 29, 20, 99, 54, 53, 31, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 58, 99, 99, 99, 58, 31, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 53, 99, 99, 99, 20, 20, 99, 56, 99, 99, 99, 58, 99, 99, 99, 99, 20, 99, 99, 31, 99, 99, 99, 53, 57, 53, 99, 99, 20, 20, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 53, 99, 99, 99, 20, 20, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 58, 99, 99, 99, 99, 31, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 431
level = 6;
levelTime = 2500;
startPosPacmanC = 3;
startPosPacmanR = 5;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 1;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = true;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 20, 99, 15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 99, 20, 20, 99, 20, 52, 99, 99, 31, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 99, 20, 20, 99, 21, 99, 22, 19, 19, 19, 19, 19, 24, 99, 22, 19, 19, 19, 19, 19, 19, 24, 99, 21, 99, 20, 20, 99, 99, 59, 59, 59, 59, 59, 59, 59, 59, 59, 31, 59, 59, 59, 59, 59, 59, 59, 59, 99, 99, 20, 20, 99, 23, 99, 22, 19, 19, 19, 19, 19, 24, 99, 22, 19, 19, 19, 19, 19, 19, 24, 99, 23, 99, 20, 20, 99, 20, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 61, 99, 99, 99, 62, 99, 99, 99, 20, 99, 20, 20, 99, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 28, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 13, 5, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 432
level = 7;
levelTime = 2000;
startPosPacmanC = 1;
startPosPacmanR = 5;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 2;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 11, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 11, 19, 19, 19, 16, 20, 99, 99, 31, 20, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 20, 99, 99, 99, 20, 20, 55, 23, 99, 21, 99, 99, 99, 21, 31, 23, 99, 99, 23, 99, 21, 55, 31, 99, 21, 99, 23, 99, 20, 20, 99, 20, 99, 99, 99, 23, 55, 99, 99, 21, 31, 99, 20, 99, 99, 99, 23, 99, 99, 55, 20, 99, 20, 20, 99, 20, 99, 23, 99, 21, 99, 23, 99, 99, 99, 99, 20, 99, 23, 99, 21, 99, 23, 99, 20, 99, 20, 20, 99, 21, 99, 20, 99, 31, 99, 20, 99, 23, 55, 31, 21, 55, 20, 99, 99, 99, 20, 99, 21, 99, 20, 20, 99, 58, 99, 20, 99, 99, 99, 20, 99, 20, 54, 99, 99, 99, 20, 99, 99, 99, 20, 99, 99, 99, 20, 20, 99, 23, 99, 21, 55, 23, 99, 21, 99, 20, 99, 99, 23, 99, 21, 99, 23, 31, 21, 99, 23, 99, 20, 20, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 21, 99, 31, 99, 21, 99, 99, 55, 21, 99, 29, 20, 55, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 20, 17, 19, 19, 19, 12, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 12, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 18, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 433
level = 8;
levelTime = 2000;
startPosPacmanC = 2;
startPosPacmanR = 3;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 3;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 54, 60, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 58, 99, 99, 99, 31, 99, 99, 99, 31, 99, 60, 99, 99, 99, 99, 31, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 31, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 52, 99, 99, 99, 99, 51, 99, 58, 99, 60, 99, 99, 99, 31, 99, 53, 99, 29, 20, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 99, 31, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 60, 99, 99, 31, 99, 63, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 99, 99, 31, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 15, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 20, 8, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 434
level = 9;
levelTime = 2500;
startPosPacmanC = 2;
startPosPacmanR = 3;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 4;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 20, 99, 99, 99, 99, 99, 31, 99, 99, 58, 31, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 21, 99, 99, 99, 31, 99, 99, 99, 99, 99, 62, 99, 20, 20, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 31, 31, 31, 31, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 22, 19, 19, 24, 99, 22, 19, 19, 24, 99, 22, 19, 19, 24, 99, 22, 19, 19, 24, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 59, 99, 60, 52, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 23, 99, 99, 99, 99, 99, 31, 99, 99, 99, 31, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 53, 99, 29, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 24];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 20, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 20, 8, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 435
level = 10;
levelTime = 1500;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 5;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 31, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 23, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 31, 99, 20, 99, 31, 23, 99, 99, 99, 20, 20, 99, 22, 10, 24, 99, 20, 99, 99, 99, 31, 99, 53, 99, 99, 99, 20, 99, 22, 10, 24, 99, 99, 20, 20, 99, 99, 21, 99, 99, 21, 99, 99, 99, 99, 99, 99, 99, 99, 99, 21, 99, 99, 21, 99, 31, 99, 20, 20, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 31, 99, 99, 99, 99, 59, 59, 59, 59, 59, 53, 99, 20, 20, 99, 99, 23, 99, 99, 23, 99, 99, 99, 99, 99, 99, 99, 99, 99, 23, 99, 99, 23, 99, 99, 99, 20, 20, 99, 22, 10, 24, 31, 20, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 99, 22, 10, 24, 99, 99, 29, 20, 99, 31, 21, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 21, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 10, 8, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 436
level = 11;
levelTime = 2500;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 1;
_root.numColleagues = 2;
started = true;
outtime = _root.outtime;
couttime = _root.outtime * 2;
magic = true;
maze = [15, 19, 11, 19, 19, 11, 19, 19, 19, 19, 11, 19, 19, 11, 19, 19, 19, 19, 11, 19, 19, 11, 19, 16, 20, 31, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 53, 20, 20, 99, 20, 99, 54, 20, 99, 99, 99, 99, 20, 99, 31, 20, 99, 99, 99, 31, 20, 99, 31, 20, 99, 29, 20, 99, 20, 99, 99, 20, 99, 58, 31, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 20, 20, 99, 21, 99, 99, 21, 51, 99, 99, 99, 21, 99, 99, 21, 99, 99, 99, 99, 21, 99, 53, 20, 99, 20, 20, 99, 99, 99, 99, 55, 59, 59, 99, 31, 99, 31, 99, 99, 99, 31, 99, 99, 59, 59, 55, 20, 31, 20, 20, 53, 23, 99, 99, 23, 53, 53, 99, 99, 23, 31, 31, 23, 99, 99, 99, 99, 23, 99, 99, 20, 99, 20, 20, 99, 20, 99, 99, 20, 31, 99, 99, 53, 20, 99, 99, 20, 99, 99, 99, 61, 20, 54, 99, 20, 99, 20, 20, 56, 20, 99, 53, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 31, 99, 99, 20, 99, 99, 20, 99, 20, 20, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 57, 20, 17, 19, 12, 19, 19, 12, 19, 19, 19, 19, 12, 19, 19, 12, 19, 19, 19, 19, 12, 19, 19, 12, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 12, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 437
level = 12;
levelTime = 1500;
outtime = _root.outtime;
startPosPacmanC = 3;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 0;
started = true;
magic = false;
mazetype = 2;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 59, 59, 59, 59, 59, 59, 59, 31, 59, 99, 99, 59, 59, 59, 59, 59, 59, 59, 59, 59, 99, 20, 20, 99, 53, 53, 53, 53, 53, 53, 53, 53, 53, 99, 99, 53, 53, 53, 53, 53, 53, 53, 53, 53, 99, 20, 20, 99, 53, 55, 59, 59, 59, 59, 59, 59, 59, 99, 99, 59, 59, 59, 59, 59, 59, 59, 59, 53, 99, 29, 20, 99, 53, 59, 53, 31, 53, 59, 59, 31, 59, 99, 99, 59, 59, 59, 59, 53, 31, 53, 59, 53, 99, 20, 20, 99, 53, 59, 31, 53, 31, 59, 59, 59, 59, 99, 99, 59, 59, 59, 59, 31, 53, 31, 59, 53, 99, 20, 20, 99, 53, 59, 53, 31, 53, 59, 59, 59, 59, 99, 99, 59, 31, 59, 59, 53, 31, 53, 59, 53, 99, 20, 20, 99, 53, 55, 59, 59, 59, 59, 54, 59, 59, 99, 99, 59, 59, 59, 59, 59, 59, 59, 59, 53, 99, 20, 20, 99, 53, 53, 53, 53, 53, 53, 53, 53, 53, 99, 99, 53, 53, 53, 53, 53, 53, 53, 53, 53, 99, 20, 20, 99, 59, 59, 59, 59, 59, 59, 59, 59, 59, 99, 99, 59, 59, 31, 59, 59, 59, 59, 59, 59, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed, outtime);
_root.iPacman1._visible = true;
stop();
Frame 438
level = 13;
loadMovieNum ("dak.swf", 1000);
levelTime = 2000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 3;
startPosPacmanR = 4;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
started = true;
magic = false;
mazetype = 3;
maze = [15, 19, 11, 19, 11, 19, 19, 19, 19, 19, 19, 11, 19, 19, 11, 19, 19, 11, 19, 19, 19, 19, 19, 16, 20, 99, 21, 99, 20, 99, 99, 99, 99, 99, 31, 20, 51, 99, 21, 99, 99, 20, 99, 99, 99, 99, 99, 20, 29, 99, 99, 99, 20, 99, 99, 99, 99, 23, 99, 20, 99, 99, 99, 99, 99, 20, 31, 99, 99, 31, 99, 20, 20, 99, 23, 99, 13, 19, 19, 16, 99, 20, 99, 21, 99, 99, 23, 99, 99, 17, 19, 19, 19, 24, 55, 20, 20, 99, 20, 99, 21, 99, 52, 21, 99, 20, 99, 99, 31, 99, 20, 31, 99, 99, 99, 99, 99, 31, 99, 20, 20, 58, 20, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 31, 99, 58, 99, 52, 99, 20, 20, 99, 20, 99, 23, 99, 99, 23, 99, 20, 99, 99, 99, 31, 20, 99, 99, 99, 99, 99, 99, 99, 55, 20, 20, 99, 21, 99, 13, 19, 19, 18, 99, 20, 99, 23, 99, 99, 21, 99, 99, 15, 19, 19, 19, 24, 99, 20, 20, 99, 99, 99, 20, 99, 99, 99, 31, 21, 99, 20, 99, 99, 99, 31, 99, 20, 99, 31, 99, 31, 99, 20, 20, 99, 23, 99, 20, 99, 99, 99, 99, 99, 99, 20, 99, 99, 23, 99, 99, 20, 62, 99, 99, 99, 31, 20, 17, 19, 12, 19, 12, 19, 19, 19, 19, 19, 19, 12, 19, 19, 12, 19, 19, 12, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 15, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 14, 7, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 439
level = 14;
levelTime = 2500;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 3;
startPosPacmanR = 4;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 4;
_root.numColleagues = 2;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 52, 99, 99, 31, 99, 99, 20, 20, 99, 15, 19, 19, 19, 19, 16, 99, 15, 24, 99, 99, 22, 16, 51, 15, 19, 19, 19, 19, 16, 99, 20, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 99, 99, 99, 99, 20, 99, 20, 20, 53, 21, 99, 99, 99, 99, 21, 99, 20, 99, 31, 99, 99, 20, 99, 21, 99, 99, 31, 99, 21, 99, 20, 29, 55, 99, 99, 99, 99, 99, 99, 55, 20, 99, 99, 99, 99, 20, 99, 60, 99, 31, 99, 99, 60, 99, 20, 20, 31, 23, 99, 99, 99, 99, 23, 53, 20, 99, 99, 51, 31, 20, 99, 23, 99, 99, 99, 99, 23, 31, 20, 20, 99, 20, 99, 51, 99, 99, 20, 54, 20, 31, 99, 99, 99, 20, 99, 20, 31, 99, 99, 31, 20, 99, 20, 20, 99, 17, 19, 19, 19, 19, 18, 99, 17, 24, 99, 99, 22, 18, 52, 17, 19, 19, 19, 19, 18, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 18, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 12, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 440
level = 15;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 4;
startPosPacmanR = 5;
superTime = 100;
speedTime = 300;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = false;
mazetype = 4;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 52, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 23, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 21, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 31, 31, 31, 31, 99, 99, 99, 20, 20, 99, 99, 56, 99, 52, 99, 99, 99, 51, 99, 99, 20, 99, 99, 99, 31, 31, 31, 31, 99, 51, 99, 29, 20, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 31, 31, 31, 31, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 23, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 21, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 57, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 20, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 20, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 20, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 441
level = 16;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 4;
startPosPacmanR = 5;
superTime = 100;
speedTime = 300;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = false;
mazetype = 4;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 31, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 15, 19, 19, 19, 19, 19, 19, 19, 19, 16, 31, 99, 99, 31, 99, 99, 99, 20, 20, 52, 99, 99, 99, 99, 20, 31, 99, 60, 99, 31, 99, 99, 56, 20, 99, 99, 99, 99, 99, 99, 57, 20, 20, 99, 99, 60, 58, 22, 10, 19, 19, 19, 24, 53, 22, 19, 19, 12, 19, 19, 16, 31, 99, 99, 99, 29, 20, 99, 99, 99, 99, 99, 20, 52, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 31, 99, 20, 20, 99, 99, 99, 99, 99, 17, 19, 19, 19, 19, 19, 19, 19, 19, 24, 99, 99, 21, 31, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 52, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 23, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 20, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 20, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 20, 6, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 442
level = 17;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 8;
startPosPacmanR = 8;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 2;
_root.numColleagues = 3;
magic = false;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 52, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 52, 99, 99, 99, 52, 20, 20, 99, 99, 99, 99, 99, 58, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 15, 19, 19, 19, 16, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 15, 19, 19, 16, 20, 99, 99, 99, 21, 99, 99, 99, 20, 99, 99, 51, 99, 31, 31, 31, 31, 99, 99, 99, 20, 58, 99, 20, 20, 99, 99, 99, 53, 99, 56, 99, 20, 99, 99, 99, 99, 31, 31, 31, 31, 99, 99, 99, 20, 57, 99, 29, 20, 99, 99, 99, 23, 99, 99, 99, 20, 99, 99, 52, 99, 31, 31, 31, 31, 99, 99, 99, 20, 99, 99, 20, 20, 99, 99, 99, 17, 19, 19, 19, 18, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 17, 19, 19, 16, 20, 99, 52, 99, 99, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 19, 2, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 16, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 20, 9, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 443
level = 18;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 10;
startPosPacmanR = 8;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = true;
mazetype = 2;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 53, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 20, 20, 99, 99, 99, 99, 99, 15, 19, 16, 99, 99, 99, 99, 99, 99, 15, 19, 16, 31, 99, 31, 99, 99, 20, 20, 99, 99, 99, 99, 52, 20, 99, 20, 51, 99, 99, 99, 99, 99, 20, 61, 20, 99, 99, 99, 99, 99, 20, 20, 99, 99, 22, 19, 19, 18, 99, 17, 19, 16, 99, 99, 15, 19, 18, 99, 17, 19, 19, 24, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 31, 20, 99, 52, 20, 31, 62, 99, 31, 99, 31, 60, 31, 99, 20, 20, 99, 99, 22, 19, 19, 16, 99, 15, 19, 18, 99, 99, 17, 19, 16, 99, 15, 19, 19, 24, 99, 99, 20, 20, 99, 99, 99, 99, 52, 20, 99, 20, 99, 99, 99, 99, 99, 99, 20, 54, 20, 99, 99, 31, 99, 31, 20, 20, 99, 99, 99, 99, 99, 17, 19, 18, 99, 99, 99, 99, 99, 99, 17, 19, 18, 99, 31, 99, 99, 99, 20, 20, 53, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 29, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 24];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 21, 1, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 21, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 21, 9, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 444
level = 19;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 5;
startPosPacmanR = 6;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = true;
mazetype = 4;
maze = [15, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 61, 20, 20, 99, 53, 53, 53, 59, 20, 99, 99, 99, 31, 99, 99, 51, 99, 99, 99, 58, 99, 99, 99, 99, 99, 20, 20, 99, 53, 62, 53, 59, 20, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 53, 55, 53, 59, 21, 99, 31, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 54, 99, 20, 20, 99, 53, 59, 55, 59, 60, 52, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 29, 20, 99, 53, 55, 53, 59, 23, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 53, 31, 53, 59, 20, 99, 99, 31, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 20, 20, 99, 53, 53, 53, 59, 20, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 52, 20, 20, 99, 99, 99, 99, 99, 20, 99, 99, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 18, 1, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 17, 4, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 19, 9, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 445
level = 20;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 3;
startPosPacmanR = 4;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = false;
mazetype = 1;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 58, 99, 99, 99, 54, 52, 99, 99, 99, 99, 99, 99, 60, 53, 56, 20, 20, 99, 15, 19, 16, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 53, 53, 20, 20, 31, 20, 99, 21, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 20, 20, 58, 20, 99, 59, 52, 99, 99, 99, 99, 60, 58, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 31, 20, 99, 23, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 99, 99, 99, 31, 58, 99, 99, 20, 20, 99, 17, 19, 18, 99, 99, 58, 99, 99, 60, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 99, 54, 99, 99, 99, 99, 99, 99, 20, 13, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 14, 20, 99, 99, 31, 31, 99, 99, 53, 55, 53, 53, 57, 53, 53, 55, 53, 99, 99, 31, 31, 99, 99, 62, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 28, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 14, 7, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 21, 5, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 5, 7, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 446
level = 21;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 1;
startPosPacmanR = 1;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = false;
mazetype = 2;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 52, 31, 31, 99, 55, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 54, 56, 20, 13, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 24, 99, 20, 20, 99, 99, 99, 99, 99, 99, 54, 99, 99, 53, 53, 55, 53, 55, 53, 99, 99, 99, 31, 99, 54, 99, 20, 20, 99, 22, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 14, 20, 31, 99, 99, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 99, 99, 99, 99, 99, 31, 58, 99, 99, 20, 13, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 24, 99, 20, 20, 53, 53, 53, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 58, 99, 99, 99, 99, 99, 99, 20, 20, 99, 22, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 14, 20, 57, 99, 31, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 28, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 16, 1, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 9, 7, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 17, 9, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 447
level = 22;
levelTime = 3000;
outtime = _root.outtime;
couttime = _root.outtime * 2;
startPosPacmanC = 4;
startPosPacmanR = 4;
superTime = 100;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
_root.numColleagues = 3;
magic = false;
mazetype = 6;
maze = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 53, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 31, 53, 99, 31, 20, 20, 99, 99, 99, 99, 99, 52, 99, 99, 99, 31, 99, 99, 99, 99, 31, 99, 31, 53, 99, 31, 58, 99, 20, 13, 19, 16, 99, 99, 99, 99, 99, 99, 99, 15, 19, 19, 16, 99, 99, 99, 99, 99, 99, 15, 19, 19, 14, 20, 56, 21, 99, 99, 99, 23, 99, 99, 99, 21, 31, 62, 20, 99, 99, 23, 99, 99, 99, 20, 62, 58, 20, 20, 55, 99, 99, 99, 22, 10, 24, 99, 99, 99, 53, 53, 20, 99, 22, 10, 24, 99, 22, 14, 53, 99, 29, 20, 53, 23, 99, 99, 99, 21, 99, 99, 99, 23, 31, 31, 20, 99, 99, 21, 99, 99, 99, 20, 57, 99, 20, 13, 19, 18, 99, 99, 99, 99, 99, 55, 99, 17, 19, 19, 18, 99, 99, 99, 99, 31, 99, 17, 19, 19, 14, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 31, 99, 31, 99, 99, 20, 20, 53, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 58, 99, 99, 52, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze, magic, levelTime);
setColleague(colleagueType, 1, 11, 1, _root.cSpeed, couttime);
setColleague(colleagueType, 2, 14, 7, _root.cSpeed, couttime);
setColleague(colleagueType, 3, 21, 9, _root.cSpeed, couttime);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, _root.pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 455
level = 6;
levelTime = 30000;
startPosColleagueC = 12;
startPosColleagueR = 5;
startPosPacmanC = 4;
startPosPacmanR = 4;
pSpeed = 3;
cSpeed = 3;
superTime = 250;
speedTime = 250;
pacmanType = "iPacman1";
colleagueType = "iColleague";
mazetype = 6;
_root.numColleagues = 2;
maze = [15, 19, 11, 19, 19, 11, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 11, 19, 19, 11, 19, 16, 20, 31, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 20, 20, 99, 20, 99, 54, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 31, 20, 99, 31, 20, 99, 29, 20, 56, 20, 31, 99, 20, 58, 99, 99, 99, 20, 99, 99, 20, 99, 57, 99, 99, 20, 99, 99, 20, 99, 20, 20, 99, 21, 99, 99, 21, 99, 99, 55, 99, 21, 99, 99, 21, 99, 99, 99, 99, 21, 99, 99, 21, 99, 20, 20, 53, 99, 99, 99, 99, 53, 59, 59, 99, 99, 99, 99, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 23, 99, 99, 23, 99, 99, 99, 99, 23, 31, 99, 23, 99, 99, 99, 99, 23, 99, 99, 23, 99, 20, 20, 31, 20, 99, 99, 20, 31, 99, 99, 53, 20, 99, 99, 20, 99, 99, 99, 61, 20, 54, 99, 20, 99, 20, 20, 99, 20, 99, 53, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 31, 99, 99, 20, 99, 99, 20, 99, 20, 20, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 99, 99, 99, 20, 99, 99, 20, 99, 20, 17, 19, 12, 19, 19, 12, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 12, 19, 19, 12, 19, 18];
maze7 = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 29, 20, 20, 99, 54, 53, 31, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 58, 99, 99, 99, 58, 31, 99, 99, 20, 20, 99, 99, 99, 99, 99, 60, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 53, 99, 99, 99, 20, 20, 99, 56, 99, 99, 99, 58, 99, 99, 99, 99, 20, 99, 99, 31, 99, 99, 99, 53, 57, 53, 99, 99, 20, 20, 99, 99, 99, 51, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 53, 99, 99, 99, 20, 20, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 31, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 99, 58, 99, 99, 99, 99, 31, 99, 99, 99, 99, 20, 20, 99, 99, 99, 99, 99, 99, 99, 99, 60, 31, 20, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
maze8 = [15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 31, 99, 99, 99, 99, 99, 99, 99, 99, 51, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 20, 99, 15, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 99, 20, 20, 99, 20, 52, 99, 99, 31, 99, 58, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 99, 20, 20, 99, 21, 99, 22, 19, 19, 19, 19, 19, 24, 99, 22, 19, 19, 19, 19, 19, 19, 24, 99, 21, 99, 20, 20, 99, 99, 59, 31, 59, 59, 59, 59, 59, 59, 59, 31, 59, 59, 59, 59, 59, 59, 59, 59, 99, 99, 20, 20, 99, 23, 99, 22, 19, 19, 19, 19, 19, 24, 99, 22, 19, 19, 19, 19, 19, 19, 24, 99, 23, 99, 20, 20, 99, 20, 99, 99, 99, 99, 99, 31, 99, 99, 99, 99, 61, 99, 99, 99, 99, 99, 99, 99, 20, 99, 20, 20, 99, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18, 99, 20, 20, 99, 99, 62, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 31, 99, 99, 99, 20, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 18];
maze9 = [15, 19, 19, 19, 11, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 11, 19, 19, 19, 16, 20, 99, 99, 31, 20, 99, 99, 99, 20, 99, 99, 99, 99, 99, 99, 20, 99, 99, 99, 20, 99, 99, 99, 20, 20, 55, 23, 99, 21, 99, 99, 99, 21, 31, 23, 99, 99, 23, 99, 21, 55, 31, 99, 21, 99, 23, 99, 20, 20, 99, 20, 99, 99, 99, 23, 55, 99, 99, 21, 31, 99, 20, 99, 99, 99, 23, 99, 99, 55, 20, 99, 20, 20, 99, 20, 99, 23, 99, 21, 99, 23, 99, 99, 99, 99, 20, 99, 23, 99, 21, 99, 23, 99, 20, 99, 20, 20, 99, 21, 55, 20, 99, 31, 99, 20, 99, 23, 55, 31, 21, 55, 20, 99, 99, 99, 20, 99, 21, 99, 20, 20, 99, 99, 99, 20, 99, 99, 99, 20, 99, 20, 54, 99, 99, 99, 20, 99, 99, 99, 20, 99, 99, 99, 20, 20, 99, 23, 99, 21, 55, 23, 99, 21, 99, 20, 99, 99, 23, 99, 21, 99, 23, 31, 21, 99, 23, 99, 20, 20, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 21, 99, 31, 99, 21, 99, 99, 55, 21, 99, 20, 20, 55, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 20, 17, 19, 19, 19, 12, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 12, 19, 19, 19, 18];
maze10 = [15, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 11, 19, 19, 19, 19, 19, 19, 16, 20, 99, 99, 99, 99, 21, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 21, 99, 99, 31, 99, 99, 99, 20, 20, 99, 23, 31, 99, 99, 52, 99, 99, 99, 23, 53, 99, 31, 23, 99, 99, 53, 23, 99, 23, 31, 99, 20, 20, 99, 21, 56, 99, 99, 99, 99, 99, 99, 21, 99, 99, 99, 21, 99, 99, 99, 21, 99, 21, 99, 60, 20, 20, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 99, 99, 23, 99, 53, 99, 99, 99, 99, 20, 20, 99, 60, 99, 21, 99, 31, 99, 21, 99, 99, 99, 21, 99, 53, 99, 21, 99, 99, 59, 59, 60, 99, 29, 20, 99, 99, 99, 99, 99, 99, 99, 58, 99, 23, 53, 99, 99, 51, 99, 99, 53, 23, 99, 31, 21, 99, 20, 20, 99, 31, 99, 99, 99, 23, 99, 99, 31, 21, 99, 99, 99, 23, 99, 57, 53, 21, 99, 99, 99, 99, 20, 20, 99, 61, 99, 99, 99, 21, 99, 99, 99, 99, 99, 99, 99, 21, 99, 99, 99, 99, 99, 99, 99, 99, 20, 20, 99, 99, 99, 23, 99, 99, 99, 99, 23, 99, 99, 99, 99, 99, 99, 23, 99, 99, 99, 99, 99, 99, 20, 17, 19, 19, 19, 12, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 12, 19, 19, 19, 19, 19, 19, 18];
Initialize(level, mazetype, maze);
setColleague(colleagueType, 1, 12, 5, cSpeed);
setColleague(colleagueType, 2, 12, 6, cSpeed);
setColleagues(colleagueType, _root.numColleagues);
setPacman1(startPosPacmanC, startPosPacmanR, pSpeed);
_root.iPacman1._visible = true;
stop();
Frame 456
gotoAndStop (1);
stop();
Frame 459
_root.tempScore = _root.score;
_root.level++;
_root.deconstruct(level, mazetype);
_root.gp = true;
_root.winlose = 1;
_root.grootwitvlak.gotoAndPlay(2);
stop();
Frame 460
_root.score = _root.tempScore;
_root.lives--;
_root.deconstruct();
if (_root.lives == 0) {
_root.winlose = 3;
_root.grootwitvlak.gotoAndPlay(2);
} else {
_root.winlose = 2;
_root.grootwitvlak.gotoAndPlay(2);
}
stop();
Symbol 18 MovieClip Frame 9
gotoAndPlay (2);
Symbol 26 MovieClip Frame 9
gotoAndPlay (2);
Symbol 35 MovieClip Frame 10
_parent.boxing = false;
_parent.checkwinner = true;
_parent.gotoAndStop(1);
stop();
Symbol 38 MovieClip Frame 10
_parent.gotoAndStop(_name);
stop();
Symbol 39 MovieClip Frame 1
stop();
Instance of Symbol 21 MovieClip "helm" in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 39 MovieClip Frame 5
stop();
Symbol 39 MovieClip Frame 6
stop();
Symbol 39 MovieClip Frame 7
stop();
Symbol 39 MovieClip Frame 8
stop();
Symbol 42 MovieClip Frame 10
stop();
Symbol 55 MovieClip Frame 1
function move(dx, dy) {
oldx = oldposx[stp];
oldy = oldposy[stp];
oldposx[stp] = _x;
oldposy[stp] = _y;
_x = (_x + (dx * speed));
_y = (_y + (dy * speed));
var l = 1;
if (_root.Car0.owner == this) {
_root.Car0._x = oldx;
_root.Car0._y = oldy;
var l = 1;
var gi = 0;
while (gi < _root.totalGarbage) {
if (_root.garbageTrain[gi].owner == this) {
_root.garbageTrain[gi]._x = _root.Car0._x;
_root.garbageTrain[gi]._y = _root.Car0._y;
_root.garbageTrain[gi]._visible = false;
l++;
}
gi++;
}
lengte = l - 1;
_root.Car0.lengte = lengte;
} else {
var l = 1;
var gi = 0;
while (gi < _root.totalGarbage) {
if ((_root.garbageTrain[gi].owner == this) and (_root.garbageTrain[gi].mud == false)) {
_root.garbageTrain[gi]._x = oldx;
_root.garbageTrain[gi]._y = oldy;
oldx = _root.garbageTrain[gi].oldposx[stp];
oldy = _root.garbageTrain[gi].oldposy[stp];
_root.garbageTrain[gi].oldposx[stp] = _root.garbageTrain[gi]._x;
_root.garbageTrain[gi].oldposy[stp] = _root.garbageTrain[gi]._y;
l++;
}
gi++;
}
lengte = l - 1;
}
}
function nextMove() {
sliding = false;
go = true;
if (revState) {
dx = -dx;
dy = -dy;
}
tempx = (((Math.round((_x - 15) / 30) * 30) + 15) - _root.xBase) + (dx * _root.cellSize);
tempy = (((Math.round((_y - 90) / 30) * 30) + 90) - _root.yBase) + (dy * _root.cellSize);
row = Math.round(Math.abs(tempx) / _root.cellSize);
column = Math.round(Math.abs(tempy) / _root.cellSize);
pos = row + (column * _root.numCols);
cellValue = _root.maze[pos];
if (_root.wallNum < cellValue) {
var i = 0;
while (i < _root.yummies.length) {
if (this.hitTest(_root.yummies[i])) {
_root.yummies[i].eat(this);
}
i++;
}
if (magicState) {
var i = 0;
while (i < _root.klavers.length) {
if (this.hitTest(_root.klavers[i])) {
_root.klavers[i].eat(this);
_root.klavers.splice(i, 1);
}
i++;
}
}
i = 0;
while (i < _root.totalGarbage) {
_root.garbageTrain[i].collect(this);
i++;
}
i = 0;
while (i < _root.cars.length) {
_root.cars[i].collect(this);
i++;
}
move(dx, dy);
} else if ((cellValue == _root.doorNum1) or (cellValue == _root.doorNum2)) {
if (this.lengte >= _root.totalGarbage) {
_root.sound.gotoAndPlay("Lev");
_root.score = _root.score + _root.levelTimer;
_root.score = _root.score + this.superTimer;
_root.score = _root.score + this.speedTimer;
_root.score = _root.score + this.magicTimer;
gotoAndStop (1);
_root.gotoAndPlay("NextL");
} else {
dx = 0;
dy = 0;
}
} else if (cellValue < _root.wallNum) {
go = false;
}
}
var tempx;
var tempy;
var tx;
var ty;
var oldposx;
var oldposy;
var superState;
var speedState;
var magicState;
var revState;
var superTimer;
var speedTimer;
var magicTimer;
var winner;
var looser;
var sliding;
var go;
var speed;
var oldspeed;
var boxing;
var knockout;
var outtime;
var outtimer;
var win;
var lengte;
var going;
_visible = true;
Symbol 55 MovieClip Frame 2
if (((Key.isDown(Key.DOWN) or Key.isDown(Key.UP)) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) {
_root.goon = true;
}
if (0 < _root.levelTimer) {
if (_root.levelTimer == 100) {
_root.sound.gotoAndPlay("Time");
}
if (_root.levelTimer == 4) {
_root.sound.gotoAndPlay("Time2");
}
_root.levelTimer--;
_root.iLevelTimerbar._xscale = _root.iLevelTimerbar._xscale - (200 / _root.gamelevelTime);
this.swapDepths(4000);
if (knockout) {
gotoAndPlay (6);
}
if (boxing) {
gotoAndPlay (4);
} else {
if (superState) {
superTimer--;
_root.iSuperTimerbar._xscale = _root.iSuperTimerbar._xscale - (100 / _root.superTime);
_root.iSuperTimerbar._visible = true;
_root.helmpje._visible = true;
}
if (speedState) {
speedTimer--;
_root.iSpeedTimerbar._xscale = _root.iSpeedTimerbar._xscale - (100 / _root.speedTime);
_root.raketje._visible = true;
_root.iSpeedTimerbar._visible = true;
}
if (magicState) {
magicTimer--;
_root.iMagicTimerbar._xscale = _root.iMagicTimerbar._xscale - (100 / _root.magicTime);
_root.iMagicTimerbar._visible = true;
_root.klaver._visible = true;
}
stp++;
if ((stp == 1) and _root.goon) {
if (Key.getCode() == Key.LEFT) {
man.gotoAndStop(4);
man.F.gotoAndPlay(2);
dx = -1;
dy = 0;
nextMove();
} else if (Key.getCode() == Key.UP) {
man.gotoAndStop(2);
man.F.gotoAndPlay(2);
dy = -1;
dx = 0;
nextMove();
} else if (Key.getCode() == Key.RIGHT) {
man.gotoAndStop(3);
man.F.gotoAndPlay(2);
dx = 1;
dy = 0;
nextMove();
} else if (Key.getCode() == Key.DOWN) {
man.gotoAndStop(1);
man.F.gotoAndPlay(2);
dy = 1;
dx = 0;
nextMove();
} else if (sliding) {
nextMove();
} else if (Key.getCode() == Key.SPACE) {
man.F.gotoAndStop(1);
dx = 0;
dy = 0;
go = false;
}
if (0 >= magicTimer) {
magicState = false;
var ki = 0;
while (ki < _root.klavers.length) {
_root.klavers[ki]._visible = false;
ki++;
}
_root.klaver._visible = false;
_root.iMagicTimerbar._xscale = 100;
_root.iMagicTimerbar._visible = false;
}
if (0 >= superTimer) {
superTimer = 0;
superState = false;
man.helm._visible = false;
_root.helmpje._visible = false;
_root.iSuperTimerbar._xscale = 100;
_root.iSuperTimerbar._visible = false;
}
if ((0 >= speedTimer) and (speedState == true)) {
speedState = false;
speed = oldspeed;
_root.raketje._visible = false;
_root.iSpeedTimerbar._xscale = 100;
_root.iSpeedTimerbar._visible = false;
_x = ((Math.round((_x - 15) / 30) * 30) + (15 + (3 * dx)));
_y = ((Math.round((_y - 90) / 30) * 30) + (90 + (3 * dy)));
_root.resetTrain(this);
}
} else if (go) {
move(dx, dy);
}
if (stp == (30 / speed)) {
stp = 0;
}
}
} else if (0 >= _root.levelTimer) {
_root.gotoAndStop("Dead");
}
Symbol 55 MovieClip Frame 3
gotoAndPlay (2);
Symbol 55 MovieClip Frame 4
fightdir = man._currentframe + 4;
man.gotoAndStop(fightdir);
Symbol 55 MovieClip Frame 5
if (win) {
boxing = false;
gotoAndPlay (2);
} else if (knockout) {
gotoAndPlay (6);
} else {
gotoAndPlay (4);
}
Symbol 55 MovieClip Frame 6
play();
ko = 0;
Symbol 55 MovieClip Frame 9
if (_root.outtime < ko) {
knockout = false;
_root.gotoAndPlay("Dead");
} else {
ko++;
gotoAndPlay (7);
}
Symbol 55 MovieClip Frame 19
_root.gotoAndStop("Dead");
Symbol 55 MovieClip Frame 26
_root.gotoAndStop("Dead");
knockout = false;
stop();
Symbol 55 MovieClip Frame 31
gotoAndStop (6);
stop();
Symbol 55 MovieClip Frame 32
_root.resetTrain(this);
_name = "jumper";
Symbol 55 MovieClip Frame 41
tri = Math.floor(Math.random() * _root.traPosx.length);
this._x = _root.traPosx[tri];
this._y = _root.traPosy[tri];
_root.iPacman1._x = this._x;
_root.iPacman1._y = this._y;
_root.iPacman1.nextmove();
Symbol 55 MovieClip Frame 52
_name = "iPacman1";
_root.resetTrain(this);
gotoAndPlay (2);
Symbol 75 Button
on (release) {
Set("/:sound", 0);
unloadMovie (_root.sound);
play();
}
Symbol 82 Button
on (press) {
_root.gotoAndPlay(_root.naartoe);
}
Symbol 83 Button
on (press, keyPress "<Enter>") {
_root.gotoAndPlay(naartoe);
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 86 Button
on (release) {
tellTarget ("cheat") {
gotoAndStop (2);
};
}
Symbol 87 MovieClip Frame 1
bytes = int(_root.getBytesTotal() / 1000);
bytesloaded = int(_root.getBytesLoaded() / 1000);
if (bytes == bytesloaded) {
gotoAndPlay (3);
}
loading = ((bytesloaded add " K / ") add bytes) add " K";
Symbol 87 MovieClip Frame 2
gotoAndPlay (1);
Symbol 87 MovieClip Frame 3
loadMovie ("sound.swf", _root.sound);
Symbol 87 MovieClip Frame 4
bytes = int(_root.sound.getBytesTotal() / 1000);
bytesloaded = int(_root.sound.getBytesLoaded() / 1000);
if ((bytes == bytesloaded) and (_root.cpu != null)) {
gotoAndStop (7);
}
loading = ((bytesloaded add " K / ") add bytes) add " K";
Symbol 87 MovieClip Frame 6
gotoAndPlay (4);
Symbol 87 MovieClip Frame 7
loading = "";
Symbol 92 MovieClip Frame 9
gotoAndPlay (2);
Symbol 144 MovieClip Frame 11
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 6
gotoAndPlay(random(70) + 5);
Symbol 166 MovieClip Frame 90
gotoAndPlay (6);
Symbol 167 Button
on (press) {
if (_root.lives == 0) {
_root.gotoAndPlay("End");
} else {
_root.gotoAndPlay("L" + _root.level);
}
with (_parent) {
gotoAndStop(1);
}
}
Symbol 176 MovieClip Frame 6
gotoAndPlay(random(70) + 5);
Symbol 176 MovieClip Frame 90
gotoAndPlay (6);
Symbol 185 MovieClip Frame 1
Symbol 185 MovieClip Frame 2
Symbol 185 MovieClip Frame 6
_root.sound.gotoAndPlay("Fin");
Symbol 185 MovieClip Frame 31
_parent.level = "game over";
Symbol 185 MovieClip Frame 59
i = 1;
do {
if (eval ("/:score" + i) < _root.score) {
thisScore = "high";
break;
}
i = i + 1;
} while (27 >= i);
if (thisScore == "high") {
gotoAndStop (60);
} else {
with (_parent) {
gotoAndPlay("highscores");
}
}
_level0.highNum = 15;
_level0.myScore = _root.score;
_level0.gameW = 735;
loadMovieNum ("highscores_new.swf", 5000);
Symbol 185 MovieClip Frame 60
score = _root.score;
stop();
Symbol 188 Button
on (release) {
_root.newGame("L1");
_parent.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 244 MovieClip Frame 1
stop();
Instance of Symbol 166 MovieClip in Symbol 244 MovieClip Frame 1
/* no clip actions */
Symbol 244 MovieClip Frame 3
Instance of Symbol 185 MovieClip "gameover" in Symbol 244 MovieClip Frame 3
/* no clip actions */
Symbol 244 MovieClip Frame 4
_parent.level = "";
Symbol 244 MovieClip Frame 10
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
if (2 < _level1000._totalframes) {
unloadMovieNum (1000);
}
winlose.gotoAndStop(_root.winlose);
Symbol 246 MovieClip Frame 7
level = "level " add _root.level;
stop();
Symbol 248 Button
on (release) {
gotoAndStop (1);
Set("/:sound", 1);
loadMovie ("sound.swf", _root.sound);
}
Symbol 250 MovieClip Frame 1
if (/:sound == 0) {
gotoAndStop (4);
}
stop();
Symbol 250 MovieClip Frame 4
stopAllSounds();
Symbol 270 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 281 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 287 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 299 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 299 MovieClip Frame 2
Symbol 300 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 301 MovieClip Frame 20
stop();
Symbol 302 MovieClip Frame 1
na = _parent._name;
gotoAndStop(substring(na, 6, 1));
stop();
Symbol 303 MovieClip Frame 1
gotoAndStop(_name.substr(4, 1));
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 2
stop();
Symbol 314 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 318 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 329 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 333 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 333 MovieClip Frame 2
Symbol 335 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 336 MovieClip Frame 1
gotoAndStop(_name.substr(0, 1));
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 10
_parent.boxing = false;
_parent.checkwinner = true;
_parent.gotoAndStop(2);
stop();
Symbol 355 MovieClip Frame 10
_parent.boxing = false;
_parent.checkwinner = true;
_parent.gotoAndStop(3);
stop();
Symbol 356 MovieClip Frame 1
stop();
Instance of Symbol 21 MovieClip "helm" in Symbol 356 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 356 MovieClip Frame 5
stop();
Symbol 356 MovieClip Frame 6
stop();
Symbol 356 MovieClip Frame 7
stop();
Symbol 356 MovieClip Frame 8
stop();
Symbol 357 MovieClip Frame 1
function decideFight(opponent) {
_root.iPacman1.lengte = opponent.lengte;
_root.opponentlengte = this.lengte;
winner = this;
looser = opponent;
if (opponent.superState) {
if (this.superState == false) {
winner = opponent;
looser = this;
_root.score = _root.score + 100;
} else if (this.lengte < opponent.lengte) {
winner = opponent;
looser = this;
_root.score = _root.score + 250;
}
} else if ((this.superState == false) and (this.lengte < opponent.lengte)) {
winner = opponent;
looser = this;
_root.score = _root.score + 100;
}
for (prop in /garbageTrain) {
if (eval (_root.garbageTrain[prop]).owner == looser) {
eval (_root.garbageTrain[prop]).owner = winner;
}
}
return(winner);
}
function move(dx, dy) {
if (dx == 1) {
man.gotoAndStop(3);
} else if (dx == -1) {
man.gotoAndStop(4);
} else if (dy == 1) {
man.gotoAndStop(1);
} else if (dy == -1) {
man.gotoAndStop(2);
}
oldx = oldposx[stp];
oldy = oldposy[stp];
oldposx[stp] = _x;
oldposy[stp] = _y;
_x = (_x + (dx * speed));
_y = (_y + (dy * speed));
var l = 1;
if (_root.Car0.owner == this) {
_root.Car0._x = oldx;
_root.Car0._y = oldy;
var l = 1;
var gi = 0;
while (gi < _root.totalGarbage) {
if (_root.garbageTrain[gi].owner == this) {
_root.garbageTrain[gi]._x = _root.Car0._x;
_root.garbageTrain[gi]._y = _root.Car0._y;
_root.garbageTrain[gi]._visible = false;
l++;
}
gi++;
}
lengte = l - 1;
_root.Car0.lengte = lengte;
} else {
var l = 1;
var gi = 0;
while (gi < _root.totalGarbage) {
if (_root.garbageTrain[gi].owner == this) {
_root.garbageTrain[gi]._x = oldx;
_root.garbageTrain[gi]._y = oldy;
oldx = _root.garbageTrain[gi].oldposx[stp];
oldy = _root.garbageTrain[gi].oldposy[stp];
_root.garbageTrain[gi].oldposx[stp] = _root.garbageTrain[gi]._x;
_root.garbageTrain[gi].oldposy[stp] = _root.garbageTrain[gi]._y;
l++;
}
gi++;
}
lengte = l - 1;
}
}
function setRandomDirection() {
direction = random(2);
if (direction == 0) {
direction = -1;
}
if (dy == 0) {
dx = 0;
dy = direction;
} else {
dy = 0;
dx = direction;
}
if (_root.iPacman1.superState == true) {
dx = -dx;
dy = -dy;
}
}
function setDirection() {
dpcx = _root[_root.pName]._x - this._x;
dpcy = _root[_root.pName]._y - this._y;
if (dpcy == 0) {
dy = 0;
if (0 < dpcx) {
dx = 1;
} else {
dx = -1;
}
} else if (dpcx == 0) {
dx = 0;
if (0 < dpcy) {
dy = 1;
} else {
dy = -1;
}
} else {
rand = random(2);
if (rand == 1) {
dy = 0;
if (0 < dpcx) {
dx = 1;
} else {
dx = -1;
}
} else {
dx = 0;
if (0 < dpcy) {
dy = 1;
} else {
dy = -1;
}
}
}
if (_root.iPacman1.superState) {
dx = -dx;
dy = -dy;
}
}
function nextMove() {
tempx = (_x - _root.xBase) + (dx * _root.cellSize);
tempy = (_y - _root.yBase) + (dy * _root.cellSize);
row = Math.abs(tempx) / _root.cellSize;
column = Math.abs(tempy) / _root.cellSize;
pos = row + (column * _root.numCols);
cellValue = _root.maze[pos];
if (_root.wallNum < cellValue) {
var i = 0;
while (i < _root.yummies.length) {
if (this.hitTest(_root.yummies[i])) {
_root.yummies[i].eat(this);
}
i++;
}
i = 0;
while (i < _root.totalGarbage) {
eval (_root.garbageTrain[i]).collect(this);
i++;
}
i = 0;
while (i < _root.cars.length) {
_root.cars[i].collect(this);
i++;
}
move(dx, dy);
} else if (_root.wallNum >= cellValue) {
dx = 0;
dy = 0;
}
}
var cellValue = 0;
var speed;
var oldspeed;
var stp = 0;
var oldposx = new Array(10);
var oldposy = new Array(10);
var canmove = false;
var lengte;
var superState = false;
var speedState = false;
var magicState = false;
var revState = false;
var superTimer = 0;
var speedTimer = 0;
var winner;
var looser;
var knockout = false;
var outtimer;
var outtime;
var fighttime = 15;
var fighttimer;
var boxing = false;
Symbol 357 MovieClip Frame 2
if (_root.iPacman1.knockout == false) {
_root.opponentlengte = 0;
stp++;
if (superState) {
superTimer--;
}
if (speedState) {
speedTimer--;
}
if (stp == 1) {
if (this.hitTest(_root.iPacman1)) {
_root.sound.gotoAndPlay("Hit");
_root.iPacman1.boxing = true;
fighttimer = fighttime;
gotoAndPlay (4);
} else {
setDirection();
nextMove();
}
} else {
if (this.hitTest(_root.iPacman1)) {
_root.sound.gotoAndPlay("Hit");
_root.iPacman1.boxing = true;
fighttimer = fighttime;
gotoAndPlay (4);
}
if ((dx != 0) or (dy != 0)) {
move(dx, dy);
}
}
if (stp == Math.round(30 / speed)) {
stp = 0;
}
if (0 >= superTimer) {
superState = false;
man.helm._visible = false;
}
if ((0 >= speedTimer) and (speedState == true)) {
speedState = false;
speed = oldspeed;
_x = ((Math.round((_x - 15) / 30) * 30) + (15 + (3 * dx)));
_y = ((Math.round((_y - 90) / 30) * 30) + (90 + (3 * dy)));
_root.resetTrain(this);
}
}
Symbol 357 MovieClip Frame 3
gotoAndPlay (2);
Symbol 357 MovieClip Frame 4
fightdir = man._currentframe + 4;
man.gotoAndStop(fightdir);
Symbol 357 MovieClip Frame 5
if (0 >= fighttimer) {
winner = decideFight(_root.iPacman1);
if (winner == this) {
_root.iPacman1.knockout = true;
gotoAndPlay (2);
} else {
_root.iPacman1.win = true;
_root.iPacman1.boxing = false;
gotoAndPlay (6);
}
} else {
fighttimer--;
gotoAndPlay (4);
}
Symbol 357 MovieClip Frame 6
play();
ko = 0;
Symbol 357 MovieClip Frame 8
if (this.outtime < ko) {
step--;
knockout = false;
gotoAndPlay (2);
} else {
ko++;
gotoAndPlay (7);
}
Symbol 357 MovieClip Frame 22
gotoAndPlay (6);
stop();
Symbol 379 MovieClip Frame 1
gotoAndStop(_name.substr(0, 3));
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
stop();