FF7/Field/Script/Opcodes/FC FMUSC

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 16:17, 28 August 2020 by Dangarfield (talk | contribs) (Created page with "* Opcode: '''0xFC''' * Short name: '''FMUSC''' * Long name: Field Music ==== Memory layout ==== {| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0xFC
  • Short name: FMUSC
  • Long name: Field Music

Memory layout

0xFC I

Arguments

  • const UByte I: ID of the music file to play, as set in the field file.

Description

Sets the MUSIC that will play after the next BATTLE has been issued and fought, this music (I) will be player when the player rejoins the field. As with the MUSIC opcode, the ID represents an offset into the list of music files that have been set by the field file. Hence, provided the field file has the correct music file(s) set, this opcode can be used to set regular or boss battle music for the current field's encounters, or even switched between in the script.