Routines |
Prev: E6DC | Up: Map | Next: E762 |
|
||||
E72F | PUSH AF | Stash AF, BC, DE and HL on the stack. | ||
E730 | PUSH BC | |||
E731 | PUSH DE | |||
E732 | PUSH HL | |||
E733 | DEC A | Decrease A by one. | ||
E734 | LD ($F336),A | Write A to *ActiveSpriteID. | ||
E737 | LD A,E | Write E to *ActiveSpriteWidth. | ||
E738 | LD ($F335),A | |||
E73B | LD A,($F335) | E=*ActiveSpriteWidth. | ||
E73E | LD E,A | |||
E73F | PUSH BC | Stash BC and DE on the stack. | ||
E740 | PUSH DE | |||
E741 | CALL ConvertCoordinateToBufferOffset | Call ConvertCoordinateToBufferOffset. | ||
E744 | POP DE | Restore DE and BC from the stack. | ||
E745 | POP BC | |||
E746 | LD A,($F336) | A=*ActiveSpriteID. | ||
E749 | INC A | Increment A by one. | ||
E74A | CP $00 | Jump to E751 if A is equal to 00. | ||
E74C | JR Z,$E751 | |||
E74E | LD ($F336),A | Write A to *ActiveSpriteID. | ||
E751 | CALL $E804 | Call E804. | ||
E754 | DEC E | Decrease E by one. | ||
E755 | JR NZ,$E746 | Jump to E746 until E is zero. | ||
E757 | DEC D | Decrease D by one. | ||
E758 | JR Z,$E75D | Jump to E75D if D is zero. | ||
E75A | DEC B | Decrease B by one. | ||
E75B | JR $E73B | Jump to E73B. | ||
E75D | POP HL | Restore HL, DE, BC and AF from the stack. | ||
E75E | POP DE | |||
E75F | POP BC | |||
E760 | POP AF | |||
E761 | RET | Return. |
Prev: E6DC | Up: Map | Next: E762 |