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/VermilionGym.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/VermilionGym.asm')
| -rw-r--r-- | scripts/VermilionGym.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/VermilionGym.asm b/scripts/VermilionGym.asm index d7828e42..8d3a33b6 100644 --- a/scripts/VermilionGym.asm +++ b/scripts/VermilionGym.asm @@ -1,12 +1,12 @@ VermilionGym_Script: ld hl, wCurrentMapScriptFlags - bit 5, [hl] - res 5, [hl] + bit BIT_CUR_MAP_LOADED_1, [hl] + res BIT_CUR_MAP_LOADED_1, [hl] push hl call nz, .LoadNames pop hl - bit 6, [hl] - res 6, [hl] + bit BIT_CUR_MAP_LOADED_2, [hl] + res BIT_CUR_MAP_LOADED_2, [hl] call nz, VermilionGymSetDoorTile call EnableAutoTextBoxDrawing ld hl, VermilionGymTrainerHeaders |
