diff --git a/data/data3_a1.s b/data/data3_a1.s index 7516c34ff..14d3b54df 100644 --- a/data/data3_a1.s +++ b/data/data3_a1.s @@ -5,460 +5,6 @@ .section .rodata -gUnknown_0858AB24:: @ 858AB24 -@ replacing .incbin "baserom.gba", 0x0058ab24, 0xac - .2byte 50, 20 - .2byte 50, 20 - .2byte 50, 20 - .2byte 50, 20 - .2byte 50, 20 - .2byte 50, 30 - .2byte 50, 30 - .2byte 50, 30 - .2byte 50, 30 - .2byte 50, 30 - .2byte 60, 50 - .2byte 60, 50 - .2byte 60, 50 - .2byte 60, 50 - .2byte 60, 50 - .2byte 80, 70 - .2byte 80, 70 - .2byte 80, 70 - .2byte 80, 70 - .2byte 80, 70 - .2byte 100, 100 - .2byte 100, 100 - .2byte 100, 100 - .2byte 100, 100 - .2byte 100, 100 - .2byte 130, 150 - .2byte 130, 150 - .2byte 130, 150 - .2byte 130, 150 - .2byte 130, 150 - .2byte 160, 250 - .2byte 160, 250 - .2byte 160, 250 - .2byte 160, 250 - .2byte 160, 250 - .2byte 180, 500 - .2byte 180, 500 - .2byte 180, 500 - .2byte 180, 500 - .2byte 180, 500 - .2byte 200, 750 - .2byte 200, 750 - .2byte 150, 200 - -gBlankBerryTree:: @ 858ABD0 - .4byte 0x0, 0x0 - -gUnknown_0858ABD8:: @ 858ABD8 -@ replacing .incbin "baserom.gba", 0x0058abd8, 0xb88 - .4byte gUnknown_085ead37, 0 - .4byte gUnknown_085ead41, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085ead67, 0 - .4byte gUnknown_085ead6d, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085ead72, 0 - .4byte gUnknown_085ead84, 0 - .4byte gUnknown_085ead96, 0 - .4byte gText_Cancel2, 0 - .4byte gUnknown_085EADA4, 0 - .4byte gUnknown_085EADB5, 0 - .4byte gUnknown_085EADC4, 0 - .4byte gUnknown_085EADD5, 0 - .4byte gUnknown_085EADE7, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eadf9, 0 - .4byte gUnknown_085eae04, 0 - .4byte gUnknown_085eae12, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eadf9, 0 - .4byte gUnknown_085eae04, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085e8ccb, 0 - .4byte gUnknown_085eae12, 0 - .4byte gUnknown_085eae1b, 0 - .4byte gText_Cancel2, 0 - .4byte gUnknown_085eae27, 0 - .4byte gUnknown_085eae2c, 0 - .4byte gUnknown_085eae31, 0 - .4byte gUnknown_085eae35, 0 - .4byte gUnknown_085eae39, 0 - .4byte gUnknown_085eae3d, 0 - .4byte gUnknown_085eae41, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085ead5f, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eae53, 0 - .4byte gUnknown_085eae5a, 0 - .4byte gText_Yes, 0 - .4byte gText_No, 0 - .4byte gUnknown_085ead6d, 0 - .4byte gUnknown_085eaea2, 0 - .4byte gUnknown_085eaeac, 0 - .4byte gText_Exit, 0 - .4byte gText_Lv50, 0 - .4byte gText_OpenLevel, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_0027ecbc, 0 - .4byte gUnknown_0027ecc3, 0 - .4byte gUnknown_0027eccd, 0 - .4byte gUnknown_0027ecd5, 0 - .4byte gUnknown_0027ecdd, 0 - .4byte gUnknown_0027ece3, 0 - .4byte gUnknown_0027eceb, 0 - .4byte gUnknown_0027ecf2, 0 - .4byte gUnknown_0027ecf8, 0 - .4byte gUnknown_0027ed00, 0 - .4byte gUnknown_0027ed06, 0 - .4byte gUnknown_0027ed10, 0 - .4byte gUnknown_0027ed18, 0 - .4byte gUnknown_0027ed22, 0 - .4byte gUnknown_0027ed2c, 0 - .4byte gUnknown_0027ed36, 0 - .4byte gUnknown_0027ed40, 0 - .4byte gUnknown_0027ed46, 0 - .4byte gUnknown_0027ed4f, 0 - .4byte gUnknown_0027ed59, 0 - .4byte gUnknown_0027ed65, 0 - .4byte gUnknown_0027ed70, 0 - .4byte gUnknown_0027ed74, 0 - .4byte gUnknown_0027ed78, 0 - .4byte gUnknown_0027ed80, 0 - .4byte gUnknown_0027ed95, 0 - .4byte gUnknown_0027edaa, 0 - .4byte gUnknown_0027edb5, 0 - .4byte gUnknown_0027edba, 0 - .4byte gUnknown_0027edc1, 0 - .4byte gUnknown_0027edc9, 0 - .4byte gUnknown_0027edd5, 0 - .4byte gUnknown_0027ede4, 0 - .4byte gUnknown_0027edf0, 0 - .4byte gUnknown_0027edf5, 0 - .4byte gUnknown_0027edf7, 0 - .4byte gUnknown_0027edf9, 0 - .4byte gUnknown_0027edfb, 0 - .4byte gUnknown_0027edfd, 0 - .4byte gUnknown_0027edff, 0 - .4byte gUnknown_0027ee01, 0 - .4byte gUnknown_0027ee03, 0 - .4byte gUnknown_0027ee05, 0 - .4byte gUnknown_0027ee07, 0 - .4byte gUnknown_0027ee09, 0 - .4byte gUnknown_085eaec3, 0 - .4byte gUnknown_085eaed6, 0 - .4byte gUnknown_085eaee6, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eaef6, 0 - .4byte gUnknown_085eaf02, 0 - .4byte gUnknown_085eaf0e, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eaf1b, 0 - .4byte gUnknown_085eaf24, 0 - .4byte gUnknown_085eaf2f, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eaf34, 0 - .4byte gUnknown_085eaf3e, 0 - .4byte gUnknown_085eaf4b, 0 - .4byte gUnknown_085eaf58, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eaf65, 0 - .4byte gUnknown_085eaf70, 0 - .4byte gUnknown_085eaf7d, 0 - .4byte gUnknown_085eaf87, 0 - .4byte gUnknown_085eaf93, 0 - .4byte gUnknown_085eaf9f, 0 - .4byte gUnknown_085eafab, 0 - .4byte gText_Cancel2, 0 - .4byte gUnknown_085eafb6, 0 - .4byte gUnknown_085eafcf, 0 - .4byte gUnknown_085eafe8, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb089, 0 - .4byte gUnknown_085eb09c, 0 - .4byte gUnknown_085eb0af, 0 - .4byte gUnknown_085eb0c2, 0 - .4byte gUnknown_085eb0d5, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb002, 0 - .4byte gUnknown_085eb017, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb02a, 0 - .4byte gUnknown_085eb034, 0 - .4byte gUnknown_085eb79b, 0 - .4byte gUnknown_085eb06e, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb7a9, 0 - .4byte gUnknown_085eb79b, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb07e, 0 - .4byte gUnknown_085eb084, 0 - .4byte gUnknown_085eb79b, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb676, 0 - .4byte gUnknown_085eb673, 0 - .4byte gUnknown_085eb670, 0 - .4byte gUnknown_085eb66d, 0 - .4byte gUnknown_085eb66a, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb057, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb057, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb057, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb057, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb057, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb057, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb057, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb040, 0 - .4byte gUnknown_085eb04a, 0 - .4byte gUnknown_085eb057, 0 - .4byte gUnknown_085eb062, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb1a0, 0 - .4byte gUnknown_085eb1a9, 0 - .4byte gUnknown_085eb1b6, 0 - .4byte gUnknown_085eb5bc, 0 - .4byte gUnknown_085eb5c3, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085eb1a0, 0 - .4byte gUnknown_085eb1a9, 0 - .4byte gUnknown_085eb1b6, 0 - .4byte gUnknown_085eb5c3, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085eb29a, 0 - .4byte gUnknown_085eb2a3, 0 - .4byte gUnknown_085eb372, 0 - .4byte gUnknown_085eb37f, 0 - .4byte gUnknown_085eb389, 0 - .4byte gText_Exit, 0 - .4byte gText_Yes, 0 - .4byte gText_No, 0 - .4byte gUnknown_085ead6d, 0 - .4byte gUnknown_085eae6e, 0 - .4byte gUnknown_085eae7c, 0 - .4byte gUnknown_085eae8a, 0 - .4byte gUnknown_085ead6d, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb372, 0 - .4byte gUnknown_085eb37f, 0 - .4byte gUnknown_085eb397, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb372, 0 - .4byte gUnknown_085eb37f, 0 - .4byte gUnknown_085eb389, 0 - .4byte gUnknown_085eb397, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb372, 0 - .4byte gUnknown_085eb37f, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb3a4, 0 - .4byte gUnknown_085eb3b1, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb3d4, 0 - .4byte gUnknown_085eb3c6, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb1c5, 0 - .4byte gUnknown_085eb1d1, 0 - .4byte gUnknown_085eb1dc, 0 - .4byte gUnknown_085eb1e7, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb212, 0 - .4byte gUnknown_085eb21d, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb227, 0 - .4byte gUnknown_085eb234, 0 - .4byte gUnknown_085eb241, 0 - .4byte gText_Cancel2, 0 - .4byte gUnknown_085eb24e, 0 - .4byte gUnknown_085eb255, 0 - .4byte gText_Exit, 0 - .4byte gText_MenuOptionPokedex, 0 - .4byte gText_MenuOptionPokemon, 0 - .4byte gText_MenuOptionBag, 0 - .4byte gText_MenuOptionPokenav, 0 - .4byte gUnknown_085eb278, 0 - .4byte gText_MenuOptionSave, 0 - .4byte gText_MenuOptionOption, 0 - .4byte gText_MenuOptionExit, 0 - .4byte gUnknown_085eb28a, 0 - .4byte gUnknown_085eb290, 0 - .4byte gUnknown_085eb295, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb2ad, 0 - .4byte gUnknown_085eb2bd, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb2ad, 0 - .4byte gUnknown_085eb2ca, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb2bd, 0 - .4byte gUnknown_085eb2ca, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb2ad, 0 - .4byte gUnknown_085eb2bd, 0 - .4byte gUnknown_085eb2ca, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb2e4, 0 - .4byte gUnknown_085eb2f0, 0 - .4byte gText_Exit, 0 - .4byte gText_Yes, 0 - .4byte gUnknown_085eb2fc, 0 - .4byte gUnknown_085eb3df, 0 - .4byte gUnknown_085eb3ea, 0 - .4byte gUnknown_085eb3f1, 0 - .4byte gUnknown_085eb3fc, 0 - .4byte gUnknown_085eb40a, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb415, 0 - .4byte gUnknown_085eb41d, 0 - .4byte gUnknown_085eb424, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb45c, 0 - .4byte gUnknown_085eb469, 0 - .4byte gUnknown_085eb475, 0 - .4byte gUnknown_085eb482, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb42f, 0 - .4byte gUnknown_085eb43a, 0 - .4byte gUnknown_085eb444, 0 - .4byte gUnknown_085eb451, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb48e, 0 - .4byte gUnknown_085eb496, 0 - .4byte gUnknown_085eb4a3, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb4ad, 0 - .4byte gUnknown_085eb4b9, 0 - .4byte gUnknown_085eb4c7, 0 - .4byte gUnknown_085eb4d4, 0 - .4byte gUnknown_085eb4e0, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb4eb, 0 - .4byte gUnknown_085eb4f9, 0 - .4byte gUnknown_085eb508, 0 - .4byte gUnknown_085eb516, 0 - .4byte gUnknown_085eb523, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb532, 0 - .4byte gUnknown_085eb543, 0 - .4byte gUnknown_085eb555, 0 - .4byte gUnknown_085eb563, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb56e, 0 - .4byte gUnknown_085eb57e, 0 - .4byte gUnknown_085eb589, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb5b6, 0 - .4byte gUnknown_085eb5bc, 0 - .4byte gUnknown_085eb5c3, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085eb5b6, 0 - .4byte gUnknown_085eb5c3, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085eb5b6, 0 - .4byte gUnknown_085eb5bc, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085eb5b6, 0 - .4byte gUnknown_085eb5c8, 0 - .4byte gUnknown_085ee14b, 0 - .4byte gUnknown_085ee14f, 0 - .4byte gUnknown_085eb2ff, 0 - .4byte gUnknown_085eb310, 0 - .4byte gUnknown_085eb317, 0 - .4byte gUnknown_085eb31f, 0 - .4byte gUnknown_085eb7b8, 0 - .4byte gUnknown_085eb7c7, 0 - .4byte gUnknown_085eb7d0, 0 - .4byte gUnknown_085eb7db, 0 - .4byte gUnknown_085eb4ad, 0 - .4byte gUnknown_085eb4b9, 0 - .4byte gUnknown_085eb4c7, 0 - .4byte gUnknown_085eb4d4, 0 - .4byte gUnknown_085eb597, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb5a6, 0 - .4byte gUnknown_085eb45c, 0 - .4byte gUnknown_085eb469, 0 - .4byte gUnknown_085eb475, 0 - .4byte gUnknown_085eb482, 0 - .4byte gText_Exit, 0 - .4byte gUnknown_085eb32d, 0 - .4byte gUnknown_085eb33e, 0 - .4byte gUnknown_085eb350, 0 - .4byte gUnknown_085eb361, 0 - .4byte gText_Exit, 0 - .4byte gText_Exit, 0 - -gUnknown_0858B760:: @ 858B760 - .incbin "baserom.gba", 0x58b760, 0x390 - -gUnknown_0858BAF0:: @ 858BAF0 - .incbin "baserom.gba", 0x58baf0, 0x78 - -gUnknown_0858BB68:: @ 858BB68 - .incbin "baserom.gba", 0x58bb68, 0x8 - -gUnknown_0858BB70:: @ 858BB70 - .incbin "baserom.gba", 0x58bb70, 0x10 - -gUnknown_0858BB80:: @ 858BB80 - .incbin "baserom.gba", 0x58bb80, 0x1c - -gUnknown_0858BB9C:: @ 858BB9C - .incbin "baserom.gba", 0x58bb9c, 0x10 - -gUnknown_0858BBAC:: @ 858BBAC - .incbin "baserom.gba", 0x58bbac, 0x10 - -gUnknown_0858BBBC:: @ 858BBBC - .incbin "baserom.gba", 0x58bbbc, 0x10 - -gUnknown_0858BBCC:: @ 858BBCC - .incbin "baserom.gba", 0x58bbcc, 0x14 - -gUnknown_0858BBE0:: @ 858BBE0 - .incbin "baserom.gba", 0x58bbe0, 0xc - -gUnknown_0858BBEC:: @ 858BBEC - .incbin "baserom.gba", 0x58bbec, 0x18c - gUnknown_0858BD78:: @ 858BD78 .incbin "baserom.gba", 0x58bd78, 0x40 diff --git a/data/event_scripts.s b/data/event_scripts.s index 30e2aa335..b3aa055d8 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -686,139 +686,139 @@ gUnknown_0827E8DA:: @ 827E8DA gUnknown_0827EA0C:: @ 827EA0C .incbin "baserom.gba", 0x27ea0c, 0x2b0 -gUnknown_0027ecbc:: @ 27ECBC +gUnknown_0827ecbc:: @ 27ECBC .incbin "baserom.gba", 0x27ecbc, 0x7 -gUnknown_0027ecc3:: @ 27ECC3 +gUnknown_0827ecc3:: @ 27ECC3 .incbin "baserom.gba", 0x27ecc3, 0xa -gUnknown_0027eccd:: @ 27ECCD +gUnknown_0827eccd:: @ 27ECCD .incbin "baserom.gba", 0x27eccd, 0x8 -gUnknown_0027ecd5:: @ 27ECD5 +gUnknown_0827ecd5:: @ 27ECD5 .incbin "baserom.gba", 0x27ecd5, 0x8 -gUnknown_0027ecdd:: @ 27ECDD +gUnknown_0827ecdd:: @ 27ECDD .incbin "baserom.gba", 0x27ecdd, 0x6 -gUnknown_0027ece3:: @ 27ECE3 +gUnknown_0827ece3:: @ 27ECE3 .incbin "baserom.gba", 0x27ece3, 0x8 -gUnknown_0027eceb:: @ 27ECEB +gUnknown_0827eceb:: @ 27ECEB .incbin "baserom.gba", 0x27eceb, 0x7 -gUnknown_0027ecf2:: @ 27ECF2 +gUnknown_0827ecf2:: @ 27ECF2 .incbin "baserom.gba", 0x27ecf2, 0x6 -gUnknown_0027ecf8:: @ 27ECF8 +gUnknown_0827ecf8:: @ 27ECF8 .incbin "baserom.gba", 0x27ecf8, 0x8 -gUnknown_0027ed00:: @ 27ED00 +gUnknown_0827ed00:: @ 27ED00 .incbin "baserom.gba", 0x27ed00, 0x6 -gUnknown_0027ed06:: @ 27ED06 +gUnknown_0827ed06:: @ 27ED06 .incbin "baserom.gba", 0x27ed06, 0xa -gUnknown_0027ed10:: @ 27ED10 +gUnknown_0827ed10:: @ 27ED10 .incbin "baserom.gba", 0x27ed10, 0x8 -gUnknown_0027ed18:: @ 27ED18 +gUnknown_0827ed18:: @ 27ED18 .incbin "baserom.gba", 0x27ed18, 0xa -gUnknown_0027ed22:: @ 27ED22 +gUnknown_0827ed22:: @ 27ED22 .incbin "baserom.gba", 0x27ed22, 0xa -gUnknown_0027ed2c:: @ 27ED2C +gUnknown_0827ed2c:: @ 27ED2C .incbin "baserom.gba", 0x27ed2c, 0xa -gUnknown_0027ed36:: @ 27ED36 +gUnknown_0827ed36:: @ 27ED36 .incbin "baserom.gba", 0x27ed36, 0xa -gUnknown_0027ed40:: @ 27ED40 +gUnknown_0827ed40:: @ 27ED40 .incbin "baserom.gba", 0x27ed40, 0x6 -gUnknown_0027ed46:: @ 27ED46 +gUnknown_0827ed46:: @ 27ED46 .incbin "baserom.gba", 0x27ed46, 0x9 -gUnknown_0027ed4f:: @ 27ED4F +gUnknown_0827ed4f:: @ 27ED4F .incbin "baserom.gba", 0x27ed4f, 0xa -gUnknown_0027ed59:: @ 27ED59 +gUnknown_0827ed59:: @ 27ED59 .incbin "baserom.gba", 0x27ed59, 0xc -gUnknown_0027ed65:: @ 27ED65 +gUnknown_0827ed65:: @ 27ED65 .incbin "baserom.gba", 0x27ed65, 0xb -gUnknown_0027ed70:: @ 27ED70 +gUnknown_0827ed70:: @ 27ED70 .incbin "baserom.gba", 0x27ed70, 0x4 -gUnknown_0027ed74:: @ 27ED74 +gUnknown_0827ed74:: @ 27ED74 .incbin "baserom.gba", 0x27ed74, 0x4 -gUnknown_0027ed78:: @ 27ED78 +gUnknown_0827ed78:: @ 27ED78 .incbin "baserom.gba", 0x27ed78, 0x8 -gUnknown_0027ed80:: @ 27ED80 +gUnknown_0827ed80:: @ 27ED80 .incbin "baserom.gba", 0x27ed80, 0x15 -gUnknown_0027ed95:: @ 27ED95 +gUnknown_0827ed95:: @ 27ED95 .incbin "baserom.gba", 0x27ed95, 0x15 -gUnknown_0027edaa:: @ 27EDAA +gUnknown_0827edaa:: @ 27EDAA .incbin "baserom.gba", 0x27edaa, 0xb -gUnknown_0027edb5:: @ 27EDB5 +gUnknown_0827edb5:: @ 27EDB5 .incbin "baserom.gba", 0x27edb5, 0x5 -gUnknown_0027edba:: @ 27EDBA +gUnknown_0827edba:: @ 27EDBA .incbin "baserom.gba", 0x27edba, 0x7 -gUnknown_0027edc1:: @ 27EDC1 +gUnknown_0827edc1:: @ 27EDC1 .incbin "baserom.gba", 0x27edc1, 0x8 -gUnknown_0027edc9:: @ 27EDC9 +gUnknown_0827edc9:: @ 27EDC9 .incbin "baserom.gba", 0x27edc9, 0xc -gUnknown_0027edd5:: @ 27EDD5 +gUnknown_0827edd5:: @ 27EDD5 .incbin "baserom.gba", 0x27edd5, 0xf -gUnknown_0027ede4:: @ 27EDE4 +gUnknown_0827ede4:: @ 27EDE4 .incbin "baserom.gba", 0x27ede4, 0xc -gUnknown_0027edf0:: @ 27EDF0 +gUnknown_0827edf0:: @ 27EDF0 .incbin "baserom.gba", 0x27edf0, 0x5 -gUnknown_0027edf5:: @ 27EDF5 +gUnknown_0827edf5:: @ 27EDF5 .incbin "baserom.gba", 0x27edf5, 0x2 -gUnknown_0027edf7:: @ 27EDF7 +gUnknown_0827edf7:: @ 27EDF7 .incbin "baserom.gba", 0x27edf7, 0x2 -gUnknown_0027edf9:: @ 27EDF9 +gUnknown_0827edf9:: @ 27EDF9 .incbin "baserom.gba", 0x27edf9, 0x2 -gUnknown_0027edfb:: @ 27EDFB +gUnknown_0827edfb:: @ 27EDFB .incbin "baserom.gba", 0x27edfb, 0x2 -gUnknown_0027edfd:: @ 27EDFD +gUnknown_0827edfd:: @ 27EDFD .incbin "baserom.gba", 0x27edfd, 0x2 -gUnknown_0027edff:: @ 27EDFF +gUnknown_0827edff:: @ 27EDFF .incbin "baserom.gba", 0x27edff, 0x2 -gUnknown_0027ee01:: @ 27EE01 +gUnknown_0827ee01:: @ 27EE01 .incbin "baserom.gba", 0x27ee01, 0x2 -gUnknown_0027ee03:: @ 27EE03 +gUnknown_0827ee03:: @ 27EE03 .incbin "baserom.gba", 0x27ee03, 0x2 -gUnknown_0027ee05:: @ 27EE05 +gUnknown_0827ee05:: @ 27EE05 .incbin "baserom.gba", 0x27ee05, 0x2 -gUnknown_0027ee07:: @ 27EE07 +gUnknown_0827ee07:: @ 27EE07 .incbin "baserom.gba", 0x27ee07, 0x2 -gUnknown_0027ee09:: @ 27EE09 +gUnknown_0827ee09:: @ 27EE09 .incbin "baserom.gba", 0x27ee09, 0x2 gUnknown_0827EE0B:: @ 827EE0B diff --git a/data/script_menu.s b/data/script_menu.s new file mode 100644 index 000000000..3a98e2fa5 --- /dev/null +++ b/data/script_menu.s @@ -0,0 +1,827 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnknown_0858ABD8:: @ 858ABD8 +@ replacing .incbin "baserom.gba", 0x0058abd8, 0x18 + .4byte gUnknown_085ead37, 0 + .4byte gUnknown_085ead41, 0 + .4byte gText_Exit, 0 + +gUnknown_0858abf0:: @ 58ABF0 +@ replacing .incbin "baserom.gba", 0x0058abf0, 0x18 + .4byte gUnknown_085ead67, 0 + .4byte gUnknown_085ead6d, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ac08:: @ 58AC08 +@ replacing .incbin "baserom.gba", 0x0058ac08, 0x20 + .4byte gUnknown_085ead72, 0 + .4byte gUnknown_085ead84, 0 + .4byte gUnknown_085ead96, 0 + .4byte gText_Cancel2, 0 + +gUnknown_0858ac28:: @ 58AC28 +@ replacing .incbin "baserom.gba", 0x0058ac28, 0x30 + .4byte gUnknown_085EADA4, 0 + .4byte gUnknown_085EADB5, 0 + .4byte gUnknown_085EADC4, 0 + .4byte gUnknown_085EADD5, 0 + .4byte gUnknown_085EADE7, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ac58:: @ 58AC58 +@ replacing .incbin "baserom.gba", 0x0058ac58, 0x20 + .4byte gUnknown_085eadf9, 0 + .4byte gUnknown_085eae04, 0 + .4byte gUnknown_085eae12, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ac78:: @ 58AC78 +@ replacing .incbin "baserom.gba", 0x0058ac78, 0x18 + .4byte gUnknown_085eadf9, 0 + .4byte gUnknown_085eae04, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ac90:: @ 58AC90 +@ replacing .incbin "baserom.gba", 0x0058ac90, 0x20 + .4byte gUnknown_085e8ccb, 0 + .4byte gUnknown_085eae12, 0 + .4byte gUnknown_085eae1b, 0 + .4byte gText_Cancel2, 0 + +gUnknown_0858acb0:: @ 58ACB0 +@ replacing .incbin "baserom.gba", 0x0058acb0, 0x10 + .4byte gUnknown_085eae27, 0 + .4byte gUnknown_085eae2c, 0 + +gUnknown_0858acc0:: @ 58ACC0 +@ replacing .incbin "baserom.gba", 0x0058acc0, 0x30 + .4byte gUnknown_085eae31, 0 + .4byte gUnknown_085eae35, 0 + .4byte gUnknown_085eae39, 0 + .4byte gUnknown_085eae3d, 0 + .4byte gUnknown_085eae41, 0 + .4byte gText_Exit, 0 + +gUnknown_0858acf0:: @ 58ACF0 +@ replacing .incbin "baserom.gba", 0x0058acf0, 0x10 + .4byte gUnknown_085ead5f, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ad00:: @ 58AD00 +@ replacing .incbin "baserom.gba", 0x0058ad00, 0x10 + .4byte gUnknown_085eae53, 0 + .4byte gUnknown_085eae5a, 0 + +gUnknown_0858ad10:: @ 58AD10 +@ replacing .incbin "baserom.gba", 0x0058ad10, 0x18 + .4byte gText_Yes, 0 + .4byte gText_No, 0 + .4byte gUnknown_085ead6d, 0 + +gUnknown_0858ad28:: @ 58AD28 +@ replacing .incbin "baserom.gba", 0x0058ad28, 0x18 + .4byte gUnknown_085eaea2, 0 + .4byte gUnknown_085eaeac, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ad40:: @ 58AD40 +@ replacing .incbin "baserom.gba", 0x0058ad40, 0x18 + .4byte gText_Lv50, 0 + .4byte gText_OpenLevel, 0 + .4byte gText_Exit, 0 + +gUnknown_0858ad58:: @ 58AD58 +@ replacing .incbin "baserom.gba", 0x0058ad58, 0x18 + .4byte gUnknown_0827ecbc, 0 + .4byte gUnknown_0827ecc3, 0 + .4byte gUnknown_0827eccd, 0 + +gUnknown_0858ad70:: @ 58AD70 +@ replacing .incbin "baserom.gba", 0x0058ad70, 0x18 + .4byte gUnknown_0827ecd5, 0 + .4byte gUnknown_0827ecdd, 0 + .4byte gUnknown_0827ece3, 0 + +gUnknown_0858ad88:: @ 58AD88 +@ replacing .incbin "baserom.gba", 0x0058ad88, 0x18 + .4byte gUnknown_0827eceb, 0 + .4byte gUnknown_0827ecf2, 0 + .4byte gUnknown_0827ecf8, 0 + +gUnknown_0858ada0:: @ 58ADA0 +@ replacing .incbin "baserom.gba", 0x0058ada0, 0x18 + .4byte gUnknown_0827ed00, 0 + .4byte gUnknown_0827ed06, 0 + .4byte gUnknown_0827ed10, 0 + +gUnknown_0858adb8:: @ 58ADB8 +@ replacing .incbin "baserom.gba", 0x0058adb8, 0x18 + .4byte gUnknown_0827ed18, 0 + .4byte gUnknown_0827ed22, 0 + .4byte gUnknown_0827ed2c, 0 + +gUnknown_0858add0:: @ 58ADD0 +@ replacing .incbin "baserom.gba", 0x0058add0, 0x18 + .4byte gUnknown_0827ed36, 0 + .4byte gUnknown_0827ed40, 0 + .4byte gUnknown_0827ed46, 0 + +gUnknown_0858ade8:: @ 58ADE8 +@ replacing .incbin "baserom.gba", 0x0058ade8, 0x18 + .4byte gUnknown_0827ed4f, 0 + .4byte gUnknown_0827ed59, 0 + .4byte gUnknown_0827ed65, 0 + +gUnknown_0858ae00:: @ 58AE00 +@ replacing .incbin "baserom.gba", 0x0058ae00, 0x18 + .4byte gUnknown_0827ed70, 0 + .4byte gUnknown_0827ed74, 0 + .4byte gUnknown_0827ed78, 0 + +gUnknown_0858ae18:: @ 58AE18 +@ replacing .incbin "baserom.gba", 0x0058ae18, 0x18 + .4byte gUnknown_0827ed80, 0 + .4byte gUnknown_0827ed95, 0 + .4byte gUnknown_0827edaa, 0 + +gUnknown_0858ae30:: @ 58AE30 +@ replacing .incbin "baserom.gba", 0x0058ae30, 0x18 + .4byte gUnknown_0827edb5, 0 + .4byte gUnknown_0827edba, 0 + .4byte gUnknown_0827edc1, 0 + +gUnknown_0858ae48:: @ 58AE48 +@ replacing .incbin "baserom.gba", 0x0058ae48, 0x18 + .4byte gUnknown_0827edc9, 0 + .4byte gUnknown_0827edd5, 0 + .4byte gUnknown_0827ede4, 0 + +gUnknown_0858ae60:: @ 58AE60 +@ replacing .incbin "baserom.gba", 0x0058ae60, 0x18 + .4byte gUnknown_0827edf0, 0 + .4byte gUnknown_0827edf5, 0 + .4byte gUnknown_0827edf7, 0 + +gUnknown_0858ae78:: @ 58AE78 +@ replacing .incbin "baserom.gba", 0x0058ae78, 0x18 + .4byte gUnknown_0827edf9, 0 + .4byte gUnknown_0827edfb, 0 + .4byte gUnknown_0827edfd, 0 + +gUnknown_0858ae90:: @ 58AE90 +@ replacing .incbin "baserom.gba", 0x0058ae90, 0x18 + .4byte gUnknown_0827edff, 0 + .4byte gUnknown_0827ee01, 0 + .4byte gUnknown_0827ee03, 0 + +gUnknown_0858aea8:: @ 58AEA8 +@ replacing .incbin "baserom.gba", 0x0058aea8, 0x18 + .4byte gUnknown_0827ee05, 0 + .4byte gUnknown_0827ee07, 0 + .4byte gUnknown_0827ee09, 0 + +gUnknown_0858aec0:: @ 58AEC0 +@ replacing .incbin "baserom.gba", 0x0058aec0, 0x20 + .4byte gUnknown_085eaec3, 0 + .4byte gUnknown_085eaed6, 0 + .4byte gUnknown_085eaee6, 0 + .4byte gText_Exit, 0 + +gUnknown_0858aee0:: @ 58AEE0 +@ replacing .incbin "baserom.gba", 0x0058aee0, 0x20 + .4byte gUnknown_085eaef6, 0 + .4byte gUnknown_085eaf02, 0 + .4byte gUnknown_085eaf0e, 0 + .4byte gText_Exit, 0 + +gUnknown_0858af00:: @ 58AF00 +@ replacing .incbin "baserom.gba", 0x0058af00, 0x20 + .4byte gUnknown_085eaf1b, 0 + .4byte gUnknown_085eaf24, 0 + .4byte gUnknown_085eaf2f, 0 + .4byte gText_Exit, 0 + +gUnknown_0858af20:: @ 58AF20 +@ replacing .incbin "baserom.gba", 0x0058af20, 0x10 + .4byte gUnknown_085eaf34, 0 + .4byte gUnknown_085eaf3e, 0 + +gUnknown_0858af30:: @ 58AF30 +@ replacing .incbin "baserom.gba", 0x0058af30, 0x18 + .4byte gUnknown_085eaf4b, 0 + .4byte gUnknown_085eaf58, 0 + .4byte gText_Exit, 0 + +gUnknown_0858af48:: @ 58AF48 +@ replacing .incbin "baserom.gba", 0x0058af48, 0x40 + .4byte gUnknown_085eaf65, 0 + .4byte gUnknown_085eaf70, 0 + .4byte gUnknown_085eaf7d, 0 + .4byte gUnknown_085eaf87, 0 + .4byte gUnknown_085eaf93, 0 + .4byte gUnknown_085eaf9f, 0 + .4byte gUnknown_085eafab, 0 + .4byte gText_Cancel2, 0 + +gUnknown_0858af88:: @ 58AF88 +@ replacing .incbin "baserom.gba", 0x0058af88, 0x20 + .4byte gUnknown_085eafb6, 0 + .4byte gUnknown_085eafcf, 0 + .4byte gUnknown_085eafe8, 0 + .4byte gText_Exit, 0 + +gUnknown_0858afa8:: @ 58AFA8 +@ replacing .incbin "baserom.gba", 0x0058afa8, 0x30 + .4byte gUnknown_085eb089, 0 + .4byte gUnknown_085eb09c, 0 + .4byte gUnknown_085eb0af, 0 + .4byte gUnknown_085eb0c2, 0 + .4byte gUnknown_085eb0d5, 0 + .4byte gText_Exit, 0 + +gUnknown_0858afd8:: @ 58AFD8 +@ replacing .incbin "baserom.gba", 0x0058afd8, 0x18 + .4byte gUnknown_085eb002, 0 + .4byte gUnknown_085eb017, 0 + .4byte gText_Exit, 0 + +gUnknown_0858aff0:: @ 58AFF0 +@ replacing .incbin "baserom.gba", 0x0058aff0, 0x10 + .4byte gUnknown_085eb02a, 0 + .4byte gUnknown_085eb034, 0 + +gUnknown_0858b000:: @ 58B000 +@ replacing .incbin "baserom.gba", 0x0058b000, 0x18 + .4byte gUnknown_085eb79b, 0 + .4byte gUnknown_085eb06e, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b018:: @ 58B018 +@ replacing .incbin "baserom.gba", 0x0058b018, 0x18 + .4byte gUnknown_085eb7a9, 0 + .4byte gUnknown_085eb79b, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b030:: @ 58B030 +@ replacing .incbin "baserom.gba", 0x0058b030, 0x10 + .4byte gUnknown_085eb07e, 0 + .4byte gUnknown_085eb084, 0 + +gUnknown_0858b040:: @ 58B040 +@ replacing .incbin "baserom.gba", 0x0058b040, 0x10 + .4byte gUnknown_085eb79b, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b050:: @ 58B050 +@ replacing .incbin "baserom.gba", 0x0058b050, 0x30 + .4byte gUnknown_085eb676, 0 + .4byte gUnknown_085eb673, 0 + .4byte gUnknown_085eb670, 0 + .4byte gUnknown_085eb66d, 0 + .4byte gUnknown_085eb66a, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b080:: @ 58B080 +@ replacing .incbin "baserom.gba", 0x0058b080, 0x10 + .4byte gUnknown_085eb040, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b090:: @ 58B090 +@ replacing .incbin "baserom.gba", 0x0058b090, 0x10 + .4byte gUnknown_085eb04a, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b0a0:: @ 58B0A0 +@ replacing .incbin "baserom.gba", 0x0058b0a0, 0x18 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb04a, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b0b8:: @ 58B0B8 +@ replacing .incbin "baserom.gba", 0x0058b0b8, 0x10 + .4byte gUnknown_085eb057, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b0c8:: @ 58B0C8 +@ replacing .incbin "baserom.gba", 0x0058b0c8, 0x18 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb057, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b0e0:: @ 58B0E0 +@ replacing .incbin "baserom.gba", 0x0058b0e0, 0x18 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb057, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b0f8:: @ 58B0F8 +@ replacing .incbin "baserom.gba", 0x0058b0f8, 0x20 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb057, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b118:: @ 58B118 +@ replacing .incbin "baserom.gba", 0x0058b118, 0x10 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b128:: @ 58B128 +@ replacing .incbin "baserom.gba", 0x0058b128, 0x18 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b140:: @ 58B140 +@ replacing .incbin "baserom.gba", 0x0058b140, 0x18 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b158:: @ 58B158 +@ replacing .incbin "baserom.gba", 0x0058b158, 0x20 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b178:: @ 58B178 +@ replacing .incbin "baserom.gba", 0x0058b178, 0x18 + .4byte gUnknown_085eb057, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b190:: @ 58B190 +@ replacing .incbin "baserom.gba", 0x0058b190, 0x20 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb057, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b1b0:: @ 58B1B0 +@ replacing .incbin "baserom.gba", 0x0058b1b0, 0x20 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb057, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b1d0:: @ 58B1D0 +@ replacing .incbin "baserom.gba", 0x0058b1d0, 0x28 + .4byte gUnknown_085eb040, 0 + .4byte gUnknown_085eb04a, 0 + .4byte gUnknown_085eb057, 0 + .4byte gUnknown_085eb062, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b1f8:: @ 58B1F8 +@ replacing .incbin "baserom.gba", 0x0058b1f8, 0x30 + .4byte gUnknown_085eb1a0, 0 + .4byte gUnknown_085eb1a9, 0 + .4byte gUnknown_085eb1b6, 0 + .4byte gUnknown_085eb5bc, 0 + .4byte gUnknown_085eb5c3, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b228:: @ 58B228 +@ replacing .incbin "baserom.gba", 0x0058b228, 0x28 + .4byte gUnknown_085eb1a0, 0 + .4byte gUnknown_085eb1a9, 0 + .4byte gUnknown_085eb1b6, 0 + .4byte gUnknown_085eb5c3, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b250:: @ 58B250 +@ replacing .incbin "baserom.gba", 0x0058b250, 0x10 + .4byte gUnknown_085eb29a, 0 + .4byte gUnknown_085eb2a3, 0 + +gUnknown_0858b260:: @ 58B260 +@ replacing .incbin "baserom.gba", 0x0058b260, 0x20 + .4byte gUnknown_085eb372, 0 + .4byte gUnknown_085eb37f, 0 + .4byte gUnknown_085eb389, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b280:: @ 58B280 +@ replacing .incbin "baserom.gba", 0x0058b280, 0x18 + .4byte gText_Yes, 0 + .4byte gText_No, 0 + .4byte gUnknown_085ead6d, 0 + +gUnknown_0858b298:: @ 58B298 +@ replacing .incbin "baserom.gba", 0x0058b298, 0x28 + .4byte gUnknown_085eae6e, 0 + .4byte gUnknown_085eae7c, 0 + .4byte gUnknown_085eae8a, 0 + .4byte gUnknown_085ead6d, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b2c0:: @ 58B2C0 +@ replacing .incbin "baserom.gba", 0x0058b2c0, 0x20 + .4byte gUnknown_085eb372, 0 + .4byte gUnknown_085eb37f, 0 + .4byte gUnknown_085eb397, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b2e0:: @ 58B2E0 +@ replacing .incbin "baserom.gba", 0x0058b2e0, 0x28 + .4byte gUnknown_085eb372, 0 + .4byte gUnknown_085eb37f, 0 + .4byte gUnknown_085eb389, 0 + .4byte gUnknown_085eb397, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b308:: @ 58B308 +@ replacing .incbin "baserom.gba", 0x0058b308, 0x18 + .4byte gUnknown_085eb372, 0 + .4byte gUnknown_085eb37f, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b320:: @ 58B320 +@ replacing .incbin "baserom.gba", 0x0058b320, 0x18 + .4byte gUnknown_085eb3a4, 0 + .4byte gUnknown_085eb3b1, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b338:: @ 58B338 +@ replacing .incbin "baserom.gba", 0x0058b338, 0x18 + .4byte gUnknown_085eb3d4, 0 + .4byte gUnknown_085eb3c6, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b350:: @ 58B350 +@ replacing .incbin "baserom.gba", 0x0058b350, 0x28 + .4byte gUnknown_085eb1c5, 0 + .4byte gUnknown_085eb1d1, 0 + .4byte gUnknown_085eb1dc, 0 + .4byte gUnknown_085eb1e7, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b378:: @ 58B378 +@ replacing .incbin "baserom.gba", 0x0058b378, 0x18 + .4byte gUnknown_085eb212, 0 + .4byte gUnknown_085eb21d, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b390:: @ 58B390 +@ replacing .incbin "baserom.gba", 0x0058b390, 0x20 + .4byte gUnknown_085eb227, 0 + .4byte gUnknown_085eb234, 0 + .4byte gUnknown_085eb241, 0 + .4byte gText_Cancel2, 0 + +gUnknown_0858b3b0:: @ 58B3B0 +@ replacing .incbin "baserom.gba", 0x0058b3b0, 0x18 + .4byte gUnknown_085eb24e, 0 + .4byte gUnknown_085eb255, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b3c8:: @ 58B3C8 +@ replacing .incbin "baserom.gba", 0x0058b3c8, 0x40 + .4byte gText_MenuOptionPokedex, 0 + .4byte gText_MenuOptionPokemon, 0 + .4byte gText_MenuOptionBag, 0 + .4byte gText_MenuOptionPokenav, 0 + .4byte gUnknown_085eb278, 0 + .4byte gText_MenuOptionSave, 0 + .4byte gText_MenuOptionOption, 0 + .4byte gText_MenuOptionExit, 0 + +gUnknown_0858b408:: @ 58B408 +@ replacing .incbin "baserom.gba", 0x0058b408, 0x20 + .4byte gUnknown_085eb28a, 0 + .4byte gUnknown_085eb290, 0 + .4byte gUnknown_085eb295, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b428:: @ 58B428 +@ replacing .incbin "baserom.gba", 0x0058b428, 0x18 + .4byte gUnknown_085eb2ad, 0 + .4byte gUnknown_085eb2bd, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b440:: @ 58B440 +@ replacing .incbin "baserom.gba", 0x0058b440, 0x18 + .4byte gUnknown_085eb2ad, 0 + .4byte gUnknown_085eb2ca, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b458:: @ 58B458 +@ replacing .incbin "baserom.gba", 0x0058b458, 0x18 + .4byte gUnknown_085eb2bd, 0 + .4byte gUnknown_085eb2ca, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b470:: @ 58B470 +@ replacing .incbin "baserom.gba", 0x0058b470, 0x20 + .4byte gUnknown_085eb2ad, 0 + .4byte gUnknown_085eb2bd, 0 + .4byte gUnknown_085eb2ca, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b490:: @ 58B490 +@ replacing .incbin "baserom.gba", 0x0058b490, 0x18 + .4byte gUnknown_085eb2e4, 0 + .4byte gUnknown_085eb2f0, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b4a8:: @ 58B4A8 +@ replacing .incbin "baserom.gba", 0x0058b4a8, 0x10 + .4byte gText_Yes, 0 + .4byte gUnknown_085eb2fc, 0 + +gUnknown_0858b4b8:: @ 58B4B8 +@ replacing .incbin "baserom.gba", 0x0058b4b8, 0x30 + .4byte gUnknown_085eb3df, 0 + .4byte gUnknown_085eb3ea, 0 + .4byte gUnknown_085eb3f1, 0 + .4byte gUnknown_085eb3fc, 0 + .4byte gUnknown_085eb40a, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b4e8:: @ 58B4E8 +@ replacing .incbin "baserom.gba", 0x0058b4e8, 0x20 + .4byte gUnknown_085eb415, 0 + .4byte gUnknown_085eb41d, 0 + .4byte gUnknown_085eb424, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b508:: @ 58B508 +@ replacing .incbin "baserom.gba", 0x0058b508, 0x28 + .4byte gUnknown_085eb45c, 0 + .4byte gUnknown_085eb469, 0 + .4byte gUnknown_085eb475, 0 + .4byte gUnknown_085eb482, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b530:: @ 58B530 +@ replacing .incbin "baserom.gba", 0x0058b530, 0x28 + .4byte gUnknown_085eb42f, 0 + .4byte gUnknown_085eb43a, 0 + .4byte gUnknown_085eb444, 0 + .4byte gUnknown_085eb451, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b558:: @ 58B558 +@ replacing .incbin "baserom.gba", 0x0058b558, 0x20 + .4byte gUnknown_085eb48e, 0 + .4byte gUnknown_085eb496, 0 + .4byte gUnknown_085eb4a3, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b578:: @ 58B578 +@ replacing .incbin "baserom.gba", 0x0058b578, 0x30 + .4byte gUnknown_085eb4ad, 0 + .4byte gUnknown_085eb4b9, 0 + .4byte gUnknown_085eb4c7, 0 + .4byte gUnknown_085eb4d4, 0 + .4byte gUnknown_085eb4e0, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b5a8:: @ 58B5A8 +@ replacing .incbin "baserom.gba", 0x0058b5a8, 0x30 + .4byte gUnknown_085eb4eb, 0 + .4byte gUnknown_085eb4f9, 0 + .4byte gUnknown_085eb508, 0 + .4byte gUnknown_085eb516, 0 + .4byte gUnknown_085eb523, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b5d8:: @ 58B5D8 +@ replacing .incbin "baserom.gba", 0x0058b5d8, 0x28 + .4byte gUnknown_085eb532, 0 + .4byte gUnknown_085eb543, 0 + .4byte gUnknown_085eb555, 0 + .4byte gUnknown_085eb563, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b600:: @ 58B600 +@ replacing .incbin "baserom.gba", 0x0058b600, 0x20 + .4byte gUnknown_085eb56e, 0 + .4byte gUnknown_085eb57e, 0 + .4byte gUnknown_085eb589, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b620:: @ 58B620 +@ replacing .incbin "baserom.gba", 0x0058b620, 0x20 + .4byte gUnknown_085eb5b6, 0 + .4byte gUnknown_085eb5bc, 0 + .4byte gUnknown_085eb5c3, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b640:: @ 58B640 +@ replacing .incbin "baserom.gba", 0x0058b640, 0x18 + .4byte gUnknown_085eb5b6, 0 + .4byte gUnknown_085eb5c3, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b658:: @ 58B658 +@ replacing .incbin "baserom.gba", 0x0058b658, 0x18 + .4byte gUnknown_085eb5b6, 0 + .4byte gUnknown_085eb5bc, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b670:: @ 58B670 +@ replacing .incbin "baserom.gba", 0x0058b670, 0x10 + .4byte gUnknown_085eb5b6, 0 + .4byte gUnknown_085eb5c8, 0 + +gUnknown_0858b680:: @ 58B680 +@ replacing .incbin "baserom.gba", 0x0058b680, 0x10 + .4byte gUnknown_085ee14b, 0 + .4byte gUnknown_085ee14f, 0 + +gUnknown_0858b690:: @ 58B690 +@ replacing .incbin "baserom.gba", 0x0058b690, 0x20 + .4byte gUnknown_085eb2ff, 0 + .4byte gUnknown_085eb310, 0 + .4byte gUnknown_085eb317, 0 + .4byte gUnknown_085eb31f, 0 + +gUnknown_0858b6b0:: @ 58B6B0 +@ replacing .incbin "baserom.gba", 0x0058b6b0, 0x20 + .4byte gUnknown_085eb7b8, 0 + .4byte gUnknown_085eb7c7, 0 + .4byte gUnknown_085eb7d0, 0 + .4byte gUnknown_085eb7db, 0 + +gUnknown_0858b6d0:: @ 58B6D0 +@ replacing .incbin "baserom.gba", 0x0058b6d0, 0x30 + .4byte gUnknown_085eb4ad, 0 + .4byte gUnknown_085eb4b9, 0 + .4byte gUnknown_085eb4c7, 0 + .4byte gUnknown_085eb4d4, 0 + .4byte gUnknown_085eb597, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b700:: @ 58B700 +@ replacing .incbin "baserom.gba", 0x0058b700, 0x30 + .4byte gUnknown_085eb5a6, 0 + .4byte gUnknown_085eb45c, 0 + .4byte gUnknown_085eb469, 0 + .4byte gUnknown_085eb475, 0 + .4byte gUnknown_085eb482, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b730:: @ 58B730 +@ replacing .incbin "baserom.gba", 0x0058b730, 0x28 + .4byte gUnknown_085eb32d, 0 + .4byte gUnknown_085eb33e, 0 + .4byte gUnknown_085eb350, 0 + .4byte gUnknown_085eb361, 0 + .4byte gText_Exit, 0 + +gUnknown_0858b758:: @ 58B758 +@ replacing .incbin "baserom.gba", 0x0058b758, 0x8 + .4byte gText_Exit, 0 + + +gUnknown_0858B760:: @ 858B760 +@ replacing .incbin "baserom.gba", 0x0058b760, 0x390 + .4byte 0x0858abd8, 3 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858abf0, 3 + .4byte gUnknown_0858ac08, 4 + .4byte gUnknown_0858ac28, 6 + .4byte gUnknown_0858ac78, 3 + .4byte gUnknown_0858ac58, 4 + .4byte gUnknown_0858ac90, 4 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b4e8, 4 + .4byte gUnknown_0858acb0, 2 + .4byte gUnknown_0858acc0, 6 + .4byte gUnknown_0858acf0, 2 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858ad00, 2 + .4byte gUnknown_0858b280, 3 + .4byte gUnknown_0858b298, 5 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858ad10, 3 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858ad28, 3 + .4byte gUnknown_0858ad40, 3 + .4byte gUnknown_0858ad58, 3 + .4byte gUnknown_0858ad70, 3 + .4byte gUnknown_0858ad88, 3 + .4byte gUnknown_0858ada0, 3 + .4byte gUnknown_0858adb8, 3 + .4byte gUnknown_0858add0, 3 + .4byte gUnknown_0858ade8, 3 + .4byte gUnknown_0858ae00, 3 + .4byte gUnknown_0858ae18, 3 + .4byte gUnknown_0858ae30, 3 + .4byte gUnknown_0858ae48, 3 + .4byte gUnknown_0858ae60, 3 + .4byte gUnknown_0858ae78, 3 + .4byte gUnknown_0858ae90, 3 + .4byte gUnknown_0858aea8, 3 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858aec0, 4 + .4byte gUnknown_0858aee0, 4 + .4byte gUnknown_0858af00, 4 + .4byte gUnknown_0858af20, 2 + .4byte gUnknown_0858af30, 3 + .4byte gUnknown_0858af48, 8 + .4byte gUnknown_0858af88, 4 + .4byte gUnknown_0858afd8, 3 + .4byte gUnknown_0858aff0, 2 + .4byte gUnknown_0858b758, 1 + .4byte gUnknown_0858b000, 3 + .4byte gUnknown_0858b018, 3 + .4byte gUnknown_0858b030, 2 + .4byte gUnknown_0858afa8, 6 + .4byte gUnknown_0858b040, 2 + .4byte gUnknown_0858b050, 6 + .4byte gUnknown_0858b080, 2 + .4byte gUnknown_0858b090, 2 + .4byte gUnknown_0858b0a0, 3 + .4byte gUnknown_0858b0b8, 2 + .4byte gUnknown_0858b0c8, 3 + .4byte gUnknown_0858b0e0, 3 + .4byte gUnknown_0858b0f8, 4 + .4byte gUnknown_0858b118, 2 + .4byte gUnknown_0858b128, 3 + .4byte gUnknown_0858b140, 3 + .4byte gUnknown_0858b158, 4 + .4byte gUnknown_0858b178, 3 + .4byte gUnknown_0858b190, 4 + .4byte gUnknown_0858b1b0, 4 + .4byte gUnknown_0858b1d0, 5 + .4byte gUnknown_0858b1f8, 6 + .4byte gUnknown_0858b308, 3 + .4byte gUnknown_0858b308, 3 + .4byte gUnknown_0858b260, 4 + .4byte gUnknown_0858b260, 4 + .4byte gUnknown_0858b2c0, 4 + .4byte gUnknown_0858b2e0, 5 + .4byte gUnknown_0858b320, 3 + .4byte gUnknown_0858b338, 3 + .4byte gUnknown_0858b350, 5 + .4byte gUnknown_0858b378, 3 + .4byte gUnknown_0858b390, 4 + .4byte gUnknown_0858b3b0, 3 + .4byte gUnknown_0858b3c8, 8 + .4byte gUnknown_0858b408, 4 + .4byte gUnknown_0858b250, 2 + .4byte gUnknown_0858b428, 3 + .4byte gUnknown_0858b440, 3 + .4byte gUnknown_0858b458, 3 + .4byte gUnknown_0858b470, 4 + .4byte gUnknown_0858b490, 3 + .4byte gUnknown_0858b4a8, 2 + .4byte gUnknown_0858b4b8, 6 + .4byte gUnknown_0858b508, 5 + .4byte gUnknown_0858b530, 5 + .4byte gUnknown_0858b558, 4 + .4byte gUnknown_0858b578, 6 + .4byte gUnknown_0858b5a8, 6 + .4byte gUnknown_0858b5d8, 5 + .4byte gUnknown_0858b600, 4 + .4byte gUnknown_0858b620, 4 + .4byte gUnknown_0858b640, 3 + .4byte gUnknown_0858b658, 3 + .4byte gUnknown_0858b670, 2 + .4byte gUnknown_0858b228, 5 + .4byte gUnknown_0858b680, 2 + .4byte gUnknown_0858b690, 4 + .4byte gUnknown_0858b6b0, 4 + .4byte gUnknown_0858b6d0, 6 + .4byte gUnknown_0858b700, 6 + .4byte gUnknown_0858b730, 5 + +gUnknown_0858BAF0:: @ 858BAF0 + .incbin "baserom.gba", 0x58baf0, 0x78 + +gUnknown_0858BB68:: @ 858BB68 + .incbin "baserom.gba", 0x58bb68, 0x8 + +gUnknown_0858BB70:: @ 858BB70 + .incbin "baserom.gba", 0x58bb70, 0x10 + +gUnknown_0858BB80:: @ 858BB80 + .incbin "baserom.gba", 0x58bb80, 0x1c + +gUnknown_0858BB9C:: @ 858BB9C + .incbin "baserom.gba", 0x58bb9c, 0x10 + +gUnknown_0858BBAC:: @ 858BBAC + .incbin "baserom.gba", 0x58bbac, 0x10 + +gUnknown_0858BBBC:: @ 858BBBC + .incbin "baserom.gba", 0x58bbbc, 0x10 + +gUnknown_0858BBCC:: @ 858BBCC + .incbin "baserom.gba", 0x58bbcc, 0x14 + +gUnknown_0858BBE0:: @ 858BBE0 + .incbin "baserom.gba", 0x58bbe0, 0xc + +gUnknown_0858BBEC:: @ 858BBEC + .incbin "baserom.gba", 0x58bbec, 0x18c diff --git a/ld_script.txt b/ld_script.txt index 4e90c8cbe..b38856729 100644 --- a/ld_script.txt +++ b/ld_script.txt @@ -345,6 +345,7 @@ SECTIONS { data/field_map_obj.o(.rodata); data/data3_a0_B.o(.rodata); src/berry.o(.rodata); + data/script_menu.o(.rodata); data/data3_a1.o(.rodata); src/pokemon_size_record.o(.rodata) data/field_effect.o(.rodata); diff --git a/src/berry.c b/src/berry.c index e9d6994f8..cf49d4dc4 100644 --- a/src/berry.c +++ b/src/berry.c @@ -17,7 +17,6 @@ extern bool8 sub_8092E9C(u8, u8, u8); extern u16 gScriptItemId; extern const u8 BerryTreeScript[]; -extern const struct BerryTree gBlankBerryTree; #define BERRY_NAME_LENGTH 6 @@ -804,6 +803,57 @@ const struct Berry gBerries[] = }, }; +const struct { + u8 unk0; + u16 unk1; +} gUnknown_0858AB24[] = { + { 50, 20}, + { 50, 20}, + { 50, 20}, + { 50, 20}, + { 50, 20}, + { 50, 30}, + { 50, 30}, + { 50, 30}, + { 50, 30}, + { 50, 30}, + { 60, 50}, + { 60, 50}, + { 60, 50}, + { 60, 50}, + { 60, 50}, + { 80, 70}, + { 80, 70}, + { 80, 70}, + { 80, 70}, + { 80, 70}, + {100, 100}, + {100, 100}, + {100, 100}, + {100, 100}, + {100, 100}, + {130, 150}, + {130, 150}, + {130, 150}, + {130, 150}, + {130, 150}, + {160, 250}, + {160, 250}, + {160, 250}, + {160, 250}, + {160, 250}, + {180, 500}, + {180, 500}, + {180, 500}, + {180, 500}, + {180, 500}, + {200, 750}, + {200, 750}, + {150, 200} +}; + +const struct BerryTree gBlankBerryTree = {}; + // unused void ClearEnigmaBerries(void) {