6F54: Erase each of the items.
Items_Erase |
6F54 |
LD HL,Item_ShipPosOffset |
|
6F57 |
LD B,$0F |
Items_Erase_0 |
6F59 |
PUSH BC |
|
6F5A |
LD E,(HL) |
|
6F5B |
INC HL |
|
6F5C |
LD D,(HL) |
|
6F5D |
LD A,D |
|
6F5E |
OR E |
|
6F5F |
JR Z,Items_Erase_1 |
|
6F61 |
PUSH HL |
|
6F62 |
LD HL,BgMap_Start0 |
|
6F65 |
ADD HL,DE |
|
6F66 |
LD (HL),$20 |
|
6F68 |
LD HL,Bg_Attr_From |
|
6F6B |
ADD HL,DE |
|
6F6C |
LD (HL),$00 |
|
6F6E |
POP HL |
Items_Erase_1 |
6F6F |
INC HL |
|
6F70 |
INC HL |
|
6F71 |
INC HL |
|
6F72 |
POP BC |
|
6F73 |
DJNZ Items_Erase_0 |
|
6F75 |
RET |
|
6F76 |
NOP |
|
6F77 |
NOP |
|
6F78 |
NOP |
|
6F79 |
NOP |
|
6F7A |
NOP |
|
6F7B |
NOP |
|
6F7C |
NOP |
|
6F7D |
NOP |
|
6F7E |
NOP |
|
6F7F |
NOP |
|
6F80 |
NOP |
|
6F81 |
NOP |
|
6F82 |
NOP |
|
6F83 |
NOP |
|
6F84 |
NOP |
|
6F85 |
NOP |
|
6F86 |
NOP |
|
6F87 |
NOP |
|
6F88 |
NOP |
|
6F89 |
NOP |
|
6F8A |
NOP |
|
6F8B |
NOP |
|
6F8C |
NOP |
|
6F8D |
NOP |
|
6F8E |
NOP |
|
6F8F |
NOP |