Routines |
Prev: E0AD | Up: Map | Next: E179 |
Used by the routine at RunHandlers.
|
||||
George:
Copy Georges states/ flags to the active states/ flags.
|
||||
Handler_Monsters | E119 | LD HL,$CFD2 | HL=George_State. | |
E11C | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
E11F | CALL $E62D | Call E62D. | ||
E122 | CALL $F3CA | Call F3CA. | ||
Copy the active states/ flags back to Georges data.
|
||||
E125 | LD DE,$CFD2 | DE=George_State. | ||
E128 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
Lizzy:
Copy Lizzys states/ flags to the active states/ flags.
|
||||
E12B | LD HL,$D001 | HL=Lizzy_State. | ||
E12E | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
E131 | CALL $E62D | Call E62D. | ||
E134 | LD HL,$D22C | HL=D22C. | ||
E137 | LD DE,$D23E | DE=D23E. | ||
E13A | CALL $F41A | Call F41A. | ||
E13D | CALL $F3CA | Call F3CA. | ||
Copy the active states/ flags back to Lizzys data.
|
||||
E140 | LD DE,$D001 | DE=Lizzy_State. | ||
E143 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
Ralph:
Copy Ralphs states/ flags to the active states/ flags.
|
||||
E146 | LD HL,$D030 | HL=Ralph_State. | ||
E149 | CALL CopyToActiveFlags | Call CopyToActiveFlags. | ||
E14C | CALL $E62D | Call E62D. | ||
E14F | LD HL,$D22C | HL=D22C. | ||
E152 | LD DE,$D23E | DE=D23E. | ||
E155 | CALL $F41A | Call F41A. | ||
E158 | LD HL,$D232 | HL=D232. | ||
E15B | LD DE,$D23F | DE=D23F. | ||
E15E | CALL $F41A | Call F41A. | ||
E161 | CALL $F3CA | Call F3CA. | ||
Copy the active states/ flags back to Ralphs data.
|
||||
E164 | LD DE,$D030 | DE=Ralph_State. | ||
E167 | CALL CopyFromActiveFlags | Call CopyFromActiveFlags. | ||
E16A | RET | Return. | ||
CopyToActiveFlags | E16B | LD DE,$D244 | DE=JumpTable_Pointer. | |
E16E | JR Copy17Bytes | Jump to Copy17Bytes. | ||
Sets up copying FROM the active flags back to the monsters states.
|
||||
CopyFromActiveFlags | E170 | LD HL,$D244 | HL=JumpTable_Pointer. | |
Copy17Bytes | E173 | LD BC,$0011 | Copy 11 bytes from *HL to *DE. | |
E176 | LDIR | |||
E178 | RET | Return. |
Prev: E0AD | Up: Map | Next: E179 |