![]() |
Routines |
| Prev: 42140 | Up: Map | Next: 42201 |
|
Opens 17 - "Goblins Door" when the character in *Pointer_CurrentCharacter is in 16. The action list stores this address at 50007, and the copy of the objects stores it at 63036. Reached through the action list of 17 - "Goblins Door" for action 16, dispatched by TriggerAction.
|
||||
| Action_OpenTheGoblinsDoor | 42176 | LD IX,(46860) | Point IX at the character in *Pointer_CurrentCharacter. | |
| 42180 | LD A,(IX+16) | Read the location from the object record. | ||
| 42183 | CP 16 | Jump back to ResponseThatWillNotWork if the object's location is not 16. | ||
| 42185 | JP NZ,ResponseThatWillNotWork | |||
| 42188 | CALL ActionOpenOrClose | Call ActionOpenOrClose to open or close the object. | ||
| 42191 | CALL Turn_GateTheMessage | Call Turn_GateTheMessage to let the message through or hold it back. | ||
| 42194 | LD A,(51865) | Copy the goblins door id at 51865 into the flag at 51866. | ||
| 42197 | LD (51866),A | |||
| 42200 | RET | Return. | ||
| Prev: 42140 | Up: Map | Next: 42201 |