aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/SilphCo1F.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2026-01-07 22:05:20 -0500
committerGitHub <noreply@github.com>2026-01-07 22:05:20 -0500
commitfe1e76466b293c83e6cd3a7d4639fb3c49da26ad (patch)
treeaba22f9f595e09024b902c08ddfdac67ee0e85f3 /scripts/SilphCo1F.asm
parentUpdate RGBDS to 1.0.1 (although 1.0.0 still works) (diff)
downloadpokeyellow-fe1e76466b293c83e6cd3a7d4639fb3c49da26ad.tar.gz
pokeyellow-fe1e76466b293c83e6cd3a7d4639fb3c49da26ad.tar.xz
pokeyellow-fe1e76466b293c83e6cd3a7d4639fb3c49da26ad.zip
Use macros to enforce "missable/hide/show object" constraints, and rename them to "toggleable objects" (#557)
Diffstat (limited to 'scripts/SilphCo1F.asm')
-rw-r--r--scripts/SilphCo1F.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/SilphCo1F.asm b/scripts/SilphCo1F.asm
index fbc70d77..acb506fc 100644
--- a/scripts/SilphCo1F.asm
+++ b/scripts/SilphCo1F.asm
@@ -4,8 +4,8 @@ SilphCo1F_Script:
ret z
CheckAndSetEvent EVENT_SILPH_CO_RECEPTIONIST_AT_DESK
ret nz
- ld a, HS_SILPH_CO_1F_RECEPTIONIST
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_SILPH_CO_1F_RECEPTIONIST
+ ld [wToggleableObjectIndex], a
predef_jump ShowObject
SilphCo1F_TextPointers: