more work on battle_frontier_1.s

added a few window_templates and pointer tables
This commit is contained in:
itskobold 2017-11-08 09:51:20 +00:00
parent bb28d9ef40
commit 0e69dcd30c
1 changed files with 165 additions and 17 deletions

View File

@ -41,10 +41,30 @@ gUnknown_0860CE84:: @ 860CE84
.incbin "baserom.gba", 0x60ce84, 0x10
gUnknown_0860CE94:: @ 860CE94
.incbin "baserom.gba", 0x60ce94, 0x20
window_template 0x00, 0x00, 0x03, 0x08, 0x10, 0x0f, 0x0010
window_template 0x00, 0x16, 0x03, 0x08, 0x10, 0x0f, 0x0090
window_template 0x00, 0x08, 0x01, 0x0e, 0x02, 0x0f, 0x0110
window_template 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0000
gUnknown_0860CEB4:: @ 860CEB4
.incbin "baserom.gba", 0x60ceb4, 0x90
window_template 0x00, 0x02, 0x02, 0x1a, 0x02, 0x0f, 0x0001
window_template 0x00, 0x10, 0x05, 0x08, 0x02, 0x0f, 0x0035
window_template 0x00, 0x13, 0x07, 0x09, 0x03, 0x0f, 0x0045
window_template 0x00, 0x10, 0x0a, 0x08, 0x02, 0x0f, 0x0060
window_template 0x00, 0x02, 0x0c, 0x1a, 0x07, 0x0f, 0x0070
window_template 0x00, 0x05, 0x02, 0x17, 0x02, 0x0f, 0x0126
window_template 0x00, 0x02, 0x05, 0x08, 0x02, 0x0f, 0x0154
window_template 0x00, 0x14, 0x05, 0x08, 0x02, 0x0f, 0x0164
window_template 0x00, 0x02, 0x10, 0x1a, 0x02, 0x0f, 0x0174
window_template 0x01, 0x02, 0x02, 0x1a, 0x02, 0x0f, 0x0001
window_template 0x01, 0x10, 0x05, 0x08, 0x02, 0x0f, 0x0035
window_template 0x01, 0x13, 0x07, 0x09, 0x03, 0x0f, 0x0045
window_template 0x01, 0x10, 0x0a, 0x08, 0x02, 0x0f, 0x0060
window_template 0x01, 0x02, 0x0c, 0x1a, 0x07, 0x0f, 0x0070
window_template 0x01, 0x05, 0x02, 0x17, 0x02, 0x0f, 0x0126
window_template 0x01, 0x02, 0x05, 0x08, 0x02, 0x0f, 0x0154
window_template 0x01, 0x14, 0x05, 0x08, 0x02, 0x0f, 0x0164
window_template 0x01, 0x02, 0x10, 0x1a, 0x02, 0x0f, 0x0174
gUnknown_0860CF44:: @ 860CF44
.incbin "baserom.gba", 0x60cf44, 0xc
@ -68,43 +88,169 @@ gUnknown_0860D068:: @ 860D068
.incbin "baserom.gba", 0x60d068, 0x18
gUnknown_0860D080:: @ 860D080
.incbin "baserom.gba", 0x60d080, 0x10
@ replacing .incbin "baserom.gba", 0x0060d080, 0x10
.byte 0x00, 0x08, 0x0c, 0x04, 0x07, 0x0f, 0x0b, 0x03, 0x02, 0x0a, 0x0e, 0x06, 0x05, 0x0d, 0x09, 0x01
gUnknown_0860D090:: @ 860D090
.incbin "baserom.gba", 0x60d090, 0x5c
@ replacing .incbin "baserom.gba", 0x0060d090, 0x5c
.4byte sub_818E9CC
.4byte sub_818EA84
.4byte sub_818ED28
.4byte sub_818F9B0
.4byte sub_818F9E0
.4byte sub_818FA20
.4byte sub_81903B8
.4byte sub_81938A4
.4byte sub_81938E0
.4byte sub_8190298
.4byte sub_81902E4
.4byte sub_8193D40
.4byte sub_8193D7C
.4byte sub_81902F8
.4byte sub_819033C
.4byte sub_8194D48
.4byte sub_8194D68
.4byte sub_8194E44
.4byte sub_8194EB4
.4byte sub_8194EC0
.4byte sub_8194EF8
.4byte sub_8194F58
.4byte sub_818F02C
gUnknown_0860D0EC:: @ 860D0EC
.incbin "baserom.gba", 0x60d0ec, 0x10
@ replacing .incbin "baserom.gba", 0x0060d0ec, 0x10
.4byte 0x00000004, 0x00000008, 0x00100000, 0x00200000
gUnknown_0860D0FC:: @ 860D0FC
.incbin "baserom.gba", 0x60d0fc, 0x10
@ replacing .incbin "baserom.gba", 0x0060d0fc, 0x10
.4byte 0xfffffffb, 0xfffffff7, 0xffefffff, 0xffdfffff
gUnknown_0860D10C:: @ 860D10C
.incbin "baserom.gba", 0x60d10c, 0x40
@ replacing .incbin "baserom.gba", 0x0060d10c, 0x40
.byte 0x08, 0x00, 0x04, 0x08, 0x09, 0x0c, 0x08, 0x00, 0x0a, 0x08, 0x0c, 0x00, 0x0b, 0x04, 0x00, 0x08, 0x0c, 0x00, 0x04, 0x08, 0x0d, 0x0c, 0x08, 0x00, 0x0e, 0x08, 0x0c, 0x00, 0x0f, 0x04, 0x00, 0x08
.byte 0x00, 0x00, 0x04, 0x08, 0x01, 0x0c, 0x08, 0x00, 0x02, 0x08, 0x0c, 0x00, 0x03, 0x04, 0x00, 0x08, 0x04, 0x00, 0x04, 0x08, 0x05, 0x0c, 0x08, 0x00, 0x06, 0x08, 0x0c, 0x00, 0x07, 0x04, 0x00, 0x08
gUnknown_0860D14C:: @ 860D14C
.incbin "baserom.gba", 0x60d14c, 0x10
@ replacing .incbin "baserom.gba", 0x0060d14c, 0x10
.byte 0x00, 0x08, 0x04, 0x0c, 0x07, 0x0f, 0x03, 0x0b, 0x02, 0x0a, 0x06, 0x0e, 0x05, 0x0d, 0x01, 0x09
gUnknown_0860D15C:: @ 860D15C
.incbin "baserom.gba", 0x60d15c, 0x40
@ replacing .incbin "baserom.gba", 0x0060d15c, 0x40
.byte 0x00, 0x08, 0x0c, 0x0e, 0x00, 0x08, 0x0c, 0x0e, 0x01, 0x08, 0x0c, 0x0e, 0x01, 0x08, 0x0c, 0x0e, 0x02, 0x09, 0x0c, 0x0e, 0x02, 0x09, 0x0c, 0x0e, 0x03, 0x09, 0x0c, 0x0e, 0x03, 0x09, 0x0c, 0x0e
.byte 0x04, 0x0a, 0x0d, 0x0e, 0x04, 0x0a, 0x0d, 0x0e, 0x05, 0x0a, 0x0d, 0x0e, 0x05, 0x0a, 0x0d, 0x0e, 0x06, 0x0b, 0x0d, 0x0e, 0x06, 0x0b, 0x0d, 0x0e, 0x07, 0x0b, 0x0d, 0x0e, 0x07, 0x0b, 0x0d, 0x0e
gUnknown_0860D19C:: @ 860D19C
.incbin "baserom.gba", 0x60d19c, 0x4
@ replacing .incbin "baserom.gba", 0x0060d19c, 0x4
.byte 0x17, 0x1b, 0x1d, 0x1e
gUnknown_0860D1A0:: @ 860D1A0
.incbin "baserom.gba", 0x60d1a0, 0x20
@ replacing .incbin "baserom.gba", 0x0060d1a0, 0x20
.byte 0x10, 0x18, 0x1c, 0x1e, 0x11, 0x18, 0x1c, 0x1e, 0x12, 0x19, 0x1c, 0x1e, 0x13, 0x19, 0x1c, 0x1e, 0x14, 0x1a, 0x1d, 0x1e, 0x15, 0x1a, 0x1d, 0x1e, 0x16, 0x1b, 0x1d, 0x1e, 0x17, 0x1b, 0x1d, 0x1e
gUnknown_0860D1C0:: @ 860D1C0
.incbin "baserom.gba", 0x60d1c0, 0x10
@ replacing .incbin "baserom.gba", 0x0060d1c0, 0x10
.byte 0x00, 0x0f, 0x08, 0x07, 0x03, 0x0c, 0x0b, 0x04, 0x01, 0x0e, 0x09, 0x06, 0x02, 0x0d, 0x0a, 0x05
gUnknown_0860D1D0:: @ 860D1D0
.incbin "baserom.gba", 0x60d1d0, 0x44
@ replacing .incbin "baserom.gba", 0x0060d1d0, 0x44
.4byte 0x82c3188
.4byte 0x82c31aa
.4byte 0x82c31c0
.4byte 0x82c31dd
.4byte 0x82c31fa
.4byte 0x82c321b
.4byte 0x82c3240
.4byte 0x82c325c
.4byte 0x82c327c
.4byte 0x82c329b
.4byte 0x82c32b7
.4byte 0x82c32d9
.4byte 0x82c32fc
.4byte 0x82c3312
.4byte 0x82c3332
.4byte 0x82c3359
.4byte 0x82c3378
gUnknown_0860D214:: @ 860D214
.incbin "baserom.gba", 0x60d214, 0x80
@ replacing .incbin "baserom.gba", 0x0060d214, 0x80
.4byte 0x82c339b
.4byte 0x82c33c4
.4byte 0x82c33e6
.4byte 0x82c340b
.4byte 0x82c3428
.4byte 0x82c344c
.4byte 0x82c3471
.4byte 0x82c3492
.4byte 0x82c34b6
.4byte 0x82c34d2
.4byte 0x82c34f5
.4byte 0x82c3516
.4byte 0x82c353b
.4byte 0x82c3562
.4byte 0x82c3586
.4byte 0x82c35ad
.4byte 0x82c35d4
.4byte 0x82c35f4
.4byte 0x82c361c
.4byte 0x82c3640
.4byte 0x82c3659
.4byte 0x82c367e
.4byte 0x82c369d
.4byte 0x82c36c2
.4byte 0x82c36e3
.4byte 0x82c3704
.4byte 0x82c3727
.4byte 0x82c374c
.4byte 0x82c376f
.4byte 0x82c3789
.4byte 0x82c37a3
.4byte 0x82c37bd
gUnknown_0860D294:: @ 860D294
.incbin "baserom.gba", 0x60d294, 0xac
@ replacing .incbin "baserom.gba", 0x0060d294, 0xac
.4byte 0x82c37d7
.4byte 0x82c37f1
.4byte 0x82c380c
.4byte 0x82c3825
.4byte 0x82c3843
.4byte 0x82c3862
.4byte 0x82c3881
.4byte 0x82c389e
.4byte 0x82c38c0
.4byte 0x82c38e3
.4byte 0x82c3901
.4byte 0x82c3924
.4byte 0x82c3948
.4byte 0x82c3969
.4byte 0x82c398b
.4byte 0x82c39b2
.4byte 0x82c39c1
.4byte 0x82c39d4
.4byte 0x82c39e8
.4byte 0x82c39fa
.4byte 0x82c3a11
.4byte 0x82c3a29
.4byte 0x82c3a41
.4byte 0x82c3a5a
.4byte 0x82c3a71
.4byte 0x82c3a8d
.4byte 0x82c3aaa
.4byte 0x82c3ac7
.4byte 0x82c3ae2
.4byte 0x82c3b02
.4byte 0x82c3b23
.4byte 0x82c3b3f
.4byte 0x82c3b60
.4byte 0x82c3b82
.4byte 0x82c3ba1
.4byte 0x82c3bc1
.4byte 0x82c3be6
.4byte 0x82c3bf3
.4byte 0x82c3c04
.4byte 0x82c3c16
.4byte 0x82c3c26
.4byte 0x82c3c3b
.4byte 0x82c3c51
gUnknown_0860D340:: @ 860D340
@ replacing .incbin "baserom.gba", 0x0060d340, 0x3
@ -171,7 +317,8 @@ gUnknown_0860D3B4:: @ 860D3B4
.byte 0x00, 0x08, 0x0c, 0x04, 0x07, 0x0f, 0x0b, 0x03, 0x02, 0x0a, 0x0e, 0x06, 0x05, 0x0d, 0x09, 0x01
gUnknown_0860D3C4:: @ 860D3C4
.incbin "baserom.gba", 0x60d3c4, 0x2
@ replacing .incbin "baserom.gba", 0x0060d3c4, 0x2
.byte 0x00, 0x02
gUnknown_0860D3C6:: @ 860D3C6
@ replacing .incbin "baserom.gba", 0x0060d3c6, 0x2b
@ -183,7 +330,8 @@ gUnknown_0860D3F1:: @ 860D3F1
.byte 0x00
gUnknown_0860D3F2:: @ 860D3F2
.incbin "baserom.gba", 0x60d3f2, 0x1f
@ replacing .incbin "baserom.gba", 0x0060d3f2, 0x1f
.byte 0x00, 0x01, 0x70, 0x01, 0x00, 0x00, 0x70, 0x00, 0x30, 0x01, 0x40, 0x01, 0x30, 0x00, 0x40, 0x00, 0x10, 0x01, 0x60, 0x01, 0x10, 0x00, 0x60, 0x00, 0x20, 0x01, 0x50, 0x01, 0x20, 0x00, 0x50
gUnknown_0860D411:: @ 860D411
.incbin "baserom.gba", 0x60d411, 0x8ff //struct - byte 1 and 2 loaded seperately, 2 added to move 1 addr across