pokeemerald/sym_common.txt

217 lines
3.0 KiB
Plaintext
Raw Normal View History

2016-11-01 19:35:16 +01:00
.space 0x8
2017-11-08 05:53:30 +01:00
.include "main.o"
2017-09-10 03:52:33 +02:00
.include "bg.o"
.include "window.o"
2017-03-28 06:20:55 +02:00
.include "text.o"
2017-09-02 13:11:19 +02:00
.include "sprite.o"
2017-11-11 06:25:05 +01:00
.include "link.o"
2017-11-19 06:02:15 +01:00
.include "link_rfu.o"
2017-09-02 23:37:06 +02:00
.include "rtc.o"
2018-02-07 23:21:51 +01:00
.include "battle_main.o"
2016-11-01 19:35:16 +01:00
2017-02-03 01:30:08 +01:00
gRngValue: @ 3005D80
2016-11-01 19:35:16 +01:00
.space 0x4
2017-02-03 01:30:08 +01:00
gRng2Value: @ 3005D84
2016-11-01 19:35:16 +01:00
.space 0x4
2017-02-04 01:44:06 +01:00
gFlashMemoryPresent: @ 3005D88
2016-11-01 19:35:16 +01:00
.space 0x4
2017-01-14 20:53:20 +01:00
gSaveBlock1Ptr: @ 3005D8C
2016-11-01 19:35:16 +01:00
.space 0x4
2017-01-14 20:53:20 +01:00
gSaveBlock2Ptr: @ 3005D90
2016-11-01 19:35:16 +01:00
.space 0x4
2017-09-04 18:26:39 +02:00
gPokemonStoragePtr: @ 3005D94
2016-11-01 19:35:16 +01:00
.space 0x4
2017-11-18 16:11:34 +01:00
gInGameOpponentsNo: @ 3005D98
2016-11-01 19:35:16 +01:00
.space 0x4
gUnknown_03005D9C: @ 3005D9C
.space 0x4
gUnknown_03005DA0: @ 3005DA0
.space 0x4
gUnknown_03005DA4: @ 3005DA4
.space 0x4
gUnknown_03005DA8: @ 3005DA8
.space 0x4
gFieldCallback: @ 3005DAC
2018-02-09 03:00:28 +01:00
.include "item_menu.o"
2016-11-01 19:35:16 +01:00
gUnknown_03005DB0: @ 3005DB0
.space 0x4
gUnknown_03005DB4: @ 3005DB4
.space 0x4
2018-02-14 00:58:22 +01:00
gFieldLinkPlayerCount: @ 3005DB8
2016-11-01 19:35:16 +01:00
.space 0x8
gUnknown_03005DC0: @ 3005DC0
.space 0x10
gUnknown_03005DD0: @ 3005DD0
.space 0x18
gUnknown_03005DE8: @ 3005DE8
.space 0x4
gUnknown_03005DEC: @ 3005DEC
.space 0x4
2017-09-13 11:16:26 +02:00
gSelectedMapObject: @ 3005DF0
2016-11-01 19:35:16 +01:00
.space 0x4
gUnknown_03005DF4: @ 3005DF4
.space 0x4
2017-09-02 17:32:34 +02:00
.include "sound.o"
2016-11-01 19:35:16 +01:00
.include "task.o"
2017-12-19 17:33:07 +01:00
.include "trainer_see.o"
2016-11-01 19:35:16 +01:00
gUnknown_030060B0: @ 30060B0
.space 0x4
gUnknown_030060B4: @ 30060B4
.space 0x4
gUnknown_030060B8: @ 30060B8
.space 0x4
Decompile TV (#80) * ClearTVShowData * special_0x44 * DoTVShow (nonmatching because align) * DoTVShowBravoTrainerPokemonProfile * Update field names * DoTVShowBravoTrainerBattleTower * Renaming of struct fields * sub_80EBFF4 and UpdateTVScreensOnMap * SetTVMetatilesOnMap * Power buttons for the TV screens on the map * special_0x45 * sub_80EC18C * special_0x4a * ResetGabbyAndTy * GabbyAndTyBeforeInterview * GabbyAndTyAfterInterview * Through IsTVShowInSearchOfTrainersAiring * GabbyAndTyGetLastQuote * GabbyAndTyGetLastBattleTrivia * GabbyAndTySetScriptVarsToFieldObjectLocalIds * InterviewAfter; use TVShow as a precursor for making the individual show structs anonymous * Make TV structs anonymous within the union * Move the TV union to its own subheader * Move TV show enums to the global.tv.h subheader * Funcion renaming * Apply static attributes where able * PutPokemonTodayCaughtOnAir * sub_80EC8A4 * PutPokemonTodayFailedOnTheAir * sub_80EC9E8, sub_80ECA10 * sub_80ECA38 * sub_80ECB00 * Put3CheersForPokeblocksOnTheAir * PutFanClubSpecialOnTheAir * ContestLiveUpdates_BeforeInterview * Other before-interview Contest Live Updates functions * ContestLiveUpdates_BeforeInterview_5 * InterviewAfter_BravoTrainerPokemonProfile * BravoTrainerPokemonProfile_BeforeInterview1 * BravoTrainerPokemonProfile_BeforeInterview2 * Disassemble TV data * Decompile TV data * InterviewAfter_BravoTrainerBattleTowerProfile * SaveRecordedItemPurchasesForTVShow * PutNameRaterShowOnTheAir * StartMassOutbreak * PutLilycoveContestLadyShowOnTheAir * InterviewAfter_FanClubLetter * Rip TV strings * InterviewAfter_RecentHappenings * InterviewAfter_PkmnFanClubOpinions * sub_80ED718 * EndMassOutbreak * sub_80ED888 * sub_80ED8B4 * UpdateMassOutbreakTimeLeft * sub_80ED950 * PutFishingAdviceShowOnTheAir * through sub_80EDA80 * ewram and common syms are now fetched from the object files * BSS symbols are taken from the tv.o file * through sub_80EDC60 * sub_80EDCE8 * sub_80EDD78 * through sub_80EDE84 * nomatching sub_80EDE98 * sub_80EDFB4 * sub_80EE104 * sub_80EE104 * sub_80EE184 * sub_80EE2CC * sub_80EE35C * sub_80EE44C * sub_80EE4DC * sub_80EE5A4 * sub_80EE69C * sub_80EE72C * sub_80EE7C0 * sub_80EE818 * sub_80EE8C8 * sub_80EEA70 * sub_80EEB98 * sub_80EEBF4 * through sub_80EED60 * Functions relating to Pokemon News * sub_80EEF6C * GetPriceReduction * IsPriceDiscounted * sub_80EF120 * through sub_80EF370 * sub_80EF40C * HasMixableShowAlreadyBeenSpawnedWithPlayerID * TV_SortPurchasesByQuantity * FindActiveBroadcastByShowType_SetScriptResult * InterviewBefore * through sub_80EF88C * through sub_80EF93C * through sub_80EFA24 * through TV_BernoulliTrial * sub_80EFB58 * sub_80EFBA4 * sub_80EFBDC * through sub_80EFD98 * ChangePokemonNickname * ChangeBoxPokemonNickname * sub_80EFF9C * through player_id_to_dword * CheckForBigMovieOrEmergencyNewsOnTV * GetMomOrDadStringForTVMessage * sub_80F01E8 * sub_80F0358 * sub_80F049C * TV record mixing functions * sub_80F06D0 * sub_80F0708 nonmatching * through sub_80F0B24 * sub_80F0B64 * through sub_80F0C04 * sub_80F0C7C * sub_80F0D60 * sub_80F0E58 * sub_80F0E84 * through sub_80F0F24 * sub_80F0F64 * sub_80F1208 * sub_80F1254 * sub_80F1290 * sub_80F12A4 * sub_80F14F8 * DoTVShowTodaysSmartShopper * DoTVShowTheNameRaterShow * DoTVShowPokemonTodaySuccessfulCapture * DoTVShowPokemonTodayFailedCapture * DoTVShowPokemonFanClubLetter * DoTVShowRecentHappenings * DoTVShowPokemonFanClubOpinions * DoTVShowPokemonNewsMassOutbreak * DoTVShowPokemonContestLiveUpdates * DoTVShowPokemonBattleUpdate * DoTVShow3CheersForPokeblocks * DoTVShowInSearchOfTrainers * Label GabbyAndTyData fields; remove ddump comments from data/text/tv.inc * DoTVShowPokemonAngler * DoTVShowTheWorldOfMasters; update RAM symbols and field names * Decorate static functions * DoTVShowTodaysRivalTrainer; region map enums * TVDewfordTrendWatcherNetworkTextGroup * DoTVShowHoennTreasureInvestigators * DoTVShowFindThatGamer * DoTVShowBreakingNewsTV * DoTVShowSecretBaseVisit * DoTVShowPokemonLotterWinnerFlashReport * DoTVShowThePokemonBattleSeminar * DoTVShowTrainerFanClubSpecial, DoTVShowTrainerFanClub * DoTVShowSpotTheCuties * DoTVShowPokemonNewsBattleFrontier * DoTVShowWhatsNo1InHoennToday * Helpers for DoTVShowSecretBaseSecrets * DoTVShowSecretBaseSecrets * DoTVShowSafariFanClub * Finish decompilation of tv.s * Some renaming * Rename text group pointers * revoke statis; pokenews enums * Labels are number one * Label all TV struct fields * Make data/text/tv.inc more readable * Split data/text/tv.inc * Rename pokenews text pointers * Frontier Symbol constants; indicate static rodata objects with 's' prefix * Fix leading spaces/tabs F*** CLion sometimes * Fix inconsequential warning
2017-10-13 17:09:36 +02:00
.include "tv.o"
2016-11-01 19:35:16 +01:00
gUnknown_03006130: @ 3006130
.space 0x34
gUnknown_03006164: @ 3006164
.space 0x4
gUnknown_03006168: @ 3006168
.space 0x4
gUnknown_0300616C: @ 300616C
.space 0x4
gUnknown_03006170: @ 3006170
.space 0x4
gUnknown_03006174: @ 3006174
.space 0x4
gUnknown_03006178: @ 3006178
.space 0x4
gUnknown_0300617C: @ 300617C
.space 0x4
gUnknown_03006180: @ 3006180
.space 0x4
gUnknown_03006184: @ 3006184
.space 0x4
gUnknown_03006188: @ 3006188
.space 0x8
gUnknown_03006190: @ 3006190
.space 0x10
gUnknown_030061A0: @ 30061A0
.space 0x20
gUnknown_030061C0: @ 30061C0
.space 0x4
gUnknown_030061C4: @ 30061C4
.space 0xC
gUnknown_030061D0: @ 30061D0
.space 0x18
2017-10-29 16:15:23 +01:00
gCB2_AfterEvolution: @ 30061E8
2016-11-01 19:35:16 +01:00
.space 0x4
gUnknown_030061EC: @ 30061EC
.space 0x4
2018-02-16 05:30:39 +01:00
.include "save.o"
Decompile TV (#80) * ClearTVShowData * special_0x44 * DoTVShow (nonmatching because align) * DoTVShowBravoTrainerPokemonProfile * Update field names * DoTVShowBravoTrainerBattleTower * Renaming of struct fields * sub_80EBFF4 and UpdateTVScreensOnMap * SetTVMetatilesOnMap * Power buttons for the TV screens on the map * special_0x45 * sub_80EC18C * special_0x4a * ResetGabbyAndTy * GabbyAndTyBeforeInterview * GabbyAndTyAfterInterview * Through IsTVShowInSearchOfTrainersAiring * GabbyAndTyGetLastQuote * GabbyAndTyGetLastBattleTrivia * GabbyAndTySetScriptVarsToFieldObjectLocalIds * InterviewAfter; use TVShow as a precursor for making the individual show structs anonymous * Make TV structs anonymous within the union * Move the TV union to its own subheader * Move TV show enums to the global.tv.h subheader * Funcion renaming * Apply static attributes where able * PutPokemonTodayCaughtOnAir * sub_80EC8A4 * PutPokemonTodayFailedOnTheAir * sub_80EC9E8, sub_80ECA10 * sub_80ECA38 * sub_80ECB00 * Put3CheersForPokeblocksOnTheAir * PutFanClubSpecialOnTheAir * ContestLiveUpdates_BeforeInterview * Other before-interview Contest Live Updates functions * ContestLiveUpdates_BeforeInterview_5 * InterviewAfter_BravoTrainerPokemonProfile * BravoTrainerPokemonProfile_BeforeInterview1 * BravoTrainerPokemonProfile_BeforeInterview2 * Disassemble TV data * Decompile TV data * InterviewAfter_BravoTrainerBattleTowerProfile * SaveRecordedItemPurchasesForTVShow * PutNameRaterShowOnTheAir * StartMassOutbreak * PutLilycoveContestLadyShowOnTheAir * InterviewAfter_FanClubLetter * Rip TV strings * InterviewAfter_RecentHappenings * InterviewAfter_PkmnFanClubOpinions * sub_80ED718 * EndMassOutbreak * sub_80ED888 * sub_80ED8B4 * UpdateMassOutbreakTimeLeft * sub_80ED950 * PutFishingAdviceShowOnTheAir * through sub_80EDA80 * ewram and common syms are now fetched from the object files * BSS symbols are taken from the tv.o file * through sub_80EDC60 * sub_80EDCE8 * sub_80EDD78 * through sub_80EDE84 * nomatching sub_80EDE98 * sub_80EDFB4 * sub_80EE104 * sub_80EE104 * sub_80EE184 * sub_80EE2CC * sub_80EE35C * sub_80EE44C * sub_80EE4DC * sub_80EE5A4 * sub_80EE69C * sub_80EE72C * sub_80EE7C0 * sub_80EE818 * sub_80EE8C8 * sub_80EEA70 * sub_80EEB98 * sub_80EEBF4 * through sub_80EED60 * Functions relating to Pokemon News * sub_80EEF6C * GetPriceReduction * IsPriceDiscounted * sub_80EF120 * through sub_80EF370 * sub_80EF40C * HasMixableShowAlreadyBeenSpawnedWithPlayerID * TV_SortPurchasesByQuantity * FindActiveBroadcastByShowType_SetScriptResult * InterviewBefore * through sub_80EF88C * through sub_80EF93C * through sub_80EFA24 * through TV_BernoulliTrial * sub_80EFB58 * sub_80EFBA4 * sub_80EFBDC * through sub_80EFD98 * ChangePokemonNickname * ChangeBoxPokemonNickname * sub_80EFF9C * through player_id_to_dword * CheckForBigMovieOrEmergencyNewsOnTV * GetMomOrDadStringForTVMessage * sub_80F01E8 * sub_80F0358 * sub_80F049C * TV record mixing functions * sub_80F06D0 * sub_80F0708 nonmatching * through sub_80F0B24 * sub_80F0B64 * through sub_80F0C04 * sub_80F0C7C * sub_80F0D60 * sub_80F0E58 * sub_80F0E84 * through sub_80F0F24 * sub_80F0F64 * sub_80F1208 * sub_80F1254 * sub_80F1290 * sub_80F12A4 * sub_80F14F8 * DoTVShowTodaysSmartShopper * DoTVShowTheNameRaterShow * DoTVShowPokemonTodaySuccessfulCapture * DoTVShowPokemonTodayFailedCapture * DoTVShowPokemonFanClubLetter * DoTVShowRecentHappenings * DoTVShowPokemonFanClubOpinions * DoTVShowPokemonNewsMassOutbreak * DoTVShowPokemonContestLiveUpdates * DoTVShowPokemonBattleUpdate * DoTVShow3CheersForPokeblocks * DoTVShowInSearchOfTrainers * Label GabbyAndTyData fields; remove ddump comments from data/text/tv.inc * DoTVShowPokemonAngler * DoTVShowTheWorldOfMasters; update RAM symbols and field names * Decorate static functions * DoTVShowTodaysRivalTrainer; region map enums * TVDewfordTrendWatcherNetworkTextGroup * DoTVShowHoennTreasureInvestigators * DoTVShowFindThatGamer * DoTVShowBreakingNewsTV * DoTVShowSecretBaseVisit * DoTVShowPokemonLotterWinnerFlashReport * DoTVShowThePokemonBattleSeminar * DoTVShowTrainerFanClubSpecial, DoTVShowTrainerFanClub * DoTVShowSpotTheCuties * DoTVShowPokemonNewsBattleFrontier * DoTVShowWhatsNo1InHoennToday * Helpers for DoTVShowSecretBaseSecrets * DoTVShowSecretBaseSecrets * DoTVShowSafariFanClub * Finish decompilation of tv.s * Some renaming * Rename text group pointers * revoke statis; pokenews enums * Labels are number one * Label all TV struct fields * Make data/text/tv.inc more readable * Split data/text/tv.inc * Rename pokenews text pointers * Frontier Symbol constants; indicate static rodata objects with 's' prefix * Fix leading spaces/tabs F*** CLion sometimes * Fix inconsequential warning
2017-10-13 17:09:36 +02:00
2017-09-03 15:39:33 +02:00
.space 0x8
2016-11-01 19:35:16 +01:00
2017-09-03 14:13:01 +02:00
gRamSaveSectionLocations: @ 3006220
2016-11-01 19:35:16 +01:00
.space 0x74
gUnknown_03006294: @ 3006294
.space 0x4
gUnknown_03006298: @ 3006298
.space 0x8
2018-02-16 05:30:39 +01:00
.include "intro.o"
2016-11-01 19:35:16 +01:00
gUnknown_030062DC: @ 30062DC
.space 0x4
gUnknown_030062E0: @ 30062E0
.space 0x4
gUnknown_030062E4: @ 30062E4
.space 0x4
gUnknown_030062E8: @ 30062E8
.space 0x4
gUnknown_030062EC: @ 30062EC
.space 0x4
gUnknown_030062F0: @ 30062F0
.space 0x4
gUnknown_030062F4: @ 30062F4
.space 0xC
gUnknown_03006300: @ 3006300
.space 0x10
2017-12-16 00:08:23 +01:00
gMultiuseListMenuTemplate: @ 3006310
2016-11-01 19:35:16 +01:00
.space 0x18
gUnknown_03006328: @ 3006328
.space 0x48
gUnknown_03006370: @ 3006370
.space 0x10
.include "m4a_2.o"
2016-11-01 19:35:16 +01:00
2016-11-02 04:10:33 +01:00
.include "agb_flash.o"
2016-11-01 19:35:16 +01:00
2017-09-07 08:51:59 +02:00
gRfuState: @ 3007868
2016-11-01 19:35:16 +01:00
.space 0x8
gUnknown_03007870: @ 3007870
.space 0x10
gUnknown_03007880: @ 3007880
.space 0x10
gUnknown_03007890: @ 3007890
.space 0x4
gUnknown_03007894: @ 3007894
.space 0x4
gUnknown_03007898: @ 3007898
.space 0x8
gUnknown_030078A0: @ 30078A0
.space 0x660