From 81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 14 Jun 2014 14:24:35 -0700 Subject: Hall of Fame sram labels and related constants. --- home.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home.asm') 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 -- cgit v1.3.1-sl0p