Prev: C8C6 Up: Map Next: C929
C8EF: Routine at C8EF
Used by the routines at C929 and C989.
C8EF LD A,($A034) Jump to C90C if *RoomDisplayParameter is greater than or equal to FE.
C8F2 CP $FE
C8F4 JR NC,$C90C
C8F6 LD A,($A00F) Compare *A00F with 05.
C8F9 CP $05
C8FB LD A,($A034) A=*RoomDisplayParameter.
C8FE JR NC,$C905 Jump to C905 if *A00F is greater than or equal to 05.
C900 CALL FetchLocationDataPointer Call FetchLocationDataPointer.
C903 JR $C908 Jump to C908.
C905 CALL FetchObjectDataPointer Call FetchObjectDataPointer.
C908 LD ($A013),IX Write IX to *A013.
C90C LD A,($A035) Return if *RoomGraphicsParameter is greater than FE.
C90F CP $FE
C911 RET NC
C912 LD A,($A010) Compare *A010 with 05.
C915 CP $05
C917 LD A,($A035) A=*RoomGraphicsParameter.
C91A JR NC,$C921 Jump to C921 if *A010 is greater than or equal to 05.
C91C CALL FetchLocationDataPointer Call FetchLocationDataPointer.
C91F JR $C924 Jump to C924.
C921 CALL FetchObjectDataPointer Call FetchObjectDataPointer.
C924 LD ($A015),IX Write IX to *A015.
C928 RET Return.
Prev: C8C6 Up: Map Next: C929