diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-07-14 03:46:23 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-07-14 03:49:49 -0500 |
| commit | b1cb3788938fa981e65619f022a41f1c1d91ae3b (patch) | |
| tree | e328c0eea6e6c87a954e396266c355fa3fbec286 /home | |
| parent | Use more screen dimension constants (diff) | |
| download | pokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.tar.gz pokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.tar.xz pokeyellow-b1cb3788938fa981e65619f022a41f1c1d91ae3b.zip | |
Comment naming screen
also use more joypad constants
Diffstat (limited to 'home')
| -rw-r--r-- | home/text.asm | 4 |
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 |
