Frame 1
stop();
Frame 10
gameStage = 0;
gameScore = 0;
Frame 20
Frame 40
bgmObj.play_sound.stop();
bgmObj.play_sound.start(0, 100);
Symbol 38 Button
on (release) {
_parent._parent.seObj.click_sound.start();
_parent.main.pausing = !_parent.main.pausing;
this.removeMovieClip();
}
Symbol 42 Button
on (release) {
_parent._parent.seObj.click_sound.start();
_parent._parent.gotoAndStop("gameOver");
this.removeMovieClip();
}
Symbol 43 MovieClip [pausePopUpMc] Frame 1
bgMc.onPress = function () {
};
bgMc.useHandCursor = false;
Symbol 75 MovieClip [cardSliderMc] Frame 1
mc.gotoAndStop(myCardNum);
Symbol 76 MovieClip [kansanCard] Frame 1
var time = (5 + Math.floor(Math.random() * 3));
var targetPos = [_parent._parent.scoreBoard._x, _parent._parent.scoreBoard._y];
this.onEnterFrame = function () {
_x = (_x + (((targetPos[0] - _x) - _parent._x) / time));
_y = (_y + (((targetPos[1] - _y) - _parent._y) / time));
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
time--;
if (time > 0) {
return(undefined);
}
delete this.onEnterFrame;
_parent._parent._parent.gameScore = _parent._parent._parent.gameScore + 100;
_parent._parent.scoreBoard.setNum(_parent._parent._parent.gameScore);
this.removeMovieClip();
};
Symbol 78 MovieClip [cardPutMc] Frame 2
mc.gotoAndStop(_parent.myCardNum);
Symbol 79 MovieClip Frame 1
mc.gotoAndStop(_parent.oldMyCardNum);
Symbol 79 MovieClip Frame 9
mc.gotoAndStop(_parent.myCardNum);
delete _parent.oldMyCardNum;
Symbol 79 MovieClip Frame 11
_parent.gotoAndStop("wait");
Symbol 80 MovieClip [cardMc] Frame 1
function setInitPos(col, num) {
if (col == "B") {
var _local1 = [[132, 262], [200, 262], [267, 262], [335, 262]];
} else {
var _local1 = [[132, 63], [200, 63], [267, 63], [335, 63]];
}
return(_local1[num]);
}
var thisColor = _name.substr(4, 1);
if (thisColor == "B") {
var enemyColor = "R";
} else if (thisColor == "R") {
var enemyColor = "B";
}
var thisNum = Number(_name.substr(5, 1));
var initPos = this.setInitPos(thisColor, thisNum);
gotoAndStop ("move");
Symbol 80 MovieClip [cardMc] Frame 10
var eventTime = 4;
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
eventTime--;
if (eventTime > 0) {
_x = (_x + ((initPos[0] - _x) / eventTime));
_y = (_y + ((initPos[1] - _y) / eventTime));
return(undefined);
}
_x = initPos[0];
_y = initPos[1];
delete eventTime;
delete this.onEnterFrame;
gotoAndStop ("wait");
};
Symbol 80 MovieClip [cardMc] Frame 20
mc.gotoAndStop(myCardNum);
if (thisColor == "R") {
return(undefined);
}
this.onPress = function () {
if (_parent.pausing == true) {
return(undefined);
}
this.swapDepths(_parent.cardDepth);
_parent.cardDepth++;
if (_parent["motihuda" + thisColor].myMode == "selectPut") {
_parent["motihuda" + thisColor].myMode = "put2";
if (_parent.center0.delStock != undefined) {
return(undefined);
}
_parent._parent._parent.seObj.open_card_sound.start();
_parent.selectPutBtnMc.removeMovieClip();
if (thisColor == "B") {
_parent.center0.setCenterPut([_x, _y], myCardNum);
} else {
_parent.center1.setCenterPut([_x, _y], myCardNum);
}
if (_parent["motihuda" + enemyColor].myMode == "selectPut") {
_parent["motihuda" + enemyColor].selSelectPut();
} else if (_parent["motihuda" + enemyColor].myMode == "unput") {
_parent["motihuda" + enemyColor].centerPut();
}
_parent.center0.delStock = this;
} else {
if ((_parent["motihuda" + thisColor].myMode != "free") && (_parent["motihuda" + thisColor].myMode != "unput")) {
return(undefined);
}
this.startDrag(true);
}
};
this.onRelease = function () {
this.stopDrag();
if ((Math.abs(_parent.center0._x - _x) < 50) && (Math.abs(_parent.center0._y - _y) < 50)) {
var _local3 = _parent.center0;
} else if ((Math.abs(_parent.center1._x - _x) < 50) && (Math.abs(_parent.center1._y - _y) < 50)) {
var _local3 = _parent.center1;
} else {
_parent._parent._parent.seObj.disable_card_sound.start();
gotoAndStop ("back");
return(undefined);
}
if (_local3.putCheck(myCardNum, this) == false) {
_parent._parent._parent.seObj.disable_card_sound.start();
gotoAndStop ("back");
return(undefined);
}
};
Symbol 80 MovieClip [cardMc] Frame 30
var backTime = 3;
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
backTime--;
if (backTime > 0) {
_x = (_x + ((initPos[0] - _x) / 2));
_y = (_y + ((initPos[1] - _y) / 2));
return(undefined);
}
_x = initPos[0];
_y = initPos[1];
delete this.onEnterFrame;
gotoAndStop ("wait");
};
if (thisColor == "R") {
return(undefined);
}
delete this.onPress;
delete this.onRelease;
Symbol 80 MovieClip [cardMc] Frame 40
delete this.onPress;
delete this.onRelease;
Symbol 86 MovieClip [selectPutBtnMc] Frame 1
_x = 280;
_y = 280;
stop();
Symbol 95 Button
on (release) {
if (_parent.pausing == true) {
return(undefined);
}
_parent.motihudaB.centerPut();
_parent.motihudaR.centerPut();
this.removeMovieClip();
}
Symbol 96 MovieClip [putBtnMc] Frame 1
_x = 108;
_y = 236;
stop();
Symbol 102 MovieClip [putBonusMc] Frame 1
mc.gotoAndStop(sc);
Symbol 102 MovieClip [putBonusMc] Frame 9
this.removeMovieClip();
Symbol 106 MovieClip Frame 1
var soundList = ["opening1", "opening2", "clear", "gameover", "play", "play_fast", "level"];
var i = 0;
i = 0;
while (i < soundList.length) {
this[soundList[i] + "_sound"] = new Sound(this);
this[soundList[i] + "_sound"].attachSound(soundList[i] + "_se");
i++;
}
opening1_sound.onSoundComplete = function () {
opening2_sound.start(0, 100);
};
opening2_sound.onSoundComplete = function () {
this.start(0, 100);
};
play_sound.onSoundComplete = function () {
this.start(0, 100);
};
play_fast_sound.onSoundComplete = function () {
this.start(0, 100);
};
gameover_sound.onSoundComplete = function () {
_parent.gotoAndStop("title");
};
level_sound.onSoundComplete = function () {
_parent.gotoAndStop("title");
};
stop();
Symbol 108 MovieClip Frame 1
var soundList = ["title_click", "click", "disable_card", "enable_card", "item_get", "open_card", "warning", "score", "drumroll"];
var i = 0;
i = 0;
while (i < soundList.length) {
this[soundList[i] + "_sound"] = new Sound(this);
this[soundList[i] + "_sound"].attachSound(soundList[i] + "_se");
i++;
}
warning_sound.onSoundComplete = function () {
_parent.bgmObj.play_sound.stop();
_parent.bgmObj.play_fast_sound.start(0, 100);
};
drumroll_sound.onSoundComplete = function () {
_parent.bgmObj.level_sound.start();
};
stop();
Symbol 161 MovieClip Frame 1
function outMotion() {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
gotoAndStop ("off");
} else {
gotoAndStop ("on");
}
}
this.onRollOver = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
gotoAndPlay ("rollOff");
} else {
gotoAndPlay ("rollOn");
}
};
this.onRollOut = function () {
outMotion();
};
this.outMotion();
Symbol 161 MovieClip Frame 10
delete this.onRelease;
Symbol 161 MovieClip Frame 11
this.onRelease = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
_parent._parent.bgmObj.play_sound.setVolume(100);
_parent._parent.seObj.click_sound.setVolume(100);
_parent._parent.seObj.title_click_sound.start();
gotoAndPlay ("rollOn");
} else {
_parent._parent.bgmObj.play_sound.setVolume(0);
_parent._parent.seObj.click_sound.setVolume(0);
gotoAndPlay ("rollOff");
}
};
stop();
Symbol 161 MovieClip Frame 20
delete this.onRelease;
Symbol 161 MovieClip Frame 21
this.onRelease = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
_parent._parent.bgmObj.play_sound.setVolume(100);
_parent._parent.seObj.click_sound.setVolume(100);
_parent._parent.seObj.title_click_sound.start();
gotoAndPlay ("rollOn");
} else {
_parent._parent.bgmObj.play_sound.setVolume(0);
_parent._parent.seObj.click_sound.setVolume(0);
gotoAndPlay ("rollOff");
}
};
stop();
Instance of Symbol 165 MovieClip "loading" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.stop();
}
onClipEvent (enterFrame) {
totalSize = Math.floor(_parent._parent.getBytesTotal() / 1000);
percent = (_parent._parent.getBytesLoaded() * 100) / _parent._parent.getBytesTotal();
_parent.perText.text = Math.floor(percent) + "%";
if (percent >= 100) {
_parent._parent.gotoAndStop("title");
}
}
Symbol 213 Button
on (release) {
_parent.seObj.title_click_sound.start();
if (_parent.bgmObj.opening1_sound.getVolume() == 100) {
_parent.gotoAndStop("howtoplayOn");
} else {
_parent.gotoAndStop("howtoplayOff");
}
}
Symbol 219 Button
on (release) {
_parent.seObj.title_click_sound.start();
_parent.gotoAndStop("game");
}
Symbol 220 MovieClip Frame 1
if (_parent.titleSkip == true) {
delete _parent.titleSkip;
gotoAndStop ("skip");
} else {
_parent.bgmObj.opening1_sound.stop();
_parent.bgmObj.opening1_sound.start();
}
Symbol 220 MovieClip Frame 61
stop();
Symbol 231 Button
on (release) {
_parent.seObj.title_click_sound.start();
_parent.titleSkip = true;
_parent.gotoAndStop("title");
}
Symbol 237 Button
on (press) {
nextFrame();
}
Symbol 253 Button
on (press) {
prevFrame();
}
Symbol 254 Button
on (press) {
this.nextFrame();
}
Symbol 297 Button
on (press) {
prevFrame();
}
Symbol 309 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
this.onRelease = function () {
if (_parent.main.pauseLock == true) {
return(undefined);
}
_parent._parent.seObj.click_sound.start();
_parent.main.pausing = !_parent.main.pausing;
_parent.attachMovie("pausePopUpMc", "pausePopUpMc", 1);
};
Symbol 408 Button
on (release) {
this.luckyUse();
}
Symbol 409 MovieClip Frame 1
function luckyUse() {
if (_parent.main.pauseLock == true) {
return(undefined);
}
if (_parent.main.pausing == true) {
return(undefined);
}
if ((_parent.main.motihudaB.myMode != "free") && (_parent.main.motihudaB.myMode != "unput")) {
return(undefined);
}
_parent._parent.seObj.item_get_sound.start();
_parent.main.shuffleSys();
_parent.main.enemyHand.luckyTime = _parent.main.enemyHand.luckyTime + 48;
_parent.main.enemyHand._alpha = 30;
_visible = false;
}
stop();
Symbol 424 MovieClip Frame 1
function outMotion() {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
gotoAndStop ("off");
} else {
gotoAndStop ("on");
}
}
this.onRollOver = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
gotoAndPlay ("rollOff");
} else {
gotoAndPlay ("rollOn");
}
};
this.onRollOut = function () {
outMotion();
};
this.outMotion();
Symbol 424 MovieClip Frame 10
delete this.onRelease;
Symbol 424 MovieClip Frame 11
this.onRelease = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
_parent._parent.bgmObj.play_sound.setVolume(100);
_parent._parent.seObj.click_sound.setVolume(100);
_parent._parent.seObj.title_click_sound.start();
gotoAndPlay ("rollOn");
} else {
_parent._parent.bgmObj.play_sound.setVolume(0);
_parent._parent.seObj.click_sound.setVolume(0);
gotoAndPlay ("rollOff");
}
};
stop();
Symbol 424 MovieClip Frame 20
delete this.onRelease;
Symbol 424 MovieClip Frame 21
this.onRelease = function () {
if (_parent._parent.bgmObj.play_sound.getVolume() == 0) {
_parent._parent.bgmObj.play_sound.setVolume(100);
_parent._parent.seObj.click_sound.setVolume(100);
_parent._parent.seObj.title_click_sound.start();
gotoAndPlay ("rollOn");
} else {
_parent._parent.bgmObj.play_sound.setVolume(0);
_parent._parent.seObj.click_sound.setVolume(0);
gotoAndPlay ("rollOff");
}
};
stop();
Symbol 430 MovieClip Frame 1
gotoAndStop(_parent._parent.gameStage + 1);
Symbol 457 MovieClip Frame 1
function setNum(num) {
var _local3 = String(num);
var _local4 = 7;
var _local2 = 0;
var _local5 = _local4 - _local3.length;
_local2 = 0;
while (_local2 < _local5) {
_local3 = "0" + _local3;
_local2++;
}
_local2 = 0;
while (_local2 < _local4) {
this["sc" + _local2].gotoAndStop(Number(_local3.substr(_local2, 1)) + 1);
_local2++;
}
}
this.setNum(_parent._parent.gameScore);
stop();
Symbol 471 MovieClip Frame 1
function setNum(num) {
var _local4 = Math.floor(num / 1000);
var _local3 = String(Math.floor(_local4 / 60));
var _local2 = String(_local4 % 60);
if (_local3.length == 1) {
_local3 = "0" + _local3;
}
if (_local2.length == 1) {
_local2 = "0" + _local2;
}
this.m0.gotoAndStop(Number(_local3.substr(0, 1)) + 1);
this.m1.gotoAndStop(Number(_local3.substr(1, 1)) + 1);
this.s0.gotoAndStop(Number(_local2.substr(0, 1)) + 1);
this.s1.gotoAndStop(Number(_local2.substr(1, 1)) + 1);
}
var timeList = [120, 100, 80];
var warningTimeList = [40, 30, 20];
var time = (timeList[_parent._parent.gameStage] * 1000);
var warningTime = (warningTimeList[_parent._parent.gameStage] * 1000);
var stockMilliseconds = getTimer();
var nowMilliseconds = stockMilliseconds;
this.onEnterFrame = function () {
if (_parent.main.pausing == true) {
stockMilliseconds = getTimer();
return(undefined);
}
nowMilliseconds = getTimer();
time = Math.max(time - (nowMilliseconds - stockMilliseconds), 0);
stockMilliseconds = nowMilliseconds;
this.setNum(time);
if ((warningTime != 0) && (time <= warningTime)) {
warningTime = 0;
_parent._parent.seObj.warning_sound.start();
}
if (time == 0) {
delete this.onEnterFrame;
_parent.main.timeUpSys();
}
};
stop();
Symbol 474 MovieClip Frame 1
function init() {
var _local2 = 0;
var _local1 = 0;
var _local4 = [];
var _local3 = [];
if (thisColor == "B") {
_local4 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26];
} else if (thisColor == "R") {
_local4 = [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52];
} else {
trace("Bug: No matching color for hand.");
return(undefined);
}
var _local5 = _local4.length;
stockCard = [];
_local2 = 0;
while (_local2 < _local5) {
_local1 = Math.floor(Math.random() * _local4.length);
_local3.push(_local4[_local1]);
_local4.splice(_local1, 1);
_local2++;
}
_local2 = 0;
while (_local2 < _local5) {
_local1 = Math.floor(Math.random() * _local3.length);
stockCard.push(_local3[_local1]);
_local3.splice(_local1, 1);
_local2++;
}
return(undefined);
}
function hoju() {
var _local3 = 0;
var k = 0;
var _local4 = 0;
var _local5 = 0;
var hojuKankaku = 4;
_local3 = 0;
while (_local3 < 4) {
if (_parent[("card" + thisColor) + String(_local3)] != undefined) {
_local4++;
}
_local3++;
}
if (_local4 == 4) {
trace("Hand is full.");
return(undefined);
}
if (stockCard.length == 0) {
trace("No more cards.");
return(undefined);
}
myMode = "hoju";
_local5 = Math.min(4 - _local4, stockCard.length);
var hojuTime = (1 + (_local5 * hojuKankaku));
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
hojuTime = Math.max(hojuTime - 1, 0);
if ((hojuTime % hojuKankaku) != 0) {
return(undefined);
}
if (hojuTime != 0) {
k = 0;
while (k < 4) {
if (_parent[("card" + thisColor) + String(k)] == undefined) {
_parent.attachMovie("cardMc", ("card" + thisColor) + String(k), _parent.cardDepth);
_parent[("card" + thisColor) + String(k)]._x = _x + 20;
_parent[("card" + thisColor) + String(k)]._y = _y;
_parent[("card" + thisColor) + String(k)].myCardNum = stockCard[0];
stockCard.shift();
_parent.cardDepth++;
this.gotoAndStop(_currentframe + 1);
k = 4;
}
k++;
}
if (thisColor == "B") {
_parent._parent._parent.seObj.open_card_sound.start();
}
} else if (hojuTime == 0) {
if (this.unPutCheck() == true) {
myMode = "unput";
if ((_parent["motihuda" + enemyColor].myMode == "unput") && (_parent["motihuda" + enemyColor].checkCharge() == false)) {
_parent.putBtnSys();
}
} else {
myMode = "free";
}
delete this.onEnterFrame;
return(undefined);
}
};
}
function centerPut() {
if (thisColor == "B") {
_parent._parent._parent.seObj.open_card_sound.start();
}
myMode = "put";
if (thisColor == "B") {
_parent.center0.setCenterPut([_x, _y], stockCard[0]);
} else if (stockCard.length == 0) {
selSelectPut();
} else {
_parent.center1.setCenterPut([_x, _y], stockCard[0]);
}
stockCard.shift();
this.gotoAndStop(_currentframe + 1);
}
function unPutCheck() {
var _local2 = 0;
if (_parent.centerCard.length == 0) {
return(true);
}
_local2 = 0;
while (_local2 < 4) {
if (_parent[("card" + thisColor) + String(_local2)] != undefined) {
if ((_parent[("card" + thisColor) + String(_local2)].myCardNum % 13) == ((_parent.centerCard[0] + 1) % 13)) {
return(false);
}
if ((_parent[("card" + thisColor) + String(_local2)].myCardNum % 13) == ((_parent.centerCard[0] - 1) % 13)) {
return(false);
}
if ((_parent[("card" + thisColor) + String(_local2)].myCardNum % 13) == ((_parent.centerCard[1] + 1) % 13)) {
return(false);
}
if ((_parent[("card" + thisColor) + String(_local2)].myCardNum % 13) == ((_parent.centerCard[1] - 1) % 13)) {
return(false);
}
}
_local2++;
}
return(true);
}
function checkCharge() {
var _local2 = 0;
var _local3 = 0;
_local2 = 0;
while (_local2 < 4) {
if (_parent[("card" + thisColor) + String(_local2)] != undefined) {
_local3++;
}
_local2++;
}
if (_local3 == 4) {
return(false);
}
if (stockCard.length == 0) {
return(false);
}
return(true);
}
function selSelectPut() {
myMode = "put2";
var _local2 = [0, 1, 2, 3];
var _local4 = 0;
var _local3;
Number = 0;
_local4 = 0;
while (_local4 < 4) {
_local3 = Math.floor(Math.random() * _local2.length);
if (_parent[("card" + thisColor) + String(_local2[_local3])] != undefined) {
if (thisColor == "B") {
_parent.center0.setCenterPut([_parent[("card" + thisColor) + String(_local2[_local3])]._x, _parent[("card" + thisColor) + String(_local2[_local3])]._y], _parent[("card" + thisColor) + String(_local2[_local3])].myCardNum);
} else {
_parent.center1.setCenterPut([_parent[("card" + thisColor) + String(_local2[_local3])]._x, _parent[("card" + thisColor) + String(_local2[_local3])]._y], _parent[("card" + thisColor) + String(_local2[_local3])].myCardNum);
}
_parent.center1.delStock = _parent[("card" + thisColor) + String(_local2[_local3])];
return(undefined);
}
_local2.splice(_local3, 1);
_local4++;
}
}
var thisColor = _name.substr(8, 1);
if (thisColor == "B") {
var enemyColor = "R";
} else {
var enemyColor = "B";
}
var stockCard = [];
var myMode = "";
if (thisColor == "B") {
this.onPress = function () {
if (_parent.pausing == true) {
return(undefined);
}
if ((myMode == "free") || (myMode == "unput")) {
} else {
_parent._parent._parent.seObj.disable_card_sound.start();
return(undefined);
}
if (checkCharge() == false) {
_parent._parent._parent.seObj.disable_card_sound.start();
return(undefined);
}
this.hoju();
};
}
stop();
this.init();
this.hoju();
Symbol 474 MovieClip Frame 31
_parent.centerCard = [];
Symbol 474 MovieClip Frame 39
_parent.pausing = false;
_parent.pauseLock = false;
Symbol 476 MovieClip Frame 1
function setCenterPut(pos, num) {
var outOfTime = 6;
var dist = 200;
if (myCardNum != undefined) {
this.attachMovie("cardSliderMc", "slider", 1);
slider.myCardNum = myCardNum;
slider.gotoAndStop(_currentframe - 39);
}
gotoAndStop ("nothing");
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
if ((outOfTime > 0) && (myCardNum != undefined)) {
slider._x = slider._x + (dist / outOfTime);
outOfTime--;
return(undefined);
}
if (slider != undefined) {
slider.removeMovieClip();
}
if (delStock != undefined) {
delStock.removeMovieClip();
delete delStock;
}
delete this.onEnterFrame;
myCardNum = num;
this.attachMovie("cardPutMc", "cardPutMc", 1);
cardPutMc._x = (pos[0] + 20) - this._x;
cardPutMc._y = pos[1] - this._y;
this.swapDepths(_parent.cardDepth);
_parent.cardDepth++;
if (_parent["motihuda" + thisColor].myMode == "put2") {
cardPutMc.gotoAndStop(2);
} else {
cardPutMc.gotoAndStop(1);
}
gotoAndStop ("move");
};
}
function evenOut() {
var outOfTime = 6;
var dist = 200;
this.attachMovie("cardSliderMc", "slider", 1);
slider.myCardNum = myCardNum;
slider.gotoAndStop(_currentframe - 39);
gotoAndStop ("nothing");
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
if (outOfTime > 0) {
slider._x = slider._x + (dist / outOfTime);
outOfTime--;
return(undefined);
}
slider.removeMovieClip();
delete this.onEnterFrame;
delete myCardNum;
};
}
function putCheck(cardNum, putTarget) {
if ((_parent.centerCard[thisNum] % 13) == ((cardNum + 1) % 13)) {
} else if ((_parent.centerCard[thisNum] % 13) == ((cardNum - 1) % 13)) {
} else {
return(false);
}
if (cardNum < 27) {
_parent._parent._parent.seObj.enable_card_sound.start();
}
if (cardNum < 27) {
var _local3 = 0;
var _local4 = 1;
var _local6 = [0, 10, 20, 50, 100];
_local3 = 0;
while (_local3 < 4) {
if (_parent["cardB" + _local3] == undefined) {
_local4++;
}
_local3++;
}
this.attachMovie("putBonusMc", "putBonusMc", 1);
this.putBonusMc.sc = _local4;
_parent._parent._parent.gameScore = _parent._parent._parent.gameScore + _local6[_local4];
_parent._parent.scoreBoard.setNum(_parent._parent._parent.gameScore);
}
_parent.centerCard[thisNum] = cardNum;
myCardNum = cardNum;
this.gotoAndStop(_currentframe + 1);
mc.gotoAndStop(myCardNum);
putTarget.removeMovieClip();
if (_parent.clearCheck() == true) {
return(undefined);
}
if (_parent["motihuda" + enemyColor].unPutCheck() == true) {
_parent["motihuda" + enemyColor].myMode = "unput";
} else {
_parent["motihuda" + enemyColor].myMode = "free";
}
if (_parent["motihuda" + thisColor].unPutCheck() == true) {
_parent["motihuda" + thisColor].myMode = "unput";
} else {
_parent["motihuda" + thisColor].myMode = "free";
}
if ((_parent["motihuda" + thisColor].myMode == "unput") && (_parent["motihuda" + enemyColor].myMode == "unput")) {
if ((_parent["motihuda" + thisColor].checkCharge() == false) && (_parent["motihuda" + enemyColor].checkCharge() == false)) {
_parent.putBtnSys();
}
}
return(true);
}
var thisNum = Number(_name.substr(6, 1));
var thisColor = "";
var enemyColor = "";
if (thisNum == 0) {
thisColor = "B";
enemyColor = "R";
} else {
thisColor = "R";
enemyColor = "B";
}
var initPos = [_x, _y];
gotoAndStop ("nothing");
Symbol 476 MovieClip Frame 20
var moveTime = 4;
_parent.centerCard[thisNum] = myCardNum;
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
if (moveTime > 0) {
cardPutMc._x = cardPutMc._x + (((initPos[0] - this._x) - cardPutMc._x) / moveTime);
cardPutMc._y = cardPutMc._y + (((initPos[1] - this._y) - cardPutMc._y) / moveTime);
moveTime--;
return(undefined);
}
cardPutMc.removeMovieClip();
delete moveTime;
delete this.onEnterFrame;
gotoAndStop ("wait");
};
Symbol 476 MovieClip Frame 40
mc.gotoAndStop(myCardNum);
if (_parent.clearCheck() == true) {
return(undefined);
}
if (_parent["motihuda" + thisColor].unPutCheck() == true) {
_parent["motihuda" + thisColor].myMode = "unput";
if (_parent["motihuda" + enemyColor].myMode == "unput") {
_parent.putBtnSys();
}
} else {
_parent["motihuda" + thisColor].myMode = "free";
}
Symbol 476 MovieClip Frame 49
gotoAndStop ("loop");
Symbol 478 MovieClip Frame 1
this.swapDepths(100000);
var initEvent = "";
if (_parent._parent._parent.gameStage == 0) {
var moveStatus = {wait:8, move:10, put:10, putWait:4, putBack:6, charge:10};
} else if (_parent._parent._parent.gameStage == 1) {
var moveStatus = {wait:6, move:8, put:4, putWait:3, putBack:4, charge:6};
} else if (_parent._parent._parent.gameStage == 2) {
var moveStatus = {wait:4, move:6, put:3, putWait:2, putBack:3, charge:5};
}
var actTime = 0;
var subMode = "";
var selectCard = [-1, -1];
var targetPos = [Math.floor(Math.random() * 250) + 180, 20];
var luckyTime = 0;
Symbol 478 MovieClip Frame 2
function freeMode() {
if (initEvent != "free") {
initEvent = "free";
subMode = "wait";
actTime = moveStatus[subMode];
}
actTime--;
if (subMode == "wait") {
if (actTime > 0) {
return(undefined);
}
selectCard = cardSelSys();
if (selectCard[0] > -1) {
subMode = "move";
actTime = moveStatus[subMode];
} else {
subMode = "wait";
actTime = moveStatus[subMode];
}
} else if (subMode == "move") {
_x = (_x + ((_parent["cardR" + selectCard[0]]._x - _x) / (actTime + 1)));
_y = (_y + ((_parent["cardR" + selectCard[0]]._y - _y) / (actTime + 1)));
if (actTime > 0) {
return(undefined);
}
_parent["cardR" + selectCard[0]].swapDepths(_parent.cardDepth);
_parent.cardDepth++;
subMode = "put";
actTime = moveStatus[subMode];
} else if (subMode == "put") {
_x = (_x + ((_parent["center" + selectCard[1]]._x - _x) / (actTime + 1)));
_y = (_y + ((_parent["center" + selectCard[1]]._y - _y) / (actTime + 1)));
_parent["cardR" + selectCard[0]]._x = _x;
_parent["cardR" + selectCard[0]]._y = _y;
if (actTime > 0) {
return(undefined);
}
if (_parent["center" + selectCard[1]].putCheck(_parent["cardR" + selectCard[0]].myCardNum, _parent["cardR" + selectCard[0]]) == false) {
subMode = "putBack";
_parent["cardR" + selectCard[0]].gotoAndStop("back");
} else {
subMode = "putWait";
selectCard = [-1, -1];
}
actTime = moveStatus[subMode];
} else if (subMode == "putWait") {
if (actTime > 0) {
return(undefined);
}
subMode = "putBack";
actTime = moveStatus[subMode];
} else if (subMode == "putBack") {
if (actTime == (moveStatus[subMode] - 1)) {
targetPos = [Math.floor(Math.random() * 250) + 180, 20];
}
_x = (_x + ((targetPos[0] - _x) / 2));
_y = (_y + ((targetPos[1] - _y) / 2));
if (actTime > 0) {
return(undefined);
}
subMode = "wait";
actTime = moveStatus[subMode];
}
}
function cardSelSys() {
var _local5 = 0;
var _local3 = 0;
var _local2 = 0;
var _local6 = [-1, -1];
var _local4 = 0;
_local5 = 0;
while (_local5 < 2) {
_local4 = _parent.centerCard[_local5] % 13;
_local3 = 0;
while (_local3 < 4) {
if (_parent["cardR" + _local3] != undefined) {
if (((_parent["cardR" + _local3].myCardNum + 1) % 13) == _local4) {
_local2 = 0;
while (_local2 < 4) {
if (_parent["cardR" + _local2] != undefined) {
if ((((_parent["cardR" + _local2].myCardNum + 1) % 13) == _local4) || (((_parent["cardR" + _local2].myCardNum - 1) % 13) == _local4)) {
return([_local3, _local5]);
}
}
_local2++;
}
_local6 = [_local3, _local5];
} else if (((_parent["cardR" + _local3].myCardNum - 1) % 13) == _local4) {
_local2 = 0;
while (_local2 < 4) {
if (_parent["cardR" + _local2] != undefined) {
if ((((_parent["cardR" + _local2].myCardNum + 1) % 13) == _local4) || (((_parent["cardR" + _local2].myCardNum - 1) % 13) == _local4)) {
return([_local3, _local5]);
}
}
_local2++;
}
_local6 = [_local3, _local5];
}
}
_local3++;
}
_local5++;
}
return(_local6);
}
Symbol 478 MovieClip Frame 3
function unputMode() {
if (initEvent != "unput") {
initEvent = "unput";
subMode = "wait";
actTime = moveStatus[subMode];
if (selectCard[0] != -1) {
_parent["cardR" + selectCard[0]].gotoAndStop("back");
selectCard = [-1, -1];
}
}
actTime--;
if (subMode == "wait") {
_x = (_x + ((targetPos[0] - _x) / 2));
_y = (_y + ((targetPos[1] - _y) / 2));
if (actTime > 0) {
return(undefined);
}
if (_parent.motihudaR.checkCharge() == true) {
subMode = "charge";
} else {
targetPos = [Math.floor(Math.random() * 250) + 180, 20];
}
actTime = moveStatus[subMode];
} else if (subMode == "charge") {
_x = (_x + ((_parent.motihudaR._x - _x) / 2));
_y = (_y + ((_parent.motihudaR._y - _y) / 2));
if (actTime > 0) {
return(undefined);
}
subMode = "wait";
actTime = moveStatus[subMode];
_parent.motihudaR.hoju();
}
}
function cardBack() {
_parent["cardR" + selectCard[0]].gotoAndStop("back");
selectCard = [-1, -1];
}
Symbol 478 MovieClip Frame 4
this.onEnterFrame = function () {
if (_parent.pausing == true) {
return(undefined);
}
if (luckyTime > 0) {
luckyTime--;
if (luckyTime == 0) {
_alpha = 100;
}
return(undefined);
}
if (_parent.motihudaR.myMode == "free") {
this.freeMode();
} else if (_parent.motihudaR.myMode == "unput") {
this.unputMode();
}
};
stop();
Symbol 479 MovieClip Frame 1
function putBtnSys() {
if (motihudaB.stockCard.length == 0) {
motihudaB.myMode = "selectPut";
}
if (motihudaR.stockCard.length == 0) {
motihudaR.myMode = "selectPut";
}
if (motihudaB.myMode == "selectPut") {
attachMovie("selectPutBtnMc", "selectPutBtnMc", cardDepth);
} else {
attachMovie("putBtnMc", "putBtnMc", cardDepth);
}
cardDepth++;
enemyHand.cardBack();
}
function clearCheck() {
var wonNum = 0;
var _local4 = true;
if (((((this.motihudaB.stockCard.length == 0) && (this.cardB0 == undefined)) && (this.cardB1 == undefined)) && (this.cardB2 == undefined)) && (this.cardB3 == undefined)) {
wonNum = wonNum + 1;
}
if (((((this.motihudaR.stockCard.length == 0) && (this.cardR0 == undefined)) && (this.cardR1 == undefined)) && (this.cardR2 == undefined)) && (this.cardR3 == undefined)) {
wonNum = wonNum + 2;
}
if (wonNum == 0) {
this.checkBothCount();
return(false);
}
if (wonNum == 1) {
_parent.dogMc.gotoAndStop(6);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(4);
} else if (wonNum == 2) {
_parent.dogMc.gotoAndStop(4);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(6);
}
this.motihudaR.myMode = "stop";
this.motihudaB.myMode = "stop";
pausing = true;
pauseLock = true;
var waitTime = 12;
this.onEnterFrame = function () {
if (waitTime > 0) {
waitTime--;
if ((waitTime == 0) && (wonNum == 1)) {
_parent._parent.seObj.score_sound.start();
}
return(undefined);
}
var _local3 = Math.max(Math.floor((_parent.timeBoard.time / 5) / 1000), 1);
if ((wonNum == 1) && (_parent.timeBoard.time > 0)) {
if (_parent.timeBoard.time > (_local3 * 1000)) {
_parent.timeBoard.time = _parent.timeBoard.time - (_local3 * 1000);
_parent.timeBoard.setNum(_parent.timeBoard.time);
_parent._parent.gameScore = _parent._parent.gameScore + (10 * _local3);
} else {
_parent._parent.gameScore = _parent._parent.gameScore + (10 * Math.floor(_parent.timeBoard.time / 1000));
_parent.timeBoard.time = 0;
_parent.timeBoard.setNum(_parent.timeBoard.time);
}
_parent.scoreBoard.setNum(_parent._parent.gameScore);
if (_parent.timeBoard.time == 0) {
_parent._parent.seObj.score_sound.stop();
waitTime = 12;
}
return(undefined);
}
delete this.onEnterFrame;
if (wonNum == 1) {
this.kansanSys();
} else if (wonNum == 2) {
_parent._parent.gotoAndStop("gameOver");
} else if (wonNum == 3) {
center0.evenOut();
center1.evenOut();
motihudaB.gotoAndPlay("even");
motihudaR.gotoAndPlay("even");
}
};
return(true);
}
function shuffleSys() {
pausing = true;
pauseLock = true;
if (this.selectPutBtnMc != undefined) {
this.selectPutBtnMc.removeMovieClip();
}
if (this.putBtnMc != undefined) {
this.putBtnMc.removeMovieClip();
}
var _local3 = [];
var _local2 = 0;
motihudaB.myMode = "shuffle";
_local2 = 0;
while (_local2 < 4) {
if (this["cardB" + _local2] != undefined) {
_local3.push(this["cardB" + _local2]);
}
_local2++;
}
_local2 = 0;
while (_local2 < _local3.length) {
motihudaB.stockCard.push(_local3[_local2].myCardNum);
_local3[_local2].oldMyCardNum = _local3[_local2].myCardNum;
_local3[_local2].myCardNum = motihudaB.stockCard[0];
motihudaB.stockCard.shift();
_local3[_local2].gotoAndStop("shuffle");
_local2++;
}
var shuffleTime = 12;
this.onEnterFrame = function () {
shuffleTime--;
if (shuffleTime > 0) {
return(undefined);
}
delete shuffleTime;
delete this.onEnterFrame;
pausing = false;
pauseLock = false;
if (this.motihudaB.unPutCheck() == true) {
this.motihudaB.myMode = "unput";
} else {
this.motihudaB.myMode = "free";
}
if ((this.motihudaB.myMode == "unput") && (this.motihudaR.myMode == "unput")) {
if ((this.motihudaB.checkCharge() == false) && (this.motihudaR.checkCharge() == false)) {
this.putBtnSys();
}
}
};
}
function kansanSys() {
var i = 0;
var kansanEndTime = 20;
_parent._parent.seObj.score_sound.start();
this.onEnterFrame = function () {
i = 3;
while (i >= 0) {
if (this["cardR" + i] != undefined) {
this.setKansanMc(this["cardR" + i], this["cardR" + i].myCardNum, true);
return(undefined);
}
i--;
}
if (motihudaR.stockCard.length > 0) {
this.setKansanMc(motihudaR, motihudaR.stockCard[0], false);
motihudaR.stockCard.shift();
return(undefined);
}
kansanEndTime--;
if (kansanEndTime > 0) {
return(undefined);
}
_parent._parent.seObj.score_sound.stop();
delete kansanEndTime;
delete this.onEnterFrame;
_parent._parent.gotoAndStop("stageClear");
};
}
function setKansanMc(target, num, code) {
this.attachMovie("kansanCard", "kansanCard" + cardDepth, cardDepth);
this["kansanCard" + cardDepth]._x = target._x;
this["kansanCard" + cardDepth]._y = target._y;
this["kansanCard" + cardDepth].mc.gotoAndStop(num);
if (code == true) {
target.removeMovieClip();
} else {
motihudaR.gotoAndStop(motihudaR._currentframe + 1);
}
cardDepth++;
}
function timeUpSys() {
pausing = true;
pauseLock = true;
var waitTime = 12;
this.onEnterFrame = function () {
if (waitTime > 0) {
waitTime--;
return(undefined);
}
delete this.onEnterFrame;
_parent._parent.gotoAndStop("gameOver");
};
}
function checkBothCount() {
var _local6 = ["B", "R"];
var _local3 = 0;
var _local4 = 0;
var _local5 = [0, 0];
_local3 = 0;
while (_local3 < 2) {
_local4 = 0;
while (_local4 < 4) {
if (this[("card" + _local6[_local3]) + String(_local4)] != undefined) {
_local5[_local3]++;
}
_local4++;
}
_local5[_local3] = _local5[_local3] + this["motihuda" + _local6[_local3]].stockCard.length;
_local3++;
}
if ((_local5[0] - _local5[1]) >= 10) {
_parent.dogMc.gotoAndStop(5);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(3);
} else if ((_local5[1] - _local5[0]) >= 10) {
_parent.dogMc.gotoAndStop(3);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(5);
} else {
_parent.dogMc.gotoAndStop(2);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(2);
}
}
var cardDepth = 0;
var centerCard = [];
var pausing = false;
var pauseLock = false;
_parent.dogMc.gotoAndStop(2);
_parent["charMc" + _parent._parent.gameStage].gotoAndStop(2);
stop();
Symbol 495 MovieClip Frame 1
gotoAndStop(_parent._parent.gameStage);
Symbol 502 MovieClip Frame 1
Symbol 502 MovieClip Frame 20
stop();
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
init = intRandom(2);
_parent.gotoAndStop("go" + init);
this._x = intRandom(500);
this.play();
Symbol 502 MovieClip Frame 40
stop();
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
init = intRandom(2);
_parent.gotoAndStop("go" + init);
this._x = intRandom(500);
this.play();
Symbol 502 MovieClip Frame 60
stop();
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
init = intRandom(2);
_parent.gotoAndStop("go" + init);
this._x = intRandom(500);
this.play();
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 3
stop();
Symbol 517 Button
on (release) {
_parent.seObj.click_sound.start();
_parent.gotoAndStop("title");
}
Symbol 527 Button
on (release) {
_parent._parent.seObj.click_sound.start();
_parent._parent.gotoAndStop(_parent.nextLabel);
}
Symbol 537 Button
on (release) {
_parent._parent.seObj.click_sound.start();
_parent._parent.gotoAndStop(_parent.nextLabel);
}
Symbol 539 MovieClip Frame 1
_parent.gameStage++;
if (_parent.gameStage == 3) {
var nextLabel = "gameClear";
nextBtn.gotoAndStop(2);
} else {
var nextLabel = "game";
nextBtn.gotoAndStop(1);
}
_parent.bgmObj.clear_sound.stop();
_parent.bgmObj.clear_sound.start();
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Instance of Symbol 503 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
intRandom = function (num) {
var _local1 = Math.floor(Math.random() * num) + 1;
return(_local1);
};
var cnt = 0;
scale = intRandom(80) + 20;
this._xscale = scale;
this._yscale = scale;
onceRnd = intRandom(2);
cntLimit = intRandom(100);
this.gotoAndStop("go" + onceRnd);
}
onClipEvent (enterFrame) {
cnt++;
if (cnt >= cntLimit) {
this["kami" + onceRnd].play();
}
}
Symbol 551 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
bgMc.onPress = function () {
};
bgMc.useHandCursor = false;
_parent.bgmObj.gameover_sound.stop();
_parent.bgmObj.gameover_sound.start();
Symbol 552 MovieClip Frame 12
bgMc.onRelease = function () {
_parent.gotoAndStop("title");
};
stop();
Symbol 567 MovieClip Frame 23
stop();
Symbol 570 MovieClip Frame 23
stop();
Symbol 573 MovieClip Frame 23
stop();
Symbol 574 MovieClip Frame 1
var num = [5000, 3000];
if (_parent._parent.gameScore >= num[0]) {
gotoAndStop (1);
} else if ((_parent._parent.gameScore < num[0]) && (_parent._parent.gameScore >= num[1])) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
Symbol 575 MovieClip Frame 1
bgMc.onPress = function () {
};
bgMc.useHandCursor = false;
_parent.bgmObj.play_sound.stop();
_parent.seObj.drumroll_sound.start();
Symbol 575 MovieClip Frame 48
bgMc.onRelease = function () {
_parent.gotoAndStop("title");
};
stop();