Frame 2
_root.lives = 3;
score = 0;
_root.playlevel = 1;
if (_root.mastersound != 0) {
_root.mastersound = 100;
}
stop();
Instance of Symbol 127 MovieClip [high_scores] in Frame 2
onClipEvent (load) {
gotoAndPlay (1);
}
Frame 3
function buildMap(map) {
this.attachMovie("empty", "clip", 0);
this.scrClip._x = startX;
this.scrClip._y = startY;
mapW = map[0].length;
mapH = map.length;
var i = 0;
while (i < mapH) {
var j = 0;
while (j < mapW) {
if (map[i][j] == 6) {
this.clip.attachMovie("char", "char", 300000);
this.clip.char.xpos = (j * tileW) + charW;
this.clip.char.ypos = ((i + 1) * tileH) - charH;
map[i][j] = 1;
}
if (map[i][j] == 7) {
k++;
this.clip.attachMovie("enemy", "enemy_" + k, 290000 + k);
this.clip["enemy_" + k].xpos = (j * tileW) + enemyW;
this.clip["enemy_" + k].ypos = ((i + 0) * tileH) + enemyH;
this.clip["enemy_" + k].enemyW = enemyW;
this.clip["enemy_" + k].enemyH = enemyH;
this.clip["enemy_" + k].speed = _root.thisRepetition + 0;
this.clip["enemy_" + k].num = k;
map[i][j] = 1;
}
if (map[i][j] == 8) {
k++;
this.clip.attachMovie("enemyCop", "enemy_" + k, 290000 + k);
this.clip["enemy_" + k].xpos = (j * tileW) + enemyW;
this.clip["enemy_" + k].ypos = ((i + 0) * tileH) + enemyH;
this.clip["enemy_" + k].enemyW = enemyW;
this.clip["enemy_" + k].enemyH = enemyH;
this.clip["enemy_" + k].speed = _root.thisRepetition + 1;
this.clip["enemy_" + k].num = k;
map[i][j] = 1;
}
if (map[i][j] == 9) {
k++;
this.clip.attachMovie("bouncer", "enemy_" + k, 290000 + k);
this.clip["enemy_" + k].xpos = (j * tileW) + 2;
this.clip["enemy_" + k].ypos = ((i + 0) * tileH) + 5;
this.clip["enemy_" + k].enemyW = 6;
this.clip["enemy_" + k].enemyH = 9;
this.clip["enemy_" + k].speed = _root.thisRepetition + 2;
this.clip["enemy_" + k].num = k;
map[i][j] = 1;
}
td++;
if (map[i][j] == 13) {
this.clip.attachMovie("tile", (("t_" + i) + "_") + j, 2900);
} else {
this.clip.attachMovie("tile", (("t_" + i) + "_") + j, td);
}
this.clip[(("t_" + i) + "_") + j]._x = j * tileW;
this.clip[(("t_" + i) + "_") + j]._y = i * tileH;
this.clip[(("t_" + i) + "_") + j].gotoAndStop(map[i][j]);
this.clip[(("t_" + i) + "_") + j]._quality = "LOW";
if (map[i][j] == 4) {
_root.exittile_i = i;
_root.exittile_j = j;
}
if ((map[i][j] >= 10) && (map[i][j] <= 12)) {
_root.goodiesleft++;
}
j++;
}
i++;
}
}
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, 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, 4, 1, 1, 1, 1, 1, 1, 12, 1, 1, 1, 1, 1, 11, 11, 11, 1, 10, 10, 1, 7, 1, 1, 1, 1], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1], [2, 2, 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,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, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 1], [2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2], [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, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 1, 1, 1], [1, 1, 1, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 1, 1, 1], [1, 1, 10, 10, 10, 10, 1, 2, 1, 10, 10, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 10, 10, 1, 2, 1, 10, 10, 10, 10, 1, 1], [1, 1, 10, 10, 10, 10, 1, 1, 1, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 1, 1, 1, 10, 10, 10, 10, 1, 1], [1, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 1], [2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2], [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, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 1, 1, 1], [1, 1, 1, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 1, 1, 1], [1, 1, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 10, 10, 1, 2, 1, 10, 10, 10, 10, 1, 1], [1, 1, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 1, 1], [1, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 10, 1, 6, 4, 10, 10, 10, 10, 10, 10, 1, 1, 1, 10, 10, 10, 10, 10, 1], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]];
map_9 = [[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, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 1], [2, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 2], [2, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 2], [1, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 1], [1, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 1], [1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 1], [1, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 1], [2, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2], [2, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2], [2, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2], [2, 1, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 6, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]];
map_17 = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 2, 1, 1, 11, 1, 1, 1, 1, 1, 2, 1, 1, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 1, 1, 1], [1, 1, 1, 1, 1, 1, 10, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 11, 2, 2, 2, 2, 1, 1], [1, 1, 1, 1, 1, 10, 10, 2, 1, 1, 2, 12, 12, 1, 1, 2, 12, 1, 1, 10, 10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, 12, 12, 1, 1], [1, 1, 2, 2, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 12, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 2, 2, 1, 1], [1, 1, 2, 2, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 12, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 2, 2, 1, 1], [1, 1, 2, 2, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 12, 12, 12, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 2, 2, 1, 1], [1, 1, 1, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 12, 12, 12, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 1, 1], [12, 12, 1, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 12, 12, 12, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 12, 12], [2, 2, 1, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 12, 12, 12, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 12, 12, 12, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 4, 1, 1, 1, 1, 12, 12, 12, 12, 12, 1, 1, 1, 1, 1, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]];
map_25 = [[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, 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, 1, 1, 1, 12, 12, 1, 1, 12, 12, 1, 1, 12, 2, 12, 12, 2], [2, 2, 12, 2, 2, 1, 1, 1, 1, 12, 2, 2, 2, 1, 1, 12, 1, 1, 1, 1, 12, 12, 1, 1, 12, 12, 1, 1, 12, 12, 12, 1, 2], [2, 2, 12, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 12, 1, 1, 1, 12, 12, 1, 1, 12, 1, 1, 1, 12, 12, 12, 1, 2], [2, 2, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 12, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 2], [2, 2, 12, 12, 12, 1, 1, 1, 1, 1, 1, 9, 2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2]];
_root.totallevels = 30;
tileW = 12;
tileH = 12;
headinfo.swapDepths(1000);
startPos = this["startPos_" + playlevel];
charH = 8;
charW = 5;
enemyH = 11;
enemyW = 6;
_root.timelefta = 120;
_root.timeleft = 120;
_root.isPaused = "yes";
_root.hasKeg = "no";
_root.gameovermessage = undefined;
_root.exittile_i = undefined;
_root.exittile_j = undefined;
playlevel = _root.playlevel;
map = this["map_" + playlevel];
if (!_root.thisRepetition) {
_root.thisRepetition = 1;
}
if (((_root.playlevel == 8) || (_root.playlevel == 16)) || (_root.playlevel == 24)) {
_root.gameovermessage = "BONUS LEVEL!";
}
td = 1600;
k = 0;
buildMap(map);
stop();
Instance of Symbol 117 MovieClip [top_row_text] "headinfo" in Frame 3
/* no clip actions */
Instance of Symbol 39 MovieClip [empty] in Frame 3
onClipEvent (enterFrame) {
if (_root.iskilled != "yes") {
_root.timelefta = _root.timelefta - 0.1;
_root.timeleft = Math.round(_root.timelefta);
}
if ((_root.timeleft <= 0) && (((_root.playlevel == 8) || (_root.playlevel == 16)) || (_root.playlevel == 24))) {
removeMovieClip(_root.clip);
removeMovieClip(_root.messagebox);
_root.timelefta = 0;
_root.gotoAndPlay(6);
} else if ((_root.timeleft <= 0) && (_root.gameovermessage == undefined)) {
if (_root.mastersound == 100) {
blip5 = new Sound(this);
blip5.attachSound("scream");
blip5.start();
}
_root.timelefta = 0;
_root.gameovermessage = "Time's Up!";
_root.iskilled = "yes";
_root.cod = 1;
_root.clip.char.gotoAndPlay(6);
}
if (_root.isPaused == "yes") {
_root.timelefta = _root.timelefta + 0.1;
}
if (Key.isDown(84) && (Key.isDown(16))) {
_root.lives = 0;
_root.playlevel = 1;
_root.goodiesleft = 0;
removeMovieClip(_root.clip);
removeMovieClip(_root.headinfo);
removeMovieClip(_root.messagebox);
_root.gotoAndPlay(5);
}
if (Key.isToggled(83)) {
if (spacy != "stop") {
if (_root.mastersound == 100) {
_root.mastersound = 0;
_root.headinfo.speakers.gotoAndStop(2);
} else {
_root.mastersound = 100;
_root.headinfo.speakers.gotoAndStop(1);
}
spacy = "stop";
}
} else {
spacy = "go";
}
}
Instance of Symbol 151 MovieClip "messagebox" in Frame 3
onClipEvent (enterFrame) {
this.swapDepths(1);
}
Frame 4
removeMovieClip(headinfo);
stop();
Instance of Symbol 60 MovieClip "death" in Frame 4
onClipEvent (enterFrame) {
this._y = this._y - 3;
}
Instance of Symbol 39 MovieClip [empty] in Frame 4
onClipEvent (enterFrame) {
if (Key.getAscii() == 99) {
_root.iskilled = undefined;
_root.timelefta = 120;
_root.timeleft = 120;
_root.gotoAndPlay(3);
}
if (_root.lives == 0) {
_root.specialmessage = "ONE MORE TRY!";
} else {
_root.specialmessage = "";
}
}
Frame 5
if (_root.mastersound == 100) {
blip10 = new Sound(this);
blip10.attachSound("gameover");
blip10.start();
}
removeMovieClip(headinfo);
Selection.setFocus("_root.user_name");
stop();
Instance of Symbol 39 MovieClip [empty] in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
_root.lives = 3;
_root.score = 0;
_root.playlevel = 1;
_root.iskilled = undefined;
if ((_root.user_name == "N") || (_root.user_name == "T")) {
_root.user_name = undefined;
}
_root.thisRepetition = 1;
_root.gotoAndPlay(3);
}
if (Key.isDown(13)) {
_root.lives = 3;
_root.playlevel = 1;
_root.iskilled = undefined;
_root.thisRepetition = 1;
_root.gotoAndPlay(7);
}
}
Frame 6
function endoflevel() {
tick++;
if (tick == 20) {
if (((_root.playlevel == 8) || (_root.playlevel == 16)) || (_root.playlevel == 24)) {
_root.timebonustext = "beer left:";
_root.timebonus = _root.goodiesleft;
} else {
_root.timebonustext = "time bonus:";
_root.timebonus = _root.timeleft;
}
}
if (tick == 40) {
_root.goodiesleft = 0;
if (_root.hasKeg == "yes") {
_root.attachMovie("keg1", "keg", 3000);
_root.keg._x = 157;
_root.keg._y = 153;
_root.kegbonustext = "keg bonus:";
_root.newscorekeg = _root.timebonus;
_root.hasKeg = "no";
} else {
tick = tick + 20;
}
}
if (tick == 60) {
_root.newscoretext = "score:";
_root.score = _root.score + (_root.timebonus + _root.newscorekeg);
_root.newscore = _root.score;
}
if (_root.playlevel == _root.totallevels) {
_root.giveExtraLife = "yes";
}
if ((_root.giveExtraLife == "yes") && (tick == 80)) {
_root.specialtext = "Extra dude awarded!";
_root.lives++;
if (_root.mastersound == 100) {
blip6 = new Sound(this);
blip6.attachSound("alright");
blip6.start();
}
}
if (tick >= 81) {
if (_root.playlevel < 30) {
_root.continuetext = "press C to start level";
_root.leveltext = _root.playlevel + 1;
}
if ((_root.playlevel == 30) && (tick > 150)) {
_root.specialtext = undefined;
_root.timebonus = undefined;
_root.timebonustext = undefined;
_root.continuetext = undefined;
_root.leveltext = undefined;
tick = undefined;
bonusloop = undefined;
newloop = undefined;
_root.newscoretext = undefined;
_root.newscore = undefined;
_root.kegbonustext = undefined;
_root.newscorekeg = undefined;
hal = undefined;
removeMovieClip(_root.keg);
_root.gotoAndPlay(8);
} else if ((_root.playlevel != 30) && ((Key.getAscii() == 99) || (Key.getAscii() == 67))) {
_root.playlevel++;
_root.specialtext = undefined;
_root.timebonus = undefined;
_root.timebonustext = undefined;
_root.continuetext = undefined;
_root.leveltext = undefined;
tick = undefined;
bonusloop = undefined;
newloop = undefined;
_root.newscoretext = undefined;
_root.newscore = undefined;
_root.kegbonustext = undefined;
_root.newscorekeg = undefined;
hal = undefined;
removeMovieClip(_root.keg);
_root.timelefta = 120;
_root.timeleft = 120;
_root.gotoAndPlay(3);
}
}
}
removeMovieClip(headinfo);
tick = 0;
if (((_root.playlevel == 8) || (_root.playlevel == 16)) || (_root.playlevel == 24)) {
if (_root.goodiesleft == 0) {
_root.giveExtraLife = "yes";
} else {
_root.giveExtraLife = "no";
}
} else {
_root.giveExtraLife = "no";
}
stop();
Instance of Symbol 39 MovieClip [empty] in Frame 6
onClipEvent (enterFrame) {
_parent.endoflevel();
}
Instance of Symbol 49 MovieClip in Frame 6
onClipEvent (enterFrame) {
this._x = this._x + 2;
}
Frame 7
function addhighscore() {
thisloop++;
if (_root.CheckAdd == "1") {
_root.score = 0;
gotoAndStop (2);
} else {
gotoAndStop (7);
}
if (thisloop >= 15) {
_root.addingmessage = "ADDING SCORE TO DATABASE...";
}
}
loadVariablesNum ((("http://www.daveheinzel.com/beerdude2/add_scores.php?name=" + _root.user_name) + "&score=") + _root.score, 0);
thisloop = 0;
stop();
Instance of Symbol 39 MovieClip [empty] in Frame 7
onClipEvent (enterFrame) {
_parent.addhighscore();
}
Frame 8
function loopie() {
thisloop++;
if (Key.isToggled(78)) {
_root.gotoAndPlay(3);
}
}
_root.thisRepetition = _root.thisRepetition + 2;
_root.playlevel = 1;
_root.timelefta = 120;
_root.timeleft = 120;
thisloop = 1;
stop();
Instance of Symbol 39 MovieClip [empty] in Frame 8
onClipEvent (enterFrame) {
_parent.loopie();
}
Symbol 38 MovieClip Frame 6
if ((_root.isPaused == "no") || (_root.timelefta < 120)) {
this.gotoAndPlay(1);
}
Symbol 61 MovieClip [char] Frame 1
function render() {
_y = Math.round(ypos);
_x = Math.round(xpos);
}
function getcornersright() {
cordrx = Math.ceil((xpos + charW) / tileW) - 1;
cordtry = Math.ceil((ypos - charH) / tileH) - 1;
cordcry = Math.ceil(ypos / tileH) - 1;
cordbry = Math.ceil((ypos + charH) / tileH) - 1;
trwalk = _root.map[cordtry][cordrx];
crwalk = _root.map[cordcry][cordrx];
brwalk = _root.map[cordbry][cordrx];
tiletype = _root.map[cordcry][cordrx];
}
function getcornersleft() {
cordlx = Math.ceil((xpos - charW) / tileW) - 1;
cordtry = Math.ceil((ypos - charH) / tileH) - 1;
cordcly = Math.ceil(ypos / tileH) - 1;
cordbly = Math.ceil((ypos + charH) / tileH) - 1;
tlwalk = _root.map[cordtry][cordlx];
clwalk = _root.map[cordcly][cordlx];
blwalk = _root.map[cordbly][cordlx];
}
function getcornerstop() {
cordty = Math.ceil((ypos - charH) / tileH) - 1;
cordtlx = Math.ceil(((xpos - charW) + padding) / tileW) - 1;
cordtcx = Math.ceil(xpos / tileW) - 1;
cordtrx = Math.ceil(((xpos + charW) - padding) / tileW) - 1;
tlwalk = _root.map[cordty][cordtlx];
tcwalk = _root.map[cordty][cordtcx];
trwalk = _root.map[cordty][cordtrx];
}
function getcornersbottom(gcb) {
cordby = Math.ceil(((ypos + gcb) + charH) / tileH) - 1;
cordblx = Math.ceil(((xpos - charW) + padding) / tileW) - 1;
cordbcx = Math.ceil(xpos / tileW) - 1;
cordbrx = Math.ceil(((xpos + charW) - padding) / tileW) - 1;
blwalk = _root.map[cordby][cordblx];
bcwalk = _root.map[cordby][cordbcx];
brwalk = _root.map[cordby][cordbrx];
}
function control() {
if (Key.isDown(16)) {
running = "yes";
speed = runspeed;
} else {
speed = walkspeed;
if (running == "yes") {
running = "no";
}
}
if (Key.isDown(37)) {
_root.isPaused = "no";
delete _root.gameovermessage;
directionx = "left";
xpos = xpos - speed;
this.getcornersleft();
if (((tlwalk == 2) || (clwalk == 2)) || (blwalk == 2)) {
xpos = (((Math.ceil((xpos - charW) / tileW) - 1) + 1) * tileW) + charW;
}
} else if (directionx == "left") {
directionx = "still";
}
if (Key.isDown(39)) {
_root.isPaused = "no";
delete _root.gameovermessage;
directionx = "right";
xpos = xpos + speed;
this.getcornersright();
if (((trwalk == 2) || (crwalk == 2)) || (brwalk == 2)) {
xpos = ((Math.ceil((xpos + charW) / tileW) - 1) * tileW) - charW;
}
} else if (directionx == "right") {
directionx = "still";
}
if (!jumping) {
jumping = "no";
}
if (((((jumping == "no") && (canjump != "no")) && (onground == "yes")) && (jumplup == "0")) && (Key.isDown(32) || (Key.isDown(90)))) {
canjump = "no";
fspeed = 2;
jumping = "yes";
onground = "no";
jumplup++;
yjspeed = jumpspeed;
}
if (Key.isDown(32) || (Key.isDown(90))) {
_root.isPaused = "no";
delete _root.gameovermessage;
canjump = "no";
} else {
canjump = "yes";
}
if (_root.isPaused != "yes") {
if (jumplup > 0) {
if (jumplup >= (_root.tileH - jumpspeed)) {
jumplup = (_root.tileH - jumpspeed) - 1;
}
yjspeed = Math.round(jumpspeed + (jumplup * gravity));
if ((!Key.isDown(32)) && (!Key.isDown(90))) {
if (yjspeed < -3) {
yjspeed = -3;
jumplup = Math.abs(jumpspeed);
}
}
if (yjspeed > (tileH - 1)) {
yjspeed = tileH - 1;
}
if (yjspeed < 0) {
ypos = ypos + Math.round(yjspeed);
jumplup++;
} else {
jumplup = 0;
}
} else {
jumplup = "0";
jumping = "no";
}
this.getcornersbottom(1);
if (jumplup == "0") {
if (((blwalk == 2) || (bcwalk == 2)) || (brwalk == 2)) {
bottomhit = "yes";
onground = "yes";
fspeed = 2;
} else {
bottomhit = "no";
if (jumplup == "0") {
if (!fspeed) {
fspeed = 2;
}
if (fspeed >= (tileH - 5)) {
fspeed = tileH - 5;
}
ypos = ypos + Math.round(fspeed * gravity);
fspeed++;
}
onground = "no";
}
}
this.getcornersbottom();
if (((blwalk == 2) || (bcwalk == 2)) || (brwalk == 2)) {
ypos = (cordby * tileH) - charH;
}
if (onground == "no") {
this.getcornerstop();
if (((tlwalk == 2) || (tcwalk == 2)) || (trwalk == 2)) {
jumplup = 0;
ypos = ((cordty + 1) * tileH) + (charH + 1);
}
}
if (jumplup != "0") {
directiony = "jumping";
} else if (fspeed != "2") {
directiony = "falling";
} else {
directiony = "still";
}
if (ypos > 400) {
ypos = 400;
}
if (xpos < charW) {
xpos = charW;
}
if (xpos > 391) {
xpos = 391;
}
if (directiony == "jumping") {
this.gotoAndStop(4);
} else if (directiony == "falling") {
this.gotoAndStop(5);
} else if (directionx == "still") {
this.gotoAndStop(1);
} else if (directionx == "left") {
this.gotoAndStop(2);
} else if (directionx == "right") {
this.gotoAndStop(3);
}
coordx = Math.round((xpos + charW) / tileW) - 1;
coordy = Math.round((ypos + charH) / tileH) - 1;
tiletype = _root.map[coordy][coordx];
if (tiletype >= "10") {
_root.map[coordy][coordx] = 1;
_root.clip[(("t_" + coordy) + "_") + coordx].removeMovieClip();
if (tiletype == "10") {
if (_root.mastersound == 100) {
blip1 = new Sound(this);
blip1.attachSound("can");
blip1.start();
}
_root.score = _root.score + 5;
_root.goodiesleft--;
}
if (tiletype == "11") {
if (_root.mastersound == 100) {
blip2 = new Sound(this);
blip2.attachSound("glass2");
blip2.start();
}
_root.score = _root.score + 10;
_root.goodiesleft--;
}
if (tiletype == "12") {
if (_root.mastersound == 100) {
blip3 = new Sound(this);
blip3.attachSound("glass1");
blip3.start();
}
_root.score = _root.score + 20;
_root.goodiesleft--;
}
if (tiletype == "13") {
if (_root.mastersound == 100) {
blip11 = new Sound(this);
blip11.attachSound("ting");
blip11.start();
}
_root.hasKeg = "yes";
}
}
if (_root.goodiesleft <= 0) {
if (endtilevar != "stop") {
var i = 0;
while (i < 20) {
var j = 0;
while (j < 33) {
if (_root.map[i][j] == 3) {
_root.clip[(("t_" + i) + "_") + j].gotoAndStop(2);
_root.map[i][j] = 2;
}
j++;
}
i++;
}
endtilevar = "stop";
}
_root.clip[(("t_" + _root.exittile_i) + "_") + _root.exittile_j].gotoAndStop(5);
if (tiletype == "4") {
if (_root.mastersound == 100) {
blip7 = new Sound(this);
blip7.attachSound("guitar");
blip7.start();
}
removeMovieClip(_root.clip);
removeMovieClip(_root.messagebox);
_root.goodiesleft = 0;
_root.gotoAndPlay(6);
}
}
if (ypos > 254) {
if (_root.mastersound == 100) {
blip4 = new Sound(this);
blip4.attachSound("scream");
blip4.start();
}
_root.gameovermessage = "PBR me ASAP!";
_root.iskilled = "yes";
_root.cod = 2;
_root.clip.char.gotoAndStop(6);
}
}
this.render();
if (Key.isToggled(80)) {
if (spacer != "stop") {
if (_root.isPaused == "no") {
_root.gameovermessage = "PAUSE";
if ((directionX != "still") && (directionY == "still")) {
this.gotoAndStop(1);
}
_root.isPaused = "yes";
} else {
delete _root.gameovermessage;
_root.isPaused = "no";
}
spacer = "stop";
}
} else {
spacer = "go";
}
}
walkspeed = 3;
runspeed = 5;
jumpspeed = -14;
gravity = 1.4;
padding = 2;
directionx = "still";
charW = _root.charW;
charH = _root.charH;
tileW = _root.tileW;
tileH = _root.tileH;
stop();
Instance of Symbol 39 MovieClip [empty] in Symbol 61 MovieClip [char] Frame 1
onClipEvent (enterFrame) {
_parent.control();
}
Symbol 61 MovieClip [char] Frame 6
function diefunction() {
dieloop++;
if (dieloop >= 50) {
removeMovieClip(_root.clip);
removeMovieClip(_root.messagebox);
_root.goodiesleft = 0;
_root.lives--;
if (_root.lives >= 0) {
_root.gotoAndPlay(4);
} else {
_root.gotoAndStop(5);
}
} else {
ypos = ypos - 3;
}
_y = Math.round(ypos);
}
stop();
Instance of Symbol 39 MovieClip [empty] in Symbol 61 MovieClip [char] Frame 6
onClipEvent (enterFrame) {
if (_root.gameovermessage != undefined) {
_parent.diefunction();
} else {
_root.iskilled = "no";
_parent.gotoAndStop(1);
}
}
Symbol 70 MovieClip [bouncer] Frame 1
function render() {
this._x = xpos;
this._y = ypos;
}
function gettiles(psnum) {
var cordy = (Math.ceil(ypos / tileH) - 1);
var cordx = (Math.ceil((xpos + (psnum * (tileW / 2))) / tileW) - 1);
var cordcx = (Math.ceil((xpos + ((psnum * (tileW / 3)) + 2)) / tileW) - 1);
tile_X = _root.map[cordy][cordcx];
tile_Y = _root.map[cordy + 1][cordcx];
}
function moveenemy() {
if (_root.isPaused != "yes") {
if (((_root.clip.char.ypos + 12) > ypos) && ((_root.clip.char.ypos - 2) < ypos)) {
if (_root.clip.char.xpos < xpos) {
edirX = -1;
} else {
edirX = 1;
}
if (harryman == "1") {
if ((_root.mastersound == 100) && (_root.bouncerplaying != "yes")) {
_root.bouncerplaying = "yes";
blip6 = new Sound(this);
blip6.attachSound("bouncerloop");
blip6.start();
}
harryman = 2;
} else {
_root.bouncerplaying = "no";
harryman = 1;
}
} else {
edirX = 0;
}
this.gettiles(edirX);
if (xpos < 5) {
edirX = 1;
}
if (xpos > 392) {
edirX = -1;
}
var xdist = (xpos - _root.clip.char.xpos);
var ydist = ((ypos - enemyH) - _root.clip.char.ypos);
if ((Math.sqrt((xdist * xdist) + (ydist * ydist)) < 10) && (_root.gameovermessage == undefined)) {
var endMessage = random(3);
if (endMessage == 0) {
_root.gameovermessage = "Bounced by the Bouncer!";
} else if (endMessage == 1) {
_root.gameovermessage = "Chucked by the Chucker-Outter!";
} else if (endMessage == 2) {
_root.gameovermessage = "Mistreated by the Meatneck!";
}
if ((_root.mastersound == 100) && (_root.gameovermessage != undefined)) {
blip5 = new Sound(this);
blip5.attachSound("scream");
blip5.start();
}
_root.iskilled = "yes";
_root.cod = 3;
_root.clip.char.gotoAndStop(6);
}
if (edirX != 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if ((tile_Y == 2) && (tile_X != 2)) {
xpos = (xpos = xpos + (speed * edirX));
}
ypos = ypos;
}
this.render();
}
tileW = _root.tileW;
tileH = _root.tileH;
stop();
Instance of Symbol 39 MovieClip [empty] in Symbol 70 MovieClip [bouncer] Frame 1
onClipEvent (enterFrame) {
_parent.moveenemy();
}
Symbol 75 MovieClip Frame 1
function checkforPause() {
if (_root.isPaused == "yes") {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 39 MovieClip [empty] in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.checkforPause();
}
Symbol 76 MovieClip [enemyCop] Frame 1
function render() {
this._x = xpos;
this._y = ypos;
}
function gettiles(psnum) {
var cordy = (Math.ceil(ypos / tileH) - 1);
var cordx = (Math.ceil((xpos + (psnum * (tileW / 2))) / tileW) - 1);
var cordcx = (Math.ceil((xpos + ((psnum * (tileW / 3)) + 2)) / tileW) - 1);
tile_X = _root.map[cordy][cordcx];
tile_Y = _root.map[cordy + 1][cordcx];
}
function moveenemy() {
if (_root.isPaused != "yes") {
this.gettiles(edirX);
if (tile_X == 2) {
edirX = edirX * -1;
}
if (tile_Y != 2) {
edirX = edirX * -1;
}
if (xpos < 5) {
edirX = 1;
}
if (xpos > 392) {
edirX = -1;
}
var xdist = (xpos - _root.clip.char.xpos);
var ydist = ((ypos - enemyH) - _root.clip.char.ypos);
if ((Math.sqrt((xdist * xdist) + (ydist * ydist)) < 10) && (_root.gameovermessage == undefined)) {
var endMessage = random(3);
if (endMessage == 0) {
_root.gameovermessage = "Foiled by the Fuzz!";
} else if (endMessage == 1) {
_root.gameovermessage = "Impounded by the Pigs!";
} else if (endMessage == 2) {
_root.gameovermessage = "Crippled by the Coppers!";
}
if ((_root.mastersound == 100) && (_root.gameovermessage != undefined)) {
blip5 = new Sound(this);
blip5.attachSound("scream");
blip5.start();
}
_root.iskilled = "yes";
_root.cod = 5;
_root.clip.char.gotoAndStop(6);
}
xpos = (xpos = xpos + (speed * edirX));
ypos = ypos;
}
this.render();
}
edirX = 1;
tileW = _root.tileW;
tileH = _root.tileH;
Instance of Symbol 39 MovieClip [empty] in Symbol 76 MovieClip [enemyCop] Frame 1
onClipEvent (enterFrame) {
_parent.moveenemy();
}
Symbol 81 MovieClip Frame 1
function checkforPause() {
if (_root.isPaused == "yes") {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 39 MovieClip [empty] in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.checkforPause();
}
Symbol 82 MovieClip [enemy] Frame 1
function render() {
this._x = xpos;
this._y = ypos;
}
function gettiles(psnum) {
var cordy = (Math.ceil(ypos / tileH) - 1);
var cordx = (Math.ceil((xpos + (psnum * (tileW / 2))) / tileW) - 1);
var cordcx = (Math.ceil(xpos / tileW) - 1);
tile_X = _root.map[cordy][cordx];
tile_Y = _root.map[cordy + 1][cordcx];
}
function moveenemy() {
if (_root.isPaused != "yes") {
this.gettiles(edirX);
if (tile_X == 2) {
edirX = edirX * -1;
}
if (tile_Y != 2) {
if (fallspeed < tileH) {
fallspeed++;
}
ypos = ypos + fallspeed;
} else {
ypos = ((Math.ceil(ypos / tileH) - 1) * tileH) + enemyH;
fallspeed = 0;
}
if (xpos < 5) {
edirX = 1;
}
if (xpos > 392) {
edirX = -1;
}
var xdist = (xpos - _root.clip.char.xpos);
var ydist = ((ypos - enemyH) - _root.clip.char.ypos);
if ((Math.sqrt((xdist * xdist) + (ydist * ydist)) < 10) && (_root.gameovermessage == undefined)) {
var endMessage = random(3);
if (endMessage == 0) {
_root.gameovermessage = "Manhandled by the Man!";
} else if (endMessage == 1) {
_root.gameovermessage = "Shipped out by the Suits!";
} else if (endMessage == 2) {
_root.gameovermessage = "Beat down by the Boss!";
}
if ((_root.mastersound == 100) && (_root.gameovermessage != undefined)) {
blip5 = new Sound(this);
blip5.attachSound("scream");
blip5.start();
}
_root.iskilled = "yes";
_root.cod = 4;
_root.clip.char.gotoAndStop(6);
}
xpos = (xpos = xpos + (speed * edirX));
ypos = ypos;
}
this.render();
}
edirX = 1;
tileW = _root.tileW;
tileH = _root.tileH;
Instance of Symbol 39 MovieClip [empty] in Symbol 82 MovieClip [enemy] Frame 1
onClipEvent (enterFrame) {
_parent.moveenemy();
}
Symbol 101 MovieClip [bestscorebox] Frame 1
function startloop() {
if (Key.isToggled(9)) {
trace("remove");
removeMovieClip(_root.bbox);
}
}
Selection.setFocus("_root.user_name");
stop();
Instance of Symbol 39 MovieClip [empty] in Symbol 101 MovieClip [bestscorebox] Frame 1
onClipEvent (enterFrame) {
_parent.startloop();
if (Key.isToggled(9)) {
trace("removeX");
removeMovieClip(_root.bbox);
}
}
Symbol 101 MovieClip [bestscorebox] Frame 2
stop();
Symbol 116 MovieClip Frame 1
if (_root.mastersound == 0) {
this.gotoAndStop(2);
}
stop();
Instance of Symbol 103 MovieClip [timebox] in Symbol 117 MovieClip [top_row_text] Frame 1
onClipEvent (enterFrame) {
if (_root.timeleft < 10) {
if ((_root.timeleft % 2) != 0) {
this._alpha = 100;
} else {
this._alpha = 0;
}
} else {
this._alpha = 0;
}
}
Instance of Symbol 34 MovieClip [keg1] "kegger" in Symbol 117 MovieClip [top_row_text] Frame 1
onClipEvent (enterFrame) {
if (_root.hasKeg == "yes") {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Symbol 127 MovieClip [high_scores] Frame 1
function loopnow() {
thisloop++;
if (_root.CheckLog == "1") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
if (thisloop >= 15) {
_root.loadingmessage = "LOADING HIGH SCORES...";
}
}
loadVariablesNum ("http://www.daveheinzel.com/beerdude2/display_scores.php", 0);
thisloop = 0;
stop();
Instance of Symbol 39 MovieClip [empty] in Symbol 127 MovieClip [high_scores] Frame 1
onClipEvent (enterFrame) {
_parent.loopnow();
}
Symbol 127 MovieClip [high_scores] Frame 2
stop();
Symbol 129 Button [play_again]
on (release) {
blip7 = new Sound(this);
blip7.attachSound("silence");
blip7.start();
gotoAndStop (3);
}
Instance of Symbol 134 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _root.percentLoaded;
}
Symbol 137 MovieClip Frame 1
_parent.stop();
Symbol 137 MovieClip Frame 2
kBytesLoaded = _parent.getBytesLoaded() / 1024;
kBytesTotal = _parent.getBytesTotal() / 1024;
_root.percentLoaded = Math.floor((100 * kBytesLoaded) / kBytesTotal);
_root.sherry++;
Symbol 137 MovieClip Frame 3
if (_root.percentLoaded < 99) {
gotoAndPlay (2);
} else {
_parent.play();
stop();
}
Symbol 196 MovieClip Frame 580
stop();