shithub: pokered

Download patch

ref: 2a7f3eb23c23f29ebbe6ce37a64d08ebc472fc67
parent: c9dc151d196def131d4c4fc894fb7e7f8befc09e
author: Marcus Huderle <huderlem@gmail.com>
date: Tue Dec 24 06:40:04 EST 2013

Fly animation screen coordinates INCBIN.

--- a/main.asm
+++ b/main.asm
@@ -103262,13 +103262,27 @@
 	ld a, $c
 	ld [hli], a
 	ld [hl], $8
-	ld de, Unknown_70592 ; $4592
+	ld de, FlyAnimationEnterScreenCoords ; $4592
 	call Func_706ae
 	call LoadPlayerSpriteGraphics
 	jr .asm_70558
 
-Unknown_70592: ; 70592 (1c:4592)
-INCBIN "baserom.gbc",$70592,$705aa - $70592
+FlyAnimationEnterScreenCoords: ; 70592 (1c:4592)
+; y, x pairs
+; This is the sequence of screen coordinates used by the overworld
+; Fly animation when the player is entering a map.
+	db $05, $98
+	db $0F, $90
+	db $18, $88
+	db $20, $80
+	db $27, $78
+	db $2D, $70
+	db $32, $68
+	db $36, $60
+	db $39, $58
+	db $3B, $50
+	db $3C, $48
+	db $3C, $40 
 
 Func_705aa: ; 705aa (1c:45aa)
 	ld hl, wWhichTrade ; $cd3d