Skip to content

Move the dungeon menu's Limited zone window to the top right - #251

Open
SirFancyBacon wants to merge 1 commit into
TheMoonPeople:masterfrom
SirFancyBacon:fix/limited-zone-window
Open

SirFancyBacon wants to merge 1 commit into
TheMoonPeople:masterfrom
SirFancyBacon:fix/limited-zone-window

Conversation

@SirFancyBacon

Copy link
Copy Markdown
Contributor

On a limited floor, the dungeon menu shows a "Limited zone" window. Retail puts it low on the left, which used to be empty. The port's added ring rows (Options, Quit) now fill that corner, so the window sat on top of Quit.

The window now goes to the top right of the 640x480 area: 20 px in from the right edge, the help box's margin, and 20 px down from the top. It's right-aligned using the width of its own text, so every limit message fits in any language. Only port/src/battlemenu/main_ring.cpp changes, and only where the window is placed.

image

Testing:

  • Battle menu, menu and UI tests pass.
  • In game, on Divine Beast Cave B11 (only Xiao): the window sits in the top-right corner, clear of the ring and the help box, and stays put while the cursor moves.

Retail puts it low on the left, where the rows the port adds to the
ring (Options, Quit) now run, so it covered them. It goes to the top
right of the screen instead, as far in as the help box, right-aligned
by its own text so every message and language fits.

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