summaryrefslogtreecommitdiff
path: root/engine/hidden_object_functions7.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-07 04:24:06 -0700
committerYamaArashi <shadow962@live.com>2015-08-07 04:24:06 -0700
commit525f1b96f390a7b7625574405cad56277f200ef3 (patch)
treea715da91e46ebd5ba8a2e5eb808f49cf7ff854a2 /engine/hidden_object_functions7.asm
parent8d30191707758a36b513c4368b9fdb7705730865 (diff)
named CountSetBits output variable
Diffstat (limited to 'engine/hidden_object_functions7.asm')
-rwxr-xr-xengine/hidden_object_functions7.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm
index e3c296ca..0753531e 100755
--- a/engine/hidden_object_functions7.asm
+++ b/engine/hidden_object_functions7.asm
@@ -19,8 +19,8 @@ DisplayOakLabRightPoster: ; 1e965 (7:6965)
ld hl, wPokedexOwned
ld b, wPokedexOwnedEnd - wPokedexOwned
call CountSetBits
- ld a, [wd11e]
- cp $2
+ ld a, [wNumSetBits]
+ cp 2
tx_pre_id SaveOptionText
jr c, .ownThreeOrMoreMon
tx_pre_id StrengthsAndWeaknessesText