aboutsummaryrefslogtreecommitdiffstats
path: root/constants/toggle_constants.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2026-01-17 22:42:34 +0100
committerGitHub <noreply@github.com>2026-01-17 16:42:34 -0500
commit70f654bda79619bb7c1262f3fd111eeefd4c2645 (patch)
treea4daa282c649542ef18894c0c6d7ce4ebfdef82a /constants/toggle_constants.asm
parentReplace hard-coded numbers with constants in haze.asm (#564) (diff)
downloadpokeyellow-70f654bda79619bb7c1262f3fd111eeefd4c2645.tar.gz
pokeyellow-70f654bda79619bb7c1262f3fd111eeefd4c2645.tar.xz
pokeyellow-70f654bda79619bb7c1262f3fd111eeefd4c2645.zip
Use map names with `ToggleData*` symbols (#563)
Diffstat (limited to 'constants/toggle_constants.asm')
-rw-r--r--constants/toggle_constants.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/constants/toggle_constants.asm b/constants/toggle_constants.asm
index 701bc2b4..64712306 100644
--- a/constants/toggle_constants.asm
+++ b/constants/toggle_constants.asm
@@ -2,7 +2,8 @@ DEF OFF EQU $11
DEF ON EQU $15
MACRO toggle_consts_for
- DEF TOGGLEMAP{\1} EQU const_value
+ DEF TOGGLEMAP{\1}_ID EQU const_value
+ DEF TOGGLEMAP{\1}_NAME EQUS "\1"
ENDM
; ToggleableObjectStates indexes (see data/maps/toggleable_objects.asm)