Prev: BA04 Up: Map Next: BA33
BA05: Draw the rope
Used by the routine at B9CE.
BA05 PUSH DE
BA06 LD A,D
BA07 AND $C0
BA09 SRL A
BA0B SRL A
BA0D SRL A
BA0F ADD A,$40
BA11 LD H,A
BA12 LD A,D
BA13 AND $07
BA15 ADD A,H
BA16 LD H,A
BA17 SRL E
BA19 SRL E
BA1B SRL E
BA1D LD A,D
BA1E AND $38
BA20 SLA A
BA22 SLA A
BA24 ADD A,E
BA25 LD L,A
BA26 POP DE
BA27 LD A,E
BA28 AND $07
BA2A LD DE,$BA33
BA2D ADD A,E
BA2E LD E,A
BA2F LD A,(DE)
BA30 XOR (HL)
BA31 LD (HL),A
BA32 RET
Prev: BA04 Up: Map Next: BA33