Commit Graph

571 Commits

Author SHA1 Message Date
Kermalis
1d9f1334ed Remove unnecessary EWRAM_DATA from headers 2023-08-10 19:55:31 -04:00
Kermalis
18bdbf6276 Update friend_area.h 2023-08-09 11:18:16 -04:00
Kermalis
b19812538f Debug Menu work YIPPEEEEEEEE 2023-08-09 11:09:42 -04:00
Kermalis
a4c1d54338 Nonmatch sub_803ABC8 and clean debug/main menu 2023-08-09 08:41:47 -04:00
Kermalis
4403a886b4 Move these externs to text2.h 2023-08-08 23:33:53 -04:00
Kermalis
1203dd9392 Guard menu_input.h 2023-08-08 23:29:03 -04:00
Kermalis
d42b07aa29 Create code_80130A8.h 2023-08-08 23:27:42 -04:00
Kermalis
60a6b5745a sub_8007BA8 through nullsub_160 2023-08-08 22:16:14 -04:00
Kermalis
86b701114e sub_8007B7C + nullsub_158 2023-08-07 11:19:45 -04:00
Kermalis
a10e7454fc NAKED sub_8007AA4 2023-08-07 11:11:58 -04:00
Kermalis
e414e4c113 Match sub_8007A78 and nullsub_157 2023-08-07 10:14:52 -04:00
Kermalis
c419a607d0 Nonmatch sub_8007958 for now 2023-08-07 10:09:14 -04:00
Kermalis
297b00a5a8 Match sub_800792C and nullsub_129 2023-08-07 08:36:03 -04:00
Kermalis
5327e536bb Match sub_80078A4() 2023-08-07 08:26:38 -04:00
Kermalis
175400074e NAKED match xxx_draw_char() 2023-08-07 08:16:51 -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
60b498f072 Also extern gUnknown_2027370 2023-08-06 20:09:35 -04:00
Kermalis
73b2e98b8c Correct size and extern gUnknown_202B038 2023-08-06 20:05:41 -04:00
Kermalis
05e48f1e81 Rename code_800B5F0 to reg_control 2023-08-06 03:16:47 -04:00
Kermalis
d20e2522c2 Match funcs and create unused_vblank.c
Also cleaned more .h files
2023-08-06 03:10:51 -04:00
Kermalis
938f8cf177 text1/text2 rename 2023-08-05 15:34:20 -04:00
Kermalis
09d6c61f84 Rename gTeamInventoryRef and gTeamInventory 2023-08-05 13:46:05 -04:00
Kermalis
9917619da8 Pascal naming 2023-08-05 13:20:00 -04:00
Kermalis
417eb19802 Clean Kangaskhan 2/2 2023-08-05 12:56:50 -04:00
Kermalis
944a420449 Clean Kangaskhan 1/2 2023-08-05 12:26:34 -04:00
Kermalis
595e2a0b88 KECLEON_BROS_MODE_COUNT 2023-08-05 11:54:02 -04:00
Kermalis
0db7804d6b gUnknown_203B210 -> gKecleonBrosWork 2023-08-05 11:42:20 -04:00
Kermalis
7cf567e51b Clean kecleon_bros function signatures 2023-08-05 11:32:30 -04:00
Kermalis
5919f5c74d kecleon_items to kecleon_bros (more descriptive) 2023-08-05 11:11:22 -04:00
Kermalis
76052c93f1 Clean kecleon_items 2023-08-05 02:31:31 -04:00
Kermalis
62c1933a3e Add offsets 2023-08-05 00:09:13 -04:00
Kermalis
530c7ddb4b Address review with MakuhitaDojoMode
Kecleon/Gulpin/Felicity/Kangaskhan all have modes and I'll add them soon
2023-08-04 22:16:15 -04:00
Kermalis
0290a45172 Forgor these two funcs 2023-08-04 01:08:38 -04:00
Kermalis
e68a5b70be Clean/document some Makuhita Dojo 2023-08-04 01:05:54 -04:00
Kermalis
95095d6829 Merge Makuhita Dojo files together :) 2023-08-04 00:48:59 -04:00
Kermalis
67d9a242bf Match UpdateMakuhitaDialogue 2023-08-04 00:37:49 -04:00
Kermalis
06be3b10e8 Address review 2023-08-03 20:58:49 -04:00
Kermalis
80900fac6f Match sub_8006554 and document the WTFism 2023-08-03 09:27:56 -04:00
Kermalis
fadeddf985 Prepare function signature (still OK) 2023-08-03 09:06:01 -04:00
Seth Barberee
9df54afd85 move more menuinput funcs to header 2023-07-31 17:29:50 -07:00
Seth Barberee
1477509009 Matched sub_8020EB4 thanks to jiang 2023-07-31 11:46:09 -07:00
Seth Barberee
24b1c4baea more gulpin 2023-07-31 11:36:39 -07:00
Seth Barberee
0db89b429a more gulpin work 2023-07-30 11:11:57 -07:00
Seth Barberee
fbd2af5415 finish kangaskhan and clean event flag 2023-07-28 14:56:34 -07:00
Seth Barberee
eb19398b4f combine event_flag files 2023-07-28 11:10:45 -07:00
Seth Barberee
151193f73d more decomp and documentation 2023-07-27 22:51:26 -07:00
Seth Barberee
d5a7e0ede2 finish decomping wigglytuff_shop thanks to jiang 2023-07-27 21:46:31 -07:00
Seth Barberee
07230ba68e continue to clean up functions and add ewram 2023-07-27 21:46:31 -07:00
Seth Barberee
eaaa2012da finish matching exclusive_pokemon 2023-07-27 21:46:31 -07:00
Seth Barberee
c468247aaa actually commit sub_8038014 and a few more 2023-07-27 21:46:31 -07:00
Seth Barberee
ba6c9b1a56 continue decomping link functions 2023-07-27 21:46:31 -07:00
Seth Barberee
1098955bee more decomp 2023-07-27 21:46:29 -07:00
Seth Barberee
28f0516f56 document some things from pmdsky 2023-07-27 21:45:40 -07:00
Kermalis
f510d377e0 Clean/Correct some structs
Changed UnkTextStruct2_sub to ushorts because they are loaded as int16s in text.s (which I was working on)
That might change some current nonmatchings since they revolve around this struct
2023-07-25 01:41:05 -04:00
Seth Barberee
33ea2db834
Merge pull request #142 from Kermalis/kermalis-dungeon_capabilities
Complete dungeon_capabilities
2023-07-24 21:03:40 -07:00
Kermalis
eb1b806e93 Merge dungeon_capabilities files together 2023-07-24 21:36:00 -04:00
Kermalis
2c3f95abb6 Match sub_8070BC0 2023-07-24 21:25:38 -04:00
Kermalis
908f09a642 Complete felicity bank 2023-07-22 23:11:28 -04:00
Kermalis
117feaf92b Move xxx_call_draw_string to text.h 2023-07-22 23:11:00 -04:00
Kermalis
5dec0a0a32 Match UpdateFelicityBankDialogue() 2023-07-22 20:50:44 -04:00
Kermalis
a5c7e736f9 Clean gulpin/felicity 2023-07-22 19:14:33 -04:00
Kermalis
11d98c1d63 Clean felicity bank 2023-07-22 01:38:36 -04:00
Kermalis
847ff2cbac Minor struct/externs cleanup 2023-07-21 23:12:32 -04:00
Kermalis
9b491a782e Document/correct some struct sizes & offsets 2023-07-17 22:16:42 -04:00
Kermalis
1ce7c466b5 Grossly complete rescue_password_menu 2023-07-17 00:48:09 -04:00
Kermalis
1159ba9a3e Complete Gulpin Shop 2023-07-15 13:49:36 -04:00
Seth Barberee
31c77025ba fix: address review comments 2023-07-10 08:41:48 -07:00
Seth Barberee
f2165154c2 nit: forgot another MenuInputStruct 2023-07-09 20:17:37 -07:00
Seth Barberee
27fade4e9c decomp more menu_input 2023-06-30 07:41:42 -07:00
Seth Barberee
d18b00758b Finish converting items over to MenuInputStruct 2023-06-28 21:25:13 -07:00
Seth Barberee
db705e9398 split out menu input asm and rename UnkInputStruct to MenuInputStruct 2023-06-26 20:48:18 -07:00
Seth Barberee
852f4b9eff start moving more structs to use UnkInputStruct 2023-06-26 20:24:47 -07:00
Seth Barberee
40772e3a2f more decomp and documentation 2023-06-25 16:37:48 -07:00
Seth Barberee
260d2c8726 More decomp and work 2023-06-25 16:37:48 -07: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
ea36235ecd more decomp work 2023-06-25 16:37:48 -07:00
Seth Barberee
6ecb88d3d2 matched sub_8048A68 thanks to @YohannDR 2023-06-04 07:31:44 -07:00
Seth Barberee
f3be2cd407 more decomp 2023-06-03 19:59:48 -07:00
Seth Barberee
ee7171825a combine dungeon_movement 2023-06-03 13:52:44 -07:00
Seth Barberee
59c5ea161d Move more data to src 2023-06-02 16:04:19 -07:00
Seth Barberee
c7d3ab03b0 more decomp, move of some data, and code cleanup 2023-05-27 09:19:08 -07:00
Seth Barberee
515f0871bc more decomp 2023-05-25 08:02:53 -07:00
Seth Barberee
caaee60187 one more menu decomp and EncoreMoveAction/StatusTarget decomped 2023-05-25 08:02:53 -07:00
Seth Barberee
5cf2c9effc more menu work and more documentation 2023-05-25 08:02:53 -07:00
Seth Barberee
fae8e0cbfb more menu decomp and merging of files 2023-05-25 08:02:53 -07:00
Seth Barberee
2d01cbd025 more decomp of menus and combining files 2023-05-25 08:02:53 -07:00
Seth Barberee
d9a411956b another menu decomped 2023-05-25 08:02:53 -07:00
Seth Barberee
2116aef8c2 decomp another func and cleanup code 2023-05-25 08:02:53 -07:00
Seth Barberee
346bcc681f more decomp 2023-05-25 08:02:53 -07:00
Seth Barberee
aecfede1f3 move more files ram sections to sym files 2023-05-08 15:25:33 -07:00
Seth Barberee
68bc0c0b6d start wiring up ramscrgen for files 2023-05-08 13:51:08 -07:00
Seth Barberee
5a45039c2d split out functions to respecive files and some cleanup 2023-05-08 11:37:34 -07:00
Seth Barberee
a601fd3a08 more decomp 2023-05-07 11:03:18 -07:00
Seth Barberee
c5014c3ca4 more decomp 2023-05-05 18:06:16 -07:00
Seth Barberee
672c5071ed more documentation of vars and funcs 2023-04-24 10:45:52 -07:00
Seth Barberee
fccd4b2ec8 document more fields of dungeon 2023-04-20 21:57:49 -07:00
Seth Barberee
0520040b07 decomp some more dungeon funcs 2023-04-14 11:39:11 -07:00
Seth Barberee
261ba2c4c2 document menuAction variables 2023-04-09 16:22:17 -07:00
Seth Barberee
a76aa6d797 more documentation of kecleon shop 2023-04-09 15:43:31 -07:00
Seth Barberee
870de4e482 decomp another func and document a few more fields in gDungeon 2023-04-08 19:38:28 -07:00
Seth Barberee
155d4e9f0d minor: label a few more funcs 2023-03-31 09:20:45 -07:00
Seth Barberee
dfedc6a896 feat: the great labeling of wonder mail 2023-03-27 20:25:08 -07:00
Seth Barberee
089bd48186
Merge pull request #125 from SethBarberee/feb_2023
Feb 2023
2023-03-04 00:14:10 -06:00
Seth Barberee
371316ae49 chore: add more MenuStruct defs 2023-02-26 08:36:23 -08:00
Seth Barberee
e9b94680da chore: continue to add more MenuStruct types 2023-02-25 11:46:53 -08:00
Seth Barberee
9aeb855d41 chore: continue to use more MenuStruct around the code 2023-02-25 10:21:10 -08:00
Seth Barberee
08f7182576 finish out another file and more documenting 2023-02-24 18:14:21 -08:00
Seth Barberee
a9049a261f match 8012E04 w/ jiang and more changes to UnkTextStruct2 2023-02-24 09:07:32 -08:00
Seth Barberee
7ff7403633 document more music 2023-02-17 16:51:50 -08:00
Seth Barberee
6516301060 more menu input work and constant-ify key press functions 2023-02-16 07:52:11 -08:00
AnonymousRandomPerson
1446ae3d57 Labeled last unknown dungeon data field 2023-02-14 16:17:59 -05:00
AnonymousRandomPerson
62f51f6d28 Fixed some labels on dungeon data struct 2023-02-14 15:09:39 -05:00
AnonymousRandomPerson
97496603de Dumped dungeon parameters 2023-02-14 00:02:52 -05:00
Seth Barberee
dcd8ea2e2f move MenuStruct to include/menu and use in more places 2023-02-13 17:37:15 -08:00
Seth Barberee
1c92acbef7 move some more menu items over and figure out sub_8035CF4 2023-02-13 16:59:10 -08:00
Seth Barberee
ba733a79c5 more documenting 2023-02-12 09:24:40 -08:00
AnonymousRandomPerson
b783cb9f0e Label more dungeon entry fields 2023-02-12 00:49:57 -05:00
Seth Barberee
160ca4319d document a few structs 2023-02-08 18:07:44 -06:00
AnonymousRandomPerson
7c8572c519 Dumped move range strings 2023-02-05 22:12:46 -05:00
AnonymousRandomPerson
6f831fcfd4 Filled out offset comments in MoveDataEntry struct 2023-02-05 19:40:47 -05:00
Dennis H
6ea9be7368 some more decomp and documenting 2023-02-01 21:54:49 +01:00
Dennis H
06504623ea fix all merge conflicts 2023-01-31 11:08:37 +01:00
Seth Barberee
3870cf1b78 closer match than before 2023-01-30 17:08:02 -08:00
AnonymousRandomPerson
0e67eae75c Auto-generate learnset_ptrs.s 2023-01-30 18:35:03 -05:00
AnonymousRandomPerson
88a6b44677 Merge branch 'master' of https://github.com/pret/pmd-red 2023-01-30 18:01:24 -05:00
AnonymousRandomPerson
ce86d2686a Added NONMATCHING for learnset access functions 2023-01-30 00:42:21 -05:00
AnonymousRandomPerson
39ef57251f Labeled spawnAmountRange 2023-01-28 18:34:04 -05:00
Seth Barberee
a990b639ce document more funcs 2023-01-26 22:09:03 -08:00
Seth Barberee
1e48a0d739 decomp most of 8057824 file 2023-01-23 11:14:36 -08:00
Seth Barberee
55a3041782 decomp more of 8057824 2023-01-22 11:26:31 -08:00
Seth Barberee
9291137a68 unify unkStruct_802C39C 2023-01-20 11:23:31 -08:00
Seth Barberee
24d4a92a08 finish out wonder_mail_5 2023-01-20 10:49:56 -08:00
Seth Barberee
c3870ac73c decomp, split, clean, repeat 2023-01-20 08:55:35 -08:00
Dennis H
5aec927d17 some documenting 2023-01-18 20:44:19 +01:00
Dennis H
e49776854d decomp the rest of moves_2.s 2023-01-18 20:14:43 +01:00
Dennis H
647a815236 some more decomp 2023-01-18 15:28:34 +01:00
Dennis H
07eebda696 some more decomp + documenting 2023-01-17 21:30:56 +01:00
Dennis H
4844237add more moves decomp 2023-01-16 20:01:56 +01:00
Seth Barberee
4320ec36ab more documentation and some decomp 2023-01-16 09:04:45 -08:00
AnonymousRandomPerson
253c8e963d Cleaned up redundant externs 2023-01-16 00:07:59 -05:00
Dennis H
c747b82d16 some more move decomp + documenting 2023-01-15 20:49:02 +01:00
AnonymousRandomPerson
b22feb80af Merge remote-tracking branch 'upstream/master' 2023-01-13 22:36:16 -05:00
AnonymousRandomPerson
d96a76f552 Updated more names 2023-01-13 21:00:12 -05:00
Seth Barberee
996a1cbc34 address kecleon review 2023-01-13 17:41:45 -08:00
Seth Barberee
b70f60b16d Address most review comments 2023-01-13 17:22:41 -08:00
Seth Barberee
aca93c70b7 last decomp for this branch 2023-01-13 17:22:41 -08:00
Seth Barberee
6c6541f276 more documentation of save.c and some more mail info things 2023-01-13 17:22:41 -08:00
Seth Barberee
93370c9481 more documentation of pelipper, mailbox, and job slots 2023-01-13 17:22:41 -08:00
Seth Barberee
1de6d5eadd Miscellaneous things
- Decomp sub_8035D80
- Clean up other funcs with unkStruct_203B480 and unkStruct_8035D94
2023-01-13 17:22:41 -08:00
Seth Barberee
ea2bbf7c86 add more comms error codes 2023-01-13 17:22:41 -08:00
Seth Barberee
d7586163c4 document more kecleon shop 2023-01-13 17:22:41 -08:00
Seth Barberee
a3add15181 more documenting of funcs 2023-01-13 17:22:41 -08:00
Seth Barberee
9e4a18aba4 code cleanup and decomp a few other funcs 2023-01-13 17:22:41 -08:00
Seth Barberee
d54cd98bc9 rename header guard 2023-01-13 17:22:41 -08:00
Seth Barberee
33f621ea79 label/document game options 2023-01-13 17:22:41 -08:00
Seth Barberee
5aa19fac49 continue documenting more things 2023-01-13 17:22:41 -08:00
Seth Barberee
12da1abf58 rename func 2023-01-13 17:22:41 -08:00
Seth Barberee
71e0c74add major code refactor for sub_8095228 2023-01-13 17:22:41 -08:00
Seth Barberee
f6decdd027 decomp a few more funcs 2023-01-13 17:22:41 -08:00
Seth Barberee
0ca46d7254 unify wonder mail constants 2023-01-13 17:22:41 -08:00
Seth Barberee
71cbad4412 consolidate comms error codes and label some more funcs 2023-01-13 17:22:41 -08:00
Seth Barberee
55dd6ee272 more labeling 2023-01-13 17:22:41 -08:00
Dennis H
f629cd20a1 split moves_1.s and some work on functions 2023-01-12 22:11:35 +01:00
AnonymousRandomPerson
9e688b3341 Renamed some functions per review comments 2023-01-08 13:39:56 -05:00
AnonymousRandomPerson
be20f60ee0 Synced some symbol names with EoS hacking 2023-01-08 04:23:00 -05:00
AnonymousRandomPerson
b4fe2857e9 Merge remote-tracking branch 'upstream/master' 2022-12-21 23:41:55 -05:00
AnonymousRandomPerson
89805ab019 Started decomping DecideMovement() 2022-12-21 23:41:28 -05:00
Seth Barberee
29b6e36457 split status_checker into status_actions and move_checks 2022-12-15 21:18:01 -08:00
Seth Barberee
ad30396f48 split dungeon_ai into move_effects_target and dungeon_ai 2022-12-15 21:06:04 -08:00
Seth Barberee
4d52451f80 rename funcs from github review 2022-12-14 17:51:26 -08:00
Seth Barberee
908a11cdb0 remove extra global.h include 2022-12-12 11:22:04 -08:00
Seth Barberee
6ada01da4f document most of the dungeon music 2022-12-12 11:18:47 -08:00
Seth Barberee
298f2c5c31 more decomp 2022-12-07 21:11:35 -08:00
Seth Barberee
bd96ff0fca some script work 2022-12-03 16:20:36 -08:00
Seth Barberee
8d7e774e81 more labeling 2022-12-02 11:56:36 -08:00
Seth Barberee
29c9956bf6 finish out ai_targeting and move data 2022-11-18 16:54:10 -08:00
Seth Barberee
bfde61cee6 some more decomp 2022-11-18 15:14:06 -08:00
Seth Barberee
e12e133458 document more functions and cleanup some code 2022-11-18 10:00:22 -08:00
Seth Barberee
0d02904c9b finish decomp of code_8075BA4.s 2022-11-17 19:50:37 -08:00
Seth Barberee
9befb0ef4e more decomp work 2022-11-12 15:44:26 -08:00
Seth Barberee
4c760a92cb more decomp 2022-11-11 16:49:48 -08:00
Seth Barberee
e9f8c788da more decomp 2022-11-02 22:05:20 -07:00
Seth Barberee
5ecb84bfbc doing some more decomp 2022-10-18 18:45:08 -05:00
AnonymousRandomPerson
393c650201 Merge branch 'master' of https://github.com/pret/pmd-red 2022-10-17 20:25:34 -04:00
Seth Barberee
086f56dc6f Merge branch 'sept_2022' of github.com:SethBarberee/pmd-red into sept_2022 2022-10-17 17:21:23 -07:00
Seth Barberee
62b2d12afe address review 2022-10-17 17:19:48 -07:00
Seth Barberee
efaf26662b Finish converting pokemon found tables to JSON 2022-10-17 09:24:15 -05:00
AnonymousRandomPerson
b1e02bd9ef Decomped GetLeaderEntity() 2022-10-16 22:00:14 -04:00
AnonymousRandomPerson
d93c95ac80 Decomped GetLeaderEntityIfVisible() 2022-10-16 21:26:43 -04:00
AnonymousRandomPerson
427c05dab5 Decomped CanCrossWalls() 2022-10-16 21:14:00 -04:00
AnonymousRandomPerson
42986de336 Decomped TargetLeader() 2022-10-16 20:47:07 -04: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
Seth Barberee
1e54931d53 More decomp 2022-10-10 10:04:41 -07:00
Seth Barberee
a04883eb86 decomp a few more 2022-10-10 10:04:41 -07:00
Seth Barberee
20babe183e more decomping 2022-10-10 10:04:41 -07:00
Seth Barberee
922695342c decomp multiple move/orb actions and event flag 2022-10-10 10:04:41 -07:00
Seth Barberee
04fa09ec81 more decomping 2022-10-10 10:04:41 -07:00