Gamba
This commit is contained in:
parent
ea7a96d8a9
commit
ae0925c426
1 changed files with 10 additions and 10 deletions
|
|
@ -317,7 +317,7 @@ Game_Interpreter.prototype.BJ_Play_Update = function(){
|
|||
let _SetuArr = [];
|
||||
switch(_CNo){
|
||||
case PN_BjDblBtn:
|
||||
_SetuArr = ["掛け金を倍にしてカードを1枚引く" , "その後、即勝負へ移行する"];
|
||||
_SetuArr = ["Double your bet and draw 1 card" , "Then immediately go to showdown"];
|
||||
this.BJ_Play_SetuWin(_SpData._x + 116 , _SpData._y , _SetuArr);
|
||||
if(TouchInput.isTriggered()) {
|
||||
_Bj_PLGold -= _Bj_BetGold;
|
||||
|
|
@ -331,7 +331,7 @@ Game_Interpreter.prototype.BJ_Play_Update = function(){
|
|||
}
|
||||
break;
|
||||
case PN_BjDrawBtn:
|
||||
_SetuArr = ["カードを1枚引く", ""];
|
||||
_SetuArr = ["Draw 1 card", ""];
|
||||
this.BJ_Play_SetuWin(_SpData._x + 116 , _SpData._y , _SetuArr);
|
||||
if(TouchInput.isTriggered()) {
|
||||
this.BJ_Play_PLDrawSetting(10);
|
||||
|
|
@ -339,14 +339,14 @@ Game_Interpreter.prototype.BJ_Play_Update = function(){
|
|||
}
|
||||
break;
|
||||
case PN_BjEndBtn:
|
||||
_SetuArr = ["この勝負を降ります", "※掛け金の半分が戻ってきます"];
|
||||
_SetuArr = ["Surrender this round", "*Half your bet will be returned"];
|
||||
this.BJ_Play_SetuWin(_SpData._x + 116 , _SpData._y , _SetuArr);
|
||||
if(TouchInput.isTriggered()) {
|
||||
this.BJ_Rzlt_Cng(BjKekka.Surrender);
|
||||
}
|
||||
break;
|
||||
case PN_BjBtlBtn:
|
||||
_SetuArr = ["相手と勝負を行う。", "※21に近い方が勝利"];
|
||||
_SetuArr = ["Challenge your opponent.", "*Closest to 21 wins"];
|
||||
this.BJ_Play_SetuWin(_SpData._x + 116 , _SpData._y , _SetuArr);
|
||||
if(TouchInput.isTriggered()) {
|
||||
this.BJ_Btl_Cng();
|
||||
|
|
@ -618,7 +618,7 @@ Game_Interpreter.prototype.BJ_Rzlt_Update = function() {
|
|||
if(bj_Rzlt_Endflame == 0){
|
||||
if(_Bj_PLGold <= 0){
|
||||
if(!ClickCkFlg){
|
||||
this.ClickCk_WinView(["プレイヤーの所持金が無くなりました…" , "ブラックジャックを終了します。"] , 1);
|
||||
this.ClickCk_WinView(["You've run out of money..." , "Ending Blackjack."] , 1);
|
||||
_bj_Em0Endflame = 0;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -626,7 +626,7 @@ Game_Interpreter.prototype.BJ_Rzlt_Update = function() {
|
|||
this.BJ_Rrse_Cng();
|
||||
} else {
|
||||
if(!ClickCkFlg){
|
||||
this.ClickCk_WinView(["敵の残金が0になりました。" , "ブラックジャックを終了します。"] , 1);
|
||||
this.ClickCk_WinView(["The opponent is out of money." , "Ending Blackjack."] , 1);
|
||||
_bj_Em0Endflame = 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -687,21 +687,21 @@ Game_Interpreter.prototype.BJ_Rzlt_Update = function() {
|
|||
_Bj_EmGold -= _Bj_BetGold;
|
||||
_getCoin += _Bj_BetGold;
|
||||
_Bj_PLGold += _getCoin;
|
||||
this.SpriteStrR(PN_BjKkGoldTxt , SCol.Yel + _getCoin + "G 取得" , 47 , 892 , 403 , 255 , 100 , 0);
|
||||
this.SpriteStrR(PN_BjKkGoldTxt , SCol.Yel + _getCoin + "G Won" , 47 , 892 , 403 , 255 , 100 , 0);
|
||||
break;
|
||||
case BjKekka.Lose:
|
||||
_Bj_EmGold += _Bj_BetGold;
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "勝負に負けました…" , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "You lost..." , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
break;
|
||||
case BjKekka.Over:
|
||||
_Bj_EmGold += _Bj_BetGold;
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "オーバーしました…" , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "Bust..." , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
break;
|
||||
case BjKekka.Surrender:
|
||||
let _lostGold = Math.floor(_Bj_BetGold / 2);
|
||||
_Bj_EmGold += _lostGold;
|
||||
_Bj_PLGold += _lostGold;
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "勝負を降りました※掛け金の半分が戻ってきました" , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
this.SpriteStrC(PN_BjKkGoldTxt , "Surrendered. Half your bet was returned." , 42 , 684 , 440 , 255 , 100 , 0);
|
||||
break;
|
||||
}
|
||||
$gameVariables.setValue(VN_BJ敵_所持金 ,_Bj_EmGold);
|
||||
|
|
|
|||
Loading…
Reference in a new issue