Resource icon

Resource Size Method for Pokemon 2018-07-01

Vendily

Cooltrainer
Member
Joined
May 16, 2017
Posts
130
Vendily submitted a new resource:

Size Method for Pokemon - For the NPCs who want to see the biggest one

So in Gens 3 and 4, there are NPCs who ask to see the biggest Pokémon of a certain species. This is calculated based on the personal ID and IVs. I won't explain the entire formula because Bulbapedia has already done that.

So just paste this script in your class PokeBattle_Pokemon and call it on a Pokémon instance. It returns the result in millimeters. Interpret the result however you like.

Read more about this resource...
 

A.J1

Extra
Member
Joined
Jul 5, 2018
Posts
70
Age
15
It can control size right?
 

Vendily

Cooltrainer
Member
Joined
May 16, 2017
Posts
130
Essentials already has this. It's def pbSize(pokemon).
Aw man, it does? I didn't even see it. I edit the Resource to let people know.
 

Vendily

Cooltrainer
Member
Joined
May 16, 2017
Posts
130

Vendily

Cooltrainer
Member
Joined
May 16, 2017
Posts
130
It can control size right?
Neither this nor the default size method can control the size, the size is calculated based of the personal ID and the individual IVs. You could add a sizeflag though, like the natureflag or shinyflag variables.
 
Top