Prev: D0C4 Up: Map Next: D0D0
D0C5: Choose Other Object
Used by the routine at CompareObjectDepths.
Makes the object at IY the one to draw first.
Input
IY Object
Output
IX Object
ChooseOtherObject D0C5 LD HL,($BBC6) Make the place in the list the place of the object at IY.
D0C8 LD ($BBC4),HL
D0CB PUSH IY Make that object the one to draw first (using the stack).
D0CD POP IX
D0CF RET Return.
View the equivalent code in;
Prev: D0C4 Up: Map Next: D0D0