Comment naming screen

also use more joypad constants
This commit is contained in:
dannye 2015-07-14 03:46:23 -05:00
parent ef9e59101e
commit b1cb378893
12 changed files with 158 additions and 150 deletions

View file

@ -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