![]() |
Routines |
| Prev: EFC7 | Up: Map | Next: F103 |
|
Goes to the special-case object when Sherlock's disguise is one of seven ids.
|
||||
|
Run by CA64 after the display record at EFC7, from the show-message commands at EE46, EEC3, EEDB and EF09.
|
||||
| MatchSherlockDisguise | EFC9 | LD A,($A009) | Read Sherlock's disguise. | |
| EFCC | CP $23 | Go to MatchSherlockDisguise_0 if the disguise is 23. | ||
| EFCE | JR Z,MatchSherlockDisguise_0 | |||
| EFD0 | CP $21 | Go to MatchSherlockDisguise_0 if the disguise is 21. | ||
| EFD2 | JR Z,MatchSherlockDisguise_0 | |||
| EFD4 | CP $22 | Go to MatchSherlockDisguise_0 if the disguise is 22. | ||
| EFD6 | JR Z,MatchSherlockDisguise_0 | |||
| EFD8 | CP $26 | Go to MatchSherlockDisguise_0 if the disguise is 26. | ||
| EFDA | JR Z,MatchSherlockDisguise_0 | |||
| EFDC | CP $25 | Go to MatchSherlockDisguise_0 if the disguise is 25. | ||
| EFDE | JR Z,MatchSherlockDisguise_0 | |||
| EFE0 | CP $24 | Go to MatchSherlockDisguise_0 if the disguise is 24. | ||
| EFE2 | JR Z,MatchSherlockDisguise_0 | |||
| EFE4 | CP $27 | See whether the disguise is 27. | ||
| MatchSherlockDisguise_0 | EFE6 | JP Z,SpecialCaseObject_LooksBasilPhipps | Go to SpecialCaseObject_LooksBasilPhipps if the disguise matched. | |
| EFE9 | LD DE,$0000 | Clear the text pointer and use the marker 80. | ||
| EFEC | LD B,$80 | |||
| EFEE | CALL StoreCharacterTextPointer_0 | Call StoreCharacterTextPointer_0 to update the character's object. | ||
| EFF1 | SET 6,(IX+$05) | Set bit 6 of the character record. | ||
| EFF5 | RET | Return. | ||
| EFF6 | DEFB $19,$06,$F6,$EF | Pop Basil Phipps for the character script and otherwise continue at EFF6. | ||
| EFFA | DEFB $42,$80,$FB,$67 | Copy room parameters 80 the current character, Tricias Front Door into the display. | ||
| EFFE | DEFB $12,$88,$0F,$FF,$FE,$EF | Copy room parameters 88 Case, FF into the display and otherwise continue at EFFE. | ||
| F004 | DEFB $07,$2F,$E5,$10,$FF | Refresh the room from the text at E52F, using What Happened, FF. | ||
| F009 | DEFB $82,$83,$00,$67,$4A,$EF | Copy room parameters 83 You, Tricias Front Door into the display and otherwise continue at EF4A. | ||
| F00F | DEFB $0F | Mark a script error and carry on. | ||
| F010 | DEFB $93,$7A,$E5,$09,$F0,$8C,$EF | Show the message at E57A and otherwise continue at F009 or EF8C. | ||
| F017 | DEFB $0F | Mark a script error and carry on. | ||
| F018 | DEFB $C9,$04,$29,$F0 | Pop Chief Constable Strak for the character script and otherwise continue at F029. | ||
| F01C | DEFB $57,$98,$F1,$0A,$FF,$17,$F0 | Refresh the room from the text at F198, using Maid, FF and otherwise continue at F017. | ||
| F023 | DEFB $46,$52,$75 | Print the message at 7552. | ||
| F026 | DEFB $0E,$17,$F0 | Jump to the script at F017. | ||
| F029 | DEFB $0F | Mark a script error and carry on. | ||
| F02A | DEFB $57,$98,$F1,$0A,$FF,$34,$F0 | Refresh the room from the text at F198, using Maid, FF and otherwise continue at F034. | ||
| F031 | DEFB $46,$52,$75 | Print the message at 7552. | ||
|
Named from the script command at F02A.
|
||||
| F034 | DEFB $57,$98,$F1,$32,$FF,$29,$F0 | Refresh the room from the text at F198, using Plain Door, FF and otherwise continue at F029. | ||
| F03B | DEFB $57,$98,$F1,$32,$FF,$53,$F0 | Refresh the room from the text at F198, using Plain Door, FF and otherwise continue at F053. | ||
| F042 | DEFB $02,$87,$FF,$FF | Copy room parameters 87 FF FF into the display. | ||
| F046 | DEFB $52,$83,$FB,$3F,$29,$F0 | Copy room parameters 83 the current character, False Bottom into the display and otherwise continue at F029. | ||
| F04C | DEFB $02,$87,$2D,$FF | Copy room parameters 87 Large Oak Door, FF into the display. | ||
| F050 | DEFB $0E,$29,$F0 | Jump to the script at F029. | ||
|
Named from the script command at F03B.
|
||||
| F053 | DEFB $C1,$28,$29,$F0 | Perform the simple action for Steam Train and otherwise continue at F029. | ||
| F057 | DEFB $41,$19 | Perform the simple action for Daily Chronicle. | ||
| F059 | DEFB $0E,$29,$F0 | Jump to the script at F029. | ||
|
Named from the script command at F05F.
|
||||
| F05C | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| F05F | DEFB $0E,$5C,$F0 | Jump to the script at F05C. | ||
| F062 | DEFB $59,$02,$62,$F0 | Pop Inspector Lestrade for the character script and otherwise continue at F062. | ||
| F066 | DEFB $42,$80,$FB,$5C | Copy room parameters 80 the current character, Gun into the display. | ||
|
Named from the script command at F06F.
|
||||
| F06A | DEFB $45,$0B,$20,$6D | Describe Local Police Man with the text at 6D20. | ||
| F06E | DEFB $0F | Mark a script error and carry on. | ||
| F06F | DEFB $59,$02,$6A,$F0 | Pop Inspector Lestrade for the character script and otherwise continue at F06A. | ||
| F073 | DEFB $45,$02,$2E,$6D | Describe Inspector Lestrade with the text at 6D2E. | ||
| F077 | DEFB $48,$02 | Push Inspector Lestrade for the character script. | ||
| F079 | DEFB $42,$86,$02,$5E | Copy room parameters 86 Inspector Lestrade, Mrs Brown into the display. | ||
| F07D | DEFB $46,$B9,$6C | Print the message at 6CB9. | ||
| F080 | DEFB $47,$2F,$E5,$14,$05 | Refresh the room from the text at E52F, using Stairway, Daphne Strachan. | ||
| F085 | DEFB $43,$A8,$E5 | Show the message at E5A8. | ||
| F088 | DEFB $C3,$7A,$E5,$85,$F0 | Show the message at E57A and otherwise continue at F085. | ||
| F08D | DEFB $42,$87,$45,$FF | Copy room parameters 87 Sitting Room Door, FF into the display. | ||
| F091 | DEFB $42,$87,$13,$FF | Copy room parameters 87 Front Door, FF into the display. | ||
| F095 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| F097 | DEFB $43,$A8,$F1 | Show the message at F1A8. | ||
| F09A | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
| F09C | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| F09E | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| F0A0 | DEFB $42,$80,$FB,$00 | Copy room parameters 80 the current character, You into the display. | ||
| F0A4 | DEFB $12,$88,$17,$FF,$A4,$F0 | Copy room parameters 88 Your Armchair, FF into the display and otherwise continue at F0A4. | ||
| F0AA | DEFB $17,$98,$F1,$14,$FF,$AA,$F0 | Refresh the room from the text at F198, using Stairway, FF and otherwise continue at F0AA. | ||
| F0B1 | DEFB $02,$80,$FB,$28 | Copy room parameters 80 the current character, Steam Train into the display. | ||
| F0B5 | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| F0B9 | DEFB $41,$09 | Perform the simple action for Cook. | ||
| F0BB | DEFB $42,$24,$30,$FF | Copy room parameters Steam Train, Heavy Oak Door, FF into the display. | ||
| F0BF | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| F0C1 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| F0C3 | DEFB $41,$0A | Perform the simple action for Maid. | ||
| F0C5 | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| F0C9 | DEFB $47,$A4,$EB,$FF,$0C | Refresh the room from the text at EBA4, using FF Local Police Man. | ||
| F0CE | DEFB $41,$01 | Perform the simple action for China Man. | ||
| F0D0 | DEFB $08,$02 | Push Inspector Lestrade for the character script. | ||
|
Named from the script command at MatchSherlockDisguise_SimpleActionFF.
|
||||
| F0D2 | DEFB $0F | Mark a script error and carry on. | ||
| F0D3 | DEFB $82,$81,$00,$FB,$E2,$F0 | Copy room parameters 81 You, the current character into the display and otherwise continue at F0E2. | ||
| MatchSherlockDisguise_SimpleActionFF | F0D9 | DEFB $52,$88,$01,$FF,$D2,$F0 | Copy room parameters 88 China Man, FF into the display and otherwise continue at F0D2. | |
| F0DF | DEFB $0E,$EE,$F0 | Jump to the script at F0EE. | ||
|
Named from the script command at F0D3.
|
||||
| F0E2 | DEFB $45,$00,$78,$6C | Describe You with the text at 6C78. | ||
| F0E6 | DEFB $43,$03,$F1 | Show the message at F103. | ||
| F0E9 | DEFB $07,$BE,$DD,$04,$FF | Refresh the room from the text at DDBE, using Chief Constable Strak, FF. | ||
|
Named from the script command at F0DF.
|
||||
| F0EE | DEFB $17,$98,$F1,$14,$FF,$EE,$F0 | Refresh the room from the text at F198, using Stairway, FF and otherwise continue at F0EE. | ||
| F0F5 | DEFB $01,$02 | Perform the simple action for Inspector Lestrade. | ||
| F0F7 | DEFB $59,$02,$F7,$F0 | Pop Inspector Lestrade for the character script and otherwise continue at F0F7. | ||
| F0FB | DEFB $42,$80,$FB,$00 | Copy room parameters 80 the current character, You into the display. | ||
|
Named from the script command at F100.
|
||||
| F0FF | DEFB $0F | Mark a script error and carry on. | ||
| F100 | DEFB $0E,$FF,$F0 | Jump to the script at F0FF. | ||
| Prev: EFC7 | Up: Map | Next: F103 |