Talk:Character encoding (Generation III): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(→‎0xFC 0x10 escape: new section)
 
Line 3: Line 3:
One of my friends was messing around with Ruby in VBA, messing around with nicknames. They set the last four bytes to 0xFC 0x10 0x83 0x00 (according to the page, playing the Rival Battle theme), but instead of completly changing the music to the theme, it started playing the beginning before switching back to what it was at.
One of my friends was messing around with Ruby in VBA, messing around with nicknames. They set the last four bytes to 0xFC 0x10 0x83 0x00 (according to the page, playing the Rival Battle theme), but instead of completly changing the music to the theme, it started playing the beginning before switching back to what it was at.
Right now, we are figuring that it is for SFX playback, not actual song selection. [[User:TruePikachu|--TruePikachu]] ([[User talk:TruePikachu|talk]]) 23:48, 25 April 2014 (UTC)
Right now, we are figuring that it is for SFX playback, not actual song selection. [[User:TruePikachu|--TruePikachu]] ([[User talk:TruePikachu|talk]]) 23:48, 25 April 2014 (UTC)
:It actually does both. Both SFX and music are in the song table; For the most part, SFX are below entry 256 and music is above entry 350 (I'm "speaking" in decimal). You told it to play 0x0083, or entry 131, which would likely have been some SFX.
:I don't know why you thought that was the rival theme, though. Despite what you said (in error perhaps), this page doesn't actually give any music/sfx numbers. Afaik, no page on Bulbapedia does (though there are some resources elsewheres that do). [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 00:05, 26 April 2014 (UTC)

Revision as of 00:05, 26 April 2014

0xFC 0x10 escape

One of my friends was messing around with Ruby in VBA, messing around with nicknames. They set the last four bytes to 0xFC 0x10 0x83 0x00 (according to the page, playing the Rival Battle theme), but instead of completly changing the music to the theme, it started playing the beginning before switching back to what it was at. Right now, we are figuring that it is for SFX playback, not actual song selection. --TruePikachu (talk) 23:48, 25 April 2014 (UTC)

It actually does both. Both SFX and music are in the song table; For the most part, SFX are below entry 256 and music is above entry 350 (I'm "speaking" in decimal). You told it to play 0x0083, or entry 131, which would likely have been some SFX.
I don't know why you thought that was the rival theme, though. Despite what you said (in error perhaps), this page doesn't actually give any music/sfx numbers. Afaik, no page on Bulbapedia does (though there are some resources elsewheres that do). Tiddlywinks (talk) 00:05, 26 April 2014 (UTC)