Pokérus: Difference between revisions

207 bytes added ,  28 March 2013
mNo edit summary
Line 23: Line 23:
"''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>.''"
====Elm's explanation====
====Elm's explanation====
"''Hello, <player>?<br>I discovered an odd thing.<br>Apparently there's something called <sc>Pokérus</sc> that infects <sc>Pokémon</sc>.<br>Yes, it's like a virus, so it's called <sc>Pokérus</sc>.<br>It multiplies fast and infects other <sc>Pokémon</sc> too. But that's all.<br>It doesn't seem to do anything, and it goes away over time.<br>I guess it's nothing to worry about. Bye!''"
When calling the player: ''"Hello, <player>?<br>I discovered an odd thing.<br>Apparently there's something called <sc>Pokérus</sc> that infects <sc>Pokémon</sc>.<br>Yes, it's like a virus, so it's called <sc>Pokérus</sc>.<br>It multiplies fast and infects other <sc>Pokémon</sc> too. But that's all.<br>It doesn't seem to do anything, and it goes away over time.<br>I guess it's nothing to worry about. Bye!"''
 
When called by the player: ''"Hello, <player>?<br>It seems that <sc>Pokémon</sc> that have been infected with <sc>Pokérus</sc> level up better.<br>We're not quite sure why..."''
 
====Technical information====
====Technical information====
In [[Generation II]], Pokérus is stored in a Pokémon's [[Pokémon data structure in Generation II|data structure]] as a single byte at offset 0x1C. Within the byte, the upper 4 bits (upper nibble) and lower 4 bits (lower nibble) are represented in hexadecimal format as '''XY''', where '''X''' represents the specific strand of Pokérus the Pokémon has contracted, and '''Y''' represents the number of days remaining before the infected Pokémon is cured of the virus.<br>
In [[Generation II]], Pokérus is stored in a Pokémon's [[Pokémon data structure in Generation II|data structure]] as a single byte at offset 0x1C. Within the byte, the upper 4 bits (upper nibble) and lower 4 bits (lower nibble) are represented in hexadecimal format as '''XY''', where '''X''' represents the specific strand of Pokérus the Pokémon has contracted, and '''Y''' represents the number of days remaining before the infected Pokémon is cured of the virus.<br>
1,160

edits