Trainer mutation glitch: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Torchickens
>Torchickens
(→‎Technical details: Convert to table)
Line 23: Line 23:
When you switch the Pokémon, you're actually switching the 20th Pokémon with the first. This puts various Pokémon data into unrelated data, and one group causes the Trainer mutation effects.
When you switch the Pokémon, you're actually switching the 20th Pokémon with the first. This puts various Pokémon data into unrelated data, and one group causes the Trainer mutation effects.


{| class="wikitable"
The changes are as such (for Pokémon 1):
! Original Address !! Original Address 1 data !! Destination Address !! Destination Address data

|-
Does not change: Trainer 01 turning data D463
| N/A || N/A || D463 || Trainer 01 turning data

|-
Does not change: Trainer 01 text D464
| N/A || N/A || D464 || Trainer 01 text

|-
Does not change: Trainer 02 turning data D465
| N/A || N/A || D465 || Trainer 02 turning data

|-
Does not change: Trainer 02 text D466
| N/A || N/A || D466 || Trainer 02 text

|-
Does not change: Trainer 03 turning data D467
| N/A || N/A || D467 || Trainer 03 turning data

|-
Does not change: Trainer 03 text D468
| N/A || N/A || D468 || Trainer 03 text

|-
Does not change: Trainer 04 turning data D469
| N/A || N/A || D469 || Trainer 04 turning data

|-
Does not change: Trainer 04 text D46A
| N/A || N/A || D46A || Trainer 04 text

|-
Does not change: Trainer 05 turning data D46B
| N/A || N/A || D46B || Trainer 05 turning data

|-
Does not change: Trainer 05 text D46C
| N/A || N/A || D46C || Trainer 05 text

|-
Does not change: Trainer 06 turning data D46D
| N/A || N/A || D46D || Trainer 06 turning data

|-
Does not change: Trainer 06 text D46E
| N/A || N/A || D46E || Trainer 06 text

|-
D12B Species byte 2 to Trainer 07 turning data D46F
| D12B || Species byte 2 || D46F || Trainer 07 turning data

|-
D12C Current HP byte 1 to Trainer 07 text D470
| D12C || Current HP byte 1 || D470 || Trainer 07 text

|-
D12D Current HP byte 2 to Trainer 08 turning data D471
| D12D || Current HP byte 2 || D471 || Trainer 08 turning data

|-
D12E Level (possibly) to Trainer 08 text D472
| D12E || Level (possibly) || D472 || Trainer 08 text

|-
D12F Status ailment to Trainer 09 turning data D473
| D12F || Status ailment || D473 || Trainer 09 turning data

|-
D130 Type 1 to Trainer 09 text D474
| D130 || Type 1 || D474 || Trainer 09 text

|-
D131 Type 2 to Trainer 10 turning data D475
| D131 || Type 2 || D475 || Trainer 10 turning data

|-
D132 Catch rate to Trainer 10 text D476
| D132 || Catch rate || D476 || Trainer 10 text

|-
D13F Attack experience byte 2 to Pokémon 1 species D483
| D13F || Attack experience byte 2 || D483 || Pokémon 1 species

|-
D140 Defense experience byte 1 to Pokémon 1 level D484
| D140 || Defense experience byte 1 || D484 || Pokémon 1 level

|-
D141 Defense experience byte 2 to Pokémon 2 species D485
| D141 || Defense experience byte 2 || D485 || Pokémon 2 species

|-
D142 Speed experience byte 1 to Pokémon 2 level D486
| D142 || Speed experience byte 1 || D486 || Pokémon 2 level

|-
D143 Speed experience byte 2 to Pokémon 3 species D487
| D143 || Speed experience byte 2 || D487 || Pokémon 3 species

|-
D144 Special experience byte 1 to Pokémon 3 level D488
| D144 || Special experience byte 1 || D488 || Pokémon 3 level

|-
D145 Special experience byte 2 to Pokemon 4 species D489
| D145 || Special experience byte 2 || D489 || Pokémon 4 species

|-
D146 Attack & Defense DV to Pokémon 4 level D48A
| D146 || Attack & Defense DV || D48A || Pokémon 4 level

|-
D147 Speed & Special DV to Pokémon 5 species D48B
| D147 || Speed & Special DV || D48B || Pokémon 5 species

|-
D148 PP of move 1 to Pokémon 5 level D48C
| D148 || PP of move 1 || D48C || Pokémon 5 level

|-
D149 PP of move 2 to Pokémon 6 species D48D
| D149 || PP of move 2 || D48D || Pokémon 6 species

|-
D14A PP of move 3 to Pokémon 6 level D48E
| D14A || PP of move 3 || D48E || Pokémon 6 level

|-
D14B PP of move 4 to Pokémon 7 species D48F
| D14B || PP of move 4 || D48F || Pokémon 7 species

|-
D14C Pokémon level to Pokemon 7 level D490
| D14C || Pokémon level || D490 || Pokémon 7 level

|-
D14D Max HP byte 1 to Pokémon 8 species D491
| D14D || Max HP byte 1 || D491 || Pokémon 8 species

|-
D14E Max HP byte 2 to Pokémon 8 level D492
| D14E || Max HP byte 2 || D492 || Pokémon 8 level

|-
D14F Attack byte 1 to Pokémon 9 species D493 (not verified)
| D14F || Attack byte 1 || D493 (unconfirmed) || Pokémon 9 species

|-
D150 Attack byte 2 to Pokémon 9 level D494 (not verified)
| D150 || Attack byte 2 || D494 (unconfirmed) || Pokémon 9 level

|-
D151 Defense byte 1 to Pokémon 10 species D495
| D151 || Defense byte 1 || D495 || Pokémon 10 species

|-
D152 Defense byte 2 to Pokémon 10 level D496
| D152 || Defense byte 2 || D496 || Pokémon 10 level
|}


===Example===
===Example===
Line 133: Line 135:


Those requirements are totally unviable for non-cheat play, so it's a proof of concept, but you can get cool results with random Pokémon.
Those requirements are totally unviable for non-cheat play, so it's a proof of concept, but you can get cool results with random Pokémon.

==YouTube video==
==YouTube video==
{{Youtube|CH8ciwq39XA|ChickasaurusGL}}
{{Youtube|CH8ciwq39XA|ChickasaurusGL}}

Revision as of 21:56, 21 January 2017

Select glitches in Japanese Pokémon Red, Green and Blue

Battle disabling Select glitch | Badge describer glitch | Dokokashira door glitch | Fossil conversion glitch | Item creation glitch | Lift glitch | Partial switch glitch | Remaining PP into species Select glitch | Second type glitch | Skip to Level 100 glitch | Trainer mutation glitch | Walk through walls | Warp by Nidoran♂ glitch

(view, talk, edit)
Please note that this glitch only exists in the Japanese versions of the game, or is otherwise a glitch
from a Pokémon game which was only released in Japan.

Trainer mutation glitch is a closed menu Select glitch in Pokémon Red, Green, and Pokémon Blue (Japanese).

It allows the player to change what groups of Trainers in a map say, how they turn, and what class they are. If the new 'class' is less than 200 (C8), then they will turn into Pokémon. The player can also change the Pokémon's levels.

Unfortunately the player can't manipulate the species/class of the first Trainer IDs 1-4 in a map unless they have a Pokémon with specific stat experiences (so no 'fresh' Pokémon) but they should be able to manipulate others.

Basic steps

1) Press Select on the 20th item.

2) Exit and go into battle, then swap the 20th Pokémon with a Pokémon of your choice.

3) Without using a warp, go to a Trainer and they should have 'mutated'. Do note that a Trainer's text may freeze the game, and beware of Missingno. in Red/Green.

The game may freeze after the switch with no documented fix.

Technical details

Every Trainer on a map has an ID. This glitch lets you change the Pokémon (or Trainer) and level that a certain Trainer ID is. The ID can be tracked with memory viewer by talking to a Trainer and viewing address CC55, CD4F, or CF0E. As maps have multiple Trainers (and IDs), you can mutate more than one Trainer.

When you switch the Pokémon, you're actually switching the 20th Pokémon with the first. This puts various Pokémon data into unrelated data, and one group causes the Trainer mutation effects.

Original Address Original Address 1 data Destination Address Destination Address data
N/A N/A D463 Trainer 01 turning data
N/A N/A D464 Trainer 01 text
N/A N/A D465 Trainer 02 turning data
N/A N/A D466 Trainer 02 text
N/A N/A D467 Trainer 03 turning data
N/A N/A D468 Trainer 03 text
N/A N/A D469 Trainer 04 turning data
N/A N/A D46A Trainer 04 text
N/A N/A D46B Trainer 05 turning data
N/A N/A D46C Trainer 05 text
N/A N/A D46D Trainer 06 turning data
N/A N/A D46E Trainer 06 text
D12B Species byte 2 D46F Trainer 07 turning data
D12C Current HP byte 1 D470 Trainer 07 text
D12D Current HP byte 2 D471 Trainer 08 turning data
D12E Level (possibly) D472 Trainer 08 text
D12F Status ailment D473 Trainer 09 turning data
D130 Type 1 D474 Trainer 09 text
D131 Type 2 D475 Trainer 10 turning data
D132 Catch rate D476 Trainer 10 text
D13F Attack experience byte 2 D483 Pokémon 1 species
D140 Defense experience byte 1 D484 Pokémon 1 level
D141 Defense experience byte 2 D485 Pokémon 2 species
D142 Speed experience byte 1 D486 Pokémon 2 level
D143 Speed experience byte 2 D487 Pokémon 3 species
D144 Special experience byte 1 D488 Pokémon 3 level
D145 Special experience byte 2 D489 Pokémon 4 species
D146 Attack & Defense DV D48A Pokémon 4 level
D147 Speed & Special DV D48B Pokémon 5 species
D148 PP of move 1 D48C Pokémon 5 level
D149 PP of move 2 D48D Pokémon 6 species
D14A PP of move 3 D48E Pokémon 6 level
D14B PP of move 4 D48F Pokémon 7 species
D14C Pokémon level D490 Pokémon 7 level
D14D Max HP byte 1 D491 Pokémon 8 species
D14E Max HP byte 2 D492 Pokémon 8 level
D14F Attack byte 1 D493 (unconfirmed) Pokémon 9 species
D150 Attack byte 2 D494 (unconfirmed) Pokémon 9 level
D151 Defense byte 1 D495 Pokémon 10 species
D152 Defense byte 2 D496 Pokémon 10 level

Example

Let's say you want specific Pokémon for Trainer IDs 02 through to 07 as such.

ID 02: Level 1 Mew ID 03: Level 254 Mewtwo ID 04: Level 5 Articuno ID 05: Level 5 Zapdos ID 06: Level 5 Moltres ID 07: Level 100 Porygon

This would require the following data from address D141:

15 01 83 FE 4A 05 4B 05 49 05 AA 64

And that is:

  • Defense experience is 21 modulo 256.
  • Speed experience is exactly 387.
  • Special experience is 65098.
  • Defense DV is 5, Attack DV is 0.
  • Speed DV is 11, Attack DV is 4.
  • Move 1 PP is 5.
  • Move 2 PP is 73.
  • Move 3 PP is 5.
  • Move 4 PP is 42 w/2(?) PP Ups used.
  • Pokémon is level 100.

Those requirements are totally unviable for non-cheat play, so it's a proof of concept, but you can get cool results with random Pokémon.

YouTube video

YouTube video by ChickasaurusGL
This article or section is a stub. You can help Glitch City Wiki by expanding it.