Skip to content

add support for explosive data to increment ammo#154

Merged
zarakava merged 4 commits intoMetroidAdvRandomizerSystem:mainfrom
cluekitty:data-increments-ammo
Jun 19, 2025
Merged

add support for explosive data to increment ammo#154
zarakava merged 4 commits intoMetroidAdvRandomizerSystem:mainfrom
cluekitty:data-increments-ammo

Conversation

@cluekitty
Copy link
Copy Markdown
Contributor

@cluekitty cluekitty commented Jun 17, 2025

Also refactors reserved constants to use pointers to constants.
Relates to MetroidAdvRandomizerSystem/mars-fusion-asm#273

Relies on MetroidAdvRandomizerSystem/mars-fusion-asm#274

Comment on lines +20 to +24
TOTAL_METROID_COUNT_ADDR = 0x7FF010
REQUIRED_METROID_COUNT_ADDR = 0x7FF010
STARTING_LOCATION_ADDR = 0x7FF014
CREDITS_END_DELAY_ADDR = 0x7FF018 # TODO: Is this meant to be changed?
CREDITS_SCROLL_SPEED_ADDR = 0x7FF018 # + 2 TODO: Ditto
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metroid and Credits Information was bundled into 1 pointer with data following each other sequentially. I almost would have preferred individual pointers so we are not doing arbitrary math, but I left the ASM side up to @zarakava so I worked with what he had presented.

@cluekitty cluekitty force-pushed the data-increments-ammo branch from 2009c22 to 522ab33 Compare June 18, 2025 22:46
@zarakava zarakava merged commit 3024d9c into MetroidAdvRandomizerSystem:main Jun 19, 2025
8 checks passed
@cluekitty cluekitty deleted the data-increments-ammo branch July 14, 2025 22:02
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