Routines |
Prev: 57893 | Up: Map | Next: 57933 |
57910 | LD HL,54529 | Point HL at byte 1 of buffer 213 | ||
57913 | LD A,(HL) | A=x-coordinate of the object that last used or is now using this buffer | ||
57914 | CP 192 | Is this buffer being used now? | ||
57916 | JR NC,57930 | Jump if not | ||
57918 | DEC L | L=0 | ||
57919 | LD A,(HL) | A=animatory state of the object that is using this buffer | ||
57920 | POP BC | Pop the return address from the stack into BC | ||
57921 | AND 127 | Drop the 'direction' bit (bit 7) of the object's animatory state | ||
57923 | CP 79 | 79: Is this buffer being used by BOY WANDER's catapult pellet? | ||
57925 | RET NZ | Return to the main loop if not | ||
57926 | PUSH BC | Restore the return address (to the caller of this routine) to the stack | ||
57927 | CALL 29903 | Terminate BOY WANDER's catapult pellet | ||
57930 | LD H,210 | 210=ERIC | ||
57932 | RET |
Prev: 57893 | Up: Map | Next: 57933 |