Pokérus: Difference between revisions

Pokémon Center Nurse → Pokémon Center lady
(Pokémon Center Nurse → Pokémon Center lady)
 
(17 intermediate revisions by 5 users not shown)
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 [[Generation II]] and {{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.
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===
Line 60: Line 60:
===Differences between generations===
===Differences between generations===
====Generation II====
====Generation II====
When the player first encounters the virus in one of the [[Generation II]] games, the [[Pokémon Center Nurse|nurse]] at the [[Pokémon Center]] will make note of it when the Pokémon is first healed after contracting it, saying that there are "tiny life forms" on the Pokémon. After leaving the Pokémon Center, [[Professor Elm]] will call the player to tell them that the virus has no effect and will wear off. A Pokémon with active Pokérus will list its status as such, and a Pokémon that has had the Pokérus and is cured will have a small dot near its HP meter on the status screen. At the end of a battle, the virus has a 1/3 chance to spread. If the infected Pokémon is adjacent to two Pokémon who have never had it before, one of them will catch the Pokérus. Pokérus can infect {{pkmn|Egg}}s as well. An indicator for Pokérus will not show up on the {{pkmn|Egg}}'s status screen, but once it hatches, it will appear under its status on the status screen like normal.
When the player first encounters the virus in one of the [[Generation II]] games, the [[Pokémon Center lady]] at the [[Pokémon Center]] will make note of it when the Pokémon is first healed after contracting it, saying that there are "tiny life forms" on the Pokémon. After leaving the Pokémon Center, [[Professor Elm]] will call the player to tell them that the virus has no effect and will wear off. A Pokémon with active Pokérus will list its status as such, and a Pokémon that has had the Pokérus and is cured will have a small dot near its HP meter on the status screen. At the end of a battle, the virus has a 1/3 chance to spread. If the infected Pokémon is adjacent to two Pokémon who have never had it before, one of them will catch the Pokérus. Pokérus can infect {{pkmn|Egg}}s as well. An indicator for Pokérus will not show up on the {{pkmn|Egg}}'s status screen, but once it hatches, it will appear under its status on the status screen like normal.


If a Pokémon with any stage of the Pokérus (active or cured) is traded back to a [[Generation I]] game, or withdrawn from [[Pokémon Stadium 2]] by a Generation I game, all traces of that Pokémon having had the Pokérus will disappear. This is because a Pokémon's Pokérus status is not saved in any form in the Generation I games, thereby making it possible for a Pokémon to legitimately contract the Pokérus multiple times by trading it back and forth, once it becomes cured of a given infection. The only benefit of doing so would be to allow other Pokémon to contract the virus.
If a Pokémon with any stage of the Pokérus (active or cured) is traded back to a [[Generation I]] game, or withdrawn from [[Pokémon Stadium 2]] by a Generation I game, all traces of that Pokémon having had the Pokérus will disappear. This is because a Pokémon's Pokérus status is not saved in any form in the Generation I games, thereby making it possible for a Pokémon to legitimately contract the Pokérus multiple times by trading it back and forth, once it becomes cured of a given infection. The only benefit of doing so would be to allow other Pokémon to contract the virus.


The Pokérus cannot randomly occur before the player has visited [[Goldenrod City]]<ref>[https://github.com/pret/pokegold/blob/74bffc2c8dd0b5b1873e51bc53e83177f35f7020/engine/events/pokerus/pokerus.asm#L19-L20 pret/pokegold: pokerus.asm lines 19-20]</ref> (but it may spread between Pokémon before then). If a Pokémon in the party has the Pokérus, other Pokémon cannot randomly contract it; they can only receive it from that Pokémon.<ref>[https://github.com/pret/pokegold/blob/74bffc2c8dd0b5b1873e51bc53e83177f35f7020/engine/events/pokerus/pokerus.asm#L7-L10 pret/pokegold: pokerus.asm lines 7-10]</ref>
The Pokérus cannot randomly occur before the player has visited [[Goldenrod City]]<ref>[https://github.com/pret/pokegold/blob/74bffc2c8dd0b5b1873e51bc53e83177f35f7020/engine/events/pokerus/pokerus.asm#L19-L20 pret/pokegold: pokerus.asm lines 19-20]</ref> (but it may spread between Pokémon before then). If a Pokémon in the party has the Pokérus, other Pokémon cannot randomly contract it; they can only receive it from that Pokémon.<ref>[https://github.com/pret/pokegold/blob/74bffc2c8dd0b5b1873e51bc53e83177f35f7020/engine/events/pokerus/pokerus.asm#L7-L10 pret/pokegold: pokerus.asm lines 7-10]</ref>
=====Infection and spread details=====
{{incomplete|section|needs=Description of the random byte generation algorithm, which is that used by other random byte-needing routines}}
The party is first iterated over to determine if any member has the Pokérus. If so, the spread code is called for each member with the Pokérus and not the new infection code, and if not vice versa.
The spread code checks if a random byte is less than 85 and if the party has multiple members before proceeding as follows: if the spreader is the last party member, or if a random byte is less than 128, iterate backwards, otherwise iterate forwards. If the member being iterated over has an active infection, they are skipped over and become the spreader. If they are clear and never had the Pokérus, they are infected. The '''Y''' value for an infection is generated from the '''X''' value as it is for a spontaneous infection, unlike in future games where it is copied. The iteration stops when a member is newly infected, when it reaches a cured member, or when it would be about to pass through the beginning or end of the party.
The new infection code first checks if the flag for having visited Goldenrod City is set, terminating if not. Then, it checks if a random byte is equal to zero and another random byte is less than three, terminating if not. It then chooses a random party member by generating a random byte and keeping its bottom three bits (bitwise ''and'' with seven), rerolling until that number is a valid party index. If that party member has ever had the Pokérus, the code terminates. Otherwise, a random byte is rolled, rerolling if zero until not zero. This byte shall be represented as '''AB''' (not to be confused with registers A and B) in the same way that the Pokérus byte is represented as '''XY'''. If '''A''' is not zero, '''B''''s bottom three bits (bitwise ''and'' with seven) are copied as a four-bit value, incremented, and put into '''X''', and '''X''''s bottom two bits (bitwise ''and'' with three) are copied as a three-bit value, incremented, and put into '''Y'''. Otherwise, it is likely intended to copy '''B''' into '''X''', but, perhaps due to a misplaced load, zero is copied into '''X''' instead; '''Y''' is then derived from '''X''' with the same code as with '''A''' not zero, but since '''X''' is always zero, '''Y''' is always one. (If the misplaced load is placed in a more logical place, the '''Y''' value ends up always being one anyway, so there may have been more required effort to make the code work as intended.)
'''X''' values of zero and eight can occur naturally: the latter is as designed, the former is due to the above bug. Due to this bug, an '''X''' value above eight cannot occur naturally. Probabilities of each strain is as follows:
{| class="roundy" style="text-align:center; border: 3px solid #A54ACE; background: #D67BFF"
! style="background: #EFA5EF" | X values
! style="background: #EFA5EF; {{roundytr|5px}}" | Chance to occur
|- style="background: #fff"
| 0 || 15/255<br>(5.88235%)
|- style="background: #fff"
| 1, 2, 3, 4, 5, 6, 7, 8 || 30/255<br>(11.76471%)
|-
| style="background: #fff; {{roundybl|5px}}" | 9, 10, 11, 12, 13, 14, 15
| style="background: #fff; {{roundybr|5px}}" | 0/255<br>(Cannot naturally occur)
|}


====Generation III====
====Generation III====
Line 71: Line 93:
Otherwise, the Pokérus operates in much the same way as in Generation II, but it is now possible for the Pokérus to be randomly contracted even when another Pokémon in the party already has it (and the Pokérus can spread after the same battle where it was contracted)<ref>[https://github.com/pret/pokeruby/blob/a3228d4c86494ee25aff60fc037805ddc1d47d32/src/battle_main.c#L5125-L5129 pret/pokeruby: battle_main.c lines 5125-5129]</ref>, and there is no location requirement before the Pokérus can randomly be contracted. Eggs infected with Pokérus will now indicate as such.
Otherwise, the Pokérus operates in much the same way as in Generation II, but it is now possible for the Pokérus to be randomly contracted even when another Pokémon in the party already has it (and the Pokérus can spread after the same battle where it was contracted)<ref>[https://github.com/pret/pokeruby/blob/a3228d4c86494ee25aff60fc037805ddc1d47d32/src/battle_main.c#L5125-L5129 pret/pokeruby: battle_main.c lines 5125-5129]</ref>, and there is no location requirement before the Pokérus can randomly be contracted. Eggs infected with Pokérus will now indicate as such.


In {{2v2|Ruby|Sapphire}} only<ref>[https://github.com/pret/pokeruby/blob/a3228d4c86494ee25aff60fc037805ddc1d47d32/src/pokemon_3.c#L835-L853 Pokerus Logic in Ruby Disassembly]</ref>, '''X''' values of 0 and 8 do occur naturally, whereas in [[Generation II]] and {{g|Emerald}} onward, the RNG does not allow them to occur at all. The following is the chance to obtain each strain in Ruby and Sapphire:
In {{2v2|Ruby|Sapphire}} only<ref>[https://github.com/pret/pokeruby/blob/a3228d4c86494ee25aff60fc037805ddc1d47d32/src/pokemon_3.c#L835-L853 Pokerus Logic in Ruby Disassembly]</ref>, '''X''' values of 0 and 8 do occur naturally, whereas in {{g|Emerald}} onward, the RNG does not allow them to occur at all. The following is the chance to obtain each strain in Ruby and Sapphire:
{| class="roundy" style="text-align:center; border: 3px solid #A54ACE; background: #D67BFF"
{| class="roundy" style="text-align:center; border: 3px solid #A54ACE; background: #D67BFF"
! style="background: #EFA5EF" | X values
! style="background: #EFA5EF" | X values
Line 124: Line 146:
In [[Sword and Shield]], a Pokémon's summary screen will show the Pokérus icon along with full text saying "POKÉRUS" with the typical smile icon next to the text. When cured, this text is then removed and only the cured icon is shown. These icons are shown with the rest of the Pokémon's icons such as the origin mark and shiny status. In the PC, this text is removed regardless if the Pokémon is infected or cured, only showing the face icon matching the status of infection. It can be seen next to the Pokémon's type and shiny status.
In [[Sword and Shield]], a Pokémon's summary screen will show the Pokérus icon along with full text saying "POKÉRUS" with the typical smile icon next to the text. When cured, this text is then removed and only the cured icon is shown. These icons are shown with the rest of the Pokémon's icons such as the origin mark and shiny status. In the PC, this text is removed regardless if the Pokémon is infected or cured, only showing the face icon matching the status of infection. It can be seen next to the Pokémon's type and shiny status.


In [[Brilliant Diamond and Shining Pearl]], the Pokémon Center nurse will tell the player that their Pokémon has been infected with Pokérus like in the original Diamond and Pearl games. The icon for the games is almost like how it was in Sword and Shield, except that the infected icon in the PC preview is contained in a pink box similar to how it is presented with text in the summary. The infection text in the Pokémon summary is written out as "Pokérus", with a capital P.
In [[Brilliant Diamond and Shining Pearl]], the Pokémon Center lady will tell the player that their Pokémon has been infected with Pokérus like in the original Diamond and Pearl games. The icon for the games is almost like how it was in Sword and Shield, except that the infected icon in the PC preview is contained in a pink box similar to how it is presented with text in the summary. The infection text in the Pokémon summary is written out as "Pokérus", with a capital P.


Pokérus does not appear natively in [[Pokémon Legends: Arceus]]. It cannot be contracted naturally, nor can infected Pokémon spread the virus to other party members. It also cannot progress towards becoming cured, and is not displayed on status screens. However, an infected Pokemon transferred into Legends: Arceus from Pokémon HOME will still gain bonus EVs.
Pokérus does not appear natively in [[Pokémon Legends: Arceus]]. It cannot be contracted naturally, nor can infected Pokémon spread the virus to other party members. It also cannot progress towards becoming cured, and is not displayed on status screens. However, an infected Pokémon transferred into Legends: Arceus from Pokémon HOME will still gain bonus EVs during battle, despite no visible indicators of being infected, cured, or gaining EVs while it remains in Legends: Arceus.


====Generation IX====
====Generation IX====
In {{g|Scarlet and Violet}}, Pokérus no longer generates naturally, does not spread to adjacent [[party]] Pokémon, cannot be seen on a Pokémon's [[summary]], and does not provide double [[effort values]] during battle. However, the data itself is retained in the data structure of the Pokémon, and will remain stored with the Pokémon if transferred from previous games via {{pkmn|HOME}} into Scarlet or Violet, despite no longer having any visible indicator nor in-game effects.
In {{g|Scarlet and Violet}}, Pokérus no longer generates naturally, does not spread to adjacent [[party]] Pokémon, cannot be seen on a Pokémon's [[summary]], and does not provide double [[effort values]] during battle. However, the data itself is retained in the data structure of the Pokémon, and will remain stored with the Pokémon if [[transfer]]red from previous games via [[Pokémon HOME]] into Scarlet or Violet, despite no longer having any visible indicator nor in-game effects.


===Comments===
===Comments===
====Generation II====
====Generation II====
=====Nurse's comments=====
=====Pokémon Center lady's comments=====
"''Your <sc>Pokémon</sc> appear to have tiny life forms stuck to them. <br> Your <sc>Pokémon</sc> are healthy and seem to be fine. <br> But we can't tell you anything more at a <sc>Pokémon Center</sc>.''"
"''Your <sc>Pokémon</sc> appear to have tiny life forms stuck to them. <br> Your <sc>Pokémon</sc> are healthy and seem to be fine. <br> But we can't tell you anything more at a <sc>Pokémon Center</sc>.''"


Line 144: Line 166:


====Generation IV====
====Generation IV====
=====Nurse's comments=====
=====Pokémon Center lady's comments=====
"''Your Pokémon may be infected with the Pokérus. <br>Little is known about the Pokérus except that they are microscopic life-forms that attach to Pokémon. <br>While infected, Pokémon are said to grow exceptionally well.''"
"''Your Pokémon may be infected with the Pokérus. <br>Little is known about the Pokérus except that they are microscopic life-forms that attach to Pokémon. <br>While infected, Pokémon are said to grow exceptionally well.''"


Line 156: Line 178:


==Status icons==
==Status icons==
{{incomplete|section|needs=XD active and cured}}
<!--- Because of how G2 works, there is no icon for Pokérus active, but there is an "icon" for Pokérus cured --->
<!--- Because of how G2 works, there is no icon for Pokérus active, but there is an "icon" for Pokérus cured --->
{| class="roundy" style="margin:auto; text-align:center; border: 2px solid #A54ACE; background: #D67BFF"
{| class="roundy" style="margin:auto; text-align:center; border: 2px solid #A54ACE; background: #D67BFF"
Line 196: Line 219:
| Cured icon from <br>{{color2|000|Generation VI|Generation VI}}
| Cured icon from <br>{{color2|000|Generation VI|Generation VI}}
| Cured icon from <br>{{color2|000|Generation VII|Generation VII}}
| Cured icon from <br>{{color2|000|Generation VII|Generation VII}}
| colspan="2" | Infected and cured icon <br>from {{color2|000|Generation VIII|Generation VIII}}
| colspan="2" | Infected and cured icons<br>from {{color2|000|Generation VIII|Generation VIII}} & {{color2|000|Pokémon HOME|Pokémon HOME}}
|}
|}


Line 204: Line 227:
==In the manga==
==In the manga==
===Pokémon Adventures===
===Pokémon Adventures===
===={{chap|Platinum}}====
===={{MangaArc|Platinum}}====
The Pokérus was discussed in ''[[PS439|The Final Dimensional Duel IX]]'', when {{adv|Platinum}}'s team was discovered to have this virus and, as a result, became stronger. Her {{TP|Platinum|Froslass}}, {{p|Pachirisu}}, and {{p|Cherrim}} had it prior to being taken from the hospital, and then it spread to the rest of her party. At the hospital, [[Daisy Oak]] and {{prof|Yanase Berlitz}} realize that the infection is, in fact, the Pokérus.
The Pokérus was discussed in ''[[PS439|The Final Dimensional Duel IX]]'', when {{adv|Platinum}}'s team was discovered to have this virus and, as a result, became stronger. Her {{TP|Platinum|Froslass}}, {{p|Pachirisu}}, and {{p|Cherrim}} had it prior to being taken from the hospital, and then it spread to the rest of her party. At the hospital, [[Daisy Oak]] and {{prof|Yanase Berlitz}} realize that the infection is, in fact, the Pokérus.


==Trivia==
==Trivia==
* The Pokérus is an example of a {{wp|Mutualism (biology)|mutualistic}} {{wp|virus}}, in which both host and virus benefit.
* The Pokérus is an example of a {{wp|Mutualism (biology)|mutualistic}} {{wp|virus}}, in which both host and virus benefit.
* The removal of Pokérus functionality in Pokémon Legends: Arceus, Scarlet, and Violet coincided with the {{wp|COVID-19}} pandemic, as both games would have been in active development during this period. Its removal may have been done to avoid potential controversy, such as the implication of a beneficial virus, or the act of purposely spreading a virus.


==In other languages==
==In other languages==