Coded some Gen 9 ability/item/move effects

This commit is contained in:
Maruno17
2024-06-15 15:58:31 +01:00
parent 454d5a216a
commit 22b33ca6c2
35 changed files with 596 additions and 234 deletions

View File

@@ -270,8 +270,21 @@ MultipleForms.register(:ROTOM, {
}
})
MultipleForms.register(:DIALGA, {
"getForm" => proc { |pkmn|
next pkmn.hasItem?(:ADAMANTCRYSTAL) ? 1 : 0
}
})
MultipleForms.register(:PALKIA, {
"getForm" => proc { |pkmn|
next pkmn.hasItem?(:LUSTROUSGLOBE) ? 1 : 0
}
})
MultipleForms.register(:GIRATINA, {
"getForm" => proc { |pkmn|
next 1 if pkmn.hasItem?(:GRISEOUSCORE)
next 1 if pkmn.hasItem?(:GRISEOUSORB) && Settings::MECHANICS_GENERATION <= 8
next 1 if $game_map&.metadata&.has_flag?("DistortionWorld")
next 0