![]() |
Routines |
| Prev: ADA2 | Up: Map | Next: ADBD |
|
Used by the routine at HandlerWulf.
Turns a Wulf or a tribesman around, by flipping bit 2 of the sprite ID and reversing the X velocity.
|
||||||||
| TurnWulfAround | ADB3 | LD A,(IX+$00) | Fetch the sprite ID of the actor. | |||||
| ADB6 | XOR %00000100 | Flip bit 2 (the direction the actor is facing). | ||||||
| ADB8 | LD (IX+$00),A | Set the new sprite ID of the actor. | ||||||
| ADBB | JR TurnRhinoAround_Velocity | Jump to TurnRhinoAround_Velocity to reverse the X velocity. | ||||||
| Prev: ADA2 | Up: Map | Next: ADBD |