Requires that the number of 8px rows left for the WARNING: Runs even if the water if offscreen. Sub.w d1,d5 Get number of visible 8px rows for the water
ScrollWater If only the water is visible, branchĬmpi.w #28-1,d1 Is the number of 8px rows too large to be all on screen? Sub.w d3,d1 Get number of remaining 8px rows in clouds/mountainsīcs.s. Moveq #28,d5 Max number of 8px rows on screen BUG: Max number of 8px rows on screen should be 29
Moveq #(288/8)-1,d1 Size of clouds/mountains in 8px rows (d1 used for dbf)