var tID1=0;
var tID2=0;
var tID3=0;
var start=0;
var stop1=0;
var stop2=0;
var stop3=0;
var tID2=0;
var tID3=0;
var start=0;
var stop1=0;
var stop2=0;
var stop3=0;
data = new Array("1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg");
prImg= new Array();
for (i=0; i<data.length; i++)
{
prImg= new Array();
for (i=0; i<data.length; i++)
{
prImg[i] = new Image(); prImg[i].src = "img/"+data[i];
}
function changeImage(i){
n=Math.floor(Math.random()*6+1);
img="img/"+n+".jpg";
if(i==1){document.left.src=img;tID1=setTimeout("changeImage(1)",200);}
else if(i==2){document.center.src=img;tID2=setTimeout("changeImage(2)",200);}
else if(i==3){document.right.src=img;tID3=setTimeout("changeImage(3)",200);}
}
n=Math.floor(Math.random()*6+1);
img="img/"+n+".jpg";
if(i==1){document.left.src=img;tID1=setTimeout("changeImage(1)",200);}
else if(i==2){document.center.src=img;tID2=setTimeout("changeImage(2)",200);}
else if(i==3){document.right.src=img;tID3=setTimeout("changeImage(3)",200);}
}
function startSlot(){
if(start==0 || stop1==1 || stop2==1 || stop3==1){
changeImage(1);
changeImage(2);
changeImage(3);
start=1;
stop1=0;
stop2=0;
stop3=0;
}
else{
clearTimeout(tID1);
clearTimeout(tID2);
clearTimeout(tID3);
start=0;
stop1=0;
stop2=0;
stop3=0;
}
}
if(start==0 || stop1==1 || stop2==1 || stop3==1){
changeImage(1);
changeImage(2);
changeImage(3);
start=1;
stop1=0;
stop2=0;
stop3=0;
}
else{
clearTimeout(tID1);
clearTimeout(tID2);
clearTimeout(tID3);
start=0;
stop1=0;
stop2=0;
stop3=0;
}
}
function stopSlot(i){
if(i==1){clearTimeout(tID1);stop1=1}
else if(i==2){clearTimeout(tID2);stop2=1}
else if(i==3){clearTimeout(tID3);stop3=1}
if(stop1==1&&stop2==1&&stop3==1){judge();}
}
if(i==1){clearTimeout(tID1);stop1=1}
else if(i==2){clearTimeout(tID2);stop2=1}
else if(i==3){clearTimeout(tID3);stop3=1}
if(stop1==1&&stop2==1&&stop3==1){judge();}
}
function judge(){
stop1=0;
stop2=0;
stop3=0;
start=0;
msg1="惜しい!\nあと一歩!";
msg2="残念!\n次回こそ!";
bingo1="おめでとう!\nアリス「魔理沙は渡さないわ!」";
bingo2="おめでとう!\n咲夜「時よ止まれ!」";
bingo3="おめでとう!\n魔理沙「私のマスタースパークは百八式まであるぜ」";
bingo4="おめでとう!\nレミリア「れみ☆りや☆う~」";
bingo5="おめでとう!\n霊夢「お賽銭よこしなさい」";
bingo6="おめでとう!\n輝夜「働いたら負けかなと思っている」";
if(document.left.src==document.center.src && document.left.src==document.right.src){
stop1=0;
stop2=0;
stop3=0;
start=0;
msg1="惜しい!\nあと一歩!";
msg2="残念!\n次回こそ!";
bingo1="おめでとう!\nアリス「魔理沙は渡さないわ!」";
bingo2="おめでとう!\n咲夜「時よ止まれ!」";
bingo3="おめでとう!\n魔理沙「私のマスタースパークは百八式まであるぜ」";
bingo4="おめでとう!\nレミリア「れみ☆りや☆う~」";
bingo5="おめでとう!\n霊夢「お賽銭よこしなさい」";
bingo6="おめでとう!\n輝夜「働いたら負けかなと思っている」";
if(document.left.src==document.center.src && document.left.src==document.right.src){
if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/1.jpg"){alert(bingo1);}
else if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/2.jpg"){alert(bingo2);}
else if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/3.jpg"){alert(bingo3);}
else if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/4.jpg"){alert(bingo4);}
else if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/5.jpg"){alert(bingo5);}
else if(document.left.src=="http://www.maroon.dti.ne.jp/cyan-yukirin/img/6.jpg"){alert(bingo6);}
else{alert("おめでとう!\n大当たり!"+document.left.src);}
}
else if(document.left.src==document.center.src || document.left.src==document.right.src || document.center.src==document.right.src){alert(msg1);}
else{alert(msg2);}
}
else if(document.left.src==document.center.src || document.left.src==document.right.src || document.center.src==document.right.src){alert(msg1);}
else{alert(msg2);}
}
SOSLOT
ただのスロットには興味ありません!
2026-07-10 02:53:14 (Fri)
訪問者合計: - 人
今日の訪問者: - 人
昨日の訪問者: - 人
訪問者合計: - 人
今日の訪問者: - 人
昨日の訪問者: - 人
wikiについて まずはこちら
分からないことは?
等をご活用ください