aboutsummaryrefslogtreecommitdiffstats
path: root/engine/menu/pokedex.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-14 03:46:23 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-14 03:49:49 -0500
commitb1cb3788938fa981e65619f022a41f1c1d91ae3b (patch)
treee328c0eea6e6c87a954e396266c355fa3fbec286 /engine/menu/pokedex.asm
parentUse more screen dimension constants (diff)
downloadpokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.tar.gz
pokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.tar.xz
pokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.zip
Comment naming screen
also use more joypad constants
Diffstat (limited to 'engine/menu/pokedex.asm')
-rwxr-xr-xengine/menu/pokedex.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm
index b8686a07..56543c91 100755
--- a/engine/menu/pokedex.asm
+++ b/engine/menu/pokedex.asm
@@ -554,7 +554,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2)
.waitForButtonPress
call JoypadLowSensitivity
ld a,[hJoy5]
- and a,%00000011 ; A button and B button
+ and a,A_BUTTON | B_BUTTON
jr z,.waitForButtonPress
pop af
ld [hTilesetType],a