summaryrefslogtreecommitdiff
path: root/scripts/oakslab.asm
diff options
context:
space:
mode:
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