Skip to content

FRLG AutoStory: play as the girl as well as the boy - #398

Draft
dayfine wants to merge 6 commits into
frlg/stage1-programfrom
frlg/player-girl
Draft

dayfine wants to merge 6 commits into
frlg/stage1-programfrom
frlg/player-girl

Conversation

@dayfine

@dayfine dayfine commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Depends on #352

FRLG AutoStory could only play the boy: the intro always took BOY and the facing reader knew only Red's sprite sheet. This adds a Player option (Boy by default, so existing saves and settings are unchanged) that picks GIRL on the intro's BOY/GIRL menu, located from pokefirered's oak_speech.c window. The same option tells the facing reader (and the walker that calls it) which sheet to load: red_normal.png for the boy, green_normal.png for the girl (pret's OBJ_EVENT_GFX_GREEN_NORMAL, added to dayfine/Packages lab/autostory-resources and to the fork CI fetch in #395). Only the chosen sheet is loaded, so a boy run no longer needs the girl's file (an earlier boy-then-girl fallback crashed a console run where it was missing); a save must match the option. Tested with the PlayerFacingReader suite (both real sheets on a synthetic screen, each read by its own sheet and not by the other's), OverworldWalk, and the AutoStory intro tests (BOY/GIRL menu steps, boy then girl); the girl's intro pick is not yet checked on a console.

🤖 Generated with Claude Code

https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss

dayfine and others added 6 commits November 11, 2026 14:53
A Player option (boy by default) picks GIRL on the intro's BOY/GIRL menu
(pokefirered oak_speech.c window at tile (18, 9)). The facing reader loads
the girl's sprite sheet (green_normal.png) next to the boy's and tries
both, so a save of either player runs without the setting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
gender_menu_cursor() and gender_menu_step() move out of the intro's header
and AutoStoryActions.cpp, which were at their size limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
The facing reader tried the boy's sheet and fell back to the girl's, which
crashed a console run when green_normal.png was missing. It now takes the
Player option's gender and loads that sheet only; the walker passes it on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VUubhHeYSMGSSDXZkKZss
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