Skip to content

Zenkai Opcode SetMapRestoreFlag

Johnathon edited this page Sep 16, 2026 · 1 revision

SetMapRestoreFlag

Marks whether the current map state should be restored (vs.

Syntax

SetMapRestoreFlag(flag)

Parameters

flag
Integer
Boolean-ish value.

Remarks

Marks whether the current map state should be restored (vs. reset) on re-entry — pairs with RestoreMap.

Examples

Minimal illustrative encoding (synthetic, not from a real ROM script):

0x00, N           // PushByte(flag)
0x02, 0x22        // Step -> BytecodeVM_SetMapRestoreFlag

See Also

Applies To

Game Notes
Legacy of Goku 2 Supported

Clone this wiki locally