Added $player.has_box_link and $player.has_exp_all in addition to those items

This commit is contained in:
Maruno17
2021-12-14 22:33:46 +00:00
parent 7d2e1027cd
commit b706843888
3 changed files with 8 additions and 2 deletions

View File

@@ -1151,7 +1151,7 @@ class PokemonPartyScreen
def pbPokemonScreen
can_access_storage = false
if $bag.has?(:POKEMONBOXLINK)
if $player.has_box_link || $bag.has?(:POKEMONBOXLINK)
if !$game_switches[Settings::DISABLE_BOX_LINK_SWITCH] &&
!$game_map.metadata&.has_flag?("DisableBoxLink")
can_access_storage = true