Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation II Glitch Discussion

Mystery Gift changing with Coin Case Glitch - Page 1

Mystery Gift changing with Coin Case Glitch

Posted by: Marv231
Date: 2017-10-14 00:20:37
I wonder, if it´s possible to change the Item, you get when doing the Mystery Gift Option at the title screen? 
For Pokemon Gold and Silver on the VGC

Re: Mystery Gift changing with Coin Case Glitch

Posted by: SatoMew
Date: 2017-10-15 10:04:01
I don't know enough to help with ACE but the folks at Project Pokémon have been researching where at least certain pieces of save data are stored, including that of Mystery Gift.

https://projectpokemon.org/home/forums/topic/41479-pokemon-gen-ii-save-file-records/

Re: Mystery Gift changing with Coin Case Glitch

Posted by: ISSOtm
Date: 2017-10-15 12:20:33
https://github.com/pret/pokecrystal/blob/master/sram.asm#L58

Apparently modifying 0:ABE2 is enough to make the mystery gift guy appear.
https://github.com/pret/pokecrystal/blob/f0209d6ed6a0cd0e759dff49bdfe4d8171229c29/engine/specials.asm#L318
I don't think the address is checksummed.

(There's also the flag EVENT_RECIEVED_BALLS_FROM_KURT that's involved, so… maybe it won't always suffice ?)