Skip to content

smbw: fix Outmaway Valley Wonder Seed missing the goal pole at 4:3 (Course022_Main) - #12

Merged
PyroDonkey merged 1 commit into
mainfrom
smbw-course022-wonder-seed
Nov 10, 2026
Merged

PyroDonkey merged 1 commit into
mainfrom
smbw-course022-wonder-seed

Conversation

@PyroDonkey

Copy link
Copy Markdown
Owner

Stacked on #11 (World001 hidden pipe). GitHub retargets this to main once #11 merges.

Problem

In W2 Outmaway Valley, at the end of the Wonder Flower section the Wonder Seed should drop onto the tip of the knocked-over goal pole. At 4:3 it missed the pole and fell out of the course.

Cause

The Wonder is an autoscroll (rail x 445.25 → 693.0; the rail point is the view's left edge). The finish seed ItemWonderFinishWonderSead (obj8927, at x 693.5) falls straight down once created, and its only creator is CourseDisplayBoxSwitch obj8878 at x 715.5, which fires when its box enters the view. The level uses that box as a timer: the seed drops just as the pole, carried round by the rolling snow hill, passes underneath. The 4:3 scroll view is 21.0 blocks wide (G 15.75) instead of 27.5556 and stays left-aligned while scrolling, so it reached the box 6.5556 blocks of scroll late, after the pole had moved on.

Fix (tools/build_stage.py, new stage file Course022_Main)

Move every display-box switch in the section left by 27.5556 − 21.0 = 6.5556 so each fires at the stock scroll position:

Switch Creates X
obj8878 (3802668973) finish Wonder Seed 715.5 → 708.9444
obj8931 (14721847139351791685) Mini Lucky Coins on the rolling hill 574.5 → 567.9444
obj8932 (16130168003287809964) Mini Lucky Coins on the rolling hill 596.5 → 589.9444

While scrolling, the 4:3 view shows nothing the 16:9 view doesn't (same left and top edges), so firing at the stock moment cannot reveal a spawn that stock hid.

Also: layout_count 125 → 126, AGENTS.md current state, DEVELOPMENT.md §47, README "Played and checked", and a new row in the guide's Common bugs table (display-box triggers used as timers during autoscrolls).

Testing

  • Confirmed in Eden (Windows): the seed lands on the pole.
  • Not separately reported: the Mini Lucky Coins on the rolling hill.
  • build_stage.py --verify: 0 problems (Course022_Main: 9 bytes inside 3 edits; the other stage files are byte-identical to the shipped ones). 16 stage tests pass. check_repo.py OK.

🤖 Generated with Claude Code

…ourse022_Main)

At the end of the Wonder autoscroll, the finish Wonder Seed is created by a
CourseDisplayBoxSwitch when the box enters the view; the level uses it as a
timer so the seed drops onto the tip of the goal pole carried by the rolling
snow hill. The left-aligned 4:3 scroll view (21.0 wide at G 15.75) reached
the box 6.5556 blocks of scroll late, so the seed missed the pole and fell
out of the course.

Move all three display-box switches of the section left by 6.5556 so they
fire at the stock scroll position: obj8878 (seed) 715.5 -> 708.9444, and the
Mini Lucky Coin switches obj8931 574.5 -> 567.9444, obj8932 596.5 -> 589.9444.

Confirmed in Eden: the seed lands on the pole. The coin switches were not
separately reported. build_stage.py --verify: 0 problems (Course022_Main 9
bytes inside 3 edits); 16 stage tests pass; check_repo.py OK. romfs count
125 -> 126. Adds a Common bugs row to the guide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PyroDonkey
PyroDonkey changed the base branch from smbw-world001-hidden-pipe to main November 10, 2026 13:59
@PyroDonkey
PyroDonkey merged commit 7dca539 into main Nov 10, 2026
2 checks passed
PyroDonkey added a commit that referenced this pull request Nov 10, 2026
CHANGELOG v1.2.0 for PRs #9-#12; README What it changes and Known limits;
README.txt lists BancMapUnit/Event; AGENTS current state (Course290 and
Course853 confirmed in game, delete-first stage/event copy); three Common
bugs rows in the guide; DEVELOPMENT section 55 records the merge.

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.

1 participant