9278: Draws objects (left hand version).
draw_object_left |
9278 |
XOR A |
|
9279 |
LD ($933E),A |
|
927C |
LD A,B |
|
927D |
CP $0A |
|
927F |
JR C,draw_object_left_0 |
|
9281 |
LD A,$0A |
draw_object_left_0 |
9283 |
EX DE,HL |
|
9284 |
LD E,(HL) |
|
9285 |
INC HL |
|
9286 |
LD D,(HL) |
|
9287 |
RLCA |
|
9288 |
DEC A |
|
9289 |
LD C,A |
|
928A |
LD B,$00 |
|
928C |
ADD HL,BC |
|
928D |
LD B,(HL) |
|
928E |
INC HL |
|
928F |
LD L,(HL) |
|
9290 |
LD H,$00 |
|
9292 |
ADD HL,DE |
draw_object_left_stretchy_entrypt |
9293 |
LD A,(IX+$00) |
|
9296 |
ADD A,$10 |
|
9298 |
SUB B |
|
9299 |
RET C |
draw_object_left_1 |
929A |
CP $08 |
|
929C |
RET C |
|
929D |
LD C,$00 |
|
929F |
LD E,(HL) |
|
92A0 |
RLC E |
|
92A2 |
RLC E |
|
92A4 |
RLC E |
|
92A6 |
SUB E |
|
92A7 |
JR C,draw_object_left_2 |
|
92A9 |
CP $08 |
|
92AB |
JR NC,draw_object_right_4 |
|
92AD |
LD E,(HL) |
|
92AE |
RRCA |
|
92AF |
RRCA |
|
92B0 |
LD ($9396),A |
|
92B3 |
LD A,E |
|
92B4 |
DEC A |
|
92B5 |
LD BC,$0101 |
|
92B8 |
JP draw_object_left_3 |
draw_object_left_2 |
92BB |
LD E,(HL) |
|
92BC |
AND $FC |
|
92BE |
RRCA |
|
92BF |
RRCA |
|
92C0 |
LD ($9396),A |
|
92C3 |
RRA |
|
92C4 |
LD B,A |
|
92C5 |
ADD A,E |
|
92C6 |
SUB $21 |
|
92C8 |
RET C |
|
92C9 |
RET Z |
|
92CA |
LD D,A |
|
92CB |
NEG |
|
92CD |
ADD A,E |
|
92CE |
LD C,A |
|
92CF |
LD A,D |
|
92D0 |
LD B,$01 |
draw_object_left_3 |
92D2 |
INC HL |
|
92D3 |
LD D,(HL) |
|
92D4 |
SRL D |
|
92D6 |
JP Z,draw_object_right_6 |
|
92D9 |
DEC B |
|
92DA |
INC A |
|
92DB |
LD C,$00 |
|
92DD |
EX AF,AF' |
|
92DE |
JP draw_object_common |