Prev: F2CD Up: Map Next: F314
F300: Invaders : Set Y position of each invader.
Input
Output
Invaders_Init_YPos F300 LD HL,Invaders_Data Start with top row, left hand column for 8 columns.
F303 LD B,$08
Invaders_Init_YPos_0 F305 INC HL Top.
F306 LD (HL),$38
F308 INC HL
F309 INC HL
F30A LD (HL),$58 Middle.
F30C INC HL
F30D INC HL
F30E LD (HL),$78 Bottom.
F310 INC HL
F311 DJNZ Invaders_Init_YPos_0 Next column.
F313 RET
Prev: F2CD Up: Map Next: F314