Prev: 9D1F Up: Map Next: 9D71
9D47: Configure data for Rex teleporting when dead
Used by the routine at 9BDA.
9D47 LD DE,$D7BA Set DE sound data for Rex dead
9D4A CALL $D5E7 Configure sound channel and mixer register
9D4D XOR A Deactivate shield
9D4E LD ($A049),A
9D51 LD A,$01
9D53 LD ($A05F),A Set Rex atoms flushing active
9D56 LD ($A060),A Set teleporting active
9D59 LD ($A062),A Set teleporting after Rex dead
9D5C LD A,($A05D) Set Rex visible
9D5F LD L,A
9D60 LD ($A05D),A
9D63 LD ($A05E),A Set Rex visibility counter to 1
9D66 LD A,$64 Set teleporting counter loop to 100
9D68 LD ($A061),A
9D6B LD A,L Return if Rex visible
9D6C OR A
9D6D RET NZ
9D6E JP $9D33 Jump to reset teleporting buffer data and sound play
Prev: 9D1F Up: Map Next: 9D71