Prev: AA37 Up: Map Next: AABA
AA49: Redefine the keys
Used by the routines at A410 and A4C8.
AA49 CALL $AB9E
AA4C LD HL,$732D
AA4F LD (HL),$03
AA51 LD HL,$8268
AA54 LD B,$0A
AA56 LD (HL),$00
AA58 INC HL
AA59 DJNZ $AA56
AA5B LD HL,$1100
AA5E LD B,$20
AA60 LD DE,$AC02
AA63 LD A,(DE)
AA64 CALL $9C40
AA67 INC L
AA68 INC DE
AA69 DJNZ $AA63
AA6B LD H,$0E
AA6D LD C,$05
AA6F LD B,$0A
AA71 LD L,$0A
AA73 LD A,(DE)
AA74 CALL $9C40
AA77 INC DE
AA78 INC L
AA79 DJNZ $AA73
AA7B DEC H
AA7C DEC H
AA7D DEC C
AA7E JR NZ,$AA6F
AA80 LD HL,$58C0
AA83 LD B,$20
AA85 LD (HL),$04
AA87 INC HL
AA88 DJNZ $AA85
AA8A CALL $AAF4
AA8D LD A,L
AA8E AND A
AA8F JR NZ,$AA8A
AA91 LD A,$05
AA93 LD IX,$8268
AA97 LD HL,$592A
AA9A LD BC,$83F6
AA9D LD DE,$0E16
AAA0 CALL $AB19
AAA3 PUSH BC
AAA4 LD BC,$0040
AAA7 ADD HL,BC
AAA8 POP BC
AAA9 DEC D
AAAA DEC D
AAAB INC IX
AAAD INC IX
AAAF INC BC
AAB0 INC BC
AAB1 INC BC
AAB2 INC BC
AAB3 INC BC
AAB4 DEC A
AAB5 JR NZ,$AAA0
AAB7 JP $A46E
Prev: AA37 Up: Map Next: AABA