- Opcode: 0x065
- Short name: AMES
- Long name: A? Message
Argument
none
Stack
Message Channel
Field message ID
X position of window
Y position of window
AMES
Description
Pops four values (message channel, field message ID, window X, window Y) and pops up an auto-sized message window on that channel (width/height fitted to the text, then clamped to the screen). Non-blocking: it opens the window and continues immediately (returns 3), marking the channel as persistently open (sets the channel bit in both VAR_MAP unk[1] and unk[2]). The window stays until WINCLOSE or MESSYNC is called.
PC handler: SCRIPT_AMES.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_AMES | 0x5291E0 | Field script opcode handler (verified IDA function) |