PREPARE_TO_DRAW_ENEMY |
54318 |
LD A,(IX+3) |
|
54321 |
CP 2 |
|
54323 |
JP NC,PREPARE_TO_DRAW_ENEMY_0 |
|
54326 |
LD HL,53294 |
|
54329 |
RRA |
|
54330 |
JP NC,L54413 |
|
54333 |
LD HL,53326 |
|
54336 |
JP L54413 |
PREPARE_TO_DRAW_ENEMY_0 |
54339 |
CP 5 |
|
54341 |
JP NC,PREPARE_TO_DRAW_ENEMY_4 |
|
54344 |
SUB 2 |
|
54346 |
PUSH BC |
|
54347 |
LD B,A |
|
54348 |
LD C,0 |
|
54350 |
SRL B |
|
54352 |
RR C |
|
54354 |
LD HL,52910 |
|
54357 |
ADD HL,BC |
|
54358 |
POP BC |
|
54359 |
LD A,(59674) |
|
54362 |
ADD A,B |
|
54363 |
AND 3 |
PREPARE_TO_DRAW_ENEMY_1 |
54365 |
LD B,A |
|
54366 |
LD C,0 |
PREPARE_TO_DRAW_ENEMY_2 |
54368 |
SRL B |
|
54370 |
RR C |
|
54372 |
RR B |
|
54374 |
RR C |
|
54376 |
RR B |
|
54378 |
RR C |
|
54380 |
ADD HL,BC |
|
54381 |
JP L54413 |
PREPARE_TO_DRAW_ENEMY_3 |
54384 |
LD HL,52718 |
|
54387 |
LD A,(59676) |
|
54390 |
LD B,A |
|
54391 |
LD C,0 |
|
54393 |
JP PREPARE_TO_DRAW_ENEMY_2 |
PREPARE_TO_DRAW_ENEMY_4 |
54396 |
CP 5 |
|
54398 |
JP NZ,PREPARE_TO_DRAW_ENEMY_3 |
|
54401 |
LD HL,52462 |
|
54404 |
LD A,(59674) |
|
54407 |
ADD A,B |
|
54408 |
AND 7 |
|
54410 |
JP PREPARE_TO_DRAW_ENEMY_1 |