- Opcode: 0x16F
- Short name: UNKNOWN10
- Long name: Music status (PC stub)
Argument
none
Stack
none
Description
On PSX this pushed the playing music track’s current position into temporary variable 0 — it is always called just before a map transition, and the stored result is the parameter of MUSICSKIP after the transition.
On PC the underlying music-position function is a stub that returns 0, so the opcode writes 0 into temporary variable 0 (SCRIPT_UNKNOWN10, renamed SCRIPT_UNKNOWN10_music_status_stub in the community IDB, calling a return-0 stub). This is why MUSICSKIP-based music continuation does not work on PC.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_UNKNOWN10 | 0x51FC40 | Field script opcode handler (verified IDA function) |