Frame 1
function awCLASS(class, num) {
var str = null;
var cl;
if (num > 0) {
str = new Array();
cl = 0;
while (cl < num) {
str[cl] = new class();
cl++;
}
} else {
str = new class();
}
return(str);
}
function awRand(int_MaxNum) {
var rnd = Math.floor(Math.random() * int_MaxNum);
if (rnd >= int_MaxNum) {
rnd = int_MaxNum - 1;
}
return(rnd);
}
function awCheckVersion(VOID) {
var dmy;
var ver = getVersion();
if (ver == null) {
return(4);
}
dmy = ver.split(" ");
_root.AW_OS = dmy[0];
var v = dmy[1];
dmy = v.split(",");
_root.AW_VER = Number(dmy[0]);
_root.AW_MESSAGE = (("YOUR MACHINE [" + AW_OS) + "] / FLASH VERSION ") + AW_VER;
return(_root.AW_VER);
}
function awLineCrossTest(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2) {
ra1 = (ay1 + (((ay2 - ay1) / (ax2 - ax1)) * (bx1 - ax1))) - by1;
ra2 = (ay1 + (((ay2 - ay1) / (ax2 - ax1)) * (bx2 - ax1))) - by2;
rb1 = (by1 + (((by2 - by1) / (bx2 - bx1)) * (ax1 - bx1))) - ay1;
rb2 = (by1 + (((by2 - by1) / (bx2 - bx1)) * (ax2 - bx1))) - ay2;
if ((0 >= (ra1 * ra2)) && (0 >= (rb1 * rb2))) {
return(true);
}
return(false);
}
function awRotateZ(vx, vy, rot) {
var rr = ((rot * Math.PI) / 180);
_root.AW_GETROTATEZ_X = (Math.cos(rr) * vx) + (Math.sin(rr) * vy);
_root.AW_GETROTATEZ_Y = ((-Math.sin(rr)) * vx) + (Math.cos(rr) * vy);
}
function awGetRotateX(VOID) {
return(_root.AW_GETROTATEZ_X);
}
function awGetRotateY(VOID) {
return(_root.AW_GETROTATEZ_Y);
}
function _SndBuffer() {
var bFlag;
var mSBuf;
var mName;
}
function awSndInit(VOID) {
var i;
if (_root.bSnd) {
return(false);
}
i = 0;
while (i < MAXSOUNDBUFFER) {
_root.mSnd[i].bFlag = false;
_root.mSnd[i].mSBuf = new Sound();
_root.mSnd[i].mName = "";
i++;
}
_root.bSnd = true;
return(true);
}
function awSndAdd(id, name) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (_root.MAXSOUNDBUFFER - 1))) {
return(false);
}
if (_root.mSnd[id].bFlag) {
return(false);
}
_root.mSnd[id].mName = name;
_root.mSnd[id].mSBuf.attachSound(name);
_root.mSnd[id].bFlag = true;
return(true);
}
function awSndPlay(id, loop) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (MAXSOUNDBUFFER - 1))) {
return(false);
}
if (!_root.mSnd[id].bFlag) {
return(false);
}
if (loop) {
_root.mSnd[id].mSBuf.start(0, loop);
} else {
_root.mSnd[id].mSBuf.start();
}
}
function awSndStop(id) {
if (!_root.bSnd) {
return(false);
}
if ((id < 0) || (id > (MAXSOUNDBUFFER - 1))) {
return(false);
}
if (!_root.mSnd[id].bFlag) {
return(false);
}
_root.mSnd[id].mSBuf.stop(_root.mSnd[id].mName);
}
function awSndStopAll(VOID) {
var i;
if (!bSnd) {
return(undefined);
}
i = 0;
while (i < _root.MAXSOUNDBUFFER) {
if (_root.mSnd[i].bFlag) {
_root.mSnd[i].mSBuf.stop(_root.mSnd[i].mName);
}
i++;
}
}
function awImgInit(body) {
var i;
if (_root.D_INIT) {
awImgFlash();
return(true);
}
i = 0;
while (i < D_MAXOBJECT) {
_root.D_USED[i] = false;
i++;
}
if (body != null) {
D_BODY = body;
}
_root.D_INIT = true;
return(true);
}
function awImgFlash() {
var i;
i = 0;
while (i < _root.D_MAXOBJECT) {
if (_root.D_USED[i]) {
var obj = eval ((D_BODY + ".D") + i);
removeMovieClip(obj);
obj._x = 50;
_root.D_USED[i] = false;
}
i++;
}
return(true);
}
function awImgAdd(id, image) {
if ((id < 0) && (id > (_root.D_MAXOBJECT - 1))) {
return(false);
}
if (_root.D_USED[id]) {
return(false);
}
D_BODY.attachMovie(image, "D" + id, id);
var obj = eval ((D_BODY + ".D") + id);
if (!obj) {
return(false);
}
obj._visible = false;
_root.D_USED[id] = true;
return(true);
}
function awImgAddURL(id, url) {
if ((id < 0) && (id > (_root.D_MAXOBJECT - 1))) {
return(false);
}
if (_root.D_USED[id]) {
return(false);
}
D_BODY.createEmptyMovieClip("D" + id, id);
loadMovie (url, eval ((D_BODY + ".D") + id));
var obj = eval ((D_BODY + ".D") + id);
obj._visible = false;
_root.D_USED[id] = true;
return(true);
}
function awImgClear() {
var i;
i = 0;
while (i < _root.D_MAXOBJECT) {
if (_root.D_USED[i]) {
var obj = eval ((D_BODY + ".D") + i);
obj._visible = false;
}
i++;
}
return(true);
}
function awImgPut(id, x, y) {
if (!_root.D_USED[id]) {
return(false);
}
var obj = eval ((D_BODY + ".D") + id);
obj._visible = true;
obj._x = x;
obj._y = y;
}
function awImgDrawEnd() {
return(true);
}
function awImgGet(id) {
if (!_root.D_USED[id]) {
return(null);
}
return(eval ((D_BODY + ".D") + id));
}
function awImgGetPercent(id) {
if (!_root.D_USED[id]) {
return(null);
}
var m = eval ((D_BODY + ".D") + id);
if (m.getBytesTotal() < 1) {
return(0);
}
return(Math.floor((m.getBytesLoaded() / m.getBytesTotal()) * 100));
}
function awStrLen(str) {
var s = new String(str);
return(s.length);
}
function awStrMid(str, start, n) {
var s = new String(str);
return(s.slice(start - 1, (start + n) - 1));
}
function awStrLeft(str, n) {
var s = new String(str);
return(s.slice(0, n));
}
function awStrRight(str, n) {
var s = new String(str);
return(s.slice(s.length - n, s.length));
}
function awStrToNum(str) {
return(Number(str));
}
function SCREEN() {
var bflag;
var iCount;
var iMovie;
}
function MOVIE() {
var bBad;
}
function InitScreen() {
var i;
i = 0;
while (i < 9) {
if (_root.awRand(10) > 2) {
_root.mScr[i].bFlag = true;
if (_root.awRand(10) < 4) {
_root.mScr[i].iMovie = 1;
} else {
_root.mScr[i].iMovie = _root.awRand(7) + 1;
}
} else {
_root.mScr[i].bFlag = false;
_root.mScr[i].iMovie = 0;
}
_root.mScr[i].iCount = _root.awRand(40) + 20;
i++;
}
}
function InitMovie() {
var i;
var j;
i = 0;
while (i < 8) {
_root.mMov[i].bBad = false;
i++;
}
_root.mMov[1].bBad = true;
j = 0;
while (j < 9) {
i = 0;
while (i < 8) {
_root.awImgAdd((j * 8) + i, "M_MOV" + i);
i++;
}
j++;
}
_root.awImgAdd(_root.IMGID_HIME, "M_HIME");
_root.awImgAdd(_root.IMGID_MASTER, "M_MASTER");
_root.awImgAdd(_root.IMGID_END, "M_ENDANIME");
_root.awImgAdd(_root.IMGID_FADE, "M_FADE");
_root.awImgAdd(_root.IMGID_ENDBACK1, "M_ENDBACKANIME1");
_root.awImgAdd(_root.IMGID_ENDBACK2, "M_ENDBACKANIME2");
_root.awImgAdd(_root.IMGID_SCORE, "M_SCORE");
_root.awImgAdd(_root.IMGID_RESULTSOCRE, "M_RESULTSCORE");
_root.awImgAdd(_root.IMGID_WIN, "M_WIN");
_root.awImgAdd(_root.IMGID_LOSE, "M_LOSE");
_root.awImgAdd(_root.IMGID_SCORE2, "M_SCORE2");
_root.awImgAdd(_root.IMGID_RESULT, "M_RESULT");
_root.awImgAdd(_root.IMGID_CONTINUE, "M_CONTINUE");
_root.awImgAdd(_root.IMGID_DOWNLOAD, "M_DOWNLOADANIME");
}
function PutOnTV(index) {
_root.mScr[index].bFlag = true;
switch (_root.iMasterLevel) {
case 0 :
if (_root.awRand(10) < 3) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
break;
case 1 :
if (_root.awRand(10) < 5) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
break;
case 2 :
if (_root.awRand(10) < 7) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
}
return(true);
}
function ChangeChannel(index) {
switch (_root.iMasterLevel) {
case 0 :
if (_root.awRand(10) < 3) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
break;
case 1 :
if (_root.awRand(10) < 5) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
break;
case 2 :
if (_root.awRand(10) < 7) {
_root.mScr[index].iMovie = 1;
} else {
_root.mScr[index].iMovie = _root.awRand(7) + 1;
}
}
return(true);
}
_root.NULL = 0;
_root.UP = 1;
_root.RIGHT = 2;
_root.DOWN = 3;
_root.LEFT = 4;
_root.A = 10;
_root.B = 11;
_root.C = 12;
_root.D = 13;
_root.E = 14;
_root.F = 15;
AW_OS = "";
AW_VER = 4;
AW_MESSAGE = "YOUR MACHINE [ UNKNOW ] / FLASH VERSION 4";
AW_GETROTATEZ_X = 0;
AW_GETROTATEZ_Y = 0;
awCheckVersion(0);
_root.awSndStopAll();
MAXSOUNDBUFFER = 64;
bSnd = false;
mSnd = awCLASS(_SndBuffer, MAXSOUNDBUFFER);
if (!_root.D_INIT) {
_root.D_MAXOBJECT = 1024;
_root.D_BODY = _root;
_root.D_USED = new Array();
_root.D_INIT = false;
}
var mPutX = [33, 136, 239, 33, 136, 239, 33, 136, 239];
var mPutY = [64, 64, 64, 132, 132, 132, 207, 207, 207];
var mHimeX = [110, 212];
var mHimeY = [290, 290];
var IMGID_HIME = 101;
var IMGID_MASTER = 100;
var IMGID_END = 200;
var IMGID_FADE = 201;
var IMGID_ENDBACK1 = 202;
var IMGID_ENDBACK2 = 203;
var IMGID_SCORE = 204;
var IMGID_RESULTSOCRE = 205;
var IMGID_WIN = 300;
var IMGID_LOSE = 301;
var IMGID_SCORE2 = 302;
var IMGID_RESULT = 303;
var IMGID_DOWNLOAD = 304;
var IMGID_CONTINUE = 305;
var WINLOSE_JADGE = 54;
var DOWNLOADURL = "dl.htm";
var mScr = _root.awCLASS(SCREEN, 9);
var mMov = _root.awCLASS(MOVIE, 8);
var bHime = 0;
var iHimeJumpCount = 0;
var iTimer = 90;
var iMasterLevel = 0;
var iAttack = 0;
var iMiss = 0;
var iScore = 0;
var iCombo = 0;
var iWaza = 0;
var bWaza = false;
var bWazaBusy = false;
var bWazaTeach = false;
var bDownload = false;
var iScoreScroll = 0;
_root.awImgInit();
_root.awSndInit();
_root.InitMovie();
_root.awSndAdd(0, "S_BGM");
_root.awSndAdd(1, "S_CLICK");
_root.awSndAdd(2, "S_OK");
_root.awSndAdd(3, "S_ERROR");
_root.awSndAdd(4, "S_REMOTE");
_root.awSndAdd(5, "S_CLEAR");
_root.awSndAdd(6, "S_GAMEOVER");
_root.awSndAdd(7, "S_SWITCH");
_root.awSndAdd(8, "S_TITLE");
_root.awSndAdd(9, "S_FINISH");
_root.awSndAdd(10, "S_SUPER");
play();
Instance of Symbol 167 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.PERCENT = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.DATASIZE = (_root.getBytesLoaded() + "\uFF0F") + _root.getBytesTotal();
_root.M_PERCENT_MATER._width = _root.PERCENT * 1.28;
}
Frame 4
if (_framesloaded < _totalframes) {
_root.gotoAndPlay(2);
} else if (_root.AW_VER < 6) {
_root.gotoAndPlay(5);
} else {
_root.gotoAndPlay("START");
}
Frame 5
getURL ("flashget.htm", "_self");
Frame 8
stop();
Frame 9
gotoAndPlay (8);
Frame 10
_root.InitScreen();
_root.awImgClear();
_root.awSndStopAll();
_root.gotoAndStop("TITLE");
Frame 15
stop();
Frame 19
_root.gotoAndStop("TITLE");
Frame 24
gotoAndStop (20);
Frame 25
_root.InitScreen();
i = 0;
while (i < 9) {
var m;
if (_root.mScr[i].bflag) {
m = _root.awImgGet((i * 8) + _root.mScr[i].iMovie);
m._x = _root.mPutX[i];
m._y = _root.mPutY[i];
m._visible = true;
m.gotoAndPlay(1);
} else {
m = _root.awImgGet(i * 8);
m._x = _root.mPutX[i];
m._y = _root.mPutY[i];
m._visible = true;
m.gotoAndPlay("START");
}
i++;
}
_root.bHime = 0;
_root.iHimeJumpCount = -1;
_root.awImgPut(_root.IMGID_HIME, _root.mHimeX[_root.bHime], _root.mHimeY[_root.bHime]);
_root.awImgPut(_root.IMGID_MASTER, 400, 300);
_root.awImgGet(_root.IMGID_MASTER).gotoAndStop("NORMAL");
_root.awImgPut(_root.IMGID_SCORE, 10, 270);
_root.iTimer = 600;
_root.iAttack = 0;
_root.iMiss = 0;
_root.iScore = 0;
_root.iCombo = 0;
_root.iMasterLevel = 0;
_root.iScoreScroll = 0;
_root.bWaza = false;
_root.iWaza = 0;
_root.bWazaBusy = false;
_root.SEC = Math.floor(_root.iTimer / 20);
_root.ATTACK = _root.iAttack;
_root.awImgGet(_root.IMGID_SCORE).SCORE = _root.iScore;
_root.awSndPlay(0, 999);
_root.gotoAndStop("MAIN");
Instance of Symbol 247 MovieClip in Frame 30
onClipEvent (enterFrame) {
var i;
if (_root.bWazaBusy) {
if (_root.iWaza >= 34) {
var n = (_root.iWaza - 34);
var scr = [4, 7, 6, 3, 0, 1, 2, 5, 8];
var hflag = [1, 1, 0, 0, 0, 0, 1, 1, 1];
var hime = _root.awImgGet(_root.IMGID_HIME);
if ((n % 2) == 0) {
n = n / 2;
_root.mScr[scr[n]].bflag = false;
var scrm = (_root.mScr[scr[n]].iMovie + (scr[n] * 8));
_root.awImgGet(scrm)._visible = false;
var off = _root.awImgGet(scr[n] * 8);
off._visible = true;
off.gotoAndPlay("START");
off._x = _root.mPutX[scr[n]];
off._y = _root.mPutY[scr[n]];
_root.mScr[scr[n]].iCount = 20 + _root.awRand(30);
if (_root.mMov[_root.mScr[scr[n]].iMovie].bBad) {
_root.iCombo++;
_root.iScore = _root.iScore + Math.floor(_root.iCombo * _root.mScr[scr[n]].iCount);
_root.awImgGet(_root.IMGID_SCORE).SCORE = _root.iScore;
_root.iAttack++;
_root.ATTACK = _root.iAttack;
switch (_root.iAttack) {
case 15 :
_root.iMasterLevel = 1;
break;
case 20 :
_root.awImgGet(_root.IMGID_MASTER).gotoAndStop("TIRED");
break;
case 32 :
_root.iMasterLevel = 2;
break;
case 55 :
_root.awImgGet(_root.IMGID_MASTER).gotoAndStop("DOWN");
}
} else {
_root.iMiss++;
}
_root.awSndPlay(2);
if ((scr[n] != 4) && (scr[n] != 7)) {
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime];
_root.bHime = hflag[n];
}
switch (scr[n]) {
case 0 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME4.gotoAndPlay("START");
break;
case 1 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME5.gotoAndPlay("START");
break;
case 2 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME5.gotoAndPlay("START");
break;
case 3 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME3.gotoAndPlay("START");
break;
case 4 :
if (_root.bHime == 0) {
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME6.gotoAndPlay("START");
} else {
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME3.gotoAndPlay("START");
}
break;
case 5 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME6.gotoAndPlay("START");
break;
case 6 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME2.gotoAndPlay("START");
break;
case 7 :
if (_root.bHime == 0) {
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME7.gotoAndPlay("START");
} else {
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME2.gotoAndPlay("START");
}
break;
case 8 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME7.gotoAndPlay("START");
}
}
}
_root.iWaza++;
if (_root.iWaza > 51) {
_root.bWaza = true;
_root.bWazaBusy = false;
}
} else {
if (!_root.bWaza) {
if (_root.iWaza > 0) {
_root.iWaza++;
if (_root.iWaza > 29) {
_root.bWazaBusy = true;
_root.bWazaTeach = true;
_root.awSndPlay(10);
}
}
}
i = 0;
while (i < 9) {
_root.mScr[i].iCount--;
if (_root.mScr[i].iCount < 1) {
_root.mScr[i].iCount = _root.awRand(40) + 20;
var scr = _root.awImgGet(_root.mScr[i].iMovie + (i * 8));
scr._x = _root.mPutX[i];
scr._y = _root.mPutY[i];
scr._visible = false;
if (_root.mScr[i].bflag) {
_root.ChangeChannel(i);
} else {
_root.PutOnTV(i);
}
_root.awSndPlay(4);
var scr = _root.awImgGet(_root.mScr[i].iMovie + (i * 8));
scr._x = _root.mPutX[i];
scr._y = _root.mPutY[i];
scr._visible = true;
}
i++;
}
}
if (_root.iHimeJumpCount >= 0) {
_root.iHimeJumpCount--;
if (_root.iHimeJumpCount == 0) {
hime._y = _root.mHimeY[_root.bHime];
}
}
_root.iTimer--;
_root.SEC = Math.floor(_root.iTimer / 20);
if (_root.SEC < 10) {
_root.SEC = "0" + _root.SEC;
}
if (_root.iTimer < 1) {
_root.awImgPut(_root.IMGID_END, 200, 150);
_root.awImgGet(_root.IMGID_END).gotoAndPlay("START");
_root.awSndStop(0);
_root.awSndPlay(9);
_root.gotoAndStop("GAMEEND");
}
}
onClipEvent (mouseUp) {
if (_root.bWazaBusy) {
return(undefined);
}
_root.iWaza = 0;
}
onClipEvent (mouseDown) {
var x = _root._xmouse;
var y = _root._ymouse;
if (_root.bWazaBusy) {
return(undefined);
}
_root.iWaza = 1;
if ((((x < 33) || (x > 293)) || (y < 64)) || (y > 246)) {
return(undefined);
}
var index;
var xx = Math.floor((x - 33) / 103);
var yy = Math.floor((y - 64) / 71);
index = xx + (yy * 3);
if (((((xx * 103) + 55) + 33) >= x) && ((((yy * 71) + 41) + 64) >= y)) {
if (_root.mScr[index].bflag) {
_root.mScr[index].bflag = false;
var scr = (_root.mScr[index].iMovie + (index * 8));
_root.awImgGet(scr)._visible = false;
var off = _root.awImgGet(index * 8);
off._visible = true;
off.gotoAndPlay("START");
off._x = _root.mPutX[index];
off._y = _root.mPutY[index];
if (_root.mMov[_root.mScr[index].iMovie].bBad) {
_root.awSndPlay(2);
_root.iCombo++;
_root.iScore = _root.iScore + Math.floor(_root.iCombo * _root.mScr[index].iCount);
_root.awImgGet(_root.IMGID_SCORE).SCORE = _root.iScore;
_root.iAttack++;
_root.ATTACK = _root.iAttack;
switch (_root.iAttack) {
case 15 :
_root.iMasterLevel = 1;
break;
case 20 :
_root.awImgGet(_root.IMGID_MASTER).gotoAndStop("TIRED");
break;
case 35 :
_root.iMasterLevel = 2;
break;
case 65 :
_root.awImgGet(_root.IMGID_MASTER).gotoAndStop("DOWN");
}
} else {
_root.awSndPlay(3);
_root.iCombo = 0;
_root.iMiss++;
}
_root.mScr[index].iCount = 20;
_root.iHimeJumpCount = 3;
var hime = _root.awImgGet(_root.IMGID_HIME);
if (_root.bHime == 0) {
switch (index) {
case 0 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME4.gotoAndPlay("START");
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 3 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME3.gotoAndPlay("START");
break;
case 6 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME2.gotoAndPlay("START");
break;
case 1 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME5.gotoAndPlay("START");
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 4 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME6.gotoAndPlay("START");
break;
case 7 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME7.gotoAndPlay("START");
break;
case 2 :
_root.bHime = 1;
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME5.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 5 :
_root.bHime = 1;
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME6.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime];
break;
case 8 :
_root.bHime = 1;
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME7.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime];
}
} else {
switch (index) {
case 0 :
_root.bHime = 0;
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME4.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 3 :
_root.bHime = 0;
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME3.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime];
break;
case 6 :
_root.bHime = 0;
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME2.gotoAndPlay("START");
hime._x = _root.mHimeX[_root.bHime];
hime._y = _root.mHimeY[_root.bHime];
break;
case 1 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME4.gotoAndPlay("START");
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 4 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME3.gotoAndPlay("START");
break;
case 7 :
hime.M_ARM.M_ARMANIME1.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME2.gotoAndPlay("START");
break;
case 2 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME5.gotoAndPlay("START");
hime._y = _root.mHimeY[_root.bHime] - 4;
break;
case 5 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME6.gotoAndPlay("START");
break;
case 8 :
hime.M_ARM.M_ARMANIME8.gotoAndPlay("START");
hime.M_ARM.M_ARMANIME7.gotoAndPlay("START");
}
}
}
}
}
Frame 34
gotoAndStop (30);
Frame 35
stop();
Frame 39
gotoAndStop (35);
Frame 40
stop();
Instance of Symbol 250 MovieClip in Frame 40
onClipEvent (enterFrame) {
_root.iScoreScroll = _root.iScoreScroll + 2;
_root.awImgGet(_root.IMGID_SCORE)._x = _root.awImgGet(_root.IMGID_SCORE)._x + _root.iScoreScroll;
if (_root.awImgGet(_root.IMGID_SCORE)._x > 450) {
_root.awImgPut(_root.IMGID_RESULTSOCRE, 0, 269);
_root.awImgGet(_root.IMGID_RESULTSOCRE).ATT = _root.iAttack;
_root.awImgGet(_root.IMGID_RESULTSOCRE).ERROR = _root.iMiss;
if (_root.iAttack > _root.WINLOSE_JADGE) {
_root.awImgPut(_root.IMGID_WIN, 200, 39);
_root.awImgGet(_root.IMGID_WIN).gotoAndPlay(2);
} else {
_root.awImgPut(_root.IMGID_LOSE, 242, 232);
_root.awImgGet(_root.IMGID_LOSE).gotoAndPlay(2);
}
_root.awImgGet(_root.IMGID_SCORE2).SCORE = _root.iScore;
if (_root.iAttack < 50) {
if (_root.iMiss > 8) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(7);
} else if (_root.iMiss > 4) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(6);
} else {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(1);
}
} else if (_root.iAttack < 55) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(2);
} else if (_root.iAttack < 65) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(3);
} else if (_root.iAttack < 72) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(4);
} else if (!_root.bWazaTeach) {
_root.bWazaTeach = true;
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(9);
} else if (_root.iScore < 60000) {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(8);
} else {
_root.awImgGet(_root.IMGID_RESULT).gotoAndStop(5);
}
if ((!_root.bDownload) && (_root.iAttack > 64)) {
_root.bDownload = true;
_root.awImgPut(_root.IMGID_DOWNLOAD, 0, 0);
_root.awImgGet(_root.IMGID_DOWNLOAD).gotoAndPlay(2);
}
_root.gotoAndStop("RESULT");
}
}
Frame 44
gotoAndStop (40);
Frame 45
stop();
Frame 49
gotoAndStop (45);
Symbol 37 MovieClip Frame 13
stop();
Symbol 41 MovieClip Frame 13
stop();
Symbol 45 MovieClip Frame 13
stop();
Symbol 49 MovieClip Frame 13
stop();
Symbol 53 MovieClip Frame 13
stop();
Symbol 57 MovieClip Frame 13
stop();
Symbol 61 MovieClip Frame 13
stop();
Symbol 65 MovieClip Frame 13
stop();
Symbol 73 MovieClip Frame 5
stop();
Symbol 80 MovieClip [M_MOV0] Frame 1
play();
Symbol 80 MovieClip [M_MOV0] Frame 7
stop();
Symbol 87 MovieClip [M_MASTER] Frame 1
stop();
Symbol 87 MovieClip [M_MASTER] Frame 2
stop();
Symbol 87 MovieClip [M_MASTER] Frame 3
stop();
Symbol 91 MovieClip [M_ENDBACKANIME1] Frame 1
stop();
Symbol 91 MovieClip [M_ENDBACKANIME1] Frame 15
stop();
Symbol 95 MovieClip [M_ENDBACKANIME2] Frame 1
stop();
Symbol 95 MovieClip [M_ENDBACKANIME2] Frame 15
stop();
Symbol 97 MovieClip [M_FADE] Frame 1
stop();
Symbol 97 MovieClip [M_FADE] Frame 11
stop();
Symbol 101 MovieClip [M_ENDANIME] Frame 1
stop();
Symbol 101 MovieClip [M_ENDANIME] Frame 43
_root.awImgPut(_root.IMGID_FADE, 0, 0);
_root.awImgGet(_root.IMGID_FADE).gotoAndPlay(2);
if (_root.ATTACK > _root.WINLOSE_JADGE) {
_root.awSndPlay(5);
_root.awImgPut(_root.IMGID_ENDBACK1, 0, 0);
_root.awImgGet(_root.IMGID_ENDBACK1).gotoAndPlay(2);
} else {
_root.awSndPlay(6);
_root.awImgPut(_root.IMGID_ENDBACK2, 0, 0);
_root.awImgGet(_root.IMGID_ENDBACK2).gotoAndPlay(2);
}
_root.gotoAndStop("FADEWAIT");
stop();
Symbol 117 MovieClip [M_WIN] Frame 1
stop();
Symbol 117 MovieClip [M_WIN] Frame 11
_root.awImgPut(_root.IMGID_RESULT, 132, 248);
_root.awImgPut(_root.IMGID_SCORE2, 260, 213);
_root.awImgPut(_root.IMGID_CONTINUE, 300, 151);
stop();
Symbol 120 MovieClip [M_LOSE] Frame 1
stop();
Symbol 120 MovieClip [M_LOSE] Frame 19
_root.awImgPut(_root.IMGID_RESULT, 152, 43);
_root.awImgPut(_root.IMGID_SCORE2, 260, 8);
_root.awImgPut(_root.IMGID_CONTINUE, 86, 8);
stop();
Symbol 131 MovieClip [M_RESULT] Frame 1
stop();
Symbol 142 Button
on (release) {
_root.awSndPlay(1);
_root.gotoAndPlay("START");
}
Symbol 155 Button
on (release) {
getURL ("JavaScript:Open()", "_self");
}
Symbol 157 MovieClip [M_DOWNLOADANIME] Frame 1
stop();
Symbol 157 MovieClip [M_DOWNLOADANIME] Frame 73
stop();
Symbol 210 Button
on (release) {
_root.awSndPlay(1);
_root.gotoAndStop("STORY");
}
Symbol 211 MovieClip Frame 53
_root.awSndPlay(8);
Symbol 211 MovieClip Frame 94
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 242 Button
on (release) {
_root.awSndPlay(1);
_root.M_STORYANIME.gotoAndPlay("NEXT");
}
Symbol 243 MovieClip Frame 18
switch (_root.awRand(10)) {
case 0 :
case 1 :
case 2 :
case 3 :
case 4 :
_root.M_STORYANIME.M_STORYHIME.gotoAndStop(1);
break;
case 5 :
case 6 :
case 7 :
case 8 :
_root.M_STORYANIME.M_STORYHIME.gotoAndStop(2);
break;
case 9 :
_root.M_STORYANIME.M_STORYHIME.gotoAndStop(3);
}
Symbol 243 MovieClip Frame 29
stop();
Symbol 243 MovieClip Frame 48
_root.gotoAndPlay("INITGAME");
stop();