diff options
| author | Yoann Fievez <yoann.fievez@gmail.com> | 2021-11-06 00:45:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 19:45:09 -0400 |
| commit | f68af5c6e95a11daa3bc8daaf28c4e9a779615b9 (patch) | |
| tree | ac8bdd875ab87440b0a829fa1ac26c015738b169 /home | |
| parent | 8349bfd8e646002105dfd6a7f997c26cf0e0624b (diff) | |
Add some constants for options (#344)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
Diffstat (limited to 'home')
| -rw-r--r-- | home/start_menu.asm | 2 | ||||
| -rw-r--r-- | home/window.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/start_menu.asm b/home/start_menu.asm index ed3d9470..5a531744 100644 --- a/home/start_menu.asm +++ b/home/start_menu.asm @@ -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 diff --git a/home/window.asm b/home/window.asm index 45b207a8..0abe366d 100644 --- a/home/window.asm +++ b/home/window.asm @@ -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] |
