![]() |
Routines |
| Prev: CD95 | Up: Map | Next: CE3B |
|
Used by the routine at ExecuteCharacterCommand.
|
||||||||
| HandleDisplayRoomDescription | CDA1 | LD L,(IX+$02) | L=*IX+02. | |||||
| CDA4 | LD H,(IX+$03) | H=*IX+03. | ||||||
| CDA7 | PUSH HL | Stash HL on the stack. | ||||||
| CDA8 | LD A,(IX+$01) | A=*IX+01. | ||||||
| CDAB | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CDAE | LD ($A034),A | Write A to *RoomDisplayParameter. | ||||||
| CDB1 | LD A,$07 | Write 07 to *DisplayMode. | ||||||
| CDB3 | LD ($A00F),A | |||||||
| CDB6 | LD HL,$6830 | HL=6830. | ||||||
| CDB9 | CALL PrintTextAndHandleControlCharacters | Call PrintTextAndHandleControlCharacters. | ||||||
| CDBC | JP ContinueScriptExecution | Jump to ContinueScriptExecution. | ||||||
|
This entry point is used by the routine at ExecuteCharacterCommand.
|
||||||||
| HandleDisplayRoomDescription_0 | CDBF | LD A,$2E | Write 2E to *A033. | |||||
| CDC1 | LD ($A033),A | |||||||
| CDC4 | LD A,(IX+$01) | A=*IX+01. | ||||||
| CDC7 | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CDCA | LD ($A034),A | Write A to *RoomDisplayParameter. | ||||||
| CDCD | LD A,(IX+$02) | A=*IX+02. | ||||||
| CDD0 | LD ($A35D),A | Write A to *A35D. | ||||||
| CDD3 | LD A,(IX+$03) | A=*IX+03. | ||||||
| CDD6 | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CDD9 | LD ($A35E),A | Write A to *A35E. | ||||||
| CDDC | LD A,(IX+$04) | A=*IX+04. | ||||||
| CDDF | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CDE2 | LD ($A35F),A | Write A to *A35F. | ||||||
| CDE5 | LD A,$08 | A=08. | ||||||
| CDE7 | CALL AllocateMemory | Call AllocateMemory. | ||||||
| CDEA | LD A,($A034) | A=*RoomDisplayParameter. | ||||||
| CDED | LD (IX+$00),A | Write A to *IX+00. | ||||||
| CDF0 | LD (IX+$01),$FF | Write FF to *IX+01. | ||||||
| CDF4 | LD A,($A35D) | A=*A35D. | ||||||
| CDF7 | LD (IX+$02),A | Write A to *IX+02. | ||||||
| CDFA | LD HL,($A35E) | HL=*A35E. | ||||||
| CDFD | LD (IX+$03),L | Write L to *IX+03. | ||||||
| CE00 | LD (IX+$04),H | Write H to *IX+04. | ||||||
| CE03 | LD HL,($9FEE) | HL=*9FEE. | ||||||
| CE06 | LD ($9FEE),IX | Write IX to *9FEE. | ||||||
| CE0A | LD (IX-$02),L | Write L to *IX+FE. | ||||||
| CE0D | LD (IX-$01),H | Write H to *IX+FF. | ||||||
| CE10 | LD HL,$682A | HL=682A. | ||||||
| CE13 | CALL PrintTextAndHandleControlCharacters | Call PrintTextAndHandleControlCharacters. | ||||||
| CE16 | JR ContinueScriptExecution | Jump to ContinueScriptExecution. | ||||||
|
This entry point is used by the routine at ExecuteCharacterCommand.
|
||||||||
| HandleDisplayRoomDescription_1 | CE18 | LD A,(IX+$01) | A=*IX+01. | |||||
| CE1B | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CE1E | LD ($A033),A | Write A to *A033. | ||||||
| CE21 | LD A,(IX+$02) | A=*IX+02. | ||||||
| CE24 | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CE27 | LD ($A034),A | Write A to *RoomDisplayParameter. | ||||||
| CE2A | LD A,(IX+$03) | A=*IX+03. | ||||||
| CE2D | CALL ProcessRoomDisplayParameter | Call ProcessRoomDisplayParameter. | ||||||
| CE30 | LD ($A035),A | Write A to *RoomGraphicsParameter. | ||||||
| CE33 | CALL ProcessDisplayAction | Call ProcessDisplayAction. | ||||||
| CE36 | RET C | Return if A is less than 08. | ||||||
| CE37 | JR Z,ProcessScriptCommandWithCounter | Jump to ProcessScriptCommandWithCounter if A is equal to 08. | ||||||
| CE39 | JR ContinueScriptExecution | Jump to ContinueScriptExecution. | ||||||
| Prev: CD95 | Up: Map | Next: CE3B |