Support using 4 controllers at once
This commit is contained in:
1 parent
c76c5824e3
commit
169e9cff2e
10 files changed
+33
-49
No files matched your search
+2
-2
@@ -84,8 +84,8 @@ UNUSED static u16 sDebugTextKeySequence[] = {
|
||||
};
|
||||
static s16 sDebugTextKey = 0;
|
||||
UNUSED void handle_debug_key_sequences(void) {
|
||||
if (gPlayer3Controller->buttonPressed != 0) {
|
||||
if (sDebugTextKeySequence[sDebugTextKey++] == gPlayer3Controller->buttonPressed) {
|
||||
if (gPlayer1Controller->buttonPressed != 0) {
|
||||
if (sDebugTextKeySequence[sDebugTextKey++] == gPlayer1Controller->buttonPressed) {
|
||||
if (sDebugTextKey == ARRAY_COUNT(sDebugTextKeySequence)) {
|
||||
sDebugTextKey = 0;
|
||||
gShowDebugText ^= 1;
|
||||
|
||||
Reference in new issue
Block a user