Prev: CD24 Up: Map Next: CD7E
CD5C: Update lift's attributes
Used by the routines at CC89 and D16F.
Input
DE New lift position
CD5C LD A,E
CD5D AND $07
CD5F AND A
CD60 RET NZ
CD61 LD A,E
CD62 EXX
CD63 LD E,A
CD64 LD D,$0E
CD66 CALL $E909 Convert into an attribute address.
CD69 LD A,(DE)
CD6A LD B,A
CD6B INC E
CD6C INC E
CD6D INC E
CD6E INC E
CD6F LD A,(DE)
CD70 LD C,A
CD71 LD E,$04
CD73 CALL $D9AA
CD76 JR Z,$CD7A
CD78 EXX
CD79 RET
CD7A EXX
CD7B LD C,$64
CD7D RET
Prev: CD24 Up: Map Next: CD7E