Frame 1
var totalByte;
var loadByte;
this.onEnterFrame = function () {
totalByte = _root.getBytesTotal();
loadByte = _root.getBytesLoaded();
roading_mc._width = (loadByte / totalByte) * 200;
run_mc._x = ((loadByte / totalByte) * 200) + 3;
if (loadByte >= totalByte) {
gotoAndStop (121);
}
};
Frame 120
gotoAndPlay (1);
Frame 121
this.stop();
var bgmSound;
bgmSound = new Sound();
bgmSound.attachSound("bgm1");
bgmSound.start(0, 1000);
gameStart_btn.onPress = function () {
bgmSound.stop();
gotoAndStop (123);
};
gameHelp_btn.onPress = function () {
bgmSound.stop();
gotoAndStop (122);
};
this.onEnterFrame = function () {
cloud1_mc._x = cloud1_mc._x + 0.3;
if (cloud1_mc._x > 400) {
cloud1_mc._x = -30;
}
cloud2_mc._x = cloud2_mc._x + 0.5;
if (cloud2_mc._x > 400) {
cloud2_mc._x = -50;
}
cloud3_mc._x = cloud3_mc._x + 0.4;
if (cloud3_mc._x > 400) {
cloud3_mc._x = -70;
}
};
Frame 122
stop();
var bgmSound;
bgmSound = new Sound();
bgmSound.attachSound("bgm1");
bgmSound.start(0, 1000);
gameStart_btn.onPress = function () {
bgmSound.stop();
gotoAndStop (123);
};
Frame 123
function infoChange(idx) {
var _local2 = 0;
while (_local2 < 6) {
if (_local2 == idx) {
_root["INFO" + _local2]._visible = true;
} else {
_root["INFO" + _local2]._visible = false;
}
_local2++;
}
}
this.stop();
var bgmSound;
bgmSound = new Sound();
bgmSound.attachSound("bgm1");
bgmSound.start(0, 1000);
var clickSound;
clickSound = new Sound();
clickSound.attachSound("clickSound");
GameConstant.Player = 0;
var i = 1;
while (i <= 5) {
this["INFO" + i]._visible = false;
i++;
}
check_mc._x = this.face0._x - 15;
check_mc._y = this.face0._y - 25;
Mouse.hide();
var crosshair_mc = this.attachMovie("crosshair_mc", "crosshair_mc", 100001);
Mouse.addListener(crosshair_mc);
crosshair_mc.onMouseMove = function () {
crosshair_mc._x = _xmouse;
crosshair_mc._y = _ymouse;
updateAfterEvent();
};
crosshair_mc.onMouseDown = function () {
var _local3 = 0;
while (_local3 < 6) {
if (_root["face" + _local3].hitTest(this)) {
clickSound.start(0, 1);
infoChange(_local3);
check_mc._x = _root["face" + _local3]._x - 15;
check_mc._y = _root["face" + _local3]._y - 25;
GameConstant.Player = _local3;
}
_local3++;
}
updateAfterEvent();
};
select_btn.onPress = function () {
crosshair_mc.removeMovieClip();
bgmSound.stop();
gotoAndStop (124);
};
Frame 124
function plot3d(f, viewPoint, mc) {
var _local4;
if (mc.z < (-f)) {
mc._visible = false;
} else {
mc._visible = true;
var _local2 = f / (f + mc.z);
mc._xscale = (mc._yscale = _local2 * 100);
mc._x = (mc.x * _local2) + cx;
mc._y = ((mc.y + cy) * _local2) - (viewPoint * mc.z);
}
}
function setUmpeBlock() {
var _local3;
var _local4;
_local4 = Math.floor(gameStage / 10);
var _local2 = 0;
while (_local2 < umpeCount) {
_local3 = 80000 - (100 * umpePosList[_local2][2]);
umpeList[_local2] = this.attachMovie(GameConstant.UmpeIdx[_local4], "umpeBlock" + _local2, _local3);
umpeList[_local2].x = umpePosList[_local2][0];
umpeList[_local2].y = umpePosList[_local2][1] + cy;
umpeList[_local2].z = umpePosList[_local2][2];
plot3d(f, view, umpeList[_local2]);
_local2++;
}
pumpe = this.attachMovie(GameConstant.PUmpeIdx[_local4], "PUmpe", 999999);
pumpe._x = 0;
pumpe._y = 801;
}
function drawUmpe(i) {
plot3d(f, view, umpeList[i]);
}
function initEnemyIdxList() {
enemyIdxList = UtilKyr.getRandomList([0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5], 9);
}
function initEnemyList() {
var _local3;
var _local2 = 0;
while (_local2 < umpeCount) {
_local3 = 80000 - (100 * (umpePosList[_local2][2] + 10));
enemyList[_local2] = this.attachMovie("enemy_" + enemyIdxList[_local2], "enemy" + _local2, _local3);
enemyList[_local2].x = umpePosList[_local2][0];
enemyList[_local2].y = (umpePosList[_local2][1] + cy) + 5;
enemyList[_local2].z = umpePosList[_local2][2] + 10;
enemyList[_local2].onflag = false;
enemyList[_local2].fireTime = 0;
enemyList[_local2].alive = true;
enemyList[_local2].dir = 0;
_local2++;
}
}
function drawEnemy(i) {
plot3d(f, view, enemyList[i]);
}
function drawAllEnemy() {
var _local1 = 0;
while (_local1 < umpeCount) {
drawEnemy(_local1);
_local1++;
}
}
function moveEnemy(idx, speed) {
if (Math.abs(enemyList[idx].x - umpeList[idx].x) < enemyRange) {
if (enemyList[idx].dir > 0) {
enemyList[idx].x = enemyList[idx].x + speed;
} else {
enemyList[idx].x = enemyList[idx].x - speed;
}
drawEnemy(idx);
}
}
function selectMoveEnemy() {
var _local1 = [];
var _local2 = [];
if (gameState == GameConstant.GAME_PLAY) {
if (enemyOnFlag) {
_local1 = UtilKyr.getRandomList([0, 1, 2, 3, 4, 5, 6, 7, 8], 1);
if (!enemyList[_local1].onflag) {
_local2 = UtilKyr.getRandomList([-1, 1], 1);
enemyList[_local1].onflag = true;
enemyList[_local1].fireTime = getTimer();
enemyList[_local1].dir = _local2[0];
enemyOnList.push(_local1);
enemyOnCount++;
if (enemyOnCount >= enemyDelay[gameStage][1]) {
enemyOnFlag = false;
}
}
}
}
}
function deleteEnemy() {
var _local3;
var _local4;
var _local2 = 0;
while (_local2 < enemyList.length) {
if ((!enemyList[_local2].alive) & (enemyList[_local2]._currentframe == 20)) {
enemyList[_local2].removeMovieClip();
_local4 = UtilKyr.getRandomList([0, 1, 2, 3, 4, 5], 1);
enemyIdxList[_local2] = _local4[0];
_local3 = 80000 - (100 * (umpePosList[_local2][2] + 10));
enemyList[_local2] = this.attachMovie("enemy_" + enemyIdxList[_local2], "enemy" + _local2, _local3);
enemyList[_local2].x = umpePosList[_local2][0];
enemyList[_local2].y = umpePosList[_local2][1] + cy;
enemyList[_local2].z = umpePosList[_local2][2] + 10;
enemyList[_local2].onflag = false;
enemyList[_local2].fireTime = 0;
enemyList[_local2].alive = true;
enemyList[_local2].dir = 0;
plot3d(f, view, enemyList[_local2]);
enemyOnCount--;
if (enemyOnCount < enemyDelay[gameStage][1]) {
enemyOnFlag = true;
}
}
_local2++;
}
}
function makeBullet(idx) {
var _local3;
var _local4 = getTimer();
if ((_local4 - enemyList[enemyOnList[idx]].fireTime) > enemyDelay[idx][2]) {
_local3 = this["bullet_" + enemyIdxList[enemyOnList[idx]]].duplicateMovieClip("bullet" + bulletDepth, bulletDepth++);
_local3.x = enemyList[enemyOnList[idx]].x;
_local3.y = enemyList[enemyOnList[idx]].y;
_local3.z = enemyList[enemyOnList[idx]].z - 12;
plot3d(f, view, _local3);
playSnd(GameConstant.gunIdx[enemyIdxList[enemyOnList[idx]]]);
bulletList.push(_local3);
enemyList[enemyOnList[idx]].fireTime = getTimer();
enemyOffList.push(enemyOnList[idx]);
enemyOnList.splice(idx, 1);
enemyOnCount--;
if (enemyOnCount < enemyDelay[gameStage][1]) {
enemyOnFlag = true;
}
if (bulletDpeth > 8099) {
buletDepth = 8000;
}
}
}
function moveBullet(speed) {
var _local1 = 0;
while (_local1 < bulletList.length) {
bulletList[_local1].z = bulletList[_local1].z - speed;
if (bulletList[_local1].x > 100) {
bulletList[_local1].x = bulletList[_local1].x - ((bulletList[umpePostList[_local1][2]].x - 100) / ((f + bulletList[umpePostList[_local1][2]]) / speed));
} else if (bulletList[_local1].x < -100) {
bulletList[_local1].x = bulletList[_local1].x + ((100 - bulletList[umpePostList[_local1][2].x]) / ((f + bulletList[umpePostList[_local1][2]]) / speed));
}
if (bulletList[_local1].z < (-f)) {
bulletList[_local1].removeMovieClip();
bulletList.splice(_local1, 1);
if (pumpe._y > umpeHeight) {
gameHit++;
PFace_mc.gotoAndStop(GameConstant.PlayerIdx[GameConstant.Player] + "_HIT");
faceChange = setInterval(faceBack, 500);
if (gameHit <= 2) {
Life_mc.gotoAndStop(GameConstant.PlayerLife[gameHit]);
} else {
bgmSound.stop();
gameState = GameConstant.GAME_OVER;
}
}
} else {
plot3d(f, view, bulletList[_local1]);
}
_local1++;
}
}
function printStage() {
var _local4;
var _local3;
var _local2 = gameStage + 1;
Stage_mc = this.attachMovie("Stage", "Stage_name", 90001);
Stage_mc._x = 120;
Stage_mc._y = 108.5;
_local4 = Math.floor(_local2 / 10);
_local3 = _local2 % 10;
stageNum[0] = this[("n" + _local4) + "_mc"].duplicateMovieClip("num0", 90002);
stageNum[1] = this[("n" + _local3) + "_mc"].duplicateMovieClip("num1", 90003);
stageNum[0]._x = 202.5;
stageNum[0]._y = 108.5;
stageNum[1]._x = 230.5;
stageNum[1]._y = 108.5;
}
function initMap() {
var _local2;
if ((gameStage % 10) == 0) {
if (gameStage > 0) {
map_mc.removeMovieClip();
}
_local2 = Math.floor(gameStage / 10);
map_mc = this.attachMovie(GameConstant.MapIdx[_local2], "map", 1);
map_mc._x = map_x;
map_mc._y = map_y;
}
}
function stageClear() {
var _local1 = 0;
while (_local1 < umpeCount) {
enemyList[_local1].removeMovieClip();
umpeList[_local1].removeMovieClip();
_local1++;
}
}
function playSnd(pSnd) {
var _local1 = new Sound();
_local1.attachSound(pSnd);
_local1.start(0, 1);
}
function restartProcess() {
gameStage = 0;
totalScore = 0;
gameHit = 0;
var _local1 = 0;
while (_local1 < bulletList.length) {
bulletList[_local1].removeMovieClip();
_local1++;
}
Life_mc.gotoAndStop(GameConstant.PlayerLife[gameHit]);
gameState = GameConstant.GAME_READY;
enemyOnList = [];
bulletList = [];
}
function initRankingData() {
var tmpMC;
System.useCodepage = true;
rankObj = new LoadVars();
rankObj.onLoad = function () {
var _local2 = 1;
while (_local2 <= 10) {
if (this["score" + _local2] == undefined) {
this["score" + _local2] = "";
}
UIRanking_mc["score" + _local2] = this["score" + _local2];
if (this["name" + _local2] == undefined) {
this["name" + _local2] = "";
}
UIRanking_mc["name" + _local2] = this["name" + _local2];
if (this["character" + _local2] != undefined) {
tmpMC = UIRanking_mc.attachMovie("RFace" + this["character" + _local2], "UIFace" + _local2, 50 + _local2);
tmpMC._x = 33;
tmpMC._y = (30 * _local2) + 1;
}
_local2++;
}
};
rankObj.sendAndLoad("rankinglist.asp", rankObj, "POST");
}
function hideEnemy(speed) {
var _local4 = getTimer();
var _local2;
var _local1 = 0;
while (_local1 < enemyOffList.length) {
if ((_local4 - enemyList[enemyOffList[_local1]].fireTime) > enemyOffDelay) {
if (enemyList[enemyOffList[_local1]].dir > 0) {
enemyList[enemyOffList[_local1]].x = enemyList[enemyOffList[_local1]].x - speed;
drawEnemy(enemyOffList[_local1]);
if (enemyList[enemyOffList[_local1]].x < umpeList[enemyOffList[_local1]].x) {
enemyList[enemyOffList[_local1]].x = umpeList[enemyOffList[_local1]].x;
_local2 = enemyOffList[_local1];
enemyOffList.splice(_local1, 1);
enemyRegen(_local2);
}
} else {
enemyList[enemyOffList[_local1]].x = enemyList[enemyOffList[_local1]].x + speed;
drawEnemy(enemyOffList[_local1]);
if (enemyList[enemyOffList[_local1]].x > umpeList[enemyOffList[_local1]].x) {
enemyList[enemyOffList[_local1]].x = umpeList[enemyOffList[_local1]].x;
_local2 = enemyOffList[_local1];
enemyOffList.splice(_local1, 1);
enemyRegen(_local2);
}
}
}
_local1++;
}
}
function enemyRegen(i) {
enemyList[i].removeMovieClip();
tmp = UtilKyr.getRandomList([0, 1, 2, 3, 4, 5], 1);
enemyIdxList[i] = tmp[0];
tmpDepth = 80000 - (100 * (umpePosList[i][2] + 10));
enemyList[i] = this.attachMovie("enemy_" + enemyIdxList[i], "enemy" + i, tmpDepth);
enemyList[i].x = umpePosList[i][0];
enemyList[i].y = umpePosList[i][1] + cy;
enemyList[i].z = umpePosList[i][2] + 10;
enemyList[i].onflag = false;
enemyList[i].fireTime = 0;
enemyList[i].alive = true;
enemyList[i].dir = 0;
plot3d(f, view, enemyList[i]);
enemyOnCount--;
if (enemyOnCount < enemyDelay[gameStage][1]) {
enemyOnFlag = true;
}
}
function faceBack() {
clearInterval(faceChange);
PFace_mc.gotoAndStop(GameConstant.PlayerIdx[GameConstant.Player]);
}
this.stop();
var PLAY_BOARD_X = 300;
var map_mc;
var map_x = -100;
var map_y = 0;
var f = 200;
var view = 0;
var mainTimer;
var stageNum = [];
var Stage_mc;
var GameOver_mc;
var GameClear_mc;
var GameStartBtn_mc;
var enemyDepth = 1000;
var umpeDepth = 2000;
var bulletDepth = 8000;
var gameStage = 0;
var gameState;
var totalScore;
var cx = 150;
var cy = 150;
var pumpe;
var umpeHeight = 150;
var PHide;
var umpeList = [];
var umpePos1 = [[-125, 0, 90, 10], [125, 0, 101, 10], [0, 0, 152, 10], [-150, 0, 225, 15], [-100, 0, 326, 15], [170, 0, 227, 15], [-350, 0, 400, 20], [0, 0, 501, 20], [400, 0, 502, 20]];
var umpePos2 = [[-150, 0, 152, 10], [125, 0, 91, 10], [-50, 0, 90, 10], [-150, 0, 301, 15], [100, 0, 326, 15], [170, 0, 225, 15], [-350, 0, 502, 20], [0, 0, 501, 20], [300, 0, 400, 20]];
var umpePos3 = [[-150, 0, 152, 10], [125, 0, 91, 10], [-30, 0, 85, 10], [-150, 0, 301, 15], [80, 0, 326, 15], [150, 0, 215, 15], [-350, 0, 502, 20], [-100, 0, 501, 20], [350, 0, 500, 20]];
var umpePosList = [];
var umpeCount = 9;
var enemyRange = 50;
var enemyIdxList = [];
var enemyList = [];
var enemyOnCount = 0;
var enemyOnFlag;
var enemyOnList = [];
var enemyOffList = [];
var enemyOffDelay = 1000;
var enemyDelay = [[2000, 4, 2300], [2000, 4, 2300], [2000, 4, 2300], [2000, 4, 2000], [2000, 4, 2000], [1800, 5, 2000], [1800, 5, 2000], [1800, 5, 2000], [1800, 5, 1800], [1800, 5, 1800], [1500, 6, 1800], [1500, 6, 1800], [1500, 6, 1800], [1500, 6, 1500], [1500, 6, 1500], [1300, 7, 1500], [1300, 7, 1500], [1300, 7, 1500], [1300, 7, 1300], [1300, 7, 1300], [1000, 8, 1300], [1000, 8, 1300], [1000, 8, 1300], [1000, 8, 1000], [800, 8, 1000], [800, 9, 1000], [800, 9, 1000], [500, 9, 1000], [500, 9, 800], [500, 9, 800]];
var stageScoreIdx = [250, 500, 750, 1000, 1250, 1550, 1850, 2150, 2450, 2750, 3150, 3550, 3950, 4350, 4750, 5250, 5750, 6250, 6750, 7250, 7950, 8650, 9350, 10050, 10750, 11450, 12250, 13150, 14150, 9900000];
var bulletList = [];
var bulletSpeed = 8;
gameStage = 0;
gameState = GameConstant.GAME_READY;
gameHit = 0;
totalScore = 0;
PFace_mc.gotoAndStop(GameConstant.PlayerIdx[GameConstant.Player]);
var faceChange;
GameScore_mc.gameScore = totalScore;
Life_mc.gotoAndStop(GameConstant.PlayerLife[gameHit]);
PHide = this.attachMovie(GameConstant.PHideIdx[GameConstant.Player], "hiddenUser", 1000000);
PHide._x = cx + (cx / 2);
PHide._y = 800;
Mouse.hide();
var crosshair_mc = this.attachMovie("crosshair_mc", "crosshair_mc", 1000020);
Mouse.addListener(crosshair_mc);
crosshair_mc.onMouseMove = function () {
crosshair_mc._x = _xmouse;
crosshair_mc._y = _ymouse;
updateAfterEvent();
};
crosshair_mc.onMouseDown = function () {
playSnd(GameConstant.gunIdx[GameConstant.Player]);
if (gameState == GameConstant.GAME_PLAY) {
var _local2 = 0;
while (_local2 < enemyOnList.length) {
if (enemyList[enemyOnList[_local2]].hitTest(_xmouse, _ymouse, this, 1)) {
if (GameConstant.Player == enemyIdxList[enemyOnList[_local2]]) {
gameHit++;
if (gameHit <= 2) {
Life_mc.gotoAndStop(GameConstant.PlayerLife[gameHit]);
PFace_mc.gotoAndStop(GameConstant.PlayerIdx[GameConstant.Player] + "_HIT");
faceChange = setInterval(faceBack, 500);
} else {
bgmSound.stop();
gameState = GameConstant.GAME_OVER;
}
} else {
totalScore = totalScore + umpePosList[enemyOnList[_local2]][3];
GameScore_mc.gameScore = totalScore;
}
enemyList[enemyOnList[_local2]].gotoAndPlay("DEAD");
enemyList[enemyOnList[_local2]].alive = false;
enemyOnList.splice(_local2, 1);
enemyOnCount--;
if (enemyOnCount < enemyDelay[gameStage][1]) {
enemyOnFlag = true;
}
}
_local2++;
}
}
updateAfterEvent();
if (totalScore > stageScoreIdx[gameStage]) {
var _local2 = 0;
while (_local2 < bulletList.length) {
bulletList[_local2].removeMovieClip();
_local2++;
}
if (gameStage < 29) {
gameStage++;
clearInterval(mainTimer);
enemyOnList = [];
bulletList = [];
bgmSound.stop();
gameState = GameConstant.GAME_READY;
} else {
clearInterval(mainTimer);
enemyOnList = [];
bulletList = [];
bgmSound.stop();
gameState = GameConstant.GAME_CLEAR;
}
}
};
var umpeHit;
this.attachMovie("gameStart_btn", "gameStart_btn", 90005);
gameStart_btn._x = 150;
gameStart_btn._y = 197;
gameStart_btn.onPress = function () {
var _local2 = [];
Stage_mc.removeMovieClip();
gameStart_btn._visible = false;
stageNum[0].removeMovieClip();
stageNum[1].removeMovieClip();
enemyOnFlag = true;
enemyOnCount = 0;
initMap();
_local2 = UtilKyr.getRandomList([1, 2, 3], 1);
umpePosList = _root["umpePos" + _local2[0]];
setUmpeBlock();
initEnemyIdxList();
initEnemyList();
drawAllEnemy();
mainTimer = setInterval(selectMoveEnemy, enemyDelay[gameStage][0]);
enemyOnList = [];
bulletList = [];
gameState = GameConstant.GAME_PLAY;
bgmSound.start(0, 100);
};
var Ranking_mc;
Ranking_mc = this.attachMovie("ranking_mc", "ranking_mc", 1000010);
Ranking_mc._x = 150;
Ranking_mc._y = 1000;
Ranking_mc._width = 230;
Ranking_mc._height = 175;
Ranking_mc.register_btn.onPress = function () {
var result;
System.useCodepage = true;
ranking = new LoadVars();
ranking.name = Ranking_mc.name;
ranking.email = Ranking_mc.email;
ranking.score = totalScore;
ranking.character = GameConstant.Player;
ranking.time = getTimer();
ranking.onLoad = function () {
result = this.Result;
if ((result = 1)) {
Ranking_mc.gotoAndStop("REG_OK");
initRankingData();
} else if ((result = 0)) {
Ranking_mc.gotoAndStop("REG_FAIL");
}
};
ranking.sendAndLoad("writeranking.asp", ranking, "POST");
};
Ranking_mc.restart_btn.onPress = function () {
Ranking_mc.gotoAndStop("INPUT");
Ranking_mc._y = 1000;
restartProcess();
};
Key.addListener(this);
this.onKeyDown = function () {
if (!(Key.getCode() === 32)) {
} else {
crosshair_mc._visible = false;
pumpe._y = umpeHeight;
PHide._y = 300;
}
updateAfterEvent();
};
this.onKeyUp = function () {
if (!(Key.getCode() === 32)) {
} else {
pumpe._y = 801;
PHide._y = 801;
crosshair_mc._visible = true;
}
};
var bgmSound;
bgmSound = new Sound();
bgmSound.attachSound("bgm1");
initRankingData();
this.onEnterFrame = function () {
switch (gameState) {
case GameConstant.GAME_READY :
if (gameStage == 0) {
totalScore = 0;
GameScore_mc.gameScore = totalScore;
}
stageClear();
printStage();
gameHit = 0;
Life_mc.gotoAndStop(GameConstant.PlayerLife[gameHit]);
gameStart_btn._visible = true;
break;
case GameConstant.GAME_PLAY :
var _local2 = 0;
while (_local2 < enemyOnList.length) {
moveEnemy(enemyOnList[_local2], 7);
makeBullet(_local2);
_local2++;
}
deleteEnemy();
hideEnemy(7);
moveBullet(bulletSpeed);
break;
case GameConstant.GAME_OVER :
clearInterval(mainTimer);
clearInterval(faceChange);
PFace_mc.gotoAndStop(GameConstant.PlayerIdx[GameConstant.Player]);
Life_mc.gotoAndStop("H0");
GameOver_mc = this.attachMovie("GameOver", "GameOver_str", 90003);
GameOver_mc._x = cx;
GameOver_mc._y = 75;
Ranking_mc.score = "Highest score " + totalScore;
Ranking_mc._y = 200;
break;
case GameConstant.GAME_CLEAR :
GameClear_mc = this.attachMovie("GameClear_mc", "GameClear_str", 90003);
GameClear_mc._x = cx;
GameClear_mc._y = 75;
Ranking_mc.score = "Highest score " + totalScore;
Ranking_mc._y = 200;
}
};
Symbol 13 MovieClip [enemy_5] Frame 1
stop();
Symbol 13 MovieClip [enemy_5] Frame 20
stop();
Symbol 17 MovieClip [enemy_3] Frame 1
stop();
Symbol 17 MovieClip [enemy_3] Frame 20
stop();
Symbol 21 MovieClip [enemy_1] Frame 1
stop();
Symbol 21 MovieClip [enemy_1] Frame 20
stop();
Symbol 25 MovieClip [enemy_2] Frame 1
stop();
Symbol 25 MovieClip [enemy_2] Frame 20
stop();
Symbol 29 MovieClip [enemy_0] Frame 1
stop();
Symbol 29 MovieClip [enemy_0] Frame 20
stop();
Symbol 32 MovieClip [enemy_4] Frame 1
stop();
Symbol 32 MovieClip [enemy_4] Frame 20
stop();
Symbol 102 MovieClip [ranking_mc] Frame 1
register_btn._visible = true;
Symbol 102 MovieClip [ranking_mc] Frame 10
stop();
Symbol 102 MovieClip [ranking_mc] Frame 11
register_btn._visible = false;
Symbol 102 MovieClip [ranking_mc] Frame 20
stop();
Symbol 102 MovieClip [ranking_mc] Frame 21
register_btn._visible = false;
Symbol 102 MovieClip [ranking_mc] Frame 30
stop();
retry_btn.onPress = funtion();
ranking_mc.gotoAndStop("INPUT");
Symbol 122 MovieClip [pface_mc] Frame 10
stop();
Symbol 122 MovieClip [pface_mc] Frame 20
stop();
gotoAndStop ("TEO");
Symbol 122 MovieClip [pface_mc] Frame 30
stop();
Symbol 122 MovieClip [pface_mc] Frame 40
stop();
gotoAndStop ("RING");
Symbol 122 MovieClip [pface_mc] Frame 50
stop();
Symbol 122 MovieClip [pface_mc] Frame 60
stop();
gotoAndStop ("BROTHER");
Symbol 122 MovieClip [pface_mc] Frame 70
stop();
Symbol 122 MovieClip [pface_mc] Frame 80
stop();
gotoAndStop ("PUREN");
Symbol 122 MovieClip [pface_mc] Frame 90
stop();
Symbol 122 MovieClip [pface_mc] Frame 100
stop();
gotoAndStop ("PROBE");
Symbol 122 MovieClip [pface_mc] Frame 110
stop();
Symbol 122 MovieClip [pface_mc] Frame 120
gotoAndStop ("DOCTOR");
Symbol 257 MovieClip [__Packages.GameConstant] Frame 0
class GameConstant
{
function GameConstant () {
}
static var GAME_READY = 0;
static var GAME_INIT = 1;
static var GAME_PLAY = 2;
static var GAME_OVER = 3;
static var GAME_CLEAR = 4;
static var PlayerIdx = ["TEO", "RING", "BROTHER", "PUREN", "PROBE", "DOCTOR"];
static var PlayerLife = ["H3", "H2", "H1", "H0"];
static var MapIdx = ["mapGarden_mc", "mapDiorama_mc", "mapCastle_mc"];
static var UmpeIdx = ["umpeGarden", "umpeDiorama", "umpeCastle"];
static var PUmpeIdx = ["PUmpeGarden", "PUmpeDiorama", "PUmpeCastle"];
static var PHideIdx = ["HideTeo", "HideRing", "HideBrother", "HidePuren", "HideProbe", "HideDoctor"];
static var umpeShieldIdx = ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10"];
static var gunIdx = ["GUN_TEORING", "GUN_TEORING", "GUN_BROTHER", "GUN_PUREN", "GUN_PROBEDOCTOR", "GUN_PROBEDOCTOR"];
}
Symbol 258 MovieClip [__Packages.UtilKyr] Frame 0
class UtilKyr
{
function UtilKyr () {
}
static function getRandomList(listArray, len) {
var _local5 = [];
var _local2 = 0;
while (_local2 < len) {
var _local1 = random(listArray.length);
var _local4 = listArray[_local1];
_local5.push(_local4);
listArray.splice(_local1, 1);
_local2++;
}
return(_local5);
}
static function randRange(minNum, maxNum) {
return(Math.floor(Math.random() * ((maxNum - minNum) + 1)) + minNum);
}
}
Symbol 222 MovieClip Frame 10
stop();
Symbol 222 MovieClip Frame 20
stop();
Symbol 222 MovieClip Frame 30
stop();
Symbol 222 MovieClip Frame 40
stop();