As the title says. I have a page set up to show EVs and IVs (credit: (broken link removed)), and I want to replace where it has the ability to instead display the pokemon's current form name. Is that possible? I don't know what script call to use to display form data of the current pokemon. Here's my relevant coding:
In red are the spots I know I am absolutely doing wrong. I'm not super great with RGSS yet, woops. I appreciate all the help, thank you!
Code:
textpos = [
[_INTL("HP"),248,88,0,base,shadow],
[sprintf("%d/%d",@pokemon.ev[0],@pokemon.iv[0]),456,88,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Attack"),248,120,0,base,statshadows[0]],
[sprintf("%d/%d",@pokemon.ev[1],@pokemon.iv[1]),456,120,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Defense"),248,152,0,base,statshadows[1]],
[sprintf("%d/%d",@pokemon.ev[2],@pokemon.iv[2]),456,152,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Sp. Atk"),248,184,0,base,statshadows[3]],
[sprintf("%d/%d",@pokemon.ev[3],@pokemon.iv[3]),456,184,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Sp. Def"),248,216,0,base,statshadows[4]],
[sprintf("%d/%d",@pokemon.ev[4],@pokemon.iv[4]),456,216,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Speed"),248,248,0,base,statshadows[2]],
[sprintf("%d/%d",@pokemon.ev[5],@pokemon.iv[5]),456,248,1,Color.new(64,64,64),Color.new(176,176,176)],
[_INTL("Form"),224,284,0,base,shadow],
]
pbDrawTextPositions(overlay,textpos)
[COLOR="Red"]formname = pbLoadFormsData(@species)[/COLOR]
drawTextEx(overlay,224,316,282,2,[COLOR="Red"]formname[/COLOR],Color.new(64,64,64),Color.new(176,176,176))
end
In red are the spots I know I am absolutely doing wrong. I'm not super great with RGSS yet, woops. I appreciate all the help, thank you!
Last edited: