Pokérus: Difference between revisions

198 bytes removed ,  19 April 2023
m
Undo revision 3698990 by Atrius97 (talk) Actually going to backtrack that one, I'm not 100% on the z80 assembly so I'll just leave it at "emerald onward" for now.ar on the
m (→‎In the games: Gen 2 does generate strain 8, but not 0.)
m (Undo revision 3698990 by Atrius97 (talk) Actually going to backtrack that one, I'm not 100% on the z80 assembly so I'll just leave it at "emerald onward" for now.ar on the)
Tag: Undo
Line 53: Line 53:
Whenever the Pokérus spreads from an infected Pokémon to a new Pokémon, the new Pokémon inherits the infected Pokémon's strain of the Pokérus ('''X''') and '''Y''' is copied directly from the infected Pokémon. As an example, if a Pokémon has the Pokérus with an '''X''' value of 7 and a '''Y''' value of 2 (2 days remaining before it will be cured) and it infects another Pokémon, the new Pokémon will be infected with Pokérus with an '''X''' value of 7 and a '''Y''' value of 2. Infecting other Pokémon does not reset the '''Y''' value to the default value for a given strain on the newly infected Pokémon, nor for the original host.
Whenever the Pokérus spreads from an infected Pokémon to a new Pokémon, the new Pokémon inherits the infected Pokémon's strain of the Pokérus ('''X''') and '''Y''' is copied directly from the infected Pokémon. As an example, if a Pokémon has the Pokérus with an '''X''' value of 7 and a '''Y''' value of 2 (2 days remaining before it will be cured) and it infects another Pokémon, the new Pokémon will be infected with Pokérus with an '''X''' value of 7 and a '''Y''' value of 2. Infecting other Pokémon does not reset the '''Y''' value to the default value for a given strain on the newly infected Pokémon, nor for the original host.


In {{g|Emerald}} onward, '''X''' values of 0 and 8 do not generate legitimately, as the [[RNG]] doesn't permit these values to generate. Additionally with a value of 0, upon being "cured" the Pokémon would appear to have never had the Pokérus at all. [[Generation II]] will generate '''X''' values of 8, but not 0.<ref>https://github.com/pret/pokecrystal/blob/2fe0cbbb19df504723934f39473064033c64ef6f/engine/events/pokerus/pokerus.asm#L43-L58</ref>
In {{g|Emerald}} onward, '''X''' values of 0 and 8 do not generate legitimately, as the [[RNG]] doesn't permit these values to generate. Additionally with a value of 0, upon being "cured" the Pokémon would appear to have never had the Pokérus at all.


===After having the virus===
===After having the virus===
1,543

edits