A82: Re: Re: Re: Re: Blockbuster v4.0


[Prev][Next][Index][Thread]

A82: Re: Re: Re: Re: Blockbuster v4.0




Agh, here it is again:

DrawRowOfBlocks:
 ld a,(hl)
 ld b,8
DrawRowLoop:
 rra
 push af
 jr c,DrawBlock
 NoBlock:
 ld a,d
 add a,8
 ld d,a
 jr AfterDraw
 DrawBlock:
 push bc
 push hl
 ld hl,Block
 call ZoomSprite
 pop hl
 pop bc
AfterDraw:
 pop af
 djnz DrawRowLoop
 inc hl
 ld d,b
 inc e
 ld a,e
 cp 12
 jr nz,DrawRowOfBlocks



References: