Lock-up Trainer battle: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
(Added cause)
Line 1: Line 1:
A '''lock-up Trainer battle''' is a [[glitch]] effect that occurs in {{RBY}}.
{{Japan only}}


This glitch occurs when trying to encounter certain [[Glitch Trainer#Invalid rosters|invalid rosters]] with a [[glitch Pokémon]] whose experience calculation contains a division by zero, which causes the game to softlock in the overworld after starting the battle music. Once locked up, the game will remain unplayable until a reset, or a memory hack to bypass the freeze.
A '''lock-up Trainer battle''' is a [[glitch]] effect that occurs in {{RG}}.


Similarly to the [[experience division by 0 glitch]], this glitch applies to [[glitch Pokémon]] with an experience group of 0x95 or 0xFF, respectively [[GlitchDex/Y:202|Glitch (0xCA)]] and [[GlitchDex/Y:237|4(h4? (0xED)]]. However no invalid roster containing these glitch Pokémon has been found so far, therefore this glitch only exists in Japanese and non-English European versions of the game.
For unknown reasons a number of [[glitch Trainer]] rosters will lock-up the game with the battle music playing and the player never gets the ability to battle them. NPCs will stop moving.


== Examples ==
This glitch occurs for Trainers with all three different battle themes (normal, gym battle, champion battle).


=== Japanese versions ({{RG}}) ===
==Examples==
*Class 247 (Lance) roster 7 - Gym battle music
* Rival champion (0xF3) with roster
*Class 246 (Agatha) roster 3 - Normal battle music
* Agatha (0xF6) with roster 0x03
* Lance (0xF7) with roster 0x07
*Class 243 (Rival champion) roster 31 - Rival champion music


=== Non-English European versions ===
==YouTube video==
* In French versions of {{RB}}, trying to encounter any wild Pokémon/Trainer by modifying memory address 0xCFDD with a value greater than 0xC8 will cause the glitch.
{{YouTube|uRSHRx0_kcs|ChickasaurusGL}}

== See also ==

=== External links ===
* [https://youtu.be/uRSHRx0_kcs YouTube video by ChickasaurusGL]
* [https://youtu.be/wSWNkpqjtQY?t=6 YouTube video by TheZZAZZGlitch]


{{stub}}
[[Category:Generation I glitches]]
[[Category:Generation I glitches]]
[[Category:Terminology]]
[[Category:Terminology]]