Skip to content

Use map names with ToggleData* symbols#563

Merged
Rangi42 merged 3 commits intopret:masterfrom
Narishma-gb:toggle_data
Jan 17, 2026
Merged

Use map names with ToggleData* symbols#563
Rangi42 merged 3 commits intopret:masterfrom
Narishma-gb:toggle_data

Conversation

@Narishma-gb
Copy link
Contributor

Since the toggle objects update, ToggleData symbols have the map IDs appended:

03:4aea ToggleData$0
03:4aea ToggleableObjectStates
03:4aed ToggleData$1
03:4af3 ToggleData$2
03:4af9 ToggleData$3
03:4b08 ToggleData$A
03:4b35 ToggleData$D
03:4b3b ToggleData$F
03:4b3e ToggleData$14

This PR adds the map names instead:

03:4aea ToggleData_PALLET_TOWN
03:4aea ToggleableObjectStates
03:4aed ToggleData_VIRIDIAN_CITY
03:4af3 ToggleData_PEWTER_CITY
03:4af9 ToggleData_CERULEAN_CITY
03:4b08 ToggleData_SAFFRON_CITY
03:4b35 ToggleData_ROUTE_2
03:4b3b ToggleData_ROUTE_4
03:4b3e ToggleData_ROUTE_9

At a cost of a new set of constants, TOGGLEMAP*_NAME

@Rangi42 Rangi42 merged commit 70f654b into pret:master Jan 17, 2026
2 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 17, 2026
@Narishma-gb Narishma-gb deleted the toggle_data branch January 17, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants