aboutsummaryrefslogtreecommitdiff
path: root/animations
diff options
context:
space:
mode:
Diffstat (limited to 'animations')
-rw-r--r--animations/laser.gbasm9
-rw-r--r--animations/rotatingball.gbasm9
-rw-r--r--animations/sparkles.gbasm9
3 files changed, 3 insertions, 24 deletions
diff --git a/animations/laser.gbasm b/animations/laser.gbasm
index e466652..c76b464 100644
--- a/animations/laser.gbasm
+++ b/animations/laser.gbasm
@@ -49,7 +49,7 @@ Laser_Animation:
LD A, (HL)
SUB $02
- JP C, =.End_animation
+ JP C, =End_animation
LD E, A
LD (HL), A
@@ -128,10 +128,3 @@ Laser_Animation:
POP HL
RET
-
- .End_animation:
- LD A, L
- AND $fc
- LD L, A
- LD (HL), $00
- RET
diff --git a/animations/rotatingball.gbasm b/animations/rotatingball.gbasm
index e7e4cbd..68f5b54 100644
--- a/animations/rotatingball.gbasm
+++ b/animations/rotatingball.gbasm
@@ -44,7 +44,7 @@ Rotating_Ball_Animation:
LD E, (HL)
DEC E
CP E
- JP C, =.End_animation
+ JP C, =End_animation
LD (HL), E
LD A, $30
@@ -87,10 +87,3 @@ Rotating_Ball_Animation:
POP HL
RET
-
- .End_animation:
- LD A, L
- AND $fc
- LD L, A
- LD (HL), $00
- RET
diff --git a/animations/sparkles.gbasm b/animations/sparkles.gbasm
index f91f45c..fe9c8ae 100644
--- a/animations/sparkles.gbasm
+++ b/animations/sparkles.gbasm
@@ -43,7 +43,7 @@ Sparkle_Animation:
DEC E
XOR A
CP E
- JP Z, =.End_animation
+ JP Z, =End_animation
LD (HL), E
LD A, $20
SUB E
@@ -97,10 +97,3 @@ Sparkle_Animation:
POP HL
RET
-
- .End_animation:
- LD A, L
- AND $fc
- LD L, A
- LD (HL), $00
- RET