diff options
Diffstat (limited to 'home/print_text.asm')
-rwxr-xr-x | home/print_text.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/home/print_text.asm b/home/print_text.asm index 9d80d6b4..04bc8ece 100755 --- a/home/print_text.asm +++ b/home/print_text.asm @@ -97,7 +97,7 @@ CopyDataUntil:: cp c jr nz, CopyDataUntil ret - + INCLUDE "home/print_num.asm" Function33ce:: @@ -110,7 +110,7 @@ Function33ce:: jr nz, .asm_33ce ret -Function33d7:: ; 33d7 (0:33d7) +Function33d7:: ld a, [de] swap a and $f @@ -123,7 +123,7 @@ Function33d7:: ; 33d7 (0:33d7) inc de ret -Function33e9:: ; 33e9 (0:33e9) +Function33e9:: ld bc, .digits add c ld c, a @@ -136,14 +136,14 @@ Function33e9:: ; 33e9 (0:33e9) .digits db "0123456789ABCDEF" FarPrintText:: - ld [wBuffer], a + ld [wTempBank], a ldh a, [hROMBank] push af - ld a, [wBuffer] + ld a, [wTempBank] rst Bankswitch - + call PrintText - + pop af rst Bankswitch ret @@ -163,4 +163,4 @@ CallPointerAt:: pop hl ld a, h rst Bankswitch - ret
\ No newline at end of file + ret |