Jump to content

TrainerDex/RB:255: Difference between revisions

no edit summary
>Torchickens
No edit summary
>Torchickens
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1:
{| class="wikitable"
|-
! [[TrainerDex/RB:254|← Previous glitch Trainer]] !! Current glitch Trainer !! [[GlitchDexTrainerDex/RB:000|Next glitch Trainer→]]
|-
| [[TrainerDex/RB:254|TM54 (FE)]] || '''TM55 (FF)''' || [[GlitchDexTrainerDex/RB:000|(random name) (00)]]
|}
 
[[File:RB Trainer a FF.png|thumb|right|160px|Battling with TM55 (FF).]]
__NOTOC__
 
'''TM55''' (hex:FF) is a [[glitch Trainer]] class in {{RB}} and one of the [[artificial Trainer class]]es.
 
Game Genie codes FFF-549-C49 and 3EF-539-B31, combined with an encounter will allow the player to face it.
As the game subtracts 200 from Trainers in the Pokémon table with IDs between C8 and FF, this Trainer class indices can normally never be encountered in the game, but can be encountered with Game Genie codes FFF-549-C49 and 3EF-539-B31 and initiating any Trainer battle (i.e with code 01xx59D0) or theoretically [[arbitrary code execution]].
 
==Trainer AI functions==
 
===Move modification AI routines===
*$84CD (move choice modification #$0F)
*$1802 (move choice modification #$6A)
*$0100 (move choice modification #$A9)
 
===Structure 2 routine===
*$5DCD
 
Observations:
These Game Genie codes disable part of the InitBattleCommon routine that subtracts 200 from the Trainer class ID and replaces the value with one dictated by the first code.
*Game may [[game freeze|freeze]] after making a move
 
{{incomplete|Payout data}}
{{clr}}
{{stub}}
[[Category:Glitch Trainers]]
[[Category:Artificial Trainer classes]]
[[Category:Pokémon Red and Blue glitch Trainers]]
[[Category:Generation I glitch Trainers]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.