summaryrefslogtreecommitdiff
path: root/engine/menus/menu.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-18 10:11:12 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-18 10:11:12 -0400
commited3bcf6fa2a267f311ae9f497907f46118ef7fc5 (patch)
tree79dd3a00251a7bf147a47c80ca2a9e53265694b5 /engine/menus/menu.asm
parent50e182e83180dc6bfd012ddc26e7dc07052a89a5 (diff)
Harmonize engine/menus with pokegold
Diffstat (limited to 'engine/menus/menu.asm')
-rw-r--r--engine/menus/menu.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/menus/menu.asm b/engine/menus/menu.asm
index 4799827a1..091dd27d0 100644
--- a/engine/menus/menu.asm
+++ b/engine/menus/menu.asm
@@ -277,7 +277,6 @@ Unreferenced_Function241d5:
.loop
call Move2DMenuCursor
call HDMATransferTilemapToWRAMBank3 ; BUG: This function is in another bank.
- ; Pointer in current bank (9) is bogus.
call .loop2
jr nc, .done
call _2DMenuInterpretJoypad
@@ -300,7 +299,6 @@ Unreferenced_Function241d5:
ld c, 1
ld b, 3
call AdvanceMobileInactivityTimerAndCheckExpired ; BUG: This function is in another bank.
- ; Pointer in current bank (9) is bogus.
ret c
farcall Function100337
ret c
@@ -566,8 +564,8 @@ _PushWindow::
ld d, [hl]
push de
- ld b, $10
- ld hl, wMenuFlags
+ ld b, wMenuHeaderEnd - wMenuHeader
+ ld hl, wMenuHeader
.loop
ld a, [hli]
ld [de], a