Prev: C721 Up: Map Next: C7AE
C794: Obtain the tile type address pointer under the entity
Used by the routines at BC48 and C721.
C794 LD A,(IX+$00) Set A248 the x-position of entity
C797 LD ($A248),A
C79A LD A,(IX+$01) Set A249 the y-position of entity
C79D LD ($A249),A
C7A0 LD A,(IX+$02) Set A the direction of entity
C7A3 CALL $A6AB Point HL to the address into tile buffer of the tile under the entity
C7A6 LD DE,$0061
C7A9 ADD HL,DE
C7AA LD ($A1B4),HL Save at A1B4 to the address into tile buffer of the tile under the entity
C7AD RET
Prev: C721 Up: Map Next: C7AE