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 I Glitch Discussion

Effects of Glitch Pokemon in the HOF (in progress) - Page 1

Effects of Glitch Pokemon in the HOF (in progress)

Posted by: CytricAcid
Date: 2019-10-11 17:54:56
And I'm not talking about what happens when you see a glitch pokemon and it corrupts the hall of fame!
I like asking questions and learning about the inner workings of the original Pokemon games. In 2019, a lot of the cooler and exploitable glitches (8F, particularly) have been discovered, and the disassembly at our fingertips, much of the gen one games have been demystified. But there are still curiosities!
I'm interested in cataloging the effects of glitch Pokemon when they appear in the Hall of Fame on the PC. I do not know why they change the palette nor why they change the music, but perhaps looking into which glitch species cause effects will be interesting.
All pictures are taken on the english version of Pokemon Red, using Evie's save file. I am using BGB 1.5.7. I am unable to test this on any hardware except VC. Apparently BGB has problems with palettes, so do not take the screenshots as gospel. I also apologize for the relative unprofessional data collection here, because again, I don't know what I'm doing.
All in all, I'm a novice glitcher who doesn't know much about assembly or anything, so I encourage people smarter than I to pick up where I left off and figure out where these effects are coming from. In particular, I'd like to know why the palette changes happen as well as the music. If someone can give me memory addresses about music/palette data I will go back and put more data here. That's why I'm only doing a few glitch pokemon right now.

Long topic full of images ahead.

(0x00) 'M and all Missingno.: [img]https://i.imgur.com/iF2oWYB.png[/img]

(0xBF)- [img]https://i.imgur.com/gI3bYXO.png[/img]
Notes:  Evolution/Safari Zone music

(0xC0) - [img]https://i.imgur.com/pa8cCV8.png[/img]

(0xC1) - [img]https://i.imgur.com/lHeiiT5.png[/img]

(0xC2) - [img]https://i.imgur.com/n5raeyq.png[/img]

(0xC3) - [img]https://i.imgur.com/3NY5aLG.png[/img]
Notes - Corrupts HoF again…

(0xC4) - [img]https://i.imgur.com/dopTFfy.png[/img]
Notes - Changes music.

(0xC5) - [img]https://i.imgur.com/sg9J3UR.png[/img]

(0xC6) - [img]https://i.imgur.com/S9vxphZ.png[/img]
Notes: Corrupts HoF again. Changes music.

(0xC7) - [img]https://i.imgur.com/OxZbSdk.png[/img]

(0xC8) - [img]https://i.imgur.com/CC8tbal.png[/img]

(0xC9) - [img]https://i.imgur.com/2XOwFvM.png[/img]

(0xCA) - [img]https://i.imgur.com/9vEymAD.png[/img]

(0xCB) - [img]https://i.imgur.com/otSwNhT.png[/img]
Notes - corrupts HoF again

(0xCC) - [img]https://i.imgur.com/CzznTe6.png[/img]
Notes - Evolution Theme

(0xCD) - [img]https://i.imgur.com/0b4bC5F.png[/img]

(0xCE) - [img]https://i.imgur.com/ArTVxSi.png[/img]

(0xCF) - [img]https://i.imgur.com/Ya0E9u7.png[/img]
Notes - Corrupts HoF again

Re: Effects of Glitch Pokemon in the HOF (in progress)

Posted by: Parzival
Date: 2019-10-11 20:49:13
make sure you check the mon so it doesn't decompress and steamroll HoF data underne-

Notes - Corrupts HoF again
yeah

also hey i haven't seen you since…



a while.

Re: Effects of Glitch Pokemon in the HOF (in progress)

Posted by: Sherkel
Date: 2019-10-11 21:14:26
It all comes down to glitch cries and invalid palette offsets as far as I know. The relevant code is here. I always like seeing someone delve into this stuff simply for the sake of interest and not necessarily because they can deconstruct it, though, so don't take this as discouragement. Simple intrigue is what started nearly all of us out.

(Have there been more voice chats lately, by the way? :P )

Re: Effects of Glitch Pokemon in the HOF (in progress)

Posted by: CytricAcid
Date: 2019-10-12 19:58:32

It all comes down to glitch cries and invalid palette offsets as far as I know. The relevant code is here. I always like seeing someone delve into this stuff simply for the sake of interest and not necessarily because they can deconstruct it, though, so don't take this as discouragement. Simple intrigue is what started nearly all of us out.


Thank you for the link! I did take a look at the disassembly and tried to make out what was going on as best I could. I then realized (Thanks to FutureFractal on discord's help for pointing this out) that all the glitch pokemon that appear are hybrid pokemon, and thus also take their palettes from the base pokemon. The pokemon that don't appear aren't hybrids and the Rhydon trap blanks their sprite. (But the HoF still loads their palette, unlike in the status screen.) And since they're all non hybrids, they're free to have whatever wacky invalid palettes they want. The HoF screen only uses the palette for the pokemon displayed, which is why the whole screen turns weird colors.
And they all have invalid cries, so they start playing music, which brings me to a point:

The glitchdex is missing palette/cry data! I had to go to Bulbapedia to find out that 0xCC for example, uses the Mt Moon theme in the status screen, the Sing song in battle, and now the Evolution/Safari Zone theme in the HoF. Obviously sound bank shenanigans, but it would be interesting to note what the cries are as well as palette data. (Palette dex?)

I satisfied my curiosity with this endeavor, any other screenshots would be only for curiosities sake for people interested in what glitch pokemon in their HoF caused the music to change or whatever. I'm a little too lost to gather the palette/cry data myself, sadly.