Sherlock: annotated disassembly

The cast and their scripts

Every character runs a plan script (see CC78 for the language). Hours come from verb 136 ("is it this hour?"), rooms from verb 131 ("is this person in this room?") and moves from verb 128.

The scripts were checked by running the game: over 106 turns every instruction the interpreter fetched was one this decoding finds.

"Starts in" is the room in the file, before the opening minutes are played. "Busy" instructions make the character refuse what the player asks (CBA7). The after-turn routine runs after each of its turns (9C77).

ActorStarts inScriptInstructionsAfter-turnWhat it does
0 youroom 8 (your room)992111 (0 busy)--
2 inspector lestraderoom 11 (scotland yard)E7E7223 (181 busy)9DFFwaits for 1am, 7am, 10am, 9pm, 10pm
signals chief constable straker; signals major percival ffoulkes; signals local police man; waits for chief constable straker; waits for major percival ffoulkes
checks where people are: room 50 (main street), room 55 (platform two), room 103 (old mill road)
moves things: 93 large rock to room 0 (off stage), self to room 0 (off stage), self to room 11 (scotland yard), self to room 12 (slater street)
can end the game: 9E6A, 9E85, 9EA2
  • E7EC: "HELLO"
  • E7F6: "NOW WHAT SEEMS TO BE THE PROBLEM HERE?"
  • E800: "WELL THEN SHOW ME TO THE BROWN'S ESTATE PLEASE."
  • E81E: "HAVE YOUR MEN SEARCHED THE RIVER FOR THE GUN YET?"
  • E850: "RIGHT THEN CONSTABLE WILL YOU SHOW ME TO MISS STRACHAN AND MR PHIPPS PLEASE."
  • E868: "YOU SAY' I WOULD LIKE YOU TO REMAIN HERE PLEASE.'"
  • E86B: "CHIEF CONSTABLE I WILL SEE THE STAFF NOW."
  • E888: "YOU SAY' I WOULD LIKE YOU TO REMAIN HERE PLEASE.'"
  • E88B: "WELL I MUST SAY THIS IS ALL VERY CONFUSING, PERHAPS I SHOULD VISIT THE ESTATE OF MRS JONES NOW."
  • E8B9: "WHAT IS GOING ON HERE CONSTABLE?"
  • E8C5: "COME WITH ME PLEASE."
  • E8EA: "YOU SAY' I WOULD LIKE YOU TO REMAIN HERE PLEASE.'"
  • ... and 11 more
3 watsonroom 8 (your room)E72F32 (0 busy)9D13checks where people are: room 8 (your room)
moves things: 26 note to room 8 (your room), self to room 0 (off stage)
  • E72F: "WATSON LOOKS UP FROM THE PAPER AND SAYS' GOOD MORNING HOLMES.'"
  • E742: "WITH AN EXCITED LOOK ON HIS FACE YOU SAYS' WELL HERE IS A CASE THAT MAY INTEREST YOU, IT SEEMS THAT TWO CLO..."
  • E773: "YOU LOOKS UP AS YOU ENTER SAYING' HELLO THERE HOLMES, JUST A MINUTE NOW- HERE IS A CASE THAT MAY INTEREST Y..."
4 chief constable strakerroom 53 (leatherhead station)EBFA76 (70 busy)9D30signals inspector lestrade; signals strachan; signals phipps; signals gardener; signals cook; signals maid; signals local police man; signals local police man; waits for inspector lestrade
checks where people are: room 54 (platform one)
moves things: self to room 53 (leatherhead station)
  • EBFE: "HELLO INSPECTOR, GOOD OF YOU TO COME SO QUICKLY."
  • EC08: "DAMNED STICKY BUSINESS THIS, WE RECIEVED A REPORT EARLY THIS MORNING FROM THE GARDENER UP AT THE BROWN'S ES..."
  • EC17: "MRS BROWN'S HUSBAND WAS KILLED ABOUT FIVE YEARS AGO, HE WAS A TOP SCIENTIST WORKING ON SOME SECRET PROJECT...."
  • EC1F: "YES INSPECTOR, UNFORTUNATELY NOTHING WAS FOUND."
  • EC38: "INSPECTOR I WOULD LIKE YOU TO MEET BASIL PHIPPS AND DAPHNE STRACHAN. BASIL, DAPHNE THIS IS INSPECTOR LESTRA..."
  • EC69: "MRS JONES WAS A WIDOW, HER HUSBAND HAVING DIED ABOUT EIGHT YEARS AGO. AT THE TIME SHE CAME HERE TO LIVE NEA..."
5 strachanroom 67 (sitting room)F01717 (10 busy)9EC1waits for chief constable straker
checks where people are: room 63 (browns front door)
  • F023: "YOU SEEMS AT A LOSS, LOOKING FORLORN AND CRYING QUIETLY TO HERSELF."
  • F031: "YOU SEEMS AT A LOSS, LOOKING FORLORN AND CRYING QUIETLY TO HERSELF."
6 phippsroom 67 (sitting room)EE2B96 (28 busy)9CA2waits for 7am, 9am, 1pm, 3pm, 4pm, 10pm, 11pm
signals german agent; waits for chief constable straker
checks where people are: room 23 (platform four), room 32 (camden street), room 38 (basils library), room 39 (basils yard), room 102 (basils front yard), room 103 (old mill road)
moves things: 81 torn coded ?0f8 note to room 0 (off stage), 83 ripped coded baker note to room 0 (off stage), self to room 0 (off stage), self to room 33 (entrance hall), self to room 35 (basils bedroom), self to room 50 (main street), self to room 61 (basils bedroom), self to room 103 (old mill road)
can end the game: 9E48, DFCA
  • EF47: "AS YOU ENTER YOU WHIPS HIS HORSES INTO ACTION AND SPEEDS OFF DOWN THE ROAD."
7 major percival ffoulkesroom 0 (off stage)F06246 (33 busy)-waits for 1am, 11pm
signals inspector lestrade; waits for inspector lestrade
moves things: self to room 0 (off stage), self to room 40 (sidmouth street), self to room 92 (jones front gate)
  • F06A: "PLEASE LET ME PAST OFFICER, I MUST SEE MRS JONES."
  • F073: "INSPECTOR I AM YOU A VERY CLOSE AQUAINTANCE OF MRS JONES AND I DEMAND TO SEE HER AT ONCE."
  • F07D: "UPON SEEING THE BODY MAJOR FFOULKES TURNS DEATHLY PALE, THEN, RECOVERING, TURNS AND SAYS' INSPECTOR LESTRAD..."
  • F0E2: "WELL HOLMES YOU HAVE FOUND OUT MY SHAMEFUL SECRET, I AM ADDICTED TO THIS VILE OPIUM AND I CONFESS, THIS IS..."
8 gardenerroom 65 (large kitchen)ED4B35 (2 busy)9ED1waits for chief constable straker
9 cookroom 65 (large kitchen)EDF89 (4 busy)9ECBwaits for chief constable straker
10 maidroom 65 (large kitchen)EE1F4 (2 busy)-waits for chief constable straker
moves things: self to room 0 (off stage)
11 local police manroom 92 (jones front gate)F11015 (11 busy)9D48waits for inspector lestrade; waits for chief constable straker
moves things: self to room 0 (off stage)
  • F114: "INSPECTOR, THIS GENTLEMAN INSISTS HE KNOWS MRS JONES AND WISHES TO ENTER THE HOUSE."
12 local police manroom 62 (browns front gate)F14512 (8 busy)9D73waits for chief constable straker
moves things: self to room 0 (off stage)
13 tricia fenderroom 0 (off stage)F15A14 (0 busy)-waits for 1am, 8am, 2pm
checks where people are: room 11 (scotland yard)
moves things: self to room 0 (off stage), self to room 45 (portman street)
31 cabbie, 34 cabbieroom 0 (off stage), room 0 (off stage)F2B22 (0 busy)--
36 steam trainroom 2 (steam train)F21D11 (0 busy)--
37 steam trainroom 2 (steam train)F23A11 (0 busy)--
38 steam trainroom 2 (steam train)F22D11 (0 busy)--
39 steam trainroom 2 (steam train)F24612 (0 busy)--
40 steam trainroom 2 (steam train)F26812 (0 busy)--
41 steam trainroom 2 (steam train)F25B12 (0 busy)--
42 steam trainroom 3 (steam train)F27811 (0 busy)--
43 steam trainroom 3 (steam train)F28D11 (0 busy)--
104 german agentroom 0 (off stage)EFF630 (1 busy)-waits for 3pm, 4pm
waits for phipps
checks where people are: room 23 (platform four), room 103 (old mill road)
moves things: self to room 0 (off stage), self to room 50 (main street), self to room 103 (old mill road)
can end the game: 9E48