[debug menu] change: only change the selected player when the players page is open

This commit is contained in:
Robin C. Ladiges 2024-07-02 19:24:33 +02:00
parent efce9392a1
commit 56350afa04
No known key found for this signature in database
GPG key ID: B494D3DF92661B99

View file

@ -427,7 +427,7 @@ bool hakoniwaSequenceHook(HakoniwaSequence* sequence) {
}
}
} else if (al::isPadHoldZL(-1)) {
if (debugMode) {
if (debugMode && pageIndex == 0) {
if (al::isPadTriggerLeft(-1)) { // [Debug menu] ZL + Left => Previous player
debugPuppetIndex--;
if (debugPuppetIndex < 0) {