routine67 |
CCC3 |
LD HL,(BUFPNT) |
|
CCC6 |
INC HL |
|
CCC7 |
INC HL |
|
CCC8 |
LD (BUFPNT),HL |
routine67_0 |
CCCB |
LD HL,(BUFPNT) |
|
CCCE |
LD A,(HL) |
|
CCCF |
CP $FF |
|
CCD1 |
JR NZ,routine67_1 |
|
CCD3 |
LD A,$4B |
|
CCD5 |
RET |
routine67_1 |
CCD6 |
LD HL,map_object_table |
|
CCD9 |
LD D,$00 |
|
CCDB |
LD E,A |
|
CCDC |
ADD HL,DE |
|
CCDD |
LD (object_table_entry_pointer),HL |
|
CCE0 |
LD A,(HL) |
|
CCE1 |
CP $29 |
|
CCE3 |
JP P,routine67_3 |
|
CCE6 |
CP $24 |
|
CCE8 |
JR NZ,routine67_2 |
|
CCEA |
LD DE,$0281 |
|
CCED |
ADD HL,DE |
|
CCEE |
LD A,(HL) |
|
CCEF |
OR A |
|
CCF0 |
JR NZ,routine67_3 |
|
CCF2 |
JR routine67 |
routine67_2 |
CCF4 |
CP $25 |
|
CCF6 |
JR Z,routine67_3 |
|
CCF8 |
CP $23 |
|
CCFA |
JP P,routine67 |
routine67_3 |
CCFD |
LD HL,(D_ADD) |
|
CD00 |
LD A,(HL) |
|
CD01 |
CP $29 |
|
CD03 |
JP P,routine67_4 |
|
CD06 |
LD HL,(object_table_entry_pointer) |
|
CD09 |
LD A,(HL) |
|
CD0A |
CP $1C |
|
CD0C |
JP M,routine67_4 |
|
CD0F |
CP $22 |
|
CD11 |
JP P,routine67_4 |
|
CD14 |
JR routine67 |
routine67_4 |
CD16 |
LD HL,(object_table_entry_pointer) |
|
CD19 |
CALL routine53 |
|
CD1C |
LD (cursor_coordinates),HL |
|
CD1F |
LD A,$53 |
|
CD21 |
LD HL,(BUFPNT) |
|
CD24 |
INC HL |
|
CD25 |
INC HL |
|
CD26 |
LD (BUFPNT),HL |
|
CD29 |
RET |