Commit Graph

49 Commits

Author SHA1 Message Date
Kermalis d42b07aa29 Create code_80130A8.h 2023-08-08 23:27:42 -04:00
Kermalis 5327e536bb Match sub_80078A4() 2023-08-07 08:26:38 -04:00
Kermalis 315ae86101 Match sub_80073E0 through sub_8007464 2023-08-07 00:02:22 -04:00
Kermalis 3ee8225409 Match sub_80073B8 2023-08-06 22:20:16 -04:00
Kermalis 09d6c61f84 Rename gTeamInventoryRef and gTeamInventory 2023-08-05 13:46:05 -04:00
Seth Barberee 6c5433950a more decomp work and ram setup 2023-06-25 16:37:48 -07:00
Seth Barberee 09b38d7aab code cleanup 2023-06-25 16:37:48 -07:00
Seth Barberee c7d3ab03b0 more decomp, move of some data, and code cleanup 2023-05-27 09:19:08 -07:00
Seth Barberee aecfede1f3 move more files ram sections to sym files 2023-05-08 15:25:33 -07:00
Seth Barberee 672c5071ed more documentation of vars and funcs 2023-04-24 10:45:52 -07:00
Seth Barberee a76aa6d797 more documentation of kecleon shop 2023-04-09 15:43:31 -07:00
AnonymousRandomPerson 88a6b44677 Merge branch 'master' of https://github.com/pret/pmd-red 2023-01-30 18:01:24 -05:00
AnonymousRandomPerson 39ef57251f Labeled spawnAmountRange 2023-01-28 18:34:04 -05:00
Seth Barberee 4320ec36ab more documentation and some decomp 2023-01-16 09:04:45 -08:00
AnonymousRandomPerson b22feb80af Merge remote-tracking branch 'upstream/master' 2023-01-13 22:36:16 -05:00
Seth Barberee 996a1cbc34 address kecleon review 2023-01-13 17:41:45 -08:00
Seth Barberee d7586163c4 document more kecleon shop 2023-01-13 17:22:41 -08:00
AnonymousRandomPerson be20f60ee0 Synced some symbol names with EoS hacking 2023-01-08 04:23:00 -05:00
Seth Barberee 5ecb84bfbc doing some more decomp 2022-10-18 18:45:08 -05:00
AnonymousRandomPerson f54f3b02b1 Merge branch 'master' of https://github.com/pret/pmd-red 2022-10-16 19:55:39 -04:00
AnonymousRandomPerson e2e4d38776 Decomped ChooseTargetPosition() 2022-10-16 19:48:46 -04:00
AnonymousRandomPerson a60c645b70 Rename Kecleon shop functions 2022-09-17 23:24:03 -04:00
Seth Barberee 107bef8fcd better names and clean things up 2022-07-31 15:40:44 -07:00
Seth Barberee 3477f61cf2 continue doing some more decomp 2022-03-13 17:48:04 -07:00
AnonymousRandomPerson 83d097624b Renamed sprintf() duplicate function 2022-03-10 22:33:13 -05:00
Seth Barberee f8d0556b20 remove redudant casts 2022-02-17 19:06:30 -06:00
Seth Barberee 19decc36d0 Move all the menus to respective directory in src/data/menus 2022-02-17 18:59:56 -06:00
Seth Barberee 3de1f79307 add more to moves header 2022-02-17 18:59:53 -06:00
AnonymousRandomPerson 2a2a0805b4 Decomped HasType() 2022-02-13 23:15:33 -05:00
AnonymousRandomPerson f728e7e90e Decomped DecideAttack() 2022-02-04 23:13:01 -05:00
AnonymousRandomPerson c30cf5c6da Decomped EvaluateItem() 2022-01-04 00:00:31 -06:00
Seth Barberee 4fc272fea6 No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp

* layin some more

* one func, one file
2021-12-01 14:33:06 -08:00
Cheng Hann Gan 0ea22237c9 Decomped DecideUseItem (#73) 2021-11-13 16:59:20 -08:00
Seth Barberee 561ea52847 Luminous cave (#72)
* 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-10 08:43:51 -08:00
Seth Barberee 3a1db3dfac Moves and some friend_area_action_menu 2021-11-02 16:31:16 -07:00
Seth Barberee 3e5dd1d047 Death by 74 files (#65)
* 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-22 10:01:07 -07:00
Seth Barberee 0d3b11e81a Data work and decomp some mail/pelipper board (#54)
* data work and decomp some mail/pelipper board

* resuce -> rescue

* label more data
2021-09-24 00:49:43 -05:00
Cheng Hann Gan 8237e29a16 Defined more in-dungeon structs and enums (#53)
* 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-09 16:22:48 -07:00
Dennis 26e5708818 More pokemon related decomp (#48)
* 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-08-01 12:09:13 -07:00
Dennis 645c45431b Pokemon related decomp (#47)
* 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-25 21:11:01 -07:00
Dennis bad7f7f688 More item related decomp (#45)
* 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

* 🦀 items.s is gone 🦀

* some renaming

* rename some obvious item related constants

* fix spelling error
2021-07-17 09:45:13 -07:00
Seth Barberee a65d358927 minor code cleanup 2021-07-12 17:50:19 -05:00
Dennis da7b30612f More work on item related functions (#44)
* 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-12 14:10:32 -05:00
Dennis 92a8e55fdd Decompiled some item related functions (#42)
* 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-10 11:23:20 -05:00
Seth Barberee 6aa475c631 Sese's vacation work 2021-07-07 11:39:34 -05:00
Seth Barberee f308c79eba 15% pog 2021-06-28 14:28:21 -05:00
Seth Barberee f1fdcc2b0a more splitting and labeling with some decomp 2021-06-18 17:56:20 -05:00
Seth Barberee 377bd14ea6 Dungeon pokemon/Floor ID JSON Part 1 (#39)
* 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-06-09 22:54:21 -05:00
Seth Barberee f402e46cd3 Sese's April/May Dump (#37)
* 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-05-15 18:59:55 -05:00