C8BE: Builds a pre-shifted version of the backdrop horizon image
pre_shift_backdrop |
C8BE |
LD HL,$5C00 |
|
C8C1 |
LD DE,$5B00 |
|
C8C4 |
PUSH DE |
|
C8C5 |
PUSH HL |
|
C8C6 |
LD BC,$00F0 |
|
C8C9 |
LDIR |
|
C8CB |
POP HL |
|
C8CC |
LD DE,$0009 |
|
C8CF |
ADD HL,DE |
|
C8D0 |
EX DE,HL |
|
C8D1 |
POP HL |
|
C8D2 |
LD BC,$0A18 |
pre_shift_backdrop_0 |
C8D5 |
PUSH BC |
|
C8D6 |
LD A,(DE) |
pre_shift_backdrop_1 |
C8D7 |
RRD |
|
C8D9 |
INC L |
|
C8DA |
INC E |
|
C8DB |
DJNZ pre_shift_backdrop_1 |
|
C8DD |
POP BC |
|
C8DE |
DEC C |
|
C8DF |
JP NZ,pre_shift_backdrop_0 |
|
C8E2 |
RET |