Difference between revisions of "FF7/Field/Script/Opcodes/F0 MUSIC"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
m (4 revisions imported) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
* Long name: Play Music | * Long name: Play Music | ||
− | ==== Memory layout ==== | + | ==== Memory layout ==== |
− | {| border="1" cellspacing="1" cellpadding="3 | + | |
+ | {| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" | ||
! width="40" | 0xF0 | ! width="40" | 0xF0 | ||
! width="40" | ''I'' | ! width="40" | ''I'' | ||
|} | |} | ||
− | ==== Arguments ==== | + | ==== Arguments ==== |
− | * '''const UByte''' ''I'': ID for the music file that has been set in the field file. | + | * '''const UByte''' ''I''<nowiki>: ID for the music file that has been set in the field file. </nowiki> |
− | ==== Description ==== | + | ==== 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. | 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. |
Latest revision as of 05:19, 23 May 2019
- 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.