============
This bug can be worked around by using
Music volume transition (param1=1, param2=127, param3=0, param4=0, param5=0)
Play music #0
In the "init" script.
The PC port is at fault for the underlying issue.
============
spy_dragon recently made me aware of a bug with the music. If you encounter Yuffie (and win), the gil menu appears and then when that is closed, you are jumped to the Yougan2 map. The bug is that the music played will not be correct - it will always be the last field music you heard. This does not occur with the PSX game, and the field code is the same. There is nothing wrong with the field code - so it has to be related to how this field loads in the PC game. A possible porting error.
Normally, a field is loaded either from another field (so a jump from the field code), or from the world map by entering villages. But in this instance, the field map is jumped to after the battle menu is closed. Even if we assume that some var is being set that causes the world map to load momentarily and then jump you to Yougan2 (I checked for such a var but couldn't replicate the action), this is still an onorthodox jump. And something is going wrong in the process.
Spy_dragon fixes this by moving the "play music #0" field code elsewhere - outside of "main > init", which does work around this issue. But that's a sloppy fix and is not fixing the underlining issue.
Does anyone know what causes this? Or what vars need to be set in memory to cause the jump to yougan2? Or even what the mechanics are for how we end up at Yougan2?