Prev: 7588 Up: Map Next: 7597
758B: Handler: Dog
Used by the routines at Handler_Room03 and Handler_Room07.
Controls the dog hazard that patrols horizontally along a platform. Uses the same movement logic as the cat but with different state data, boundaries and sprite frames.
Input
IX Pointer to the dog sprite data
Handler_Dog 758B LD IY,$7AE8 Point IY at Dog_State_Data.
Sprite ID Sprite
41 udg45883-56x4
758F LD BC,$0041 Set B=00 (sprite active value) and C=41 (base dog frame).
7592 LD HL,$7598 Point HL at Dog_Direction_Flag.
7595 JR Calculate_Hazard_Room_Offset Jump to Calculate_Hazard_Room_Offset.
Prev: 7588 Up: Map Next: 7597