(mu) progress on data

This commit is contained in:
Stan H 2018-09-10 22:40:13 +02:00
parent 9303dba77b
commit 7eebbea92a
6 changed files with 505 additions and 433 deletions

View File

@ -2,368 +2,4 @@
.global gUnknown_081609BC
gUnknown_081609BC: @ 081609BC
.incbin "baserom.gba", 0x1609BC, 0xA4D58
.global gUnknown_08205714
gUnknown_08205714: @ 0x08205714
.incbin "baserom.gba", 0x205714, 0x88
.global gUnknown_0820579C
gUnknown_0820579C: @ 0x0820579C
.incbin "baserom.gba", 0x20579C, 0x88
.global gUnknown_08205824
gUnknown_08205824: @ 0x08205824
.incbin "baserom.gba", 0x205824, 0xF
.global gUnknown_08205833
gUnknown_08205833: @ 0x08205833
.incbin "baserom.gba", 0x205833, 0x13
.global gUnknown_08205846
gUnknown_08205846: @ 0x08205846
.incbin "baserom.gba", 0x205846, 0xF
.global gUnknown_08205855
gUnknown_08205855: @ 0x08205855
.incbin "baserom.gba", 0x205855, 0x2F
.global gUnknown_08205884
gUnknown_08205884: @ 0x08205884
.incbin "baserom.gba", 0x205884, 0x8
.global gUnknown_0820588C
gUnknown_0820588C: @ 0x0820588C
.incbin "baserom.gba", 0x20588C, 0x2
.global gUnknown_0820588E
gUnknown_0820588E: @ 0x0820588E
.incbin "baserom.gba", 0x20588E, 0x1A
.global gUnknown_082058A8
gUnknown_082058A8: @ 0x082058A8
.incbin "baserom.gba", 0x2058A8, 0x8
.global gUnknown_082058B0
gUnknown_082058B0: @ 0x082058B0
.incbin "baserom.gba", 0x2058B0, 0x4
.global gUnknown_082058B4
gUnknown_082058B4: @ 0x082058B4
.incbin "baserom.gba", 0x2058B4, 0x20
.global gUnknown_082058D4
gUnknown_082058D4: @ 0x082058D4
.incbin "baserom.gba", 0x2058D4, 0x8
.global gUnknown_082058DC
gUnknown_082058DC: @ 0x082058DC
.incbin "baserom.gba", 0x2058DC, 0x2
.global gUnknown_082058DE
gUnknown_082058DE: @ 0x082058DE
.incbin "baserom.gba", 0x2058DE, 0x4
.global gUnknown_082058E2
gUnknown_082058E2: @ 0x082058E2
.incbin "baserom.gba", 0x2058E2, 0x2
.global gUnknown_082058E4
gUnknown_082058E4: @ 0x082058E4
.incbin "baserom.gba", 0x2058E4, 0xC
.global gUnknown_082058F0
gUnknown_082058F0: @ 0x082058F0
.incbin "baserom.gba", 0x2058F0, 0x4
.global gUnknown_082058F4
gUnknown_082058F4: @ 0x082058F4
.incbin "baserom.gba", 0x2058F4, 0x4
.global gUnknown_082058F8
gUnknown_082058F8: @ 0x082058F8
.incbin "baserom.gba", 0x2058F8, 0x20
.global gUnknown_08205918
gUnknown_08205918: @ 0x08205918
.incbin "baserom.gba", 0x205918, 0x20
.global gUnknown_08205938
gUnknown_08205938: @ 0x08205938
.incbin "baserom.gba", 0x205938, 0x2C
.global gUnknown_08205964
gUnknown_08205964: @ 0x08205964
.incbin "baserom.gba", 0x205964, 0xC0
.global gUnknown_08205A24
gUnknown_08205A24: @ 0x08205A24
.incbin "baserom.gba", 0x205A24, 0x100
.global gUnknown_08205B24
gUnknown_08205B24: @ 0x08205B24
.incbin "baserom.gba", 0x205B24, 0x10
.global gUnknown_08205B34
gUnknown_08205B34: @ 0x08205B34
.incbin "baserom.gba", 0x205B34, 0x6
.global gUnknown_08205B3A
gUnknown_08205B3A: @ 0x08205B3A
.incbin "baserom.gba", 0x205B3A, 0x18
.global gUnknown_08205B52
gUnknown_08205B52: @ 0x08205B52
.incbin "baserom.gba", 0x205B52, 0x32
.global gUnknown_08205B84
gUnknown_08205B84: @ 0x08205B84
.incbin "baserom.gba", 0x205B84, 0x10
.global gUnknown_08205B94
gUnknown_08205B94: @ 0x08205B94
.incbin "baserom.gba", 0x205B94, 0x1C
.global gUnknown_08205BB0
gUnknown_08205BB0: @ 0x08205BB0
.incbin "baserom.gba", 0x205BB0, 0x10
.global gUnknown_08205BC0
gUnknown_08205BC0: @ 0x08205BC0
.incbin "baserom.gba", 0x205BC0, 0x3C
.global gUnknown_08205BFC
gUnknown_08205BFC: @ 0x08205BFC
.incbin "baserom.gba", 0x205BFC, 0x18
.global gUnknown_08205C14
gUnknown_08205C14: @ 0x08205C14
.incbin "baserom.gba", 0x205C14, 0x20
.global gUnknown_08205C34
gUnknown_08205C34: @ 0x08205C34
.incbin "baserom.gba", 0x205C34, 0x10
.global gUnknown_08205C44
gUnknown_08205C44: @ 0x08205C44
.incbin "baserom.gba", 0x205C44, 0x20
.global gUnknown_08205C64
gUnknown_08205C64: @ 0x08205C64
.incbin "baserom.gba", 0x205C64, 0xC
.global gUnknown_08205C70
gUnknown_08205C70: @ 0x08205C70
.incbin "baserom.gba", 0x205C70, 0x20
.global gUnknown_08205C90
gUnknown_08205C90: @ 0x08205C90
.incbin "baserom.gba", 0x205C90, 0xC
.global gUnknown_08205C9C
gUnknown_08205C9C: @ 0x08205C9C
.incbin "baserom.gba", 0x205C9C, 0x8
.global gUnknown_08205CA4
gUnknown_08205CA4: @ 0x08205CA4
.incbin "baserom.gba", 0x205CA4, 0x8
.global gUnknown_08205CAC
gUnknown_08205CAC: @ 0x08205CAC
.incbin "baserom.gba", 0x205CAC, 0x8
.global gUnknown_08205CB4
gUnknown_08205CB4: @ 0x08205CB4
.incbin "baserom.gba", 0x205CB4, 0xC8
.global gUnknown_08205D7C
gUnknown_08205D7C: @ 0x08205D7C
.incbin "baserom.gba", 0x205D7C, 0x8
.global gUnknown_08205D84
gUnknown_08205D84: @ 0x08205D84
.incbin "baserom.gba", 0x205D84, 0x3
.global gUnknown_08205D87
gUnknown_08205D87: @ 0x08205D87
.incbin "baserom.gba", 0x205D87, 0x10
.global gUnknown_08205D97
gUnknown_08205D97: @ 0x08205D97
.incbin "baserom.gba", 0x205D97, 0x21
.global gUnknown_08205DB8
gUnknown_08205DB8: @ 0x08205DB8
.incbin "baserom.gba", 0x205DB8, 0x31
.global gUnknown_08205DE9
gUnknown_08205DE9: @ 0x08205DE9
.incbin "baserom.gba", 0x205DE9, 0x2F
.global gUnknown_08205E18
gUnknown_08205E18: @ 0x08205E18
.incbin "baserom.gba", 0x205E18, 0x10
.global gUnknown_08205E28
gUnknown_08205E28: @ 0x08205E28
.incbin "baserom.gba", 0x205E28, 0x28
.global gUnknown_08205E50
gUnknown_08205E50: @ 0x08205E50
.incbin "baserom.gba", 0x205E50, 0x44
.global gUnknown_08205E94
gUnknown_08205E94: @ 0x08205E94
.incbin "baserom.gba", 0x205E94, 0x3C
.global gUnknown_08205ED0
gUnknown_08205ED0: @ 0x08205ED0
.incbin "baserom.gba", 0x205ED0, 0x4
.global gUnknown_08205ED4
gUnknown_08205ED4: @ 0x08205ED4
.incbin "baserom.gba", 0x205ED4, 0x8
.global gUnknown_08205EDC
gUnknown_08205EDC: @ 0x08205EDC
.incbin "baserom.gba", 0x205EDC, 0x40
.global gUnknown_08205F1C
gUnknown_08205F1C: @ 0x08205F1C
.incbin "baserom.gba", 0x205F1C, 0x4
.global gUnknown_08205F20
gUnknown_08205F20: @ 0x08205F20
.incbin "baserom.gba", 0x205F20, 0x4
.global gUnknown_08205F24
gUnknown_08205F24: @ 0x08205F24
.incbin "baserom.gba", 0x205F24, 0x4
.global gUnknown_08205F28
gUnknown_08205F28: @ 0x08205F28
.incbin "baserom.gba", 0x205F28, 0x54
.global gUnknown_08205F7C
gUnknown_08205F7C: @ 0x08205F7C
.incbin "baserom.gba", 0x205F7C, 0x24
.global gUnknown_08205FA0
gUnknown_08205FA0: @ 0x08205FA0
.incbin "baserom.gba", 0x205FA0, 0x110
.global gUnknown_082060B0
gUnknown_082060B0: @ 0x082060B0
.incbin "baserom.gba", 0x2060B0, 0x3A0
.global gUnknown_08206450
gUnknown_08206450: @ 0x08206450
.incbin "baserom.gba", 0x206450, 0x48
.global gUnknown_08206498
gUnknown_08206498: @ 0x08206498
.incbin "baserom.gba", 0x206498, 0x1DC
.global gUnknown_08206674
gUnknown_08206674: @ 0x08206674
.incbin "baserom.gba", 0x206674, 0x1F4
.global gUnknown_08206868
gUnknown_08206868: @ 0x08206868
.incbin "baserom.gba", 0x206868, 0x8C
.global gUnknown_082068F4
gUnknown_082068F4: @ 0x082068F4
.incbin "baserom.gba", 0x2068F4, 0x8
.global gUnknown_082068FC
gUnknown_082068FC: @ 0x082068FC
.incbin "baserom.gba", 0x2068FC, 0x8
.global gUnknown_08206904
gUnknown_08206904: @ 0x08206904
.incbin "baserom.gba", 0x206904, 0x44
.global gUnknown_08206948
gUnknown_08206948: @ 0x08206948
.incbin "baserom.gba", 0x206948, 0x9
.global gUnknown_08206951
gUnknown_08206951: @ 0x08206951
.incbin "baserom.gba", 0x206951, 0x3
.global gUnknown_08206954
gUnknown_08206954: @ 0x08206954
.incbin "baserom.gba", 0x206954, 0x84
.global gUnknown_082069D8
gUnknown_082069D8: @ 0x082069D8
.incbin "baserom.gba", 0x2069D8, 0xB
.global gUnknown_082069E3
gUnknown_082069E3: @ 0x082069E3
.incbin "baserom.gba", 0x2069E3, 0xB
.global gUnknown_082069EE
gUnknown_082069EE: @ 0x082069EE
.incbin "baserom.gba", 0x2069EE, 0x5A
.global gUnknown_08206A48
gUnknown_08206A48: @ 0x08206A48
.incbin "baserom.gba", 0x206A48, 0x9
.global gUnknown_08206A51
gUnknown_08206A51: @ 0x08206A51
.incbin "baserom.gba", 0x206A51, 0x5A
.global gUnknown_08206AAB
gUnknown_08206AAB: @ 0x08206AAB
.incbin "baserom.gba", 0x206AAB, 0x45
.global gUnknown_08206AF0
gUnknown_08206AF0: @ 0x08206AF0
.incbin "baserom.gba", 0x206AF0, 0x80
.global gUnknown_08206B70
gUnknown_08206B70: @ 0x08206B70
.incbin "baserom.gba", 0x206B70, 0x2B4
.global gUnknown_08206E24
gUnknown_08206E24: @ 0x08206E24
.incbin "baserom.gba", 0x206E24, 0x190
.global gUnknown_08206FB4
gUnknown_08206FB4: @ 0x08206FB4
.incbin "baserom.gba", 0x206FB4, 0x28
.global gUnknown_08206FDC
gUnknown_08206FDC: @ 0x08206FDC
.incbin "baserom.gba", 0x206FDC, 0x8
.global gUnknown_08206FE4
gUnknown_08206FE4: @ 0x08206FE4
.incbin "baserom.gba", 0x206FE4, 0x60
.global gUnknown_08207044
gUnknown_08207044: @ 0x08207044
.incbin "baserom.gba", 0x207044, 0x38
.global gUnknown_0820707C
gUnknown_0820707C: @ 0x0820707C
.incbin "baserom.gba", 0x20707C, 0xC
.global gUnknown_08207088
gUnknown_08207088: @ 0x08207088
.incbin "baserom.gba", 0x207088, 0xC
.global gUnknown_08207094
gUnknown_08207094: @ 0x08207094
.incbin "baserom.gba", 0x207094, 0xC
.global gUnknown_082070A0
gUnknown_082070A0: @ 0x082070A0
.incbin "baserom.gba", 0x2070A0, 0xC
.global gUnknown_082070AC
gUnknown_082070AC: @ 0x082070AC
.incbin "baserom.gba", 0x2070AC, 0xE4
.incbin "baserom.gba", 0x1609BC, (0x205700 - 0x1609BC)

365
data/const_data_205714.s Normal file
View File

@ -0,0 +1,365 @@
.section .rodata
.global gUnknown_08205714
gUnknown_08205714: @ 0x08205714
.incbin "baserom.gba", 0x205714, 0x88
.global gUnknown_0820579C
gUnknown_0820579C: @ 0x0820579C
.incbin "baserom.gba", 0x20579C, 0x88
.global gUnknown_08205824
gUnknown_08205824: @ 0x08205824
.incbin "baserom.gba", 0x205824, 0xF
.global gUnknown_08205833
gUnknown_08205833: @ 0x08205833
.incbin "baserom.gba", 0x205833, 0x13
.global gUnknown_08205846
gUnknown_08205846: @ 0x08205846
.incbin "baserom.gba", 0x205846, 0xF
.global gUnknown_08205855
gUnknown_08205855: @ 0x08205855
.incbin "baserom.gba", 0x205855, 0x2F
.global gUnknown_08205884
gUnknown_08205884: @ 0x08205884
.incbin "baserom.gba", 0x205884, 0x8
.global gUnknown_0820588C
gUnknown_0820588C: @ 0x0820588C
.incbin "baserom.gba", 0x20588C, 0x2
.global gUnknown_0820588E
gUnknown_0820588E: @ 0x0820588E
.incbin "baserom.gba", 0x20588E, 0x1A
.global gUnknown_082058A8
gUnknown_082058A8: @ 0x082058A8
.incbin "baserom.gba", 0x2058A8, 0x8
.global gUnknown_082058B0
gUnknown_082058B0: @ 0x082058B0
.incbin "baserom.gba", 0x2058B0, 0x4
.global gUnknown_082058B4
gUnknown_082058B4: @ 0x082058B4
.incbin "baserom.gba", 0x2058B4, 0x20
.global gUnknown_082058D4
gUnknown_082058D4: @ 0x082058D4
.incbin "baserom.gba", 0x2058D4, 0x8
.global gUnknown_082058DC
gUnknown_082058DC: @ 0x082058DC
.incbin "baserom.gba", 0x2058DC, 0x2
.global gUnknown_082058DE
gUnknown_082058DE: @ 0x082058DE
.incbin "baserom.gba", 0x2058DE, 0x4
.global gUnknown_082058E2
gUnknown_082058E2: @ 0x082058E2
.incbin "baserom.gba", 0x2058E2, 0x2
.global gUnknown_082058E4
gUnknown_082058E4: @ 0x082058E4
.incbin "baserom.gba", 0x2058E4, 0xC
.global gUnknown_082058F0
gUnknown_082058F0: @ 0x082058F0
.incbin "baserom.gba", 0x2058F0, 0x4
.global gUnknown_082058F4
gUnknown_082058F4: @ 0x082058F4
.incbin "baserom.gba", 0x2058F4, 0x4
.global gUnknown_082058F8
gUnknown_082058F8: @ 0x082058F8
.incbin "baserom.gba", 0x2058F8, 0x20
.global gUnknown_08205918
gUnknown_08205918: @ 0x08205918
.incbin "baserom.gba", 0x205918, 0x20
.global gUnknown_08205938
gUnknown_08205938: @ 0x08205938
.incbin "baserom.gba", 0x205938, 0x2C
.global gUnknown_08205964
gUnknown_08205964: @ 0x08205964
.incbin "baserom.gba", 0x205964, 0xC0
.global gUnknown_08205A24
gUnknown_08205A24: @ 0x08205A24
.incbin "baserom.gba", 0x205A24, 0x100
.global gUnknown_08205B24
gUnknown_08205B24: @ 0x08205B24
.incbin "baserom.gba", 0x205B24, 0x10
.global gUnknown_08205B34
gUnknown_08205B34: @ 0x08205B34
.incbin "baserom.gba", 0x205B34, 0x6
.global gUnknown_08205B3A
gUnknown_08205B3A: @ 0x08205B3A
.incbin "baserom.gba", 0x205B3A, 0x18
.global gUnknown_08205B52
gUnknown_08205B52: @ 0x08205B52
.incbin "baserom.gba", 0x205B52, 0x32
.global gUnknown_08205B84
gUnknown_08205B84: @ 0x08205B84
.incbin "baserom.gba", 0x205B84, 0x10
.global gUnknown_08205B94
gUnknown_08205B94: @ 0x08205B94
.incbin "baserom.gba", 0x205B94, 0x1C
.global gUnknown_08205BB0
gUnknown_08205BB0: @ 0x08205BB0
.incbin "baserom.gba", 0x205BB0, 0x10
.global gUnknown_08205BC0
gUnknown_08205BC0: @ 0x08205BC0
.incbin "baserom.gba", 0x205BC0, 0x3C
.global gUnknown_08205BFC
gUnknown_08205BFC: @ 0x08205BFC
.incbin "baserom.gba", 0x205BFC, 0x18
.global gUnknown_08205C14
gUnknown_08205C14: @ 0x08205C14
.incbin "baserom.gba", 0x205C14, 0x20
.global gUnknown_08205C34
gUnknown_08205C34: @ 0x08205C34
.incbin "baserom.gba", 0x205C34, 0x10
.global gUnknown_08205C44
gUnknown_08205C44: @ 0x08205C44
.incbin "baserom.gba", 0x205C44, 0x20
.global gUnknown_08205C64
gUnknown_08205C64: @ 0x08205C64
.incbin "baserom.gba", 0x205C64, 0xC
.global gUnknown_08205C70
gUnknown_08205C70: @ 0x08205C70
.incbin "baserom.gba", 0x205C70, 0x20
.global gUnknown_08205C90
gUnknown_08205C90: @ 0x08205C90
.incbin "baserom.gba", 0x205C90, 0xC
.global gUnknown_08205C9C
gUnknown_08205C9C: @ 0x08205C9C
.incbin "baserom.gba", 0x205C9C, 0x8
.global gUnknown_08205CA4
gUnknown_08205CA4: @ 0x08205CA4
.incbin "baserom.gba", 0x205CA4, 0x8
.global gUnknown_08205CAC
gUnknown_08205CAC: @ 0x08205CAC
.incbin "baserom.gba", 0x205CAC, 0x8
.global gUnknown_08205CB4
gUnknown_08205CB4: @ 0x08205CB4
.incbin "baserom.gba", 0x205CB4, 0xC8
.global gUnknown_08205D7C
gUnknown_08205D7C: @ 0x08205D7C
.incbin "baserom.gba", 0x205D7C, 0x8
.global gUnknown_08205D84
gUnknown_08205D84: @ 0x08205D84
.incbin "baserom.gba", 0x205D84, 0x3
.global gUnknown_08205D87
gUnknown_08205D87: @ 0x08205D87
.incbin "baserom.gba", 0x205D87, 0x10
.global gUnknown_08205D97
gUnknown_08205D97: @ 0x08205D97
.incbin "baserom.gba", 0x205D97, 0x21
.global gUnknown_08205DB8
gUnknown_08205DB8: @ 0x08205DB8
.incbin "baserom.gba", 0x205DB8, 0x31
.global gUnknown_08205DE9
gUnknown_08205DE9: @ 0x08205DE9
.incbin "baserom.gba", 0x205DE9, 0x2F
.global gUnknown_08205E18
gUnknown_08205E18: @ 0x08205E18
.incbin "baserom.gba", 0x205E18, 0x10
.global gUnknown_08205E28
gUnknown_08205E28: @ 0x08205E28
.incbin "baserom.gba", 0x205E28, 0x28
.global gUnknown_08205E50
gUnknown_08205E50: @ 0x08205E50
.incbin "baserom.gba", 0x205E50, 0x44
.global gUnknown_08205E94
gUnknown_08205E94: @ 0x08205E94
.incbin "baserom.gba", 0x205E94, 0x3C
.global gUnknown_08205ED0
gUnknown_08205ED0: @ 0x08205ED0
.incbin "baserom.gba", 0x205ED0, 0x4
.global gUnknown_08205ED4
gUnknown_08205ED4: @ 0x08205ED4
.incbin "baserom.gba", 0x205ED4, 0x8
.global gUnknown_08205EDC
gUnknown_08205EDC: @ 0x08205EDC
.incbin "baserom.gba", 0x205EDC, 0x40
.global gUnknown_08205F1C
gUnknown_08205F1C: @ 0x08205F1C
.incbin "baserom.gba", 0x205F1C, 0x4
.global gUnknown_08205F20
gUnknown_08205F20: @ 0x08205F20
.incbin "baserom.gba", 0x205F20, 0x4
.global gUnknown_08205F24
gUnknown_08205F24: @ 0x08205F24
.incbin "baserom.gba", 0x205F24, 0x4
.global gUnknown_08205F28
gUnknown_08205F28: @ 0x08205F28
.incbin "baserom.gba", 0x205F28, 0x54
.global gUnknown_08205F7C
gUnknown_08205F7C: @ 0x08205F7C
.incbin "baserom.gba", 0x205F7C, 0x24
.global gUnknown_08205FA0
gUnknown_08205FA0: @ 0x08205FA0
.incbin "baserom.gba", 0x205FA0, 0x110
.global gUnknown_082060B0
gUnknown_082060B0: @ 0x082060B0
.incbin "baserom.gba", 0x2060B0, 0x3A0
.global gUnknown_08206450
gUnknown_08206450: @ 0x08206450
.incbin "baserom.gba", 0x206450, 0x48
.global gUnknown_08206498
gUnknown_08206498: @ 0x08206498
.incbin "baserom.gba", 0x206498, 0x1DC
.global gUnknown_08206674
gUnknown_08206674: @ 0x08206674
.incbin "baserom.gba", 0x206674, 0x1F4
.global gUnknown_08206868
gUnknown_08206868: @ 0x08206868
.incbin "baserom.gba", 0x206868, 0x8C
.global gUnknown_082068F4
gUnknown_082068F4: @ 0x082068F4
.incbin "baserom.gba", 0x2068F4, 0x8
.global gUnknown_082068FC
gUnknown_082068FC: @ 0x082068FC
.incbin "baserom.gba", 0x2068FC, 0x8
.global gUnknown_08206904
gUnknown_08206904: @ 0x08206904
.incbin "baserom.gba", 0x206904, 0x44
.global gUnknown_08206948
gUnknown_08206948: @ 0x08206948
.incbin "baserom.gba", 0x206948, 0x9
.global gUnknown_08206951
gUnknown_08206951: @ 0x08206951
.incbin "baserom.gba", 0x206951, 0x3
.global gUnknown_08206954
gUnknown_08206954: @ 0x08206954
.incbin "baserom.gba", 0x206954, 0x84
.global gUnknown_082069D8
gUnknown_082069D8: @ 0x082069D8
.incbin "baserom.gba", 0x2069D8, 0xB
.global gUnknown_082069E3
gUnknown_082069E3: @ 0x082069E3
.incbin "baserom.gba", 0x2069E3, 0xB
.global gUnknown_082069EE
gUnknown_082069EE: @ 0x082069EE
.incbin "baserom.gba", 0x2069EE, 0x5A
.global gUnknown_08206A48
gUnknown_08206A48: @ 0x08206A48
.incbin "baserom.gba", 0x206A48, 0x9
.global gUnknown_08206A51
gUnknown_08206A51: @ 0x08206A51
.incbin "baserom.gba", 0x206A51, 0x5A
.global gUnknown_08206AAB
gUnknown_08206AAB: @ 0x08206AAB
.incbin "baserom.gba", 0x206AAB, 0x45
.global gUnknown_08206AF0
gUnknown_08206AF0: @ 0x08206AF0
.incbin "baserom.gba", 0x206AF0, 0x80
.global gUnknown_08206B70
gUnknown_08206B70: @ 0x08206B70
.incbin "baserom.gba", 0x206B70, 0x2B4
.global gUnknown_08206E24
gUnknown_08206E24: @ 0x08206E24
.incbin "baserom.gba", 0x206E24, 0x190
.global gUnknown_08206FB4
gUnknown_08206FB4: @ 0x08206FB4
.incbin "baserom.gba", 0x206FB4, 0x28
.global gUnknown_08206FDC
gUnknown_08206FDC: @ 0x08206FDC
.incbin "baserom.gba", 0x206FDC, 0x8
.global gUnknown_08206FE4
gUnknown_08206FE4: @ 0x08206FE4
.incbin "baserom.gba", 0x206FE4, 0x60
.global gUnknown_08207044
gUnknown_08207044: @ 0x08207044
.incbin "baserom.gba", 0x207044, 0x38
.global gUnknown_0820707C
gUnknown_0820707C: @ 0x0820707C
.incbin "baserom.gba", 0x20707C, 0xC
.global gUnknown_08207088
gUnknown_08207088: @ 0x08207088
.incbin "baserom.gba", 0x207088, 0xC
.global gUnknown_08207094
gUnknown_08207094: @ 0x08207094
.incbin "baserom.gba", 0x207094, 0xC
.global gUnknown_082070A0
gUnknown_082070A0: @ 0x082070A0
.incbin "baserom.gba", 0x2070A0, 0xC
.global gUnknown_082070AC
gUnknown_082070AC: @ 0x082070AC
.incbin "baserom.gba", 0x2070AC, 0xE4

View File

@ -7508,55 +7508,3 @@ gUnknown_089A2BCE: @ 0x089A2BCE
.global gUnknown_089A2C02
gUnknown_089A2C02: @ 0x089A2C02
.incbin "baserom.gba", 0x9A2C02, 0x26
.global gUnknown_089A2C28
gUnknown_089A2C28: @ 0x089A2C28
.incbin "baserom.gba", 0x9A2C28, 0x20
.global gUnknown_089A2C48
gUnknown_089A2C48: @ 0x089A2C48
.incbin "baserom.gba", 0x9A2C48, 0x20
.global gUnknown_089A2C68
gUnknown_089A2C68: @ 0x089A2C68
.incbin "baserom.gba", 0x9A2C68, 0x8
.global gUnknown_089A2C70
gUnknown_089A2C70: @ 0x089A2C70
.incbin "baserom.gba", 0x9A2C70, 0x8
.global gUnknown_089A2C78
gUnknown_089A2C78: @ 0x089A2C78
.incbin "baserom.gba", 0x9A2C78, 0x2
.global gUnknown_089A2C7A
gUnknown_089A2C7A: @ 0x089A2C7A
.incbin "baserom.gba", 0x9A2C7A, 0x6
.global gUnknown_089A2C80
gUnknown_089A2C80: @ 0x089A2C80
.incbin "baserom.gba", 0x9A2C80, 0x18
.global gUnknown_089A2C98
gUnknown_089A2C98: @ 0x089A2C98
.incbin "baserom.gba", 0x9A2C98, 0x10
.global gUnknown_089A2CA8
gUnknown_089A2CA8: @ 0x089A2CA8
.incbin "baserom.gba", 0x9A2CA8, 0x40
.global gUnknown_089A2CE8
gUnknown_089A2CE8: @ 0x089A2CE8
.incbin "baserom.gba", 0x9A2CE8, 0x10
.global gUnknown_089A2CF8
gUnknown_089A2CF8: @ 0x089A2CF8
.incbin "baserom.gba", 0x9A2CF8, 0x18
.global gUnknown_089A2D10
gUnknown_089A2D10: @ 0x089A2D10
.incbin "baserom.gba", 0x9A2D10, 0x88
.global gUnknown_089A2D98
gUnknown_089A2D98: @ 0x089A2D98
.incbin "baserom.gba", 0x9A2D98, 0x18

3
data/muctrl_rodata.s Normal file
View File

@ -0,0 +1,3 @@
.section .rodata
.incbin "baserom.gba", 0x20570C, 0x8

View File

@ -197,6 +197,9 @@ SECTIONS
. = ALIGN(4); data/const_data_D792C.o(.rodata);
. = ALIGN(4); data/text.o(.rodata);
. = ALIGN(4); data/const_data_1609BC.o(.rodata);
. = ALIGN(4); src/mu.o(.rodata);
. = ALIGN(4); data/muctrl_rodata.o(.rodata);
. = ALIGN(4); data/const_data_205714.o(.rodata);
. = ALIGN(4); data/m4a_tables.o(.rodata);
. = ALIGN(4); tools/agbcc/lib/libc.a:vfprintf.o(.rodata);
. = ALIGN(4); tools/agbcc/lib/libc.a:dtoa.o(.rodata);

149
src/mu.c
View File

@ -56,7 +56,6 @@ struct MUFadeEffectProc {
};
struct MUProc* NewMOVEUNIT(u16 x, u16 y, u16 classIndex, int objTileId, unsigned palId);
void _6CMOVEUNIT_Loop(struct MUProc* proc);
struct MUConfig* GetNextMoveunitEntryStruct(int objTileId, u8* outIndex_maybe);
struct MUConfig* sub_807920C(int objTileId, u8* outIndex_maybe);
const void* MMS_GetROMTCS(u16 classId);
@ -81,6 +80,31 @@ void sub_807990C(int argAp);
void TCS_HaltAnim(int argAp);
void SetMOVEUNITField44To1(struct Proc* proc);
static void sub_8078C58(struct MUProc* proc);
static void nullsub_54(struct MUProc* proc);
static void MOVU_Call2_Moving(struct MUProc* proc);
static void MOVU_Call3_Wait(struct MUProc* proc);
static void MOVU_Call4_SetState2(struct MUProc* proc);
static void MOVU_Call5_WaitForSomething(struct MUProc* proc);
static void _6CMOVEUNIT_Destructor(struct MUProc* proc);
static void _6CMOVEUNIT_Loop(struct MUProc* proc);
static void BlendTimer6C_MainLoop(struct MUEffectProc* proc);
static void sub_8079654(struct MUEffectProc* proc); // MUBlink main
static void sub_8079730(struct MUEffectProc* proc);
static void sub_807988C(struct MUEffectProc* proc);
static void sub_80799A8(struct MUFadeEffectProc* proc);
static void sub_80799A0(struct MUFadeEffectProc* proc);
static void sub_80799C8(struct MUFadeEffectProc* proc);
static void sub_8079AD4(struct MUFadeEffectProc* proc);
static void sub_80799EC(struct MUFadeEffectProc* proc);
static void sub_8079A10(struct MUFadeEffectProc* proc);
static void sub_8079A50(struct MUFadeEffectProc* proc);
#define MU_GetDisplayXOrg(proc) ((((proc)->xSubPosition + (proc)->xSubOffset) >> MU_SUBPIXEL_PRECISION) + 8)
#define MU_GetDisplayYOrg(proc) ((((proc)->ySubPosition + (proc)->ySubOffset) >> MU_SUBPIXEL_PRECISION) + 8)
@ -106,10 +130,7 @@ extern CONST_DATA struct ProcCmd gUnknown_089A2938[]; // gProc_MUStepSound
extern CONST_DATA short gUnknown_089A2988[]; // gDirectionMoveOffsetLookup
extern CONST_DATA MUStateHandlerFunc gUnknown_089A2C28[]; // MU state handler function pointer lookup
extern CONST_DATA u16 gUnknown_089A2C68[]; // obj tile id offset by MU id (0-0x10-8-0x18)
extern CONST_DATA u16 gUnknown_089A2C70[]; // obj tile id offset by MU id (0-8-4-0x10)
extern CONST_DATA struct ProcCmd gUnknown_089A2968[];
extern CONST_DATA u16 gUnknown_089A2998[]; // feet sounds
extern CONST_DATA u16 gUnknown_089A29BC[]; // heavy sounds
@ -125,21 +146,117 @@ extern CONST_DATA u16 gUnknown_089A2B68[]; // gorgon sounds
extern CONST_DATA u16 gUnknown_089A2BCE[]; // boat sounds
extern CONST_DATA u16 gUnknown_089A2C02[]; // myrrh sounds
extern CONST_DATA struct ProcCmd gUnknown_089A2968[];
extern CONST_DATA struct ProcCmd gUnknown_089A2C48[];
// MU state handler function pointer lookup
static CONST_DATA MUStateHandlerFunc gUnknown_089A2C28[] = {
sub_8078C58,
nullsub_54,
MOVU_Call2_Moving,
MOVU_Call3_Wait,
MOVU_Call4_SetState2,
MOVU_Call5_WaitForSomething,
nullsub_54,
nullsub_54,
};
extern CONST_DATA u8 gUnknown_089A2C78[2];
extern CONST_DATA u8 gUnknown_089A2C7A[MU_MAX_COUNT]; // Buffer index by MU index lookup
CONST_DATA struct ProcCmd gUnknown_089A2C48[] = {
PROC_SET_NAME("MOVEUNIT"),
PROC_SET_MARK(4),
extern CONST_DATA struct ProcCmd gUnknown_089A2C80[]; // gProc_MUDeathFade
extern CONST_DATA struct ProcCmd gUnknown_089A2C98[]; // gProc_MUBlinking
PROC_SET_DESTRUCTOR(_6CMOVEUNIT_Destructor),
PROC_LOOP_ROUTINE(_6CMOVEUNIT_Loop)
};
extern CONST_DATA vu8 gUnknown_089A2CA8[]; // WHY
// obj tile id offset by MU id
static CONST_DATA u16 gUnknown_089A2C68[MU_MAX_COUNT] = {
0x0000, 0x0010, 0x0008, 0x0018
};
extern CONST_DATA struct ProcCmd gUnknown_089A2CE8[]; // gProc_MUSomethingElse
extern CONST_DATA struct ProcCmd gUnknown_089A2CF8[];
extern CONST_DATA struct ProcCmd gUnknown_089A2D10[];
extern CONST_DATA struct ProcCmd gUnknown_089A2D98[];
// obj tile id offset by MU id (variant?)
static CONST_DATA u16 gUnknown_089A2C70[MU_MAX_COUNT] = {
0x0000, 0x0008, 0x0004, 0x0010
};
// Base Movement Speed Lookup
static CONST_DATA u8 gUnknown_089A2C78[2] = {
2, // fast class base movement speed
1 // slow class base movement speed
};
// Buffer index by MU index lookup
static CONST_DATA u8 gUnknown_089A2C7A[MU_MAX_COUNT+1] = {
0, // dummy entry (this array is 1-indexed)
0, 2, 1, 3
};
// gProc_MUDeathFadeEffect
CONST_DATA struct ProcCmd gUnknown_089A2C80[] = {
PROC_LOOP_ROUTINE(BlendTimer6C_MainLoop),
PROC_SLEEP(15),
PROC_END
};
// gProc_MUBlinkingEffect
CONST_DATA struct ProcCmd gUnknown_089A2C98[] = {
PROC_LOOP_ROUTINE(sub_8079654),
PROC_END
};
// Doesn't match without being volatile
// :/
static CONST_DATA vu8 gUnknown_089A2CA8[0x40] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F,
0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F,
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F
};
static CONST_DATA struct ProcCmd gUnknown_089A2CE8[] = {
PROC_LOOP_ROUTINE(sub_8079730),
PROC_END
};
CONST_DATA struct ProcCmd gUnknown_089A2CF8[] = {
PROC_SLEEP(8),
PROC_CALL_ROUTINE(sub_807988C),
PROC_END
};
static CONST_DATA struct ProcCmd gUnknown_089A2D10[] = {
PROC_CALL_ROUTINE(sub_80799A0),
PROC_SLEEP(1),
PROC_CALL_ROUTINE(sub_80799A8),
PROC_SLEEP(2),
PROC_CALL_ROUTINE(sub_80799C8),
PROC_SLEEP(3),
PROC_CALL_ROUTINE(sub_80799A8),
PROC_SLEEP(2),
PROC_CALL_ROUTINE(sub_80799C8),
PROC_SLEEP(3),
PROC_CALL_ROUTINE(sub_80799A8),
PROC_SLEEP(1),
PROC_CALL_ROUTINE(sub_80799EC),
PROC_LOOP_ROUTINE(sub_8079A10),
PROC_SLEEP(17),
PROC_CALL_ROUTINE(sub_8079A50),
PROC_END
};
static CONST_DATA struct ProcCmd gUnknown_089A2D98[] = {
PROC_SLEEP(17),
PROC_CALL_ROUTINE(sub_8079AD4),
PROC_END
};
void ResetMoveunitStructs(void) {
int i;