pokeemerald/include
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
..
gba decompile save_failed_screen.c 2017-10-06 18:33:35 -04:00
abilities.h finish decompiling battle_ai.c (#16) 2017-02-03 18:34:56 -08:00
battle_2.h battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
battle_ai_script_commands.h rename battle4 and battleai 2017-09-28 17:38:07 +02:00
battle_ai_switch_items.h battle 9 is decompiled 2017-10-11 12:49:42 +02:00
battle_controllers.h battle9 is being worked on 2017-10-10 18:01:45 +02:00
battle_dome_cards.h Add battle_dome_cards header to expose symbols as needed 2017-09-19 09:46:17 -04:00
battle_message.h battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
battle_move_effects.h decomp calc dmg and clean up battle ai 2017-09-04 21:43:13 +02:00
battle_script_commands.h battle9 is being worked on 2017-10-10 18:01:45 +02:00
battle_setup.h start decompiling battle2 2017-10-01 01:12:42 +02:00
battle_string_ids.h battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
battle_tower.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
battle_transition.h create battle_transition.h 2017-10-03 12:11:13 +02:00
battle_util.h battle 2 is done 2017-10-06 17:06:45 +02:00
battle.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
berry.h split data3_a1 2017-09-25 15:03:52 -04:00
bg.h finish egg hatch, clean up headers 2017-09-19 14:27:46 +02:00
blend_palette.h clean up declarations in src/palette.c 2017-10-01 21:50:58 -04:00
calculate_base_damage.h begin work on battle4, organize battle headers 2017-09-19 21:01:12 +02:00
coins.h start coins decomp 2017-09-09 14:24:18 +02:00
config.h port pokemon size record 2017-09-08 22:23:14 +02:00
contest.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
decompress.h clean up decompress header 2017-09-02 20:08:08 +02:00
decoration.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
dewford_trend.h make lots of define files 2017-09-07 19:45:32 +02:00
diploma.h add diploma header and static names fix 2017-10-09 13:55:31 +02:00
dma3.h BSS: src/main.o, src/dma3_manager.o 2017-09-30 09:32:46 -04:00
easy_chat.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
event_data.h finish event data 2017-09-02 22:31:37 +02:00
event_scripts.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
evolution_scene.h battle2 more and more and more 2017-10-06 00:12:01 +02:00
field_camera.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
field_effect_helpers.h Ten more functions (remaining function count is 99) 2017-09-17 13:26:17 -04:00
field_effect.h Fix header guards 2017-09-16 15:13:06 -04:00
field_ground_effect.h npc_obj_ministep_stop_on_arrival 2017-09-17 08:05:33 -04:00
field_map_obj.h npc_obj_ministep_stop_on_arrival 2017-09-17 08:05:33 -04:00
field_message_box.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
field_player_avatar.h Fix header guards 2017-09-16 15:13:06 -04:00
fieldmap.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
flags.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
game_stat.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
global.berry.h start decompiling battle2 2017-10-01 01:12:42 +02:00
global.fieldmap.h Failed attempt to fix InitFieldObjectStateFromTemplate, but at least we fixed the weirdness with the double MapObject structs 2017-09-17 11:39:49 -04:00
global.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
global.tv.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
gpu_regs.h fix merge conflicts 2017-09-21 10:50:15 +02:00
hall_of_fame.h start porting cam's port of battle3 2017-09-17 14:10:32 +02:00
hold_effects.h decomp calc dmg and clean up battle ai 2017-09-04 21:43:13 +02:00
international_string_util.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
item_menu.h through sub_818E3E0 2017-09-20 11:48:11 -04:00
item.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
items.h decomp calc dmg and clean up battle ai 2017-09-04 21:43:13 +02:00
lilycove_lady.h Populate header, label as static whatever won't break things 2017-09-20 21:03:57 -04:00
link.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
load_save.h start decompiling battle2 2017-10-01 01:12:42 +02:00
lottery_corner.h make lots of define files 2017-09-07 19:45:32 +02:00
m4a.h add important headers, const ptrs and egg hatch start 2017-09-18 18:36:05 +02:00
mail.h battle 4 up to 0xE5 2017-09-27 23:43:45 +02:00
main.h more of battle2 done 2017-10-01 18:54:01 +02:00
malloc.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
map_constants.h Add Avara's map_constants.h 2017-09-30 08:40:21 -04:00
map_obj_8097404.h Remaining functions 2017-09-17 15:33:26 -04:00
mauville_old_man.h Merge branch 'master' into field_map_obj 2017-09-13 19:29:19 -04:00
menu.h decompile money 2017-09-29 00:11:42 +02:00
metatile_behavior.h decompile metatile behav 2017-09-29 19:03:50 +02:00
metatile_behaviors.h decompile metatile behav 2017-09-29 19:03:50 +02:00
money.h decompile money 2017-09-29 00:11:42 +02:00
moves.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
multiboot.h Start decomp 2017-09-18 09:23:06 -04:00
naming_screen.h battle 4 commands are decompiled 2017-09-28 15:34:21 +02:00
new_game.h rom_81700F8 2017-09-15 22:12:45 -04:00
palette.h Disassemble palette.s 2017-03-04 22:43:34 -06:00
play_time.h begin working on pokeemerald 2017-08-31 16:48:24 +02:00
pokeblock.h make lots of define files 2017-09-07 19:45:32 +02:00
pokedex.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
pokemon_animation.h label and decomp some pokemon animation stuff 2017-09-12 13:05:54 +02:00
pokemon_icon.h battle 4 up to a8 2017-09-26 22:39:59 +02:00
pokemon_item_effects.h battle 9 is decompiled 2017-10-11 12:49:42 +02:00
pokemon_size_record.h port pokemon size record 2017-09-08 22:23:14 +02:00
pokemon_storage_system.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
pokemon.h battle 9 is decompiled 2017-10-11 12:49:42 +02:00
recorded_battle.h battle2 more and more and more 2017-10-06 00:12:01 +02:00
region_map.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
reshow_battle_screen.h battle 4, up to x69 2017-09-25 00:09:13 +02:00
rng.h decompile rng 2017-02-02 16:30:30 -08:00
roamer.h decompile roamer 2017-09-28 20:52:36 +02:00
rom4.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
rom6.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
rom_81BE66C.h Fix header guards 2017-09-16 15:13:06 -04:00
rom_818CFC8.h Fix header guards 2017-09-16 15:13:06 -04:00
rtc.h decompile rtc 2017-09-02 23:28:44 +02:00
safari_zone.h decomp safari zone 2017-09-09 15:45:50 +02:00
save_location.h add save location header, change static names 2017-10-09 13:48:41 +02:00
save.h decompile save_failed_screen.c 2017-10-06 18:33:35 -04:00
script_menu.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
script.h decompile script.s 2017-09-10 23:05:23 +02:00
secret_base.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
shop.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
siirtc.h port siirtc from pokeruby 2016-11-02 14:06:41 -07:00
songs.h battle2 more and more and more 2017-10-06 00:12:01 +02:00
sound.h iwram and ewram vars to C 2017-09-02 17:32:34 +02:00
species.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
sprite.h battle2 3500 C lines 2017-10-02 23:32:39 +02:00
start_menu.h start start menu decomp 2017-09-05 13:01:24 +02:00
string_util.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
strings.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
task.h Begin disassembling text.s 2017-03-07 07:44:41 -06:00
text_window.h rename sprite labels 2017-09-01 19:43:26 +02:00
text.h battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
trainer_classes.h more of pokemon3 decompiled 2017-09-11 14:42:13 +02:00
trainer_ids.h pokemon 3 is almost decompiled 2017-09-12 15:05:40 +02:00
trainer_see.h Ten more functions (remaining function count is 99) 2017-09-17 13:26:17 -04:00
trig.h finish egg hatch, clean up headers 2017-09-19 14:27:46 +02:00
tv.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
unknown_task.h more of battle2 done 2017-10-01 18:54:01 +02:00
util.h decompile util.s 2017-09-13 12:58:57 +02:00
vars.h Decompile TV (#80) 2017-10-13 10:09:36 -05:00
window.h use rodata for save_failed_screen 2017-10-06 21:59:47 -04:00