Sound 00 corruption

From Glitch City Wiki
Jump to navigation Jump to search

Sound 00 corruption is a glitch effect which happens whenever the game tries to play sound 00. It can be caused by glitch textboxes which play sound 00, or enabled with expanded inventory by changing item 31 quantity (wMapMusicSoundID; D35B in Red/Blue and D35A in Yellow) and getting on then dismounting the Bicycle (however the Bicycle method does not work for bank 1F, as the game will keep playing the Bicycle music). This effect was documented by TheZZAZZGlitch who elaborated on glitch text boxes and the $C414 corruption, and expanded on by FutureFractal in the GCRI Discord.

Effects

  • $C024, $C214, $C414, and $C614 are corrupted
    • $C024 becomes FFFF and is the stored return address for sound channel 8, so playing sound ID 00 with channel 8 active may cause a freeze.
    • $C214 represents the coordinates of the first NPC in the map. It is corrupted to y=253 (0xFD) and x=66 (0x42). This is far out of bounds, so the NPC will appear to disappear unless the player walks to that location while avoiding map connections (possible by changing wYCoord (item 34 quantity; D361/D360) and wXCoord (item 35 quantity; D362/D361) in the expanded inventory.
    • $C414 becomes 0143, causing sub-tiles 01 and 43 to appear when a text box or the start menu is open.
    • C614 is in wTileMapBackup and is corrupted to 05 43, but no effect seems to be visual.

Cause

According to FutureFractal, this corruption is because the channel value for sound 00 is FF; the game erroneously writes to $C024, $C214, $C414, and $C614 as if they were channel playback pointers.

YouTube video

YouTube video by TheZZAZZGlitch
This article or section is a stub. You can help Glitch City Wiki by expanding it.