Use new Pokemon::Owner methods

This commit is contained in:
jonisavo
2020-10-16 12:19:15 +03:00
parent 66c255546d
commit 2b2df4ae8f
7 changed files with 11 additions and 14 deletions

View File

@@ -302,7 +302,7 @@ class HallOfFame_Scene
end
pokename+="/"+speciesname
pokename=_INTL("Egg")+"/"+_INTL("Egg") if pokemon.egg?
idno=(pokemon.ot=="" || pokemon.egg?) ? "?????" : sprintf("%05d",pokemon.owner.public_id)
idno=(pokemon.owner.name.empty? || pokemon.egg?) ? "?????" : sprintf("%05d",pokemon.owner.public_id)
dexnumber=pokemon.egg? ? _INTL("No. ???") : _ISPRINTF("No. {1:03d}",pokemon.species)
textPositions=[
[dexnumber,32,Graphics.height-80,0,BASECOLOR,SHADOWCOLOR],