Prev: C927 Up: Map Next: C940
C92F: Turn: mirror the sprite, and turn the top half to match
Used by the routines at left_right_calc_sprite and turn_right.
Toggles the mirror bit, then sets the top half's type to the legs' type plus 16 so the body turns in the same frame; upd_player_top would otherwise only catch up on its own update.
turn_toggle_mirror C92F LD A,(IX+$07) mirror bit
C932 XOR $40
C934 LD (IX+$07),A
C937 LD A,(IX+$00) top half's type = our type + 16
C93A ADD A,$10
C93C LD (IX+$20),A
C93F RET
Prev: C927 Up: Map Next: C940