Fixed typo in Conversion's code that treated a type as an item

This commit is contained in:
Maruno17
2021-07-22 18:35:30 +01:00
parent 4d9c8feb81
commit 1bd5652a3a

View File

@@ -1803,7 +1803,7 @@ class PokeBattle_Move_05E < PokeBattle_Move
def pbEffectGeneral(user)
newType = @newTypes[@battle.pbRandom(@newTypes.length)]
user.pbChangeTypes(newType)
typeName = GameData::Item.get(newType).name
typeName = GameData::Type.get(newType).name
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",user.pbThis,typeName))
end
end