summaryrefslogtreecommitdiff
path: root/engine/menu/pokedex.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-11 00:34:32 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-11 00:34:32 -0500
commitfb0a630c062cbb18026abe2792339dea27fac4d8 (patch)
tree0b55bb02a3539b132c8e3f9347cc51a4ce58aa1c /engine/menu/pokedex.asm
parent4aedff021786dd5c0b81d3a35f505b7aa42adddc (diff)
More joypad constants
Diffstat (limited to 'engine/menu/pokedex.asm')
-rwxr-xr-xengine/menu/pokedex.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm
index fd8a928d..8e69329a 100755
--- a/engine/menu/pokedex.asm
+++ b/engine/menu/pokedex.asm
@@ -27,7 +27,7 @@ ShowPokedexMenu: ; 40000 (10:4000)
inc hl
ld a,6
ld [hli],a ; max menu item ID
- ld [hl],%00110011 ; menu watched keys (Left, Right, B button, A button)
+ ld [hl],D_LEFT | D_RIGHT | B_BUTTON | A_BUTTON
call HandlePokedexListMenu
jr c,.goToSideMenu ; if the player chose a pokemon from the list
.exitPokedex
@@ -88,6 +88,7 @@ HandlePokedexSideMenu: ; 4006d (10:406d)
inc hl
ld a,3
ld [hli],a ; max menu item ID
+ ;ld a, A_BUTTON | B_BUTTON
ld [hli],a ; menu watched keys (A button and B button)
xor a
ld [hli],a ; old menu item ID