summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)Author
2021-10-01Fixed CRLF->LF (#58)Cheng Hann Gan
Co-authored-by: Cheng Hann Gan <chenghann_gan@ultimatesoftware.com>
2021-09-28Created species/item data JSONs (#57)Cheng Hann Gan
* Created species data JSON * Added item data JSON * Removed address field from JSONs -Moved constants/item.h import to item.h. * Used default values for some JSON fields -Use item ID macros for item evolutions.
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-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-12minor code cleanupSeth Barberee
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-07Sese's vacation workSeth Barberee
2021-06-26convert remaining floorID headers to JSONSeth Barberee
2021-06-25convert all story line floorIDs to JSONSeth Barberee
2021-06-24convert Sky Tower and Sky Tower Summit to JSONSeth Barberee
2021-06-24convert MagmaCavern pokemon dataSeth 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-04-05Preproc all the data (#35)Seth Barberee
* actually put C files in preproc and use it for formatted type names. Cleaned up makefile like pokeemerald * finish adding all colors and text macros to charmap * preproc all the data and use text macros * move all of wonder_mail_1 to src * unify wonder_mail and wonder_mail_mid * small code cleanup * name two more exclusive pokemon funcs * decomp a few more wonder mail funcs * clean up MemoryFill call * doc more of wonder mail in main menu
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-03-30Move some data and Splitting (#32)Seth Barberee
* move friend area settings to src * split out playtime into different C file and decomp a few more funcs * time -> play_time * fix include * split out more wonder mail stuff * unify 203B2C0 and unkDungeon structs. snuck in a decomp func too * split out more menu screens * work some more on trade items * doc a few more things * add a close nonmatch and decomp nullsub and small func * rollback struct attempt since it causes nonmatchings * only one func left in asm * death to trade_item asm and unify into one C file * more docing and cleanup * label main menu and trade items menu global menu struct * doc itemMode
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-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-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-02-19Decomp more of personality_test (#27)Seth Barberee
* decomp most of personality_test * just gonna move the funcs to src in assembly for now so I can combine stuff * label another func and some cleanup * one func of personality test left in asm * small cleanups and labeling of funcs
2021-02-07Some Personality and data (#26)Seth Barberee
* decomp few personality funcs and clean up some pointers in the dungeon data * de-pointer-ify friend area dialogue * clean pointers on a personality test question * decomp a few more main menu funcs and dump some more data * label some 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-28small dungeon work.. to trigger webhookSeth Barberee
2021-01-22more headway on Pokemon funcs and labeled in asmSeth Barberee
2021-01-22split out all dungeon floor id dataSeth Barberee
2021-01-20mass doc'ing of symbols and some tiny decomp workSeth Barberee
2020-12-31Friend Area Decomp Work (#15)Seth Barberee
split out and work on friend area stuff
2020-12-15Wonder mail Pt. 1 (#11)Seth Barberee
Some work on decomping/labeling wonder mail. Renamed corresponding assembly/C files. Labeled a few strings in data too.
2020-12-15Translating DecompressionMateusz Naściszewski
Hopefully part one of many, some NONMATCHINGs in the larger functions, sadly.
2020-12-13Continue dumping and documenting stringsMateusz Naściszewski
2020-12-12Improve calcrom, add incbin counting, fix a few existing issues (#7)Mateusz Naściszewski
2020-12-12dump/label more data from data_800D090Seth Barberee
2020-12-12Text data cleanup! (#6)Mateusz Naściszewski
* Text data cleanup! Reformatted and fixed up all of data/text/, and extended charmap.txt The `#P` metacharacter (prompt) acts like a newline, so I reformatted it as such. All `.string` macros followed by `.byte 0x00` have been replaced with `.asciz` where possible, and `.string "...\0"` elsewhere, note that `.asciz` does not respect the charmap, so characters such as 'é' in 'Pokémon' or the various buttons would be incorrectly encoded. Also cleaned up occurences of `.byte 0x24`, which should just be a literal '$' inside the string. * Nuke all instances of `.asciz` As discussed on Discord, globally replaced all `.asciz` macros with `.string "...\0"`, as `.asciz` did not respect the charmap. * Minor string consistency fixes
2020-12-11Move personality test data out of data_80EBA18 (#5)Mateusz 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-12-11Resolve a few text incbins (#3)Mateusz Naściszewski
2020-12-05split more main_data offSeth Barberee
2020-12-04splitting more dungeon floor dataSeth Barberee
2020-12-03split out more floor dataSeth Barberee
2020-12-02slight cleanupSeth Barberee
Found a few things when I attempted to decompile GameLoop.