Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Pokégear map glitch (Gold/Silver/Crystal)  (Read 493 times)

0 Members and 1 Guest are viewing this topic.

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I want to be a mother. 🦋 ✿
    • View Profile
Pokégear map glitch (Gold/Silver/Crystal)
« on: March 22, 2018, 10:05:52 pm »
SatoMew found this and shared it with me on Discord. It works in both English Gold and English Crystal and likely most if not all other versions (I think SatoMew may have researched it for one of the Japanese versions first but I'm not entirely sure). Today I decided to research it a little. Note you need the Pokégear map from the guide in Cherrygrove City before doing this.

What you need to do to 100% replicate this glitch is to be in a Johto location and then warp to Pallet Town, prior to having visited Kanto before.

This can be done with either the GameShark codes 010D00DA and 010201DA (Gold/Silver) or 010DB5DC 010DB6DC (Crystal) or arbitrary code execution. To use these codes, activate them in a Pokémon Center, then go up to the second floor and back down again. You should warp to Pallet Town.



Next you need to go to the Pokégear map and scroll down from Pallet Town (from now on you must scroll down, if you scroll up you may not be able to access all the available locations from this glitch). If done correctly the game should erroneously give Johto locations while the map is still in Kanto. If you go down further you should encounter glitch locations.



Many of these glitch locations take their name from VRAM (and are presumably subject to VRAM inaccessibility hence the many 9s in their name). However, if I remember rightly two of these glitch locations were taken from Echo RAM. The only one I remember though is sourced from E88E (Echo RAM for C88E).

The contents of this address can be modified with arbitrary code execution (without the need of OAM DMA hijacking to lock it) so you can create cool screens such as this (Cloud City was the subject of a Pokégod rumour in the past):



An E88E location is also available for the Crystal selection of locations and glitch locations.

Side-note:

Map 21FF (DA00=21, DA01=FF) in Gold and Silver is a non-freezing glitch map.

I don't know what controls its Pokégear location, however this time it was set to SPECIAL and scrolling down would also eventually bring up the E88E location.

So perhaps you don't need to have accessed Kanto earlier than you're supposed to (although more research is needed regarding whether that is a requirement at all).




Edit: A video :)

https://www.youtube.com/watch?v=r32agevxdw4
« Last Edit: March 22, 2018, 10:54:30 pm by Princess Torchic ❤ »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

War does not determine who is right or wrong; only who is loudest.
Athena follower. I know that some people view it as idolism, but I follow the spirit in relation to her and God too.

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Pokégear map glitch (Gold/Silver/Crystal)
« Reply #1 on: March 23, 2018, 02:02:20 pm »
I initially found it in Korean Gold and Silver and then checked Japanese Crystal.

p-p-pfero from the pret Discord looked into the bug and found it was in this snippet:

Code: [Select]
.down
    ld hl, wPokegearMapCursorLandmark
    ld a, [hl]
    cp e
    jr nz, .wrap_around_down
    ld a, d
    inc a
    ld [hl], a
.wrap_around_down
    dec [hl]

The fix:
Code: [Select]
.down
    ld hl, wPokegearMapCursorLandmark
    ld a, [hl]
    inc e
    cp e
    jr nc, .wrap_around_down
    inc d
    ld [hl], d
.wrap_around_down
    dec [hl]

And I'm glad that it was exploitable for ACE! :)
« Last Edit: March 24, 2018, 06:56:41 pm by SatoMew »

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I want to be a mother. 🦋 ✿
    • View Profile
Re: Pokégear map glitch (Gold/Silver/Crystal)
« Reply #2 on: March 23, 2018, 02:36:33 pm »
Thanks for the info! :)

And I'm glad that it was exploitable for ACE! :)

Yeah, if I remember rightly while the details are hazy you can execute arbitrary code with this or at least a freeze either by closing the Pokégear map from certain locations or as a side effect of the name in Crystal. Then you have the maps with arbitrary names which while they do not execute code can be customized to any location name you want as long as long as it fits.

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

War does not determine who is right or wrong; only who is loudest.
Athena follower. I know that some people view it as idolism, but I follow the spirit in relation to her and God too.

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Pokégear map glitch (Gold/Silver/Crystal)
« Reply #3 on: March 24, 2018, 06:57:38 pm »
You're most welcome and likewise ;)

I updated my post to include the complete patch.

Krys3000

  • French living dexer
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - French Pokémon glitch website
Re: Pokégear map glitch (Gold/Silver/Crystal)
« Reply #4 on: May 08, 2019, 11:20:59 am »
For the record, this also works in french games :)

Admin of the PRAMA Initiative, the main french Pokémon glitch website
https://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov