mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Makes it not possible to put hats on triple fusions (temp fix to prevent crash)
This commit is contained in:
@@ -314,4 +314,8 @@ def randomizePlayerOutfit()
|
||||
$Trainer.skin_tone = [1,2,3,4,5,6].sample
|
||||
$Trainer.hair = getFullHairId(hair_id,hair_color)
|
||||
|
||||
end
|
||||
|
||||
def canPutHatOnPokemon(pokemon)
|
||||
return !pokemon.egg? && !pokemon.isTripleFusion? && $game_switches[SWITCH_UNLOCKED_POKEMON_HATS]
|
||||
end
|
||||
Reference in New Issue
Block a user