Prev: B103 Up: Map Next: B16A
B12F: Routine at B12F
Used by the routine at AFE8.
B12F LD D,$27 D=27.
B131 LD A,(IX+$01)
B134 ADD A,$10
B136 LD (IX+$01),A
B139 LD L,A Create an offset.
B13A LD H,$00
B13C LD BC,$6066 BC=Layout + offset.
B13F ADD HL,BC
B140 LD L,(HL)
B141 LD H,$00
B143 LD BC,$6036 BC=6036 + offset.
B146 ADD HL,BC
B147 LD E,(HL)
This entry point is used by the routines at B187 and B1AB.
B148 LD A,(IX+$00)
B14B SUB $10
B14D CP $20
B14F RET NC
B150 PUSH DE Stash DE on the stack.
B151 CALL ClearPlayArea_Attributes Call ClearPlayArea_Attributes.
B154 CALL ClearPlayArea Call ClearPlayArea.
B157 CALL $BBDD Call BBDD.
B15A CALL StoreEntity Call StoreEntity.
B15D CALL DrawEntity Call DrawEntity.
B160 CALL VisitRoom Call VisitRoom.
B163 POP DE Restore DE from the stack.
B164 LD A,$80 Write 80 to 96B4.
B166 LD ($96B4),A
B169 RET Return.
Prev: B103 Up: Map Next: B16A