aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokedex_rating.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-05-20 19:40:33 -0500
committerdannye <33dannye@gmail.com>2020-05-20 20:02:53 -0500
commit10f9559eab8c93b94abb8ae8d1083704ad4e169a (patch)
tree7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /engine/pokedex_rating.asm
parentMerge pull request #39 from TiKevin83/master (diff)
downloadpokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.tar.gz
pokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.tar.xz
pokeyellow-10f9559eab8c93b94abb8ae8d1083704ad4e169a.zip
Sync with pokered
Diffstat (limited to 'engine/pokedex_rating.asm')
-rwxr-xr-xengine/pokedex_rating.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokedex_rating.asm b/engine/pokedex_rating.asm
index 97bbfc24..4dfb6b39 100755
--- a/engine/pokedex_rating.asm
+++ b/engine/pokedex_rating.asm
@@ -42,7 +42,7 @@ DisplayDexRating:
inc de
.copyRatingTextLoop
ld a, [hli]
- cp a, "@"
+ cp "@"
jr z, .doneCopying
ld [de], a
inc de
@@ -86,7 +86,7 @@ DexRatingsTable:
dw DexRatingText_Own130To139
db 150
dw DexRatingText_Own140To149
- db 152
+ db NUM_POKEMON + 1
dw DexRatingText_Own150To151
DexRatingText_Own0To9: