diff --git a/gscats.2mg b/gscats.2mg index 7670d8b..cb73e5a 100644 Binary files a/gscats.2mg and b/gscats.2mg differ diff --git a/projectile.s b/projectile.s index 72a856f..3b37de4 100644 --- a/projectile.s +++ b/projectile.s @@ -39,7 +39,7 @@ GRAVITY = $ffff ; 8.8 fixed point projectileTypes: ; Spit .word 3 ; Damage - .word 9 ; Crater radius + .word 3 ; Crater radius .word 4 ; Frame 0 .word 5 ; Frame 1 .word 6 ; Frame 2 diff --git a/terrain.s b/terrain.s index 58e3df4..99e6c84 100644 --- a/terrain.s +++ b/terrain.s @@ -63,7 +63,7 @@ renderTerrainDone: ; ; PARAML0 = X pos of center in pixels from logical left terrain edge ; PARAML1 = Y pos of center in pixels from bottom terrain edge -; Y = Radius of circle, in pixels +; Y = Radius of circle, in pixels (minimum is 3) ; ; Trashes SCRATCHL craterTerrain: @@ -74,15 +74,19 @@ craterTerrain: sbc PARAML0 sty SCRATCHL ; Center width in bytes sbc SCRATCHL + sbc SCRATCHL and #$fffe ; Force even clc adc #terrainData sta PARAML0 + tya + asl + tay lda circleTable,y ; Look up circle data sta SCRATCHL - tya ; Iterate over diameter + tya ; Iterate over diameter words asl tay