Jump to content

Professor Oak's lab music glitch: Difference between revisions

→‎Triggering mechanism: Why not in normal overworld map transitions
>Bbbbbbbbba
(Explanations. I'd like it if someone with more knowledge in musics could describe the music change more accurately. (Last commit was actually me accidentally clicking "save" instead of "preview".))
>Bbbbbbbbba
(→‎Triggering mechanism: Why not in normal overworld map transitions)
Line 18:
 
When the control flow goes back to the music loading routine, it will set the correct command pointer, but the sound ID remains zero. Therefore the channel will not be played in any subsequent frames, essentially ended before it begins.
 
This glitch cannot happen if the previous music is faded out before the current music begins (overworld map transitions usually work this way). The reason is that in this case the music loading routine is called by FadeOutAudio, which is itself called during the V-Blank. Since the V-Blank cannot interrupt itself, the glitch cannot be triggered.
 
==YouTube videos==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.