Prev: 30088 Up: Map Next: 30103
30091: 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 30091 LD IY,31464 Point IY at Dog_State_Data.
Sprite ID Sprite
65 udg45883-56x4
30095 LD BC,65 Set B=0 (sprite active value) and C=65 (base dog frame).
30098 LD HL,30104 Point HL at Dog_Direction_Flag.
30101 JR Calculate_Hazard_Room_Offset Jump to Calculate_Hazard_Room_Offset.
Prev: 30088 Up: Map Next: 30103