summaryrefslogtreecommitdiff
path: root/asm/code_2.s
AgeCommit message (Collapse)Author
2021-12-20Translate all .include to #includemid-kid
This decision was made to reduce the complexity of using .include whilst juggling with tools/scaninc and tools/preproc: - tools/scaninc doesn't apply the proper search rules for .include (it assumes #include behavior). In particular, it doesn't consider paths starting from $PWD, and doesn't scan the included files as a result. - .include had to be processed before #include by preproc in many cases, as code was being included that had to be preprocessed by CPP (think of #define). This contradicts standard GCC behavior. To make include paths consistent across the asm/ data/ and src/ directories, the following files were moved: - constants/ → include/asm/constants/ - asm/macros/ → include/asm/macros/ - asm/macros.inc → include/asm/macros.inc - include/macros/m4a.inc → include/asm/macros/m4a.inc As part of the necessary changes for this to work, the scaninc method in the makefile was improved to generate .d files that don't choke when files are missing.
2021-11-10Luminous cave (#72)Seth Barberee
* fully decomp luminous cave * remove header file. this one isn't ready yet * doc few fields and func * doc more of luminous cave
2021-10-11More text cleanup (#62)FieryMewtwo
* Update build.yml temporarily so that I can edit without having to try to figure out why my Git client keeps crashing * Fix references to the old save.inc text labels * Labels welp here we go again * Give Wonder Mail client 'thanks' text more descriptive function label names * Change back the workflow
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-06-23Finish out game options and FatalErrorSeth Barberee
Some data cleanup as well. Thanks pika for the noreturn tip for FatalError.
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-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-04-03More menu work (#33)Seth Barberee
* split adventure log menu out and decompile * add most adventure log matchings w/ 2 nonmatchings and move some relevant data * more work on other menus * fully decomp debug stuff around 203B3F0 * more debug menu work * fix CreatePartnerSelectionMenu nonmatch * move more data and clean some data up
2021-02-27Miscellaneous decomp/labeling/splitting (#29)Seth Barberee
* lots of wonder mail work, credits and label some stuff * nonmatch one intr func, match another, and label unused intr func * seperate credits out * split out debug menu and other stuff that isn't main menu * label another func * label some more funcs
2021-01-28decomp, label, doc, repeatSeth Barberee
2021-01-20mass doc'ing of symbols and some tiny decomp workSeth Barberee
2020-12-28Decompile xxx_update_stuffMateusz Naściszewski
2020-12-28Decompile GameLoop and lots of renamesMateusz Naściszewski
2020-12-28Label funcs and globalsMateusz Naściszewski
2020-12-15Translating DecompressionMateusz Naściszewski
Hopefully part one of many, some NONMATCHINGs in the larger functions, sadly.
2020-10-04split arm funcs to separate fileSeth Barberee