diff options
author | yenatch <yenatch@gmail.com> | 2014-08-30 19:48:49 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-08-30 19:48:49 -0700 |
commit | 8f49e37b82a90bbef8c7133c4adea8f82abf00e7 (patch) | |
tree | 1987ddd65262266ce69b4759caa3b5df493cbb88 /engine/menu/pokedex.asm | |
parent | 365ae68d80683deab0e2e721b8ff79dda4047513 (diff) |
Use hram constants for remaining joypad variables.
Diffstat (limited to 'engine/menu/pokedex.asm')
-rwxr-xr-x | engine/menu/pokedex.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm index 63e440f8..f35b93e0 100755 --- a/engine/menu/pokedex.asm +++ b/engine/menu/pokedex.asm @@ -10,7 +10,7 @@ ShowPokedexMenu: ; 40000 (10:4000) ld [wLastMenuItem],a inc a ld [wd11e],a - ld [$ffb7],a + ld [hJoy7],a .setUpGraphics ld b,$08 call GoPAL_SET @@ -35,7 +35,7 @@ ShowPokedexMenu: ; 40000 (10:4000) ld [wcc37],a ld [wCurrentMenuItem],a ld [wLastMenuItem],a - ld [$ffb7],a + ld [hJoy7],a ld [wcd3a],a ld [wcd3b],a pop af @@ -550,7 +550,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2) ld [$fff4],a .waitForButtonPress call JoypadLowSensitivity - ld a,[$ffb5] + ld a,[hJoy5] and a,%00000011 ; A button and B button jr z,.waitForButtonPress pop af |