aboutsummaryrefslogtreecommitdiffstats
path: root/home/print_num.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/print_num.asm')
-rw-r--r--home/print_num.asm22
1 files changed, 11 insertions, 11 deletions
diff --git a/home/print_num.asm b/home/print_num.asm
index d86527a6..4872d859 100644
--- a/home/print_num.asm
+++ b/home/print_num.asm
@@ -70,20 +70,20 @@ PrintNumber::
cp 6
jr z, .hundred_thousands
-print_digit: MACRO
+MACRO print_digit
-IF (\1) / $10000
- ld a, \1 / $10000 % $100
-ELSE
- xor a
-ENDC
+ IF (\1) / $10000
+ ld a, \1 / $10000 % $100
+ ELSE
+ xor a
+ ENDC
ldh [hPowerOf10 + 0], a
-IF (\1) / $100
- ld a, \1 / $100 % $100
-ELSE
- xor a
-ENDC
+ IF (\1) / $100
+ ld a, \1 / $100 % $100
+ ELSE
+ xor a
+ ENDC
ldh [hPowerOf10 + 1], a
ld a, \1 / $1 % $100