bugfixes 1.6, battle lag, event crashes, mt. silver event (wip)

This commit is contained in:
infinitefusion
2021-10-03 14:01:09 -04:00
parent b51c2afcae
commit 26cc4c20ce
38 changed files with 103 additions and 11 deletions

View File

@@ -612,7 +612,7 @@ end
def pbRockSmash
move = :ROCKSMASH
movefinder = $Trainer.get_pokemon_with_move(move)
if !pbCheckHiddenMoveBadge(Settings::BADGE_FOR_ROCKSMASH, false) || (!$DEBUG && !movefinder)
if !pbCheckHiddenMoveBadge(Settings::BADGE_FOR_ROCKSMASH, false) || (!$DEBUG && !movefinder) || $PokemonBag.pbQuantity(:PICKAXE)>0
pbMessage(_INTL("It's a rugged rock, but a Pokémon may be able to smash it."))
return false
end