diff options
author | Astatin <[email protected]> | 2025-01-22 18:20:43 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-01-22 18:20:43 +0900 |
commit | 57326c9acf9cbb025d54093fb90fd70614659400 (patch) | |
tree | c8f396d56119fbfba1718e1891b9e9bd659f698f /animations/rotatingball.gbasm | |
parent | 02038990a93c0b4cf58269b5456327ea64b998b7 (diff) |
Add laser animation and change animation steps to decrement
Diffstat (limited to 'animations/rotatingball.gbasm')
-rw-r--r-- | animations/rotatingball.gbasm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/animations/rotatingball.gbasm b/animations/rotatingball.gbasm index cbc2776..2d89cbe 100644 --- a/animations/rotatingball.gbasm +++ b/animations/rotatingball.gbasm @@ -42,12 +42,14 @@ Rotating_Ball_Animation: LD C, A LD E, (HL) - INC E - LD A, $2f + DEC E CP E - JP C, =Rotating_Ball.End_animation + JP C, =.End_animation LD (HL), E + LD A, $30 + SUB E + LD E, A LD A, E AND $0f @@ -85,7 +87,7 @@ Rotating_Ball_Animation: POP HL RET - Rotating_Ball.End_animation: + .End_animation: LD A, L AND $fc LD L, A |