Prev: D763 Up: Map Next: D815
D7C6: Routine at D7C6
Used by the routine at F130.
D7C6 CP $1F Jump to D7CE if A is equal to 1F.
D7C8 JR Z,$D7CE
D7CA CP $21 Jump to D7DD if A is not equal to 21.
D7CC JR NZ,$D7DD
D7CE LD DE,$0784 Write 0784 to *D88E.
D7D1 LD ($D88E),DE
D7D5 LD DE,$0AF4 Write 0AF4 to *D890.
D7D8 LD ($D890),DE
D7DC RET Return.
D7DD CP $25 Jump to D7F0 if A is not equal to 25.
D7DF JR NZ,$D7F0
D7E1 LD DE,$0788 Write 0788 to *D88E.
D7E4 LD ($D88E),DE
D7E8 LD DE,$0AF8 Write 0AF8 to *D890.
D7EB LD ($D890),DE
D7EF RET Return.
D7F0 CP $2D Jump to D803 if A is not equal to 2D.
D7F2 JR NZ,$D803
D7F4 LD DE,$078C Write 078C to *D88E.
D7F7 LD ($D88E),DE
D7FB LD DE,$0AFC Write 0AFC to *D890.
D7FE LD ($D890),DE
D802 RET Return.
D803 CP $33 Return if A is not equal to 33.
D805 RET NZ
D806 LD DE,$0790 Write 0790 to *D88E.
D809 LD ($D88E),DE
D80D LD DE,$0B00 Write 0B00 to *D890.
D810 LD ($D890),DE
D814 RET Return.
Prev: D763 Up: Map Next: D815