Skip to content

Add opt-in remote Pokémon PC shortcut and R-button hint - #301

Open
mkrieger95 wants to merge 4 commits into
ZallaxDev:integrationfrom
mkrieger95:feature/optional-remote-pc
Open

mkrieger95 wants to merge 4 commits into
ZallaxDev:integrationfrom
mkrieger95:feature/optional-remote-pc

Conversation

@mkrieger95

@mkrieger95 mkrieger95 commented Nov 21, 2026 •

Copy link
Copy Markdown

Closes #302

Summary

Adds Remote PC, an optional enhancement inspired by the portable box access in newer Pokémon games. Trainers can rotate their party, deposit new catches, or retrieve a Pokémon for the next stretch of their adventure without going back to a Pokémon Center.

How to use it

  • Go to Options → General → Enhancements → Remote PC and turn it on. It defaults to Off. The choice is remembered by the existing settings system and can be changed at any time.
  • In a new game, the shortcut becomes usable after receiving your first Pokémon if the option is enabled. It also works with existing saves.
  • In the overworld, press X to focus the bottom-screen dock, then R to open the existing box-moving screen. A small PC + R hint appears only when the shortcut is available and the dock has focus.
  • B or X closes the dock even if R is pressed on the same frame. Inside Options, R still advances groups, and the soft-reset chord continues to work.
  • Closing remote storage returns you to the overworld and restores movement when the normal field fade finishes. Physical PCs retain their usual menus, and the feature uses the existing boxes and save format.

Where it is restricted

Remote PC is unavailable in battles, during scripts or field transitions, in Safari or link contexts, and in places that commit the player’s party to a challenge. That includes the Elite Four rooms and connecting halls, Battle Tower and other Battle Frontier challenge interiors, Battle Tent challenge interiors, and active Trainer Hill runs. Ordinary lobbies and Pokémon Centers remain available. The hint follows the same rules as the shortcut.

Verification

  • Upstream storage patch checked against the pinned pokeemerald source.
  • Focused host checks for restricted maps, lobby access, B+R/X+R priority, Options R, the soft-reset chord, and launch failure.
  • GitHub host tests and Python audit.
  • Full 3DS build on the updated head.
  • Azahar and hardware walkthrough covering first-Pokémon gating, toggle persistence, box moves, summaries, item transfers, box naming, field return, and normal physical PCs.

@mkrieger95
mkrieger95 marked this pull request as ready for review November 21, 2026 02:57
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T03:03:48.152021Z c520dfe Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c520dfe0bb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ZallaxDev

Copy link
Copy Markdown
Owner

Thanks for the PR, @mkrieger95! Could you change the base branch of this PR from main to integration? Contributions go through integration first, and that's where we build and test them. You can switch it from the "Edit" button next to the title; if any conflicts show up after that, please resolve them on top of integration. We'll review it once it's retargeted. Thanks!

@mkrieger95
mkrieger95 changed the base branch from main to integration November 21, 2026 13:11
Rebase the opt-in remote storage feature over integration's refactored bottom UI. Preserve challenge restrictions, shortcut priority, hint, and the world-frame hold before fading. Exclude unrelated README changes.
@mkrieger95
mkrieger95 force-pushed the feature/optional-remote-pc branch from 49dbc2a to 647db7f Compare November 21, 2026 13:14

mkrieger95 commented Nov 21, 2026 •

Copy link
Copy Markdown
Author

Hi @ZallaxDev . I Retargeted PR #301 from main to integration and rebased the feature onto the latest integration head (b1ee272). I adapted it to the refactored bottom-screen modules rather than bringing back the old monolithic UI; the PR is now mergeable with one feature commit and no unrelated README changes. The previous top-screen world-frame hold fix remains included. The new build-3ds CI check is running.

Stage non-English localization from its pinned original patched English source before applying the new remote storage overlay. Revert only the known Remote PC patch on temporary test inputs to continue enforcing full locale manifest SHA-256 and edit-bound validation.

Copy link
Copy Markdown
Author

Follow-up CI remediation in f510da1: the previous build-3ds failure came from verify-randomizer-locales, which compared the Remote PC-modified src/pokemon_storage_system.c against pinned original source hashes for Spanish, French, and Italian. The fix stages non-English locale edits against the expected pre-Remote-PC source, then applies the Remote PC overlay afterwards. The hash-verification test now reverses only that known overlay on a temporary copy before checking the original manifest SHA-256 and edit bounds, so the source-integrity checks remain enforced rather than being bypassed. New CI: https://github.com/ZallaxDev/emerald-3ds/actions/runs/44909060659 (in progress at time of comment).

Retain Remote PC's optional R shortcut, dock hint and field/challenge restrictions while incorporating Live Party/Bag options, snapshots, field actions, and tests from integration. Resolve overlapping bottom-screen option groups, UI state, snapshot and extras registrations. Preserve the original deferred patch and source hash guard changes.
Combine the three opt-in field enhancements in the existing Live row group, labeled Enhancements for the user-facing Options path. Keep all three default-off settings visible without overflowing the bottom-screen four-group limit. Extend the Live Bag host regression to check every toggle and the shared group layout.

Copy link
Copy Markdown
Author

CI #901 failure fixed in bf319a2: The engine build and Python audits passed; the only failure was the bottom_live_bag_test.py assertion that the General options tab must have at most 4 groups. During conflict resolution with the merged Live Party/Bag features, General accidentally acquired 5 groups (Interface, System, Enhancements, Live, Graphics). Consolidated all three default-off field features (live_party, live_bag, remote_pc) into a single General → Enhancements group; retained all four existing other group constraints and kept the option visible, rather than relaxing the UI limit. Strengthened the host regression fixture to assert three unique default-off options in the group and the supported group/row counts. No Remote PC availability/challenge restrictions or Live Party/Bag behaviors were changed. CI has been retriggered; pending result.

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.

Feature request: Add an opt-in Remote PC shortcut

2 participants