![]() |
Routines |
| Prev: 33475 | Up: Map | Next: 33537 |
|
The handler for a thrown sword, which has the sprite IDs 56 to 63. Sets the attribute, points the sprite in the direction of travel and then runs the movement code that is shared by all of the weapons.
|
||||||||
| HandlerSword | 33521 | CALL StoreEntity | Call StoreEntity to save the position of the weapon. | |||||
| 33524 | LD (IX+5),70 | Set the attribute of the sword to INK:YELLOW, PAPER:BLACK (BRIGHT). | ||||||
| 33528 | LD HL,60063 | Point HL at the Y velocity of the weapon at PlayerWeapon_Y_Velocity. | ||||||
| 33531 | CALL SwordDirection | Call SwordDirection to choose the sprite of the sword. | ||||||
| 33534 | JP HandlerWeapon | Jump to HandlerWeapon to move the weapon. | ||||||
| Prev: 33475 | Up: Map | Next: 33537 |