shithub: pokered

Download patch

ref: 44b424353d42a24627055aff38d2cffa2eb0f17c
parent: 4cc4b175fcf55fde232796ac5668b4aff5903022
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Thu Jul 16 18:40:48 EDT 2020

Factor our frame blocks' base coordinates

--- /dev/null
+++ b/data/battle_anims/base_coords.asm
@@ -1,0 +1,178 @@
+FrameBlockBaseCoords:
+	db $10, $68
+	db $10, $70
+	db $10, $78
+	db $10, $80
+	db $10, $88
+	db $10, $90
+	db $10, $98
+	db $18, $68
+	db $18, $70
+	db $18, $78
+	db $34, $28
+	db $18, $80
+	db $18, $88
+	db $18, $98
+	db $20, $68
+	db $20, $70
+	db $20, $78
+	db $20, $80
+	db $20, $88
+	db $20, $90
+	db $20, $98
+	db $28, $68
+	db $28, $70
+	db $28, $78
+	db $28, $80
+	db $28, $88
+	db $30, $68
+	db $30, $70
+	db $30, $78
+	db $30, $80
+	db $30, $90
+	db $30, $98
+	db $38, $68
+	db $38, $78
+	db $38, $80
+	db $38, $88
+	db $40, $68
+	db $40, $70
+	db $40, $78
+	db $40, $80
+	db $40, $88
+	db $40, $98
+	db $10, $60
+	db $18, $60
+	db $20, $60
+	db $28, $60
+	db $30, $60
+	db $40, $60
+	db $58, $28
+	db $43, $38
+	db $33, $48
+	db $20, $58
+	db $32, $78
+	db $58, $58
+	db $2C, $6C
+	db $34, $80
+	db $48, $70
+	db $42, $36
+	db $38, $44
+	db $40, $52
+	db $48, $60
+	db $3E, $6E
+	db $28, $7C
+	db $28, $8A
+	db $50, $3C
+	db $48, $50
+	db $40, $64
+	db $38, $38
+	db $50, $30
+	db $50, $38
+	db $50, $40
+	db $50, $48
+	db $50, $50
+	db $48, $58
+	db $50, $44
+	db $48, $48
+	db $48, $4C
+	db $40, $50
+	db $40, $54
+	db $38, $58
+	db $38, $5C
+	db $30, $64
+	db $48, $40
+	db $48, $39
+	db $24, $88
+	db $24, $70
+	db $1C, $70
+	db $1C, $88
+	db $34, $68
+	db $34, $88
+	db $68, $50
+	db $60, $50
+	db $68, $60
+	db $58, $50
+	db $60, $60
+	db $68, $40
+	db $40, $40
+	db $38, $40
+	db $0B, $60
+	db $44, $48
+	db $40, $14
+	db $48, $1C
+	db $50, $24
+	db $4C, $24
+	db $10, $62
+	db $12, $62
+	db $12, $60
+	db $20, $72
+	db $22, $72
+	db $22, $70
+	db $28, $62
+	db $50, $0A
+	db $52, $0A
+	db $38, $30
+	db $40, $48
+	db $30, $48
+	db $40, $30
+	db $30, $40
+	db $38, $48
+	db $40, $4A
+	db $48, $4B
+	db $50, $4C
+	db $58, $4D
+	db $60, $4D
+	db $68, $4D
+	db $38, $10
+	db $50, $10
+	db $38, $28
+	db $48, $18
+	db $40, $20
+	db $48, $20
+	db $40, $3C
+	db $38, $50
+	db $28, $64
+	db $1C, $90
+	db $24, $80
+	db $2C, $70
+	db $30, $38
+	db $10, $50
+	db $3C, $40
+	db $40, $58
+	db $30, $58
+	db $58, $48
+	db $50, $58
+	db $48, $68
+	db $40, $18
+	db $28, $58
+	db $40, $38
+	db $48, $38
+	db $08, $70
+	db $44, $1C
+	db $3C, $58
+	db $38, $60
+	db $08, $60
+	db $38, $70
+	db $38, $6C
+	db $38, $64
+	db $1C, $74
+	db $2E, $74
+	db $34, $50
+	db $2F, $60
+	db $31, $70
+	db $4C, $30
+	db $3B, $40
+	db $2D, $50
+	db $26, $60
+	db $2D, $70
+	db $28, $50
+	db $1E, $60
+	db $29, $70
+	db $16, $60
+	db $14, $58
+	db $12, $54
+	db $14, $50
+	db $18, $4C
+	db $1C, $48
+	db $48, $28
--- a/data/battle_anims/frame_blocks.asm
+++ b/data/battle_anims/frame_blocks.asm
@@ -1238,184 +1238,7 @@
 	db 1 ; #
 	db $00, $00, $4e, $00
 
-FrameBlockBaseCoords:
-	db $10, $68
-	db $10, $70
-	db $10, $78
-	db $10, $80
-	db $10, $88
-	db $10, $90
-	db $10, $98
-	db $18, $68
-	db $18, $70
-	db $18, $78
-	db $34, $28
-	db $18, $80
-	db $18, $88
-	db $18, $98
-	db $20, $68
-	db $20, $70
-	db $20, $78
-	db $20, $80
-	db $20, $88
-	db $20, $90
-	db $20, $98
-	db $28, $68
-	db $28, $70
-	db $28, $78
-	db $28, $80
-	db $28, $88
-	db $30, $68
-	db $30, $70
-	db $30, $78
-	db $30, $80
-	db $30, $90
-	db $30, $98
-	db $38, $68
-	db $38, $78
-	db $38, $80
-	db $38, $88
-	db $40, $68
-	db $40, $70
-	db $40, $78
-	db $40, $80
-	db $40, $88
-	db $40, $98
-	db $10, $60
-	db $18, $60
-	db $20, $60
-	db $28, $60
-	db $30, $60
-	db $40, $60
-	db $58, $28
-	db $43, $38
-	db $33, $48
-	db $20, $58
-	db $32, $78
-	db $58, $58
-	db $2C, $6C
-	db $34, $80
-	db $48, $70
-	db $42, $36
-	db $38, $44
-	db $40, $52
-	db $48, $60
-	db $3E, $6E
-	db $28, $7C
-	db $28, $8A
-	db $50, $3C
-	db $48, $50
-	db $40, $64
-	db $38, $38
-	db $50, $30
-	db $50, $38
-	db $50, $40
-	db $50, $48
-	db $50, $50
-	db $48, $58
-	db $50, $44
-	db $48, $48
-	db $48, $4C
-	db $40, $50
-	db $40, $54
-	db $38, $58
-	db $38, $5C
-	db $30, $64
-	db $48, $40
-	db $48, $39
-	db $24, $88
-	db $24, $70
-	db $1C, $70
-	db $1C, $88
-	db $34, $68
-	db $34, $88
-	db $68, $50
-	db $60, $50
-	db $68, $60
-	db $58, $50
-	db $60, $60
-	db $68, $40
-	db $40, $40
-	db $38, $40
-	db $0B, $60
-	db $44, $48
-	db $40, $14
-	db $48, $1C
-	db $50, $24
-	db $4C, $24
-	db $10, $62
-	db $12, $62
-	db $12, $60
-	db $20, $72
-	db $22, $72
-	db $22, $70
-	db $28, $62
-	db $50, $0A
-	db $52, $0A
-	db $38, $30
-	db $40, $48
-	db $30, $48
-	db $40, $30
-	db $30, $40
-	db $38, $48
-	db $40, $4A
-	db $48, $4B
-	db $50, $4C
-	db $58, $4D
-	db $60, $4D
-	db $68, $4D
-	db $38, $10
-	db $50, $10
-	db $38, $28
-	db $48, $18
-	db $40, $20
-	db $48, $20
-	db $40, $3C
-	db $38, $50
-	db $28, $64
-	db $1C, $90
-	db $24, $80
-	db $2C, $70
-	db $30, $38
-	db $10, $50
-	db $3C, $40
-	db $40, $58
-	db $30, $58
-	db $58, $48
-	db $50, $58
-	db $48, $68
-	db $40, $18
-	db $28, $58
-	db $40, $38
-	db $48, $38
-	db $08, $70
-	db $44, $1C
-	db $3C, $58
-	db $38, $60
-	db $08, $60
-	db $38, $70
-	db $38, $6C
-	db $38, $64
-	db $1C, $74
-	db $2E, $74
-	db $34, $50
-	db $2F, $60
-	db $31, $70
-	db $4C, $30
-	db $3B, $40
-	db $2D, $50
-	db $26, $60
-	db $2D, $70
-	db $28, $50
-	db $1E, $60
-	db $29, $70
-	db $16, $60
-	db $14, $58
-	db $12, $54
-	db $14, $50
-	db $18, $4C
-	db $1C, $48
-	db $48, $28
+INCLUDE "data/battle_anims/base_coords.asm"
 
 FrameBlock00:
 	db 0 ; #