summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2013-12-23 23:02:17 -0600
committerMarcus Huderle <huderlem@gmail.com>2013-12-23 23:02:17 -0600
commitc8ad87c4581ceee50ebd01168043e53fd69b548c (patch)
tree6c32ffc08e3fe57664b6833f2c9f781602df32c0 /main.asm
parenteadffc8ae3b7da4693cf136590bf24c313f686b6 (diff)
Fly overworld animation screen coordinates INCBIN.
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm42
1 files changed, 35 insertions, 7 deletions
diff --git a/main.asm b/main.asm
index da492e98..ea0d4fb7 100755
--- a/main.asm
+++ b/main.asm
@@ -103342,7 +103342,7 @@ _DoFlyOrTeleportAwayGraphics: ; 705ba (1c:45ba)
ld a, $c
ld [hli], a
ld [hl], $c
- ld de, Unknown_7064f ; $464f
+ ld de, FlyAnimationScreenCoords1 ; $464f
call Func_706ae
ld c, $28
call DelayFrames
@@ -103350,16 +103350,44 @@ _DoFlyOrTeleportAwayGraphics: ; 705ba (1c:45ba)
ld a, $b
ld [hli], a
ld [hl], $8
- ld de, Unknown_70667 ; $4667
+ ld de, FlyAnimationScreenCoords2 ; $4667
call Func_706ae
call GBFadeOut2
jp Func_70772
-Unknown_7064f: ; 7064f (1c:464f)
-INCBIN "baserom.gbc",$7064f,$70667 - $7064f
-
-Unknown_70667: ; 70667 (1c:4667)
-INCBIN "baserom.gbc",$70667,$7067d - $70667
+FlyAnimationScreenCoords1: ; 7064f (1c:464f)
+; y, x pairs
+; This is the sequence of screen coordinates used by the first part
+; of the Fly overworld animation.
+ db $3C, $48
+ db $3C, $50
+ db $3B, $58
+ db $3A, $60
+ db $39, $68
+ db $37, $70
+ db $37, $78
+ db $33, $80
+ db $30, $88
+ db $2D, $90
+ db $2A, $98
+ db $27, $A0
+
+FlyAnimationScreenCoords2: ; 70667 (1c:4667)
+; y, x pairs
+; This is the sequence of screen coordinates used by the second part
+; of the Fly overworld animation.
+ db $1A, $90
+ db $19, $80
+ db $17, $70
+ db $15, $60
+ db $12, $50
+ db $0F, $40
+ db $0C, $30
+ db $09, $20
+ db $05, $10
+ db $00, $00
+
+ db $F0, $00
Func_7067d: ; 7067d (1c:467d)
ld a, $ff