Anonymous user
Rhydon trap: Difference between revisions
m
Reverted edits by Hacks HAHA (talk) to last revision by InfoManiac742
>Torchickens |
m (Reverted edits by Hacks HAHA (talk) to last revision by InfoManiac742) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1:
{{error traps}}
{{bulbapedia2|Rhydon glitch}}
The '''Rhydon trap''' is a [[Error traps and anti-cheating traps|error trap]] in {{RGBY}}, and the [https://tcrf.net/Proto:Pok%C3%A9mon_Gold_and_Silver Japanese Gold/Silver Nintendo Space World 1997 demo].
Whenever a [[glitch Pokémon]] with a Pokédex number ([[glitch Pokémon family|family]]) greater than 151 (or 0) is captured in the wild or obtained as a gift Pokémon, and its Pokédex entry is registered, it will become a Rhydon if there is space in the party or a Rhydon/original glitch Pokémon hybrid if the glitch Pokémon is sent to the Pokémon Storage System. In the demo versions of Gold and Silver, this Pokémon is Bulbasaur instead, due to it occupying index number 1, where Rhydon had been located previously.
A glitch Pokémon with a Pokédex number greater than 151 or 0 in the Pokémon Storage System may also become a Rhydon/original glitch Pokémon hybrid if the player views its status, regardless of registered Pokédex flags.
Line 24:
===Trading===
A glitch Pokémon obtained from a trade will not become a Rhydon regardless of its Pokédex number. The [[Time Capsule exploit]] can be abused to obtain Pokémon unobtainable from the [[Trainer escape glitch]] regardless of their Pokédex number (family), and new glitch Pokémon can be obtained with a regular trade with [[equivalent trade glitch Pokémon|equivalent glitch Pokémon trading]] (for example, [[GlitchDex/RB:000|'M (00) from Red/Blue]] (#000) can be traded on to Pokémon Yellow to become [[GlitchDex/Y:000|
If a
===Arbitrary code execution===
Line 39:
The Rhydon trap itself is not considered a glitch, and was programmed into the game as an intended feature, which may have been used for debugging purposes.
The following code in the {{RB}} ROM is responsible for converting the glitch Pokémon into a Rhydon. It is part of the function [https://github.com/pret/pokered/blob/725b86ebbec23bd1f53fd60bf0201c904fee951d/home.asm#L268 LoadFrontSpriteByMonIndex].
and a ; Is the dex number 000?
pop hl
jr z, .
jr c, .
.invalidDexNumber
ld a,
ld [
ret ; Return
.validDexNumber
push hl
(...)
(Source: [
Despite this, it is unclear what the
The player may also obtain a Rhydon/original glitch Pokémon hybrid if the glitch Pokémon has its status viewed in the Pokémon Storage System, regardless of registered Pokédex flags.
|