Makes it not possible to put hats on triple fusions (temp fix to prevent crash)

This commit is contained in:
infinitefusion
2025-01-06 00:31:43 -05:00
parent 7a2978a329
commit fdd672c0de
9 changed files with 1623 additions and 8785 deletions

View File

@@ -1254,7 +1254,7 @@ class PokemonPartyScreen
end
end
commands[cmdSwitch = commands.length] = _INTL("Switch") if @party.length > 1
commands[cmdHat = commands.length] = _INTL("Hat") if !pkmn.egg? && $game_switches[SWITCH_UNLOCKED_POKEMON_HATS]
commands[cmdHat = commands.length] = _INTL("Hat") if canPutHatOnPokemon(pkmn)
if !pkmn.egg?
if pkmn.mail
commands[cmdMail = commands.length] = _INTL("Mail")