CD3C: ADSPA
ADSPA |
CD3C |
PUSH HL |
|
CD3D |
PUSH DE |
|
CD3E |
PUSH BC |
|
CD3F |
PUSH AF |
|
CD40 |
LD HL,(D_ADD) |
|
CD43 |
CALL routine53 |
|
CD46 |
EX DE,HL |
|
CD47 |
LD HL,(SPADAT) |
|
CD4A |
LD A,(HL) |
|
CD4B |
ADD A,D |
|
CD4C |
JR Z,ADSPA_1 |
|
CD4E |
CP $0B |
|
CD50 |
JR Z,ADSPA_1 |
|
CD52 |
LD D,A |
|
CD53 |
INC HL |
|
CD54 |
LD A,(HL) |
|
CD55 |
ADD A,E |
|
CD56 |
JR Z,ADSPA_1 |
|
CD58 |
CP $10 |
|
CD5A |
JR Z,ADSPA_1 |
|
CD5C |
DEC A |
|
CD5D |
DEC D |
|
CD5E |
SLA D |
|
CD60 |
SLA D |
|
CD62 |
SLA D |
|
CD64 |
SLA D |
|
CD66 |
ADD A,D |
|
CD67 |
LD B,$00 |
|
CD69 |
LD C,A |
|
CD6A |
LD HL,map_object_table |
|
CD6D |
ADD HL,BC |
|
CD6E |
LD (D_ADD),HL |
ADSPA_0 |
CD71 |
LD HL,(SPADAT) |
|
CD74 |
INC HL |
|
CD75 |
INC HL |
|
CD76 |
LD (SPADAT),HL |
|
CD79 |
POP HL |
|
CD7A |
POP DE |
|
CD7B |
POP BC |
|
CD7C |
POP AF |
|
CD7D |
RET |
ADSPA_1 |
CD7E |
LD HL,$0000 |
|
CD81 |
LD (D_ADD),HL |
|
CD84 |
JR ADSPA_0 |