Use input constants

This commit is contained in:
Remy Oukaour
2017-12-30 12:35:50 -05:00
parent f01434f2c0
commit b40181db41
4 changed files with 15 additions and 15 deletions

View File

@@ -332,7 +332,7 @@ PrintLetterDelay:: ; 313d
jr .updatedelay
.fast
ld a, 1
ld a, TEXT_DELAY_FAST
.updatedelay
ld [TextDelayFrames], a
@@ -347,11 +347,11 @@ PrintLetterDelay:: ; 313d
; Wait one frame if holding A or B.
ld a, [hJoyDown]
bit 0, a ; A_BUTTON
bit A_BUTTON_F, a
jr z, .checkb
jr .delay
.checkb
bit 1, a ; B_BUTTON
bit B_BUTTON_F, a
jr z, .wait
.delay