mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 22:36:03 +00:00
Added class Data::Ability and made all code use symbols for abilities instead of numbers. Also added class Data::Item but it's unused.
This commit is contained in:
@@ -430,10 +430,10 @@ module PokemonDebugMixin
|
||||
cmd = 0
|
||||
loop do
|
||||
abils = pkmn.getAbilityList
|
||||
oldabil = PBAbilities.getName(pkmn.ability)
|
||||
oldabil = (pkmn.ability) ? pkmn.ability.name : "No ability"
|
||||
commands = []
|
||||
for i in abils
|
||||
commands.push(((i[1]<2) ? "" : "(H) ")+PBAbilities.getName(i[0]))
|
||||
commands.push(((i[1]<2) ? "" : "(H) ") + Data::Ability.get(i[0]).name)
|
||||
end
|
||||
commands.push(_INTL("Remove override"))
|
||||
msg = [_INTL("Ability {1} is natural.",oldabil),
|
||||
|
||||
Reference in New Issue
Block a user