Commit Graph

105 Commits

Author SHA1 Message Date
PikalaxALT
344a71d347 through CB2_LinkError 2017-11-12 23:16:51 -05:00
PikalaxALT
e6b38426b7 sub_800ADF8 2017-11-12 22:44:20 -05:00
PikalaxALT
16dba15c1c through sub_800AD88 2017-11-12 22:30:00 -05:00
PikalaxALT
6fe7b33ae1 through sub_800AD10 2017-11-12 22:24:15 -05:00
PikalaxALT
ccf6599b40 sub_800AC34 2017-11-12 22:09:11 -05:00
PikalaxALT
b346bac98b through GetLinkPlayerCount_2 2017-11-12 21:31:08 -05:00
PikalaxALT
5ec0fc9aa0 sub_800AB18 2017-11-12 21:26:11 -05:00
PikalaxALT
2e95c5575f sub_800AA60 2017-11-12 20:57:21 -05:00
PikalaxALT
d0578ca9e0 through sub_800AA54 2017-11-11 09:56:47 -05:00
PikalaxALT
8eb7bdc617 Reinfer file boundaries 2017-11-11 00:39:02 -05:00
PikalaxALT
3321548956 Link common syms 2017-11-11 00:25:05 -05:00
PikalaxALT
e874cbd9d9 Rename functions in link.c 2017-11-11 00:05:44 -05:00
PikalaxALT
2c37f83546 sub_800A7DC 2017-11-10 23:12:21 -05:00
PikalaxALT
92afe9e33f sub_800A73C 2017-11-10 22:54:40 -05:00
PikalaxALT
ee738c74b9 through sub_800A6E8 2017-11-10 22:44:35 -05:00
PikalaxALT
efd0651efe through sub_800A678 2017-11-10 22:34:23 -05:00
PikalaxALT
27c0dc0fd5 through sub_800A588 2017-11-10 22:08:17 -05:00
PikalaxALT
50c1622507 Split link.s and link_rfu.s 2017-11-10 20:47:24 -05:00
PikalaxALT
3503444d3b Some EWRAM offsets abstracted away 2017-11-10 20:27:02 -05:00
PikalaxALT
263fbdb2c1 through sub_800A388 2017-11-10 19:37:38 -05:00
PikalaxALT
e8ea1867a0 sub_800A2F4 2017-11-10 19:25:46 -05:00
PikalaxALT
1ac4d1849c through sub_800A2BC 2017-11-10 19:14:35 -05:00
PikalaxALT
27f9dd0a97 sub_800A0C8 2017-11-10 19:06:06 -05:00
PikalaxALT
d76901ff64 through sub_800A0AC 2017-11-10 08:37:50 -05:00
PikalaxALT
c9da45b254 through sub_8009FAC 2017-11-09 21:56:47 -05:00
PikalaxALT
1523d5c01e sub_8009D90 2017-11-09 21:48:27 -05:00
PikalaxALT
d94f74d261 sub_8009AA0 2017-11-09 21:14:43 -05:00
PikalaxALT
6192cb2eea sub_8009A58 2017-11-08 20:48:26 -05:00
PikalaxALT
d51f87226f sub_80099E0 2017-11-08 20:11:29 -05:00
PikalaxALT
9a9f601244 sub_8009900 2017-11-08 19:58:59 -05:00
PikalaxALT
e68dbd6276 through sub_8009818 2017-11-08 19:29:37 -05:00
PikalaxALT
d5547a3744 main.c common syms 2017-11-07 23:53:30 -05:00
PikalaxALT
9029fb27c1 through sub_8009734 2017-11-07 22:52:10 -05:00
PikalaxALT
f90106ae6c sub_8009638 2017-11-07 22:26:00 -05:00
PikalaxALT
0709dc7e4c sub_8009570 2017-11-07 22:14:40 -05:00
PikalaxALT
59eb766f47 sub_80094EC 2017-11-07 21:45:44 -05:00
PikalaxALT
fce326fbd4 through sub_8009414 2017-11-07 20:25:24 -05:00
DizzyEggg
455202eca0 Merge branch 'master' into decompile_rom3 2017-10-14 11:36:28 +02:00
Diegoisawesome
924c0c6b5a Merge branch 'master' of https://github.com/pret/pokeemerald into decomp_scrcmd 2017-10-13 20:29:11 -05:00
DizzyEggg
72ed861715 fix rom3 conflicts 2017-10-13 19:58:45 +02:00
DizzyEggg
c78679ae66 rom3 decomp start 2017-10-13 17:22:50 +02:00
PikalaxALT
52db3ad5aa 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 10:09:36 -05:00
Diegoisawesome
f1b6358047 Port/decomp scrcmd 2017-10-12 02:06:19 -05:00
DizzyEggg
1fcafaf35a more of battle2 done 2017-10-01 18:54:01 +02:00
DizzyEggg
729f4e10ed start decompiling battle2 2017-10-01 01:12:42 +02:00
DizzyEggg
9ee9a20152 fix merge conflicts 2017-09-21 10:50:15 +02:00
Diegoisawesome
9ed9f7de94 Finish renaming strings in strings.s 2017-09-20 16:46:59 -05:00
DizzyEggg
3919b7130b Fix merge conflicts 2017-09-20 13:12:43 +02:00
DizzyEggg
c253bf5e75 add important headers, const ptrs and egg hatch start 2017-09-18 18:36:05 +02:00
scnorton
71b40f50c0 Merge branch 'master' into field_map_obj 2017-09-17 13:38:33 -04:00