7262: Routine at 7262
7262 |
PUSH HL |
7263 |
EX DE,HL |
7264 |
LD HL,$5F16 |
7267 |
LD BC,$0008 |
726A |
LDIR |
726C |
POP IX |
726E |
LD A,($5E13) |
7271 |
CP $05 |
7273 |
JR NC,$72CC |
7275 |
LD (IX+$01),$08 |
7279 |
SET 6,(IX+$00) |
727D |
RRCA |
727E |
RRCA |
727F |
RRCA |
7280 |
AND %11100000 |
7282 |
ADD A,$37 |
7284 |
LD (IX+$02),A |
7287 |
LD A,($5E37) |
728A |
CP $01 |
728C |
JR Z,$72D4 |
728E |
CP $02 |
7290 |
JR Z,$72DA |
7292 |
CP $03 |
7294 |
JR Z,$72E1 |
7296 |
CP $04 |
7298 |
JR C,$729C |
729A |
LD A,R |
729C |
AND %00000011 |
729E |
LD C,A |
729F |
SLA A |
72A1 |
ADD A,C |
72A2 |
LD C,A |
72A3 |
LD B,$00 |
72A5 |
LD HL,$72E9 |
72A8 |
ADD HL,BC |
72A9 |
LD A,(HL) |
72AA |
LD (IX+$00),A |
72AD |
INC HL |
72AE |
LD A,($5E19) |
72B1 |
BIT 6,A |
72B3 |
JR Z,$72B6 |
72B5 |
INC HL |
72B6 |
LD A,(HL) |
72B7 |
LD (IX+$03),A |
72BA |
LD E,$00 |
72BC |
LD HL,$5E6E |
72BF |
CALL BugCollision_0 |
72C2 |
DEC E |
72C3 |
JR NZ,$72C9 |
72C5 |
LD (IX+$00),$00 |
72C9 |
JP NewActor_3 |
72CC |
LD (IX+$01),$E0 |
72D0 |
SUB $05 |
72D2 |
JR $727D |
72D4 |
LD A,R |
72D6 |
AND %00000001 |
72D8 |
JR $729C |
72DA |
LD A,R |
72DC |
AND %00000001 |
72DE |
INC A |
72DF |
JR $729C |
72E1 |
LD A,R |
72E3 |
AND %00000001 |
72E5 |
OR $02 |
72E7 |
JR $729C |
72E9 |
DEFB $07,$44,$45 |
72EC |
DEFB $0A,$41,$42 |
72EF |
DEFB $09,$46,$43 |
72F2 |
DEFB $07,$44,$45 |