Routines |
Prev: 57517 | Up: Map | Next: 57721 |
Used by the routine at RunHandlers.
|
||||
George:
Copy Georges states/ flags to the active states/ flags.
|
||||
Handler_Monsters | 57625 | LD HL,53202 | HL=George_State. | |
57628 | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
57631 | CALL 58925 | Call 58925. | ||
57634 | CALL 62410 | Call 62410. | ||
Copy the active states/ flags back to Georges data.
|
||||
57637 | LD DE,53202 | DE=George_State. | ||
57640 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
Lizzy:
Copy Lizzys states/ flags to the active states/ flags.
|
||||
57643 | LD HL,53249 | HL=Lizzy_State. | ||
57646 | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
57649 | CALL 58925 | Call 58925. | ||
57652 | LD HL,53804 | HL=53804. | ||
57655 | LD DE,53822 | DE=53822. | ||
57658 | CALL 62490 | Call 62490. | ||
57661 | CALL 62410 | Call 62410. | ||
Copy the active states/ flags back to Lizzys data.
|
||||
57664 | LD DE,53249 | DE=Lizzy_State. | ||
57667 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
Ralph:
Copy Ralphs states/ flags to the active states/ flags.
|
||||
57670 | LD HL,53296 | HL=Ralph_State. | ||
57673 | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
57676 | CALL 58925 | Call 58925. | ||
57679 | LD HL,53804 | HL=53804. | ||
57682 | LD DE,53822 | DE=53822. | ||
57685 | CALL 62490 | Call 62490. | ||
57688 | LD HL,53810 | HL=53810. | ||
57691 | LD DE,53823 | DE=53823. | ||
57694 | CALL 62490 | Call 62490. | ||
57697 | CALL 62410 | Call 62410. | ||
Copy the active states/ flags back to Ralphs data.
|
||||
57700 | LD DE,53296 | DE=Ralph_State. | ||
57703 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
57706 | RET | Return. | ||
CopyToActiveFlags | 57707 | LD DE,53828 | DE=JumpTable_Pointer. | |
57710 | JR Copy17Bytes | Jump to Copy17Bytes. | ||
Sets up copying FROM the active flags back to the monsters states.
|
||||
CopyFromActiveFlags | 57712 | LD HL,53828 | HL=JumpTable_Pointer. | |
Copy17Bytes | 57715 | LD BC,17 | Copy 17 bytes from *HL to *DE. | |
57718 | LDIR | |||
57720 | RET | Return. |
Prev: 57517 | Up: Map | Next: 57721 |