diff options
| author | Sylvie <35663410+Rangi42@users.noreply.github.com> | 2024-09-24 11:39:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 11:39:44 -0400 |
| commit | 635b9c4cab523100a797b17b28788281159371c0 (patch) | |
| tree | e2363703bfa658bd230f0822e8a1389837adb0dd /ram | |
| parent | Identify hardware register bits (#469) (diff) | |
| download | pokeyellow-635b9c4cab523100a797b17b28788281159371c0.tar.gz pokeyellow-635b9c4cab523100a797b17b28788281159371c0.tar.xz pokeyellow-635b9c4cab523100a797b17b28788281159371c0.zip | |
Identify `wCurrentMapScriptFlags` bits (#467)
Diffstat (limited to 'ram')
| -rw-r--r-- | ram/wram.asm | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
