WP-034: Showdown’s Street 1, and the clue a suspect gives (Gen 1)
Status: ✅ Done (2026-11-14) Phase: 3 (game logic: the story rooms) Depends on: WP-033 ✅ (the street hooks), WP-031 ✅ (Big Head, the suspects and clues), WP-028 ✅ (the story’s values) Companion EC: none (inline checklist under Exit criteria) Estimated effort: Day Pre-flight: pre-flight-WP-034-2026-11-14
Result (2026-11-14)
Exit criteria:
- The clue a suspect gives: ✅
- Street 1 against the trace: ✅ From Town Center, Fred walks in
DR, with the moaning opening.- No Sheriff before Artie’s clue. The office door is shut and its exit not built.
- The Sheriff’s first click goes to
ROOM_Big_Headwith him met; the next goes toROOM_Sheriff. In his puzzle, waiting, the hints playHint1_,Hint2_,Hint3_,Hint1_with input on. - The sign given: he has it,
SheriffWaitinggoes off, and220D1_plays. Then one of130C1_to130C3_and one of his own three clues; he playsANIM_SHERIFFGIVES, input held, thenGlobal.Thank_You_andROOM_Suspect_Chooser. - Back: the office is open, he stands at (501, 270), and he says
Global.1000SA_. - The trough says
130D_,130D2_,130D3_,130D_before the handle. With it,130E_; thenPUT_HANDLEwith130F2_andTROUGHB,PUMPAwith130F_andTROUGHC,PUMPBwith130F3_,TROUGHDand the key, thenPUMPCwith no scene. - Scooby takes the key as
OBJ_SCOOBY_P03_TAKES_KEY(60 ticks). PumpAttempts,SheriffIntroPlayedandKeyVisibleread back.- The second hotspot’s scene comes as it plays A.
- With the brick taken, the Sheriff is gone and the trough asks for the brick. Washed, it gives
Wash_Brick_andFinalClue, then movie 14 andROOM_Suspect_Chooser. - To the post office with the lantern, no scene.
- Live, Showdown: ✅ Started from a profile in the Sheriff’s puzzle with the sign in the toolbar, driven by the engine’s
test_script:- A click on the Sheriff gave
Hint1_. The van opened the toolbar, and the sign’s pad made it the cursor. - The Sheriff took the sign (
220D1_) and gaveSHERIFF_SPURSafter130C2_. He playedGIVES, andGlobal.Thank_You_took the gang to the suspects and clues, which showed Artie’s map and the Sheriff’s spurs. - Six frames were captured.
- A click on the Sheriff gave
- Build and regressions: ✅
Deviations and gaps:
- Street 3’s third hotspot (WP-033) tested the sequence playing. The trace reads the clickable’s state (
+0x60), so its scene comes while it plays A. Fixed here, and WP-033’s result is corrected. - The Sheriff’s click is taken by the room’s class as the button goes down, not in the room’s tick. The original’s tick (
0x42AF60) tests bit 4 of game+0x20, which is set when the button comes up. For an ordinary click the result is the same. (The WP-001 session found the meaning of the bits during WP-039, 2026-11-15.) Clicks with other items go on to the game’s wrong-item line, as before. - Phantom’s clue function isn’t traced;
giveClue()is Showdown’s. The check runs only on Showdown. - Follow-up fork commit
1d6db2caa5, on WP-035’s87b8c0dfb7, keeps the setup check the same from run to run. WP-035 gives three of Chase B’s rooms an opening drawn on each visit (rand() & 3), and the check now names the set. All four have a first line in each room, so input is held and the opening starts on tick 100 whichever is drawn. Every room still matches the reference on both titles, now with the chase openings in it, and the story checks give the same 129 lines on three runs. - The setup check now starts from a new game’s
SheriffWaiting. With no story state, Street 1 owes the Sheriff his clue on entry and starts that scene, which is right but isn’t what the setup check measures.
Goal
Play Showdown’s Street 1 as its class has it, with the clue each suspect
gives (game vtable +0x44), which Street 1 is the first to call.
Background
Traced headless in Ghidra 12.1.4; the functions are in scooby-exe.
Scope
In scope (fork, engines/scooby/ only):
giveClue()(0x42F990,0x4301E0,0x4301A0).- Street 1’s class.
- Hooks:
- the room left (vtable
+0x10); - a requires object’s own cursor, and the sequence of any claimed placement;
- character state
0xD.
- the room left (vtable
scriptlevel 3 checks.
Out of scope: Phantom’s clue function; the Sheriff’s close-up room
(ROOM_Sheriff).
Exit criteria
giveClue()follows0x42F990for every villain and giver.- Street 1 matches the trace.
- Live in Showdown: the Sheriff, the sign, his clue.
- Scooby-only build with 0 errors and 0 warnings; earlier checks
unchanged except as listed; the fork diff stays inside
engines/scooby/.
Deliverables
- Fork commit on
scooby-engine. - scooby-exe: Street 1 and the clues.
- WORK_INDEX row and findings line.