summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-05-06 11:48:25 -0400
committerGitHub <noreply@github.com>2020-05-06 11:48:25 -0400
commit8c51de1aba87743013feba24f8b0957b108be215 (patch)
treefa3c85265811598e4f0162f055fbfcfbf64c30c9 /engine
parentd47c5603674414e6afeb34693d6255cfb9dece65 (diff)
parent905833ef8c4ffeffffdafb3a23628521279e87e0 (diff)
Merge pull request #717 from Rangi42/master
Miscellaneous fixes
Diffstat (limited to 'engine')
-rw-r--r--engine/pokedex/pokedex.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokedex/pokedex.asm b/engine/pokedex/pokedex.asm
index 6f500bc37..e60ba1450 100644
--- a/engine/pokedex/pokedex.asm
+++ b/engine/pokedex/pokedex.asm
@@ -887,7 +887,7 @@ Pokedex_UnownModeEraseCursor:
Pokedex_UnownModePlaceCursor:
ld a, [wDexCurUnownIndex]
- ld c, $5a ; diamond cursor
+ ld c, FIRST_UNOWN_CHAR + NUM_UNOWN ; diamond cursor
Pokedex_UnownModeUpdateCursorGfx:
ld e, a
@@ -1333,7 +1333,7 @@ endr
ld h, [hl]
ld l, a
pop af
- add $40 - 1 ; Unown A
+ add FIRST_UNOWN_CHAR - 1 ; Unown A
ld [hl], a
inc de
inc b
@@ -2489,7 +2489,7 @@ Pokedex_LoadUnownFont:
ld bc, (NUM_UNOWN + 1) tiles
call Pokedex_InvertTiles
ld de, sScratch + $188
- ld hl, vTiles2 tile $40
+ ld hl, vTiles2 tile FIRST_UNOWN_CHAR
lb bc, BANK(Pokedex_LoadUnownFont), NUM_UNOWN + 1
call Request2bpp
call CloseSRAM