TrainerDex/RB:052: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 18: Line 18:


==Trainer AI==
==Trainer AI==
*As documented by TheZZAZZGlitch, this Trainer's AI pointer is at $FA60 in the Echo RAM region, which is a copy 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]].
*As documented by TheZZAZZGlitch, one of this Trainer's AI pointers (the other being at $D040) is at $FA60 in the Echo RAM region, which is a copy 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|5x9G5BWanWw|TheZZAZZGlitch}}
{{YouTube|5x9G5BWanWw|TheZZAZZGlitch}}

Revision as of 18:14, 26 August 2018

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, one of this Trainer's AI pointers (the other being at $D040) is at $FA60 in the Echo RAM region, which is a copy 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