Star_play_one:
ld ix, Star_table_cnst0
push ix
call loc_0_6487
pop ix
jr loc_0_6487
Star_play:
ld ix,Star_table_cnst2
loc_0_6487:
ld b,16
loc_0_6488:
push bc
ld l, (ix++0)
ld h, (ix++1)
ld d, (ix++2)
ld e, (ix++3)
ld a, (ix++5)
cp 1
ld a, d
jr nz, loc_0_649E
ld a, e
loc_0_649E:
ld (loc_0_64A1+1), a
loc_0_64A1:
res 0, (hl)
inc h
ld a, h
and 7
jr nz, loc_0_64C2
ld a, h
sub 8
ld h, a
ld a, l
add a, 20h ; ' '
ld l, a
and 0E0h
jr nz, loc_0_64C2
ld a, h
add a, 8
ld h, a
and 18h
cp 18h
jr nz, loc_0_64C2
ld h, 40h
loc_0_64C2:
ld (ix++0), l
ld (ix++1), h
ld b, 1
call sub_0_6464
ld a,(loc_0_64A1+1)
set 6,a
ld (loc_0_64D4+1), a
loc_0_64D4:
set 0, (hl)
pop bc
djnz loc_0_6488
ret
Star_init:
ld ix,Star_table_cnst0
ld b,32
sub_0_6464:
ld l, (ix++0)
ld h, (ix++1)
ld a, (ix++4)
ld (loc_0_6471+1),a
xor a
loc_0_6471:
bit 6, (hl)
jr z, loc_0_6477
ld a, 1
loc_0_6477:
ld (ix++5), a
ld de, 6
add ix, de
djnz sub_0_6464
ret
Star_table_cnst0:
db 2Ah,40h,9Eh,0DEh,5Eh,0
db 0D4h,40h,0BEh,0FEh,7Eh,0
db 75h,41h,0A6h,0E6h,66h,0
db 10h,42h,9Eh,0DEh,5Eh,0
db 0EFh,42h,0BEh,0FEh,7Eh,0
db 8Ch,43h,9Eh,0DEh,5Eh,0
db 0EAh,43h,0B6h,0F6h,76h,0;
db 0AFh,46h,0A6h,0E6h,66h,0
db 0F0h,4Ah,0A6h,0E6h,66h,0
db 0Dh,4Dh,9Eh,0DEh,5Eh,0
db 34h,4Eh,0BEh,0FEh,7Eh,0
db 53h,4Eh,0BEh,0FEh,7Eh,0
db 0F1h,4Fh,0A6h,0E6h,66h,0
db 31h,53h,0BEh,0FEh,7Eh,0
db 52h,54h,0BEh,0FEh,7Eh,0
db 0F5h,57h,9Eh,0DEh,5Eh,0
Star_table_cnst2:
db 0ADh,43h,8Eh,0CEh,4Eh,0
db 0F2h,43h,0A6h,0E6h,66h,0
db 4Ch,44h,0BEh,0FEh,7Eh,0
db 2Fh,48h,86h,0C6h,46h,0
db 0ABh,47h,0A6h,0E6h,66h,0
db 0AFh,49h,9Eh,0DEh,5Eh,0
db 0EAh,49h,8Eh,0CEh,4Eh,0
db 6Ch,4Ah,0B6h,0F6h,76h,0
db 0B4h,4Bh,8Eh,0CEh,4Eh,0
db 0E9h,4Bh,86h,0C6h,46h,0
db 90h,4Dh,96h,0D6h,56h,0
db 0B1h,50h,96h,0D6h,56h,0
db 55h,53h,0BEh,0FEh,7Eh,0
db 6Fh,54h,0BEh,0FEh,7Eh,0
db 2Dh,56h,86h,0C6h,46h,0
db 0EFh,57h,9Eh,0DEh,5Eh,0