Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: World's stupidest question  (Read 4671 times)

0 Members and 1 Guest are viewing this topic.

Raven Freak

  • Sonic 2 SMS Haxor
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Haxor
    • View Profile
Re: World's stupidest question
« Reply #15 on: December 19, 2012, 09:08:40 pm »
IIRC you can't catch any of the glitches in the $F0 range, as the game automatically locks up when you encounter it. Use this code to own the Pokemon, however this changes your first Pokemon, so use a Pokemon you don't want to keep.
01??64D1 
01??6BD1
Also to catch other glitches that don't crash the game use this code to steal the trainer's Pokemon:
010157D0
« Last Edit: December 19, 2012, 09:09:35 pm by Raven Freak »

MrGlitch

  • I am that damn fourth Chaos Emerald
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Aerrordactyl
    • View Profile
Re: World's stupidest question
« Reply #16 on: December 19, 2012, 09:47:55 pm »
Okay, cool. So the game forces a trainer encounter to prevent itself from crashing upon encountering a glitch Pokemon?

Raven Freak

  • Sonic 2 SMS Haxor
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Haxor
    • View Profile
Re: World's stupidest question
« Reply #17 on: December 19, 2012, 09:53:17 pm »
Not in this case, the game crashes due to the trainer in general. I believe the game points to invalid data in which causes the crash. $F0 contains null data, because there were no Pokemon added to those empty slots. It just pulls random data from the game, which it can't read. Of course this is all a theory. :P

Evie ❤✿

  • Administrator
  • *****
  • Online Online
  • Gender: Female
  • Happy ^_^
    • View Profile
Re: World's stupidest question
« Reply #18 on: December 20, 2012, 05:19:30 am »
Okay, cool. So the game forces a trainer encounter to prevent itself from crashing upon encountering a glitch Pokemon?

This is part of a routine with all index numbers >199, and isn't necessarily to prevent the game from freezing.  I'm not exactly sure how it works, though the first trainer class starts at 201 (Youngster) and 'Jacred' (#200) is actually 'trainer class 256'.  If you keep the code (01xxD8CF) on, the trainer will send out the equivalent glitch Pokémon, otherwise they'll have a different 'glitch roster' that changes with 01xx5DD0 (last roster # in memory).

If you use 01xx59D0 and 01xx5DD0 you can encounter trainers with real rosters. For example, 01D059D0 and 01015DD0 gives Super Nerd's first roster - Magnemite Lvl 11 + Voltorb Lvl 11 (but it doesn't if you use 01xxD8CF)

When you use the Ditto trick (Trainer-Fly glitch), the game writes a value to 01xx59D0 based on the last special stat and the roster number is derived from the opponent's attack stage, which is normally 7 (0 boosts/drops).
« Last Edit: December 20, 2012, 05:21:21 am by Torchickens »
✿ Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Slow, gentle, calm, but a little shy sometimes in public. However, brave.

Thank you for this lovely artwork Nyapon! :3

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: World's stupidest question
« Reply #19 on: December 20, 2012, 08:02:55 am »
Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.
I think... you just encountered the FD (253) trainer, who of course crashed your game.
Youtube
 

Guess where this is?

MrGlitch

  • I am that damn fourth Chaos Emerald
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Aerrordactyl
    • View Profile
Re: World's stupidest question
« Reply #20 on: December 20, 2012, 04:49:23 pm »
Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.
I think... you just encountered the FD (253) trainer, who of course crashed your game.
That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index...

Photon-Phoenix

  • Gotta pop dem windows.
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: World's stupidest question
« Reply #21 on: December 20, 2012, 11:27:52 pm »
Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.
I think... you just encountered the FD (253) trainer, who of course crashed your game.
That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index...

The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.
« Last Edit: December 20, 2012, 11:29:12 pm by Photon-Phoenix »

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: World's stupidest question
« Reply #22 on: December 20, 2012, 11:42:47 pm »
Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.
I think... you just encountered the FD (253) trainer, who of course crashed your game.
That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index...

The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.
The second method is better, as it doesn't have to view the front sprite of the glitch Pokemon, which often crashes the game.
Youtube
 

Guess where this is?

Photon-Phoenix

  • Gotta pop dem windows.
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: World's stupidest question
« Reply #23 on: December 21, 2012, 12:26:47 am »
Is there any way to get Pokemon to appear on their own using that code? All my encounters have been with a Jr. Trainer with a party full of whatever glitch Pokemon I choose.

I tried to get (hex FD) with this code, and a completely glitched-up trainer appeared, my trainer backsprite became scrambled, and the game crashed. That ain't normal.
I think... you just encountered the FD (253) trainer, who of course crashed your game.
That's odd. I was definitely using the glitch Pokemon index, not the glitch Trainer index...

The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.
The second method is better, as it doesn't have to view the front sprite of the glitch Pokemon, which often crashes the game.

I said the first method because I didn't know whether or not he meant actually battle them.

MrGlitch

  • I am that damn fourth Chaos Emerald
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Aerrordactyl
    • View Profile
Re: World's stupidest question
« Reply #24 on: December 21, 2012, 03:50:55 pm »
The game assumes anything encountered from C8 onward is a trainer.

The usual way to catch these pokemon is to either edit real trainer's parties via gameshark codes or have the gameshark off then turn it on after a "normal" wild pokemon appears.
I'm not necessarily trying to catch them, just encounter them without a freeze/lock-up.

So you're saying that I should deactivate the code, go into a normal wild Pokemon battle, then turn the code on during the battle?

Darkness_LordII

  • Veteran Contributor
  • *
  • Offline Offline
  • Gender: Male
  • CO-CO-CO-COMBO BREAKER
    • View Profile
Re: World's stupidest question
« Reply #25 on: December 21, 2012, 04:38:14 pm »
To catch a glitch pokemon C8 and beyond on a real system with gameshark

1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)

This take some pratice, but its actually very easy to do.

Ive always wondered how pokemon trainer were coded in the game. Why going over C8 will make appear the trainer and the glitched pokemon, do they share the same slot or are ''fused'' into one? So far ive never seen a Glitch Trainer in the form of Yellow Jessie & James or Ash. If anyone has a picture or a video of a Glitched Jessie & James trainer, I would appreciate it
I LIVE

AGAIN

Evie ❤✿

  • Administrator
  • *****
  • Online Online
  • Gender: Female
  • Happy ^_^
    • View Profile
Re: World's stupidest question
« Reply #26 on: December 21, 2012, 04:50:57 pm »
Ive always wondered how pokemon trainer were coded in the game. Why going over C8 will make appear the trainer and the glitched pokemon, do they share the same slot or are ''fused'' into one? So far ive never seen a Glitch Trainer in the form of Yellow Jessie & James or Ash. If anyone has a picture or a video of a Glitched Jessie & James trainer, I would appreciate it

In Red/Blue D12Bh is a byte that determines whether the opponent is a Cable Club trainer or not. When D12B is 01, all Pokémon Trainers look like Red. When you abuse the Cable Club escape glitch, D12B stays at 01 so you can battle a Trainer who looks like Red with the roster of the person you linked with after viewing their party. The Trainer AI is still the same as the normal Trainer class, so if you try it with e.g. Bruno, you will encounter a Trainer who looks like Red but with a tendency to use X Defend.

After the memory gets corrupted by the ZZAZZ glitch, it happens that D12Bh is changed to 153; tricking the game into thinking all Trainers are from the Cable Club. This is related to why the 'death Trainer' appears.

I'd imagine there's probably a similar byte that makes Trainers look like Jessie & James, though I don't know for sure if there is.
« Last Edit: December 21, 2012, 04:53:46 pm by Torchickens »
✿ Hi! I'm Evie. I'm a transgender person, but any pronouns are fine. She/her preferred. ✿ 🦋

Nature: Slow, gentle, calm, but a little shy sometimes in public. However, brave.

Thank you for this lovely artwork Nyapon! :3

Contact:
http://www.youtube.com/user/ChickasaurusGL
https://www.vgcollect.com/Torchickens

MrGlitch

  • I am that damn fourth Chaos Emerald
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Aerrordactyl
    • View Profile
Re: World's stupidest question
« Reply #27 on: January 01, 2013, 02:02:05 pm »
1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)
I've confirmed that this works.

I've also confirmed that "a" is a pain in the ass to battle!  It won't let me attack after I've selected an attack.  I'd really like to see someone delve into the inner workings of "a" and see why it spawns so many text boxes, for one thing.

Raven Freak

  • Sonic 2 SMS Haxor
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Haxor
    • View Profile
Re: World's stupidest question
« Reply #28 on: January 01, 2013, 03:29:28 pm »
The reason why it "spawns text boxes" is simply due to it's name being too long, in which you have to keep pressing A to get to the next line of "text". The game caps the number of characters (or letters) in your name and a Pokemon's name, that max number for a Pokemon is 10 (though technically IIRC it's 11 due to the fact that it needs a certain byte to tell the game the text is finished.) a's name surpasses that of the normal 10 letters, that's why the game forces you to keep spamming the A button. There are various other glitches that have longer names than what's allowed too btw.

Photon-Phoenix

  • Gotta pop dem windows.
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: World's stupidest question
« Reply #29 on: January 01, 2013, 05:46:31 pm »
1. Turn on the gameshark code
2. Get into a wild pokemon battle
3. Right before having the black screen that transitionate between the overworld and battle screen, turn off the gameshark (This will cause the glitch pokemon to be without the trainer and take the form of the pokemon that it was supposed to be encounterd temporaly). This trick will never cause the game to crash except FA-FF (this can happen)
4. Before catching or defeating the glitch, turn the gameshark code back on.
5. The pokemon you will catch (unless converted into RHYDON) will be the glitch pokemon (there is no fusing, you will really catch the glitch pokemon like C7 and below)
I've confirmed that this works.

I've also confirmed that "a" is a pain in the ass to battle!  It won't let me attack after I've selected an attack.  I'd really like to see someone delve into the inner workings of "a" and see why it spawns so many text boxes, for one thing.

It's due to an improperly terminated name.  The game looks for HEX $50 before it can terminate a name.