Size and weight variation: Difference between revisions

Scalar is the term used in code.
(→‎In the core series games: Moved to new section.)
(Scalar is the term used in code.)
Line 215: Line 215:


====Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!====
====Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!====
Unlike in previous games, every Pokémon in {{LGPE}} can vary in both height and weight. The height and weight from previous [[Pokédex]] entries are used as species average height and weight. From there, a Pokémon's height can vary as much as ±40% and their weight can vary as much as ±68%. Additionally, the Pokédex will keep track of the tallest, shortest, heaviest, and lightest Pokémon for every species the player has caught. These variations in height are not visible. Instead, large or small [[wild Pokémon]] will have a red or blue aura, respectively, around them, indicating their abnormal size. After being caught, a Pokémon's height and weight can be viewed in the summary screen.
Unlike in previous games, every Pokémon in {{LGPE}} can vary in both height and weight. The height and weight from previous [[Pokédex]] entries are used as species base height and weight. From there, a Pokémon's height can vary as much as ±40% and their weight can vary as much as ±68%. Additionally, the Pokédex will keep track of the tallest, shortest, heaviest, and lightest Pokémon for every species the player has caught. These variations in height are not visible. Instead, large or small [[wild Pokémon]] will have a red or blue aura, respectively, around them, indicating their abnormal size. After being caught, a Pokémon's height and weight can be viewed in the summary screen.


A Pokémon's height and weight are determined by two separate 8-bit integers, or a value between 0 and 255. These values are obtained by generating two numbers, one between 0 and 127, and the other between 0 and 128. The numbers are then added together, which forms a triangular distribution that results in average-sized Pokémon being more common.<ref>https://twitter.com/Sibuna_Switch/status/1538721164226445312?t=ghyY6XfMoQ1qx_Cb-A1AbA&s=19</ref> However, before the player enters [[Viridian Forest]], the game will use a different formula. The game will generate a single number between 48 and 207,<ref>https://twitter.com/Sibuna_Switch/status/1538721160514387968?t=s9zvAPG2Dwy0TG0-sqzJ3Q&s=19</ref> preventing large or small Pokémon from appearing until the player enters Viridian Forest.
A Pokémon's height and weight are determined by two separate values between 0 and 255, the height scalar and weight scalar respetivly. These values are obtained by generating two numbers, one between 0 and 127, and the other between 0 and 128. The numbers are then added together, which forms a triangular distribution that results in average-sized Pokémon being more common.<ref>https://twitter.com/Sibuna_Switch/status/1538721164226445312?t=ghyY6XfMoQ1qx_Cb-A1AbA&s=19</ref> However, before the player enters [[Viridian Forest]], the game will use a different formula. The game will generate a single number between 48 and 207,<ref>https://twitter.com/Sibuna_Switch/status/1538721160514387968?t=s9zvAPG2Dwy0TG0-sqzJ3Q&s=19</ref> preventing large or small Pokémon from appearing until the player enters Viridian Forest.


The displayed height and weight are calculated as follows;<br>
The displayed height and weight are calculated as follows;<br>
<math>Height_m = \left(\dfrac{\text{HeightInt}}{255} \times 0.8 + 0.6\right) \times \text{BaseHeight}</math><br>
<math>Height_m = \left(\dfrac{\text{HeightInt}}{255} \times 0.79999995f + 0.6\right) \times \text{BaseHeight}</math><br>
<math>Weight_{kg} = \left(\dfrac{\text{WeightInt}}{255} \times 0.4 + 0.8\right) \times \left(\dfrac{\text{HeightInt}}{255} \times 0.8 + 0.6\right) \times \text{BaseWeight}</math>
<math>Weight_{kg} = \left(\dfrac{\text{WeightInt}}{255} \times 0.40000004 + 0.79999995f\right) \times \left(\dfrac{\text{HeightInt}}{255} \times 0.8 + 0.6\right) \times \text{BaseWeight}</math>


Pokémon come in five size groups determined by height. XS, S, AV, L, and XL. The odds of encountering a Pokémon with more extreme height and weight values can be increased by building up a [[Catch Combo]] and using [[Lure]]s. Using these methods will cause the game to reroll a Pokémon's height and weight values, saving whichever number is the furthest from 128. Lures provide 1 additional roll, while the final tier of a catch combo can create 6 rolls.<ref>https://twitter.com/Sibuna_Switch/status/1538721156932444161?t=WPreni8X7OGiRxJYj_oyzA&s=19</ref> These rerolls can still occur before entering Viridian Forest but will never result in a large or small Pokémon.
Pokémon come in five size groups determined by height. XS, S, AV, L, and XL. The odds of encountering a Pokémon with more extreme scalar values can be increased by building up a [[Catch Combo]] and using [[Lure]]s. Using these methods will cause the game to reroll a Pokémon's height scalar and weight values, saving whichever number is the furthest from 128. Lures provide 1 additional roll, while the final tier of a catch combo can create 6 rolls.<ref>https://twitter.com/Sibuna_Switch/status/1538721156932444161?t=WPreni8X7OGiRxJYj_oyzA&s=19</ref> These rerolls can still occur before entering Viridian Forest but will never result in a large or small Pokémon.


{| class="roundy" style="text-align:center; background:#{{kanto color}}; border:3px solid #{{kanto color dark}}; {{roundy|10px}} padding:1px; margin:auto"
{| class="roundy" style="text-align:center; background:#{{kanto color}}; border:3px solid #{{kanto color dark}}; {{roundy|10px}} padding:1px; margin:auto"
Line 287: Line 287:
===Generation VIII===
===Generation VIII===
====Pokémon Sword and Shield====
====Pokémon Sword and Shield====
While {{g|Sword and Shield}} still generate individual height and weight values the same way as before, these values go unused unless transferred to a game that supports them.
While {{g|Sword and Shield}} generate individual height and weight scalar values the same way as before, these values go unused unless transferred to a game that supports them.


====Pokémon Brilliant Diamond and Shining Pearl====
====Pokémon Brilliant Diamond and Shining Pearl====
{{incomplete|section|needs=How are Remoraid judged in BDSP?}}
{{incomplete|section|needs=How are Remoraid judged in BDSP?}}
While {{g|Brilliant Diamond and Shining Pearl}} still generate individual height and weight values, these values go unused unless transferred to a game that supports them.
While {{g|Brilliant Diamond and Shining Pearl}} generate individual height and weight scalar values the same way as before, these values go unused unless transferred to a game that supports them.


====Pokémon Legends: Arceus====
====Pokémon Legends: Arceus====
Pokémon once again vary in both height and weight in {{g|Legends: Arceus}}, and variations in height are now visible with every Pokémon. Additionally, [[alpha Pokémon]] appear as much larger versions of normal Pokémon. Every alpha Pokémon has their height and weight values automatically set to 255. From there, height and weight receive an additional multiplier. This multiplier is unique for every species, and in some cases, like {{p|Basculegion}}, this multiplier may even be 1×.
Pokémon once again vary in both height and weight in {{g|Legends: Arceus}}, and variations in height are now visible with every Pokémon. Additionally, [[alpha Pokémon]] appear as much larger versions of normal Pokémon. Every alpha Pokémon has their height scalar and weight scalar values automatically set to 255. From there, height and weight receive an additional multiplier. This multiplier is unique for every species, and in some cases, like {{p|Basculegion}}, this multiplier may even be 1×.


Several {{OBP|Research task|Legends: Arceus}}s may require the player to catch tall, short, heavy, and light specimens. Because alpha Pokémon have both values set to 255, they will always count as tall and heavy for the research task.
Several {{OBP|Research task|Legends: Arceus}}s may require the player to catch tall, short, heavy, and light specimens. Because alpha Pokémon have both scalars set to 255, they will always count as tall and heavy for the research task.


Before {{g|Scarlet and Violet}} received integration with {{g|HOME}} in HOME v3.0.0, Pokémon originating from {{g|Ultra Sun and Ultra Moon}} or earlier that were then transferred into Legends: Arceus received minimum heights and weights (values of 0, as prior to {{LGPE|Let's Go, Pikachu! and Let's Go, Eevee!}}, height and weight were not generated as distinct values); following the update, randomized heights and weights will be assigned to them instead, provided they haven't been assigned a size already by being transferred to another [[Generation VIII]] or {{gen|IX}} game.
Before {{g|Scarlet and Violet}} received integration with {{g|HOME}} in HOME v3.0.0, Pokémon originating from {{g|Ultra Sun and Ultra Moon}} or earlier that were then transferred into Legends: Arceus received minimum scalar values (values of 0, as prior to {{LGPE|Let's Go, Pikachu! and Let's Go, Eevee!}}, height and weight were not generated as distinct values); following the update, randomized height and weight scalars will be assigned to them instead, provided they haven't been assigned a size already by being transferred to another [[Generation VIII]] or {{gen|IX}} game.


The following Pokémon are size and weight locked, and when caught, will always have a size and weight value of 127.
The following Pokémon are height and weight locked, and when caught, will always have a scalar value of 127.
{| class="roundy" style="text-align:center; background:#{{legends arceus color}}; border:3px solid #{{legends arceus color dark}}; {{roundy|10px}} padding:1px; margin:auto"
{| class="roundy" style="text-align:center; background:#{{legends arceus color}}; border:3px solid #{{legends arceus color dark}}; {{roundy|10px}} padding:1px; margin:auto"
! style="background:#{{legends arceus color light}}; {{roundytl|10px}}" | Icon
! style="background:#{{legends arceus color light}}; {{roundytl|10px}}" | Icon
Line 360: Line 360:
====Pokémon Scarlet and Violet====
====Pokémon Scarlet and Violet====
=====Versions 1.0 & 1.1=====
=====Versions 1.0 & 1.1=====
While {{g|Scarlet and Violet}} still generate individual height and weight values, these values go unused. Instead, a new Scale value is used to replace height, and is generated in the same way. Height can vary as much as ±20%, and weight no longer varies at all.
While {{g|Scarlet and Violet}} generate individual height and weight scalar values the same way as before, these values go unused unless transferred to a game that supports them. Instead, a new Scale value is used to replace height scalar, and is generated in the same way. Height can vary as much as ±20%, and weight no longer varies at all.


Pokémon come in several size groups, and their scale can be judged by a Hiker next to the West [[Mesagoza]] [[Pokémon Center]]. If the player shows off a Pokemon with a scale of 255 or 0, the {{tc|Hiker}} will give that Pokémon a Jumbo or Mini [[Mark]], respectively. The scale of a Pokémon can be influenced by [[Sandwich|Meal Powers]], with Humungo Power increasing the odds of finding large Pokémon, and Teensy Power increasing the odds of finding small Pokémon. This is done by limiting the scale range of any Pokémon spawns that match the Meal Power's type. Instead of generating two values and adding them together, Meal Powers will only generate a single random number in that range. If a Pokémon is affected by both a Humungo and Teensy power at the same time, its Scale can generate in either range.<ref>https://twitter.com/Sibuna_Switch/status/1602863369249488896?t=0mXUE9mHJ7wosMcypBAb7Q&s=19</ref>
Pokémon come in several size groups, and their scale can be judged by a Hiker next to the West [[Mesagoza]] [[Pokémon Center]]. If the player shows off a Pokemon with a scale of 255 or 0, the {{tc|Hiker}} will give that Pokémon a Jumbo or Mini [[Mark]], respectively. The scale of a Pokémon can be influenced by [[Sandwich|Meal Powers]], with Humungo Power increasing the odds of finding large Pokémon, and Teensy Power increasing the odds of finding small Pokémon. This is done by limiting the scale range of any Pokémon spawns that match the Meal Power's type. Instead of generating two values and adding them together, Meal Powers will only generate a single random number in that range. If a Pokémon is affected by both a Humungo and Teensy power at the same time, its Scale can generate in either range.<ref>https://twitter.com/Sibuna_Switch/status/1602863369249488896?t=0mXUE9mHJ7wosMcypBAb7Q&s=19</ref>
5,179

edits