mirror of https://github.com/pret/pokeemerald.git
Merge pull request #524 from nullableVoidPtr/master
Obsolete common_syms and rewrite sym files, to keep up with pokeruby
This commit is contained in:
commit
dcf79a29ba
10
Makefile
10
Makefile
|
@ -172,14 +172,8 @@ $(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s $$(data_dep)
|
||||||
$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s
|
$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s
|
||||||
$(AS) $(ASFLAGS) -I sound -o $@ $<
|
$(AS) $(ASFLAGS) -I sound -o $@ $<
|
||||||
|
|
||||||
$(OBJ_DIR)/sym_bss.ld: sym_bss.txt
|
$(OBJ_DIR)/sym_%.ld: sym_%.txt
|
||||||
$(RAMSCRGEN) .bss $< ENGLISH > $@
|
$(CPP) -P $(CPPFLAGS) $< | sed -e "s#tools/#../../tools/#g" > $@
|
||||||
|
|
||||||
$(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt)
|
|
||||||
$(RAMSCRGEN) COMMON $< ENGLISH -c $(C_BUILDDIR),common_syms > $@
|
|
||||||
|
|
||||||
$(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt
|
|
||||||
$(RAMSCRGEN) ewram_data $< ENGLISH > $@
|
|
||||||
|
|
||||||
$(OBJ_DIR)/ld_script.ld: ld_script.txt $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_common.ld $(OBJ_DIR)/sym_ewram.ld
|
$(OBJ_DIR)/ld_script.ld: ld_script.txt $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_common.ld $(OBJ_DIR)/sym_ewram.ld
|
||||||
cd $(OBJ_DIR) && sed "s#tools/#../../tools/#g" ../../ld_script.txt > ld_script.ld
|
cd $(OBJ_DIR) && sed "s#tools/#../../tools/#g" ../../ld_script.txt > ld_script.ld
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
gFlashTimeoutFlag
|
|
||||||
PollFlashStatus
|
|
||||||
WaitForFlashWrite
|
|
||||||
ProgramFlashSector
|
|
||||||
gFlash
|
|
||||||
ProgramFlashByte
|
|
||||||
gFlashNumRemainingBytes
|
|
||||||
EraseFlashChip
|
|
||||||
EraseFlashSector
|
|
||||||
gFlashMaxTime
|
|
|
@ -1,3 +0,0 @@
|
||||||
gUnknown_030062EC
|
|
||||||
gUnknown_030062F0
|
|
||||||
gUnknown_030062F4
|
|
|
@ -1,3 +0,0 @@
|
||||||
gUnknown_030062DC
|
|
||||||
gUnknown_030062E0
|
|
||||||
gUnknown_030062E4
|
|
|
@ -1 +0,0 @@
|
||||||
gUnknown_030062E8
|
|
|
@ -1,9 +0,0 @@
|
||||||
gPreBattleCallback1
|
|
||||||
gBattleMainFunc
|
|
||||||
gBattleResults
|
|
||||||
gLeveledUpInBattle
|
|
||||||
gBattlerControllerFuncs
|
|
||||||
gHealthboxSpriteIds
|
|
||||||
gMultiUsePlayerCursor
|
|
||||||
gNumberOfMovesToChoose
|
|
||||||
gUnknown_03005D7C
|
|
|
@ -1 +0,0 @@
|
||||||
gUnknown_03006298
|
|
|
@ -1 +0,0 @@
|
||||||
gInGameOpponentsNo
|
|
|
@ -1 +0,0 @@
|
||||||
gUnneededFireRedVariable
|
|
|
@ -1 +0,0 @@
|
||||||
gContestRngValue
|
|
|
@ -1,3 +0,0 @@
|
||||||
gFieldCamera
|
|
||||||
gTotalCameraPixelOffsetY
|
|
||||||
gTotalCameraPixelOffsetX
|
|
|
@ -1 +0,0 @@
|
||||||
gSelectedEventObject
|
|
|
@ -1 +0,0 @@
|
||||||
gUnknown_030061D0
|
|
|
@ -1 +0,0 @@
|
||||||
gBackupMapLayout
|
|
|
@ -1,2 +0,0 @@
|
||||||
gIntroFrameCounter
|
|
||||||
gMultibootProgramStruct
|
|
|
@ -1,37 +0,0 @@
|
||||||
gLinkPartnersHeldKeys
|
|
||||||
gLinkDebugSeed
|
|
||||||
gLocalLinkPlayerBlock
|
|
||||||
gLinkErrorOccurred
|
|
||||||
gLinkDebugFlags
|
|
||||||
gFiller_03003074
|
|
||||||
gRemoteLinkPlayersNotReceived
|
|
||||||
gBlockReceivedStatus
|
|
||||||
gFiller_03003080
|
|
||||||
gLinkHeldKeys
|
|
||||||
gRecvCmds
|
|
||||||
gLinkStatus
|
|
||||||
gUnknown_030030E4
|
|
||||||
gUnknown_030030E8
|
|
||||||
gUnknown_030030EC
|
|
||||||
gUnknown_030030F0
|
|
||||||
gUnknown_030030F4
|
|
||||||
gSuppressLinkErrorMessage
|
|
||||||
gWirelessCommType
|
|
||||||
gSavedLinkPlayerCount
|
|
||||||
gSendCmd
|
|
||||||
gSavedMultiplayerId
|
|
||||||
gReceivedRemoteLinkPlayers
|
|
||||||
gLinkTestBGInfo
|
|
||||||
gLinkCallback
|
|
||||||
gShouldAdvanceLinkState
|
|
||||||
gLinkTestBlockChecksums
|
|
||||||
gBlockRequestType
|
|
||||||
gFiller_03003154
|
|
||||||
gFiller_03003158
|
|
||||||
gFiller_0300315c
|
|
||||||
gLastSendQueueCount
|
|
||||||
gLink
|
|
||||||
gLastRecvQueueCount
|
|
||||||
gLinkSavedIme
|
|
||||||
gFiller_03004138
|
|
||||||
gFiller_0300413C
|
|
|
@ -1,2 +0,0 @@
|
||||||
gUnknown_03004140
|
|
||||||
gUnknown_03005000
|
|
|
@ -1,2 +0,0 @@
|
||||||
gListMenuOverride
|
|
||||||
gMultiuseListMenuTemplate
|
|
|
@ -1,4 +0,0 @@
|
||||||
gFlashMemoryPresent
|
|
||||||
gSaveBlock1Ptr
|
|
||||||
gSaveBlock2Ptr
|
|
||||||
gPokemonStoragePtr
|
|
|
@ -1,12 +0,0 @@
|
||||||
gSoundInfo
|
|
||||||
gPokemonCrySongs
|
|
||||||
gPokemonCryMusicPlayers
|
|
||||||
gMPlayInfo_BGM
|
|
||||||
gMPlayJumpTable
|
|
||||||
gCgbChans
|
|
||||||
gMPlayInfo_SE1
|
|
||||||
gMPlayInfo_SE2
|
|
||||||
gPokemonCryTracks
|
|
||||||
gPokemonCrySong
|
|
||||||
gMPlayMemAccArea
|
|
||||||
gMPlayInfo_SE3
|
|
|
@ -1,9 +0,0 @@
|
||||||
gKeyRepeatStartDelay
|
|
||||||
gLinkTransferringData
|
|
||||||
gMain
|
|
||||||
gKeyRepeatContinueDelay
|
|
||||||
gSoftResetDisabled
|
|
||||||
gIntrTable
|
|
||||||
gLinkVSyncDisabled
|
|
||||||
IntrMain_Buffer
|
|
||||||
gPcmDmaCounter
|
|
|
@ -1 +0,0 @@
|
||||||
gBardSong
|
|
|
@ -1,8 +0,0 @@
|
||||||
gBGTilemapBuffers1
|
|
||||||
gBGTilemapBuffers2
|
|
||||||
gBGTilemapBuffers3
|
|
||||||
gUnknown_03005DA8
|
|
||||||
gFieldCallback
|
|
||||||
gFieldCallback2
|
|
||||||
gUnknown_03005DB4
|
|
||||||
gFieldLinkPlayerCount
|
|
|
@ -1,2 +0,0 @@
|
||||||
gUnknown_030060B0
|
|
||||||
gUnknown_030060B4
|
|
|
@ -1,2 +0,0 @@
|
||||||
gRngValue
|
|
||||||
gRng2Value
|
|
|
@ -1 +0,0 @@
|
||||||
gLocalTime
|
|
|
@ -1,13 +0,0 @@
|
||||||
gLastWrittenSector
|
|
||||||
gLastSaveCounter
|
|
||||||
gLastKnownGoodSector
|
|
||||||
gDamagedSaveSectors
|
|
||||||
gSaveCounter
|
|
||||||
gFastSaveSection
|
|
||||||
gUnknown_03006208
|
|
||||||
gSaveUnusedVar
|
|
||||||
gSaveFileStatus
|
|
||||||
gGameContinueCallback
|
|
||||||
gRamSaveSectionLocations
|
|
||||||
gSaveUnusedVar2
|
|
||||||
gUnknown_03006294
|
|
|
@ -1 +0,0 @@
|
||||||
gDisableMusic
|
|
|
@ -1,2 +0,0 @@
|
||||||
gOamMatrixAllocBitmap
|
|
||||||
gReservedSpritePaletteCount
|
|
|
@ -1 +0,0 @@
|
||||||
gMenuCallback
|
|
|
@ -1 +0,0 @@
|
||||||
gTasks
|
|
|
@ -1,4 +0,0 @@
|
||||||
gFonts
|
|
||||||
gUnknown_03002F84
|
|
||||||
gUnknown_03002F90
|
|
||||||
gTextFlags
|
|
|
@ -1,5 +0,0 @@
|
||||||
gUnknown_03006080
|
|
||||||
gUnknown_03006084
|
|
||||||
gApproachingTrainers
|
|
||||||
gNoOfApproachingTrainers
|
|
||||||
gUnknown_030060AC
|
|
|
@ -1,4 +0,0 @@
|
||||||
sCurTVShowSlot
|
|
||||||
sTV_SecretBaseVisitMovesTemp
|
|
||||||
sTV_DecorationsBuffer
|
|
||||||
sTV_SecretBaseVisitMonsTemp
|
|
|
@ -1,5 +0,0 @@
|
||||||
filler_03002F58
|
|
||||||
filler_03002F5C
|
|
||||||
gUnknown_03002F60
|
|
||||||
filler_03002F64
|
|
||||||
gUnknown_03002F70
|
|
193
sym_bss.txt
193
sym_bss.txt
|
@ -1,119 +1,118 @@
|
||||||
.include "src/main.o"
|
. = ALIGN(4); src/main.o(.bss);
|
||||||
.include "src/alloc.o"
|
. = ALIGN(4); src/alloc.o(.bss);
|
||||||
.include "src/dma3_manager.o"
|
. = ALIGN(4); src/dma3_manager.o(.bss);
|
||||||
.include "src/gpu_regs.o"
|
. = ALIGN(4); src/gpu_regs.o(.bss);
|
||||||
.include "src/bg.o"
|
. = ALIGN(4); src/bg.o(.bss);
|
||||||
.include "src/text.o"
|
. = ALIGN(4); src/text.o(.bss);
|
||||||
.include "src/sprite.o"
|
. = ALIGN(4); src/sprite.o(.bss);
|
||||||
.include "src/link.o"
|
. = ALIGN(4); src/link.o(.bss);
|
||||||
.include "src/link_rfu.o"
|
. = ALIGN(4); src/link_rfu.o(.bss);
|
||||||
.include "src/rom_8011DC0.o"
|
. = ALIGN(4); src/rom_8011DC0.o(.bss);
|
||||||
.include "src/rtc.o"
|
. = ALIGN(4); src/rtc.o(.bss);
|
||||||
.include "src/main_menu.o"
|
. = ALIGN(4); src/main_menu.o(.bss);
|
||||||
.include "src/rom_8034C54.o"
|
. = ALIGN(4); src/rom_8034C54.o(.bss);
|
||||||
.include "src/egg_hatch.o"
|
. = ALIGN(4); src/egg_hatch.o(.bss);
|
||||||
.include "src/berry_blender.o"
|
. = ALIGN(4); src/berry_blender.o(.bss);
|
||||||
.include "src/play_time.o"
|
. = ALIGN(4); src/play_time.o(.bss);
|
||||||
.include "src/overworld.o"
|
. = ALIGN(4); src/overworld.o(.bss);
|
||||||
.include "src/field_camera.o"
|
. = ALIGN(4); src/field_camera.o(.bss);
|
||||||
.include "src/script.o"
|
. = ALIGN(4); src/script.o(.bss);
|
||||||
.include "src/scrcmd.o"
|
. = ALIGN(4); src/scrcmd.o(.bss);
|
||||||
.include "src/tileset_anims.o"
|
. = ALIGN(4); src/tileset_anims.o(.bss);
|
||||||
.include "src/palette.o"
|
. = ALIGN(4); src/palette.o(.bss);
|
||||||
.include "src/sound.o"
|
. = ALIGN(4); src/sound.o(.bss);
|
||||||
.include "src/field_weather.o"
|
. = ALIGN(4); src/field_weather.o(.bss);
|
||||||
.include "src/field_effect.o"
|
. = ALIGN(4); src/field_effect.o(.bss);
|
||||||
.include "src/pokemon_storage_system.o"
|
. = ALIGN(4); src/pokemon_storage_system.o(.bss);
|
||||||
.include "src/fldeff_cut.o"
|
. = ALIGN(4); src/fldeff_cut.o(.bss);
|
||||||
.include "src/script_menu.o"
|
. = ALIGN(4); src/script_menu.o(.bss);
|
||||||
.include "src/record_mixing.o"
|
. = ALIGN(4); src/record_mixing.o(.bss);
|
||||||
.include "src/tv.o"
|
. = ALIGN(4); src/tv.o(.bss);
|
||||||
.include "src/mauville_old_man.o"
|
. = ALIGN(4); src/mauville_old_man.o(.bss);
|
||||||
.include "src/menu_helpers.o"
|
. = ALIGN(4); src/menu_helpers.o(.bss);
|
||||||
.include "src/region_map.o"
|
. = ALIGN(4); src/region_map.o(.bss);
|
||||||
.include "src/slot_machine.o"
|
. = ALIGN(4); src/slot_machine.o(.bss);
|
||||||
.include "src/contest_painting.o"
|
. = ALIGN(4); src/contest_painting.o(.bss);
|
||||||
.include "src/starter_choose.o"
|
. = ALIGN(4); src/starter_choose.o(.bss);
|
||||||
.include "src/pokedex_area_screen.o"
|
. = ALIGN(4); src/pokedex_area_screen.o(.bss);
|
||||||
.include "src/battle_transition.o"
|
. = ALIGN(4); src/battle_transition.o(.bss);
|
||||||
.include "src/pokemon_animation.o"
|
. = ALIGN(4); src/pokemon_animation.o(.bss);
|
||||||
.include "src/recorded_battle.o"
|
. = ALIGN(4); src/recorded_battle.o(.bss);
|
||||||
.include "src/battle_factory_screen.o"
|
. = ALIGN(4); src/battle_factory_screen.o(.bss);
|
||||||
.include "src/battle_factory.o"
|
. = ALIGN(4); src/battle_factory.o(.bss);
|
||||||
.include "src/battle_pike.o"
|
. = ALIGN(4); src/battle_pike.o(.bss);
|
||||||
.include "src/battle_tent.o"
|
. = ALIGN(4); src/battle_tent.o(.bss);
|
||||||
.include "src/multiboot.o"
|
. = ALIGN(4); src/multiboot.o(.bss);
|
||||||
.include "src/mirage_tower.o"
|
. = ALIGN(4); src/mirage_tower.o(.bss);
|
||||||
.include "src/berry_fix_program.o"
|
. = ALIGN(4); src/berry_fix_program.o(.bss);
|
||||||
|
gUnknown_030012BC = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012BC: @ 30012BC
|
gUnknown_030012C0 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012C0: @ 30012C0
|
gUnknown_030012C4 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012C4: @ 30012C4
|
gUnknown_030012C8 = .;
|
||||||
.space 0x4
|
. += 0x18;
|
||||||
|
|
||||||
gUnknown_030012C8: @ 30012C8
|
gUnknown_030012E0 = .;
|
||||||
.space 0x18
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012E0: @ 30012E0
|
gUnknown_030012E2 = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012E2: @ 30012E2
|
gUnknown_030012E4 = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012E4: @ 30012E4
|
gUnknown_030012E6 = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012E6: @ 30012E6
|
gUnknown_030012E8 = .;
|
||||||
.space 0x2
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012E8: @ 30012E8
|
gUnknown_030012EC = .;
|
||||||
.space 0x4
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012EC: @ 30012EC
|
gUnknown_030012EE = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012EE: @ 30012EE
|
gUnknown_030012F0 = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012F0: @ 30012F0
|
gUnknown_030012F2 = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012F2: @ 30012F2
|
gUnknown_030012F4 = .;
|
||||||
.space 0x2
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012F4: @ 30012F4
|
gUnknown_030012F8 = .;
|
||||||
.space 0x4
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012F8: @ 30012F8
|
gUnknown_030012FA = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_030012FA: @ 30012FA
|
gUnknown_030012FC = .;
|
||||||
.space 0x2
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_030012FC: @ 30012FC
|
gUnknown_03001300 = .;
|
||||||
.space 0x4
|
. += 0x40;
|
||||||
|
|
||||||
gUnknown_03001300: @ 3001300
|
gMPlayTrack_BGM = .;
|
||||||
.space 0x40
|
. += 0x320;
|
||||||
|
|
||||||
gMPlayTrack_BGM: @ 3001340
|
gMPlayTrack_SE1 = .;
|
||||||
.space 0x320
|
. += 0xF0;
|
||||||
|
|
||||||
gMPlayTrack_SE1: @ 3001660
|
gMPlayTrack_SE2 = .;
|
||||||
.space 0xF0
|
. += 0x2D0;
|
||||||
|
|
||||||
gMPlayTrack_SE2: @ 3001750
|
gMPlayTrack_SE3 = .;
|
||||||
.space 0x2D0
|
. += 0x50;
|
||||||
|
|
||||||
gMPlayTrack_SE3: @ 3001A20
|
. = ALIGN(4); src/agb_flash.o(.bss);
|
||||||
.space 0x50
|
. = ALIGN(4); src/siirtc.o(.bss);
|
||||||
|
. = ALIGN(4); *libgcc.a:dp-bit.o(.bss);
|
||||||
.include "src/agb_flash.o"
|
. = ALIGN(4); *libgcc.a:fp-bit.o(.bss);
|
||||||
.include "src/siirtc.o"
|
. = ALIGN(4); *libc.a:syscalls.o(.bss);
|
||||||
.include "*libgcc.a:dp-bit.o"
|
|
||||||
.include "*libgcc.a:fp-bit.o"
|
|
||||||
.include "*libc.a:syscalls.o"
|
|
||||||
|
|
318
sym_common.txt
318
sym_common.txt
|
@ -1,116 +1,260 @@
|
||||||
.space 0x8
|
#define SYMBOL(name, size) \
|
||||||
.include "main.o"
|
. = ALIGN (((size) > 16) ? 16 : (size)); \
|
||||||
.include "bg.o"
|
. = ALIGN(4); \
|
||||||
.include "window.o"
|
name = .; \
|
||||||
.include "text.o"
|
. += size;
|
||||||
.include "sprite.o"
|
|
||||||
.include "link.o"
|
|
||||||
.include "link_rfu.o"
|
|
||||||
.include "rtc.o"
|
|
||||||
.include "battle_main.o"
|
|
||||||
.include "random.o"
|
|
||||||
.include "load_save.o"
|
|
||||||
.include "berry_blender.o"
|
|
||||||
.include "overworld.o"
|
|
||||||
.include "fieldmap.o"
|
|
||||||
.include "field_camera.o"
|
|
||||||
.include "field_control_avatar.o"
|
|
||||||
.include "start_menu.o"
|
|
||||||
.include "sound.o"
|
|
||||||
.include "task.o"
|
|
||||||
.include "trainer_see.o"
|
|
||||||
.include "pokedex.o"
|
|
||||||
.include "contest.o"
|
|
||||||
.include "tv.o"
|
|
||||||
.include "mauville_old_man.o"
|
|
||||||
|
|
||||||
gUnknown_03006164: @ 3006164
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_03006168: @ 3006168
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0300616C: @ 300616C
|
. += 0x8;
|
||||||
.space 0x4
|
// main.c
|
||||||
|
SYMBOL(gKeyRepeatStartDelay, 4)
|
||||||
|
SYMBOL(gLinkTransferringData, 4)
|
||||||
|
SYMBOL(gMain, 1084)
|
||||||
|
SYMBOL(gKeyRepeatContinueDelay, 4)
|
||||||
|
SYMBOL(gSoftResetDisabled, 4)
|
||||||
|
SYMBOL(gIntrTable, 56)
|
||||||
|
SYMBOL(gLinkVSyncDisabled, 4)
|
||||||
|
SYMBOL(IntrMain_Buffer, 2048)
|
||||||
|
SYMBOL(gPcmDmaCounter, 4)
|
||||||
|
|
||||||
gUnknown_03006170: @ 3006170
|
// bg.c
|
||||||
.space 0x4
|
SYMBOL(gUnneededFireRedVariable, 4)
|
||||||
|
|
||||||
gUnknown_03006174: @ 3006174
|
// window.c
|
||||||
.space 0x4
|
SYMBOL(filler_03002F58, 4)
|
||||||
|
SYMBOL(filler_03002F5C, 4)
|
||||||
|
SYMBOL(gUnknown_03002F60, 4)
|
||||||
|
SYMBOL(filler_03002F64, 4)
|
||||||
|
SYMBOL(gUnknown_03002F70, 16)
|
||||||
|
|
||||||
gUnknown_03006178: @ 3006178
|
// text.c
|
||||||
.space 0x4
|
SYMBOL(gFonts, 4)
|
||||||
|
SYMBOL(gUnknown_03002F84, 4)
|
||||||
|
SYMBOL(gUnknown_03002F90, 132)
|
||||||
|
SYMBOL(gTextFlags, 4)
|
||||||
|
|
||||||
gUnknown_0300617C: @ 300617C
|
// sprite.c
|
||||||
.space 0x4
|
SYMBOL(gOamMatrixAllocBitmap, 4)
|
||||||
|
SYMBOL(gReservedSpritePaletteCount, 4)
|
||||||
|
|
||||||
gUnknown_03006180: @ 3006180
|
// link.c
|
||||||
.space 0x4
|
. = ALIGN(16);
|
||||||
|
gLinkPartnersHeldKeys = .;
|
||||||
|
. += 0xC;
|
||||||
|
SYMBOL(gLinkDebugSeed, 4)
|
||||||
|
SYMBOL(gLocalLinkPlayerBlock, 60)
|
||||||
|
SYMBOL(gLinkErrorOccurred, 4)
|
||||||
|
SYMBOL(gLinkDebugFlags, 4)
|
||||||
|
SYMBOL(gFiller_03003074, 4)
|
||||||
|
SYMBOL(gRemoteLinkPlayersNotReceived, 4)
|
||||||
|
SYMBOL(gBlockReceivedStatus, 4)
|
||||||
|
SYMBOL(gFiller_03003080, 4)
|
||||||
|
SYMBOL(gLinkHeldKeys, 4)
|
||||||
|
SYMBOL(gRecvCmds, 80)
|
||||||
|
SYMBOL(gLinkStatus, 4)
|
||||||
|
SYMBOL(gUnknown_030030E4, 4)
|
||||||
|
SYMBOL(gUnknown_030030E8, 4)
|
||||||
|
SYMBOL(gUnknown_030030EC, 4)
|
||||||
|
SYMBOL(gUnknown_030030F0, 4)
|
||||||
|
SYMBOL(gUnknown_030030F4, 4)
|
||||||
|
SYMBOL(gSuppressLinkErrorMessage, 4)
|
||||||
|
SYMBOL(gWirelessCommType, 4)
|
||||||
|
SYMBOL(gSavedLinkPlayerCount, 4)
|
||||||
|
SYMBOL(gSendCmd, 16)
|
||||||
|
SYMBOL(gSavedMultiplayerId, 4)
|
||||||
|
SYMBOL(gReceivedRemoteLinkPlayers, 4)
|
||||||
|
SYMBOL(gLinkTestBGInfo, 16)
|
||||||
|
SYMBOL(gLinkCallback, 4)
|
||||||
|
SYMBOL(gShouldAdvanceLinkState, 4)
|
||||||
|
SYMBOL(gLinkTestBlockChecksums, 8)
|
||||||
|
SYMBOL(gBlockRequestType, 4)
|
||||||
|
SYMBOL(gFiller_03003154, 4)
|
||||||
|
SYMBOL(gFiller_03003158, 4)
|
||||||
|
SYMBOL(gFiller_0300315c, 4)
|
||||||
|
SYMBOL(gLastSendQueueCount, 4)
|
||||||
|
SYMBOL(gLink, 4032)
|
||||||
|
SYMBOL(gLastRecvQueueCount, 4)
|
||||||
|
SYMBOL(gLinkSavedIme, 4)
|
||||||
|
SYMBOL(gFiller_03004138, 4)
|
||||||
|
SYMBOL(gFiller_0300413C, 4)
|
||||||
|
|
||||||
gUnknown_03006184: @ 3006184
|
// link_rfu.c
|
||||||
.space 0x4
|
SYMBOL(gUnknown_03004140, 3776)
|
||||||
|
SYMBOL(gUnknown_03005000, 3316)
|
||||||
|
|
||||||
gUnknown_03006188: @ 3006188
|
// rtc.c
|
||||||
.space 0x8
|
SYMBOL(gLocalTime, 8)
|
||||||
|
|
||||||
gUnknown_03006190: @ 3006190
|
// battle_main.c
|
||||||
.space 0x10
|
SYMBOL(gPreBattleCallback1, 4)
|
||||||
|
SYMBOL(gBattleMainFunc, 4)
|
||||||
|
SYMBOL(gBattleResults, 68)
|
||||||
|
SYMBOL(gLeveledUpInBattle, 4)
|
||||||
|
SYMBOL(gBattlerControllerFuncs, 16);
|
||||||
|
SYMBOL(gHealthboxSpriteIds, 4)
|
||||||
|
SYMBOL(gMultiUsePlayerCursor, 4)
|
||||||
|
SYMBOL(gNumberOfMovesToChoose, 4)
|
||||||
|
SYMBOL(gUnknown_03005D7C, 4)
|
||||||
|
|
||||||
gUnknown_030061A0: @ 30061A0
|
// random.c
|
||||||
.space 0x20
|
SYMBOL(gRngValue, 4)
|
||||||
|
SYMBOL(gRng2Value, 4)
|
||||||
|
|
||||||
gUnknown_030061C0: @ 30061C0
|
// load_save.c
|
||||||
.space 0x4
|
SYMBOL(gFlashMemoryPresent, 4)
|
||||||
|
SYMBOL(gSaveBlock1Ptr, 4)
|
||||||
|
SYMBOL(gSaveBlock2Ptr, 4)
|
||||||
|
SYMBOL(gPokemonStoragePtr, 4)
|
||||||
|
|
||||||
gContestPaintingMonPalette: @ 30061C4
|
// berry_blender.c
|
||||||
.space 0xC
|
SYMBOL(gInGameOpponentsNo, 4)
|
||||||
|
|
||||||
.include "field_specials.o"
|
// overworld.c
|
||||||
|
SYMBOL(gBGTilemapBuffers1, 4)
|
||||||
|
SYMBOL(gBGTilemapBuffers2, 4)
|
||||||
|
SYMBOL(gBGTilemapBuffers3, 4)
|
||||||
|
SYMBOL(gUnknown_03005DA8, 4)
|
||||||
|
SYMBOL(gFieldCallback, 4)
|
||||||
|
SYMBOL(gFieldCallback2, 4)
|
||||||
|
SYMBOL(gUnknown_03005DB4, 4)
|
||||||
|
SYMBOL(gFieldLinkPlayerCount, 4)
|
||||||
|
|
||||||
gCB2_AfterEvolution: @ 30061E8
|
// fieldmap.c
|
||||||
.space 0x4
|
SYMBOL(gBackupMapLayout, 12)
|
||||||
|
|
||||||
gDexCryScreenState: @ 30061EC
|
// field_camera.c
|
||||||
.space 0x4
|
SYMBOL(gFieldCamera, 24)
|
||||||
|
SYMBOL(gTotalCameraPixelOffsetY, 4)
|
||||||
|
SYMBOL(gTotalCameraPixelOffsetX, 4)
|
||||||
|
|
||||||
.include "save.o"
|
// field_control_avatar.c
|
||||||
.include "battle_tower.o"
|
SYMBOL(gSelectedEventObject, 4)
|
||||||
.include "intro.o"
|
|
||||||
.include "battle_anim_8170478.o"
|
// start_menu.c
|
||||||
.include "battle_factory_screen.o"
|
SYMBOL(gMenuCallback, 4)
|
||||||
.include "apprentice.o"
|
|
||||||
|
// sound.c
|
||||||
|
SYMBOL(gDisableMusic, 4)
|
||||||
|
|
||||||
|
// task.c
|
||||||
|
SYMBOL(gTasks, 640)
|
||||||
|
|
||||||
|
// trainer_see.c
|
||||||
|
SYMBOL(gUnknown_03006080, 4)
|
||||||
|
SYMBOL(gUnknown_03006084, 4)
|
||||||
|
SYMBOL(gApproachingTrainers, 24)
|
||||||
|
SYMBOL(gNoOfApproachingTrainers, 4)
|
||||||
|
SYMBOL(gUnknown_030060AC, 4)
|
||||||
|
|
||||||
|
// pokedex.c
|
||||||
|
SYMBOL(gUnknown_030060B0, 4)
|
||||||
|
SYMBOL(gUnknown_030060B4, 4)
|
||||||
|
|
||||||
|
// contest.c
|
||||||
|
SYMBOL(gContestRngValue, 4)
|
||||||
|
|
||||||
|
// tv.c
|
||||||
|
SYMBOL(sCurTVShowSlot, 4)
|
||||||
|
SYMBOL(sTV_SecretBaseVisitMovesTemp, 16)
|
||||||
|
SYMBOL(sTV_DecorationsBuffer, 16)
|
||||||
|
SYMBOL(sTV_SecretBaseVisitMonsTemp, 80)
|
||||||
|
|
||||||
|
// mauville_old_man.c
|
||||||
|
SYMBOL(gBardSong, 52)
|
||||||
|
|
||||||
|
SYMBOL(gUnknown_03006164, 4)
|
||||||
|
SYMBOL(gUnknown_03006168, 4)
|
||||||
|
SYMBOL(gUnknown_0300616C, 4)
|
||||||
|
SYMBOL(gUnknown_03006170, 4)
|
||||||
|
SYMBOL(gUnknown_03006174, 4)
|
||||||
|
SYMBOL(gUnknown_03006178, 4)
|
||||||
|
SYMBOL(gUnknown_0300617C, 4)
|
||||||
|
SYMBOL(gUnknown_03006180, 4)
|
||||||
|
SYMBOL(gUnknown_03006184, 4)
|
||||||
|
SYMBOL(gUnknown_03006188, 8)
|
||||||
|
SYMBOL(gUnknown_03006190, 16)
|
||||||
|
SYMBOL(gUnknown_030061A0, 32)
|
||||||
|
SYMBOL(gUnknown_030061C0, 4)
|
||||||
|
gContestPaintingMonPalette = .;
|
||||||
|
. += 0xC;
|
||||||
|
|
||||||
.space 0x8
|
// field_specials.c
|
||||||
|
SYMBOL(gUnknown_030061D0, 24)
|
||||||
.include "list_menu.o"
|
SYMBOL(gCB2_AfterEvolution, 4)
|
||||||
|
SYMBOL(gDexCryScreenState, 4)
|
||||||
|
|
||||||
gUnknown_03006328: @ 3006328
|
// save.c
|
||||||
.space 0x48
|
SYMBOL(gLastWrittenSector, 4)
|
||||||
|
SYMBOL(gLastSaveCounter, 4)
|
||||||
|
SYMBOL(gLastKnownGoodSector, 4)
|
||||||
|
SYMBOL(gDamagedSaveSectors, 4)
|
||||||
|
SYMBOL(gSaveCounter, 4)
|
||||||
|
SYMBOL(gFastSaveSection, 4)
|
||||||
|
SYMBOL(gUnknown_03006208, 4)
|
||||||
|
SYMBOL(gSaveUnusedVar, 4)
|
||||||
|
SYMBOL(gSaveFileStatus, 4)
|
||||||
|
SYMBOL(gGameContinueCallback, 4)
|
||||||
|
SYMBOL(gRamSaveSectionLocations, 112)
|
||||||
|
SYMBOL(gSaveUnusedVar2, 4)
|
||||||
|
SYMBOL(gUnknown_03006294, 4)
|
||||||
|
|
||||||
gUnknown_03006370: @ 3006370
|
// battle_tower.c
|
||||||
.space 0x10
|
SYMBOL(gUnknown_03006298,8)
|
||||||
|
|
||||||
.include "m4a_2.o"
|
// intro.c
|
||||||
.include "agb_flash.o"
|
SYMBOL(gIntroFrameCounter, 4)
|
||||||
|
SYMBOL(gMultibootProgramStruct, 44)
|
||||||
|
|
||||||
gRfuState: @ 3007868
|
// battle_anim_81470478
|
||||||
.space 0x8
|
SYMBOL(gUnknown_030062DC, 4)
|
||||||
|
SYMBOL(gUnknown_030062E0, 4)
|
||||||
|
SYMBOL(gUnknown_030062E4, 4)
|
||||||
|
|
||||||
gUnknown_03007870: @ 3007870
|
// battle_factory_screen.c
|
||||||
.space 0x10
|
SYMBOL(gUnknown_030062E8, 4)
|
||||||
|
|
||||||
gUnknown_03007880: @ 3007880
|
// apprentice.c
|
||||||
.space 0x10
|
SYMBOL(gUnknown_030062EC, 4)
|
||||||
|
SYMBOL(gUnknown_030062F0, 4)
|
||||||
|
SYMBOL(gUnknown_030062F4, 12)
|
||||||
|
|
||||||
gUnknown_03007890: @ 3007890
|
SYMBOL(gListMenuOverride, 4)
|
||||||
.space 0x4
|
SYMBOL(gMultiuseListMenuTemplate, 24)
|
||||||
|
gUnknown_03006328 = .;
|
||||||
|
. += 0x48;
|
||||||
|
SYMBOL(gUnknown_03006370, 16)
|
||||||
|
|
||||||
gUnknown_03007894: @ 3007894
|
// m4a_2
|
||||||
.space 0x4
|
SYMBOL(gSoundInfo, 4016)
|
||||||
|
SYMBOL(gPokemonCrySongs, 104)
|
||||||
|
SYMBOL(gPokemonCryMusicPlayers, 128)
|
||||||
|
SYMBOL(gMPlayInfo_BGM, 64)
|
||||||
|
SYMBOL(gMPlayJumpTable, 144)
|
||||||
|
SYMBOL(gCgbChans, 256)
|
||||||
|
SYMBOL(gMPlayInfo_SE1, 64)
|
||||||
|
SYMBOL(gMPlayInfo_SE2, 64)
|
||||||
|
SYMBOL(gPokemonCryTracks, 320)
|
||||||
|
SYMBOL(gPokemonCrySong, 52)
|
||||||
|
SYMBOL(gMPlayMemAccArea, 16)
|
||||||
|
SYMBOL(gMPlayInfo_SE3, 64)
|
||||||
|
|
||||||
gUnknown_03007898: @ 3007898
|
// agb_flash.c
|
||||||
.space 0x8
|
SYMBOL(gFlashTimeoutFlag, 4);
|
||||||
|
SYMBOL(PollFlashStatus, 4)
|
||||||
|
SYMBOL(WaitForFlashWrite, 4)
|
||||||
|
SYMBOL(ProgramFlashSector, 4)
|
||||||
|
SYMBOL(gFlash, 4)
|
||||||
|
SYMBOL(ProgramFlashByte, 4)
|
||||||
|
SYMBOL(gFlashNumRemainingBytes, 4)
|
||||||
|
SYMBOL(EraseFlashChip, 4)
|
||||||
|
SYMBOL(EraseFlashSector, 4)
|
||||||
|
SYMBOL(gFlashMaxTime, 4)
|
||||||
|
|
||||||
gUnknown_030078A0: @ 30078A0
|
SYMBOL(gRfuState, 8)
|
||||||
.space 0xC
|
SYMBOL(gUnknown_03007870, 16)
|
||||||
|
SYMBOL(gUnknown_03007880, 16)
|
||||||
|
SYMBOL(gUnknown_03007890, 4)
|
||||||
|
SYMBOL(gUnknown_03007894, 4)
|
||||||
|
SYMBOL(gUnknown_03007898, 8)
|
||||||
|
SYMBOL(gUnknown_030078A0, 16)
|
||||||
|
|
466
sym_ewram.txt
466
sym_ewram.txt
|
@ -1,292 +1,282 @@
|
||||||
.include "src/decompress.o"
|
. = ALIGN(4); src/decompress.o(ewram_data);
|
||||||
.include "src/main.o"
|
. = ALIGN(4); src/main.o(ewram_data);
|
||||||
.include "src/window.o"
|
. = ALIGN(4); src/window.o(ewram_data);
|
||||||
.include "src/text.o"
|
. = ALIGN(4); src/text.o(ewram_data);
|
||||||
.include "src/sprite.o"
|
. = ALIGN(4); src/sprite.o(ewram_data);
|
||||||
.include "src/string_util.o"
|
. = ALIGN(4); src/string_util.o(ewram_data);
|
||||||
.include "src/link.o"
|
. = ALIGN(4); src/link.o(ewram_data);
|
||||||
.include "src/link_rfu.o"
|
. = ALIGN(4); src/link_rfu.o(ewram_data);
|
||||||
|
gUnknown_02022C20 = .;
|
||||||
|
. += 0xC;
|
||||||
|
|
||||||
gUnknown_02022C20: @ 2022C20
|
gUnknown_02022C2C = .;
|
||||||
.space 0xC
|
. += 0x1;
|
||||||
|
|
||||||
gUnknown_02022C2C: @ 2022C2C
|
gUnknown_02022C2D = .;
|
||||||
.space 0x1
|
. += 0x3;
|
||||||
|
|
||||||
gUnknown_02022C2D: @ 2022C2D
|
gUnknown_02022C30 = .;
|
||||||
.space 0x3
|
. += 0x8;
|
||||||
|
|
||||||
gUnknown_02022C30: @ 2022C30
|
gUnknown_02022C38 = .;
|
||||||
.space 0x8
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C38: @ 2022C38
|
gUnknown_02022C3C = .;
|
||||||
.space 0x4
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_02022C3C: @ 2022C3C
|
gUnknown_02022C3E = .;
|
||||||
.space 0x2
|
. += 0x2;
|
||||||
|
|
||||||
gUnknown_02022C3E: @ 2022C3E
|
gUnknown_02022C40 = .;
|
||||||
.space 0x2
|
. += 0x18;
|
||||||
|
|
||||||
gUnknown_02022C40: @ 2022C40
|
gUnknown_02022C58 = .;
|
||||||
.space 0x18
|
. += 0x8;
|
||||||
|
|
||||||
gUnknown_02022C58: @ 2022C58
|
gUnknown_02022C60 = .;
|
||||||
.space 0x8
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C60: @ 2022C60
|
gUnknown_02022C64 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C64: @ 2022C64
|
gUnknown_02022C68 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C68: @ 2022C68
|
gUnknown_02022C6C = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C6C: @ 2022C6C
|
gUnknown_02022C70 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C70: @ 2022C70
|
gUnknown_02022C74 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C74: @ 2022C74
|
gUnknown_02022C78 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C78: @ 2022C78
|
gUnknown_02022C7C = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C7C: @ 2022C7C
|
gUnknown_02022C80 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C80: @ 2022C80
|
gUnknown_02022C84 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C84: @ 2022C84
|
gUnknown_02022C88 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C88: @ 2022C88
|
gUnknown_02022C8C = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C8C: @ 2022C8C
|
gUnknown_02022C90 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C90: @ 2022C90
|
gUnknown_02022C94 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C94: @ 2022C94
|
gUnknown_02022C98 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022C98: @ 2022C98
|
gUnknown_02022C9C = .;
|
||||||
.space 0x4
|
. += 0x14;
|
||||||
|
|
||||||
gUnknown_02022C9C: @ 2022C9C
|
gUnknown_02022CB0 = .;
|
||||||
.space 0x14
|
. += 0x8;
|
||||||
|
|
||||||
gUnknown_02022CB0: @ 2022CB0
|
gUnknown_02022CB8 = .;
|
||||||
.space 0x8
|
. += 0x2C;
|
||||||
|
|
||||||
gUnknown_02022CB8: @ 2022CB8
|
gUnknown_02022CE4 = .;
|
||||||
.space 0x2C
|
. += 0x10;
|
||||||
|
|
||||||
gUnknown_02022CE4: @ 2022CE4
|
gUnknown_02022CF4 = .;
|
||||||
.space 0x10
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022CF4: @ 2022CF4
|
gUnknown_02022CF8 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022CF8: @ 2022CF8
|
gUnknown_02022CFC = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022CFC: @ 2022CFC
|
gUnknown_02022D00 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02022D00: @ 2022D00
|
. = ALIGN(4); src/main_menu.o(ewram_data);
|
||||||
.space 0x4
|
. = ALIGN(4); src/battle_controllers.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/rom_8034C54.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_main.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/pokemon.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/random.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/daycare.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/load_save.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/trade.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/berry_blender.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/new_game.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/overworld.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/fieldmap.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/field_camera.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/field_player_avatar.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/event_object_movement.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/field_message_box.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/scrcmd.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/field_control_avatar.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/event_data.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/start_menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/tileset_anims.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/palette.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/sound.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_anim.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_anim_80A5C6C.o(ewram_data);
|
||||||
|
. += 0xC;
|
||||||
|
|
||||||
.include "src/main_menu.o"
|
. = ALIGN(4); src/field_weather.o(ewram_data);
|
||||||
.include "src/battle_controllers.o"
|
. = ALIGN(4); src/field_weather_effect.o(ewram_data);
|
||||||
.include "src/rom_8034C54.o"
|
. = ALIGN(4); src/battle_setup.o(ewram_data);
|
||||||
.include "src/battle_main.o"
|
. = ALIGN(4); src/trainer_see.o(ewram_data);
|
||||||
.include "src/pokemon.o"
|
. = ALIGN(4); src/wild_encounter.o(ewram_data);
|
||||||
.include "src/random.o"
|
. = ALIGN(4); src/field_effect.o(ewram_data);
|
||||||
.include "src/daycare.o"
|
. = ALIGN(4); src/scanline_effect.o(ewram_data);
|
||||||
.include "src/load_save.o"
|
. = ALIGN(4); src/option_menu.o(ewram_data);
|
||||||
.include "src/trade.o"
|
. = ALIGN(4); src/pokedex.o(ewram_data);
|
||||||
.include "src/berry_blender.o"
|
gTrainerCards = .;
|
||||||
.include "src/new_game.o"
|
. += 0x14;
|
||||||
.include "src/overworld.o"
|
|
||||||
.include "src/fieldmap.o"
|
|
||||||
.include "src/field_camera.o"
|
|
||||||
.include "src/field_player_avatar.o"
|
|
||||||
.include "src/event_object_movement.o"
|
|
||||||
.include "src/field_message_box.o"
|
|
||||||
.include "src/scrcmd.o"
|
|
||||||
.include "src/field_control_avatar.o"
|
|
||||||
.include "src/event_data.o"
|
|
||||||
.include "src/start_menu.o"
|
|
||||||
.include "src/tileset_anims.o"
|
|
||||||
.include "src/palette.o"
|
|
||||||
.include "src/sound.o"
|
|
||||||
.include "src/battle_anim.o"
|
|
||||||
.include "src/battle_anim_80A5C6C.o"
|
|
||||||
|
|
||||||
.space 0xC
|
gUnknown_02039B6C = .;
|
||||||
.include "src/field_weather.o"
|
. += 0x2;
|
||||||
.include "src/field_weather_effect.o"
|
|
||||||
.include "src/battle_setup.o"
|
|
||||||
.include "src/trainer_see.o"
|
|
||||||
.include "src/wild_encounter.o"
|
|
||||||
.include "src/field_effect.o"
|
|
||||||
.include "src/scanline_effect.o"
|
|
||||||
.include "src/option_menu.o"
|
|
||||||
.include "src/pokedex.o"
|
|
||||||
|
|
||||||
gTrainerCards: @ 2039B58
|
gUnknown_02039B6E = .;
|
||||||
.space 0x14
|
. += 0x1A;
|
||||||
|
|
||||||
gUnknown_02039B6C: @ 2039B6C
|
gUnknown_02039B88 = .;
|
||||||
.space 0x2
|
. += 0x160;
|
||||||
|
|
||||||
gUnknown_02039B6E: @ 2039B6E
|
. = ALIGN(4); src/trainer_card.o(ewram_data);
|
||||||
.space 0x1A
|
|
||||||
|
|
||||||
gUnknown_02039B88: @ 2039B88
|
gUnknown_02039CEC = .;
|
||||||
.space 0x160
|
. += 0x4;
|
||||||
|
|
||||||
.include "src/trainer_card.o"
|
gUnknown_02039CF0 = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02039CEC: @ 2039CEC
|
gUnknown_02039CF4 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02039CF0: @ 2039CF0
|
gUnknown_02039CF8 = .;
|
||||||
.space 0x4
|
. += 0x8;
|
||||||
|
|
||||||
gUnknown_02039CF4: @ 2039CF4
|
. = ALIGN(4); src/pokemon_storage_system.o(ewram_data);
|
||||||
.space 0x4
|
. = ALIGN(4); src/script_movement.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/fldeff_cut.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/map_name_popup.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/item.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/contest.o(ewram_data);
|
||||||
|
. = ALIGN(4); gUnknown_02039F5C = .;
|
||||||
|
. += 0x1;
|
||||||
|
|
||||||
gUnknown_02039CF8: @ 2039CF8
|
gUnknown_02039F5D = .;
|
||||||
.space 0x8
|
. += 0x3;
|
||||||
|
|
||||||
.include "src/pokemon_storage_system.o"
|
. = ALIGN(4); src/shop.o(ewram_data);
|
||||||
.include "src/script_movement.o"
|
. = ALIGN(4); src/fldeff_escalator.o(ewram_data);
|
||||||
.include "src/fldeff_cut.o"
|
. = ALIGN(4); src/script_menu.o(ewram_data);
|
||||||
.include "src/map_name_popup.o"
|
. = ALIGN(4); src/naming_screen.o(ewram_data);
|
||||||
.include "src/item.o"
|
. = ALIGN(4); src/money.o(ewram_data);
|
||||||
.include "src/contest.o"
|
. = ALIGN(4); src/record_mixing.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/secret_base.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/tv.o(ewram_data);
|
||||||
|
gUnknown_0203A034 = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
.align 2
|
. = ALIGN(4); src/rotating_gate.o(ewram_data);
|
||||||
gUnknown_02039F5C: @ 2039F5C
|
. = ALIGN(4); src/safari_zone.o(ewram_data);
|
||||||
.space 0x1
|
gUnknown_0203A0F4 = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_02039F5D: @ 2039F5D
|
. = ALIGN(4); src/battle_anim_effects_1.o(ewram_data);
|
||||||
.space 0x3
|
gUnknown_0203A100 = .;
|
||||||
|
. += 0x10;
|
||||||
|
|
||||||
.include "src/shop.o"
|
. = ALIGN(4); src/battle_anim_utility_funcs.o(ewram_data);
|
||||||
.include "src/fldeff_escalator.o"
|
. = ALIGN(4); src/battle_intro.o(ewram_data);
|
||||||
.include "src/script_menu.o"
|
. = ALIGN(4); src/easy_chat.o(ewram_data);
|
||||||
.include "src/naming_screen.o"
|
. = ALIGN(4); src/mon_markings.o(ewram_data);
|
||||||
.include "src/money.o"
|
. = ALIGN(4); src/mauville_old_man.o(ewram_data);
|
||||||
.include "src/record_mixing.o"
|
. = ALIGN(4); src/mail.o(ewram_data);
|
||||||
.include "src/secret_base.o"
|
. = ALIGN(4); src/menu_helpers.o(ewram_data);
|
||||||
.include "src/tv.o"
|
. = ALIGN(4); src/region_map.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/decoration.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/slot_machine.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_ai_script_commands.o(ewram_data);
|
||||||
|
. = ALIGN(4); gPlayerFacingPosition = .;
|
||||||
|
. += 0x8;
|
||||||
|
|
||||||
gUnknown_0203A034: @ 203A034
|
. = ALIGN(4); src/pokeblock.o(ewram_data);
|
||||||
.space 0x4
|
. = ALIGN(4); src/field_specials.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_records.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/pokedex_area_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/evolution_scene.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/roulette.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/pokedex_cry_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/coins.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_transition.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_message.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/cable_car.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/rom_81520A8.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/save.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/mystery_event_script.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/learn_move.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/decoration_inventory.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/roamer.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_tower.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/use_pokeblock.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/player_pc.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/intro.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/field_region_map.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/hall_of_fame.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/credits.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/lottery_corner.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/diploma.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/berry_tag_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/mystery_event_menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/save_failed_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/braille_puzzles.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/pokeblock_feed.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/intro_credits_graphics.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/recorded_battle.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/trainer_pokemon_sprites.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/lilycove_lady.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_dome.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/match_call.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_factory_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/mossdeep_gym.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/item_menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/list_menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/dynamic_placeholder_text_util.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/item_icon.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/party_menu.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/mirage_tower.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/pokemon_summary_screen.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/unk_pokedex_area_screen_helper.o(ewram_data);
|
||||||
|
. = ALIGN(4); src/battle_pyramid_bag.o(ewram_data);
|
||||||
|
gUnknown_0203CF3C = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
.include "src/rotating_gate.o"
|
gUnknown_0203CF40 = .;
|
||||||
.include "src/safari_zone.o"
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_0203A0F4: @ 203A0F4
|
gUnknown_0203CF44 = .;
|
||||||
.space 0x4
|
. += 0x4;
|
||||||
|
|
||||||
.include "src/battle_anim_effects_1.o"
|
gUnknown_0203CF48 = .;
|
||||||
|
. += 0x4;
|
||||||
|
|
||||||
gUnknown_0203A100: @ 203A100
|
gUnknown_0203CF4C = .;
|
||||||
.space 0x10
|
. += 0x4;
|
||||||
|
|
||||||
.include "src/battle_anim_utility_funcs.o"
|
gUnknown_0203CF50 = .;
|
||||||
.include "src/battle_intro.o"
|
. += 0x4;
|
||||||
.include "src/easy_chat.o"
|
|
||||||
.include "src/mon_markings.o"
|
|
||||||
.include "src/mauville_old_man.o"
|
|
||||||
.include "src/mail.o"
|
|
||||||
.include "src/menu_helpers.o"
|
|
||||||
.include "src/region_map.o"
|
|
||||||
.include "src/decoration.o"
|
|
||||||
.include "src/slot_machine.o"
|
|
||||||
.include "src/battle_ai_script_commands.o"
|
|
||||||
|
|
||||||
.align 2
|
|
||||||
gPlayerFacingPosition: @ 203AB40
|
|
||||||
.space 0x8
|
|
||||||
|
|
||||||
.include "src/pokeblock.o"
|
|
||||||
.include "src/field_specials.o"
|
|
||||||
.include "src/battle_records.o"
|
|
||||||
.include "src/pokedex_area_screen.o"
|
|
||||||
.include "src/evolution_scene.o"
|
|
||||||
.include "src/roulette.o"
|
|
||||||
.include "src/pokedex_cry_screen.o"
|
|
||||||
.include "src/coins.o"
|
|
||||||
.include "src/battle_transition.o"
|
|
||||||
.include "src/battle_message.o"
|
|
||||||
.include "src/cable_car.o"
|
|
||||||
.include "src/rom_81520A8.o"
|
|
||||||
.include "src/save.o"
|
|
||||||
.include "src/mystery_event_script.o"
|
|
||||||
.include "src/learn_move.o"
|
|
||||||
.include "src/decoration_inventory.o"
|
|
||||||
.include "src/roamer.o"
|
|
||||||
.include "src/battle_tower.o"
|
|
||||||
.include "src/use_pokeblock.o"
|
|
||||||
.include "src/player_pc.o"
|
|
||||||
.include "src/intro.o"
|
|
||||||
.include "src/field_region_map.o"
|
|
||||||
.include "src/hall_of_fame.o"
|
|
||||||
.include "src/credits.o"
|
|
||||||
.include "src/lottery_corner.o"
|
|
||||||
.include "src/diploma.o"
|
|
||||||
.include "src/berry_tag_screen.o"
|
|
||||||
.include "src/mystery_event_menu.o"
|
|
||||||
.include "src/save_failed_screen.o"
|
|
||||||
.include "src/braille_puzzles.o"
|
|
||||||
.include "src/pokeblock_feed.o"
|
|
||||||
.include "src/intro_credits_graphics.o"
|
|
||||||
.include "src/recorded_battle.o"
|
|
||||||
.include "src/trainer_pokemon_sprites.o"
|
|
||||||
.include "src/lilycove_lady.o"
|
|
||||||
.include "src/battle_dome.o"
|
|
||||||
.include "src/match_call.o"
|
|
||||||
.include "src/menu.o"
|
|
||||||
.include "src/battle_factory_screen.o"
|
|
||||||
.include "src/mossdeep_gym.o"
|
|
||||||
.include "src/item_menu.o"
|
|
||||||
.include "src/list_menu.o"
|
|
||||||
.include "src/dynamic_placeholder_text_util.o"
|
|
||||||
.include "src/item_icon.o"
|
|
||||||
.include "src/party_menu.o"
|
|
||||||
.include "src/mirage_tower.o"
|
|
||||||
.include "src/pokemon_summary_screen.o"
|
|
||||||
.include "src/unk_pokedex_area_screen_helper.o"
|
|
||||||
.include "src/battle_pyramid_bag.o"
|
|
||||||
|
|
||||||
gUnknown_0203CF3C: @ 203CF3C
|
. = ALIGN(4); src/trainer_hill.o(ewram_data);
|
||||||
.space 0x4
|
. = ALIGN(4); src/rayquaza_scene.o(ewram_data);
|
||||||
|
|
||||||
gUnknown_0203CF40: @ 203CF40
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0203CF44: @ 203CF44
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0203CF48: @ 203CF48
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0203CF4C: @ 203CF4C
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
gUnknown_0203CF50: @ 203CF50
|
|
||||||
.space 0x4
|
|
||||||
|
|
||||||
.include "src/trainer_hill.o"
|
|
||||||
.include "src/rayquaza_scene.o"
|
|
||||||
|
|
Loading…
Reference in New Issue