Remove hard-coded wPokedexOwned/wPokedexSeen array size

This commit is contained in:
U-Daniel-PC\Daniel 2015-02-20 00:56:30 -05:00
parent b65c6e8156
commit 084c8407d8
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ HandlePokedexListMenu: ; 40111 (10:4111)
call PlaceString
; find the highest pokedex number among the pokemon the player has seen
ld hl,wPokedexSeenEnd - 1
ld b,153
ld b,(wPokedexSeenEnd - wPokedexSeen) * 8 + 1
.maxSeenPokemonLoop
ld a,[hld]
ld c,8