From 635b9c4cab523100a797b17b28788281159371c0 Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:39:44 -0400 Subject: Identify `wCurrentMapScriptFlags` bits (#467) --- ram/wram.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ram') diff --git a/ram/wram.asm b/ram/wram.asm index 48616226..c94c682f 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -1593,7 +1593,10 @@ wIsKeyItem:: db wTextBoxID:: db -wCurrentMapScriptFlags:: db ; not exactly sure what this is used for, but it seems to be used as a multipurpose temp flag value +; bit 5: set when maps first load; can be reset to re-run a script +; bit 6: set when maps first load; can be reset to re-run a script (used less often than bit 5) +; bit 7: set when using an elevator map's menu; triggers the shaking animation +wCurrentMapScriptFlags:: db wCurEnemyLevel:: db -- cgit v1.3.1-sl0p