pmd-red/data/data.s
Seth Barberee 22fec43f18
More menu work (#33)
* split adventure log menu out and decompile

* add most adventure log matchings w/ 2 nonmatchings and move some relevant data

* more work on other menus

* fully decomp debug stuff around 203B3F0

* more debug menu work

* fix CreatePartnerSelectionMenu nonmatch

* move more data and clean some data up
2021-04-03 20:44:48 -05:00

1037 lines
30 KiB
ArmAsm

.section .rodata
.string "pksdir0\0"
.global gUnknown_80B690C
gUnknown_80B690C: @ 80B690C
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x19, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x34, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x85, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x45, 0x01, 0x00, 0x00
.byte 0x04, 0x00, 0x00, 0x00
.byte 0x07, 0x00, 0x00, 0x00
.byte 0x05, 0x00, 0x00, 0x00
.byte 0x9e, 0x00, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0x00
.byte 0x1b, 0x01, 0x00, 0x00
.byte 0x07, 0x00, 0x00, 0x00
.byte 0x36, 0x00, 0x00, 0x00
.byte 0x08, 0x00, 0x00, 0x00
.byte 0x04, 0x00, 0x00, 0x00
.byte 0x09, 0x00, 0x00, 0x00
.byte 0x18, 0x01, 0x00, 0x00
.byte 0x0a, 0x00, 0x00, 0x00
.byte 0x9b, 0x00, 0x00, 0x00
.byte 0x0b, 0x00, 0x00, 0x00
.byte 0x68, 0x00, 0x00, 0x00
.byte 0x0c, 0x00, 0x00, 0x00
.byte 0x42, 0x00, 0x00, 0x00
.byte 0x0d, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x0e, 0x00, 0x00, 0x00
.byte 0x98, 0x00, 0x00, 0x00
.byte 0x0f, 0x00, 0x00, 0x00
.byte 0x15, 0x01, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.global gUnknown_80B6994
gUnknown_80B6994: @ 80B6994
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x07, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x9e, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x18, 0x01, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x98, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.global gPMDBuildVersion
gPMDBuildVersion: @ 80B69BC
.string "PKDi ver 1.0 [Apr 28 2006] 16:37:54\0"
.align 2,0
.global titlen0_text
titlen0_text:
.string "titlen0\0"
.align 2,0
.global titlen1_text
titlen1_text:
.string "titlen1\0"
.align 2,0
.global titlen2_text
titlen2_text:
.string "titlen2\0"
.align 2,0
.global gLoadScreenBackgroundFileNames
gLoadScreenBackgroundFileNames: @ 80B69F8
.4byte titlen0_text
.4byte titlen1_text
.4byte titlen2_text
.global titlen0p_text
titlen0p_text:
.string "titlen0p\0"
.align 2,0
.global titlen1p_text
titlen1p_text:
.string "titlen1p\0"
.align 2,0
.global titlen2p_text
titlen2p_text:
.string "titlen2p\0"
.align 2,0
.global gLoadScreenBackgroundPaletteFileNames
gLoadScreenBackgroundPaletteFileNames: @ 80B6A28
.4byte titlen0p_text
.4byte titlen1p_text
.4byte titlen2p_text
.include "data/text/save.inc"
.global gUnknown_80B6D90
gUnknown_80B6D90: @ 80B6D90
.byte 0x44, 0x71, 0x0b, 0x08
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x3c, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x34, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x2c, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x24, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x1c, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x14, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x0c, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x04, 0x71, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xfc, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xf4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xec, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xe4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xdc, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xd4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xcc, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xc4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xbc, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xb4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xac, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xa4, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x9c, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x94, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x8c, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x84, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x7c, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x74, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x6c, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x64, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x5c, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x54, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x4c, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x44, 0x70, 0x0b, 0x08
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x3c, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x34, 0x70, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x2c, 0x70, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x24, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x1c, 0x70, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x14, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x0c, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x04, 0x70, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xfc, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xf4, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xec, 0x6f, 0x0b, 0x08
.byte 0x02, 0x00, 0x00, 0x00
.byte 0xe4, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xdc, 0x6f, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0xd4, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xcc, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xc4, 0x6f, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0xbc, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xb4, 0x6f, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0xac, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0xa4, 0x6f, 0x0b, 0x08
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x9c, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x94, 0x6f, 0x0b, 0x08
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x8c, 0x6f, 0x0b, 0x08
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x84, 0x6f, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x78, 0x6f, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.byte 0x68, 0x6f, 0x0b, 0x08
.byte 0xff, 0xff, 0xff, 0xff
.string "DEBUG GROUND\0"
.align 2,0
.string "NEXT DAY\0"
.align 2,0
.string "R00E01A\0"
.align 2,0
.string "S09E01C\0"
.align 2,0
.string "S09E01B\0"
.align 2,0
.string "S09E01A\0"
.align 2,0
.string "S08E01B\0"
.align 2,0
.string "S08E01A\0"
.align 2,0
.string "S07E01B\0"
.align 2,0
.string "S07E01A\0"
.align 2,0
.string "S06E01C\0"
.align 2,0
.string "S06E01B\0"
.align 2,0
.string "S06E01A\0"
.align 2,0
.string "S05E01B\0"
.align 2,0
.string "S05E01A\0"
.align 2,0
.string "S04E01F\0"
.align 2,0
.string "S04E01E\0"
.align 2,0
.string "S04E01D\0"
.align 2,0
.string "S04E01C\0"
.align 2,0
.string "S04E01B\0"
.align 2,0
.string "S04E01A\0"
.align 2,0
.string "S03E01B\0"
.align 2,0
.string "S03E01A\0"
.align 2,0
.string "S02E02B\0"
.align 2,0
.string "S02E02A\0"
.align 2,0
.string "S02E01A\0"
.align 2,0
.string "S01E02B\0"
.align 2,0
.string "S01E02A\0"
.align 2,0
.string "S01E01B\0"
.align 2,0
.string "S01E01A\0"
.align 2,0
.string "S00E01A\0"
.align 2,0
.string "M02END\0"
.align 2,0
.string "M02E02H\0"
.align 2,0
.string "M02E02G\0"
.align 2,0
.string "M02E02F\0"
.align 2,0
.string "M02E02E\0"
.align 2,0
.string "M02E02D\0"
.align 2,0
.string "M02E02C\0"
.align 2,0
.string "M02E02B\0"
.align 2,0
.string "M02E02A\0"
.align 2,0
.string "M02E01A\0"
.align 2,0
.string "M01END\0"
.align 2,0
.string "M01E10A\0"
.align 2,0
.string "M01E09A\0"
.align 2,0
.string "M01E08B\0"
.align 2,0
.string "M01E08A\0"
.align 2,0
.string "M01E07B\0"
.align 2,0
.string "M01E07A\0"
.align 2,0
.string "M01E06A\0"
.align 2,0
.string "M01E05B\0"
.align 2,0
.string "M01E05A\0"
.align 2,0
.string "M01E04B\0"
.align 2,0
.string "M01E04A\0"
.align 2,0
.string "M01E03A\0"
.align 2,0
.string "M01E02B\0"
.align 2,0
.string "M01E02A\0"
.align 2,0
.string "M01E01A\0"
.align 2,0
.string "M00E01A\0"
.align 2,0
.global gUnknown_80B7144
gUnknown_80B7144: @ 80B7144
.string "NONE\0"
.align 2,0
.global gUnknown_80B714C
gUnknown_80B714C: @ 80B714C
.4byte TwoOneText
.4byte TwoOneText
.4byte OneTwoSevenText
.4byte FourText
.4byte FiveText
.4byte SixText
.4byte TwoTwoEightText
.4byte ThreeText
.4byte NineText
.4byte EndText
.global EndText
EndText:
.string "END\0"
.global NineText
NineText:
.string "9\0"
.align 2,0
.global ThreeText
ThreeText:
.string "3\0"
.align 2,0
.global TwoTwoEightText
TwoTwoEightText:
.string "2-2 8\0"
.align 2,0
.global SixText
SixText:
.string "6\0"
.align 2,0
.global FiveText
FiveText:
.string "5\0"
.align 2,0
.global FourText
FourText:
.string "4\0"
.align 2,0
.global OneTwoSevenText
OneTwoSevenText:
.string "1-2 7\0"
.align 2,0
.global TwoOneText
TwoOneText:
.string "2-1\0"
.align 2,0
.global gUnknown_80B71A0
gUnknown_80B71A0: @ 80B71A0
.4byte CISTART_text
.4byte CECONTINUE_text
.4byte CNLAST_text
.4byte CWEND_text
.global CWEND_text
CWEND_text:
.string "#CWEND#R\0"
.align 2,0
.global CNLAST_text
CNLAST_text:
.string "#CNLAST#R\0"
.align 2,0
.global CECONTINUE_text
CECONTINUE_text:
.string "#CECONTINUE#R\0"
.align 2,0
.global CISTART_text
CISTART_text:
.string "#CISTART#R\0"
.align 2,0
.global gUnknown_80B71E4
gUnknown_80B71E4: @ 80B71E4
.incbin "baserom.gba", 0xB71E4, 0xE8
.global gUnknown_80B72CC
gUnknown_80B72CC: @ 80B72CC
.string "SCENARIO CALC [%3d] %4d %4d -> %4d %4d\0"
.align 2,0
.global EventFlagFile_Text
EventFlagFile_Text:
.string "../main/event_flag.c\0"
.align 2,0
.global FlagCalc_Text
FlagCalc_Text:
.string "_FlagCalc\0"
.align 2,0
.global gUnknown_80B7318
gUnknown_80B7318: @ 80B7318
.4byte EventFlagFile_Text
.byte 0x51, 0x05, 0x00, 0x00
.4byte FlagCalc_Text
.global gUnknown_80B7324
gUnknown_80B7324: @ 80B7324
.string "event flag expansion error %d\0"
.align 2,0
.global FlagJudge_Text
FlagJudge_Text:
.string "_FlagJudge\0"
.align 2,0
.global gUnknown_80B7350
gUnknown_80B7350: @ 80B7350
.4byte EventFlagFile_Text
.byte 0x7C, 0x05, 0x00, 0x00
.4byte FlagJudge_Text
.global gUnknown_80B735C
gUnknown_80B735C: @ 80B735C
.string "event flag rule error %d\0"
.align 2,0
.global gUnknown_80B7378
gUnknown_80B7378: @ 80B7378
.string "error number\0"
.align 2,0
.global gUnknown_80B7388
gUnknown_80B7388: @ 80B7388
.string "1-1\0"
.string "pksdir0\0"
.global gUnknown_80B7394
gUnknown_80B7394: @ 80B7394
.incbin "baserom.gba", 0xB7394, 0xAA8
.global gUnknown_80B7E3C
gUnknown_80B7E3C: @ 80B7E3C
.incbin "baserom.gba", 0xB7E3C, 0x7C
.global gUnknown_80B7EB8
gUnknown_80B7EB8: @ 80B7EB8
.byte 0x8C, 0x7E, 0x0B, 0x08
.byte 0x45, 0x02, 0x00, 0x00
.byte 0xA8, 0x7E, 0x0B, 0x08 @ Pointer to _LocateSetFront
.global gUnknown_80B7EC4
gUnknown_80B7EC4: @ 80B7EC4
.string "Memory Locate sprit max over [%3d/%3d]\0"
.align 2,0
.global LocateSetBackText
LocateSetBackText:
.string "_LocateSetBack\0"
.align 2,0
.global gUnknown_80B7EFC
gUnknown_80B7EFC: @ 80B7EFC
.byte 0x8C, 0x7E, 0x0B, 0x08
.byte 0xA1, 0x02, 0x00, 0x00
.4byte LocateSetBackText
.global LocateSetText
LocateSetText:
.string "_LocateSet\0"
.align 2,0
.global gUnknown_80B7F14
gUnknown_80B7F14: @ 80B7F14
.byte 0x8C, 0x7E, 0x0B, 0x08
.byte 0x2C, 0x03, 0x00, 0x00
.4byte LocateSetText
.global gUnknown_80B7F20
gUnknown_80B7F20: @ 80B7F20
.string "Memroy LocateSet [%p] buffer %8x size can't locate\n"
.string " atb %02x grp %3d \0"
.align 2,0
.global MemoryLocate_LocalCreateText
MemoryLocate_LocalCreateText:
.string "MemoryLocate_LocalCreate\0"
.align 2,0
.global gUnknown_80B7F88
gUnknown_80B7F88: @ 80B7F88
.byte 0x8C, 0x7E, 0x0B, 0x08 @ Pointer to ../system/memory_locate.c
.byte 0x55, 0x04, 0x00, 0x00
.4byte MemoryLocate_LocalCreateText
.global gUnknown_80B7F94
gUnknown_80B7F94: @ 80B7F94
.string "Memroy LocalCreate buffer %08x size can't locate\0" @ Spelling error is intentional
.align 2,0
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.string "pksdir0\0"
.global gUnknown_80B8008
gUnknown_80B8008: @ 80B8008
.byte 0x10, 0x00, 0x0c, 0x00
.byte 0x09, 0x00, 0x07, 0x00
.byte 0x06, 0x00, 0x05, 0x00
.byte 0x04, 0x00, 0x03, 0x00
.byte 0x02, 0x00, 0x02, 0x00
.byte 0x01, 0x00, 0x01, 0x00
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00
.global gUnknown_80B802A
gUnknown_80B802A: @ 80B802A
.incbin "baserom.gba", 0xB802A, 0x140
.global gUnknown_80B816A
gUnknown_80B816A: @ 80B816A
.incbin "baserom.gba", 0xB816A, 0x140
.global gUnknown_80B82AA
gUnknown_80B82AA: @ 80B82AA
.incbin "baserom.gba", 0xB82AA, 0x140
.global gUnknown_80B83EA
gUnknown_80B83EA: @ 80B83EA
.incbin "baserom.gba", 0xB83EA, 0x152
.global gUnknown_80B853C
gUnknown_80B853C: @ 80B853C
.incbin "baserom.gba", 0xB853C, 0x40
.global gUnknown_80B857C
gUnknown_80B857C: @ 80B857C
.incbin "baserom.gba", 0xB857C, 0x60
.global gUnknown_80B85DC
gUnknown_80B85DC: @ 80B85DC
.incbin "baserom.gba", 0xB85DC, 0xC8
.global gUnknown_80B86A4
gUnknown_80B86A4: @ 80B86A4
.byte 0x5C, 0x86, 0x0B, 0x08
.byte 0xA1, 0x81, 0x07, 0x00
.byte 0x0A, 0x00, 0x00, 0x00
.byte 0x08, 0x00, 0x00, 0x00
.global gUnknown_80B86B4
gUnknown_80B86B4: @ 80B86B4
.incbin "baserom.gba", 0xB86B4, 0x100
.global gKanjiA_file_string
gKanjiA_file_string: @ 80B87B4
.string "kanji_a\0"
.align 2,0
.global gKanjiB_file_string
gKanjiB_file_string: @ 80B87BC
.string "kanji_b\0"
.align 2,0
.global gUnknown_80B87C4
gUnknown_80B87C4: @ 80B87C4
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.global gUnknown_80B87E4
gUnknown_80B87E4: @ 80B87E4
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.byte 0x88, 0x88, 0x88, 0x88
.global gUnknown_80B8804
gUnknown_80B8804: @ 80B8804
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00
.global gUnknown_80B8814
gUnknown_80B8814: @ 80B8814
.byte 0x01, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.global gUnknown_80B8824
gUnknown_80B8824: @ 80B8824
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x0f, 0x00, 0x00, 0x00
.byte 0xff, 0x00, 0x00, 0x00
.byte 0xff, 0x0f, 0x00, 0x00
.byte 0xff, 0xff, 0x00, 0x00
.byte 0xff, 0xff, 0x0f, 0x00
.byte 0xff, 0xff, 0xff, 0x00
.byte 0xff, 0xff, 0xff, 0x0f
.byte 0xff, 0xff, 0xff, 0xff
.global gUnknown_80B8848
gUnknown_80B8848: @ 80B8848
.byte 0x0F, 0x00, 0x00, 0x00
.byte 0xF0, 0x00, 0x00, 0x00
.byte 0x00, 0x0F, 0x00, 0x00
.byte 0x00, 0xF0, 0x00, 0x00
.byte 0x00, 0x00, 0x0F, 0x00
.byte 0x00, 0x00, 0xF0, 0x00
.byte 0x00, 0x00, 0x00, 0x0F
.byte 0x00, 0x00, 0x00, 0xF0
.global gUnknown_80B8868
gUnknown_80B8868: @ 80B8868
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x0f, 0x00, 0x00, 0x00
.byte 0xff, 0x00, 0x00, 0x00
.byte 0xff, 0x0f, 0x00, 0x00
.byte 0xff, 0xff, 0x00, 0x00
.byte 0xff, 0xff, 0x0f, 0x00
.byte 0xff, 0xff, 0xff, 0x00
.byte 0xff, 0xff, 0xff, 0x0f
.byte 0xff, 0xff, 0xff, 0xff
.byte 0xf0, 0xff, 0xff, 0xff
.byte 0x00, 0xff, 0xff, 0xff
.byte 0x00, 0xf0, 0xff, 0xff
.byte 0x00, 0x00, 0xff, 0xff
.byte 0x00, 0x00, 0xf0, 0xff
.byte 0x00, 0x00, 0x00, 0xff
.byte 0x00, 0x00, 0x00, 0xf0
.string "pksdir0\0"
.align 2,0
.global gUnknown_80B88B0
gUnknown_80B88B0: @ 80B88B0
.string "font\0"
.align 2,0
.global gUnknown_80B88B8
gUnknown_80B88B8: @ 80B88B8
.string "fontsp\0"
.align 2,0
.global gUnknown_80B88C0
gUnknown_80B88C0: @ 80B88C0
.string "fontsppa\0"
.align 2,0
.global gUnknown_80B88CC
gUnknown_80B88CC: @ 80B88CC
.string "fontpal\0"
.align 2,0
.string "pksdir0\0"
.string "pksdir0\0"
.global gUnknown_80B88E4
gUnknown_80B88E4: @ 80B88E4 @ (uppercase font table??)
.incbin "baserom.gba", 0xB88E4, 0x200
.global gUnknown_80B8AE4
gUnknown_80B8AE4: @ 80B8AE4
.incbin "baserom.gba", 0xB8AE4, 0x800
.global gUnknown_80B92E4
gUnknown_80B92E4: @ 80B92E4
.incbin "baserom.gba", 0xB92E4, 0x400
.global gUnknown_80B96E4
gUnknown_80B96E4: @ 80B96E4
@ replacing .incbin "baserom.gba", 0x000b96e4, 0x4b0
@ It's an array..
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x72, 0xb1, 0x00, 0x00
.byte 0x3e, 0x19, 0x01, 0x00
.byte 0xe4, 0x62, 0x01, 0x00
.byte 0x04, 0x9c, 0x01, 0x00
.byte 0xb0, 0xca, 0x01, 0x00
.byte 0x27, 0xf2, 0x01, 0x00
.byte 0x56, 0x14, 0x02, 0x00
.byte 0x7d, 0x32, 0x02, 0x00
.byte 0x76, 0x4d, 0x02, 0x00
.byte 0xdc, 0x65, 0x02, 0x00
.byte 0x22, 0x7c, 0x02, 0x00
.byte 0xa0, 0x90, 0x02, 0x00
.byte 0x99, 0xa3, 0x02, 0x00
.byte 0x42, 0xb5, 0x02, 0x00
.byte 0xc8, 0xc5, 0x02, 0x00
.byte 0x4d, 0xd5, 0x02, 0x00
.byte 0xef, 0xe3, 0x02, 0x00
.byte 0xc6, 0xf1, 0x02, 0x00
.byte 0xe8, 0xfe, 0x02, 0x00
.byte 0x65, 0x0b, 0x03, 0x00
.byte 0x4e, 0x17, 0x03, 0x00
.byte 0xaf, 0x22, 0x03, 0x00
.byte 0x94, 0x2d, 0x03, 0x00
.byte 0x08, 0x38, 0x03, 0x00
.byte 0x12, 0x42, 0x03, 0x00
.byte 0xbb, 0x4b, 0x03, 0x00
.byte 0x0b, 0x55, 0x03, 0x00
.byte 0x07, 0x5e, 0x03, 0x00
.byte 0xb4, 0x66, 0x03, 0x00
.byte 0x19, 0x6f, 0x03, 0x00
.byte 0x3a, 0x77, 0x03, 0x00
.byte 0x1b, 0x7f, 0x03, 0x00
.byte 0xbf, 0x86, 0x03, 0x00
.byte 0x2b, 0x8e, 0x03, 0x00
.byte 0x61, 0x95, 0x03, 0x00
.byte 0x65, 0x9c, 0x03, 0x00
.byte 0x38, 0xa3, 0x03, 0x00
.byte 0xdf, 0xa9, 0x03, 0x00
.byte 0x5a, 0xb0, 0x03, 0x00
.byte 0xac, 0xb6, 0x03, 0x00
.byte 0xd7, 0xbc, 0x03, 0x00
.byte 0xde, 0xc2, 0x03, 0x00
.byte 0xc0, 0xc8, 0x03, 0x00
.byte 0x81, 0xce, 0x03, 0x00
.byte 0x21, 0xd4, 0x03, 0x00
.byte 0xa3, 0xd9, 0x03, 0x00
.byte 0x07, 0xdf, 0x03, 0x00
.byte 0x4e, 0xe4, 0x03, 0x00
.byte 0x7a, 0xe9, 0x03, 0x00
.byte 0x8c, 0xee, 0x03, 0x00
.byte 0x84, 0xf3, 0x03, 0x00
.byte 0x65, 0xf8, 0x03, 0x00
.byte 0x2e, 0xfd, 0x03, 0x00
.byte 0xe0, 0x01, 0x04, 0x00
.byte 0x7d, 0x06, 0x04, 0x00
.byte 0x05, 0x0b, 0x04, 0x00
.byte 0x79, 0x0f, 0x04, 0x00
.byte 0xd9, 0x13, 0x04, 0x00
.byte 0x26, 0x18, 0x04, 0x00
.byte 0x62, 0x1c, 0x04, 0x00
.byte 0x8b, 0x20, 0x04, 0x00
.byte 0xa4, 0x24, 0x04, 0x00
.byte 0xac, 0x28, 0x04, 0x00
.byte 0xa4, 0x2c, 0x04, 0x00
.byte 0x8d, 0x30, 0x04, 0x00
.byte 0x66, 0x34, 0x04, 0x00
.byte 0x31, 0x38, 0x04, 0x00
.byte 0xee, 0x3b, 0x04, 0x00
.byte 0x9d, 0x3f, 0x04, 0x00
.byte 0x3e, 0x43, 0x04, 0x00
.byte 0xd3, 0x46, 0x04, 0x00
.byte 0x5b, 0x4a, 0x04, 0x00
.byte 0xd7, 0x4d, 0x04, 0x00
.byte 0x46, 0x51, 0x04, 0x00
.byte 0xaa, 0x54, 0x04, 0x00
.byte 0x03, 0x58, 0x04, 0x00
.byte 0x51, 0x5b, 0x04, 0x00
.byte 0x94, 0x5e, 0x04, 0x00
.byte 0xcc, 0x61, 0x04, 0x00
.byte 0xfa, 0x64, 0x04, 0x00
.byte 0x1e, 0x68, 0x04, 0x00
.byte 0x39, 0x6b, 0x04, 0x00
.byte 0x4a, 0x6e, 0x04, 0x00
.byte 0x51, 0x71, 0x04, 0x00
.byte 0x50, 0x74, 0x04, 0x00
.byte 0x45, 0x77, 0x04, 0x00
.byte 0x32, 0x7a, 0x04, 0x00
.byte 0x17, 0x7d, 0x04, 0x00
.byte 0xf3, 0x7f, 0x04, 0x00
.byte 0xc7, 0x82, 0x04, 0x00
.byte 0x93, 0x85, 0x04, 0x00
.byte 0x58, 0x88, 0x04, 0x00
.byte 0x15, 0x8b, 0x04, 0x00
.byte 0xca, 0x8d, 0x04, 0x00
.byte 0x79, 0x90, 0x04, 0x00
.byte 0x20, 0x93, 0x04, 0x00
.byte 0xc0, 0x95, 0x04, 0x00
.byte 0x59, 0x98, 0x04, 0x00
.byte 0xec, 0x9a, 0x04, 0x00
.byte 0x78, 0x9d, 0x04, 0x00
.byte 0xfe, 0x9f, 0x04, 0x00
.byte 0x7d, 0xa2, 0x04, 0x00
.byte 0xf6, 0xa4, 0x04, 0x00
.byte 0x69, 0xa7, 0x04, 0x00
.byte 0xd7, 0xa9, 0x04, 0x00
.byte 0x3e, 0xac, 0x04, 0x00
.byte 0xa0, 0xae, 0x04, 0x00
.byte 0xfc, 0xb0, 0x04, 0x00
.byte 0x52, 0xb3, 0x04, 0x00
.byte 0xa3, 0xb5, 0x04, 0x00
.byte 0xef, 0xb7, 0x04, 0x00
.byte 0x36, 0xba, 0x04, 0x00
.byte 0x77, 0xbc, 0x04, 0x00
.byte 0xb3, 0xbe, 0x04, 0x00
.byte 0xeb, 0xc0, 0x04, 0x00
.byte 0x1d, 0xc3, 0x04, 0x00
.byte 0x4b, 0xc5, 0x04, 0x00
.byte 0x74, 0xc7, 0x04, 0x00
.byte 0x99, 0xc9, 0x04, 0x00
.byte 0xb8, 0xcb, 0x04, 0x00
.byte 0xd4, 0xcd, 0x04, 0x00
.byte 0xeb, 0xcf, 0x04, 0x00
.byte 0xfd, 0xd1, 0x04, 0x00
.byte 0x0c, 0xd4, 0x04, 0x00
.byte 0x16, 0xd6, 0x04, 0x00
.byte 0x1c, 0xd8, 0x04, 0x00
.byte 0x1e, 0xda, 0x04, 0x00
.byte 0x1c, 0xdc, 0x04, 0x00
.byte 0x16, 0xde, 0x04, 0x00
.byte 0x0c, 0xe0, 0x04, 0x00
.byte 0xff, 0xe1, 0x04, 0x00
.byte 0xed, 0xe3, 0x04, 0x00
.byte 0xd8, 0xe5, 0x04, 0x00
.byte 0xc0, 0xe7, 0x04, 0x00
.byte 0xa3, 0xe9, 0x04, 0x00
.byte 0x83, 0xeb, 0x04, 0x00
.byte 0x60, 0xed, 0x04, 0x00
.byte 0x39, 0xef, 0x04, 0x00
.byte 0x0f, 0xf1, 0x04, 0x00
.byte 0xe1, 0xf2, 0x04, 0x00
.byte 0xb1, 0xf4, 0x04, 0x00
.byte 0x7c, 0xf6, 0x04, 0x00
.byte 0x45, 0xf8, 0x04, 0x00
.byte 0x0b, 0xfa, 0x04, 0x00
.byte 0xcd, 0xfb, 0x04, 0x00
.byte 0x8c, 0xfd, 0x04, 0x00
.byte 0x49, 0xff, 0x04, 0x00
.byte 0x02, 0x01, 0x05, 0x00
.byte 0xb8, 0x02, 0x05, 0x00
.byte 0x6c, 0x04, 0x05, 0x00
.byte 0x1d, 0x06, 0x05, 0x00
.byte 0xca, 0x07, 0x05, 0x00
.byte 0x75, 0x09, 0x05, 0x00
.byte 0x1d, 0x0b, 0x05, 0x00
.byte 0xc3, 0x0c, 0x05, 0x00
.byte 0x66, 0x0e, 0x05, 0x00
.byte 0x06, 0x10, 0x05, 0x00
.byte 0xa3, 0x11, 0x05, 0x00
.byte 0x3e, 0x13, 0x05, 0x00
.byte 0xd6, 0x14, 0x05, 0x00
.byte 0x6c, 0x16, 0x05, 0x00
.byte 0x00, 0x18, 0x05, 0x00
.byte 0x90, 0x19, 0x05, 0x00
.byte 0x1f, 0x1b, 0x05, 0x00
.byte 0xab, 0x1c, 0x05, 0x00
.byte 0x34, 0x1e, 0x05, 0x00
.byte 0xbc, 0x1f, 0x05, 0x00
.byte 0x41, 0x21, 0x05, 0x00
.byte 0xc3, 0x22, 0x05, 0x00
.byte 0x44, 0x24, 0x05, 0x00
.byte 0xc2, 0x25, 0x05, 0x00
.byte 0x3e, 0x27, 0x05, 0x00
.byte 0xb7, 0x28, 0x05, 0x00
.byte 0x2f, 0x2a, 0x05, 0x00
.byte 0xa4, 0x2b, 0x05, 0x00
.byte 0x18, 0x2d, 0x05, 0x00
.byte 0x89, 0x2e, 0x05, 0x00
.byte 0xf8, 0x2f, 0x05, 0x00
.byte 0x65, 0x31, 0x05, 0x00
.byte 0xd0, 0x32, 0x05, 0x00
.byte 0x39, 0x34, 0x05, 0x00
.byte 0xa0, 0x35, 0x05, 0x00
.byte 0x06, 0x37, 0x05, 0x00
.byte 0x69, 0x38, 0x05, 0x00
.byte 0xca, 0x39, 0x05, 0x00
.byte 0x29, 0x3b, 0x05, 0x00
.byte 0x87, 0x3c, 0x05, 0x00
.byte 0xe3, 0x3d, 0x05, 0x00
.byte 0x3c, 0x3f, 0x05, 0x00
.byte 0x94, 0x40, 0x05, 0x00
.byte 0xeb, 0x41, 0x05, 0x00
.byte 0x3f, 0x43, 0x05, 0x00
.byte 0x92, 0x44, 0x05, 0x00
.byte 0xe3, 0x45, 0x05, 0x00
.byte 0x32, 0x47, 0x05, 0x00
.byte 0x80, 0x48, 0x05, 0x00
.byte 0xcb, 0x49, 0x05, 0x00
.byte 0x16, 0x4b, 0x05, 0x00
.byte 0x5e, 0x4c, 0x05, 0x00
.byte 0xa5, 0x4d, 0x05, 0x00
.byte 0xea, 0x4e, 0x05, 0x00
.byte 0x2e, 0x50, 0x05, 0x00
.byte 0x70, 0x51, 0x05, 0x00
.byte 0xb0, 0x52, 0x05, 0x00
.byte 0xef, 0x53, 0x05, 0x00
.byte 0x2d, 0x55, 0x05, 0x00
.byte 0x68, 0x56, 0x05, 0x00
.byte 0xa3, 0x57, 0x05, 0x00
.byte 0xdc, 0x58, 0x05, 0x00
.byte 0x13, 0x5a, 0x05, 0x00
.byte 0x49, 0x5b, 0x05, 0x00
.byte 0x7d, 0x5c, 0x05, 0x00
.byte 0xb0, 0x5d, 0x05, 0x00
.byte 0xe2, 0x5e, 0x05, 0x00
.byte 0x12, 0x60, 0x05, 0x00
.byte 0x40, 0x61, 0x05, 0x00
.byte 0x6e, 0x62, 0x05, 0x00
.byte 0x9a, 0x63, 0x05, 0x00
.byte 0xc4, 0x64, 0x05, 0x00
.byte 0xed, 0x65, 0x05, 0x00
.byte 0x15, 0x67, 0x05, 0x00
.byte 0x3c, 0x68, 0x05, 0x00
.byte 0x61, 0x69, 0x05, 0x00
.byte 0x85, 0x6a, 0x05, 0x00
.byte 0xa8, 0x6b, 0x05, 0x00
.byte 0xc9, 0x6c, 0x05, 0x00
.byte 0xe9, 0x6d, 0x05, 0x00
.byte 0x08, 0x6f, 0x05, 0x00
.byte 0x25, 0x70, 0x05, 0x00
.byte 0x42, 0x71, 0x05, 0x00
.byte 0x5d, 0x72, 0x05, 0x00
.byte 0x77, 0x73, 0x05, 0x00
.byte 0x8f, 0x74, 0x05, 0x00
.byte 0xa7, 0x75, 0x05, 0x00
.byte 0xbd, 0x76, 0x05, 0x00
.byte 0xd2, 0x77, 0x05, 0x00
.byte 0xe6, 0x78, 0x05, 0x00
.byte 0xf9, 0x79, 0x05, 0x00
.byte 0x0b, 0x7b, 0x05, 0x00
.byte 0x1b, 0x7c, 0x05, 0x00
.byte 0x2b, 0x7d, 0x05, 0x00
.byte 0x39, 0x7e, 0x05, 0x00
.byte 0x46, 0x7f, 0x05, 0x00
.byte 0x52, 0x80, 0x05, 0x00
.byte 0x5d, 0x81, 0x05, 0x00
.byte 0x67, 0x82, 0x05, 0x00
.byte 0x70, 0x83, 0x05, 0x00
.byte 0x77, 0x84, 0x05, 0x00
.byte 0x7e, 0x85, 0x05, 0x00
.byte 0x84, 0x86, 0x05, 0x00
.byte 0x88, 0x87, 0x05, 0x00
.byte 0x8c, 0x88, 0x05, 0x00
.byte 0x8e, 0x89, 0x05, 0x00
.byte 0x90, 0x8a, 0x05, 0x00
.byte 0x90, 0x8b, 0x05, 0x00
.byte 0x90, 0x8c, 0x05, 0x00
.byte 0x8e, 0x8d, 0x05, 0x00
.byte 0x8c, 0x8e, 0x05, 0x00
.byte 0x88, 0x8f, 0x05, 0x00
.byte 0x84, 0x90, 0x05, 0x00
.byte 0x7f, 0x91, 0x05, 0x00
.byte 0x78, 0x92, 0x05, 0x00
.byte 0x71, 0x93, 0x05, 0x00
.byte 0x69, 0x94, 0x05, 0x00
.byte 0x60, 0x95, 0x05, 0x00
.byte 0x55, 0x96, 0x05, 0x00
.byte 0x4a, 0x97, 0x05, 0x00
.byte 0x3f, 0x98, 0x05, 0x00
.byte 0x32, 0x99, 0x05, 0x00
.byte 0x24, 0x9a, 0x05, 0x00
.byte 0x15, 0x9b, 0x05, 0x00
.byte 0x06, 0x9c, 0x05, 0x00
.byte 0xf5, 0x9c, 0x05, 0x00
.byte 0xe4, 0x9d, 0x05, 0x00
.byte 0xd2, 0x9e, 0x05, 0x00
.byte 0xbf, 0x9f, 0x05, 0x00
.byte 0xab, 0xa0, 0x05, 0x00
.byte 0x97, 0xa1, 0x05, 0x00
.byte 0x81, 0xa2, 0x05, 0x00
.byte 0x6b, 0xa3, 0x05, 0x00
.byte 0x54, 0xa4, 0x05, 0x00
.byte 0x3c, 0xa5, 0x05, 0x00
.byte 0x23, 0xa6, 0x05, 0x00
.byte 0x09, 0xa7, 0x05, 0x00
.byte 0xef, 0xa7, 0x05, 0x00
.byte 0xd3, 0xa8, 0x05, 0x00
.byte 0xb7, 0xa9, 0x05, 0x00
.byte 0x9a, 0xaa, 0x05, 0x00
.byte 0x7d, 0xab, 0x05, 0x00
.byte 0x5e, 0xac, 0x05, 0x00
.byte 0x3f, 0xad, 0x05, 0x00
.byte 0x1f, 0xae, 0x05, 0x00
.byte 0xff, 0xae, 0x05, 0x00
.byte 0xdd, 0xaf, 0x05, 0x00
.byte 0xbb, 0xb0, 0x05, 0x00
.byte 0x98, 0xb1, 0x05, 0x00
.byte 0x74, 0xb2, 0x05, 0x00
.byte 0x50, 0xb3, 0x05, 0x00