From bec9833cdf3303569ba9d1e2d04d02e1fb90d116 Mon Sep 17 00:00:00 2001 From: zaphod77 Date: Fri, 15 Nov 2024 19:25:50 -0600 Subject: [PATCH 1/3] Update gamestart.c Revert incorrect randomizer bug fix. --- src/game/gamestart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/gamestart.c b/src/game/gamestart.c index e1176d2..0ba0d9a 100644 --- a/src/game/gamestart.c +++ b/src/game/gamestart.c @@ -5250,7 +5250,7 @@ void statSelectMode(int32_t player) { gameMode[player] = 3; if(gameMode[player] == 8) gameMode[player] = 7; - versusInit(player); + // versusInit(player); //fix is wrong } // その他 if(statusc[player * 10 + 2] == 2) { @@ -5281,7 +5281,7 @@ void statSelectMode(int32_t player) { gameMode[player] = 6; if(gameMode[player] == 8) gameMode[player] = 9; - versusInit(player); + // versusInit(player); // wrong fix to bug } // その他 if(statusc[player * 10 + 2] == 2) { @@ -5331,7 +5331,7 @@ void statSelectMode(int32_t player) { ori_opt[player]--; if(ori_opt[player] < 0) ori_opt[player] = 3; - versusInit(player); + // versusInit(player); // fix is wrong } if(statusc[player * 10 + 2] == 2) { if(statusc[player * 10 + 3] == 0) { @@ -5389,7 +5389,7 @@ void statSelectMode(int32_t player) { ori_opt[player]++; if(ori_opt[player] > 3) ori_opt[player] = 0; - versusInit(player); + // versusInit(player); fix is wrong } if(statusc[player * 10 + 2] == 2) { if(statusc[player * 10 + 3] == 0) { From 94585e5ff2abba262861cf554c748cb6a15757e2 Mon Sep 17 00:00:00 2001 From: zaphod77 Date: Fri, 15 Nov 2024 19:28:57 -0600 Subject: [PATCH 2/3] Update tomoyo.c Init randomizer when backing out of tomoyo during non mini select. --- src/script/tomoyo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/tomoyo.c b/src/script/tomoyo.c index 8953118..82bda72 100644 --- a/src/script/tomoyo.c +++ b/src/script/tomoyo.c @@ -920,6 +920,7 @@ void statTomoyoSelect(int32_t player) { status[player] = 2; // SOLO MODEモードセレクト statusc[player * 10] = 0; // ステータスカウンタを0に statusc[player * 10 + 1] = 0; // + versusInit(player); // CORRECT fix for backing out of mini select. } // HOLDボタンでnextcを0に戻す From 4c9a956d6d77cc256005b0c2e16c4e7bfa8251be Mon Sep 17 00:00:00 2001 From: zaphod77 Date: Fri, 15 Nov 2024 21:31:19 -0600 Subject: [PATCH 3/3] Update gamestart.c Really fix stupid mini select nonsense with rando and tomoyo. --- src/game/gamestart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/gamestart.c b/src/game/gamestart.c index 0ba0d9a..4b5cb00 100644 --- a/src/game/gamestart.c +++ b/src/game/gamestart.c @@ -3395,7 +3395,7 @@ void versusInit(int32_t player) { // re-initialize start_nextc start_nextc[player]=0; // continuing sets start_nextc to stage_nextc. this undoes this to avoid breaking the FOLLOWING replay. // tomoyoのパターン #1.60c7l9 - if( ((gameMode[player] == 6) && (!randommode[player])) || (nextblock ==11)|| ((p_nextblock ==11)&&(gameMode[player] == 5))) { + if( (!getPushState(player, BTN_B) && (gameMode[player] == 6) && (!randommode[player])) || (nextblock ==11)|| ((p_nextblock ==11)&&(gameMode[player] == 5))) { if(start_stage[player] < 100){ //通常 // use sakura bag. len = YGS2kStrLen(nextb_list);