![]() |
Routines |
| Prev: EB19 | Up: Map | Next: ED39 |
|
Points at the character record at 9997 and tests bit 1 of its action flags. A non-zero return means the script step succeeded.
|
||||
|
Run by CA64 after the display record at EB19, from the show-message command at EA2C.
|
||||
| CopyCharacterOntoBothRecords_OtherRecord | EB1B | LD IX,$9997 | Point at the character record at 9997. | |
|
This entry point is used by the routine at CopyCharacterOntoBothRecords_ActionFlags.
|
||||
| CopyCharacterOntoBothRecords_TestActionBit | EB1F | LD HL,$0000 | Clear the pointer and the carry. | |
| EB22 | AND A | |||
| EB23 | BIT 1,(IX+$03) | See whether bit 1 of the action flags is set. | ||
| EB27 | RET | Return. | ||
| EB28 | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00 (bit 7: the script resumes at EB2A). | ||
| EB2A | DEFB $41,$01 | Perform the simple action for China Man. | ||
| EB2C | DEFB $41,$01 | Perform the simple action for China Man. | ||
| EB2E | DEFB $47,$E1,$EB,$17,$FF | Refresh the room from the text at EBE1, using Your Armchair, FF. | ||
| EB33 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| EB35 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| EB37 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| EB39 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| EB3B | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| EB3D | DEFB $47,$A4,$EB,$FF,$0A | Refresh the room from the text at EBA4, using FF Maid. | ||
| EB42 | DEFB $42,$80,$FB,$0B | Copy room parameters 80 the current character, Local Police Man into the display. | ||
| EB46 | DEFB $0B | Run the nested character script. | ||
| EB47 | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00 (bit 7: the script resumes at EB49). | ||
| EB49 | DEFB $42,$87,$44,$FF | Copy room parameters 87 Solid Door, FF into the display. | ||
| EB4D | DEFB $42,$87,$45,$FF | Copy room parameters 87 Sitting Room Door, FF into the display. | ||
| EB51 | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| EB55 | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| EB59 | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| EB5D | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| EB61 | DEFB $41,$09 | Perform the simple action for Cook. | ||
| EB63 | DEFB $42,$87,$46,$FF | Copy room parameters 87 Northern Door, FF into the display. | ||
| EB67 | DEFB $42,$87,$46,$FF | Copy room parameters 87 Northern Door, FF into the display. | ||
| EB6B | DEFB $41,$0A | Perform the simple action for Maid. | ||
| EB6D | DEFB $42,$87,$13,$FF | Copy room parameters 87 Front Door, FF into the display. | ||
| EB71 | DEFB $0B | Run the nested character script. | ||
| EB72 | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00 (bit 7: the script resumes at EB74). | ||
| EB74 | DEFB $47,$A4,$EB,$FF,$12 | Refresh the room from the text at EBA4, using FF Your Address. | ||
| EB79 | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| EB7B | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| EB7D | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| EB7F | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| EB81 | DEFB $47,$E1,$EB,$36,$FF | Refresh the room from the text at EBE1, using Wooden Door, FF. | ||
| EB86 | DEFB $42,$80,$FB,$35 | Copy room parameters 80 the current character, Bedroom Door into the display. | ||
| EB8A | DEFB $0B | Run the nested character script. | ||
| EB8B | DEFB $8C,$04 | Display record read by ProcessDisplayRecord: flags 8C value 04. | ||
| EB8D | DEFB $C2,$83,$FB,$FC,$9A,$EB | Copy room parameters 83 the current character, the high byte of the location into the display and otherwise continue at EB9A. | ||
| EB93 | DEFB $42,$15,$FD,$FF | Copy room parameters Your Door, the low byte of the location, FF into the display. | ||
| EB97 | DEFB $0E,$8D,$EB | Jump to the script at EB8D. | ||
| EB9A | DEFB $0B | Run the nested character script. | ||
| EB9B | DEFB $87,$07 | Display record read by ProcessDisplayRecord: flags 87 value 07. | ||
| EB9D | DEFB $41,$FD | Perform the simple action for the low byte of the location. | ||
| EB9F | DEFB $42,$13,$FC,$FF | Copy room parameters Front Door, the high byte of the location, FF into the display. | ||
| EBA3 | DEFB $0B | Run the nested character script. | ||
| EBA4 | DEFB $80,$04 | Display record read by ProcessDisplayRecord: flags 80 value 04. | ||
| EBA6 | DEFB $51,$1F,$A6,$EB | Perform the simple action for Cabbie and otherwise continue at EBA6. | ||
| EBAA | DEFB $47,$D5,$EB,$FD,$FF | Refresh the room from the text at EBD5, using the low byte of the location, FF. | ||
| EBAF | DEFB $C2,$82,$FA,$FF,$C0,$EB | Copy room parameters 82 the current room, FF into the display and otherwise continue at EBC0. | ||
| EBB5 | DEFB $52,$0C,$FD,$FF,$AA,$EB | Copy room parameters Local Police Man, the low byte of the location, FF into the display and otherwise continue at EBAA. | ||
| EBBB | DEFB $47,$D5,$EB,$FD,$FF | Refresh the room from the text at EBD5, using the low byte of the location, FF. | ||
| EBC0 | DEFB $44,$FA,$1D,$FC,$FF | Queue a room display for the current room, Hidden Door, the high byte of the location, FF. | ||
| EBC5 | DEFB $52,$83,$FB,$FC,$C5,$EB | Copy room parameters 83 the current character, the high byte of the location into the display and otherwise continue at EBC5. | ||
| EBCB | DEFB $47,$06,$E5,$FB,$FA | Refresh the room from the text at E506, using the current character, the current room. | ||
| EBD0 | DEFB $42,$0D,$FD,$FF | Copy room parameters Tricia Fender, the low byte of the location, FF into the display. | ||
| EBD4 | DEFB $0B | Run the nested character script. | ||
| EBD5 | DEFB $07,$00 | Display record read by ProcessDisplayRecord: flags 07 value 00. | ||
| EBD7 | LD A,($A034) | Read the room display parameter. | ||
| EBDA | INC A | Add one and store it as the current room. | ||
| EBDB | LD ($9FD6),A | |||
| EBDE | OR %00000001 | Reset the zero flag. | ||
| EBE0 | RET | Return. | ||
| EBE1 | DEFB $84,$00 | Display record read by ProcessDisplayRecord: flags 84 value 00. | ||
| EBE3 | DEFB $C2,$81,$FB,$2A,$EF,$EB | Copy room parameters 81 the current character, Steam Train into the display and otherwise continue at EBEF. | ||
| EBE9 | DEFB $52,$81,$FB,$2B,$E3,$EB | Copy room parameters 81 the current character, Steam Train into the display and otherwise continue at EBE3. | ||
| EBEF | DEFB $41,$0C | Perform the simple action for Local Police Man. | ||
| EBF1 | DEFB $52,$83,$FB,$FD,$F1,$EB | Copy room parameters 83 the current character, the low byte of the location into the display and otherwise continue at EBF1. | ||
| EBF7 | DEFB $41,$0D | Perform the simple action for Tricia Fender. | ||
| EBF9 | DEFB $0B | Run the nested character script. | ||
| EBFA | DEFB $59,$02,$FA,$EB | Pop Inspector Lestrade for the character script and otherwise continue at EBFA. | ||
| EBFE | DEFB $45,$02,$29,$73 | Describe Inspector Lestrade with the text at 7329. | ||
| EC02 | DEFB $48,$02 | Push Inspector Lestrade for the character script. | ||
| EC04 | DEFB $59,$02,$04,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC04. | ||
| EC08 | DEFB $45,$02,$71,$73 | Describe Inspector Lestrade with the text at 7371. | ||
| EC0C | DEFB $48,$02 | Push Inspector Lestrade for the character script. | ||
| EC0E | DEFB $59,$02,$0E,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC0E. | ||
| EC12 | DEFB $07,$F6,$EC,$FF,$FF | Refresh the room from the text at ECF6, using FF FF. | ||
| EC17 | DEFB $45,$02,$4F,$77 | Describe Inspector Lestrade with the text at 774F. | ||
| EC1B | DEFB $59,$02,$1B,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC1B. | ||
| EC1F | DEFB $45,$02,$19,$73 | Describe Inspector Lestrade with the text at 7319. | ||
| EC23 | DEFB $48,$02 | Push Inspector Lestrade for the character script. | ||
| EC25 | DEFB $59,$02,$25,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC25. | ||
| EC29 | DEFB $07,$0C,$ED,$FF,$FF | Refresh the room from the text at ED0C, using FF FF. | ||
| EC2E | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| EC30 | DEFB $42,$87,$2D,$FF | Copy room parameters 87 Large Oak Door, FF into the display. | ||
| EC34 | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| EC38 | DEFB $45,$02,$F0,$72 | Describe Inspector Lestrade with the text at 72F0. | ||
| EC3C | DEFB $59,$02,$3C,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC3C. | ||
| EC40 | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| EC44 | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| EC48 | DEFB $59,$02,$48,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC48. | ||
| EC4C | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| EC50 | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| EC54 | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| EC58 | DEFB $42,$87,$2D,$FF | Copy room parameters 87 Large Oak Door, FF into the display. | ||
| EC5C | DEFB $41,$01 | Perform the simple action for China Man. | ||
| EC5E | DEFB $41,$01 | Perform the simple action for China Man. | ||
| EC60 | DEFB $41,$03 | Perform the simple action for Watson. | ||
| EC62 | DEFB $41,$03 | Perform the simple action for Watson. | ||
| EC64 | DEFB $07,$17,$ED,$FF,$FF | Refresh the room from the text at ED17, using FF FF. | ||
| EC69 | DEFB $45,$02,$C9,$77 | Describe Inspector Lestrade with the text at 77C9. | ||
| EC6D | DEFB $59,$02,$6D,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC6D. | ||
| EC71 | DEFB $42,$86,$02,$5C | Copy room parameters 86 Inspector Lestrade, Gun into the display. | ||
| EC75 | DEFB $42,$86,$02,$5E | Copy room parameters 86 Inspector Lestrade, Mrs Brown into the display. | ||
| EC79 | DEFB $42,$86,$02,$5C | Copy room parameters 86 Inspector Lestrade, Gun into the display. | ||
| EC7D | DEFB $59,$02,$7D,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC7D. | ||
| EC81 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| EC83 | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
| EC85 | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
| EC87 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| EC89 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| EC8B | DEFB $42,$87,$2D,$FF | Copy room parameters 87 Large Oak Door, FF into the display. | ||
| EC8F | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| EC93 | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| EC97 | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| EC9B | DEFB $59,$02,$9B,$EC | Pop Inspector Lestrade for the character script and otherwise continue at EC9B. | ||
| EC9F | DEFB $42,$87,$32,$FF | Copy room parameters 87 Plain Door, FF into the display. | ||
| ECA3 | DEFB $42,$87,$31,$FF | Copy room parameters 87 Dining Room Door, FF into the display. | ||
| ECA7 | DEFB $59,$02,$A7,$EC | Pop Inspector Lestrade for the character script and otherwise continue at ECA7. | ||
| ECAB | DEFB $42,$87,$30,$FF | Copy room parameters 87 Heavy Oak Door, FF into the display. | ||
| ECAF | DEFB $42,$87,$2D,$FF | Copy room parameters 87 Large Oak Door, FF into the display. | ||
| ECB3 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| ECB5 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| ECB7 | DEFB $41,$03 | Perform the simple action for Watson. | ||
| ECB9 | DEFB $41,$03 | Perform the simple action for Watson. | ||
| ECBB | DEFB $43,$39,$ED | Show the message at ED39. | ||
| ECBE | DEFB $59,$02,$BE,$EC | Pop Inspector Lestrade for the character script and otherwise continue at ECBE. | ||
| ECC2 | DEFB $48,$0B | Push Local Police Man for the character script. | ||
| ECC4 | DEFB $48,$0C | Push Local Police Man for the character script. | ||
| ECC6 | DEFB $48,$0A | Push Maid for the character script. | ||
| ECC8 | DEFB $48,$09 | Push Cook for the character script. | ||
| ECCA | DEFB $48,$08 | Push Gardener for the character script. | ||
| ECCC | DEFB $48,$05 | Push Daphne Strachan for the character script. | ||
| ECCE | DEFB $48,$06 | Push Basil Phipps for the character script. | ||
| ECD0 | DEFB $03,$A8,$E5 | Show the message at E5A8. | ||
| ECD3 | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
|
Named from the script command at ECF3.
|
||||
| ECD5 | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| ECD7 | DEFB $19,$02,$D7,$EC | Pop Inspector Lestrade for the character script and otherwise continue at ECD7. | ||
| ECDB | DEFB $42,$80,$FB,$35 | Copy room parameters 80 the current character, Bedroom Door into the display. | ||
| ECDF | DEFB $52,$81,$FB,$02,$DF,$EC | Copy room parameters 81 the current character, Inspector Lestrade into the display and otherwise continue at ECDF. | ||
|
Named from the script command at ECE9.
|
||||
| ECE5 | DEFB $42,$15,$02,$FF | Copy room parameters Your Door, Inspector Lestrade, FF into the display. | ||
| ECE9 | DEFB $52,$83,$FB,$36,$E5,$EC | Copy room parameters 83 the current character, Wooden Door into the display and otherwise continue at ECE5. | ||
| ECEF | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ECF1 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ECF3 | DEFB $0E,$D5,$EC | Jump to the script at ECD5. | ||
| ECF6 | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00. | ||
| ECF8 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ECFA | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
| ECFC | DEFB $0E,$01,$ED | Jump to the script at ED01. | ||
|
Named from the script command at F149.
|
||||
| ECFF | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00 (bit 7: the script resumes at ED01). | ||
| ED01 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ED03 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| ED05 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ED07 | DEFB $41,$08 | Perform the simple action for Gardener. | ||
| ED09 | DEFB $41,$03 | Perform the simple action for Watson. | ||
| ED0B | DEFB $0B | Run the nested character script. | ||
| ED0C | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00. | ||
| ED0E | DEFB $41,$04 | Perform the simple action for Chief Constable Strak. | ||
| ED10 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| ED12 | DEFB $41,$01 | Perform the simple action for China Man. | ||
| ED14 | DEFB $41,$05 | Perform the simple action for Daphne Strachan. | ||
| ED16 | DEFB $0B | Run the nested character script. | ||
| ED17 | DEFB $80,$00 | Display record read by ProcessDisplayRecord: flags 80 value 00. | ||
| ED19 | DEFB $41,$02 | Perform the simple action for Inspector Lestrade. | ||
| ED1B | DEFB $42,$87,$13,$FF | Copy room parameters 87 Front Door, FF into the display. | ||
| ED1F | DEFB $42,$87,$45,$FF | Copy room parameters 87 Sitting Room Door, FF into the display. | ||
| ED23 | DEFB $42,$87,$44,$FF | Copy room parameters 87 Solid Door, FF into the display. | ||
| ED27 | DEFB $0B | Run the nested character script. | ||
| ED28 | DEFB $88,$00 | Display record read by ProcessDisplayRecord: flags 88 value 00. | ||
| ED2A | DEFB $42,$24,$FD,$FF | Copy room parameters Steam Train, the low byte of the location, FF into the display. | ||
| ED2E | DEFB $52,$1C,$FD,$FF,$2A,$ED | Copy room parameters Money, the low byte of the location, FF into the display and otherwise continue at ED2A. | ||
| ED34 | DEFB $42,$0E,$FD,$FF | Copy room parameters China Mans Disguise, the low byte of the location, FF into the display. | ||
| ED38 | DEFB $0B | Run the nested character script. | ||
| Prev: EB19 | Up: Map | Next: ED39 |