aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/HallOfFame.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-07-16 13:02:54 -0400
committerGitHub <noreply@github.com>2024-07-16 13:02:54 -0400
commit8fafca714c07500d1d87bba224f12cf9cc2c8789 (patch)
tree273ca88fcfcd80df9c318c9cb8d17a1f7aa240cb /scripts/HallOfFame.asm
parentBuild with RGBDS 0.8.0, though it is not yet required (diff)
downloadpokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.gz
pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.tar.xz
pokeyellow-8fafca714c07500d1d87bba224f12cf9cc2c8789.zip
Identify various flag labels and bit constants (#454)
Diffstat (limited to 'scripts/HallOfFame.asm')
-rw-r--r--scripts/HallOfFame.asm7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/HallOfFame.asm b/scripts/HallOfFame.asm
index d5102830..46298813 100644
--- a/scripts/HallOfFame.asm
+++ b/scripts/HallOfFame.asm
@@ -29,10 +29,11 @@ HallOfFameResetEventsAndSaveScript:
predef HallOfFamePC
pop af
ld [wLetterPrintingDelayFlags], a
- ld hl, wFlags_D733
- res 1, [hl]
+ ld hl, wStatusFlags7
+ res BIT_NO_MAP_MUSIC, [hl]
+ assert wStatusFlags7 + 1 == wElite4Flags
inc hl
- set BIT_TEST_BATTLE, [hl] ; debug, unused?
+ set BIT_UNUSED_BEAT_ELITE_4, [hl] ; debug, unused?
xor a ; SCRIPT_*_DEFAULT
ld hl, wLoreleisRoomCurScript
ld [hli], a ; wLoreleisRoomCurScript