Skip to content

Commit

Permalink
Fix plane sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Oct 11, 2022
1 parent 49205dc commit ec42e42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions river-raid.asm
Original file line number Diff line number Diff line change
Expand Up @@ -6163,15 +6163,15 @@ sprite_plane:
DEFB $38,$00 ;
DEFB $7C,$00 ;
DEFB $D6,$00 ;
DEFB $82,$00 ;
DEFB $92,$00 ;
DEFB $38,$00 ;
DEFB $54,$00 ;
DEFB $04,$00 ; Frame 2
DEFB $04,$00 ;
DEFB $0E,$00 ;
DEFB $1F,$00 ;
DEFB $35,$80 ;
DEFB $04,$80 ;
DEFB $24,$80 ;
DEFB $0E,$00 ;
DEFB $15,$00 ;
DEFB $01,$00 ; Frame 3
Expand Down
2 changes: 2 additions & 0 deletions river-raid.ctl
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,9 @@ b $83B1
N $83B1 #UDGTABLE { #UDGARRAY2,14,4,2;$83B1-$83B2-1-16(*plane-f1) | #UDGARRAY2,14,4,2;$83C1-$83C2-1-16(*plane-f2) | #UDGARRAY2,14,4,2;$83D1-$83D2-1-16(*plane-f3) | #UDGARRAY2,14,4,2;$83E1-$83E2-1-16(*plane-f4) } TABLE#
N $83B1 #UDGTABLE { #UDGARRAY2,14,4,2;$83B1-$83B2-1-16(*plane-f1) | #UDGARRAY2,14,4,2;$83C1-$83C2-1-16(*plane-f2) | #UDGARRAY2,14,4,2;$83D1-$83D2-1-16(*plane-f3) | #UDGARRAY2,14,4,2;$83E1-$83E2-1-16(*plane-f4) } TABLE#
$83B1,16,2 Frame 1
@ $83BB ofix=DEFB $92,$00
$83C1,16,2 Frame 2
@ $83CB ofix=DEFB $24,$80
$83D1,16,2 Frame 3
$83E1,16,2 Frame 4
@ $83F1 label=sprite_plane_banked
Expand Down
2 changes: 2 additions & 0 deletions river-raid.skool
Original file line number Diff line number Diff line change
Expand Up @@ -6320,6 +6320,7 @@ b$83B1 DEFB $10,$00 ; {Frame 1
$83B5 DEFB $38,$00 ;
$83B7 DEFB $7C,$00 ;
$83B9 DEFB $D6,$00 ;
@ofix=DEFB $92,$00
$83BB DEFB $82,$00 ;
$83BD DEFB $38,$00 ;
$83BF DEFB $54,$00 ; }
Expand All @@ -6328,6 +6329,7 @@ b$83B1 DEFB $10,$00 ; {Frame 1
$83C5 DEFB $0E,$00 ;
$83C7 DEFB $1F,$00 ;
$83C9 DEFB $35,$80 ;
@ofix=DEFB $24,$80
$83CB DEFB $04,$80 ;
$83CD DEFB $0E,$00 ;
$83CF DEFB $15,$00 ; }
Expand Down

0 comments on commit ec42e42

Please sign in to comment.