![]() |
Routines |
| Prev: 61889 | Up: Map | Next: 62345 |
|
Checks the room, the clock and the current character, then sets or clears object flags for this action. A non-zero return means the script step succeeded. Reached through the table at Table_DisplayRecordsByMovedMarker, read by LookUpDisplayRecordForMovedMarker.
|
||||
| ActionRoomAndCharacterFlags | 61910 | DEFB 7,0 | Display record read by ProcessDisplayRecord: flags 7 value 0. | |
|
Run by 51812 after the display record at ActionRoomAndCharacterFlags.
|
||||
| 61912 | LD A,(41012) | Take the morning marker and go to ActionRoomAndCharacterFlags_Next if the hour is below 13. | ||
| 61915 | LD B,97 | |||
| 61917 | CP 13 | |||
| 61919 | JR C,ActionRoomAndCharacterFlags_Next | |||
| 61921 | LD B,112 | Take the afternoon marker and subtract 12 to make the hour. | ||
| 61923 | SUB 12 | |||
| ActionRoomAndCharacterFlags_Next | 61925 | LD HL,40928 | Go to ParseInputNumber_ReturnZero if the hour does not match the clock at CurrentTime_Hour. | |
| 61928 | CP (HL) | |||
| 61929 | JP NZ,ParseInputNumber_ReturnZero | |||
| 61932 | LD A,(40930) | Go to ParseInputNumber_ReturnZero if the AM/PM marker at Messaging_AM_PM does not match. | ||
| 61935 | CP B | |||
| 61936 | JP NZ,ParseInputNumber_ReturnZero | |||
| 61939 | OR %00000001 | Reset the zero flag. | ||
| 61941 | RET | Return. | ||
|
Named from the script command at 61196.
|
||||
| 61942 | DEFB 7,0 | Display record read by ProcessDisplayRecord: flags 7 value 0. | ||
| 61944 | LD IX,(40979) | Read the current object and mark the object-attribute flag. | ||
| 61948 | SET 7,(IX+5) | |||
| 61952 | OR %00000001 | Reset the zero flag. | ||
| 61954 | RET | Return. | ||
| 61955 | DEFB 7,0 | Display record read by ProcessDisplayRecord: flags 7 value 0. | ||
| 61957 | LD IX,(40979) | Read the current object and clear bit 0 of its flags. | ||
| 61961 | RES 0,(IX+5) | |||
| 61965 | OR %00000001 | Reset the zero flag. | ||
| 61967 | RET | Return. | ||
| 61968 | DEFB 7,0 | Display record read by ProcessDisplayRecord: flags 7 value 0. | ||
| 61970 | LD IX,(40979) | Read the current object and set bit 0 of its flags. | ||
| 61974 | SET 0,(IX+5) | |||
| 61978 | OR %00000001 | Reset the zero flag. | ||
| 61980 | RET | Return. | ||
|
Named from the script command at 62019.
|
||||
| 61981 | DEFB 2,140,16,3 | Copy room parameters 140 What Happened, Watson into the display. | ||
| 61985 | DEFB 2,140,2,3 | Copy room parameters 140 Inspector Lestrade, Watson into the display. | ||
| 61989 | DEFB 2,140,20,3 | Copy room parameters 140 Stairway, Watson into the display. | ||
| 61993 | DEFB 2,140,2,1 | Copy room parameters 140 Inspector Lestrade, China Man into the display. | ||
| 61997 | DEFB 7,190,221,2,255 | Refresh the room from the text at 56766, using Inspector Lestrade, 255. | ||
| 62002 | DEFB 2,140,26,4 | Copy room parameters 140 Note, Chief Constable Strak into the display. | ||
| 62006 | DEFB 2,140,2,4 | Copy room parameters 140 Inspector Lestrade, Chief Constable Strak into the display. | ||
| 62010 | DEFB 15 | Mark a script error and carry on. | ||
| 62011 | DEFB 2,140,30,4 | Copy room parameters 140 Hansom Cab, Chief Constable Strak into the display. | ||
| 62015 | DEFB 2,140,2,5 | Copy room parameters 140 Inspector Lestrade, Daphne Strachan into the display. | ||
| 62019 | DEFB 14,29,242 | Jump to the script at 61981. | ||
|
Named from the script command at 62069.
|
||||
| 62022 | DEFB 7,190,221,2,255 | Refresh the room from the text at 56766, using Inspector Lestrade, 255. | ||
| 62027 | DEFB 2,140,21,3 | Copy room parameters 140 Your Door, Watson into the display. | ||
| 62031 | DEFB 2,140,2,3 | Copy room parameters 140 Inspector Lestrade, Watson into the display. | ||
| 62035 | DEFB 2,140,17,3 | Copy room parameters 140 Your Alibi, Watson into the display. | ||
| 62039 | DEFB 2,140,2,1 | Copy room parameters 140 Inspector Lestrade, China Man into the display. | ||
| 62043 | DEFB 7,190,221,4,255 | Refresh the room from the text at 56766, using Chief Constable Strak, 255. | ||
| 62048 | DEFB 2,140,31,4 | Copy room parameters 140 Cabbie, Chief Constable Strak into the display. | ||
| 62052 | DEFB 2,140,2,1 | Copy room parameters 140 Inspector Lestrade, China Man into the display. | ||
| 62056 | DEFB 7,190,221,4,255 | Refresh the room from the text at 56766, using Chief Constable Strak, 255. | ||
| 62061 | DEFB 2,140,27,4 | Copy room parameters 140 Your Money, Chief Constable Strak into the display. | ||
| 62065 | DEFB 2,140,2,1 | Copy room parameters 140 Inspector Lestrade, China Man into the display. | ||
| 62069 | DEFB 14,70,242 | Jump to the script at 62022. | ||
|
Named from the script command at 62114.
|
||||
| 62072 | DEFB 7,190,221,60,255 | Refresh the room from the text at 56766, using Plush Sofa, 255. | ||
| 62077 | DEFB 2,140,23,10 | Copy room parameters 140 Your Armchair, Maid into the display. | ||
| 62081 | DEFB 2,140,4,5 | Copy room parameters 140 Chief Constable Strak, Daphne Strachan into the display. | ||
| 62085 | DEFB 2,140,22,10 | Copy room parameters 140 Oil Lamp, Maid into the display. | ||
| 62089 | DEFB 2,140,3,5 | Copy room parameters 140 Watson, Daphne Strachan into the display. | ||
| 62093 | DEFB 7,190,221,60,255 | Refresh the room from the text at 56766, using Plush Sofa, 255. | ||
| 62098 | DEFB 2,140,54,10 | Copy room parameters 140 Wooden Door, Maid into the display. | ||
| 62102 | DEFB 2,140,4,5 | Copy room parameters 140 Chief Constable Strak, Daphne Strachan into the display. | ||
| 62106 | DEFB 2,140,55,10 | Copy room parameters 140 Thick Heavy Door, Maid into the display. | ||
| 62110 | DEFB 2,140,3,5 | Copy room parameters 140 Watson, Daphne Strachan into the display. | ||
| 62114 | DEFB 14,120,242 | Jump to the script at 62072. | ||
| 62117 | DEFB 132,7 | Display record read by ProcessDisplayRecord: flags 132 value 7. | ||
| 62119 | DEFB 7,201,228,253,255 | Refresh the room from the text at 58569, using the low byte of the location, 255. | ||
| 62124 | DEFB 7,190,221,252,255 | Refresh the room from the text at 56766, using the high byte of the location, 255. | ||
| 62129 | DEFB 11 | Run the nested character script. | ||
|
Named from the script command at 62131.
|
||||
| 62130 | DEFB 15 | Mark a script error and carry on. | ||
| 62131 | DEFB 14,178,242 | Jump to the script at 62130. | ||
|
Read by FindResponseForThisId.
|
||||
| 62134 | DEFB 5,253,172,107 | Describe the low byte of the location with the text at 27564. | ||
|
Named from the script command at 62181.
|
||||
| 62138 | DEFB 7,47,229,4,4 | Refresh the room from the text at 58671, using Chief Constable Strak, Chief Constable Strak. | ||
| 62143 | DEFB 3,168,229 | Show the message at 58792. | ||
| 62146 | DEFB 129,130,208,242 | Perform the simple action for 130 and otherwise continue at 62160. | ||
| 62150 | DEFB 131,122,229,191,242 | Show the message at 58746 and otherwise continue at 62143. | ||
| 62155 | DEFB 134,246,107,118,243 | Print the message at 27638 and otherwise continue at 62326. | ||
| 62160 | DEFB 3,136,229 | Show the message at 58760. | ||
| 62163 | DEFB 7,47,229,5,3 | Refresh the room from the text at 58671, using Daphne Strachan, Watson. | ||
| 62168 | DEFB 131,62,230,235,242 | Show the message at ScanObjects_PatchedRecord and otherwise continue at 62187. | ||
| 62173 | DEFB 3,168,229 | Show the message at 58792. | ||
| 62176 | DEFB 131,122,229,216,242 | Show the message at 58746 and otherwise continue at 62168. | ||
| 62181 | DEFB 133,253,27,108,186,242 | Describe the low byte of the location with the text at 27675 and otherwise continue at 62138. | ||
| 62187 | DEFB 130,130,253,255,252,242 | Copy room parameters 130 the low byte of the location, 255 into the display and otherwise continue at 62204. | ||
| 62193 | DEFB 130,129,253,251,46,243 | Copy room parameters 129 the low byte of the location, the current character into the display and otherwise continue at 62254. | ||
| 62199 | DEFB 19,230,230,89,243 | Show the message at 59110 and otherwise continue at 62297. | ||
| 62204 | DEFB 3,136,229 | Show the message at 58760. | ||
|
Named from the script command at 62251.
|
||||
| 62207 | DEFB 7,47,229,5,2 | Refresh the room from the text at 58671, using Daphne Strachan, Inspector Lestrade. | ||
| 62212 | DEFB 131,84,230,162,243 | Show the message at 58964 and otherwise continue at 62370. | ||
| 62217 | DEFB 131,111,230,102,243 | Show the message at 58991 and otherwise continue at 62310. | ||
| 62222 | DEFB 18,130,253,255,46,243 | Copy room parameters 130 the low byte of the location, 255 into the display and otherwise continue at 62254. | ||
| 62228 | DEFB 3,168,229 | Show the message at 58792. | ||
| 62231 | DEFB 131,122,229,4,243 | Show the message at 58746 and otherwise continue at 62212. | ||
| 62236 | DEFB 131,84,230,162,243 | Show the message at 58964 and otherwise continue at 62370. | ||
| 62241 | DEFB 131,111,230,105,243 | Show the message at 58991 and otherwise continue at 62313. | ||
| 62246 | DEFB 7,188,230,253,251 | Refresh the room from the text at 59068, using the low byte of the location, the current character. | ||
| 62251 | DEFB 14,255,242 | Jump to the script at 62207. | ||
| 62254 | DEFB 3,136,229 | Show the message at 58760. | ||
| 62257 | DEFB 6,199,107 | Print the message at 27591. | ||
| 62260 | DEFB 7,47,229,5,2 | Refresh the room from the text at 58671, using Daphne Strachan, Inspector Lestrade. | ||
| 62265 | DEFB 131,84,230,162,243 | Show the message at 58964 and otherwise continue at 62370. | ||
| 62270 | DEFB 131,111,230,102,243 | Show the message at 58991 and otherwise continue at 62310. | ||
| 62275 | DEFB 130,130,253,255,252,242 | Copy room parameters 130 the low byte of the location, 255 into the display and otherwise continue at 62204. | ||
| 62281 | DEFB 18,129,253,251,89,243 | Copy room parameters 129 the low byte of the location, the current character into the display and otherwise continue at 62297. | ||
| 62287 | DEFB 3,168,229 | Show the message at 58792. | ||
| 62290 | DEFB 147,122,229,57,243,49,243 | Show the message at 58746 and otherwise continue at 62265 or 62257. | ||
|
Named from the script command at 62281.
|
||||
| 62297 | DEFB 3,136,229 | Show the message at 58760. | ||
| 62300 | DEFB 3,14,231 | Show the message at 59150. | ||
| 62303 | DEFB 147,230,230,252,242,118,243 | Show the message at 59110 and otherwise continue at 62204 or 62326. | ||
| 62310 | DEFB 3,136,229 | Show the message at 58760. | ||
| 62313 | DEFB 15 | Mark a script error and carry on. | ||
| 62314 | DEFB 15 | Mark a script error and carry on. | ||
| 62315 | DEFB 130,130,253,255,208,242 | Copy room parameters 130 the low byte of the location, 255 into the display and otherwise continue at 62160. | ||
| 62321 | DEFB 131,230,230,229,242 | Show the message at 59110 and otherwise continue at 62181. | ||
|
Named from the script command at 62155.
|
||||
| 62326 | DEFB 2,128,252,0 | Copy room parameters 128 the high byte of the location, You into the display. | ||
| 62330 | DEFB 131,128,243,122,243 | Show the message at 62336 and otherwise continue at 62330. | ||
| 62335 | DEFB 11 | Run the nested character script. | ||
|
Named from the script command at 62330.
|
||||
| 62336 | DEFB 200,0,137,243 | Display record read by ProcessDisplayRecord: flags 200 value 0 handler CompareRoomParameters (bit 7: the script resumes at 62340). | ||
| 62340 | DEFB 2,128,253,0 | Copy room parameters 128 the low byte of the location, You into the display. | ||
| 62344 | DEFB 11 | Run the nested character script. | ||
| Prev: 61889 | Up: Map | Next: 62345 |