summaryrefslogtreecommitdiff
path: root/src/save.c
AgeCommit message (Collapse)Author
2022-03-11All saving functions decompedSeth Barberee
- poke_sub_4 was determined to be Dungeon Index/Floor - Clean up code that references these functions
2021-11-20Labeled more symbols (#77)Cheng Hann Gan
* Labeled more symbols * Fixed comment typo * Renamed some functions
2021-10-22Death by 74 files (#65)Seth Barberee
* death by 74 files * 20% reached * doc move stuff in pokemon * fix undef reference * doc more and plumb a few more constanst for num party members and num moves * that struct is def PokemonMove.. clean up all code with it
2021-09-24Data work and decomp some mail/pelipper board (#54)Seth Barberee
* data work and decomp some mail/pelipper board * resuce -> rescue * label more data
2021-08-01More pokemon related decomp (#48)Dennis
* add struct names * decompile SaveRecruitedPokemon * decompile ReadRecruitedPokemon * decomp anotha one * some renaming * another save function * more backup functions * sub_808E400 * only one function left in pokemon_2.s * decomp one more function * merge 2 structs
2021-07-10Decompiled some item related functions (#42)Dennis
* decompile sub_8091290 * decompile sub_80912c8 * rename functions / struct field * more names * decompile 80913A0 * decompile GetItemMove * decompile sub_80913E0 * rename function * decompile CanSellItem function * rename inventory struct * add some item check functions * fix renaming stuff * this file shouldnt have been here * forgot merge conflict * decompile more item functions * rename some stuff * fix HM/TM naming * Update src/code_801AFA4.c Use enum value for USED_TM * Fix incorrect value Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-07-07Sese's vacation workSeth Barberee
2021-06-23Finish out game options and FatalErrorSeth Barberee
Some data cleanup as well. Thanks pika for the noreturn tip for FatalError.
2021-06-18more splitting and labeling with some decompSeth Barberee
2021-06-09Dungeon pokemon/Floor ID JSON Part 1 (#39)Seth Barberee
* move Thunderwave and Tiny Woods pokemon to json * rule tweaking to actually build tool before parsing JSON * delete .inc pokemon for tiny Woods and Thunderwave * silence git complaining about br_ips and ips_patch * use defines for species and pass the header file for species * convert sinister woods * convert MtThunderPeak * convert silent chasm * add trial floor_id w/ tiny woods * change make rule name to fix compile * MtSteel converted and bugfix * convert few floor headers and great canyon pokemon * code cleanup * unify unkData into UnkTextStruct2 * more code cleanup and some text decomp * doc more funcs and decomp/split some stuff * document more save stuff * more save work and move some data * pika sniped UpdateNatureTotal * decomp a litle and convert a few more dungeons * better scanning for json files * mt freeze and peak
2021-05-23Keep on keepin on (#38)Seth Barberee
* end of may dump of work * move save text to src * decomp a little more
2021-05-15Sese's April/May Dump (#37)Seth Barberee
* splitting lots of pokemon square and labeling lots of other things * actually commit this stuff * more moving data and things * more screen work * split out some pokemon dungeon data * lots of data work * push more data work * split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more * lots of item work * label more item things * subtype -> category and doc types/category
2021-03-23Miscellaneous Work (Again) (#31)Seth Barberee
* move some personality data from asm to C * combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu * decomp some more wonder mail funcs and label some more data * lots of data splitting and move some to src * split out more dungeon data * continue splitting out more dungeon data * doc rescue team rank/pts funcs/data and exclusive pokemon ewram * doc more sound things and decomp a func * decomp LoadTeamRankBadge and label some data members * split out rescue team and text util stuff * forgot a constant * match a few funcs and clean up a few * cleaned up sub_80A28B4
2021-03-12Miscellaneous Work (Again) (#30)Seth Barberee
* work on debug menu and document that and main menu * split, decomp, label more funcs * split exclusive pokemon data out into C * macro-ize exlusive pokemon data * decomp 2 more funcs * decomp a few more * finally match PromptNewQuestion * woot 7% aka more debug menu stuff
2021-02-21Fully decomp save.s (#28)Seth Barberee
* some work on decomping more save stuff * code cleanup and decomp another save func * fully decomp save and combine split save c files * fix two nonmatchings
2021-01-095% woooSeth Barberee
2020-10-31decomp a little more of saveSeth Barberee
2020-10-09unify save defines and decomp more save stuffSeth Barberee
2020-08-02decomp sub_8011F9CSeth Barberee
2019-08-13Add libisagbprnKermalis
2019-08-12save.c - sub_8011DA8() and sub_8011DAC()Kermalis
2019-08-10save.c - sub_8011CA8() to ReadSaveSector()Kermalis
2018-11-20Renamed primary heap variables and partial cleanup m4a.snullableVoidPtr
2018-11-18Fix makefile and decompile some functions.nullableVoidPtr
Partial memory.c, save.c and bg_palette_buffer.c decompilation, along with some asm/ cleanup.