Prev: ADDB Up: Map Next: AE4E
AE28: Enter the final room and display the ending sequence - game won!
Used by the routine at AA65.
AE28 LD HL,($A479)
AE2B CALL $ADDE
AE2E LD DE,$7ED0
AE31 XOR A
AE32 LD B,$10
AE34 LD (DE),A
AE35 INC DE
AE36 DJNZ $AE34
AE38 LD IX,$AA49
AE3C LD HL,$A844
AE3F LD B,$10
AE41 LD A,(HL)
AE42 XOR (IX+$06)
AE45 LD (DE),A
AE46 INC HL
AE47 INC IX
AE49 INC DE
AE4A DJNZ $AE41
AE4C JR $AE61
Prev: ADDB Up: Map Next: AE4E