Difference between revisions of "FF7/Field/Script/Opcodes/F0 MUSIC"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
(No difference)

Revision as of 05:30, 9 September 2006

  • Opcode: 0xF0
  • Short name: MUSIC
  • Long name: Play Music

Memory layout

0xF0 I

Arguments

  • const UByte I: ID for the music file that has been set in the field file.

Description

Plays the music that has been defined for the field file. Multiple files of music can be set to play in one field file, so that they may be switched between during play in the field. If the argument is an index beyond the size of the list of music files set in the current field file, the game will crash.