summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-14 14:24:35 -0700
committeryenatch <yenatch@gmail.com>2014-06-14 14:24:35 -0700
commit81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689 (patch)
tree6fe00a8968a096b3147b53c8bdb5213d6c58e2e0 /home.asm
parent53ae0e93fad9f4c3eaef92f102b1eeb531e59d68 (diff)
Hall of Fame sram labels and related constants.
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index 9478fa62..b4f50f5e 100644
--- a/home.asm
+++ b/home.asm
@@ -284,7 +284,7 @@ LoadFrontSpriteByMonIndex:: ; 1389 (0:1389)
and a
pop hl
jr z, .invalidDexNumber ; dex #0 invalid
- cp 151 + 1
+ cp NUM_POKEMON + 1
jr c, .validDexNumber ; dex >#151 invalid
.invalidDexNumber
ld a, RHYDON ; $1