diff options
Diffstat (limited to 'ld_script.txt')
-rw-r--r-- | ld_script.txt | 44 |
1 files changed, 36 insertions, 8 deletions
diff --git a/ld_script.txt b/ld_script.txt index d0ae744d1..cd42757fe 100644 --- a/ld_script.txt +++ b/ld_script.txt @@ -9,11 +9,14 @@ SECTIONS { ewram (NOLOAD) : ALIGN(4) { + gHeap = .; + + . = 0x1C000; <EWRAM> - . = 0x60000; - } + . = 0x40000; +} . = 0x3000000; @@ -55,6 +58,7 @@ SECTIONS { src/decompress.o(.text); asm/rom_8034C54.o(.text); asm/battle_3.o(.text); + src/battle_4.o(.text); asm/battle_4.o(.text); asm/battle_5.o(.text); asm/battle_controller_player.o(.text); @@ -63,7 +67,7 @@ SECTIONS { asm/battle_9.o(.text); asm/battle_controller_linkopponent.o(.text); asm/pokemon_1.o(.text); - asm/calculate_base_damage.o(.text); + src/calculate_base_damage.o(.text); asm/pokemon_2.o(.text); asm/pokemon_3.o(.text); src/trig.o(.text); @@ -73,6 +77,7 @@ SECTIONS { asm/daycare.o(.text); asm/egg_hatch.o(.text); asm/rom_8072304.o(.text); + src/load_save.o(.text); asm/load_save.o(.text); asm/trade.o(.text); asm/berry_blender.o(.text); @@ -99,6 +104,7 @@ SECTIONS { asm/field_tasks.o(.text); asm/clock.o(.text); asm/reset_rtc_screen.o(.text); + src/start_menu.o(.text); asm/start_menu.o(.text); asm/tileset.o(.text); src/palette.o(.text); @@ -107,7 +113,7 @@ SECTIONS { asm/rom_80A5C6C.o(.text); src/task.o(.text); asm/reshow_battle_screen.o(.text); - asm/battle_anin_80A9C70.o(.text); + asm/battle_anim_80A9C70.o(.text); asm/title_screen.o(.text); asm/weather.o(.text); asm/rom_80AEFFC.o(.text); @@ -173,7 +179,6 @@ SECTIONS { asm/coins.o(.text); asm/landmark.o(.text); asm/fldeff_strength.o(.text); - asm/rom_8145E84.o(.text); asm/battle_transition.o(.text); asm/battle_controller_linkpartner.o(.text); asm/battle_message.o(.text); @@ -186,7 +191,13 @@ SECTIONS { asm/mystery_event_script.o(.text); asm/field_effect_helpers.o(.text); asm/contest_ai.o(.text); - asm/rom_8158B30.o(.text); + asm/battle_anim_sound_tasks.o(.text); + asm/battle_controller_safari.o(.text); + asm/fldeff_sweetscent.o(.text); + asm/rom_815A0D4.o(.text); + asm/decoration_inventory.o(.text); + asm/roamer.o(.text); + asm/rom_8161F74.o(.text); asm/battle_controller_wally.o(.text); asm/player_pc.o(.text); asm/intro.o(.text); @@ -208,8 +219,8 @@ SECTIONS { asm/bard_music.o(.text); asm/fldeff_teleport.o(.text); asm/rom_817C95C.o(.text); - asm/front_pic_anim.o(.text); - asm/rom_8184DA4.o(.text); + asm/pokemon_animation.o(.text); + asm/recorded_battle.o(.text); asm/battle_controller_recorded_opponent.o(.text); asm/battle_controller_recorded_player.o(.text); asm/rom_818CFC8.o(.text); @@ -277,14 +288,26 @@ SECTIONS { data/data2.o(.rodata); src/rtc.o(.rodata); data/data2b.o(.rodata); + src/battle_4.o(.rodata); + data/battle_4.o(.rodata); + data/battle_controller_player.o(.rodata); + data/data2b_2.o(.rodata); + data/battle_controller_opponent.o(.rodata); + data/battle_controller_link_opponent.o(.rodata); + data/data2c.o(.rodata); src/trig.o(.rodata); data/data3.o(.rodata); + src/battle_ai.o(.rodata); + data/data4.o(.rodata); + data/battle_controller_link_partner.o(.rodata); data/battle_message.o(.rodata); data/cable_car.o(.rodata); data/save.o(.rodata); data/field_effect_helpers.o(.rodata); data/contest_ai.o(.rodata); + data/battle_controller_safari.o(.rodata); data/rom_8158B30.o(.rodata); + data/battle_controller_wally.o(.rodata); data/player_pc.o(.rodata); data/intro.o(.rodata); data/field_region_map.o(.rodata); @@ -304,6 +327,11 @@ SECTIONS { data/evolution_graphics.o(.rodata); data/bard_music.o(.rodata); data/data_860A4AC.o(.rodata); + data/battle_controller_recorded_opponent.o(.rodata); + data/battle_controller_recorded_player.o(.rodata); + data/data_emerald.o(.rodata); + data/battle_controller_player_partner.o(.rodata); + data/data_emerald2.o(.rodata); data/fonts.o(.rodata); data/mystery_event_msg.o(.rodata); src/m4a_tables.o(.rodata); |