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 /scripts/PokemonMansion2F.asm | |
| 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 'scripts/PokemonMansion2F.asm')
| -rw-r--r-- | scripts/PokemonMansion2F.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/PokemonMansion2F.asm b/scripts/PokemonMansion2F.asm index df424a19..7da9e50f 100644 --- a/scripts/PokemonMansion2F.asm +++ b/scripts/PokemonMansion2F.asm @@ -10,8 +10,8 @@ PokemonMansion2F_Script: Mansion2CheckReplaceSwitchDoorBlocks: ld hl, wCurrentMapScriptFlags - bit 5, [hl] - res 5, [hl] + bit BIT_CUR_MAP_LOADED_1, [hl] + res BIT_CUR_MAP_LOADED_1, [hl] ret z CheckEvent EVENT_MANSION_SWITCH_ON jr nz, .switchTurnedOn @@ -108,7 +108,7 @@ PokemonMansion2FSwitchText: ld a, $1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a ld hl, wCurrentMapScriptFlags - set 5, [hl] + set BIT_CUR_MAP_LOADED_1, [hl] ld hl, .PressedText call PrintText ld a, SFX_GO_INSIDE |
