User blog:Letztes/Vivillon Patterns

Vivillon is a butterfly-like Pokémon with wings that come in a large variety of patterns. Vivillon's thorax is an elliptical shape divided into three segments, each with a different shade of gray. Its legs are also elliptical which are black on the lower half and grayish on the upper half. Vivillon has two black, circular hands and no visible arms. It has a round, grayish head with large, black, pixelated eyes and a pair of skinny antenna. Vivillon's wing pattern depends on the real-world geographic location set on the game the Pokémon was generated in. There are a total of 20 known patterns.

In the PBB world is only 18 of the 20 patterns available and instead of be based on the real-world geographic location, is based in the ID of the player. Each pattern is calculated by the following mathematical operation: "PlayerID mod 18".

mod : Given two numbers, a (the dividend) and n (the divisor), a modulo n (abbreviated as a mod n) is the remainder from the division of a by n. For instance, the expression "7 mod 5" would evaluate to 2 because 7 divided by 5 leaves a remainder of 2, while "10 mod 5" would evaluate to 0 because the division of 10 by 5 leaves a remainder of 0.

This mathematical operation will result in a number between 0 and 17 and each pattern is associated with this number. this a table with all the pattern and the associated mod.