- Opcode: 0x077
- Short name: SCROLLSYNC
- Long name: Scroll Sync
Argument
none
Stack
SCROLLSYNC
Description
Pauses script execution until the last timed scroll command finishes. The handler reads the shared scroll phase byte (FIELD_SCROLL_STATE): it returns 2 (done, advance) once the phase reaches 2, otherwise returns 1 (wait, retry next frame). Takes no arguments and pops nothing.
PC handler: SCRIPT_SCROLLSYNC.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_SCROLLSYNC | 0x520F50 | Field script opcode handler (verified IDA function) |