Removed all deprecated code slated for removal, removed support for pre-v19 save files

This commit is contained in:
Maruno17
2021-06-20 18:37:37 +01:00
parent 53d27d3cf5
commit ca09e8c092
25 changed files with 4 additions and 1561 deletions

View File

@@ -101,7 +101,6 @@ class PokeBattle_Battler
end
def fainted?; return @hp<=0; end
alias isFainted? fainted?
attr_reader :status
@@ -138,7 +137,6 @@ class PokeBattle_Battler
end
def mega?; return @pokemon && @pokemon.mega?; end
alias isMega? mega?
def hasPrimal?
return false if @effects[PBEffects::Transform]
@@ -146,10 +144,8 @@ class PokeBattle_Battler
end
def primal?; return @pokemon && @pokemon.primal?; end
alias isPrimal? primal?
def shadowPokemon?; return false; end
alias isShadow? shadowPokemon?
def inHyperMode?; return false; end
@@ -187,7 +183,6 @@ class PokeBattle_Battler
return @effects[PBEffects::Illusion].shiny? if @effects[PBEffects::Illusion]
return @pokemon && @pokemon.shiny?
end
alias isShiny? shiny?
def owned?
return false if !@battle.wildBattle?