Jump to content

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)
 
(10 intermediate revisions by 6 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 11:
 
===Registering the capture flag===
The "own" [[glitch Pokédex flag]]s for all glitch Pokémon are the "seen" Pokédex flags for valid Pokémon (with the exception of [[GlitchDexJP/B:204|アノ ゙]] in {{JB}}; a #152 which registers its own entry). For example, the "own" Pokédex flag for [[Missingno.]], [[GlitchDex/RB:000|'M (00)]], [[GlitchDex/Y:200|g g]] and [[GlitchDex/Y:249|$]] (No. 000 glitch Pokémon) is seeing Cubone; hence if the player has encountered Cubone, obtaining a Missingno. will not turn it into a Rhydon.
 
Additionally, in this example capturing the Missingno. would register Cubone as seen if it wasn't already; meaning that the player can avoid the trap by obtaining the same Pokémon twice.
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|3TrainerPoké$3TRAINERPOKé₽]] (#176)).
 
If a 3TrainerPoké$3TRAINERPOKé₽ was obtained as a wild Pokémon or gift Pokémon through some means (such as arbitrary code execution), one would normally need to have Arbok registered in the Pokédex as seen to avoid it becoming a Rhydon.
 
===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, .asm_13a7invalidDexNumber ; If it is, it's invalid
cp $98 cp NUM_POKEMON + 1 ; Is the dex number less than 152?
jr c, .asm_13advalidDexNumber ; If it is, it's valid
.invalidDexNumber
Invalid:
ld a, $1RHYDON
ld [$cf91wcf91], a ; Set the index number to 01 (Rhydon)
ret ; Return as ifwithout nothingloading everthe happenedsprite
.validDexNumber
Valid:
push hl
(...)
 
(Source: [httphttps://forumsarchives.glitchcity.info/index.phpforums/topic,board-107/thread-6966.msg195670/page-0.html#msg195670 TheZZAZZGlitch])
 
Despite this, it is unclear what the Rhydondevelopers trapintend suffersto fromachieve aby glitch.setting [wcf91] to 01, since this function is called in multiple places, <!--(and possiblywhile buggysome codeof them will use the value of [wcf91] for further processing (e.g. adding captured Pokémon to party)?-->If, others will get the species byte from some other memory address instead. In particular, if there was no space in the party before catching the glitch Pokémon and it is sent to the Pokémon Storage System, it will become an [[unstable hybrid Pokémon]] with Rhydon as the donor and the original glitch Pokémon as the recipient.
 
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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.