![]() |
Routines |
| Prev: 7841 | Up: Map |
|
Used by the routine at 76AC. Knocks down a main kid that was hit by a catapult pellet. Also adds 30 to the score if the pellet was ERIC's and the victim was ANGELFACE.
|
||||||||||||
| 7842 | LD A,H | A=pellet's character number | ||||||||||
| 7843 | CP $D6 | Is this ERIC's catapult pellet? | ||||||||||
| 7845 | JR NZ,$7851 | Jump if not (it's BOY WANDER's) | ||||||||||
| 7847 | LD A,D | A=character number of the kid hit by the pellet | ||||||||||
| 7848 | CP $D0 | Did the pellet hit ANGELFACE? | ||||||||||
| 784A | JR NZ,$7851 | Jump if not | ||||||||||
| 784C | LD A,$03 | ERIC's pellet hit ANGELFACE; add 30 to the score and print it | ||||||||||
| 784E | CALL $73B5 | |||||||||||
| 7851 | JP $751E | Terminate the pellet and knock the kid over | ||||||||||
| Prev: 7841 | Up: Map |