Prev: 9E05 Up: Map Next: 9E3D
9E15: Configure data for Rex teleporting when game begins or resume
Used by the routines at 9470 and 9D68.
9E15 LD A,$01
9E17 LD ($A1F8),A Set Rex atoms flushing active
9E1A LD ($A1F9),A Set Rex teleporting active
9E1D XOR A
9E1E LD ($A1FB),A Set Rex teleporting on init game
9E21 LD ($A1F6),A Set Rex invisible
9E24 LD A,$64 Set teleporting counter loop to 100
9E26 LD ($A1FA),A
Reset buffer data for teleporting and configure sound
9E29 LD HL,$A0AD Reset teleporting buffer data
9E2C LD DE,$A0AE
9E2F LD BC,$003B
9E32 LD (HL),$00
9E34 LDIR
9E36 LD DE,$D546 Set DE to teleporting sound
9E39 CALL $D37F Configure sound channel and mixer register
9E3C RET
Prev: 9E05 Up: Map Next: 9E3D