summaryrefslogtreecommitdiff
path: root/event
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 12:24:50 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-09 12:57:23 -0500
commit6a41d4f63e8fb9f14e1c0a4a9ace062dac747432 (patch)
treef522ef78035e375c90ce8748bbbf69284442ef45 /event
parent512863989fb2cb17bcca2f27a61fe3fa8f567b9a (diff)
Define more charmap characters and use them in place of hard-coded numbers
Diffstat (limited to 'event')
-rwxr-xr-xevent/halloffame.asm10
-rw-r--r--event/magikarp.asm2
2 files changed, 7 insertions, 5 deletions
diff --git a/event/halloffame.asm b/event/halloffame.asm
index 8d542addb..e1870b8ac 100755
--- a/event/halloffame.asm
+++ b/event/halloffame.asm
@@ -1,3 +1,5 @@
+HALLOFFAME_COLON EQU $63
+
HallOfFame:: ; 0x8640e
call HallOfFame_FadeOutMusic
ld a, [StatusFlags]
@@ -487,7 +489,7 @@ DisplayHOFMon: ; 86748
hlcoord 1, 13
ld a, "№"
ld [hli], a
- ld [hl], "·"
+ ld [hl], "<PERIOD>"
hlcoord 3, 13
ld de, wd265
lb bc, PRINTNUM_LEADINGZEROS | 1, 3
@@ -531,8 +533,8 @@ DisplayHOFMon: ; 86748
HOF_AnimatePlayerPic: ; 86810
call ClearBGPalettes
- ld hl, VTiles2 tile $63
- ld de, FontExtra + 13 tiles
+ ld hl, VTiles2 tile HALLOFFAME_COLON
+ ld de, FontExtra + 13 tiles ; "<COLON>"
lb bc, BANK(FontExtra), 1
call Request2bpp
hlcoord 0, 0
@@ -604,7 +606,7 @@ HOF_AnimatePlayerPic: ; 86810
ld de, GameTimeHours
lb bc, 2, 3
call PrintNum
- ld [hl], 99
+ ld [hl], HALLOFFAME_COLON
inc hl
ld de, GameTimeMinutes
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
diff --git a/event/magikarp.asm b/event/magikarp.asm
index f926196cd..649760c1d 100644
--- a/event/magikarp.asm
+++ b/event/magikarp.asm
@@ -79,7 +79,7 @@ Special_CheckMagikarpLength: ; fbb32
; 0xfbbae
Magikarp_LoadFeetInchesChars: ; fbbae
- ld hl, VTiles2 tile "′"
+ ld hl, VTiles2 tile "′" ; $6e
ld de, .feetinchchars
lb bc, BANK(.feetinchchars), 2
call Request2bpp