Prev: 81C4 Up: Map Next: 81E3
81D4: Change direction
Used by the routines at B1A6, B288 and EFC7.
Input
IY Current character pointer (BC67 - BC6B)
81D4 EXX Exchange all registers.
81D5 XOR $01 Invert bit 1.
81D7 LD (IY-$3C),A Set this for this character
81DA LD E,(IY+$23) Put the graphic ID in DE.
81DD LD D,(IY+$28)
81E0 LD BC,$0400 Copy 0400 bytes (size of all frames). Control passes to 81E3.
Prev: 81C4 Up: Map Next: 81E3