diff options
| author | Henny022p <info@henny022.de> | 2022-01-16 23:28:59 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2022-01-16 23:32:07 +0100 |
| commit | 8ad65efb7c228d934e515209fdff5515a30aade1 (patch) | |
| tree | 854785296d2d86a8b30c1c5167c46bcc606608aa /src/debug.c | |
| parent | 2cf294d02dfa8a483827d4df65ea42834bf29cf5 (diff) | |
decomp kinstone menu
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/debug.c b/src/debug.c index 19b3ae04..f07417d6 100644 --- a/src/debug.c +++ b/src/debug.c @@ -48,14 +48,14 @@ void sub_0805FA98(void) { switch (gInput.newKeys) { case DPAD_UP: - gMenu.focusCoords[1] -= 1; + gMenu.unk10.a[1] -= 1; break; case DPAD_DOWN: - gMenu.focusCoords[1] += 1; + gMenu.unk10.a[1] += 1; break; case L_BUTTON: - gMenu.focusCoords[0] ^= 1; - if (gMenu.focusCoords[0] == 0) { + gMenu.unk10.a[0] ^= 1; + if (gMenu.unk10.a[0] == 0) { gScreen.bg0.control = BGCNT_SCREENBASE(31) | BGCNT_CHARBASE(3); gScreen.bg3.control = BGCNT_SCREENBASE(30) | BGCNT_CHARBASE(3) | BGCNT_PRIORITY(3); } else { @@ -82,7 +82,7 @@ void sub_0805FA98(void) { iVar1 = 0; break; } - switch (gMenu.focusCoords[1]) { + switch (gMenu.unk10.a[1]) { case 0: gMenu.unk14 = (gMenu.unk14 + iVar1 + 0x50) % 0x50; break; @@ -94,7 +94,7 @@ void sub_0805FA98(void) { break; } } - gMenu.focusCoords[1] = (gMenu.focusCoords[1] + 3) % 3; + gMenu.unk10.a[1] = (gMenu.unk10.a[1] + 3) % 3; gScreen.bg3.updated = 1; } |
