summaryrefslogtreecommitdiff
path: root/home/print_text.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/print_text.asm')
-rw-r--r--home/print_text.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/print_text.asm b/home/print_text.asm
index 8a8a7dd9f..98f50c7c1 100644
--- a/home/print_text.asm
+++ b/home/print_text.asm
@@ -55,7 +55,7 @@ PrintLetterDelay::
jr nz, .wait
; Wait one frame if holding A or B.
- ld a, [hJoyDown]
+ ldh a, [hJoyDown]
bit A_BUTTON_F, a
jr z, .checkb
jr .delay
@@ -74,7 +74,7 @@ PrintLetterDelay::
.end
pop af
- ld [hOAMUpdate], a
+ ldh [hOAMUpdate], a
pop bc
pop de
pop hl
@@ -107,10 +107,10 @@ MobilePrintNum::
ret
FarPrintText::
- ld [hBuffer], a
- ld a, [hROMBank]
+ ldh [hBuffer], a
+ ldh a, [hROMBank]
push af
- ld a, [hBuffer]
+ ldh a, [hBuffer]
rst Bankswitch
call PrintText