summaryrefslogtreecommitdiff
path: root/tilesets/animations.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 /tilesets/animations.asm
parente1c2876ff69986c0d537507f96d3c270b745273b (diff)
Fix section linking
Create linker script and float all sections
Diffstat (limited to 'tilesets/animations.asm')
-rw-r--r--tilesets/animations.asm28
1 files changed, 14 insertions, 14 deletions
diff --git a/tilesets/animations.asm b/tilesets/animations.asm
index a3b0c4f06..76b3c65f8 100644
--- a/tilesets/animations.asm
+++ b/tilesets/animations.asm
@@ -32,7 +32,7 @@ _AnimateTileset:: ; fc000
ld h, [hl]
ld l, a
- jp [hl]
+ jp hl
; fc01b
Tileset00Anim: ; 0xfc01b
@@ -420,7 +420,7 @@ ScrollTileDown: ; fc36a
AnimateFountain: ; fc387
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
ld hl, .frames
@@ -462,7 +462,7 @@ AnimateWaterTile: ; fc402
; Draw a water tile for the current frame in VRAM tile at de.
; Save sp in bc (see WriteTile).
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -497,7 +497,7 @@ WaterTileFrames: ; fc41c
ForestTreeLeftAnimation: ; fc45c
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -539,7 +539,7 @@ ForestTreeRightFrames: ; fc4a4
ForestTreeRightAnimation: ; fc4c4
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -574,7 +574,7 @@ ForestTreeRightAnimation: ; fc4c4
ForestTreeLeftAnimation2: ; fc4f2
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -606,7 +606,7 @@ ForestTreeLeftAnimation2: ; fc4f2
ForestTreeRightAnimation2: ; fc51c
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -671,7 +671,7 @@ AnimateFlowerTile: ; fc56d
; No parameters.
; Save sp in bc (see WriteTile).
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -707,7 +707,7 @@ FlowerTileFrames: ; fc58c
SafariFountainAnim1: ; fc5cc
; Splash in the bottom-right corner of the fountain.
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
ld a, [TileAnimationTimer]
@@ -729,7 +729,7 @@ SafariFountainAnim1: ; fc5cc
SafariFountainAnim2: ; fc5eb
; Splash in the top-left corner of the fountain.
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
ld a, [TileAnimationTimer]
@@ -760,7 +760,7 @@ AnimateSproutPillarTile: ; fc645
; Destination (VRAM)
; Address of the first tile in the frame array
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -820,7 +820,7 @@ AnimateWhirlpoolTile: ; fc678
; Only does one of 4 tiles at a time.
; Save sp in bc (see WriteTile).
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -860,7 +860,7 @@ WriteTileFromBuffer: ; fc696
; Write tiledata at wTileAnimBuffer to de.
; wTileAnimBuffer is loaded to sp for WriteTile.
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l
@@ -877,7 +877,7 @@ WriteTileToBuffer: ; fc6a2
; Write tiledata de to wTileAnimBuffer.
; de is loaded to sp for WriteTile.
- ld hl, [sp+0]
+ ld hl, sp+0
ld b, h
ld c, l