aboutsummaryrefslogtreecommitdiff
path: root/animations/laser.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-01-24 18:08:33 +0900
committerAstatin <[email protected]>2025-01-24 18:08:33 +0900
commit1a6621e5b1da42ee4b6b9132790ec744efc009c2 (patch)
tree89aeb457555655d2e4ed74a0fe32bfca74851a26 /animations/laser.gbasm
parent57326c9acf9cbb025d54093fb90fd70614659400 (diff)
Add laser enemy attack
Diffstat (limited to 'animations/laser.gbasm')
-rw-r--r--animations/laser.gbasm5
1 files changed, 3 insertions, 2 deletions
diff --git a/animations/laser.gbasm b/animations/laser.gbasm
index fba2df4..5c70eaf 100644
--- a/animations/laser.gbasm
+++ b/animations/laser.gbasm
@@ -100,8 +100,6 @@ Laser_Animation:
LD HL, $mem_oam_buffer
LD A, $mem_oam_buffer_low
LD L, A
- ADD $08
- LD $mem_oam_buffer_low, A
LD A, C
LD (HL+), A
@@ -113,6 +111,9 @@ Laser_Animation:
LD A, $00
LD (HL+), A
+ LD A, L
+ LD $mem_oam_buffer_low, A
+
POP HL
RET