![]() |
Routines |
| Prev: F1C1 | Up: Map | Next: F389 |
|
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 | F1D6 | DEFB $07,$00 | Display record read by ProcessDisplayRecord: flags 07 value 00. | |
|
Run by CA64 after the display record at ActionRoomAndCharacterFlags.
|
||||
| F1D8 | LD A,($A034) | Take the morning marker and go to ActionRoomAndCharacterFlags_Next if the hour is below 0D. | ||
| F1DB | LD B,$61 | |||
| F1DD | CP $0D | |||
| F1DF | JR C,ActionRoomAndCharacterFlags_Next | |||
| F1E1 | LD B,$70 | Take the afternoon marker and subtract 0C to make the hour. | ||
| F1E3 | SUB $0C | |||
| ActionRoomAndCharacterFlags_Next | F1E5 | LD HL,$9FE0 | Go to ParseInputNumber_ReturnZero if the hour does not match the clock at CurrentTime_Hour. | |
| F1E8 | CP (HL) | |||
| F1E9 | JP NZ,ParseInputNumber_ReturnZero | |||
| F1EC | LD A,($9FE2) | Go to ParseInputNumber_ReturnZero if the AM/PM marker at Messaging_AM_PM does not match. | ||
| F1EF | CP B | |||
| F1F0 | JP NZ,ParseInputNumber_ReturnZero | |||
| F1F3 | OR %00000001 | Reset the zero flag. | ||
| F1F5 | RET | Return. | ||
|
Named from the script command at EF0C.
|
||||
| F1F6 | DEFB $07,$00 | Display record read by ProcessDisplayRecord: flags 07 value 00. | ||
| F1F8 | LD IX,($A013) | Read the current object and mark the object-attribute flag. | ||
| F1FC | SET 7,(IX+$05) | |||
| F200 | OR %00000001 | Reset the zero flag. | ||
| F202 | RET | Return. | ||
| F203 | DEFB $07,$00 | Display record read by ProcessDisplayRecord: flags 07 value 00. | ||
| F205 | LD IX,($A013) | Read the current object and clear bit 0 of its flags. | ||
| F209 | RES 0,(IX+$05) | |||
| F20D | OR %00000001 | Reset the zero flag. | ||
| F20F | RET | Return. | ||
| F210 | DEFB $07,$00 | Display record read by ProcessDisplayRecord: flags 07 value 00. | ||
| F212 | LD IX,($A013) | Read the current object and set bit 0 of its flags. | ||
| F216 | SET 0,(IX+$05) | |||
| F21A | OR %00000001 | Reset the zero flag. | ||
| F21C | RET | Return. | ||
|
Named from the script command at F243.
|
||||
| F21D | DEFB $02,$8C,$10,$03 | Copy room parameters 8C What Happened, Watson into the display. | ||
| F221 | DEFB $02,$8C,$02,$03 | Copy room parameters 8C Inspector Lestrade, Watson into the display. | ||
| F225 | DEFB $02,$8C,$14,$03 | Copy room parameters 8C Stairway, Watson into the display. | ||
| F229 | DEFB $02,$8C,$02,$01 | Copy room parameters 8C Inspector Lestrade, China Man into the display. | ||
| F22D | DEFB $07,$BE,$DD,$02,$FF | Refresh the room from the text at DDBE, using Inspector Lestrade, FF. | ||
| F232 | DEFB $02,$8C,$1A,$04 | Copy room parameters 8C Note, Chief Constable Strak into the display. | ||
| F236 | DEFB $02,$8C,$02,$04 | Copy room parameters 8C Inspector Lestrade, Chief Constable Strak into the display. | ||
| F23A | DEFB $0F | Mark a script error and carry on. | ||
| F23B | DEFB $02,$8C,$1E,$04 | Copy room parameters 8C Hansom Cab, Chief Constable Strak into the display. | ||
| F23F | DEFB $02,$8C,$02,$05 | Copy room parameters 8C Inspector Lestrade, Daphne Strachan into the display. | ||
| F243 | DEFB $0E,$1D,$F2 | Jump to the script at F21D. | ||
|
Named from the script command at F275.
|
||||
| F246 | DEFB $07,$BE,$DD,$02,$FF | Refresh the room from the text at DDBE, using Inspector Lestrade, FF. | ||
| F24B | DEFB $02,$8C,$15,$03 | Copy room parameters 8C Your Door, Watson into the display. | ||
| F24F | DEFB $02,$8C,$02,$03 | Copy room parameters 8C Inspector Lestrade, Watson into the display. | ||
| F253 | DEFB $02,$8C,$11,$03 | Copy room parameters 8C Your Alibi, Watson into the display. | ||
| F257 | DEFB $02,$8C,$02,$01 | Copy room parameters 8C Inspector Lestrade, China Man into the display. | ||
| F25B | DEFB $07,$BE,$DD,$04,$FF | Refresh the room from the text at DDBE, using Chief Constable Strak, FF. | ||
| F260 | DEFB $02,$8C,$1F,$04 | Copy room parameters 8C Cabbie, Chief Constable Strak into the display. | ||
| F264 | DEFB $02,$8C,$02,$01 | Copy room parameters 8C Inspector Lestrade, China Man into the display. | ||
| F268 | DEFB $07,$BE,$DD,$04,$FF | Refresh the room from the text at DDBE, using Chief Constable Strak, FF. | ||
| F26D | DEFB $02,$8C,$1B,$04 | Copy room parameters 8C Your Money, Chief Constable Strak into the display. | ||
| F271 | DEFB $02,$8C,$02,$01 | Copy room parameters 8C Inspector Lestrade, China Man into the display. | ||
| F275 | DEFB $0E,$46,$F2 | Jump to the script at F246. | ||
|
Named from the script command at F2A2.
|
||||
| F278 | DEFB $07,$BE,$DD,$3C,$FF | Refresh the room from the text at DDBE, using Plush Sofa, FF. | ||
| F27D | DEFB $02,$8C,$17,$0A | Copy room parameters 8C Your Armchair, Maid into the display. | ||
| F281 | DEFB $02,$8C,$04,$05 | Copy room parameters 8C Chief Constable Strak, Daphne Strachan into the display. | ||
| F285 | DEFB $02,$8C,$16,$0A | Copy room parameters 8C Oil Lamp, Maid into the display. | ||
| F289 | DEFB $02,$8C,$03,$05 | Copy room parameters 8C Watson, Daphne Strachan into the display. | ||
| F28D | DEFB $07,$BE,$DD,$3C,$FF | Refresh the room from the text at DDBE, using Plush Sofa, FF. | ||
| F292 | DEFB $02,$8C,$36,$0A | Copy room parameters 8C Wooden Door, Maid into the display. | ||
| F296 | DEFB $02,$8C,$04,$05 | Copy room parameters 8C Chief Constable Strak, Daphne Strachan into the display. | ||
| F29A | DEFB $02,$8C,$37,$0A | Copy room parameters 8C Thick Heavy Door, Maid into the display. | ||
| F29E | DEFB $02,$8C,$03,$05 | Copy room parameters 8C Watson, Daphne Strachan into the display. | ||
| F2A2 | DEFB $0E,$78,$F2 | Jump to the script at F278. | ||
| F2A5 | DEFB $84,$07 | Display record read by ProcessDisplayRecord: flags 84 value 07. | ||
| F2A7 | DEFB $07,$C9,$E4,$FD,$FF | Refresh the room from the text at E4C9, using the low byte of the location, FF. | ||
| F2AC | DEFB $07,$BE,$DD,$FC,$FF | Refresh the room from the text at DDBE, using the high byte of the location, FF. | ||
| F2B1 | DEFB $0B | Run the nested character script. | ||
|
Named from the script command at F2B3.
|
||||
| F2B2 | DEFB $0F | Mark a script error and carry on. | ||
| F2B3 | DEFB $0E,$B2,$F2 | Jump to the script at F2B2. | ||
|
Read by FindResponseForThisId.
|
||||
| F2B6 | DEFB $05,$FD,$AC,$6B | Describe the low byte of the location with the text at 6BAC. | ||
|
Named from the script command at F2E5.
|
||||
| F2BA | DEFB $07,$2F,$E5,$04,$04 | Refresh the room from the text at E52F, using Chief Constable Strak, Chief Constable Strak. | ||
| F2BF | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| F2C2 | DEFB $81,$82,$D0,$F2 | Perform the simple action for 82 and otherwise continue at F2D0. | ||
| F2C6 | DEFB $83,$7A,$E5,$BF,$F2 | Show the message at E57A and otherwise continue at F2BF. | ||
| F2CB | DEFB $86,$F6,$6B,$76,$F3 | Print the message at 6BF6 and otherwise continue at F376. | ||
| F2D0 | DEFB $03,$88,$E5 | Show the message at E588. | ||
| F2D3 | DEFB $07,$2F,$E5,$05,$03 | Refresh the room from the text at E52F, using Daphne Strachan, Watson. | ||
| F2D8 | DEFB $83,$3E,$E6,$EB,$F2 | Show the message at ScanObjects_PatchedRecord and otherwise continue at F2EB. | ||
| F2DD | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| F2E0 | DEFB $83,$7A,$E5,$D8,$F2 | Show the message at E57A and otherwise continue at F2D8. | ||
| F2E5 | DEFB $85,$FD,$1B,$6C,$BA,$F2 | Describe the low byte of the location with the text at 6C1B and otherwise continue at F2BA. | ||
| F2EB | DEFB $82,$82,$FD,$FF,$FC,$F2 | Copy room parameters 82 the low byte of the location, FF into the display and otherwise continue at F2FC. | ||
| F2F1 | DEFB $82,$81,$FD,$FB,$2E,$F3 | Copy room parameters 81 the low byte of the location, the current character into the display and otherwise continue at F32E. | ||
| F2F7 | DEFB $13,$E6,$E6,$59,$F3 | Show the message at E6E6 and otherwise continue at F359. | ||
| F2FC | DEFB $03,$88,$E5 | Show the message at E588. | ||
|
Named from the script command at F32B.
|
||||
| F2FF | DEFB $07,$2F,$E5,$05,$02 | Refresh the room from the text at E52F, using Daphne Strachan, Inspector Lestrade. | ||
| F304 | DEFB $83,$54,$E6,$A2,$F3 | Show the message at E654 and otherwise continue at F3A2. | ||
| F309 | DEFB $83,$6F,$E6,$66,$F3 | Show the message at E66F and otherwise continue at F366. | ||
| F30E | DEFB $12,$82,$FD,$FF,$2E,$F3 | Copy room parameters 82 the low byte of the location, FF into the display and otherwise continue at F32E. | ||
| F314 | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| F317 | DEFB $83,$7A,$E5,$04,$F3 | Show the message at E57A and otherwise continue at F304. | ||
| F31C | DEFB $83,$54,$E6,$A2,$F3 | Show the message at E654 and otherwise continue at F3A2. | ||
| F321 | DEFB $83,$6F,$E6,$69,$F3 | Show the message at E66F and otherwise continue at F369. | ||
| F326 | DEFB $07,$BC,$E6,$FD,$FB | Refresh the room from the text at E6BC, using the low byte of the location, the current character. | ||
| F32B | DEFB $0E,$FF,$F2 | Jump to the script at F2FF. | ||
| F32E | DEFB $03,$88,$E5 | Show the message at E588. | ||
| F331 | DEFB $06,$C7,$6B | Print the message at 6BC7. | ||
| F334 | DEFB $07,$2F,$E5,$05,$02 | Refresh the room from the text at E52F, using Daphne Strachan, Inspector Lestrade. | ||
| F339 | DEFB $83,$54,$E6,$A2,$F3 | Show the message at E654 and otherwise continue at F3A2. | ||
| F33E | DEFB $83,$6F,$E6,$66,$F3 | Show the message at E66F and otherwise continue at F366. | ||
| F343 | DEFB $82,$82,$FD,$FF,$FC,$F2 | Copy room parameters 82 the low byte of the location, FF into the display and otherwise continue at F2FC. | ||
| F349 | DEFB $12,$81,$FD,$FB,$59,$F3 | Copy room parameters 81 the low byte of the location, the current character into the display and otherwise continue at F359. | ||
| F34F | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| F352 | DEFB $93,$7A,$E5,$39,$F3,$31,$F3 | Show the message at E57A and otherwise continue at F339 or F331. | ||
|
Named from the script command at F349.
|
||||
| F359 | DEFB $03,$88,$E5 | Show the message at E588. | ||
| F35C | DEFB $03,$0E,$E7 | Show the message at E70E. | ||
| F35F | DEFB $93,$E6,$E6,$FC,$F2,$76,$F3 | Show the message at E6E6 and otherwise continue at F2FC or F376. | ||
| F366 | DEFB $03,$88,$E5 | Show the message at E588. | ||
| F369 | DEFB $0F | Mark a script error and carry on. | ||
| F36A | DEFB $0F | Mark a script error and carry on. | ||
| F36B | DEFB $82,$82,$FD,$FF,$D0,$F2 | Copy room parameters 82 the low byte of the location, FF into the display and otherwise continue at F2D0. | ||
| F371 | DEFB $83,$E6,$E6,$E5,$F2 | Show the message at E6E6 and otherwise continue at F2E5. | ||
|
Named from the script command at F2CB.
|
||||
| F376 | DEFB $02,$80,$FC,$00 | Copy room parameters 80 the high byte of the location, You into the display. | ||
| F37A | DEFB $83,$80,$F3,$7A,$F3 | Show the message at F380 and otherwise continue at F37A. | ||
| F37F | DEFB $0B | Run the nested character script. | ||
|
Named from the script command at F37A.
|
||||
| F380 | DEFB $C8,$00,$89,$F3 | Display record read by ProcessDisplayRecord: flags C8 value 00 handler CompareRoomParameters (bit 7: the script resumes at F384). | ||
| F384 | DEFB $02,$80,$FD,$00 | Copy room parameters 80 the low byte of the location, You into the display. | ||
| F388 | DEFB $0B | Run the nested character script. | ||
| Prev: F1C1 | Up: Map | Next: F389 |