summaryrefslogtreecommitdiff
path: root/scripts/oakslab.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-02-20 00:56:30 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-02-20 01:01:57 -0500
commit084c8407d879e114453147b737528da46f3b1cb5 (patch)
tree9a79ad35940fa484c1faead3b95bf0820bc18c53 /scripts/oakslab.asm
parentb65c6e815643a1cbce8c7c3cd48fc9881bb56d01 (diff)
Remove hard-coded wPokedexOwned/wPokedexSeen array size
Diffstat (limited to 'scripts/oakslab.asm')
-rwxr-xr-xscripts/oakslab.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm
index 6b7d5e1e..8f23cd3e 100755
--- a/scripts/oakslab.asm
+++ b/scripts/oakslab.asm
@@ -944,7 +944,7 @@ OaksLabText5: ; 1d248 (7:5248)
bit 6, a
jr nz, .asm_50e81 ; 0x1d24e
ld hl, wPokedexOwned
- ld b, $13
+ ld b, wPokedexOwnedEnd - wPokedexOwned
call CountSetBits
ld a, [wd11e]
cp $2