Prev: 9D0F Up: Map Next: 9D47
9D1F: Configure data for Rex teleporting when game begins or resume
Used by the routines at 947A and 9C76.
9D1F LD A,$01
9D21 LD ($A05F),A Set Rex atoms flushing active
9D24 LD ($A060),A Set Rex teleporting active
9D27 XOR A
9D28 LD ($A062),A Set Rex teleporting on init game
9D2B LD ($A05D),A Set Rex invisible
9D2E LD A,$64 Set teleporting counter loop to 100
9D30 LD ($A061),A
Reset buffer data for teleporting and configure sound
9D33 LD HL,$9F14 Reset teleporting buffer data
9D36 LD DE,$9F15
9D39 LD BC,$003B
9D3C LD (HL),$00
9D3E LDIR
9D40 LD DE,$D7AE Set DE to teleporting sound
9D43 CALL $D5E7 Configure sound channel and mixer register
9D46 RET
Prev: 9D0F Up: Map Next: 9D47