FF7/Field/Script/Opcodes/F0 MUSIC

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 18:28, 24 March 2018 by my_wiki>BukTop
Jump to navigation Jump to search
  • 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.