summaryrefslogtreecommitdiff
path: root/asm
AgeCommit message (Collapse)Author
2022-01-08Labeled CalculateFacingDir()AnonymousRandomPerson
2022-01-07Decomped HasNegativeStatus()AnonymousRandomPerson
2022-01-07Decomped CanTargetAdjacentPokemon()AnonymousRandomPerson
2022-01-06Decomped RoundUpFixedPoint()AnonymousRandomPerson
2022-01-06Labeled Warp Scarf variablesAnonymousRandomPerson
2022-01-04Decomped EvaluateItem()AnonymousRandomPerson
2021-12-29Decomped HasItem()AnonymousRandomPerson
2021-12-28Decomped IsTargetStraightAhead()AnonymousRandomPerson
2021-12-28Decomped TargetThrownItem()AnonymousRandomPerson
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-18Decomped GetMapTileAtPosition()AnonymousRandomPerson
2021-12-17Decomped InSameRoom_2()AnonymousRandomPerson
2021-12-14Decomped CanSee()AnonymousRandomPerson
2021-12-14Decomped CanTarget()AnonymousRandomPerson
2021-12-13Dump and document status spritesmid-kid
2021-12-13Dump unidentified tablesmid-kid
2021-12-13Finish de-incbinning data.smid-kid
2021-12-12Dungeon random/AI decomp + converted positions to structs (#83)Cheng Hann Gan
* Decomped RollPercentChance() * Decomped DungeonRandomCapped() * Decomped DungeonRandom() * Decomped FindRockItemTargets() -Added position struct.
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-15Label and doc iq skills and tactics info (#75)Seth Barberee
* label/doc iq skills/tactics info * decomp a few more dungeon_util and label some funcs * doc the IQSkills field
2021-11-13Decomped DecideUseItem (#73)Cheng Hann Gan
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-11-02Moves and some friend_area_action_menuSeth Barberee
2021-11-03Extract shop dialoguemid-kid
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-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-10-15Decomped entityExists() (#64)Cheng Hann Gan
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-10-11Finish main menu decomp (#59)Seth Barberee
* decomp rest of main_menu * move some main menu data over * decomp some more wonder mail * decomp the dungeon dialogue scene switches * more wonder mail * consolidate struct_802F204 * another wonder mail func * more wonder mail * slight cleanup
2021-10-08Update Luminous Cave text to use more descriptive labels (#61)FieryMewtwo
* Update luminous_cave.inc * Fix pointers * Fix pointers again * Fix pointers finally done
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-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-08Thank You Mail and minor DungeonEnitity Work (#52)Seth Barberee
* Thank You Mail: split out code into own file w/ data * use constant for facingDir
2021-09-01More PMD grind (#50)Seth Barberee
* more sese grind * match sub_802ABF8 * some more work
2021-08-20Decomp most of friend_rescue (#49)Seth Barberee
* decomp most of friend_rescue * dump corresponding data * more data dumping and name some personality test funcs * dump more text
2021-08-12More data dumping and some code cleaning (#46)Seth Barberee
* more data dumping and some code cleaning * split out cutscene scripts * initial start at script conversion * more script work * use correct type * clearer up struct field names * split known scripts into seperate files * no need to preproc pure ascii strings in debug * more cutscene work * split out personality test scripts * solidify text macros and doc some dungeon fields * more scripting work
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-25Pokemon related decomp (#47)Dennis
* decompile last function in pokemon_1.s * some pokemon related decomp * more decomp * decomp another function * decompile function * another one * decompile GetPokemonLevelData * decompile more * more decomp * more structure and decomp * decomp another function (need to do some renaming) * rename some stuff * I cant do anything without committing these 2 files
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-12More work on item related functions (#44)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 * decompile sub_80915F4 * decompile HasGummiItem * decompiled another function and renamed stuff * decompile 2 smaller functions * more functions * more decompiling and renaming * redo change that was undone in the merge
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-09Makefile and Install.md Revamp (#41)Seth Barberee
* Makefile: move over to gcc for preproc and ditch cpp * INSTALL: rewrite INSTALL * README: add CI badge * Makefile: make tools build before anything else
2021-07-07Sese's vacation workSeth Barberee
2021-06-2815% pogSeth Barberee
2021-06-23Finish out game options and FatalErrorSeth Barberee
Some data cleanup as well. Thanks pika for the noreturn tip for FatalError.