diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-08-11 00:34:32 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-08-11 00:34:32 -0500 |
| commit | fb0a630c062cbb18026abe2792339dea27fac4d8 (patch) | |
| tree | 0b55bb02a3539b132c8e3f9347cc51a4ce58aa1c /engine/menu/pokedex.asm | |
| parent | Replace hardcoded name lengths with NAME_LENGTH (diff) | |
| download | pokeyellow-fb0a630c062cbb18026abe2792339dea27fac4d8.tar.gz pokeyellow-fb0a630c062cbb18026abe2792339dea27fac4d8.tar.xz pokeyellow-fb0a630c062cbb18026abe2792339dea27fac4d8.zip | |
More joypad constants
Diffstat (limited to 'engine/menu/pokedex.asm')
| -rwxr-xr-x | engine/menu/pokedex.asm | 3 |
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 |
