A payload built on top of the 0x611 glitch sprite to switch to GBC mode from Pok‚mon Emerald.
While this repo is pointless for most people, those who can't afford a GBA flashcart yet still somehow own Pok‚mon Emerald can run simple payloads using this setup.
This code was originally made to test the behavior of bit3 in undocumented register 0x04000800 without owning a GBA flashcart.
- payload.S contains the actual payload written into the savefile
- chkfix.py installs the payload into the save, and fixes up the box area checksum after modifying it
- pokecontest.sav is a quick savefile I made with 0x611 hacked in, but if you have 0x611 ACE already working then you may use your own savefile as well
While this repo was built for personal use, it's still faster than tediously (mis)typing box names using my method.
- Dump Emerald .sav with GBA Save Tool on a DS or DSLite
- Insert flashcart SD into your computer
- Copy and rename your savefile next to payload.S as "pokecontest.sav"
- Run
armips payload.S
- Copy "pokeace.sav" back to your flashcart SD into the same folder you found it
- Flash back the newly modified .sav to your Emerald cartridge
- Trigger the ACE
- "merrp" for discovering the ACE setup
- "CasualPokePlayer" for the savefile used in an earlier version of this repo
- "Kingcom" for ARMIPS
- "AntonioND" for gba-switch-to-gbc
- "ChickasaurusGL"/"Evie" for the video showing how to use the ACE
- "Shiny Quagsire"/"shinyquagsire23" for bringing my attention to the undocumented reg
- "nocash"/"Martin" for gbatek
- Bulbagarden for the Bulbapedia article describing savefile documentation