![]() |
Routines |
| Prev: A49C | Up: Map | Next: A4D9 |
|
Opens $11 - "Goblins Door" when the character in *Pointer_CurrentCharacter is in 10. The action list stores this address at C357, and the copy of the objects stores it at F63C. Reached through the action list of $11 - "Goblins Door" for action 10, dispatched by TriggerAction.
|
||||
| Action_OpenTheGoblinsDoor | A4C0 | LD IX,($B70C) | Point IX at the character in *Pointer_CurrentCharacter. | |
| A4C4 | LD A,(IX+$10) | Read the location from the object record. | ||
| A4C7 | CP $10 | Jump back to ResponseThatWillNotWork if the object's location is not 10. | ||
| A4C9 | JP NZ,ResponseThatWillNotWork | |||
| A4CC | CALL ActionOpenOrClose | Call ActionOpenOrClose to open or close the object. | ||
| A4CF | CALL Turn_GateTheMessage | Call Turn_GateTheMessage to let the message through or hold it back. | ||
| A4D2 | LD A,($CA99) | Copy the goblins door id at CA99 into the flag at CA9A. | ||
| A4D5 | LD ($CA9A),A | |||
| A4D8 | RET | Return. | ||
| Prev: A49C | Up: Map | Next: A4D9 |