Skip to content

Simplify extended messages - #403

Draft
nn357 wants to merge 9 commits into
blkerby:mainfrom
nn357:simplify_extended_messages
Draft

nn357 wants to merge 9 commits into
blkerby:mainfrom
nn357:simplify_extended_messages

Conversation

@nn357

@nn357 nn357 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Opening this as a draft for now. I implemented it based on the discord message but it could still be subject to suggestions / changes.

I replaced the previous extended messageboxes hack with a cleaner approach that extends the vanilla message definitions and tilemap table, which is easy as there is no code after the tables, only freespace.

Currently it's still modular and is only applied when a custom item is in the seed (it could just be always applied?)

  • Added 3 reserved messagebox slots for future use.
  • Missile/ammo refill tilemap is now patched via Rust to the correct tilemap location depending on if this patch is enabled.
  • Moved hardcoded hud_max_ammo_display_fast tile patches into the vanilla message.ttb , which is also used in this patch.
  • Blue Booster and Spark Booster now use the same larger messagebox style as Speed Booster.
  • Relocated spinlock.asm and fast_reload.asm to accommodate the expanded tables.

nn357 added 9 commits November 5, 2026 19:37
Instead of just hooking the vanilla calls and repointing just extend the table and repoint data

1. spinlock patch overlapped so moved it
2. missile refill all patched "missile" with ammo, this is now done in rust and the patch range is either vanilla or extended if using the extended messageboxes patch
3. some tile patching was done in max_ammo_display_fast, this has been applied to the vanilla .ttb / extended message boxes so is removed from that patch.

This branch has not been deployed

No deployments
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.

1 participant