A9DE: Dust/Stones stuff
sub_A9DE |
A9DE |
LD A,$00 |
|
A9E0 |
AND A |
|
A9E1 |
RET Z |
|
A9E2 |
LD HL,$ED28 |
|
A9E5 |
LD A,(HL) |
|
A9E6 |
INC HL |
|
A9E7 |
INC HL |
|
A9E8 |
AND A |
|
A9E9 |
JR NZ,sub_A9DE_0 |
|
A9EB |
INC HL |
|
A9EC |
INC HL |
|
A9ED |
LD ($A9E3),HL |
|
A9F0 |
RET |
sub_A9DE_0 |
A9F1 |
LD DE,($5D0C) |
|
A9F5 |
DEC A |
|
A9F6 |
JR Z,sub_A9DE_1 |
|
A9F8 |
LD DE,($5D0E) |
sub_A9DE_1 |
A9FC |
LD C,(HL) |
|
A9FD |
INC HL |
|
A9FE |
LD A,(HL) |
|
A9FF |
EX AF,AF' |
|
AA00 |
INC HL |
|
AA01 |
LD ($A9E3),HL |
|
AA04 |
XOR A |
|
AA05 |
LD ($933E),A |
|
AA08 |
LD H,A |
|
AA09 |
LD A,B |
|
AA0A |
DEC A |
|
AA0B |
CP $0B |
|
AA0D |
JR C,sub_A9DE_2 |
|
AA0F |
LD A,$0A |
sub_A9DE_2 |
AA11 |
SRL A |
|
AA13 |
LD L,A |
|
AA14 |
RLCA |
|
AA15 |
RLCA |
|
AA16 |
RLCA |
|
AA17 |
SUB L |
|
AA18 |
LD L,A |
|
AA19 |
ADD HL,DE |
|
AA1A |
LD E,(HL) |
|
AA1B |
RLC E |
|
AA1D |
RLC E |
|
AA1F |
RLC E |
|
AA21 |
EX AF,AF' |
|
AA22 |
AND A |
|
AA23 |
LD A,C |
|
AA24 |
LD C,$00 |
|
AA26 |
JP M,sub_A9DE_3 |
|
AA29 |
RET NZ |
|
AA2A |
CP $80 |
|
AA2C |
JP NC,draw_object_right_3 |
|
AA2F |
ADD A,E |
|
AA30 |
JP draw_object_left_1 |
sub_A9DE_3 |
AA33 |
ADD A,E |
|
AA34 |
RET NC |
|
AA35 |
JP draw_object_left_1 |