mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Add some constants for options (#344)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
parent
8349bfd8e6
commit
f68af5c6e9
8 changed files with 21 additions and 13 deletions
|
|
@ -33,7 +33,7 @@ RedisplayStartMenu::
|
|||
call EraseMenuCursor
|
||||
jr .loop
|
||||
.checkIfDownPressed
|
||||
bit 7, a
|
||||
bit BIT_D_DOWN, a
|
||||
jr z, .buttonPressed
|
||||
; if the player pressed tried to go past the bottom item, wrap around to the top
|
||||
CheckEvent EVENT_GOT_POKEDEX
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ HandleMenuInput_::
|
|||
ld [wCurrentMenuItem], a ; wrap to the bottom of the menu
|
||||
jr .checkOtherKeys
|
||||
.checkIfDownPressed
|
||||
bit 7, a
|
||||
bit BIT_D_DOWN, a
|
||||
jr z, .checkOtherKeys
|
||||
.downPressed
|
||||
ld a, [wCurrentMenuItem]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue