Commit Graph

783 Commits

Author SHA1 Message Date
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