Prev: 6820 Up: Map Next: 68E5
6831: Throw Quasimodo off the wall as he's died
Used by the routine at 638C.
6831 CALL $647D
6834 LD A,$00
6836 LD ($609F),A
6839 LD ($60AD),A
683C LD A,($60D1)
683F CP $00
6841 JR NZ,$684C
6843 LD B,$0F
6845 PUSH BC
6846 CALL $670C
6849 POP BC
684A DJNZ $6845
684C LD IX,$BF7C
6850 CALL $C15C
6853 LD A,($607F)
6856 LD D,A
6857 LD A,($6081)
685A LD C,A
685B LD A,($6080)
685E LD E,A
685F LD A,$04
6861 CALL $B798
6864 LD A,($607F)
6867 ADD A,$10
6869 LD D,A
686A LD A,($6080)
686D LD E,A
686E LD A,($60C5)
6871 CP $00
6873 JR Z,$687C
6875 LD A,($6081)
6878 ADD A,$01
687A JR $688F
687C LD A,($60BF)
687F CP $00
6881 JR Z,$688A
6883 LD A,($6081)
6886 ADD A,$01
6888 JR $688F
688A LD A,($6081)
688D ADD A,$04
688F LD C,A
6890 LD A,$04
6892 CALL $B798
6895 LD HL,$607F
6898 LD A,(HL)
6899 CP $86
689B JR NC,$68E5
689D INC (HL)
689E INC (HL)
689F INC (HL)
68A0 LD A,($607F)
68A3 LD D,A
68A4 LD A,($6081)
68A7 LD C,A
68A8 LD A,($6080)
68AB LD E,A
68AC LD A,$04
68AE CALL $B798
68B1 LD A,($607F)
68B4 ADD A,$10
68B6 LD D,A
68B7 LD A,($60C5)
68BA CP $00
68BC JR Z,$68C5
68BE LD A,($6081)
68C1 ADD A,$01
68C3 JR $68D8
68C5 LD A,($60BF)
68C8 CP $00
68CA JR Z,$68D3
68CC LD A,($6081)
68CF ADD A,$01
68D1 JR $68D8
68D3 LD A,($6081)
68D6 ADD A,$04
68D8 LD C,A
68D9 LD A,($6080)
68DC LD E,A
68DD LD A,$04
68DF CALL $B798
68E2 JP $6853
Prev: 6820 Up: Map Next: 68E5