summaryrefslogtreecommitdiff
path: root/engine/sprite_anims.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-17 19:14:55 -0400
committerPikalaxALT <pikalax1@gmail.com>2017-09-23 23:04:10 -0400
commit0e470bc785eedf96da20c364723ab59eb3fa5242 (patch)
tree0c618351aac442e1a2718e4fb2f734e3bcd3e8bd /engine/sprite_anims.asm
parente1c2876ff69986c0d537507f96d3c270b745273b (diff)
Fix section linking
Create linker script and float all sections
Diffstat (limited to 'engine/sprite_anims.asm')
-rwxr-xr-xengine/sprite_anims.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/sprite_anims.asm b/engine/sprite_anims.asm
index 0e25cafdf..132c0fb5a 100755
--- a/engine/sprite_anims.asm
+++ b/engine/sprite_anims.asm
@@ -9,7 +9,7 @@ DoAnimFrame: ; 8d24b
ld a, [hli]
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
; 8d25b
.Jumptable: ; 8d25b (23:525b)
@@ -134,7 +134,7 @@ DoAnimFrame: ; 8d24b
.four ; 8d302 (23:5302)
call .AnonymousJumptable
- jp [hl]
+ jp hl
; 8d306 (23:5306)
; Anonymous dw (see .AnonymousJumptable)
@@ -418,7 +418,7 @@ DoAnimFrame: ; 8d24b
.sixteen ; 8d483 (23:5483)
call .AnonymousJumptable
- jp [hl]
+ jp hl
; 8d487 (23:5487)
; Anonymous dw (see .AnonymousJumptable)
@@ -855,7 +855,7 @@ DoAnimFrame: ; 8d24b
ret
.AnonymousJumptable: ; 8d6c5 (23:56c5)
- ld hl, [sp+$0]
+ ld hl, sp+$0
ld e, [hl]
inc hl
ld d, [hl]