Jump to content

TrainerDex/RB:255: Difference between revisions

no edit summary
>Torchickens
No edit summary
>Torchickens
No edit summary
 
Line 8:
[[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}}
Not much is known about this glitch Trainer class, although its name TM55 appears to follow a pattern similar to the names of glitch moves and certain glitch Pokémon (with IDs between C4-FF) when they evolve.
{{clr}}
{{stub}}
[[Category:Glitch Trainers]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.