diff options
author | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-08-07 04:24:06 -0700 |
commit | 525f1b96f390a7b7625574405cad56277f200ef3 (patch) | |
tree | a715da91e46ebd5ba8a2e5eb808f49cf7ff854a2 /engine/hidden_object_functions7.asm | |
parent | 8d30191707758a36b513c4368b9fdb7705730865 (diff) |
named CountSetBits output variable
Diffstat (limited to 'engine/hidden_object_functions7.asm')
-rwxr-xr-x | engine/hidden_object_functions7.asm | 4 |
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 |