Skip to content

62 x 31 Map / Mini-Map - #408

Merged
blkerby merged 19 commits into
blkerby:mainfrom
nn357:minimap
Nov 21, 2026
Merged

blkerby merged 19 commits into
blkerby:mainfrom
nn357:minimap

Conversation

@nn357

@nn357 nn357 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This fixes issues with pause-map and mini-map and allows for 62 x 31 total map area (including area transition markers)

This also fixes the recent seam issue on the right page so it's removed as a separate patch.

some stuff in map_progess_maintain conflicts, these two patches will eventaully be folded together anyway
allow vertical wrapping to create illusion of margin
@blkerby

blkerby commented Nov 17, 2026

Copy link
Copy Markdown
Owner

I'm not too sure about using the top row (padding in vanilla) to represent the bottom row of the map (in case it is a full 32 tiles high). I get the idea of trying to change as little as possible in the coordinate calculations, but I think the result is not very intuitive and it's easy for things to be missed. I would prefer if we either

  1. cut out the +1 offset so that the top row is at the beginning (requires changing the lookup in more places, but it will be more obvious if a place is missed, because it will always be off by one, instead of only in an edge case), or
  2. leave it as a padding row and only support 31-high maps.

Either of these would avoid the need for the modulo-32 wrapping.

A couple things that look like they may be problems with the current implementation here:

  1. check_partial_reveal in map_area.asm and pause_menu_objectives.asm could go out of bounds since they don't apply the wrapping?
  2. The list of cross-area map reveal tiles uses 0 as a terminator (in write_map_reveal_tiles), but that now becomes a valid offset if the first row is no longer padding, so processing of the list could be exited early if a transition tile ends up there.

@nn357
nn357 marked this pull request as draft November 17, 2026 14:00
@nn357 nn357 changed the title 64 x 32 Map / Mini-Map 62 x 31 Map / Mini-Map Nov 18, 2026
@nn357
nn357 marked this pull request as ready for review November 20, 2026 05:21
@nn357
nn357 marked this pull request as draft November 20, 2026 05:22
@nn357
nn357 marked this pull request as ready for review November 20, 2026 05:40
@blkerby
blkerby merged commit dcd6c3a into blkerby:main Nov 21, 2026
5 checks passed
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