summaryrefslogtreecommitdiff
path: root/asm/code_80428A0.s
AgeCommit message (Collapse)Author
2021-12-24decomp some moreSeth Barberee
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-12-13Dump and document status spritesmid-kid
2021-12-09AI decomp + type cleanup (#82)Cheng Hann Gan
* Decomped SetAction() * Changed MapTile.tileType to u16 bit field * Decomped FindStraightThrowableTargets() * Cleaned up CannotAttack() * Cleaned up some externs * Converted dungeon action to substruct
2021-12-01No wifi + 2 days on train = more decomp (#80)Seth Barberee
* No wifi + 2 days on train = more decomp * layin some more * one func, one file
2021-11-22Label all entities in Boss Fight Cutscenes (#78)Seth Barberee
* label all entities in cutscenes * remove commented func.. wasn't matching anyway * Skarmony -> Skarmory
2021-11-20Labeled more symbols (#77)Cheng Hann Gan
* Labeled more symbols * Fixed comment typo * Renamed some functions
2021-11-13Decomped DecideUseItem (#73)Cheng Hann Gan
2021-11-02Moves and some friend_area_action_menuSeth Barberee
2021-10-28Decomped more dungeon AI (#67)Cheng Hann Gan
* Decomped IsMovingClient() * Fixed typos in boss dialogue * Fixed spelling of Pelipper * Decomped CannotUseItems * Decomped ShouldAvoidEnemies() * Decomped HasAbility() * Decomped HasTactic() * Decomped CannotMove * Decomped CannotAct() and IsCharging()
2021-10-22Decomped DecideAction() (#66)Cheng Hann Gan
* Decomped DecideAction() * Defined dungeon Pokémon array sizes
2021-10-15Decomped entityExists() (#64)Cheng Hann Gan
2021-09-09Defined more in-dungeon structs and enums (#53)Cheng Hann Gan
* Defined DungeonEntity * Rename EntityType enums * Revert EntityType rename * Defined more in-dungeon structs and enums * Added more dungeon global structs/enums * Prefixed dungeonGlobalData with g * Fixed compile errors * Removed some CRLFs * Fixed compile after merge * Revert Makefile * Rename DungeonEntityData.entityType Co-authored-by: Seth Barberee <seth.barberee@gmail.com> * Renamed symbols per PR comments Co-authored-by: Cheng Hann Gan <chenghann_gan@ultimatesoftware.com> Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-09-01More PMD grind (#50)Seth Barberee
* more sese grind * match sub_802ABF8 * some more work
2021-07-17More item related decomp (#45)Dennis
* decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * :crab: items.s is gone :crab: * some renaming * rename some obvious item related constants * fix spelling error
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-18more splitting and labeling with some decompSeth Barberee
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-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-31Main Menu and Scripts (#25)Seth Barberee
* label more funcs, dump scripts/text, and decomp main menu * decomp vram func and dump more data * add forgotten file * get rid of goto in UpdateMenu
2021-01-20mass doc'ing of symbols and some tiny decomp workSeth Barberee
2020-12-28Decompile GameLoop and lots of renamesMateusz Naściszewski
2020-12-13Continue dumping and documenting stringsMateusz Naściszewski
2020-12-11data_80F4278.s dumping (#4)Mateusz Naściszewski
* Dumping menu text, part 1 * Continuing to dump text * Renamed actions array according to suggestion
2020-11-23isemi-identified VRAM and split personality test funcsSeth Barberee
2020-10-10some doc'ing and decompingSeth Barberee
2020-09-271.8% functions decomped.. so close to 2%Seth Barberee