Pre-Flight — WP-049 — 2026-11-15

Filled-in copy of docs/reference/pre-flight for WP-049. Verdict at the bottom.

Written after PR #96 merged. Nothing on main, in the fork or in an open PR touched the railroad station or Gummy. The open PRs are #78, about sprite hit types, and #94, about WP-011.


Pre-flight intent

Validating readiness for WP-049. Verdict only.

Dependency check

Prereq Status in WORK_INDEX Locked on Notes
WP-038 ✅ Done 2026-11-15 The dentures, from the strong box.
WP-031 ✅ Done 2026-11-14 Suspects met, clues given, and the suspects’ room.
WP-022 ✅ Done 2026-11-14 Movies: movie 30 between the dentures and his clue.
WP-021 ✅ Done 2026-11-14 Clickables: hotspots 2 and 3.

Repo + disc state

Scope lock

Allowed paths (this repo):

docs/formats/scooby-exe.md       (the railroad station)
docs/work-packets/WP-049-railroad-station.md
docs/work-packets/WORK_INDEX.md
docs/reference/pre-flight-WP-049-2026-11-15.md

Fork: engines/scooby/**, staged by name. New files station_rooms.{h,cpp}; the check in chase_check.cpp. In the shared files: a factory line, the module entry, and two getters in room.h.

Split: Gummy’s whistle puzzle (ROOM_Gummy, 0x40FC40) is a puzzle of its own, with a 197-line tick and a bell callback. It is WP-050.

Risk review

Risk Likelihood Impact Mitigation
Gummy and the donkey are characters, clicked by their flags in the tick. — medium The class takes the clicks it acts on (RoomClass::click), and leaves the others to the inventory.
The dentures send the gang to the station itself. — low The hotel’s window did the same (WP-042); the check runs the change and the return.

Verdict

Prepared by: Claude (WP-001 session, continuing), after PR #96 merged Date: 2026-11-15


After execution — lessons learned

Lesson: a character clicked is the class’s to take, when the class acts. Gummy and the donkey are read by their clicked flags in the original’s tick. The fork’s RoomClass::click takes the clicks the class acts on, and lets the inventory answer the rest, such as the wrong item.

Lesson: a hint counter can move at arrival. The opening takes Gummy’s next hint, so the first click after arriving gives the second.

Scope note: one fork commit of 6 files staged by name. Besides the factory line and the module entry, room.h gained two getters.