![]() |
Routines |
| Prev: 46819 | Up: Map | Next: 46836 |
|
Used by the routines at Handle_Flying_Creature and Handle_Guardian.
Checks whether either of the two weapon records is touching an object.
See Check_Weapon_Record_Hit for the details.
|
||||||||||||||
| Check_Weapon_Hit | 46824 | LD HL,36602 | Point HL at the first weapon record. | |||||||||||
| 46827 | CALL Check_Weapon_Record_Hit | Check whether the weapon hits the object. | ||||||||||||
| 46830 | LD A,D | Return if it does. | ||||||||||||
| 46831 | AND A | |||||||||||||
| 46832 | RET NZ | |||||||||||||
| 46833 | LD HL,36618 | Point HL at Second_Weapon_Record. | ||||||||||||
| Prev: 46819 | Up: Map | Next: 46836 |