Frame 2
var deck = new Array();
var trash = new Array();
var Sub = new Array();
var NowHP;
var MaxHP;
var AT;
var DF;
var Gold;
var floor;
var setmonster = 0;
var sflag = 0;
var doflag = 0;
var speflag = 0;
var spaceflag = 0;
var moneyflag = 0;
var parametor;
var parametor2;
var damage = 0;
var gameover = 0;
var decktext = "";
var hardplay = 0;
var SHu = "";
var sounds = new Sound();
var sounds2 = new Sound();
var sd = 1;
sounds.setVolume(10);
sounds2.setVolume(10);
_root.Sd = "\u30B5\u30A6\u30F3\u30C9:ON";
var save = SharedObject.getLocal("savedata");
var obj = save.data;
if (obj.maxcount) {
fscommand ("ParaFlaTrace", "\u30C7\u30FC\u30BF\u3042\u308A\u307E\u3059");
var maxdeck = obj.maxdeck;
var maxfloor = obj.maxfloor;
var maxgfloor = obj.maxgfloor;
var maxcount = obj.maxcount;
var hardflag = obj.hardflag;
} else {
var maxdeck = 25;
var maxfloor = 0;
var maxgfloor = 0;
var maxcount = 0;
var hardflag = 0;
obj.maxdeck = maxdeck;
obj.maxfloor = maxfloor;
obj.maxgfloor = maxgfloor;
obj.maxcount = maxcount;
obj.hardflag = hardflag;
fscommand ("ParaFlaTrace", "\u65B0\u898F");
}
onEnterFrame = function () {
if (spaceflag) {
if (Key.isDown(Key.SPACE)) {
if (doflag == 0) {
_root.play();
}
}
}
};
Frame 3
function reduceDF() {
i = 5 - (Sub.length + 1);
for ( ; i >= 0 ; i--) {
if ((10 < deck[i]) && (deck[i] < 20)) {
a = deck.splice(i, 1);
if (deck.length < 5) {
shuffle();
}
_root.under_text = eNm + "\u306F\u3000\u3066\u3075\u3060\u306E\u3000\u305F\u3066\u3092\u3000\u305F\u3079\u305F!\n\u3066\u3075\u3060\u306B\u3042\u308B\u3000\u305F\u3066\u304C\u3000\u306A\u304F\u306A\u3063\u3066\u3057\u307E\u3063\u305F!";
i = 5;
for ( ; 0 < i ; i--) {
var a = eval ("_root.main.card" + String(parseInt(i)));
if ((10 < a.what) && (20 >= a.what)) {
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
return(null);
}
}
return(null);
}
}
_root.under_text = eNm + "\u306F\u3000\u3066\u3075\u3060\u306E\u3000\u305F\u3066\u3092\u3000\u305F\u3079\u3088\u3046\u3068\u3057\u305F!\n\u3057\u304B\u3057\u3000\u3066\u3075\u3060\u306B\u3000\u305F\u3066\u306F\u306A\u304B\u3063\u305F!";
}
function reduceAT() {
i = 5 - (Sub.length + 1);
for ( ; i >= 0 ; i--) {
if (deck[i] < 11) {
a = deck.splice(i, 1);
if (deck.length < 5) {
shuffle();
}
_root.under_text = eNm + "\u306F\u3000\u3066\u3075\u3060\u306E\u3000\u3051\u3093\u3092\u3000\u306F\u3058\u304D\u3068\u3070\u3057\u305F!\n\u3066\u3075\u3060\u306B\u3042\u308B\u3000\u3051\u3093\u304C\u3000\u306A\u304F\u306A\u3063\u3066\u3057\u307E\u3063\u305F!";
i = 5;
for ( ; 0 < i ; i--) {
var a = eval ("_root.main.card" + String(parseInt(i)));
if (a.what < 11) {
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
return(null);
}
}
return(null);
}
}
_root.under_text = eNm + "\u306F\u3000\u3066\u3075\u3060\u306E\u3000\u3051\u3093\u3092\u3000\u306F\u3058\u3053\u3046\u3068\u3057\u305F!\n\u3057\u304B\u3057\u3000\u3066\u3075\u3060\u306B\u3000\u3051\u3093\u306F\u306A\u304B\u3063\u305F!";
}
function reduceAl() {
fscommand ("ParaFlaTrace", "\u6368\u3066\u308B\u767A\u52D5");
if (Sub.length >= 5) {
_root.under_text = eNm + "\u306F\u3000\u3066\u3075\u3060\u3092\u3000\u3044\u3061\u307E\u3044\u3000\u305F\u3079\u3088\u3046\u3068\u3057\u305F\u304C\n\u3066\u3075\u3060\u306F\u3000\u3059\u3067\u306B\u3000\u3064\u304B\u3044\u304D\u3063\u3066\u3044\u305F!";
} else {
c = parseInt(deck.splice(0, 1));
if (deck.length < 5) {
shuffle();
}
i = 5;
for ( ; 0 < i ; i--) {
var a = eval ("_root.main.card" + i);
if (a.what == c) {
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
i = 0;
}
}
if (10 < c) {
if (20 < c) {
if (c >= 30) {
if (c != 30) {
if (c != 31) {
if (32 < c) {
if (33 < c) {
if (34 >= c) {
b = "\u3059\u3066\u3075\u3060\uFF14\u3000\u30C7\u30B9";
}
} else {
b = "MaxHP\u30A2\u30C3\u30D7!";
}
} else {
b = "\u3053\u3046\u3055\u3093";
}
} else {
b = "\u30B7\u30E3\u30C3\u30D5\u30EB\u30AB\u30FC\u30C9";
}
} else {
b = "\u304F\u3059\u308A";
}
} else {
b = "\u304B\u306D";
}
} else {
b = "\u305F\u3066";
}
} else {
b = "\u3051\u3093";
}
_root.under_text = ((((eNm + "\u306F\u3000\u3066\u3075\u3060\u306E\u3000") + b) + "\u3092\u3068\u304B\u3057\u305F!\n\u3066\u3075\u3060\u306B\u3042\u308B\u3000") + b) + "\u304C\u3000\u306A\u304F\u306A\u3063\u3066\u3057\u307E\u3063\u305F!";
return(null);
}
}
function UpAT() {
eAT = eAT + 2;
_root.under_text = eNm + "\u306F\u3000\u3061\u304B\u3089\u3092\u3000\u305F\u3081\u305F\n\u3061\u304B\u3089+2!";
}
function DownDF() {
eDF = 0;
_root.under_text = eNm + "\u306F\u3000\u307E\u3082\u308A\u3092\u3000\u3068\u3044\u305F!\n\u307C\u3046\u304E\u30870!";
}
function ThDh() {
fscommand ("ParaFlaTrace", trashdata);
if (!(((trashdata % 4) == 0) && (trashdata != 0))) {
_root.under_text = eNm + "\u306E \u3059\u3066\u3075\u30604\u3000\u30C7\u30B9!\n\u3057\u304B\u3057\u3000\u306A\u306B\u3082\u304A\u3053\u3089\u306A\u304B\u3063\u305F!";
} else {
NowHP = Math.floor(NowHP / 2);
if (0 >= NowHP) {
NowHP = 1;
}
_root.main.gotoAndPlay("\u3086\u308C");
statusview();
_root.under_text = eNm + "\u306E \u3059\u3066\u3075\u30604\u3000\u30C7\u30B9!\n\u3042\u306A\u305F\u306E\u305F\u3044\u308A\u3087\u304F\u306F\u3000\u306F\u3093\u3076\u3093\u306B\u3000\u306A\u3063\u305F!";
}
}
function PushAT() {
trash.push(1);
_root.under_text = eNm + "\u306F\u3000\u30C7\u30C3\u30AD\u306B\u3000\u3080\u308A\u3084\u308A\n+1\u3051\u3093\u3092\u3000\u3044\u308C\u305F!";
}
function DownHP() {
MaxHP = MaxHP - 3;
if (MaxHP < NowHP) {
NowHP = MaxHP;
}
_root.under_text = eNm + "\u306E\u3000\u306D\u3093\u3048\u304D!\n\u305F\u3044\u308A\u3087\u304F\u306E\u3000\u3055\u3044\u3060\u3044\u3061\u304C\u30003 \u3078\u3063\u305F!";
}
var monster = [{Nm:"", HP:0, AT:0, DF:0, Gd:0, Mg:0}, {Nm:"\u30AC\u30AD", HP:3, AT:3, DF:0, Gd:2, Mg:""}, {Nm:"\u305F\u3066\u3059\u3044\u3080\u3057", HP:4, AT:3, DF:1, Gd:13, Mg:"ReDF"}, {Nm:"\u30B9\u30E9\u30A4\u30E0", HP:4, AT:3, DF:0, Gd:12, Mg:""}, {Nm:"\u30BE\u30F3\u30D3", HP:6, AT:4, DF:0, Gd:3, Mg:""}, {Nm:"\u30EA\u30B6\u30FC\u30C9\u30DE\u30F3", HP:5, AT:4, DF:0, Gd:3, Mg:""}, {Nm:"\u30B3\u30DC\u30EB\u30C8", HP:6, AT:5, DF:0, Gd:30, Mg:""}, {Nm:"\u30C9\u30E9\u30B4\u30F3", HP:6, AT:5, DF:1, Gd:4, Mg:"UpAT"}, {Nm:"\u30A4\u30EF\u30DE\u30F3", HP:5, AT:4, DF:0, Gd:14, Mg:"ReAT"}, {Nm:"\u30AD\u30CE\u30B3\u30C3\u30AF\u30B9", HP:9, AT:4, DF:0, Gd:32, Mg:""}, {Nm:"\u304A\u304A\u3078\u3073", HP:5, AT:8, DF:0, Gd:4, Mg:""}, {Nm:"\u3053\u3046\u304B\u304F\u3061\u3085\u3046", HP:5, AT:6, DF:1, Gd:14, Mg:"ReDF"}, {Nm:"\u30A6\u30A4\u30EB\u30B9", HP:6, AT:5, DF:0, Gd:25, Mg:"DnHP"}, {Nm:"\u30B0\u30EC\u30E0\u30EA\u30F3", HP:5, AT:7, DF:1, Gd:4, Mg:""}, {Nm:"\u30AD\u30CB\u30CA\u30EB", HP:10, AT:5, DF:0, Gd:25, Mg:""}, {Nm:"\u30D6\u30AD\u30AA\u30B8\u30B5\u30F3", HP:6, AT:6, DF:0, Gd:7, Mg:"PuAT"}, {Nm:"\u30D2\u30E7\u30A6\u30DB\u30F3", HP:8, AT:4, DF:0, Gd:34, Mg:"ThDh"}, {Nm:"\u30B9\u30FC\u30D1\u30FC\u30DE\u30B6\u30FC", HP:7, AT:7, DF:1, Gd:5, Mg:""}, {Nm:"\u30E1\u30AC\u30DB\u30D3\u30C3\u30C8", HP:4, AT:7, DF:2, Gd:30, Mg:""}, {Nm:"\u30A4\u30EF\u30DE\u30F3\u3042\u306B", HP:6, AT:6, DF:1, Gd:15, Mg:"ReAT"}, {Nm:"\u30E1\u30AC\u30C9\u30E9\u30B4\u30F3", HP:9, AT:6, DF:0, Gd:33, Mg:"UpAT"}, {Nm:"\u306F\u304B\u3044\u305D\u3046", HP:10, AT:7, DF:0, Gd:6, Mg:""}, {Nm:"\u306F\u3089\u307A\u3053\u30AA\u30FC\u30AF", HP:6, AT:10, DF:1, Gd:25, Mg:""}, {Nm:"\u30EF\u30EB\u30A4\u30AA\u30E4\u30B8", HP:8, AT:7, DF:0, Gd:8, Mg:"PuAT"}, {Nm:"\u30A6\u30FC\u30BA", HP:5, AT:6, DF:7, Gd:16, Mg:"DoDF"}, {Nm:"\u306B\u3093\u3058\u3083", HP:8, AT:11, DF:0, Gd:7, Mg:""}, {Nm:"\u30E0\u30AD\u30E0\u30AD\u30B9\u30E9\u30A4\u30E0", HP:6, AT:7, DF:3, Gd:30, Mg:"ReAl"}, {Nm:"\u30D8\u30EB\u30A4\u30F3\u30BB\u30AF\u30C8", HP:8, AT:6, DF:2, Gd:17, Mg:"ReDF"}, {Nm:"\u30A4\u30F3\u30D5\u30EB\u30A8\u30F3\u30B6", HP:9, AT:6, DF:1, Gd:32, Mg:"DnHP"}, {Nm:"\u30B0\u30EC\u30FC\u30C8\u30C7\u30FC\u30E2\u30F3", HP:12, AT:9, DF:1, Gd:8, Mg:""}, {Nm:"\u30A4\u30EF\u30DE\u30F3\u3061\u3061", HP:7, AT:10, DF:1, Gd:18, Mg:"ReAT"}, {Nm:"\u3068\u3046\u306E\u3080\u304F\u308D", HP:12, AT:8, DF:0, Gd:34, Mg:"ThDh"}, {Nm:"\u30C9\u30E9\u30B4\u30F3\u30D5\u30A1\u30B6\u30FC", HP:15, AT:7, DF:0, Gd:33, Mg:"UpAT"}, {Nm:"\u30E1\u30AC\u30AA\u30FC\u30AC\u30FC", HP:10, AT:11, DF:1, Gd:30, Mg:""}, {Nm:"\u3057\u306B\u304C\u307F", HP:12, AT:14, DF:1, Gd:27, Mg:""}, {Nm:"\u3064\u3088\u3044\u30B9\u30E9\u30A4\u30E0", HP:10, AT:7, DF:3, Gd:19, Mg:"ReAl"}, {Nm:"\u3076\u304D\u306E\u305F\u304F\u307F", HP:15, AT:8, DF:1, Gd:9, Mg:"PuAT"}, {Nm:"\u3046\u308C\u3057\u3044\u3068\u3046\u306E\u306C\u3057", HP:15, AT:12, DF:0, Gd:9, Mg:""}, {Nm:"\u304A\u3053\u3063\u305F\u3068\u3046\u306E\u306C\u3057", HP:15, AT:8, DF:4, Gd:30, Mg:"ReAl"}, {Nm:"\u3055\u3073\u3057\u3044\u3068\u3046\u306E\u306C\u3057", HP:15, AT:8, DF:2, Gd:29, Mg:"DnHP"}, {Nm:"\u305F\u306E\u3057\u3044\u3068\u3046\u306E\u306C\u3057", HP:15, AT:12, DF:1, Gd:19, Mg:"ThDh"}];
var eNm = "";
var eHP;
var eAT;
var eDF;
var eGd;
var eMg;
Frame 4
function reset() {
_root.main.card1.what = 0;
_root.main.card2.what = 0;
_root.main.card3.what = 0;
_root.main.card4.what = 0;
_root.main.card5.what = 0;
_root.main.card1.check._visible = false;
_root.main.card2.check._visible = false;
_root.main.card3.check._visible = false;
_root.main.card4.check._visible = false;
_root.main.card5.check._visible = false;
MaxHP = 40;
NowHP = 40;
floor = 1;
AT = 0;
DF = 0;
doflag = 0;
sflag = 0;
moneyflag = 0;
gameover = 0;
hardplay = 0;
hardtxt = "";
if (20 >= _root.deck.length) {
hardplay = 1;
hardtxt = "\u30CF\u30FC\u30C9\u30E2\u30FC\u30C9";
}
}
function enemyHPview() {
if (eHP >= 0) {
HPview = "HP:" + eHP;
} else {
HPview = "HP:0";
}
}
function statusview() {
if (sflag == 0) {
decktext = (((("\n\u30C7\u30C3\u30AD" + String((deck.length - 5) + Sub.length)) + "/") + String((deck.length + trash.length) + Sub.length)) + "\n\u3059\u3066\u3075\u3060") + trash.length;
}
parametor = ((((((((((("HP:" + String(NowHP)) + "/") + String(MaxHP)) + "\n\u3053\u3046\u3052\u304D:") + String(AT)) + "\n\u307C\u3046\u304E\u3087:") + String(DF)) + "\n\u30B4\u30FC\u30EB\u30C9:") + String(Gold)) + "G") + decktext) + SHu;
parametor2 = ("\u304B\u3044:" + String(floor)) + "F";
}
function dataset() {
deckshuffle();
show();
}
function deckshuffle() {
i = 0;
for ( ; i < deck.length ; i++) {
randp = Math.floor((Math.random() * (deck.length - i)) + i);
tmp = deck[randp];
deck[randp] = deck[i];
deck[i] = tmp;
}
}
function shuffle() {
sflag = 1;
var i;
var j;
i = 0;
for ( ; i < trash.length ; i++) {
randp = Math.floor((Math.random() * (trash.length - i)) + i);
tmp = trash[randp];
trash[randp] = trash[i];
trash[i] = tmp;
}
while (trash.length) {
deck.push(parseInt(trash.pop()));
}
trash.length = 0;
}
function Action(data) {
re = 0;
i = 4;
for ( ; i >= 0 ; i--) {
if (!((deck[i] < 30) && (Math.floor(deck[i] / 10) == Math.floor(data / 10)))) {
if (!((data == 30) && (deck[i] == 30))) {
if (!((data == 31) && (deck[i] == 31))) {
if (!((data == 32) && (deck[i] == 32))) {
if (!((data == 33) && (deck[i] == 33))) {
if ((data == 34) && (deck[i] == 34)) {
Sub.push(parseInt(deck.splice(i, 1)));
var a = eval ("_root.main.card" + String(parseInt(i) + parseInt(1)));
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
_root.under_text = "\u30EC\u30D9\u30EB4\u30C7\u30B9!\n";
if ((trash.length % 4) != 0) {
_root.under_text = "\u3057\u304B\u3057\u3000\u306A\u306B\u3082\u3000\u304A\u304D\u306A\u304B\u3063\u305F!";
} else {
eHP = 0;
_root.under_text = "\u3066\u304D\u306F\u3000\u305D\u304F\u3057\u3000\u3057\u305F!";
}
if (deck.length < 5) {
shuffle();
}
return(null);
}
// unexpected jump
}
g = deck.splice(i, 1);
var a = eval ("_root.main.card" + String(parseInt(i) + parseInt(1)));
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
if (deck.length < 5) {
shuffle();
}
return(null);
} else {
j = 0;
for ( ; j < 5 ; j++) {
g = deck.splice(0, 1);
var a = eval ("_root.main.card" + String(parseInt(j) + parseInt(1)));
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
}
if (deck.length < 5) {
shuffle();
}
return(null);
}
// unexpected jump
}
shuffle();
deckshuffle();
show();
return(null);
} else {
deck.splice(i, 1);
var a = eval ("_root.main.card" + String(parseInt(i) + parseInt(1)));
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
if (deck.length < 5) {
shuffle();
}
return(null);
}
} else {
re = re + (deck[i] % 10);
Sub.push(parseInt(deck.splice(i, 1)));
if (deck.length < 5) {
shuffle();
}
var a = eval ("_root.main.card" + String(parseInt(i) + parseInt(1)));
a.gotoAndPlay("\u6D88\u53BB\u30A8\u30D5\u30A7\u30AF\u30C8");
_root.main.window.gotoAndPlay("\u3086\u308C");
}
}
}
function show() {
i = 1;
for ( ; 5 >= i ; i++) {
var a = eval ("_root.main.card" + i);
a.what = deck[i - 1];
a.add = "+" + (deck[i - 1] % 10);
if (a.what >= 30) {
a.add = "";
}
a.mark.gotoAndPlay((Math.floor(a.what / 10) * 2) + 2);
if (a.what >= 30) {
a.mark.gotoAndPlay(Math.floor(parseInt(a.what) - 26) * 2);
}
if (a.what == "") {
a.mark.gotoAndPlay(1);
}
}
AT = 0;
DF = 0;
Gold = 0;
i = 4;
for ( ; i >= 0 ; i--) {
if (10 < deck[i]) {
if (20 < deck[i]) {
if (30 >= deck[i]) {
Gold = Gold + (deck[i] % 10);
}
} else {
DF = DF + (deck[i] % 10);
}
} else {
AT = AT + (deck[i] % 10);
}
}
SHu = "";
if (sflag == 1) {
SHu = "\n\u30B7\u30E3\u30C3\u30D5\u30EB\u3057\u307E\u3057\u305F";
}
sflag = 0;
statusview();
SHu = "";
if (gameover || (deck.length < 5)) {
_root.gotoAndPlay("gameover");
}
_root.under_text = "\u30AB\u30FC\u30C9\u3092 \u305B\u3093\u305F\u304F\u3000\u3057\u3066\u304F\u3060\u3055\u3044";
fscommand ("ParaFlaTrace", ("\u30C7\u30C3\u30AD" + deck) + newline);
fscommand ("ParaFlaTrace", ("\u6368\u3066\u672D" + trash) + newline);
}
function Roll_over(data) {
if (doflag == 1) {
i = 0;
for ( ; 4 >= i ; i++) {
var j = (i + 1);
Setdata = eval ("_root.main.card" + j);
if (((Math.floor(deck[i] / 10) == Math.floor(data / 10)) && (data < 30)) || ((data >= 30) && (data == deck[i]))) {
Setdata.check._visible = true;
}
}
if (data >= 11) {
if (data >= 21) {
if (data >= 30) {
if (data != 30) {
if (data != 31) {
if (data != 32) {
if (data != 33) {
if (data == 34) {
_root.under_text = "\u3059\u3066\u3075\u3060\u304C\u30004\u306E\u3070\u3044\u3059\u3046\u306E\u3068\u304D\n\u3066\u304D\u306F\u3057\u306C\u3010\u306A\u3093\u3069\u3067\u3082\u3064\u304B\u3048\u308B\u3011";
}
} else {
_root.under_text = "3HPMax\n\u3055\u3044\u3060\u3044\u3000\u305F\u3044\u308A\u3087\u304F\u3000\u3092\u3000\u305D\u3053\u3042\u3052\u3059\u308B\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u3053\u3046\u3055\u3093 \u3066\u3075\u3060\u306E\u30AB\u30FC\u30C9\u3092 \u3059\u3079\u3066\u3055\u3057\u3042\u3052\u3066\n\u3086\u308B\u3057\u3092\u3053\u3046\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u30B7\u30E3\u30C3\u30D5\u30EB\u30AB\u30FC\u30C9\n\u30B7\u30E3\u30C3\u30D5\u30EB\u3057\u3066 \u3066\u3075\u3060\u3092\u3000\u304B\u3048\u307E\u3059\u3010\u306A\u3093\u3069\u3067\u3082\u3064\u304B\u3048\u308B\u3011";
}
} else {
_root.under_text = "\u3044\u3084\u3057\u306E\u3000\u30AF\u30B9\u30EA\n\u305F\u3044\u308A\u3087\u304F\u304C\u3000\u304B\u3044\u3075\u304F\u3057\u307E\u3059\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u304A\u304B\u306D\u3000\u30E2\u30F3\u30B9\u30BF\u30FC\u304B\u3089\u3000\u30AB\u30FC\u30C9\u3092\u3000\u304B\u3046\n\u305B\u3044\u3053\u3046\u3059\u308B\u3068\u3000\u304A\u304B\u306D\u306F\u3000\u306A\u304F\u306A\u308B";
}
} else {
_root.under_text = "\u305F\u3066\u3000\u3067\u3000\u307C\u3046\u304E\u3087\u3002\n\u307C\u3046\u304E\u3087\u304C\u3000\u306B\u3070\u3044\u306B\u306A\u308B";
}
} else {
_root.under_text = "\u3051\u3093\u3000\u3067\u3000\u3053\u3046\u3052\u304D\u3000\n\u3051\u3093\u304B\u30FC\u3069\u3000\u305C\u3093\u3059\u3046\u3061\u306E\u3000\u3054\u3046\u3051\u3044\u30C0\u30E1\u30FC\u30B8";
}
}
}
function Roll_out(data) {
if (doflag == 1) {
i = 1;
for ( ; 5 >= i ; i++) {
Setdata = eval ("_root.main.card" + i);
Setdata.check._visible = false;
_root.under_text = "\u30AB\u30FC\u30C9\u3092\u3000\u305B\u3093\u305F\u304F\u3000\u3057\u3066\u304F\u3060\u3055\u3044\u3002";
}
}
}
function doing(data) {
if (!_root.doflag) {
_root.play();
}
if (doflag == 1) {
doflag = 0;
trashdata = trash.length;
fscommand ("ParaFlaTrace", "\u3059\u3066\u3075\u3060" + trashdata);
Action(data);
if (Math.floor(data / 10) == 0) {
damage = AT - eDF;
if (0 >= damage) {
_root.sounds.attachSound("attackmiss");
sounds.start();
_root.under_text = "\u3051\u3093\u3067\u3000\u3053\u3046\u3052\u304D\u3057\u305F!\u3000\n\u3057\u304B\u3057\u3000\u306F\u3058\u304B\u308C\u3066\u3057\u307E\u3063\u305F!";
} else {
_root.sounds.attachSound("attack");
sounds.start();
_root.under_text = ("\u3051\u3093\u3067\u3000\u3053\u3046\u3052\u304D\u3057\u305F!\u3000\n" + damage) + "\u30C0\u30E1\u30FC\u30B8!";
eHP = eHP - damage;
}
}
if (Math.floor(data / 10) == 1) {
DF = DF * 2;
_root.sounds.attachSound("shield");
sounds.start();
_root.under_text = ("\u305F\u3066\u3067\u3000\u307C\u3046\u304E\u3087\u3057\u305F\u3000\n\u307C\u3046\u304E\u3087\u304C\u3000" + DF) + "\u3000\u306B\u306A\u3063\u305F\u3002";
}
if (Math.floor(data / 10) == 2) {
_root.sounds.attachSound("money");
sounds.start();
_root.under_text = ("\u305F\u306E\u3080!" + Gold) + "G\u3067\n\u304D\u307F\u306E\u3082\u3063\u3066\u3044\u308B\u3000\u304B\u30FC\u3069\u3000\u3061\u3087\u3046\u3060\u3044!";
moneyflag = 1;
}
if (Math.floor(data) == 30) {
NowHP = MaxHP;
_root.sounds.attachSound("steup");
sounds.start();
_root.under_text = "\u304B\u3044\u3075\u304F\u3084\u304F\u3092\u3000\u306E\u3093\u3060\u3002\n\u305F\u3044\u308A\u3087\u304F\u304C\u3000\u3055\u3044\u3060\u3044\u3061\u306B\u3000\u306A\u3063\u305F!";
}
if (Math.floor(data) == 31) {
_root.sounds.attachSound("shuffle");
sounds.start();
_root.under_text = "\u30B7\u30E3\u30C3\u30D5\u30EB!\n\u3066\u3075\u3060\u304C\u3000\u3042\u305F\u3089\u3057\u304F\u306A\u3063\u305F!";
doflag = 1;
return(null);
}
if (Math.floor(data) == 32) {
_root.sounds.attachSound("kousan");
sounds.start();
_root.under_text = "\u3053\u306E\u3000\u30AB\u30FC\u30C9\u3000\u3059\u3079\u3066\u3042\u3052\u308B\u304B\u3089\n\u3069\u3046\u304B\u3000\u307F\u306E\u304C\u3057\u3066\u304F\u3093\u308D!";
speflag = 1;
doflag = 0;
}
if (Math.floor(data) == 33) {
MaxHP = MaxHP + 3;
_root.sounds.attachSound("steup");
sounds.start();
_root.under_text = "\u3055\u3044\u3060\u3044\u3000\u305F\u3044\u308A\u3087\u304F\u304C 3 \n\u305D\u3053\u3042\u3052\u3000\u3055\u308C\u305F!";
doflag = 0;
}
if (Math.floor(data) == 34) {
_root.sounds.attachSound("attack");
sounds.start();
doflag = 0;
}
statusview();
gotoAndPlay("_root.wait");
}
}
function resultadd() {
result2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
for ( ; i < deck.length ; i++) {
result2[deck[i]]++;
}
i = 0;
for ( ; i < trash.length ; i++) {
result2[trash[i]]++;
}
}
var result2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
Instance of Symbol 30 MovieClip [タイトル] "title" in Frame 5
on (release) {
_root.sounds.attachSound("intro");
_root.sounds.start();
_root.gotoAndPlay(6);
a = 0;
}
on (keyPress "a") {
a = 1;
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
}
on (keyPress "b") {
if (!((a == 1) || (a == 2))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 2;
}
}
on (keyPress "c") {
if (!((a == 2) || (a == 3))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 3;
}
}
on (keyPress "d") {
if (!((a == 3) || (a == 4))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 4;
}
}
on (keyPress "e") {
if (!((a == 4) || (a == 5))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 5;
}
}
on (keyPress "f") {
if (!((a == 5) || (a == 6))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 6;
}
}
on (keyPress "g") {
if (!((a == 6) || (a == 7))) {
a = 0;
} else {
fscommand ("ParaFlaTrace", a);
_root.sounds2.attachSound("damage");
_root.sounds2.start();
a = 7;
}
}
on (keyPress "h") {
if (a != 7) {
a = 0;
} else {
_root.sounds2.attachSound("damage");
_root.sounds2.start();
_root.maxdeck = 25;
_root.maxfloor = 0;
_root.maxgfloor = 0;
_root.maxcount = 0;
_root.hardflag = 0;
_root.obj.maxdeck = maxdeck;
_root.obj.maxfloor = maxfloor;
_root.obj.maxgfloor = maxgfloor;
_root.obj.maxcount = maxcount;
_root.obj.hardflag = hardflag;
vtxt2 = ((((("\u3061\u3087\u3046\u305B\u3093\u304B\u3044\u3059\u3046" + _root.maxcount) + "\u304B\u3044\n\u3055\u3044\u3053\u3046\u304D\u308D\u304F") + _root.maxgfloor) + "\u304B\u3044\n\u304B\u3044\u305D\u3046\u3054\u3046\u3051\u3044") + _root.maxfloor) + "\u304B\u3044";
if (_root.hardflag == 1) {
vtxt2 = ((((("\u3061\u3087\u3046\u305B\u3093\u304B\u3044\u3059\u3046" + _root.maxcount) + "\u304B\u3044\n\u3055\u3044\u3053\u3046\u304D\u308D\u304F") + _root.maxgfloor) + "\u304B\u3044(\u30CF\u30FC\u30C9\u30E2\u30FC\u30C9\u30AF\u30EA\u30A2)\n\u304B\u3044\u305D\u3046\u3054\u3046\u3051\u3044") + _root.maxfloor) + "\u304B\u3044";
}
fscommand ("ParaFlaTrace", "\u65B0\u898F");
fscommand ("ParaFlaTrace", a);
}
}
Frame 6
stop();
Frame 7
stop();
Frame 8
_root.reset();
_root.dataset();
_root.gotoAndPlay("\u30AB\u30FC\u30C9\u30A4\u30D9\u30F3\u30C8");
Frame 9
stop();
Frame 10
enemyHPview();
if (gameover) {
_root.gotoAndPlay("gameover");
}
Frame 16
stop();
Frame 17
if (moneyflag != 1) {
if (!speflag) {
if (0 < eHP) {
if (!(eMg && ((Math.random() < 0.5) || (((eMg == "ThDh") && ((trash.length % 4) == 0)) && (trash.length != 0))))) {
var damage = (eAT - DF);
if (0 >= damage) {
_root.under_text = "\u3066\u304D\u306E\u3000\u3053\u3046\u3052\u304D!\n\u3057\u304B\u3057\u3000\u3042\u306A\u305F\u306F\u3000\u3075\u305B\u304E\u304D\u3063\u305F";
_root.sounds.attachSound("attackmiss");
sounds.start();
} else {
_root.under_text = ("\u3066\u304D\u306E\u3000\u3053\u3046\u3052\u304D!\n\u3042\u306A\u305F\u306F" + damage) + "\u30C0\u30E1\u30FC\u30B8\u3000\u3046\u3051\u305F";
NowHP = NowHP - damage;
_root.sounds.attachSound("damage");
sounds.start();
}
_root.main.gotoAndPlay("\u3086\u308C");
_root.sounds.attachSound("damage");
sounds.start();
statusview();
} else {
_root.sounds.attachSound("enemy");
sounds.start();
if (eMg != "ReDF") {
if (eMg != "ReAT") {
if (eMg != "ReAl") {
if (eMg != "PuAT") {
if (eMg != "UpAT") {
if (eMg != "DoDF") {
if (eMg != "ThDh") {
if (eMg != "DnHP") {
_root.under_text = "\u3066\u304D\u306F\u3000\u307C\u3046\u3063\u3068\u3057\u3066\u3044\u308B";
} else {
DownHP();
statusview();
}
} else {
ThDh();
}
} else {
DownDF();
}
} else {
UpAT();
}
} else {
PushAT();
}
} else {
reduceAl();
}
} else {
reduceAT();
}
} else {
reduceDF();
}
}
} else {
_root.gotoAndPlay("win");
}
} else {
_root.under_text = "\u3066\u304D\u306B\u3000\u30AB\u30FC\u30C9\u3092\n\u307E\u304D\u3042\u3052\u3089\u308C\u305F!\n";
eHP = 0;
}
} else {
var what = (eGd % 10);
if (eGd == 30) {
what = 5;
}
if (eGd == 31) {
what = 5;
}
if (eGd == 32) {
what = 2;
}
if (eGd == 33) {
what = 5;
}
if (eGd == 34) {
what = 8;
}
if (Gold < what) {
_root.sounds.attachSound("attackmiss");
sounds.start();
_root.under_text = "\u3053\u3046\u3057\u3087\u3046\u3000\u3057\u3063\u3071\u3044!\n\u30B4\u30FC\u30EB\u30C9\u304C\u3000\u3059\u304F\u306A\u3059\u304E\u305F\u3000\u3088\u3046\u3060\n";
moneyflag = 0;
_root.gotoAndPlay(11);
} else {
fscommand ("ParaFlaTrace", ((eGd + " ") + (eGd % 10)) + " ");
trash.push(eGd);
_root.under_text = ("\u3053\u3046\u3057\u3087\u3046\u305B\u3044\u308A\u3064! \u3042\u306A\u305F\u306F" + Gold) + "\u30B4\u30FC\u30EB\u30C9\u3067\n+";
if (eGd >= 10) {
if (eGd >= 20) {
if (eGd >= 30) {
if (eGd != 30) {
if (eGd != 31) {
if (eGd != 32) {
if (eGd != 33) {
if (eGd == 34) {
_root.under_text = _root.under_text + "\u3059\u3066\u3075\u30604 \u30C7\u30B9";
}
} else {
_root.under_text = _root.under_text + "HPMax\u30A2\u30C3\u30D7";
}
} else {
_root.under_text = _root.under_text + "\u3053\u3046\u3055\u3093";
}
} else {
_root.under_text = _root.under_text + "\u30B7\u30E3\u30C3\u30D5\u30EB\u30AB\u30FC\u30C9";
}
} else {
_root.under_text = _root.under_text + "\u304F\u3059\u308A";
}
} else {
_root.under_text = _root.under_text + (what + "\u304B\u306D");
}
} else {
_root.under_text = _root.under_text + (what + "\u305F\u3066");
}
} else {
_root.under_text = _root.under_text + (what + "\u3051\u3093");
}
_root.under_text = _root.under_text + "\u3092\u304B\u3063\u305F!";
eHP = 0;
_root.sounds.attachSound("steup");
sounds.start();
statusview();
while (Sub.length) {
Sub.pop();
}
}
}
Frame 24
stop();
Frame 25
while (Sub.length) {
trash.push(parseInt(Sub.pop()));
}
if (0 < eHP) {
if (0 < NowHP) {
doflag = 1;
speflag = 0;
moneyflag = 0;
show();
} else {
_root.gotoAndPlay("gameover");
}
} else {
_root.gotoAndPlay("win");
}
Frame 26
stop();
Frame 27
prevFrame();
play();
stop();
Frame 28
spaceflag = 1;
sounds2.stop();
_root.sounds.attachSound("appear");
sounds.start();
if (floor >= 90) {
_root.sounds2.attachSound("lastbattle");
} else {
_root.sounds2.attachSound("ba1");
}
sounds2.setVolume(10);
if (sd == 0) {
sounds2.setVolume(0);
}
sounds2.start(0, 9999);
setmonster = Math.floor((Math.random() * 4) + (Math.floor(floor / 10) * 4)) + 1;
show();
_root.under_text = monster[setmonster].Nm + "\u304C\u3000\u3042\u3089\u308F\u308C\u305F\u3000\n\u30B3\u30DE\u30F3\u30C9?";
_root.main.window.monImg.gotoAndPlay(setmonster * 2);
var eNm = monster[setmonster].Nm;
var eHP = monster[setmonster].HP;
var eAT = monster[setmonster].AT;
var eDF = monster[setmonster].DF;
var eGd = monster[setmonster].Gd;
var eMg = monster[setmonster].Mg;
enemyHPview();
Frame 34
doflag = 1;
show();
Frame 35
stop();
Frame 36
prevFrame();
play();
stop();
Frame 37
spaceflag = 0;
_root.parametor2 = ("\u304B\u3044:" + String(_root.floor)) + "F";
_root.sounds2.stop();
sounds2.setVolume(20);
if (sd == 0) {
sounds2.setVolume(0);
}
_root.sounds2.attachSound("ev");
_root.sounds2.start(0, 9999);
_root.gevent._y = 0;
_root.main._y = 1000;
Frame 38
stop();
Frame 39
_root.main._y = 0;
_root.gevent._y = 1000;
sounds2.setVolume(10);
_root.sounds2.stop();
if (floor < 90) {
_root.gotoAndPlay("\u3042\u3089\u308F\u308C\u305F");
} else {
_root.gotoAndPlay("\u30E9\u30B9\u30DC\u30B9");
}
Frame 40
stop();
Frame 41
prevFrame();
play();
stop();
Frame 42
HPview = "";
sounds2.stop();
sounds2.setVolume(3);
if (sd == 0) {
sounds2.setVolume(0);
}
_root.sounds2.attachSound("ed");
sounds2.start(0, 9999);
_root.sounds.attachSound("taosita");
sounds.start();
_root.main.window.monImg.gotoAndStop(1);
if (!((moneyflag == 1) || (speflag == 1))) {
while (Sub.length) {
trash.push(parseInt(Sub.pop()));
}
var GetGold = (Math.floor(Math.random() * 3) + 1);
_root.under_text = ((eNm + "\u3092\u305F\u304A\u3057\u305F!\n\u3059\u3066\u3075\u3060\u306B+") + GetGold) + "G\u304C\u3000\u3064\u3044\u304B\u3055\u308C\u305F!";
trash.push(20 + GetGold);
} else {
moneyflag = 0;
speflag = 0;
_root.under_text = eNm + "\u306F\u3055\u3063\u3066\u3044\u3063\u305F";
}
Frame 43
stop();
Frame 44
floor++;
resultadd();
if (floor < 100) {
if ((floor % 10) != 0) {
_root.gotoAndPlay("\u3042\u3089\u308F\u308C\u305F");
} else {
_root.gotoAndPlay("\u30AB\u30FC\u30C9\u30A4\u30D9\u30F3\u30C8");
}
} else {
_root.gotoAndPlay("\u30AF\u30EA\u30A2");
}
Frame 45
stop();
Frame 46
prevFrame();
play();
stop();
Frame 47
spaceflag = 0;
sounds2.stop();
sounds2.setVolume(20);
if (sd == 0) {
sounds2.setVolume(0);
}
_root.sounds2.attachSound("ed");
sounds2.start(0, 9999);
_root.sounds.attachSound("gameover");
sounds.start();
doflag = 0;
gameover = 1;
statusview();
maxdeck = maxdeck + Math.floor(floor / 10);
maxfloor = maxfloor + floor;
if (maxgfloor < floor) {
maxgfloor = floor;
}
maxcount++;
obj.maxdeck = maxdeck;
obj.maxfloor = maxfloor;
obj.maxgfloor = maxgfloor;
obj.maxcount = maxcount;
_root.under_text = ("\u3042\u306A\u305F\u306F\u3000\u3061\u304B\u3089\u3064\u304D\u305F\u3000\u3052\u30FC\u3080\u3000\u304A\u30FC\u3070\u30FC \n\u3058\u304B\u3044\u306E\u3000\u3055\u3044\u3060\u3044\u30C7\u30C3\u30AD\u3000\u307E\u3044\u3059\u3046\u304C " + Math.floor(floor / 10)) + " \u3075\u3048\u305F!";
if (deck.length < 5) {
_root.under_text = ("\u3066\u3075\u3060\u304C 5\u307E\u3044 \u307F\u307E\u3093\u3060! \u3052\u30FC\u3080\u3000\u304A\u30FC\u3070\u30FC \n\u3058\u304B\u3044\u306E\u3000\u3055\u3044\u3060\u3044\u30C7\u30C3\u30AD\u3000\u307E\u3044\u3059\u3046\u304C " + Math.floor(floor / 10)) + " \u3075\u3048\u305F!";
}
resultadd();
Frame 58
stop();
Frame 59
gotoAndPlay(58);
Frame 60
stop();
Frame 61
gotoAndPlay(1);
Frame 62
stop();
Frame 63
spaceflag = 0;
doflag = 0;
sounds2.stop();
statusview();
maxdeck = maxdeck + Math.floor(floor / 5);
obj.maxdeck = maxdeck;
_root.under_text = "\u3042\u306A\u305F\u306F\u3000\u3059\u3079\u3066\u306E\u3066\u304D\u3092\u3000\u305F\u304A\u3057\u305F!";
maxfloor = maxfloor + floor;
if (maxgfloor < floor) {
maxgfloor = floor;
}
maxcount++;
obj.maxdeck = maxdeck;
obj.maxfloor = maxfloor;
obj.maxgfloor = maxgfloor;
obj.maxcount = maxcount;
if (hardplay == 1) {
hardflag = 1;
obj.hardflag = hardflag;
}
Frame 79
_root.main._y = 1000;
Frame 80
stop();
Frame 81
stopAllSounds();
_root.main._y = 0;
_root.gotoAndPlay(1);
Frame 82
stop();
Frame 134
_root.gotoAndPlay("\u3042\u3089\u308F\u308C\u305F");
Frame 135
stop();
Symbol 19998 MovieClip [ろーどちゅう] Frame 1
var loadertxt = "";
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
sindo = int((loaded / total) * 100);
loadertxt = ((((int(loaded / 1000) + "KB / ") + int(total / 1000)) + "KB (") + sindo) + "%)";
Symbol 19998 MovieClip [ろーどちゅう] Frame 3
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
sindo = int((loaded / total) * 100);
loadertxt = ((((int(loaded / 1000) + "KB / ") + int(total / 1000)) + "KB (") + sindo) + "%)";
fscommand ("ParaFlaTrace", loadertxt);
Symbol 19998 MovieClip [ろーどちゅう] Frame 4
gotoAndPlay(3);
Symbol 220 MovieClip [oyazi] Frame 1
_root.sounds2.stop();
_root.sounds2.setVolume(20);
if (_root.sd == 0) {
_root.sounds2.setVolume(0);
}
_root.sounds2.attachSound("ayasi");
_root.sounds2.start(0, 9999);
Symbol 220 MovieClip [oyazi] Frame 32
_root.sounds.attachSound("damage");
_root.sounds.start();
Symbol 220 MovieClip [oyazi] Frame 53
_root.sounds2.stop();
_root.sounds2.setVolume(10);
if (_root.sd == 0) {
_root.sounds2.setVolume(0);
}
Symbol 20000 Button
on (release) {
addcard(29);
}
on (rollOver) {
Roll_over(29);
}
on (rollOut) {
Roll_out(29);
}
on () {
}
Symbol 20002 Button
on (release) {
addcard(30);
}
on (rollOver) {
Roll_over(30);
}
on (rollOut) {
Roll_out(30);
}
on () {
}
Symbol 20004 Button
on (release) {
addcard(31);
}
on (rollOver) {
Roll_over(31);
}
on (rollOut) {
Roll_out(31);
}
on () {
}
Symbol 20005 Button
on (release) {
b++;
}
on () {
}
Symbol 20006 Button
on (release) {
addcard(32);
}
on (rollOver) {
Roll_over(32);
}
on (rollOut) {
Roll_out(32);
}
on () {
}
Symbol 20007 Button
on (release) {
c++;
}
on () {
}
Symbol 20008 Button
on (release) {
addcard(33);
}
on (rollOver) {
Roll_over(33);
}
on (rollOut) {
Roll_out(33);
}
on () {
}
Symbol 166 MovieClip [カード追加2] Frame 1
function Roll_over(data) {
if (data >= 11) {
if (data >= 21) {
if (data >= 30) {
if (data != 30) {
if (data != 31) {
if (data != 32) {
if (data != 33) {
if (data == 34) {
_root.under_text = "\u3059\u3066\u3075\u3060\u304C\u30004\u306E\u3070\u3044\u3059\u3046\u306E\u3068\u304D\n\u3066\u304D\u306F\u3057\u306C\u3010\u306A\u3093\u3069\u3067\u3082\u3064\u304B\u3048\u308B\u3011";
}
} else {
_root.under_text = "\u3055\u3044\u3060\u3044\u3000\u305F\u3044\u308A\u3087\u304F\u3000\u3092\u3000\u305D\u3053\u3042\u3052\u3059\u308B\n\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u3053\u3046\u3055\u3093 \u3066\u3075\u3060\u306E\u30AB\u30FC\u30C9\u3092 \u3059\u3079\u3066\u3055\u3057\u3042\u3052\u3066\n\u3086\u308B\u3057\u3092\u3053\u3046\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u30B7\u30E3\u30C3\u30D5\u30EB\u30AB\u30FC\u30C9\n\u30B7\u30E3\u30C3\u30D5\u30EB\u3057\u3066\u3000\u3066\u3075\u3060\u3092\u3000\u304B\u3048\u307E\u3059\u3010\u306A\u3093\u3069\u3067\u3082\u3064\u304B\u3048\u308B\u3011";
}
} else {
_root.under_text = "\u3044\u3084\u3057\u306E\u3000\u30AF\u30B9\u30EA\n\u305F\u3044\u308A\u3087\u304F\u304C\u3000\u304B\u3044\u3075\u304F\u3057\u307E\u3059\u3010\u3064\u304B\u3046\u3068\u306A\u304F\u306A\u308B\u3011";
}
} else {
_root.under_text = "\u304A\u304B\u306D\u3000\u30E2\u30F3\u30B9\u30BF\u30FC\u304B\u3089\u3000\u30AB\u30FC\u30C9\u3092\u3000\u304B\u3046\n\u305B\u3044\u3053\u3046\u3059\u308B\u3068\u3000\u304A\u304B\u306D\u306F\u3000\u306A\u304F\u306A\u308B";
}
} else {
_root.under_text = "\u305F\u3066\u3000\u3067\u3000\u307C\u3046\u304E\u3087\u3002\n\u307C\u3046\u304E\u3087\u304C\u3000\u306B\u3070\u3044\u306B\u306A\u308B";
}
} else {
_root.under_text = "\u3051\u3093\u3000\u3067\u3000\u3053\u3046\u3052\u304D\u3000\n\u3051\u3093\u304B\u30FC\u3069\u3000\u305C\u3093\u3059\u3046\u3061\u306E\u3000\u3054\u3046\u3051\u3044\u30C0\u30E1\u30FC\u30B8";
}
}
function Roll_out(data) {
_root.under_text = "";
}
function addcard(what) {
_root.trash.push(what);
this.gotoAndPlay("add");
}
_root.main._y = 1000;
Symbol 166 MovieClip [カード追加2] Frame 2
stop();
Symbol 166 MovieClip [カード追加2] Frame 3
_root.sounds.attachSound("OK");
_root.sounds.start();
this._y = 1000;
_root.play();
Symbol 20011 Button
on (release) {
a++;
_root.sounds.attachSound("select");
_root.sounds.start();
fscommand ("ParaFlaTrace", a);
}
on () {
}
Symbol 20012 Button
on (release) {
a = a + 10;
_root.sounds.attachSound("select");
_root.sounds.start();
fscommand ("ParaFlaTrace", a);
}
on () {
}
Symbol 20013 Button
on (release) {
_root.sounds.attachSound("select");
_root.sounds.start();
if (0 < a) {
a--;
}
}
on () {
}
Symbol 20014 Button
on (release) {
_root.sounds.attachSound("select");
_root.sounds.start();
b++;
}
on () {
}
Symbol 20015 Button
on (release) {
b = b + 10;
_root.sounds.attachSound("select");
_root.sounds.start();
fscommand ("ParaFlaTrace", b);
}
on () {
}
Symbol 20016 Button
on (release) {
_root.sounds.attachSound("select");
_root.sounds.start();
if (0 < b) {
b--;
}
}
on () {
}
Symbol 20017 Button
on (release) {
_root.sounds.attachSound("select");
_root.sounds.start();
c++;
}
on () {
}
Symbol 20018 Button
on (release) {
c = c + 10;
_root.sounds.attachSound("select");
_root.sounds.start();
fscommand ("ParaFlaTrace", c);
}
on () {
}
Symbol 20019 Button
on (release) {
_root.sounds.attachSound("select");
_root.sounds.start();
if (0 < c) {
c--;
}
}
on () {
}
Symbol 20020 Button
on (release) {
Go();
}
on () {
}
Symbol 20021 Button
on (release) {
_root.sounds.attachSound("OK");
_root.sounds.start();
res();
}
on () {
}
Symbol 134 MovieClip [カード追加] Frame 1
function res() {
a = 0;
b = 0;
c = 0;
}
function Go() {
if (_root.maxdeck < ((a + b) + c)) {
text = "\u305D\u308C\u306F\u3000\u304A\u304A\u3059\u304E\u3060\u3079";
_root.sounds.attachSound("select");
_root.sounds.start();
} else if (((a + b) + c) >= 6) {
_root.main._y = 0;
i = 0;
for ( ; i < a ; i++) {
_root.deck.push(1);
}
i = 0;
for ( ; i < b ; i++) {
_root.deck.push(11);
}
i = 0;
for ( ; i < c ; i++) {
_root.deck.push(21);
}
_root.sounds2.stop();
_root.sounds.attachSound("OK");
_root.sounds.start();
_root.play();
} else {
text = "6\u307E\u3044\u3000\u3044\u3058\u3087\u3046\u306F\u3000\u3044\u308C\u3088\u3046";
_root.sounds.attachSound("select");
_root.sounds.start();
}
}
_root.sounds2.attachSound("intro");
_root.sounds2.start(0, 9999);
var a;
var b;
var c;
var text = "";
_root.main._y = 1000;
vtxt = ("\u30C7\u30C3\u30AD\u306B\u3000\u3044\u308C\u305F\u3044\u3000\u30AB\u30FC\u30C9\u3000\u3092\u3000\u30AF\u30EA\u30C3\u30AF\u3000\u3057\u3066\u304F\u3060\u3055\u3044\n(\u3055\u3044\u3060\u3044\u3000" + _root.maxdeck) + "\u307E\u3044\u307E\u3067)";
res();
Symbol 134 MovieClip [カード追加] Frame 3
stop();
Symbol 30 MovieClip [タイトル] Frame 1
vtxt2 = ((((("\u3061\u3087\u3046\u305B\u3093\u304B\u3044\u3059\u3046" + _root.maxcount) + "\u304B\u3044\n\u3055\u3044\u3053\u3046\u304D\u308D\u304F") + _root.maxgfloor) + "\u304B\u3044\n\u304B\u3044\u305D\u3046\u3054\u3046\u3051\u3044") + _root.maxfloor) + "\u304B\u3044";
if (_root.hardflag == 1) {
vtxt2 = ((((("\u3061\u3087\u3046\u305B\u3093\u304B\u3044\u3059\u3046" + _root.maxcount) + "\u304B\u3044\n\u3055\u3044\u3053\u3046\u304D\u308D\u304F") + _root.maxgfloor) + "\u304B\u3044(\u30CF\u30FC\u30C9\u30E2\u30FC\u30C9\u30AF\u30EA\u30A2)\n\u304B\u3044\u305D\u3046\u3054\u3046\u3051\u3044") + _root.maxfloor) + "\u304B\u3044";
}
Symbol 30 MovieClip [タイトル] Frame 2
stop();
Symbol 30 MovieClip [タイトル] Frame 3
stop();
Symbol 42 MovieClip [カード] Frame 1
stop();
Symbol 42 MovieClip [カード] Frame 7
this.mark.gotoAndPlay(1);
this.add = "";
Symbol 42 MovieClip [カード] Frame 8
stop();
Symbol 42 MovieClip [カード] Frame 19
stop();
Symbol 52 MovieClip [カード柄] Frame 1
stop();
Symbol 52 MovieClip [カード柄] Frame 3
stop();
Symbol 52 MovieClip [カード柄] Frame 5
stop();
Symbol 52 MovieClip [カード柄] Frame 7
stop();
Symbol 52 MovieClip [カード柄] Frame 9
stop();
Symbol 52 MovieClip [カード柄] Frame 11
stop();
Symbol 52 MovieClip [カード柄] Frame 13
stop();
Symbol 52 MovieClip [カード柄] Frame 15
stop();
Symbol 52 MovieClip [カード柄] Frame 17
stop();
Instance of Symbol 42 MovieClip [カード] "card1" in Symbol 36 MovieClip [メイン画面] Frame 1
onClipEvent (load) {
var what = 0;
var add = 0;
}
on (release) {
_root.doing(this.what);
}
on (rollOver) {
_root.Roll_over(what);
}
on (rollOut) {
_root.Roll_out(what);
}
Instance of Symbol 42 MovieClip [カード] "card2" in Symbol 36 MovieClip [メイン画面] Frame 1
onClipEvent (load) {
var what = 0;
var add = 0;
}
on (release) {
_root.doing(this.what);
}
on (rollOver) {
_root.Roll_over(what);
}
on (rollOut) {
_root.Roll_out(what);
}
Instance of Symbol 42 MovieClip [カード] "card3" in Symbol 36 MovieClip [メイン画面] Frame 1
onClipEvent (load) {
var what = 0;
var add = 0;
}
on (release) {
_root.doing(this.what);
}
on (rollOver) {
_root.Roll_over(what);
}
on (rollOut) {
_root.Roll_out(what);
}
Instance of Symbol 42 MovieClip [カード] "card4" in Symbol 36 MovieClip [メイン画面] Frame 1
onClipEvent (load) {
var what = 0;
var add = 0;
}
on (release) {
_root.doing(this.what);
}
on (rollOver) {
_root.Roll_over(what);
}
on (rollOut) {
_root.Roll_out(what);
}
Instance of Symbol 42 MovieClip [カード] "card5" in Symbol 36 MovieClip [メイン画面] Frame 1
onClipEvent (load) {
var what = 0;
var add = 0;
}
on (release) {
_root.doing(this.what);
}
on (rollOver) {
_root.Roll_over(what);
}
on (rollOut) {
_root.Roll_out(what);
}
Symbol 36 MovieClip [メイン画面] Frame 1
stop();
Symbol 36 MovieClip [メイン画面] Frame 2
this._x = 5;
this._y = 0;
this._alpha = 70;
Symbol 36 MovieClip [メイン画面] Frame 3
this._x = 0;
this._y = 5;
Symbol 36 MovieClip [メイン画面] Frame 4
this._x = -5;
this._y = 0;
this._alpha = 100;
Symbol 36 MovieClip [メイン画面] Frame 5
this._x = 0;
this._y = -5;
Symbol 36 MovieClip [メイン画面] Frame 6
this._x = 5;
this._y = 0;
this._alpha = 70;
Symbol 36 MovieClip [メイン画面] Frame 7
this._x = 0;
this._y = 5;
Symbol 36 MovieClip [メイン画面] Frame 8
this._x = -5;
this._y = 0;
this._alpha = 100;
Symbol 36 MovieClip [メイン画面] Frame 9
this._x = 0;
this._y = -5;
Symbol 36 MovieClip [メイン画面] Frame 10
this._x = 0;
this._y = 0;
this.alpha = 100;
Symbol 60 MovieClip [揺れ用] Frame 1
stop();
Symbol 60 MovieClip [揺れ用] Frame 3
stop();
Symbol 60 MovieClip [揺れ用] Frame 5
stop();
Symbol 60 MovieClip [揺れ用] Frame 7
stop();
Symbol 60 MovieClip [揺れ用] Frame 9
stop();
Symbol 60 MovieClip [揺れ用] Frame 11
stop();
Symbol 60 MovieClip [揺れ用] Frame 13
stop();
Symbol 60 MovieClip [揺れ用] Frame 15
stop();
Symbol 60 MovieClip [揺れ用] Frame 17
stop();
Symbol 60 MovieClip [揺れ用] Frame 19
stop();
Symbol 60 MovieClip [揺れ用] Frame 21
stop();
Symbol 60 MovieClip [揺れ用] Frame 23
stop();
Symbol 60 MovieClip [揺れ用] Frame 25
stop();
Symbol 60 MovieClip [揺れ用] Frame 27
stop();
Symbol 60 MovieClip [揺れ用] Frame 29
stop();
Symbol 60 MovieClip [揺れ用] Frame 31
stop();
Symbol 60 MovieClip [揺れ用] Frame 33
stop();
Symbol 60 MovieClip [揺れ用] Frame 35
stop();
Symbol 60 MovieClip [揺れ用] Frame 37
stop();
Symbol 60 MovieClip [揺れ用] Frame 39
stop();
Symbol 60 MovieClip [揺れ用] Frame 41
stop();
Symbol 60 MovieClip [揺れ用] Frame 43
stop();
Symbol 60 MovieClip [揺れ用] Frame 45
stop();
Symbol 60 MovieClip [揺れ用] Frame 47
stop();
Symbol 60 MovieClip [揺れ用] Frame 49
stop();
Symbol 60 MovieClip [揺れ用] Frame 51
stop();
Symbol 60 MovieClip [揺れ用] Frame 53
stop();
Symbol 60 MovieClip [揺れ用] Frame 55
stop();
Symbol 60 MovieClip [揺れ用] Frame 57
stop();
Symbol 60 MovieClip [揺れ用] Frame 59
stop();
Symbol 60 MovieClip [揺れ用] Frame 61
stop();
Symbol 60 MovieClip [揺れ用] Frame 63
stop();
Symbol 60 MovieClip [揺れ用] Frame 65
stop();
Symbol 60 MovieClip [揺れ用] Frame 67
stop();
Symbol 60 MovieClip [揺れ用] Frame 69
stop();
Symbol 60 MovieClip [揺れ用] Frame 71
stop();
Symbol 60 MovieClip [揺れ用] Frame 73
stop();
Symbol 60 MovieClip [揺れ用] Frame 75
stop();
Symbol 60 MovieClip [揺れ用] Frame 77
stop();
Symbol 60 MovieClip [揺れ用] Frame 79
stop();
Symbol 60 MovieClip [揺れ用] Frame 81
stop();
Symbol 54 MovieClip [ウインドウ] Frame 2
stop();
Symbol 54 MovieClip [ウインドウ] Frame 3
monImg._x = 15;
monImg._y = 0;
monImg._alpha = 50;
Symbol 54 MovieClip [ウインドウ] Frame 4
monImg._x = 0;
monImg._y = 15;
Symbol 54 MovieClip [ウインドウ] Frame 5
monImg._x = -15;
monImg._y = 0;
monImg._alpha = 100;
Symbol 54 MovieClip [ウインドウ] Frame 6
monImg._x = 0;
monImg._y = -15;
Symbol 54 MovieClip [ウインドウ] Frame 7
monImg._x = 15;
monImg._y = 0;
monImg._alpha = 50;
Symbol 54 MovieClip [ウインドウ] Frame 8
monImg._x = 0;
monImg._y = 15;
Symbol 54 MovieClip [ウインドウ] Frame 9
monImg._x = -15;
monImg._y = 0;
monImg._alpha = 100;
Symbol 54 MovieClip [ウインドウ] Frame 10
monImg._x = 0;
monImg._y = -15;
Symbol 54 MovieClip [ウインドウ] Frame 11
monImg._x = 0;
monImg._y = 0;
monImg.alpha = 100;
Symbol 20022 Button
on (release) {
if (_root.hardplay != 1) {
getURL ((((("http://hothukurou.toypark.in/game/deck.php?a=" + _root.result2) + "&b=") + _root.MaxHP) + "&c=") + _root.floor, "_blank");
} else {
getURL (((((("http://hothukurou.toypark.in/game/deck.php?a=" + _root.result2) + "&b=") + _root.MaxHP) + "&c=") + _root.floor) + "&z=hard", "_blank");
}
}
on () {
}
Symbol 20023 Button
on (release) {
_root.play();
}
on () {
}
Symbol 20024 Button
on (release) {
if (_root.hardplay != 1) {
var warp = escape(("\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3\u7B2C" + _root.maxcount) + "\u56DE\u7D50\u679C\u3001\u7121\u4E8B\u6700\u4E0A\u968E100F\u306B\u5230\u9054\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3057\u305F\uFF01 #\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3 \u3010\u30C7\u30C3\u30AD\u8A73\u7D30\u3011\uFF1A");
var warp2 = escape((((("a=" + _root.result2) + "&b=") + _root.MaxHP) + "&c=") + _root.floor);
} else {
var warp = escape(("\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3\u7B2C" + _root.maxcount) + "\u56DE\u7D50\u679C\u3001\u521D\u671F\u30C7\u30C3\u30AD20\u679A\u4EE5\u4E0B\u7E1B\u308A\u3067\u7121\u4E8B\u6700\u4E0A\u968E100F\u306B\u5230\u9054\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3057\u305F\uFF01 #\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3 \u3010\u30C7\u30C3\u30AD\u8A73\u7D30\u3011\uFF1A");
var warp2 = escape(((((("a=" + _root.result2) + "&b=") + _root.MaxHP) + "&c=") + _root.floor) + "&z=hard");
}
getURL ((("http://twitter.com/share?text=" + warp) + "&url=http://hothukurou.toypark.in/game/deck.php?") + warp2, _blank);
}
on () {
}
Symbol 228 MovieClip [ending] Frame 1
stopAllSounds();
Symbol 228 MovieClip [ending] Frame 527
if (_root.hardplay != 1) {
hardtxt = "";
} else {
hardtxt = "\u3059\u3054\u3044!\u3053\u3053\u307E\u3067\u3042\u305D\u3093\u3067\u304F\u308C\u3066\u3000\u3042\u308A\u304C\u3068\u3046!";
}
Symbol 228 MovieClip [ending] Frame 528
stop();
Symbol 20025 Button
on (release) {
if (sd != 1) {
sd = 1;
sounds.setVolume(5);
sounds2.setVolume(5);
_root.Sd = "\u30B5\u30A6\u30F3\u30C9:ON";
} else {
sd = 0;
sounds.setVolume(0);
sounds2.setVolume(0);
_root.Sd = "\u30B5\u30A6\u30F3\u30C9:OFF";
}
}
on () {
}
Symbol 20026 Button
on (release) {
var warp = escape(((((("\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3\u7B2C" + _root.maxcount) + "\u56DE\u7D50\u679C\u3001") + _root.floor) + "\u968E\u3067") + _root.eNm) + "\u306B\u5012\u3055\u308C\u307E\u3057\u305F\u3002 #\u30AB\u30FC\u30C9\u306E\u4E0D\u601D\u8B70\u306A\u30C0\u30F3\u30B8\u30E7\u30F3 \u3010\u30C7\u30C3\u30AD\u8A73\u7D30\u3011\uFF1A");
var warp2 = escape((((("a=" + result2) + "&b=") + MaxHP) + "&c=") + floor);
getURL ((("http://twitter.com/share?text=" + warp) + "&url=http://hothukurou.toypark.in/game/deck.php?") + warp2, _blank);
}
on () {
}
Symbol 20027 Button
on (release) {
getURL ((((("http://hothukurou.toypark.in/game/deck.php?a=" + result2) + "&b=") + MaxHP) + "&c=") + floor, "_blank");
}
on () {
}
Symbol 20028 Button
on (release) {
_root.gotoAndPlay(1);
}
on () {
}