![]() |
Routines |
| Prev: 7588 | Up: Map | Next: 7597 |
|
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.
|
||||||||
| Handler_Dog | 758B | LD IY,$7AE8 | Point IY at Dog_State_Data. | |||||
|
||||||||
| 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 |