Commit Graph

1455 Commits

Author SHA1 Message Date
DizzyEggg
ccf1db16d6 merge master 2024-09-19 09:45:01 +02:00
DizzyEggg
4001c7d884 sub_8049ED4 2024-09-19 09:40:46 +02:00
AnonymousRandomPerson
c4dd5fe96e
Merge pull request #215 from mateon1/mateon-2024-sep
Mateon 2024 sep
2024-09-18 13:29:09 -04:00
Mateusz Naściszewski
676504f0ab
Address review comments 2024-09-18 16:59:25 +02:00
DizzyEggg
3dd20e5803 some documentation on damage struct 2024-09-17 23:26:03 +02:00
DizzyEggg
f43c97be10 sub_806D528 conquered 2024-09-17 21:15:45 +02:00
Mateusz Naściszewski
be0463ab75
Properly typed callbacks 2024-09-15 21:07:06 +02:00
Mateusz Naściszewski
4b9cc03736
GroundScript callbacks 2024-09-15 20:36:20 +02:00
Mateusz Naściszewski
ae3c563713
Mega rename 2024-09-15 20:29:02 +02:00
Mateusz Naściszewski
f8c0ad6faf
unk2C seems to be unsigned 2024-09-15 20:00:38 +02:00
DizzyEggg
c9e15ca7e8 sub_806D010 and GetEntInfo 2024-09-15 13:40:11 +02:00
AnonymousRandomPerson
aadea917d2 Fix typo in FixedPoint_Subtract 2024-09-14 20:08:46 -04:00
DizzyEggg
fa20c66e44 give proper names to 2 functions 2024-09-14 18:38:45 +02:00
DizzyEggg
6ff0810726 UseAttack 2024-09-14 18:13:08 +02:00
DizzyEggg
b50c8b2803 sub_8074FB0 2024-09-13 15:56:40 +02:00
DizzyEggg
49b0d2e77d sub_8074094 2024-09-13 14:11:34 +02:00
DizzyEggg
6806839965 fixed point rename 2024-09-13 10:15:16 +02:00
DizzyEggg
1de0617082 sub_8073D14 2024-09-12 16:58:58 +02:00
ElectroDeoxys
d0d734e0fd Decompile code_800E9E4.s 2024-09-01 02:14:28 +01:00
AnonymousRandomPerson
76f698c0f7 Updated some AI symbol names 2024-08-29 23:24:58 -04:00
AnonymousRandomPerson
af12c8a0e0
Merge pull request #206 from SethBarberee/july_august_2024
July august 2024
2024-08-22 23:02:45 -04:00
Seth Barberee
989df3b591 continue to clean ExecuteScriptCommand 2024-08-15 03:05:48 -07:00
Seth Barberee
1b707bea03 more work on ground_script 2024-08-15 02:30:11 -07:00
Seth Barberee
3bfc80f8f7 decomped GroundScript_ExecuteTrigger 2024-08-15 01:32:36 -07:00
Seth Barberee
3438e615f3 more ground script work 2024-08-14 13:35:27 -07:00
Seth Barberee
4b1e714c2e more stuff in ewram 2024-08-14 12:04:37 -07:00
Seth Barberee
2767ee285c add to headers and clean up a little 2024-08-07 20:23:58 -07:00
Seth Barberee
909ae92090 match sub_803E490 2024-08-04 10:54:13 -07:00
Seth Barberee
cf4d5c2539 another asm file gone and few more funcs decomped 2024-08-03 13:11:48 -07:00
Seth Barberee
a66a508999 more rescue mail stuff 2024-08-02 10:42:30 -07:00
Seth Barberee
18ff91141c more decomp and doc 2024-08-01 21:04:34 -07:00
Seth Barberee
23c76bc334 add other define 2024-07-29 16:34:42 -07:00
Seth Barberee
c9cd21cad8 more decomp work 2024-07-29 16:25:03 -07:00
Seth Barberee
3c7ea2b8ca
Merge pull request #205 from LuisBoto/master
Cutscene macro calls
2024-07-29 11:09:46 -07:00
Seth Barberee
1064b6c1a0 decomp sub_80847D4 2024-07-28 14:52:16 -07:00
Luis Boto
d254dbed4e triggerCutscene macro calls 2024-07-28 20:05:17 +02:00
AnonymousRandomPerson
3d73fd4735
Merge pull request #200 from DizzyEggg/code_big
Decompilation of code_805D8C8.s Part 1
2024-07-28 10:59:29 -04:00
DizzyEggg
f0f69853de unify wonder mail structs 2024-07-27 10:52:35 +02:00
DizzyEggg
58fe051d1e match wonder mail - sub_802C328 2024-07-27 10:40:44 +02:00
DizzyEggg
762a4c5c2c fix pokemon_news3 sub_802BF30 2024-07-27 10:25:41 +02:00
DizzyEggg
21b52089e8 fix unkStruct_203B244 2024-07-26 16:35:01 +02:00
DizzyEggg
ec272b5964 give better names to print string on window functions 2024-07-26 16:23:02 +02:00
DizzyEggg
78244fc4c9 sub_80615E8 2024-07-26 11:30:38 +02:00
AnonymousRandomPerson
358b9f104d Changed sub_8085B4C parameters to arrays 2024-07-24 21:34:48 -04:00
AnonymousRandomPerson
b0fc9aace1 Fixed types in sub_8087144 (again) 2024-07-24 21:19:48 -04:00
DizzyEggg
4af5b74537 sub_8060CE8 2024-07-24 22:29:45 +02:00
DizzyEggg
589e9e647b survive UnkTextStruct2_sub2 2024-07-24 16:27:15 +02:00
DizzyEggg
32fef39967 DrawFieldGiveItemMenu and item ref match macro 2024-07-24 15:08:15 +02:00
DizzyEggg
d74efd27dd meeeergeee 2024-07-24 09:16:19 +02:00
AnonymousRandomPerson
f0a15e4779
Merge pull request #202 from AnonymousRandomPerson/master
Fixed types in sub_8087144
2024-07-23 19:13:20 -04:00
AnonymousRandomPerson
fa797763ef
Merge pull request #203 from mateon1/EXECUTESCRIPTCOMMAND
ExecuteScriptCommand
2024-07-23 19:07:15 -04:00
DizzyEggg
4d6fed883e sub_805FC30 2024-07-23 12:11:32 +02:00
Mateusz Naściszewski
b3c4114a93
Less hacky mismatched declaration, plus removal of unneeded union 2024-07-23 00:58:26 +02:00
DizzyEggg
f88189a2b1 ShowFieldMenu conquered 2024-07-22 23:46:26 +02:00
Mateusz Naściszewski
6a420ad62d
Holy shit! It's done! ExecuteScriptCommand matched 2024-07-22 21:11:52 +02:00
Mateusz Naściszewski
fd2c4c42a8
Even more names 2024-07-22 19:29:12 +02:00
Mateusz Naściszewski
5775f36bd5
More names 2024-07-22 16:54:39 +02:00
Mateusz Naściszewski
1cb9938d83
Refactor ground_script, part 1 2024-07-22 16:04:36 +02:00
AnonymousRandomPerson
4be340d5a4 Fixed types in sub_8087144 2024-07-22 00:06:19 -04:00
DizzyEggg
a3c3fac301 merge again 2024-07-21 23:05:06 +02:00
DizzyEggg
afc77f701f Merge branch 'master' of https://github.com/pret/pmd-red into code_big 2024-07-21 22:07:35 +02:00
AnonymousRandomPerson
fd5bcae6d5 Moved Kermalis's decomped functions to C 2024-07-21 14:33:08 -04:00
AnonymousRandomPerson
94f0f6c711
Merge pull request #198 from SethBarberee/may_june_2024
May june July 2024
2024-07-21 14:26:44 -04:00
Seth Barberee
24e64900dd address review comments and clean up code thanks to @mateon1 2024-07-21 09:18:33 -07:00
DizzyEggg
b151376995 merge 2024-07-21 12:47:24 +02:00
DizzyEggg
7672e9eb20 sub_805D8C8 failed attempt 2024-07-21 12:43:14 +02:00
Kermalis
f7f866efac Yea 2024-07-20 19:44:59 -04:00
Seth Barberee
c581430173 clean up weather struct and label more weather moves 2024-07-20 10:59:15 -07:00
Seth Barberee
7338e36e18 Decomp SaveDungeonWeather 2024-07-20 10:59:15 -07:00
Seth Barberee
16e70a7426 More decomp of saving functions 2024-07-20 10:59:15 -07:00
Seth Barberee
859f577bea more menu action documentation 2024-07-20 10:59:15 -07:00
Seth Barberee
1ccc5886c8 document more menu actions 2024-07-20 10:59:15 -07:00
Seth Barberee
bd416232ab continue documenting 2024-07-20 10:59:15 -07:00
Seth Barberee
1eda069dc6 more documentation 2024-07-20 10:59:15 -07:00
Seth Barberee
1aadb2f095 move files to better names 2024-07-20 10:59:15 -07:00
Seth Barberee
fb07afd55b lots of documentation 2024-07-20 10:59:15 -07:00
Seth Barberee
4c35bc3067 Add more ewram and iwram 2024-07-20 10:26:34 -07:00
Seth Barberee
1a646d1e9f name a func and add func to header 2024-07-20 10:18:26 -07:00
Seth Barberee
ab0c556a9b match sub_806E100 2024-07-20 10:18:26 -07:00
Seth Barberee
149018635e more cleanup 2024-07-20 10:18:26 -07:00
Seth Barberee
1b12aa6c56 decomp sub_8097944 2024-07-20 10:18:26 -07:00
Seth Barberee
6df964fcc9 name some more funcs and cleanup 2024-07-20 10:18:26 -07:00
Seth Barberee
6aeb342553 condense files and cleanup 2024-07-20 10:18:26 -07:00
Seth Barberee
ed00b02e02 nonmatch func and combine files 2024-07-20 10:18:26 -07:00
Seth Barberee
b2a0fe8422 more cleanup and move more ram stuff 2024-07-20 10:18:24 -07:00
Seth Barberee
55f516ec5e Add more ewram and iwram 2024-07-20 10:15:17 -07:00
Seth Barberee
6317c20380 more decomp 2024-07-20 10:09:00 -07:00
AnonymousRandomPerson
1db3e9172e Renamed EntityInfo.fillF3 to unkF3 2024-07-19 21:01:14 -04:00
AnonymousRandomPerson
9258833539 Moved Kermalis's decomped functions to C 2024-07-19 20:38:08 -04:00
Kermalis
edb1db5bc4 Stuff 2024-07-19 00:24:28 -04:00
DizzyEggg
2de2dc0cb9 decompile more of code_809D148 2024-07-17 16:44:25 +02:00
DizzyEggg
439bbbc57c RedrawPartnerSelectionMenu won for now... 2024-07-13 17:57:00 +02:00
DizzyEggg
9eec35694f wigglytuff and code801c244 file 2024-07-13 14:35:46 +02:00
DizzyEggg
c64aa61420 fix instances of sub80095e4 memes 2024-07-13 14:10:54 +02:00
Seth Barberee
55925c9eb5 Address review comments 2024-04-23 20:12:00 -07:00
Seth Barberee
b3c617dd7e more decomp work 2024-04-22 15:23:03 -07:00
Seth Barberee
9b173ac970 more decomp work 2024-04-19 21:20:07 -07:00
Seth Barberee
4cf3126551 more work 2024-04-19 16:11:10 -07:00
Seth Barberee
7efd9c44fc more decomp work 2024-04-19 15:14:02 -07:00
Seth Barberee
e442953b38 label more move funcs 2024-04-14 17:29:48 -07:00
Seth Barberee
da98eb45b9 update args 2024-04-09 22:02:08 -07:00
Seth Barberee
94932b551a move WindowBG to src 2024-03-18 20:38:22 -07:00
Seth Barberee
9abab93ad3 move more data to src 2024-03-17 11:26:00 -07:00
Seth Barberee
e6e032124d match remaining data, use defines and document IsNotValidDungeon 2024-03-10 17:37:59 -07:00
Seth Barberee
b27d18c7ce more decomp on code_801EE10 2024-03-06 20:48:54 -08:00
Seth Barberee
42366265a8 more trap decomp 2024-03-06 20:48:54 -08:00
Seth Barberee
e7e452299f more decomp and some code cleanup 2024-01-12 20:22:32 -08:00
Seth Barberee
197574e0ed more trap stuff and sub_808B1CC 2024-01-07 11:43:07 -08:00
Seth Barberee
4051053fd8 More work on trap funcs 2024-01-06 21:12:17 -08:00
Seth Barberee
3635d87b57 decomp few more trap funcs and fix some names 2024-01-06 10:23:18 -08:00
Seth Barberee
5b9a0c743b Create struct for Traps and clean up code with it 2024-01-06 09:03:20 -08:00
Seth Barberee
367bfdb81a slight cleanup of struct and documentation 2024-01-01 16:27:53 -08:00
Seth Barberee
70db368a34 nonmatch sub_804FD30 2023-12-31 10:06:19 -08:00
Seth Barberee
f405238e0d split asm file and decomp a few tile stuff 2023-12-29 20:14:38 -08:00
Seth Barberee
5d34103ab7 address review comments 2023-12-10 13:18:48 -08:00
Seth Barberee
5dce900d90 Match sub_8075680 and sub_8096EEC thanks to @Eebit 2023-12-02 22:27:56 -08:00
Seth Barberee
009df8d7d7 document more 2023-12-02 22:09:52 -08:00
Seth Barberee
1624646a0d decomp a few more funcs 2023-12-01 14:29:18 -08:00
Seth Barberee
d3cccf635b continue decomping more funcs 2023-11-27 11:19:54 -08:00
Seth Barberee
12fd05a7d9 Match sub_8072CF4 thanks to @Eebit 2023-11-26 11:14:39 -08:00
Seth Barberee
dbcb324c73 document, decomp, cleanup 2023-11-19 22:13:51 -08:00
Seth Barberee
c466893134 Match sub_8072B72 thanks to @jiangzhengwenjz and another func too 2023-11-18 10:46:41 -08:00
Seth Barberee
c0cd5d0048 Match sub_8071B48 thanks to @Eebit 2023-11-17 15:48:21 -08:00
Seth Barberee
1a51dc6ae5 some more decomp 2023-11-17 15:29:02 -08:00
Seth Barberee
c5fec2205a Address review comments and more code cleanup with header files 2023-11-05 13:04:47 -08:00
Seth Barberee
0a1b39c9fe apply past work on top of new rebase 2023-10-23 11:56:11 -07:00
Kermalis
4c41a29719
Clean/split pokemon_mail and personality_test 2023-10-22 00:00:38 -04:00
Kermalis
276fa5ad0a
Dec item constants 2023-10-21 23:59:05 -04:00
Kermalis
67c58e6dca
Use globaldata.h to clean "pksdir0" in source 2023-10-21 23:53:23 -04:00
Kermalis
4bf6afa144
Data for adventure_log 2023-10-21 23:53:23 -04:00
Kermalis
ccbc0ea647
Split+data wonder_mail_3 and wonder_mail_2_1 2023-10-21 23:53:22 -04:00
Kermalis
7b68e452b4 Document wurmpleVal 2023-09-24 23:12:23 -04:00
Kermalis
a0297c645f Enum consistency cleanup 2023-09-24 20:38:11 -04:00
Kermalis
e5dfd4f08a Review comments 2023-09-24 07:02:02 -04:00
Kermalis
64e0409e08 I forgor 💀 to EWRAM_DATA_2 these 2023-09-23 19:18:15 -04:00
Kermalis
9e3106a634 Split+data pokemon_news 2023-09-23 18:50:18 -04:00
Kermalis
18869d6153 Split+data code_802DB28/code_802DE84 2023-09-23 06:03:07 -04:00
Kermalis
281f29d03c Finish common_strings FOINALLY 2023-09-23 05:26:13 -04:00
Kermalis
fad1832b01 Makuhita dojo common_strings 2023-09-23 05:11:06 -04:00
Kermalis
6dcc8e3ab5 Gulpin shop common_strings 2023-09-23 04:54:54 -04:00
Kermalis
df1e337cdf Wigglytuff shop common_strings 2023-09-23 04:34:55 -04:00
Kermalis
63687bd7a5 Kecleon common_strings 2023-09-23 04:20:16 -04:00
Kermalis
7fbe27f7b8 Split+data options_menu 2023-09-23 03:33:46 -04:00
Kermalis
b888afb5d9 Split+data hints_menu 2023-09-20 23:11:41 -04:00
Kermalis
c6bc80e6d8 Split+data code_801602C 2023-09-20 22:52:40 -04:00
Kermalis
fdcef19d85 Split+data code_8023144/code_80227B8 2023-09-20 22:26:35 -04:00
Kermalis
8b7c5e5ff5 Split+data code_801EE10_1 2023-09-18 20:54:51 -04:00
Kermalis
6b419cc73b Split+data wigglytuff_shop 2023-09-18 19:58:43 -04:00
Kermalis
322e13a6be Properly split+data code_801C620/code_801D760 2023-09-18 01:13:13 -04:00
Kermalis
9c105309ee Data for debug_menu2/3/4 2023-09-15 01:41:06 -04:00
Kermalis
9fa7035ded Debug menu 1 data 2023-09-15 01:28:50 -04:00
Kermalis
7936c6dc4c Document wurmple evolution rand value 2023-09-15 01:03:00 -04:00
Kermalis
7e713ef0eb Luminous Cave data 2023-09-14 23:55:49 -04:00
Kermalis
7de83b9dc3 Split main_menu.c 2023-09-14 23:26:58 -04:00
Kermalis
805fa045a7 Split credits 2023-09-14 21:38:05 -04:00
Kermalis
2b74ea0c1a Match sub_8013DD0 2023-09-13 04:10:45 -04:00
Kermalis
7e2926f75c Match sub_8013D10 2023-09-13 02:48:56 -04:00
Kermalis
d41f643fdb Match sub_8013C68 2023-09-13 01:42:28 -04:00
Kermalis
efadf60a61 Match sub_8013BBC 2023-09-12 08:58:10 -04:00
Kermalis
11d12d5012 Match sub_8013AA0, gCommonKangStorage 2023-09-12 08:27:10 -04:00
Kermalis
1d539e7b3b Fix incorrect shift for SpriteOAM 2023-09-11 23:25:58 -04:00
Kermalis
6a6f489d67 ARG_VALUE_0 ARG_VALUE_1 and gCommonFelicity 2023-09-11 19:23:20 -04:00
Kermalis
ed4d98838d Move some common strings to src 2023-09-11 17:53:34 -04:00
Kermalis
d719270096 Create common_strings.h 2023-09-10 23:30:17 -04:00
Kermalis
0f7fd64f82 Felicity bank data 2023-09-10 23:00:41 -04:00
Kermalis
fa98819e1d More externs 2023-09-10 06:52:26 -04:00
Kermalis
7076a22ea4 others_menu h files 2023-09-10 06:44:50 -04:00
Kermalis
7883e435a6 bg_palette_buffer/othermenus clean 2023-09-10 06:23:42 -04:00
Kermalis
955fac34cb I DID IT 2023-09-09 19:53:10 -04:00
Kermalis
48cc64847d Test 2023-09-09 19:03:23 -04:00
Kermalis
85d65965d3 More review comments 2023-09-09 15:10:53 -04:00
Kermalis
00a0876bcc Address review comments 2023-09-09 00:31:17 -04:00
Kermalis
624dca1a93 Rename gulpin_shop_1 and move data to src 2023-09-07 05:06:31 -04:00
Kermalis
0b1cd35ed8 Split some of save.c to proper files 2023-09-07 04:11:25 -04:00
Kermalis
012094c503 Split file_system into decompress 2023-09-07 03:26:32 -04:00
Kermalis
36b18f6348 Clean code_8009804 2023-09-07 01:52:30 -04:00
Kermalis
88785ba4ee Split kangaskhan storage and kecleon bros 2023-09-07 00:13:17 -04:00
Kermalis
d22223449e Finish .h-ing code_80869E4 2023-09-06 01:39:34 -04:00
Kermalis
d22675ff22 Split code_801B3C0 and move data to src 2023-09-05 02:07:05 -04:00
Kermalis
551d8eb2fd Split makuhita_dojo.c 2023-09-05 00:49:33 -04:00
Kermalis
fe77b633a7 Kill code_80869E4.s 2023-09-04 23:51:29 -04:00
Kermalis
7cdd96ce6c Forgor const 2023-09-04 02:46:34 -04:00
Kermalis
f66479a012 Clean friend_area 2023-09-04 01:32:49 -04:00
Kermalis
0909353890 Clean post_office_guide 2023-09-03 00:13:15 -04:00
Kermalis
b9afeb7fd6 More typedef and data 2023-09-02 08:50:36 -04:00
Kermalis
8ab503b172 More luminous cave clean 2023-09-02 07:59:58 -04:00
Kermalis
5450261027 More typedef 2023-09-02 07:43:05 -04:00
Kermalis
a324d39b9d More typedef + clean ground_map files 2023-09-02 07:36:59 -04:00
Kermalis
72430d1072 Remove most "struct" which makes the repo smolr 2023-09-02 01:46:26 -04:00
Kermalis
c04159817d Clean moves.c 2023-09-01 04:09:46 -04:00
Kermalis
98fa653569 Clean code_806CD90 and code_805D8C8 2023-09-01 02:02:08 -04:00
Kermalis
79010bcfd6 Clean code_8097670 and adventure_log 2023-09-01 01:14:34 -04:00
Kermalis
90a8c0dda6 [Some] NULL and bool8 params 2023-08-31 23:23:16 -04:00
AnonymousRandomPerson
4b1a27433b
Merge pull request #155 from Kermalis/kermalis-code800558C
Match all of code_800558C.s
2023-08-31 17:45:20 -04:00
Kermalis
37d1723b66 Forgor to merge the two files together (ok done) 2023-08-31 00:37:51 -04:00
Kermalis
e13206a766 Nonmatch sub_8005838 2023-08-31 00:03:32 -04:00
AnonymousRandomPerson
34e14bacef
Merge pull request #153 from SethBarberee/august_2023
August 2023
2023-08-30 23:59:25 -04:00
Kermalis
67ca7f5bfd Match all of code_800558C.s 2023-08-30 23:52:50 -04:00
Seth Barberee
5e6a668bbd address review comments 2023-08-30 19:38:28 -07:00
Kermalis
6f3447b803 Clean bg_control and reg_control 2023-08-30 00:38:07 -04:00
Seth Barberee
7350b4e5ea decomp two more funcs 2023-08-27 22:31:28 -07:00
Seth Barberee
817e0c3984 finish off another file 2023-08-27 22:31:26 -07:00
Seth Barberee
4c60221b54 dump some more data and cleanup 2023-08-27 22:21:22 -07:00
Seth Barberee
9bf38c7e47 Match CreateRescueTitle and CreateRescueDescription thanks to @jiang 2023-08-27 22:21:19 -07:00
Kermalis
730b22bd15 Match all of code_8004AA0.s 2023-08-28 01:15:05 -04:00
Seth Barberee
c374c094d9 add more things to headers and clean up 2023-08-27 21:59:39 -07:00
Seth Barberee
85d6dd724a clean up more wigglytuff 2023-08-27 21:53:38 -07:00
Seth Barberee
ef9adf4db0 More ground script work 2023-08-27 21:51:45 -07:00
Seth Barberee
4f21cb26ea more documentation of pokemonStruct based on other decomp func tries 2023-08-27 21:51:45 -07:00
Seth Barberee
23c23f5d33 decomp some more pokemon_3 thanks to jiang 2023-08-27 21:51:44 -07:00
Kermalis
4784ab68b0 That's an OpenedFile lol 2023-08-27 22:56:09 -04:00
Kermalis
34d1d0b9b2 Dungeon_Sub17B44 -> Dungeon_ax 2023-08-27 22:43:47 -04:00
Kermalis
5923df1f58 atrib -> attrib 2023-08-27 22:41:06 -04:00
Kermalis
4dd3668782 Entity_Sub28 -> EntitySpriteInfo 2023-08-27 22:35:25 -04:00
Kermalis
01d6fe2685 Clean menu_input 2023-08-26 13:56:46 -04:00
Kermalis
afbe730206 Fakematch sub_801332C and sub_8013470 2023-08-26 12:39:15 -04:00
Kermalis
06aeba8479 Fakematch AddMenuCursorSprite_ too 2023-08-26 10:39:37 -04:00
Kermalis
1d49c480eb Rename and doc SpriteOAM with defines 2023-08-26 10:29:55 -04:00
Kermalis
0225356d59 99.09% matching for sub_807CB3C 2023-08-19 01:57:56 -04:00
Kermalis
6a633bad91 99.95% matching for sub_80054BC 2023-08-18 21:54:31 -04:00
Kermalis
710638ad7a Match sub_800543C and sub_800545C 2023-08-18 11:20:19 -04:00
Kermalis
ad5ec244aa Match sub_80053D0 2023-08-18 10:32:15 -04:00
Kermalis
79b3ea4ed6 Match sub_80053AC and make structs AF 2023-08-18 10:11:34 -04:00
Kermalis
d719c71e48 Match sub_80A658C through sub_80A65E0 2023-08-18 08:12:41 -04:00
Kermalis
254f034ea2 Match sub_80A64A4 2023-08-16 19:32:51 -04:00
Kermalis
932d0945e0 Match sub_800533C 2023-08-16 14:06:18 -04:00
Kermalis
088162e8bd Fakematch sub_80052BC, Match sub_8005304 2023-08-15 06:47:56 -04:00
Kermalis
7bcc6e0ea6 Match sub_80A62F0 and GroundSprite_Reset 2023-08-12 11:57:50 -04:00
Kermalis
02b6c6bd46 Match SetSavingIconCoords and BlinkSavingIcon 2023-08-11 13:53:04 -04:00
Kermalis
c61c7df7e4 Match CopySpritesToOam AND DISCOVER 2023-08-11 12:13:01 -04:00
Kermalis
c16193eea7 Forgor the declaration 2023-08-11 10:38:45 -04:00
Kermalis
520bcb3944 Skipped 2 got 1 lol [sub_8005180] 2023-08-11 10:35:00 -04:00
Kermalis
b162b808fe Match sub_8004E8C 2023-08-11 06:34:31 -04:00
Kermalis
7f4732f714 Match ResetSprites 2023-08-11 06:24:48 -04:00
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
AnonymousRandomPerson
35d093f690 Merge remote-tracking branch 'upstream/master' 2022-09-17 23:25:29 -04:00
AnonymousRandomPerson
a60c645b70 Rename Kecleon shop functions 2022-09-17 23:24:03 -04:00
Seth Barberee
95aa33612f more decomping 2022-08-26 08:57:51 -07:00
Seth Barberee
7a26ec4d06 more decomping and some cleanup 2022-08-22 11:54:53 -07:00
Seth Barberee
7fd9ef920a continue decomping more dungeon side 2022-08-20 10:03:09 -07:00
Seth Barberee
00940175b4 pre-flight decomp 2022-08-01 09:18:19 -07:00
Seth Barberee
d9893a6274 decomp a few more 2022-07-31 19:13:05 -07:00
Seth Barberee
107bef8fcd better names and clean things up 2022-07-31 15:40:44 -07:00
AnonymousRandomPerson
d04d46950b Started decomping ChooseTargetPosition 2022-07-18 19:23:14 -04:00
Seth Barberee
5443c1b351 address review comment 2022-07-12 16:35:37 -07:00
Seth Barberee
5675d9a1a9 more decomp 2022-07-10 16:10:28 -07:00
Seth Barberee
3239fb776e more decomping 2022-07-10 16:10:28 -07:00
Seth Barberee
1572a015b2 continue documenting music 2022-07-10 16:10:28 -07:00
Seth Barberee
dfffb31195 decomp UpdateSound and label more music stuff 2022-07-10 16:10:28 -07:00
Seth Barberee
6746cb699a continue labeling more music stuff 2022-06-17 11:39:29 -07:00
Seth Barberee
4ba50b5349 document all music players 2022-06-16 16:38:44 -07:00
Seth Barberee
10248ae248 decomp most funcs with CreateRescueTitle 2022-06-12 18:18:09 -07:00
Seth Barberee
b0217dd778 document Fanfare/SoundEffect funcs 2022-06-12 07:46:47 -07:00
Seth Barberee
b6bafe4527 more wonder mail decomp 2022-06-11 20:01:36 -05:00
AnonymousRandomPerson
fd2ed0f93f Decomped CanTakeItem() 2022-06-04 23:16:18 -04:00
Seth Barberee
68b8d3853c finish out all jirachi funcs.. thx jiang for JirachiWish match 2022-06-04 08:36:08 -07:00
Seth Barberee
86196330be document some rescue password 2022-06-03 17:52:24 -07:00
AnonymousRandomPerson
e59285462c Merge remote-tracking branch 'upstream/master' 2022-05-30 13:24:40 -04:00
Seth Barberee
217cd7774d Rename GetMoveUnk12 to GetMoveMaxPowerBoost 2022-05-30 10:03:08 -07:00
Seth Barberee
d1b3d794ab address review comments 2022-05-30 09:58:59 -07:00
Seth Barberee
3a3a2b9c27 decomp sub_8048D50 2022-05-29 12:03:10 -07:00
Seth Barberee
7780e0eba6 do some more decomp 2022-05-28 22:27:11 -07:00
AnonymousRandomPerson
821e14995b Merge remote-tracking branch 'upstream/master' 2022-05-29 00:24:02 -04:00
AnonymousRandomPerson
1448e5903d Added NONMATCHING for Wander() 2022-05-29 00:10:38 -04:00
Seth Barberee
b8cdc75c6e document param for SetVisualFlags 2022-05-20 16:33:14 -07:00
Seth Barberee
3a467af07a decomping decomp 2022-05-20 16:04:12 -07:00
Seth Barberee
773510c329 decomp more of rescue password and label GetDungeonFloorCount 2022-05-16 20:23:45 -07:00
Seth Barberee
3e0ad17b60 label and document more personality test 2022-05-14 18:40:46 -07:00
Seth Barberee
50dca25212 some more decomp dungeon work 2022-05-12 19:51:52 -07:00
Seth Barberee
482ade61be address review commnts, label almost all dialogue and few more funcs 2022-05-07 07:51:12 -07:00
Seth Barberee
576ae3a98b more dungeon items decomp 2022-04-25 18:27:33 -07:00
Seth Barberee
1255d15326 some more decomp 2022-04-24 11:01:01 -07:00
Seth Barberee
6e4fce8608 decomp a few and combine few files 2022-04-23 08:29:33 -07:00
Seth Barberee
519c9ebb6a lazy day so more decomp away 2022-04-22 19:02:28 -07:00
Seth Barberee
01ca155b81 start dumping dialogues 2022-04-16 09:17:32 -07:00
Seth Barberee
16cdcfe04b finish off dungeon random and few simple status funcs 2022-04-04 10:55:21 -07:00
Seth Barberee
7289155f83 decomp some dungeon weather stuff 2022-04-03 17:52:19 -07:00
AnonymousRandomPerson
4e2a813822 Decomped CanMoveForward() 2022-03-26 22:47:38 -04:00
AnonymousRandomPerson
e040eafca8 Decomped AvoidEnemies() 2022-03-26 22:47:38 -04:00
AnonymousRandomPerson
905723858c Decomped MoveIfPossible() 2022-03-26 22:47:38 -04:00
Seth Barberee
57f540b320 fix a few nonmatchings and code cleanup 2022-03-21 17:48:40 -07:00
Seth Barberee
3477f61cf2 continue doing some more decomp 2022-03-13 17:48:04 -07:00
Seth Barberee
aa939e0955 All saving functions decomped
- poke_sub_4 was determined to be Dungeon Index/Floor
- Clean up code that references these functions
2022-03-11 10:14:32 -08:00
Seth Barberee
a5c90b0970 decomp some more saving functions 2022-03-11 10:14:30 -08:00
AnonymousRandomPerson
64651ef818 Renamed move boolean functions 2022-03-10 22:59:38 -05:00
AnonymousRandomPerson
ddb9c518ec Decomped ResetAction() 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
cc4053130f Decomped TargetRegularAttack() 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
83d097624b Renamed sprintf() duplicate function 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
458001dbbd Decomped IsMoveUsable() 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
951b01114a Decomped IsMoveIndexUsable 2022-03-10 22:33:13 -05:00
AnonymousRandomPerson
26a7012be1 Removed function address comments in favor of .map file 2022-03-10 22:33:12 -05:00
AnonymousRandomPerson
7e0046a2c9 Decomped IsTargetInLineRange()
.
2022-03-10 22:33:12 -05:00
AnonymousRandomPerson
f7a73281cf Decomped GetFlashFireStatus() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
9a4864c1cf Decomped WeightWeakTypePicker() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
8c0df48b9e Decomped WeightMove() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
f50e233c91 Removed redundant struct fills 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
70ce2c1642 Decomped LastUsedMoveOutOfPP() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
07285e7e82 Decomped HasDisabledMove() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
91c0a142cc Decomped HasLastUsedMove() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
17a6ab3794 Decomped CanUseOnTargetWithStatusChecker() 2022-03-10 22:32:17 -05:00
AnonymousRandomPerson
a5296a2f99 Merge remote-tracking branch 'upstream/master' 2022-02-26 13:29:30 -05:00
AnonymousRandomPerson
6e56b9f034 Decomped CanUseStatusMove() 2022-02-24 23:38:21 -05:00
AnonymousRandomPerson
40a34fafd6 Decomped WeightMoveIfUsable() 2022-02-22 22:38:57 -05:00
AnonymousRandomPerson
598a588589 Decomped CanAttackInFront() 2022-02-21 17:03:34 -05:00
AnonymousRandomPerson
33d2d61750 Decomped CanLayTrap() 2022-02-21 15:40:12 -05:00
AnonymousRandomPerson
07795b6ff6 Decomped IsWaterTileset() 2022-02-20 23:59:57 -05:00
AnonymousRandomPerson
4aafa434a6 Decomped IsTileGround() 2022-02-20 23:43:06 -05:00
AnonymousRandomPerson
ec6abc684e Decomped HasQuarterHPOrLess 2022-02-20 22:51:36 -05:00
AnonymousRandomPerson
7c714bd14e Decomped GetWeather() 2022-02-20 22:30:05 -05:00
AnonymousRandomPerson
e54b3427db Decomped IsBossBattle() 2022-02-20 22:12:40 -05:00
AnonymousRandomPerson
60a19d681c Decomped GetMapTile_2 2022-02-20 21:59:23 -05:00
AnonymousRandomPerson
96372eb336 Decomped CanUseOnSelfWithStatusChecker() 2022-02-20 21:59:22 -05:00
Seth Barberee
8e0ba3615a few more decomped funcs 2022-02-17 19:02:44 -06:00
Seth Barberee
ee5fb3584d move data from data to wonder_mail 2022-02-17 18:59:56 -06:00
Seth Barberee
3de1f79307 add more to moves header 2022-02-17 18:59:53 -06:00
Seth Barberee
ef97af7d03 add more funcs to headers and clean externs 2022-02-17 18:54:59 -06:00
Seth Barberee
b2e109dab1 Move some data to src and add some more headers
- Finish moving all data for main menu to src
- Move some more data to wonder_mail
- Add some headers to clean up some externs
2022-02-17 18:54:59 -06:00
AnonymousRandomPerson
ece475a480 Renamed some boolean move functions 2022-02-13 23:17:46 -05:00
AnonymousRandomPerson
2a2a0805b4 Decomped HasType() 2022-02-13 23:15:33 -05:00
AnonymousRandomPerson
3bbb6035e7 Decomped GetMoveTargetingFlagsForPokemon() 2022-02-13 22:30:25 -05:00
AnonymousRandomPerson
a02346be01 Decomped FindMoveTarget() 2022-02-13 22:02:17 -05:00
AnonymousRandomPerson
9939c543ce Decomped TargetTileInFront() 2022-02-05 22:02:03 -05:00
AnonymousRandomPerson
a9b5977d4c Decomped MoveMatchesChargingStatus 2022-02-05 20:23:01 -05:00
AnonymousRandomPerson
f728e7e90e Decomped DecideAttack() 2022-02-04 23:13:01 -05:00
AnonymousRandomPerson
5dc5b3b1f9 Used official or more common names for music tracks 2022-01-26 00:07:18 -05:00
AnonymousRandomPerson
f2457501ee Decomped IsFixedDungeon() 2022-01-25 23:24:14 -05:00
AnonymousRandomPerson
42909d0333 Decomped GetCrossableTerrain() 2022-01-25 23:17:27 -05:00
AnonymousRandomPerson
154c442505 Decomped CanMoveInDirection() 2022-01-25 22:46:40 -05:00
AnonymousRandomPerson
c5cd6e137f Decomped IsSleeping()
-Function provided by SethBarberee.
2022-01-20 18:12:17 -05:00
AnonymousRandomPerson
afbc7deaea Decomped SetWalkAction() 2022-01-13 23:18:59 -05:00
AnonymousRandomPerson
453618864e Decomped HasStatusAffectingActions() 2022-01-13 22:56:30 -05:00
AnonymousRandomPerson
52e7368f30 Labeled CalculateFacingDir() 2022-01-08 00:08:00 -06:00
AnonymousRandomPerson
cbf41c6bf3 Decomped HasNegativeStatus() 2022-01-07 23:32:32 -06:00
AnonymousRandomPerson
42bcb068b6 Decomped CanTargetAdjacentPokemon() 2022-01-07 01:45:35 -06:00
AnonymousRandomPerson
05768ae71d Decomped RoundUpFixedPoint() 2022-01-06 23:11:38 -06:00
AnonymousRandomPerson
d9b1ef43a6 Labeled Warp Scarf variables 2022-01-06 21:52:23 -06:00
AnonymousRandomPerson
c30cf5c6da Decomped EvaluateItem() 2022-01-04 00:00:31 -06:00
AnonymousRandomPerson
a61f7ea2a1 Decomped HasItem() 2021-12-29 23:33:22 -06:00
AnonymousRandomPerson
ea10f7b7bd Created header for pokemon_3 2021-12-28 22:15:56 -06:00
AnonymousRandomPerson
d40d2e55a3 Decomped IsTargetStraightAhead() 2021-12-28 21:38:42 -06:00
AnonymousRandomPerson
4bf154654b Decomped TargetThrownItem() 2021-12-28 21:38:39 -06:00
Seth Barberee
f0ef6ae481 decomp some more 2021-12-24 17:45:49 -06:00
Seth Barberee
e7a59a1a21 move pokemon mail data to src 2021-12-22 17:00:21 -06:00
Seth Barberee
7a1956f51d
Merge pull request #87 from SethBarberee/personality_test_data_2
Personality test data 2
2021-12-21 15:05:05 -06:00
mid-kid
99a038284b Translate all .include to #include
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-20 16:29:12 +01:00
Seth Barberee
2ec7cc5bad fix nonmatch and move question references 2021-12-19 14:59:10 -08:00
Seth Barberee
3021ae9077 all data moved except questions 2021-12-19 14:59:10 -08:00
AnonymousRandomPerson
0369264407 Decomped GetMapTileAtPosition() 2021-12-18 00:22:03 -05:00
AnonymousRandomPerson
c033aea36e Moved gDungeonGlobalData definition to dungeon_global_data.h 2021-12-17 23:39:50 -05:00
AnonymousRandomPerson
b1fc911965 Decomped InSameRoom_2() 2021-12-17 23:38:06 -05:00
AnonymousRandomPerson
da8fcb2ac8 Decomped CanSee() 2021-12-14 23:26:56 -05:00
AnonymousRandomPerson
cd9a8c5a38 Decomped CanTarget() 2021-12-14 22:54:03 -05:00
mid-kid
087405b9d9 Dump and document status sprites 2021-12-13 10:44:48 -06:00
Cheng Hann Gan
c53bdc35f8
Dungeon random/AI decomp + converted positions to structs (#83)
* Decomped RollPercentChance()

* Decomped DungeonRandomCapped()

* Decomped DungeonRandom()

* Decomped FindRockItemTargets()

-Added position struct.
2021-12-12 12:52:06 -08:00
Cheng Hann Gan
a34c9ab91b
AI decomp + type cleanup (#82)
* 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-09 10:56:12 -08: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
Seth Barberee
fd8720b75c
Label all entities in Boss Fight Cutscenes (#78)
* label all entities in cutscenes

* remove commented func.. wasn't matching anyway

* Skarmony -> Skarmory
2021-11-22 12:14:58 -06:00
Seth Barberee
bfaa55f2fe
Label and doc iq skills and tactics info (#75)
* label/doc iq skills/tactics info

* decomp a few more dungeon_util and label some funcs

* doc the IQSkills field
2021-11-15 11:02:26 -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
Cheng Hann Gan
dd128d78c6
Decomped more dungeon AI (#67)
* 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-28 09:01:07 -07:00
Cheng Hann Gan
c98fb2c112
Decomped DecideAction() (#66)
* Decomped DecideAction()

* Defined dungeon Pokémon array sizes
2021-10-22 10:20:01 -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
Cheng Hann Gan
3f7ee3a806
Decomped entityExists() (#64) 2021-10-15 15:30:33 -07:00
Seth Barberee
25794a39c3
Finish main menu decomp (#59)
* 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-11 09:03:17 -07:00
Cheng Hann Gan
2d4c802d76
Extracted species/item/move strings (#63)
* Extracted species/item/move strings

* Used binary strings for bitwise flag variables
2021-10-10 07:59:35 -07:00
Cheng Hann Gan
78632822c3
Added move data JSON (#60)
* Added move data JSON

* Fixed typo

* Fixed name of placeholder move
2021-10-05 17:09:53 -07:00
Cheng Hann Gan
12aec1bb71
Created species/item data JSONs (#57)
* 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-28 09:50:36 -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
Seth Barberee
4eff188244
Thank You Mail and minor DungeonEnitity Work (#52)
* Thank You Mail: split out code into own file w/ data

* use constant for facingDir
2021-09-08 21:32:59 -07:00
Cheng Hann Gan
0313c6bbc5
Defined DungeonEntity (#51)
* Defined DungeonEntity

* Rename EntityType enums

* Revert EntityType rename
2021-09-03 21:47:29 -07:00
Seth Barberee
db05ce306f
More PMD grind (#50)
* more sese grind

* match sub_802ABF8

* some more work
2021-09-01 18:05:30 -07:00
Seth Barberee
459171cf48
Decomp most of friend_rescue (#49)
* decomp most of friend_rescue

* dump corresponding data

* more data dumping and name some personality test funcs

* dump more text
2021-08-20 22:10:15 -05:00
Seth Barberee
d988394595
More data dumping and some code cleaning (#46)
* 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-12 17:26:01 -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
386299d1f4
Makefile and Install.md Revamp (#41)
* 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-09 19:35:12 -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
84821577ad match CalculateEXPGain 2021-06-23 18:05:31 -05:00
Seth Barberee
d168537968 Finish out game options and FatalError
Some data cleanup as well. Thanks pika for the noreturn tip for
FatalError.
2021-06-23 17:35:37 -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
eaa141c612
Keep on keepin on (#38)
* end of may dump of work

* move save text to src

* decomp a little more
2021-05-23 16:19:35 -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
Seth Barberee
f65dee5a14
Wonder mail and some boss dialogues (#36)
* more wonder mail and main menu work

* Lots of things.. doc'ing, decomping, and other things

* continue decomping boss scenes

* up to Suicune

* up to Mewtwo dialogue

* up to Raquaza

* fix spelling error on Rayquaza and decomp a few more

* up to groudon

* divide > shift
2021-04-19 23:55:40 -05:00
Seth Barberee
d316d1e359
Preproc all the data (#35)
* 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-05 22:05:09 -05:00
Seth Barberee
22fec43f18
More menu work (#33)
* 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-04-03 20:44:48 -05:00
Seth Barberee
a2d206665c
Move some data and Splitting (#32)
* 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-30 13:11:51 -05:00
Seth Barberee
2fd4f339b4
Miscellaneous Work (Again) (#31)
* 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-23 12:11:10 -05:00
Seth Barberee
7b142311a7
Miscellaneous Work (Again) (#30)
* 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-03-12 15:39:07 -06:00
Seth Barberee
d72e17b5f5
Miscellaneous decomp/labeling/splitting (#29)
* 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-27 12:16:45 -06:00
Seth Barberee
7fa4f1a92b
Fully decomp save.s (#28)
* 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-21 13:13:55 -06:00
Seth Barberee
c754c2a046
Decomp more of personality_test (#27)
* 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-19 18:01:53 -06:00
Seth Barberee
8dfd044ef3
Some Personality and data (#26)
* 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-02-07 21:10:12 -06:00
Seth Barberee
1d9dbf3497 add debug.h 2021-01-28 09:24:55 -06:00
Seth Barberee
4886c9f7dc decomp, label, doc, repeat 2021-01-28 09:24:55 -06:00
Seth Barberee
cb77386b65 more headway on Pokemon funcs and labeled in asm 2021-01-22 10:39:42 -06:00
Seth Barberee
ec192a8fa8 5% wooo 2021-01-09 10:33:29 -06:00
Seth Barberee
469212f7ee
CPU and GPU Reg Funcs Decomp (#16)
* decomp/doc cpu funcs and gpu reg funcs

* use Cpu32 macro funcs

* address review comments

* decomp SetBGOBJEnableFlags
2021-01-04 13:40:33 -06:00
Seth Barberee
87cd9885a9
Friend Area Decomp Work (#15)
split out and work on friend area stuff
2020-12-31 18:30:16 -06:00
Mateusz Naściszewski
1d43c0efeb Decompile GameLoop and lots of renames 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
fb2fc3a2ba Remove unused field from Input struct 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
372d737a12 Label funcs and globals 2020-12-28 20:13:22 -06:00
Mateusz Naściszewski
6362345b04 Decompile UpdateInput
and some other minor stuff.
2020-12-28 20:13:22 -06:00
Seth Barberee
2582d7a868 isemi-identified VRAM and split personality test funcs 2020-11-23 15:22:16 -06:00
Seth Barberee
cbfab08a06 finish docing PlayTime and fix function - Kermalis 2020-11-20 10:33:21 -06:00
Seth Barberee
5f8105180b combining and doc'ing of playtime things 2020-11-19 11:27:18 -06:00
Seth Barberee
578522b3d3 match another function and fix nonmatching 2020-11-18 00:44:35 -06:00
Seth Barberee
6e33dcb937 more work on music functions 2020-11-17 22:20:28 -06:00
Seth Barberee
713221ad1f forgot to fix the type on this struct 2020-11-07 17:50:29 -06:00
Seth Barberee
9d383609e2 some splitting and sync'ing declarations/vars 2020-11-01 23:23:32 -06:00
Seth Barberee
acd79365e7 fix up constants for species according to datacrystal 2020-10-29 17:37:54 -05:00
Seth Barberee
24ff70e21e start some basic constants for dungeon data 2020-10-22 19:09:07 -05:00
Seth Barberee
184d3819ab more decomping of funcs 2020-10-20 18:05:23 -05:00
Seth Barberee
0271952426 Merge remote-tracking branch 'nullablevoid/master' into master
Port m4a from pokeemerald into pmd-red
2020-10-20 13:08:42 -05:00
Seth Barberee
1b0fc9f374 decomp an evolve func for pokemon 2020-10-18 18:16:28 -05:00
Seth Barberee
9b8e49226f start moving some data into c of personality test 2020-10-17 12:27:49 -05:00
Seth Barberee
6c9dd59b56 nonmatch bc I'm so close on those 2020-10-15 16:56:25 -05:00
Seth Barberee
a391aaa3f6 unify save defines and decomp more save stuff 2020-10-09 15:16:49 -05:00
Seth Barberee
d60e36b6b8 decomp a number of pokemon functions 2020-10-01 17:40:44 -05:00
Seth Barberee
96fdd3aae0 successful decomp of one pokemon data func and struct.. making headway 2020-10-01 13:32:53 -05:00
Seth Barberee
cd050a5e7d found more MonsterParameter funcs that weren't in the split and decomped a few of them 2020-09-23 22:56:31 -05:00
Seth Barberee
1bacffd62f we already decomped this func so use it from text 2020-09-21 12:03:19 -05:00
Seth Barberee
d5e31c8be0 decomp decomp decomp 2020-09-21 01:40:48 -05:00
Seth Barberee
977ef7d8aa fix guards 2020-09-20 19:33:21 -05:00
Seth Barberee
ff099968a1 nonmatching input be GONE. Just one func left 2020-09-16 17:01:21 -05:00
Seth Barberee
190c3562b9 decomp a chunk of input 2020-09-16 14:00:48 -05:00
Seth Barberee
424db9c41b split out pokemon funcs and decomp another nullsub 2020-09-16 00:15:52 -05:00
Seth Barberee
312883043b doc'ing more bool stuff from pmde 2020-09-09 19:58:33 -05:00
Seth Barberee
ef3c1e0138 oops it's a bool 2020-09-09 19:47:58 -05:00
Seth Barberee
db15fdd324 documented some fields thx to PMDe 2020-09-09 19:46:02 -05:00
shinny
cef20f5b34 decomp dungeon data getters 2020-06-02 14:56:12 -04:00
Kermalis
fbd4bbc146 Add libisagbprn 2019-08-13 13:00:33 -04:00
nullableVoidPtr
8834fdd3e2 Port m4a from pokeemerald 2019-08-11 14:37:57 +00:00
nullableVoidPtr
a611b9673e "Finish" decompiling bg_palette_buffer.s and m4a_2.s, and rename text variables
We all have our breaking points :matchlikethis:
2018-11-21 18:48:44 +08:00
nullableVoidPtr
ed3b066e77 Merge remote-tracking branch 'PikalaxALT/text' 2018-11-20 21:55:23 +08:00
nullableVoidPtr
fbe7d0d3bb Merge remote-tracking branch 'PikalaxALT/libc'
Added dependency scanning, used standard flags to link libs
2018-11-20 21:11:50 +08:00
nullableVoidPtr
ff37bfefe0 Dump gMPlayTable and gSongTable 2018-11-20 19:50:34 +08:00
nullableVoidPtr
c7045ae369 Identify, split, decompile m4a, and more
ResetSprites, gCharMemCursor, gSpriteCount; analysed subheaps; identified more file pointers
2018-11-20 15:04:02 +08:00
nullableVoidPtr
f4ef62bb41 Renamed primary heap variables and partial cleanup m4a.s 2018-11-20 15:04:00 +08:00
scnorton
192ee78bb9 through sub_8006438 2018-01-21 17:48:35 -05:00
scnorton
8bff047871 through sub_80063D8 2018-01-21 17:12:02 -05:00
scnorton
91c6c24400 sub_8006218 2018-01-21 16:51:04 -05:00
scnorton
2695f8d39a Include <string.h> in global.h and add dependency scanning 2018-01-21 14:57:28 -05:00
sceptillion
ae6d7f251e decompile flash 2017-12-11 19:05:47 -08:00
sceptillion
87ef770ca2 decompile util 2017-12-11 10:14:59 -08:00
sceptillion
041c0891d8 decompile other_random 2017-12-11 09:18:22 -08:00
sceptillion
66219cd4af create random.h 2017-12-11 00:56:09 -08:00
sceptillion
d07afbc081 initial commit 2017-12-10 22:41:46 -08:00