Split out data/berry_powder.s

This commit is contained in:
ultima-soul
2019-12-02 13:18:19 -08:00
parent 6f127dca8f
commit 385740fc14
3 changed files with 40 additions and 6 deletions
+36
View File
@@ -0,0 +1,36 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
gUnknown_847565C_UnrefDupe:: @ 8471F00 struct BgTemplate(???)
.4byte 0x000001e0
.4byte 0x000012c9
.4byte 0x000012ea
.4byte 0x000021ff
.4byte 0x000000ff
.4byte 0x00000000
.align 2
gUnknown_8475674_UnrefDupe:: @ 8471F18
window_template 0x00, 0x01, 0x01, 0x1c, 0x03, 0x0d, 0x0013
window_template 0x00, 0x01, 0x06, 0x1c, 0x0d, 0x0d, 0x0067
.align 2
gUnknown_8475684_UnrefDupe:: @ 8471F28
window_template 0x00, 0x01, 0x06, 0x1c, 0x07, 0x0d, 0x0067
.align 2
gUnknown_847568C_UnrefDupe:: @ 8471F30
window_template 0x00, 0x01, 0x08, 0x13, 0x03, 0x0d, 0x0013
window_template 0x00, 0x16, 0x07, 0x06, 0x04, 0x0d, 0x004c
.align 2
gUnknown_847569C_UnrefDupe:: @ 8471F40
window_template 0x00, 0x04, 0x06, 0x16, 0x05, 0x0d, 0x0013
.align 2
gUnknown_84756A4_UnrefDupe:: @ 8471F48
window_template 0x00, 0x05, 0x08, 0x13, 0x03, 0x0d, 0x0013
@@ -14,9 +14,6 @@
.section .rodata
.align 2
gUnknown_8471F00::
.incbin "baserom.gba", 0x471F00, 0x50
gUnknown_8471F50:: @ 8471F50
.incbin "baserom.gba", 0x471F50, 0x113
+4 -3
View File
@@ -551,18 +551,19 @@ SECTIONS {
src/braille_text.o(.rodata);
src/text_window_graphics.o(.rodata);
src/quest_log_8150454.o(.rodata);
data/data_8471F00.o(.rodata);
data/berry_powder.o(.rodata);
data/data_8471F50.o(.rodata);
src/battle_controller_pokedude.o(.rodata);
src/teachy_tv.o(.rodata);
src/unk_815C980.o(.rodata);
data/data_8471F00.o(.rodata.8479668);
data/data_8471F50.o(.rodata.8479668);
src/ss_anne.o(.rodata);
src/cereader_tool.o(.rodata);
src/renewable_hidden_items.o(.rodata);
src/trainer_tower.o(.rodata);
src/unk_815F138.o(.rodata);
src/berry_fix_program.o(.rodata);
data/data_8471F00.o(.rodata.after_trainer_tower);
data/data_8471F50.o(.rodata.after_trainer_tower);
/* These should not be moved to C files */
src/mystery_event_msg.o(.rodata);