Added some Gen 8 move effects

This commit is contained in:
Maruno17
2021-06-21 22:17:55 +01:00
parent 9e1e113333
commit 43900dca8c
4 changed files with 355 additions and 65 deletions

View File

@@ -457,6 +457,12 @@ class PokeBattle_Battler
return false
end
def pbGetMoveWithID(move_id)
return nil if !move_id
eachMove { |m| return m if m.id == move_id }
return nil
end
def hasMoldBreaker?
return hasActiveAbility?([:MOLDBREAKER, :TERAVOLT, :TURBOBLAZE])
end