ref: f399315a489c7eff28ec1941c41d12264fb38039
parent: d5f94e9ee5a2f5ec8fb26c29d74c02531fc79c5a
author: IIMarckus <iimarckus@gmail.com>
date: Tue Oct 13 13:50:58 EDT 2015
Unicode
--- a/event/magikarp.asm
+++ b/event/magikarp.asm
@@ -81,7 +81,7 @@
; 0xfbbae
Magikarp_LoadFeetInchesChars: ; fbbae
- ld hl, VTiles2 + "<FOOT>" * $10
+ ld hl, VTiles2 + "′" * $10
ld de, .feetinchchars
lb bc, BANK(.feetinchchars), 2
call Request2bpp
@@ -98,12 +98,12 @@
ld de, Buffer1
lb bc, PRINTNUM_RIGHTALIGN | 1, 2
call PrintNum
- ld [hl], "<FOOT>"
+ ld [hl], "′"
inc hl
ld de, Buffer2
lb bc, PRINTNUM_RIGHTALIGN | 1, 2
call PrintNum
- ld [hl], "<INCH>"
+ ld [hl], "″"
inc hl
ld [hl], "@"
ret
@@ -127,9 +127,9 @@
; bc = rrc(dv[0]) ++ rrc(dv[1]) ^ rrc(id)
-; if bc < 10: [MagikarpLength] = c + 190
-; if bc >= $ff00: [MagikarpLength] = c + 1370
-; else: [MagikarpLength] = z * 100 + (bc - x) / y
+; if bc < 10: [MagikarpLength] = c + 190
+; if bc ≥ $ff00: [MagikarpLength] = c + 1370
+; else: [MagikarpLength] = z × 100 + (bc − x) / y
; X, Y, and Z depend on the value of b as follows:
@@ -216,7 +216,7 @@
ld a, [hQuotient + 2]
ld c, a
- ; de = c + 100 * (2 + i)
+ ; de = c + 100 × (2 + i)
xor a
ld [hMultiplicand + 0], a
ld [hMultiplicand + 1], a
@@ -249,7 +249,7 @@
ld e, l
.done
- ; hl = de * 10
+ ; hl = de × 10
ld h, d
ld l, e
rept 2
--- a/macros/charmap.asm
+++ b/macros/charmap.asm
@@ -10,8 +10,8 @@
charmap "└", $7d
charmap "┘", $7e
charmap " ", $7f
- charmap "<FOOT>", $6e
- charmap "<INCH>", $6f
+ charmap "′", $6e
+ charmap "″", $6f
charmap "A", $80