Main Menu

Glitches

References/Resources

Affiliates

Technical

Search Wiki

Toolbox

TrainerDex/RB:052
 Page | Discussion | View source | History

From Glitch City Laboratories

Jump to: navigation, search
Battling with Trainer class 34.


← Previous glitch Trainer Current glitch Trainer Next glitch Trainer→
) R 4. (33) TRAINER 4 (34) ゥ (35)
This article is incomplete. Please feel free to add any missing information about the subject. It is missing: Payout data.

TRAINER 4 (hex:34, dec:52) is a glitch Trainer class in Pokémon Red and Blue.

The equivalent glitch Trainer in Pokémon Yellow is 4! (hex:34).

It can be fought with the Ditto trick with a Special stat of 252 (hex:FC).

Trainer AI

  • As documented by TheZZAZZGlitch, this Trainer's secondary AI pointer is at $D040, and uses a 'move modification' routine that points to $FA58 in the Echo RAM region, which is part of the Day Care Pokémon data. If this data is harmless, it can fall through to $FA80; a copy of the data for the stored Pokémon in the PC, in which a bootstrap Pokémon setup can be prepared to abuse arbitrary code execution. The code at region $D040 may need to be adjusted to not freeze the game as well.
YouTube video by TheZZAZZGlitch


Roster data

  • As documented by TheZZAZZGlitch, roster 1 of this glitch Trainer is sourced from $A5A5 in SRAM, which can be modified by the user with relevant corruptions (such as corruptions from a glitch Pokémon sprite). The SRAM can be unlocked by viewing the status of any valid Pokémon.
YouTube video by TheZZAZZGlitch

Trainer payout data

Trainer payouts are taken by multiplying the base payout and the level of the last Pokemon in the roster.

Base payout: 9180