Prev: 70A3 Up: Map Next: 7121
70CA: Check for collision on a room with bells
Used by the routine at 638C.
70CA LD A,($6082)
70CD CP $2D
70CF JR NC,$70D4
70D1 CP $26
70D3 RET NC
70D4 LD A,($6082)
70D7 LD B,$03
70D9 SUB $08
70DB JR C,$70E0
70DD INC B
70DE JR $70D9
70E0 LD A,($6083)
70E3 LD C,A
70E4 LD A,($6084)
70E7 CP $04
70E9 CALL Z,$7121
70EC CALL $6820
70EF CP $06
70F1 JP Z,$681A
70F4 CP $03
70F6 JP Z,$681A
70F9 CP $05
70FB JP Z,$681A
70FE LD B,$00
7100 LD A,($6082)
7103 SUB $08
7105 JR C,$710A
7107 INC B
7108 JR $7103
710A LD A,($6083)
710D ADD A,$01
710F LD C,A
7110 LD A,($6084)
7113 CP $01
7115 CALL Z,$7128
7118 CALL $6820
711B CP $06
711D JP Z,$681A
7120 RET
Prev: 70A3 Up: Map Next: 7121