WP-115: Phantom’s souvenir shop, played (Gen 1)

Status: ✅ Done (2026-11-29). Fork PR barefootbetters/scummvm#40 merged on 2026-11-29 (merge commit fab4620dcb). Phase: 5 (rooms checked without clicks, played) Depends on: WP-058 ✅ (the port of the room) Companion EC: none (inline checklist under Exit criteria) Pre-flight: pre-flight-WP-115-2026-11-29. Required: the packet modifies engines/terraglyph/**. Targets generation(s): Gen 1, Phantom of the Knight only. Estimated effort: Two hours


Goal

Play the souvenir shop (ROOM_P03_Souvenir_Shop, 0x416FE0, vtable 0x45EB9C) through the engine’s mouse and tick, against the decompile, and fix what differs.

WP-058 ported the room. Its check only inspected state and sent events by name, never through the mouse. It’s the last of the five room groups whose checks don’t click at all, after the gallery (WP-110), the armory (WP-111), the garden group (WP-112) and the kitchen storage room (WP-114).

What the decompile says

What differed

The fork’s room class matched the decompile.

One gap was in the engine. The fork hid the cursor only for an exit and for a room class holding input. Through every opening and every blocking scene, the arrow stayed drawn. Now:

The fork still has no fade. The ghost (0x40A990) touches neither the cursor nor input itself, and what calls it isn’t traced, so it keeps the cursor as before.

Scope

In scope:

Exit criteria

  1. Expectations first. The new lines were written from the decompile before the run.
  2. Self-test. The new lines match the decompile, with the check slips corrected (below). The rest matches the WP-114 run except for the per-run random keys. No new warnings.
  3. Live. A scripted run buys the bottle with the tokens from the toolbar and leaves for the town, with no cursor drawn during the opening and the scenes.
  4. Process. The fork PR against scooby-engine is open (merged on 2026-11-29).

Result

Evidence labels: log (a self-test’s debug log), live (session) (a scripted run this session drove and read, with screenshots).

Found on the way

Deliverables