nza
22-09-2008, 01:32 AM
I have used the jscript IV Calculator that you guys allow others to use on my website for sometime now.
With the new Formes in Platinum I decided to make the few updates needed to that script. You made it so I'm sure that you know it like the back of your hand but any rate I figured, since you were kind enough to create and share it, that I would simply post the changes I made to it here...
In the HTML
In the script...
And that should do it. I would have just linked you to the caculator on my
website but I've changed it a bit and so it wouldn't be a simple copy/paste job for you.
Anyways, thanks so much for sharing the script and I hope this helps!
With the new Formes in Platinum I decided to make the few updates needed to that script. You made it so I'm sure that you know it like the back of your hand but any rate I figured, since you were kind enough to create and share it, that I would simply post the changes I made to it here...
In the HTML
Code:
Find:
<option value=\"487\" class=\"dp\">Giratina</option>
Replace with:
<option value=\"487\" class=\"dp\">Giratina (Another Forme)</option>
<option value=\"501\" class=\"dp\">Giratina (Origin Forme)</option>
Find:
<option value=\"479\" class=\"dp\">Rotom</option>
Add After:
<option value=\"503\" class=\"dp\">Rotom (Cut Forme)</option>
<option value=\"504\" class=\"dp\">Rotom (Frost Forme)</option>
<option value=\"505\" class=\"dp\">Rotom (Heat Forme)</option>
<option value=\"506\" class=\"dp\">Rotom (Spin Forme)</option>
<option value=\"507\" class=\"dp\">Rotom (Wash Forme)</option>
Find:
<option value=\"492\" class=\"dp\">Shaymin</option>
Replace With:
<option value=\"492\" class=\"dp\">Shaymin (Land Forme)</option>
<option value=\"502\" class=\"dp\">Shaymin (Sky Forme)</option>
In the script...
Code:
Go to:
var pokemon = new Array("0,0,0,0,0,0",
Find:
End of line
Before:
);
Add:
,"150,120,100,120,100,90","100,103,75,120,75,127","50,65,107,105,107,86","50,65,107,105,107,86","50,65,107,105,107,86","50,65,107,105,107,86","50,65,107,105,107,86"
Find:
function display_sprite() {
After (your image name may differ!):
if (img == 500) { img = '413-T'; }
Add (again, your image names may differ, just know that the Rotom Formes 503-507 are being listed alphabetically by the Forme names Serebii has determined/Coronis probably translated):
if (img == 501) { img = '487-o'; }
if (img == 502) { img = '492-s'; }
if (img == 503) { img = '479-c'; }
if (img == 504) { img = '479-f'; }
if (img == 505) { img = '479-h'; }
if (img == 506) { img = '479-s'; }
if (img == 507) { img = '479-w'; }
And that should do it. I would have just linked you to the caculator on my
website but I've changed it a bit and so it wouldn't be a simple copy/paste job for you.
Anyways, thanks so much for sharing the script and I hope this helps!