Skip to content

Naming screen: a tab turns straight to its page - #287

Merged
ZallaxDev merged 3 commits into
ZallaxDev:integrationfrom
DannyM90:fix/naming-page-direct
Nov 20, 2026
Merged

ZallaxDev merged 3 commits into
ZallaxDev:integrationfrom
DannyM90:fix/naming-page-direct

Conversation

@DannyM90

Copy link
Copy Markdown
Contributor

Why

The naming screen's pages only turn one way (symbols, upper, lower), one SELECT
at a time. A tab two turns away from the page shown was reached by two turns,
so the page in between came up on the way: going from upper case to symbols
showed lower case first.

What it does

3ds_port/include/3ds_naming_view.inc:

  • When the tapped page is two turns away, the page in between is put on the
    back deck first (CtrNaming_SkipPage: the page number, the cursor's column as
    HandleKeyboardEvent keeps it, and DrawKeyboardPageOnDeck), as the end of a
    turn would leave it. One SELECT then turns straight to the tapped page, with
    the game's own animation and sound.
  • While that turn runs, the game's current page is the skipped one. The view
    reports the tapped page meanwhile, so the bottom keyboard's tab and keys do
    not show the skipped page for the length of the turn.

A tab one turn away works as before. #275 changes the same file for the
Japanese marks; the two do not overlap.

Testing

  • tools/bootstrap.py --make from a clean tree on the 2026-11-18 dev builds the 3DSX.
  • The naming layout test passes, release_audit.py --strict is clean,
    bottom_map_test.py passes.
  • Played on a 3DS: from any page, a tab turns straight to its page, with no
    other page flashing up on either screen.
  • Checked the open and closed PRs and issues first: none of them covers this.

DannyM90 and others added 3 commits November 16, 2026 18:00
The pages go round one way (symbols, upper, lower), and a tab two turns
away was reached by two turns, so the page between came up on the way.
Now the page between is put behind the one shown first, as the end of a
turn would, and one turn shows the page tapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjZs53yVtumpNLmM8AycET
With a page skipped behind the deck, the game's current page is that
skipped one until the turn ends, and the bottom keyboard showed its tab and
keys for the length of the turn: from upper case to symbols, lower case
came up on the way. The view reports the tapped page while one is on its
way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjZs53yVtumpNLmM8AycET
The sync shows the tab's page on the bottom keyboard while the keyboard
turns (CtrNaming_ShownPage), which covers this branch's view change; that
part goes. What stays is the page skipped behind the deck, so the top
screen turns straight to the tapped page; the cursor's column now comes
from CtrNaming_CursorColumnOn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjZs53yVtumpNLmM8AycET
@ZallaxDev

Copy link
Copy Markdown
Owner

Thanks, @DannyM90! Tapping a tab two steps away now lands on it in a single turn without flashing the page in between, and one-step taps, SELECT, A on the switch button and the D-Pad keep their usual paths. It builds on its own and together with integration + #275. Merging.

@ZallaxDev
ZallaxDev merged commit 142609e into ZallaxDev:integration Nov 20, 2026
3 checks passed
DannyM90 added a commit to DannyM90/emerald-3ds that referenced this pull request Nov 20, 2026
…axDev#280, ZallaxDev#282, ZallaxDev#283, ZallaxDev#287

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PjZs53yVtumpNLmM8AycET

# Conflicts:
#	tools/locales/german.json.gz
#	tools/locales/japanese.json.gz
#	tools/port_common/staging.py
#	upstream.lock
ZallaxDev added a commit that referenced this pull request Nov 21, 2026
- public_sync: an integration commit is held when each file has what it adds; changelog credits beside the pull requests' own entries
- Changelog: public pull requests #190 #209 #262-#300, by their authors
- public_sync: dev takes integration's ported pull requests as their own commits; a conflict or unported pull requests are problems, not a line
- Public export: the benchmark, profiling and macOS builder test tools (#293, #295, #300)
- Public export: upstream.lock's Python 3.15.2 and Pillow 13.0.0 (#288, #289)
- Harden Emerald 3DS runtime and builder workflows (#300)
- Replace deprecated Pillow pixel reads in voxel tools (#294)
- Add opt-in macOS standalone builder support (#295)
- Locales: move the Japanese span in main_menu.c past the main menu card (#298)
- Fly map: choose the destination with the +Control Pad (#267)
- Bottom screen: a tap on the map that slides a little still goes on with a message (#281)
- Summary: give the trainer memo room for a third line (#269)
- Summary: show Pokémon status icons (#270)
- Main menu: the saved game's trainer card on the top screen (#284)
- Restore Japanese naming marks and full touchscreen rows (#275)
- Speed up voxel generation to shorten development builds (#293)
- Release: ship bottom/menu_top.bin with the engine files (#280)
- Bag: planting a berry opens it in the bottom screen's window (#283)
- Frontier Pass map: the picture half as big again, filling its plate (#282)
- CI: support Ubuntu 26.04 with non-PIE sanitizer fixtures (#290)
- Startup: the data pack errors and the START hint in French and Italian (#209)
- Installation: step-by-step builder for Linux and macOS (#190)
- Bottom screen: reuse unchanged wild-list snapshots (#273)
- Upgrade release builds to Pillow 13.0.0 (#289)
- Naming screen: a tab turns straight to its page (#287)
- ci: upgrade GitHub Actions to latest tested releases (#292)
- Generate map event IDs for standalone voxel host tests (#277)
- Tests: update the voxel draft chunk fixture (#262)
- Harden native string formatting and numeric input parsing (#279)
- Build releases with Python 3.15.2 (#288)
- Visible wild: roll the IVs right after the personality (PID/IV legality) (#266)
- CI: use the release toolchain for 3DS builds (#286)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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