A955: main_loop_18
main_loop_18 |
A955 |
LD A,($A248) |
|
A958 |
AND A |
|
A959 |
RET Z |
|
A95A |
LD A,($A254) |
|
A95D |
AND A |
|
A95E |
RET Z |
|
A95F |
LD DE,$ED28 |
|
A962 |
CALL rng |
|
A965 |
AND A |
|
A966 |
LD A,$01 |
|
A968 |
JP P,main_loop_18_0 |
|
A96B |
INC A |
main_loop_18_0 |
A96C |
LD (DE),A |
|
A96D |
CALL rng |
|
A970 |
INC DE |
|
A971 |
LD (DE),A |
|
A972 |
LD A,$01 |
|
A974 |
LD ($A97F),A |
|
A977 |
LD ($C0BC),A |
|
A97A |
LD ($A9DF),A |
|
A97D |
RET |