WP-033: Showdown’s Street 2 and Street 3 (Gen 1)

Status: ✅ Done (2026-11-14) Phase: 3 (game logic: the story rooms) Depends on: WP-029 ✅ (room setup and the story-room hooks), WP-028 ✅ (the story’s values), WP-031 ✅ (suspects met) Companion EC: none (inline checklist under Exit criteria) Estimated effort: Half-day Pre-flight: pre-flight-WP-033-2026-11-14


Result (2026-11-14)

Exit criteria:

  1. Street 2 against the trace: ✅ At script level 3, from Town Center:
    • Fred walks in DL and Daphne DR, each 50 in front of their depth.
    • Street_1.130A_ holds input and starts on tick 100. It plays again on the next visit while the moans are on; with them off there is no opening.
    • Before Artie is met, Gummy and the donkey aren’t built.
    • Once Artie is met, Gummy loops ANIM_GUMMY_BSLEEPS (state 16); neither he nor the donkey can be hit.
    • With GummyPuzzle and Gummy a clue owner, he stands idle 50 pixels along (157 → 207), and so does the donkey (204 → 254). The window is built at depth −1, never hit.
    • The clock plays CLOCKA, and CLOCKB once OBJ_INV_CLOCK is taken.
    • The hotspots play Street_2.100C_ and 100D_ with input on. The exit to the store plays Street_2.General_Store1_ or 2_.
  2. Street 3 against the trace: ✅ Fred walks in DL from Town Center, Velma U from the Saloon, and Shaggy UR from the Bank.
    • The first hotspot plays 130X1_, 130X2_, 130X3_, then 130X1_ again.
    • The second takes the music out of its group while its 46 steps play. It is a Music.dat clip, so it replaces the music. After 138 ticks group 2 comes back on its next variant (Group2_4 → Group2_1).
    • The third plays Street_3.HOTSPOT3_ on step 3 while it plays its A, when its state (+0x60) is already B; not while it plays B or C. (Corrected 2026-11-14 in WP-034: 794cb1a830 tested the playing sequence and so fired during B.)
    • Idle chatter is 100B2_ or 1100A_ with the moans on, and only 1100A_ with them off. Moans come every 5–14 seconds.
  3. Live, Showdown: ✅ Started from a profile with the moans on and Town Center’s snack eaten, driven by the engine’s test_script:
    • Town Center to Street 2: Fred and Daphne walk in, and the opening starts on tick 100. Escape skipped it, and the first hotspot gave 100C_.
    • Back through Town Center to Street 3: Fred walks in, and its opening plays.
    • The second hotspot’s SFX_P11_STREET3_HOTSPOT2A replaced the music, and then Group2_2 came in.
    • Six frames were captured.
  4. Build and regressions: ✅

Deviations and gaps:


Goal

Play Showdown’s Street 2 and Street 3 as their room classes have them, and add the hooks those rooms need for the rest of the story rooms.

Background

Traced headless in Ghidra 12.1.4. Both classes’ functions are listed in scooby-exe.

Scope

In scope (fork, engines/scooby/ only):

Out of scope: Street 1 (WP-034).

Exit criteria

  1. Street 2 matches the trace: openings, walk-ins, Gummy and the donkey as the story moves, the window, the clock, the hotspots and the store exit.
  2. Street 3 matches the trace: walk-ins, the three hotspots, the music, idle chatter.
  3. Live in Showdown: both streets from Town Center.
  4. Scooby-only build with 0 errors and 0 warnings; earlier checks unchanged; the fork diff stays inside engines/scooby/.

Deliverables