- Opcode: 0x116
- Short name: RAMESW
- Long name: Resume script, A? Message, and Wait
Argument
none
Stack
Message Channel
Field message ID
X position of window
Y position of window
RAMESW
Description
Pop up a message window and let the script keep running. Unlike AMESW, RAMESW does not block: the handler pops the four values (channel, field message ID, X, Y), lays out and shows the message on the given channel — auto-sizing the window to the text and clamping it inside the screen (x: 8–312, y: 8–224) — then returns immediately (return 2) rather than waiting for confirmation. If the channel is already showing a message it returns 5 (retry) so the previous message on that channel finishes first.
PC handler: SCRIPT_RAMESW.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_RAMESW | 0x529380 | Field script opcode handler (verified IDA function) |