Scents now end Hyper Mode, Time Flute now purifies a Shadow Pokémon, Shadow Pokémon now regain 80% of the Exp they missed out on, non-Scent items can't be used on Shadow Pokémon in Hyper Mode

This commit is contained in:
Maruno17
2022-06-13 21:09:48 +01:00
parent 732c167ad5
commit 301ecb0ac7
5 changed files with 37 additions and 12 deletions

View File

@@ -685,6 +685,7 @@ class PokemonParty_Scene
ret = screen.pbChooseItemScreen(proc { |item|
itm = GameData::Item.get(item)
next false if !pbCanUseOnPokemon?(itm)
next false if pokemon.hyper_mode && !GameData::Item.get(item)&.is_scent?
if itm.is_machine?
move = itm.move
next false if pokemon.hasMove?(move) || !pokemon.compatible_with_move?(move)