summaryrefslogtreecommitdiff
path: root/home/text.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 /home/text.asm
parentef9e59101e10aed82184bd2fd063b1109e2e4f6a (diff)
Comment naming screen
also use more joypad constants
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/text.asm b/home/text.asm
index 11303659..b77e1930 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -576,7 +576,7 @@ TextCommand0A:: ; 1c1d (0:1c1d)
push bc
call Joypad
ld a,[hJoyHeld]
- and a,%00000011 ; A and B buttons
+ and a,A_BUTTON | B_BUTTON
jr nz,.skipDelay
ld c,30
call DelayFrames
@@ -654,7 +654,7 @@ TextCommand0C:: ; 1c78 (0:1c78)
call Joypad
pop de
ld a,[hJoyHeld] ; joypad state
- and a,%00000011 ; is A or B button pressed?
+ and a,A_BUTTON | B_BUTTON
jr nz,.skipDelay ; if so, skip the delay
ld c,10
call DelayFrames