Commit Graph

1455 Commits

Author SHA1 Message Date
Seth Barberee
87583b9c5e revert change to macro and add comment 2025-05-25 09:35:44 -07:00
DizzyEggg
3419c62a11 sub_80A59DC 2025-05-25 12:53:25 +02:00
PikalaxALT
e4daabfc04
Support building on macOS with homebrew binutils 2025-05-23 20:15:46 -04:00
Seth Barberee
dbc773b263 add ground_link data and cleanup macro 2025-05-23 17:03:51 -07:00
DizzyEggg
7ec7ad36d5 Move static inline to ground script.h 2025-05-23 15:22:36 +02:00
DizzyEggg
b3b973fba9 Move const data to ground lives 2025-05-23 15:14:03 +02:00
DizzyEggg
811c9d3653 GroundLives_Action 2025-05-22 21:56:39 +02:00
DizzyEggg
48325be5ea sub_80A90E8 2025-05-20 09:56:27 +02:00
DizzyEggg
599559c68e sub_80A8ACC 2025-05-18 11:54:40 +02:00
DizzyEggg
7b15f3b8a1 GroundLives_Add 2025-05-18 11:07:28 +02:00
DizzyEggg
927f9c1a0e start ground lives 2025-05-17 14:54:56 +02:00
Seth Barberee
b760830bb8
Merge pull request #394 from DizzyEggg/code_803C1D0
decompile code_803C1D0
2025-05-16 13:58:14 -07:00
DizzyEggg
a72e20f1f8 decompile code_803C1D0 2025-05-16 19:44:08 +02:00
DizzyEggg
80ea413c02 ground sprite clean-up 2025-05-16 11:41:52 +02:00
DizzyEggg
64be20ac78 Move const data to src 2025-05-16 11:23:37 +02:00
DizzyEggg
4dd46d4a10 add FATAL_ERROR macros 2025-05-16 09:21:41 +02:00
DizzyEggg
dc39fa4329 start moving const data to ground sprite 2025-05-15 23:18:14 +02:00
DizzyEggg
b7f5d9da2a ground sprite decompiled 2025-05-15 20:37:16 +02:00
DizzyEggg
a281afff6f sub_80A7310 2025-05-15 17:25:57 +02:00
DizzyEggg
e649cabbd3 sub_80A6EFC 2025-05-15 12:32:24 +02:00
DizzyEggg
6760a529c8 GroundSprite_ExtendPaletteAdd fun fun fun fun times 2025-05-14 22:48:41 +02:00
DizzyEggg
867956cf8a sub_80A69FC 2025-05-14 15:01:22 +02:00
DizzyEggg
660828d6c8 add dungeon mapparam struct include 2025-05-13 16:30:16 +02:00
DizzyEggg
2fd84a6e50 GroundEvent_Add 2025-05-13 11:25:19 +02:00
DizzyEggg
f73937b94e Use NUM_MONSTERS 2025-05-12 21:59:16 +02:00
DizzyEggg
80f143c171 remove not needed comment 2025-05-12 15:40:36 +02:00
DizzyEggg
45ca90f253 Rename to FriendList 2025-05-12 15:39:37 +02:00
DizzyEggg
1c432cc231 sub_8023868 2025-05-12 14:46:12 +02:00
DizzyEggg
3ed83a25f6 sub_8023C60 2025-05-12 12:42:41 +02:00
DizzyEggg
b0ce108614 sub_8023DA4 2025-05-12 11:42:11 +02:00
DizzyEggg
4ef1c57fb9 start code 8023868 2025-05-12 09:34:15 +02:00
Seth Barberee
1517266c9d decomp more of code_803C1D0 2025-04-14 17:07:54 -07:00
Seth Barberee
03f022c2d5 continue splitting move_orb_actions headers 2025-04-10 20:56:13 -07:00
Seth Barberee
0934cce5e2 slowly creating headers 2025-04-10 20:56:12 -07:00
DizzyEggg
c2ed0dcd2f use DUNGEON_MAX_NUM_TILES name 2025-04-08 11:58:15 +02:00
DizzyEggg
17feb731c7 move const data to code_803E724 2025-04-04 16:12:34 +02:00
DizzyEggg
89615befff rename to dungeon vram 2025-04-04 14:12:20 +02:00
DizzyEggg
8638f546db add to ewram, clean up dungeon action 2025-04-04 12:58:07 +02:00
DizzyEggg
66ddb9f9f3 put in header 2025-04-04 12:24:43 +02:00
DizzyEggg
4ce333bbb4 Match sub_8083904 thanks to Seth 2025-04-04 12:18:03 +02:00
DizzyEggg
be39215686 Match sub_8083660 2025-04-04 11:25:31 +02:00
DizzyEggg
483f7b79ee split portrait placement file 2025-04-03 20:39:01 +02:00
DizzyEggg
fd37f54f65 Fix unkStruct_80416E0 2025-04-03 16:32:55 +02:00
DizzyEggg
165cf5f436 merge code 80848f0 with dungeon util 1 2025-04-03 13:46:12 +02:00
DizzyEggg
5acaddfaa0 dungeon random with CalculateStatusTurns 2025-04-03 10:33:48 +02:00
DizzyEggg
68bba3d625 split dungeon music 2025-04-03 10:23:06 +02:00
DizzyEggg
5074dd4e21 Match sub_8072778 2025-04-02 10:42:34 +02:00
DizzyEggg
9b81df6d66 merge master 2025-03-31 14:03:27 +02:00
AnonymousRandomPerson
1a7c60d17e Documented badlyPoisonedDamageCount 2025-03-30 22:19:43 -04:00
DizzyEggg
bf3ae269e0 dungeon damage file split 2025-03-30 23:55:14 +02:00
DizzyEggg
b829b761f6 pokemon attributes, moveement, ai targeting into dungeon_logic.c 2025-03-30 22:59:59 +02:00
DizzyEggg
66d4d67e67 status_checks_1 merged with dungeon ai targeting 2025-03-30 22:31:53 +02:00
DizzyEggg
e82dd70c86 merge dungeon capabilities with dungeon ai targeting 2025-03-30 21:45:25 +02:00
DizzyEggg
b1215c2bd3 more dungeon file splits 2025-03-30 19:14:38 +02:00
DizzyEggg
cc10fa2b21 run_dungeon file rename 2025-03-30 18:36:02 +02:00
DizzyEggg
96c74dbde7 Clean up boundaries between dungeon action and dungeon engine 2025-03-30 12:19:56 +02:00
DizzyEggg
21a9a17793 dungeon util, dungeon config const data 2025-03-30 11:35:06 +02:00
DizzyEggg
c98a145e0e merge dungeon util and code_8045A00 2025-03-30 10:39:20 +02:00
DizzyEggg
1af147eb11 merge dungeon util and dungeon visibility 2025-03-30 10:34:30 +02:00
DizzyEggg
ca64d58479 merge dungeon util and code_80450F8 2025-03-30 10:27:39 +02:00
DizzyEggg
b835374ceb Start splitting move orb action files 2025-03-29 13:48:42 +01:00
DizzyEggg
48f90aa913 Clean up dungeon_move file boundaries 2025-03-29 13:29:17 +01:00
DizzyEggg
5f1b9714ec remove externs from dungeon cutscenes 2025-03-29 00:44:09 +01:00
DizzyEggg
9152fa4495 dump dungeon boss dialogue 2025-03-29 00:38:23 +01:00
DizzyEggg
4964e025e8 dungeon message file split, const data 2025-03-28 12:10:26 +01:00
DizzyEggg
7aa1a10fa5 move sFixedRoomEntities to src 2025-03-28 11:17:36 +01:00
DizzyEggg
7ee10cb405 some renames 2025-03-27 22:49:17 +01:00
DizzyEggg
142e8aab05 split dungeon generation into 2 2025-03-27 20:27:49 +01:00
DizzyEggg
ca6e8195c1 dungeon_data.c 2025-03-27 16:12:45 +01:00
DizzyEggg
ad1bf82186 remove tile_types.c 2025-03-27 14:24:06 +01:00
Seth Barberee
038b375201 recombine ground_script.c 2025-03-26 22:06:35 -07:00
Seth Barberee
b81e0cb1d9 more cleanup 2025-03-26 21:27:22 -07:00
Seth Barberee
8b75821347
Merge pull request #381 from DizzyEggg/mons_pal
Some checks are pending
GithubCI / build (push) Waiting to run
Move ax mons palette to C and fix #34
2025-03-26 21:21:51 -07:00
AnonymousRandomPerson
5bfdc16e32
Merge pull request #373 from DizzyEggg/code_8094D28
Some checks are pending
GithubCI / build (push) Waiting to run
Decompile Code 8094d28
2025-03-26 18:12:24 -04:00
DizzyEggg
508d41052b Move ax mons palette to C 2025-03-25 20:45:05 +01:00
Kermalis
15ca15d7b0 Merge branch 'master' into blue-stuff 2025-03-25 03:10:43 -04:00
Kermalis
9d058dde71 More blue-based fixes/doc 2025-03-25 02:59:38 -04:00
Seth Barberee
7ed732a030
Merge pull request #379 from DizzyEggg/kao
Some checks are pending
GithubCI / build (push) Waiting to run
2025-03-24 08:06:38 -07:00
DizzyEggg
fb2d8579d2 bound all string arrays 2025-03-24 12:17:58 +01:00
DizzyEggg
a33c82f649 categorize mon kao data 2025-03-24 11:58:59 +01:00
DizzyEggg
ae5cc068c4 merge master 2025-03-23 22:55:19 +01:00
DizzyEggg
13beaf6dbe Move data_810AE24 to C 2025-03-23 22:52:12 +01:00
Kermalis
1910d8b718 anon fixed matching for me 2025-03-22 01:51:18 -04:00
Kermalis
9ff305bc54
Merge branch 'master' into blue-stuff 2025-03-22 03:50:14 +00:00
Kermalis
10cbb42719 Split text.c and decompress.c 2025-03-21 23:48:05 -04:00
DizzyEggg
abb05e0ab7 Merge music players / ints to s32 2025-03-21 10:39:17 +01:00
DizzyEggg
76fc258b2a Remove wrong palette label 2025-03-20 15:01:35 +01:00
DizzyEggg
9c9182b78d clean up ax mons data 2025-03-20 14:23:51 +01:00
AnonymousRandomPerson
293a2a5307
Merge pull request #371 from Kermalis/clean-stuff
Some checks failed
GithubCI / build (push) Has been cancelled
Match RockSmashMoveAction + cleans
2025-03-18 19:31:52 -04:00
AnonymousRandomPerson
1dfd4f0a38
Merge pull request #370 from DizzyEggg/patch-9
Update MoveFlagExists
2025-03-18 19:25:52 -04:00
DizzyEggg
a93aa61988 decompile mersenne twister prng algorhitm 2025-03-18 13:25:18 +01:00
Kermalis
f3549624e9 Merge branch 'master' into clean-stuff 2025-03-18 01:29:41 -04:00
Kermalis
0b5aa22ed6 Match RockSmashMoveAction + cleans 2025-03-18 00:32:36 -04:00
AnonymousRandomPerson
c06beb68b7
Merge pull request #369 from DizzyEggg/patch-8
Some checks are pending
GithubCI / build (push) Waiting to run
Remove filler from unkPokeSubStruct_C
2025-03-17 18:02:16 -04:00
DizzyEggg
41c1e0c602
Update MoveFlagExists 2025-03-17 22:53:54 +01:00
DizzyEggg
7b34c8f065
Remove filler from unkPokeSubStruct_C 2025-03-17 22:47:41 +01:00
DizzyEggg
1aa0b2564f Match handleaction 2025-03-17 15:53:18 +01:00
AnonymousRandomPerson
50733542f2
Merge pull request #363 from DizzyEggg/code_805D8C8_1
Some checks failed
GithubCI / build (push) Has been cancelled
code_805D8C8_1
2025-03-16 16:07:07 -04:00
DizzyEggg
78f501b159 clean-up 2025-03-16 18:18:15 +01:00
DizzyEggg
62df080a74 remove targeting.h 2025-03-16 18:05:23 +01:00
DizzyEggg
c7f5f4cb63 rename to dungeon_misc 2025-03-16 18:03:46 +01:00
DizzyEggg
ae8d7534a4 sub_8068FE0 2025-03-16 15:46:10 +01:00
DizzyEggg
88cff803d0 fix LoadPokemonSprite 2025-03-14 12:54:08 +01:00
AnonymousRandomPerson
1f4c406866
Merge pull request #361 from DizzyEggg/sub_800EF64
Some checks are pending
GithubCI / build (push) Waiting to run
sub_800EF64 in code_800ED38.s
2025-03-13 15:51:01 -04:00
AnonymousRandomPerson
6cf8da55b6
Merge pull request #359 from DizzyEggg/code_8045A00
Code 8045a00 - dungeon_items
2025-03-13 15:50:41 -04:00
DizzyEggg
5e7abba7ed
missing spaces after slashes 2025-03-13 20:45:08 +01:00
DizzyEggg
11707826ef
remove question mark 2025-03-13 20:43:40 +01:00
DizzyEggg
9cae1f9f22 sub_8068A84 2025-03-13 12:52:43 +01:00
Kermalis
6ef72a0d39 blank endings 2025-03-12 18:54:08 -04:00
Kermalis
dad5774e8b The power of C compels you 2025-03-12 18:15:32 -04:00
DizzyEggg
d61b81ee53 sub_800EF64 2025-03-12 20:23:07 +01:00
DizzyEggg
ed1e1821b2 Match sub_8097DF0, clean up status string func 2025-03-12 17:54:09 +01:00
DizzyEggg
838d076a15 dungeon items done 2025-03-12 14:22:55 +01:00
DizzyEggg
a2ed8bef07 item related documentation 2025-03-12 12:36:15 +01:00
DizzyEggg
5b29b42126 sub_804652C 2025-03-11 15:00:49 +01:00
DizzyEggg
5003db440b sub_80462AC 2025-03-11 12:12:42 +01:00
Kermalis
e968ef8aa3 Fix merge conflicts 2025-03-10 00:48:34 -04:00
Kermalis
322e0d3b7b
Update include/pokemon_3.h
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2025-03-10 04:31:48 +00:00
Kermalis
730d0ebd10
Merge branch 'master' into stuff 2025-03-10 04:31:38 +00:00
Kermalis
6e102abc92 Merge branch 'master' into stuff 2025-03-10 00:26:55 -04:00
Kermalis
35a53e5a0a main_loops.c 2025-03-09 23:55:49 -04:00
Kermalis
0108e666d8 const void* data 2025-03-09 16:29:02 -04:00
Kermalis
1e2ed281eb Clean 1 2025-03-09 14:41:42 -04:00
DizzyEggg
d8c733b17d merge with master 2025-03-09 18:27:35 +01:00
Seth Barberee
f76a61bae9
Merge pull request #353 from DizzyEggg/code_8040094
code_8040094.s (unknown move file + dungeon_map.c)
2025-03-09 09:46:31 -07:00
DizzyEggg
b0c055b7fa sub_803E250 2025-03-09 15:12:05 +01:00
DizzyEggg
4734201c6d dungeon map documentation done 2025-03-07 14:35:34 +01:00
DizzyEggg
ce798ff03e dungeon map documentation 2025-03-07 10:25:51 +01:00
DizzyEggg
7dd904a428 document some dungeon map 2025-03-07 00:26:17 +01:00
DizzyEggg
bfbcea5f9f split dungeon map file 2025-03-06 23:33:39 +01:00
DizzyEggg
59ac6518b6 sub_8040894 2025-03-06 17:13:38 +01:00
DizzyEggg
8686fa4c73 sub_80402AC and game version defines 2025-03-06 13:12:11 +01:00
DizzyEggg
7e2702c699 sub_8040150 2025-03-05 19:05:37 +01:00
DizzyEggg
d75dd097e0 code_805D8C8 esta muerto 2025-03-05 09:03:32 +01:00
DizzyEggg
aa4cbaef15 dungeon menu others done 2025-03-04 16:16:19 +01:00
DizzyEggg
5a972144b9 more dungeon menu others 2025-03-04 14:23:57 +01:00
DizzyEggg
9c2e1b2aa4 menu dung documentation 2025-03-04 13:38:19 +01:00
DizzyEggg
34f4d6f7a7 More others menu 2025-03-04 10:06:14 +01:00
DizzyEggg
9cb12a8258 start others menu 2025-03-03 22:05:09 +01:00
DizzyEggg
2d0e962d9e dungeon menu stairs 2025-03-03 20:42:35 +01:00
DizzyEggg
7a865991b1 dungeon menu tile done 2025-03-03 18:52:19 +01:00
DizzyEggg
e670716324 dungeon menu moves done 2025-03-03 14:46:42 +01:00
Fex Collects
4ef2fb4a44 Small variable documentation update 2025-03-03 04:47:02 +00:00
DizzyEggg
631c9c3485 sub_8063C88 2025-03-02 17:46:34 +01:00
DizzyEggg
341fc1cc94 document WindowHeader struct 2025-03-02 16:12:50 +01:00
DizzyEggg
6cc3f98aaf Use Window and WindowTemplate 2025-03-02 15:24:33 +01:00
DizzyEggg
c018798262 sub_8063834 2025-03-02 14:29:22 +01:00
DizzyEggg
49b2c1911b more menus 2025-03-02 13:33:28 +01:00
DizzyEggg
abbf389ffd more menus 2025-03-02 12:34:10 +01:00
DizzyEggg
0f62647e51 more dung menus 2025-03-02 11:42:12 +01:00
DizzyEggg
5916b9cd40 morea clean-up dung menus 2025-03-02 11:03:19 +01:00
DizzyEggg
f3cda6d2f4 more dungeon menu file splits 2025-03-02 00:28:16 +01:00
DizzyEggg
ee1abc1836 file splits 2025-03-01 23:49:41 +01:00
DizzyEggg
7ad89f101d start splitting dungeon menu files 2025-03-01 20:31:56 +01:00
DizzyEggg
ad52ac1b72 documentation dungeon menu 2025-03-01 17:24:31 +01:00
DizzyEggg
05a1d0aec8 Get rid of the fakematch in the Windows struct 2025-02-28 21:56:14 +01:00
DizzyEggg
ee9401e833 sub_8062748 2025-02-28 20:20:00 +01:00
Seth Barberee
2e7ba57cc4
Merge pull request #348 from DizzyEggg/monster_archieve
Some checks failed
GithubCI / build (push) Has been cancelled
Move main gMonsterFileArchive array to C
2025-02-27 12:30:08 -08:00
DizzyEggg
4b944408f0 Put gMonsterFileArchive in file system header 2025-02-27 15:53:27 +01:00
DizzyEggg
5571afa937 Merge branch 'master' into monster_archieve 2025-02-27 15:44:25 +01:00
DizzyEggg
94918e8dc3 move some data to code_803E724 2025-02-27 15:26:47 +01:00
DizzyEggg
fee9f2f208 Match sub_803EF90, introduce WINDOW_DUMMY macro 2025-02-27 15:21:08 +01:00
DizzyEggg
1019d61512 Fix fakematch in sub_808F468 2025-02-26 18:40:06 +01:00
Seth Barberee
8b7253c315
Merge pull request #343 from DizzyEggg/sub_807F43C
Match sub_807F43C and introduce a macro for X/Y conversion to PixelPos
2025-02-26 07:58:10 -08:00
DizzyEggg
9d723ee37c Make pos->pixelPos conversion more readable 2025-02-26 15:09:10 +01:00
DizzyEggg
1d6e876997 merge and review comments 2025-02-26 09:53:49 +01:00
Seth Barberee
b641525d63
Merge pull request #341 from DizzyEggg/gUnknown_3000E94
Some checks are pending
GithubCI / build (push) Waiting to run
Move some EWRAM/IWRAM variables to their respective C files
2025-02-25 14:51:19 -08:00
DizzyEggg
e47260c871 Match CreatePokemonInfoTabScreen 2025-02-25 22:54:57 +01:00
Seth Barberee
a7d4629e6f
Merge pull request #340 from DizzyEggg/sub_803DF60
Some checks are pending
GithubCI / build (push) Waiting to run
Match sub_803DF60 and sub_803E02C
2025-02-25 07:34:37 -08:00
DizzyEggg
fd127911d0 Match sub_803DF60 and sub_803E02C 2025-02-25 14:29:43 +01:00
DizzyEggg
5518ecb8ab Match sub_8023758 and sub_80237E0 2025-02-25 11:19:28 +01:00
DizzyEggg
37e5bd599d Move gFontPalette to EWRAM 2025-02-25 10:55:07 +01:00
Seth Barberee
aaaa562452
Merge pull request #337 from DizzyEggg/patch-5
Remove NAKED define from globalh.
2025-02-24 12:56:44 -08:00
DizzyEggg
4330d57165
Remove NAKED define from globalh. 2025-02-24 21:37:16 +01:00
DizzyEggg
793e31ca7c Match sub_803D4D0 and sub_8091E94 2025-02-24 17:30:19 +01:00
DizzyEggg
bca598f131 friend areas map final touches 2025-02-24 11:33:29 +01:00
DizzyEggg
040c4a486e more documentation 2025-02-24 11:20:40 +01:00
DizzyEggg
f184a6750d more documentation of friend areas map 2025-02-23 23:26:54 +01:00
DizzyEggg
31fc24a433 documenting friend area maps 2025-02-23 22:26:26 +01:00
DizzyEggg
9d605e7d06 documenting 2025-02-23 20:59:06 +01:00
DizzyEggg
b4cdd4b10e start documenting windows 2025-02-23 15:45:00 +01:00
DizzyEggg
00f3dbfccc decompile code_800F990 2025-02-23 12:48:06 +01:00
DizzyEggg
aef4bcf76f code_8010F28 clean-up 2025-02-21 11:01:54 +01:00
DizzyEggg
13b49a48eb Merge branch 'master' of https://github.com/pret/pmd-red into code_8010F28 2025-02-21 09:11:13 +01:00
AnonymousRandomPerson
feff193221
Merge pull request #333 from DizzyEggg/dungeon_names
Some checks failed
GithubCI / build (push) Has been cancelled
Rename xxx_dungeon_8042F6C to RunDungeon
2025-02-20 20:33:04 -05:00
DizzyEggg
15ac8eb00d sub_8011300 2025-02-21 00:34:47 +01:00
DizzyEggg
d3e14d4767 sub_8010F28 2025-02-20 15:45:11 +01:00
DizzyEggg
500b486b33 Rename xxx_dungeon_8042F6C to RunDungeon 2025-02-20 12:44:18 +01:00
DizzyEggg
f65e3d61ff Move gMonsterArchieve to C 2025-02-19 22:57:18 +01:00
DizzyEggg
45e7e74240 Get rid of UnkTextStruct2_sub 2025-02-19 10:21:23 +01:00
DizzyEggg
abf677b928 unify unktextstruct2[4] into unktextstruct3 2025-02-19 09:59:57 +01:00
DizzyEggg
d47faa5e21 const/ewram data to code_8066D04 2025-02-18 22:43:59 +01:00
DizzyEggg
afb9fbeaf8 sub_8067A80 2025-02-18 14:39:43 +01:00
DizzyEggg
1ce273c082 sub_8067768 2025-02-17 18:46:52 +01:00
Seth Barberee
aef98f539a
Merge pull request #322 from DizzyEggg/dungeon2
Some checks are pending
GithubCI / build (push) Waiting to run
dungeon2.s - sub_809034C
2025-02-16 09:30:25 -08:00
DizzyEggg
4dff9fada9 dungeon - sub_809034C 2025-02-16 15:47:16 +01:00
DizzyEggg
b9eea73121 Merge branch 'master' of https://github.com/pret/pmd-red into code_8015080 2025-02-16 10:13:49 +01:00
DizzyEggg
22349c5b9a move code_8015080 data to c 2025-02-16 10:07:25 +01:00
AnonymousRandomPerson
9f3e4b9c8d
Merge pull request #319 from DizzyEggg/code_809A560
Some checks are pending
GithubCI / build (push) Waiting to run
code_809A560.s
2025-02-15 11:21:09 -05:00
DizzyEggg
2e5fce662a sub_80155F0 2025-02-15 14:28:00 +01:00
DizzyEggg
176de96f3c decompile event_flag 2025-02-14 21:24:51 +01:00
DizzyEggg
0849ab32f4 data moved to code_809A560 2025-02-14 14:34:58 +01:00
DizzyEggg
0e1a2f021d more data code_809A560 2025-02-14 12:47:35 +01:00
DizzyEggg
bdc60be5c8 sub_809B648 2025-02-14 11:03:35 +01:00
DizzyEggg
6e68321507 sub_809B474 2025-02-13 09:31:49 +01:00
DizzyEggg
f2da3f2acc IsTextboxOpen_809B40C 2025-02-12 15:58:39 +01:00
DizzyEggg
061cee7a8e sub_809B028 2025-02-12 14:48:57 +01:00
DizzyEggg
48a8b10c66 sub_809AFFC 2025-02-12 13:03:18 +01:00
DizzyEggg
6050bcf13b sub_809ADD8 2025-02-12 12:26:43 +01:00
Seth Barberee
e34ec1b862 decomp few more funcs 2025-02-09 10:48:33 -08:00
Seth Barberee
782bca6cf3 more decomp 2025-02-08 16:53:52 -08:00
Seth Barberee
151821a077 decomp a few more funcs 2025-02-07 17:37:53 -08:00
Seth Barberee
29df447bad small cleanup based on WIP func 2025-02-06 22:36:43 -08:00
Seth Barberee
92894a678e 80% pog 2025-02-06 22:18:46 -08:00
Seth Barberee
d79f2ab2f1 random passerby match of sub_8042520 2025-02-06 08:10:52 -08:00
Seth Barberee
246644cd65 Add funcs matched by @Kermalis 2025-02-06 08:10:52 -08:00
Seth Barberee
076860a27a match sub_80990EC thanks to @DizzyEggg 2025-02-06 08:10:52 -08:00
Seth Barberee
4626355378 split and move more data to src 2025-02-06 08:10:51 -08:00
Seth Barberee
34e5bfadf6 more decomp of effect funcs 2025-02-06 08:10:51 -08:00
Seth Barberee
4eb269b480 document a little and decomp more funcs 2025-02-06 08:10:51 -08:00
Seth Barberee
754f5b7e85 more status sprite func decomp 2025-02-06 08:10:51 -08:00
Seth Barberee
46dbaf66af decomp more status graphics func 2025-02-06 08:10:51 -08:00
Seth Barberee
d0a0285f75 match sub_800F7D0 thanks to @DizzyEggg 2025-02-06 08:10:51 -08:00
Seth Barberee
bbfe80ea0c decomp another file 2025-02-06 08:10:51 -08:00
Seth Barberee
0f67614ae8 finish up code_8002774_2 2025-02-06 08:10:51 -08:00
AnonymousRandomPerson
0979edd00e Renamed GetMoveName to BufferMoveName 2025-02-03 20:44:02 -06:00
AnonymousRandomPerson
d3e522681b Document some death text symbols
Based on TheZZAZZGlitch's video.
2025-02-03 20:44:02 -06:00
AnonymousRandomPerson
1ec6bc5e21 Renamed GetItemAIFlag to match pmdsky-debug 2024-12-28 23:57:20 -06:00
AnonymousRandomPerson
560560bbe7 Documented GetItemAIFlag param 2024-12-28 23:55:27 -06:00
AnonymousRandomPerson
39dff3a9ec Renamed ActionParameter.lastItemThrowPosition 2024-12-28 23:15:35 -06:00
AnonymousRandomPerson
299177c47a Renamed EntityExists to EntityIsValid 2024-12-28 22:11:54 -06:00
AnonymousRandomPerson
1bbebecafc Documented ActionParameter struct 2024-12-28 22:11:26 -06:00
DizzyEggg
d44fcd3987 Match RedrawPartnerSelectionMenu 2024-12-24 10:17:51 +01:00
Seth Barberee
ac32ebdef7
Merge pull request #308 from DizzyEggg/sprite_oams
Some checks are pending
GithubCI / build (push) Waiting to run
2024-12-23 09:45:47 -08:00
DizzyEggg
a9889e1977 match sub_8036B28 2024-12-23 10:45:47 +01:00
DizzyEggg
6441fae27a add getters for sprite x,y,unk6_1 and tilenum 2024-12-23 09:37:55 +01:00
DizzyEggg
220779d721 Match AddAxSprite 2024-12-22 13:42:39 +01:00
DizzyEggg
fe3577f516 TryCreateModeArrows matched 2024-12-22 11:08:28 +01:00
DizzyEggg
a32c559336 more sprite oam clean-up 2024-12-22 10:23:15 +01:00
DizzyEggg
5a18f5af52 Sprite OAM clean-up 2024-12-21 15:53:40 +01:00
Seth Barberee
3bed5dacd3
Merge pull request #307 from DizzyEggg/mon_flags
Some checks failed
GithubCI / build (push) Has been cancelled
Make pokemon flag static inlines more readable
2024-12-20 08:22:42 -08:00
DizzyEggg
4fe9f5d061 Fix pokemon flag static inlines 2024-12-20 15:17:39 +01:00
DizzyEggg
5c3981ec93 decompile code_8272724 iwram text functions 2024-12-20 11:28:05 +01:00
DizzyEggg
09211e1974 Match GetUnitSum_808D544 sub_808E400 2024-12-19 12:35:23 +01:00
DizzyEggg
bdae856769 iwram init done 2024-12-18 12:09:22 +01:00
DizzyEggg
0c53d4011f start iwram init 2024-12-18 11:28:07 +01:00
DizzyEggg
5865a607d8 ewram init merge master 2024-12-17 15:57:28 +01:00
Seth Barberee
47339753e1
Merge pull request #286 from SethBarberee/dec_2024
Some checks are pending
GithubCI / build (push) Waiting to run
Pokemon.s
2024-12-16 17:13:03 -08:00
DizzyEggg
62ca91f771 Match sub_801F280 2024-12-16 10:38:11 +01:00
Seth Barberee
0776e271cc more code_2 work 2024-12-15 13:13:17 -08:00
Seth Barberee
cd2c46d027 finish off pokemon_3.s thanks to @DizzyEggg 2024-12-15 13:13:17 -08:00
Seth Barberee
fb98bb9ec1 decompile more of code_2 and move some data 2024-12-15 13:13:17 -08:00
Seth Barberee
c7248641ee decomp sub_808F798 2024-12-15 13:13:17 -08:00
Seth Barberee
fd1e3ad981 clean up include and add ewram for pokemon.c 2024-12-15 13:13:17 -08:00
Seth Barberee
456dfec6b0 move some data over and nonmatch GetUnitSum 2024-12-15 13:13:17 -08:00
Seth Barberee
ba3f4714b1 Decomp more of pokemon.s 2024-12-15 13:13:17 -08:00
DizzyEggg
edd2454349 remove EWRAM_DATA_2 2024-12-15 21:12:36 +01:00
DizzyEggg
8a7eeca82a quick sav 2024-12-15 14:51:40 +01:00
DizzyEggg
ea779d534f start work on ewram init 2024-12-15 12:35:09 +01:00
DizzyEggg
40ceb381ed move reg control vars to ewram, merge with unused vblank 2024-12-14 23:15:43 +01:00
DizzyEggg
76931b997a sync m4a_1.s with pokeemerald and move to src 2024-12-14 19:25:43 +01:00
Seth Barberee
166c388734
Merge pull request #289 from DizzyEggg/code_807E5AC
Some checks failed
GithubCI / build (push) Has been cancelled
code_807E5AC.s and data_80F4E2C.s (and other similar data files)
2024-12-11 19:38:46 -08:00
Kermalis
1d726bf70c Repairs 2024-12-06 15:44:04 -05:00
DizzyEggg
b6e4f986ea sub_807EAA0 2024-12-04 19:36:24 +01:00
DizzyEggg
c9e26cabec dungeon config done 2024-12-04 18:18:55 +01:00
DizzyEggg
9b490b58e9 more work 2024-12-04 16:32:18 +01:00
DizzyEggg
69925b8b98 dungeon config 2024-12-04 15:43:48 +01:00
DizzyEggg
86232a8ceb Fix ReturnMoveAction 2024-12-04 12:49:41 +01:00
DizzyEggg
db1f3b00b1 remove type chart.h 2024-12-04 11:54:20 +01:00
DizzyEggg
53cb5d78ad more data 2024-12-04 11:14:24 +01:00
Kermalis
8c99f6d1cd Merge branch 'master' into other-menus 2024-12-04 03:04:03 -05:00
Kermalis
d3652cf59b SpriteOAM memes 2024-12-04 02:47:10 -05:00
DizzyEggg
396427cc75 more data 2024-12-03 20:00:39 +01:00
DizzyEggg
cdaa211c58 use f248 for modifiers 2024-12-03 19:19:22 +01:00
DizzyEggg
96f571e629 dungeon battle data work 2024-12-03 15:53:52 +01:00
DizzyEggg
4938100a3f start code_807E5AC 2024-12-03 13:36:12 +01:00
DizzyEggg
a503a5c186 GroundLink_GetArea GroundLink_GetPos 2024-12-03 10:48:59 +01:00
DizzyEggg
ad09542cea move const data to memory.s 2024-12-02 13:16:40 +01:00
DizzyEggg
235a453f1d Fix fatal error func declarations 2024-12-02 12:37:12 +01:00
DizzyEggg
27bd13dd5b clean memory include 2024-12-02 12:25:04 +01:00
DizzyEggg
750bdcf2a5 get rid of unkMemoryStruct 2024-12-02 12:19:15 +01:00
DizzyEggg
4b2f32bfd2 decompile memory.s 2024-12-02 12:00:19 +01:00
DizzyEggg
4aa5a9011a sync agb_flash and io_reg with pokeemerald 2024-12-01 20:47:31 +01:00
Kermalis
0d8af0446c other_menus2.s 2024-11-30 23:51:57 -05:00
Kermalis
1c70293fb8 Match sub_8037810 2024-11-30 21:14:52 -05:00
DizzyEggg
9527a3a38e Put const data in text.c 2024-11-30 16:06:02 +01:00
DizzyEggg
ae1bd9d384 remove text1.h text2.h 2024-11-30 15:15:04 +01:00
DizzyEggg
a2cd66ed50 some ewram vars in text.c 2024-11-30 14:35:27 +01:00
DizzyEggg
d0fb95482c merge text1 text2 2024-11-30 13:59:29 +01:00
Seth Barberee
e311a742c1
Merge pull request #275 from DizzyEggg/sub_807AB38
sub_807AB38
2024-11-29 07:42:02 -08:00
Seth Barberee
4bc6b95082
Merge pull request #276 from DizzyEggg/sub_80A60D8
fix sub_80A60D8 fakematch
2024-11-29 07:32:49 -08:00
DizzyEggg
86c247954e remove GROUND_SCRIPT_INCOMPLETE_DECLARATIONS 2024-11-29 11:11:37 +01:00
DizzyEggg
08c0d6f895 fix sub_80A60D8 fakematch 2024-11-29 10:42:32 +01:00
DizzyEggg
2cdb9ea2e4 sub_807AB38 2024-11-29 09:56:09 +01:00
AnonymousRandomPerson
5e0eed3b94 Merge branch 'master' of https://github.com/pret/pmd-red 2024-11-28 11:54:57 -06:00
Seth Barberee
27a13cca68
Merge pull request #271 from DizzyEggg/m4a_sync
sync m4a.c with pokeemerald
2024-11-28 08:42:19 -08:00
DizzyEggg
b9cd0dddc3 sub_80453AC and sub_804550C 2024-11-28 14:04:20 +01:00
DizzyEggg
60d76caac6 sync m4a with pokeemerald 2024-11-28 11:35:01 +01:00
AnonymousRandomPerson
15342e5f94 Synced some symbol names with Sky 2024-11-27 11:38:06 -06:00
Seth Barberee
33a7303313
Merge pull request #269 from DizzyEggg/sub_80869E4
Some checks are pending
GithubCI / build (push) Waiting to run
Match sub_80869E4 and sub_8002A70 with correct params
2024-11-27 08:51:01 -08:00
Seth Barberee
797ca93bfb address review comments 2024-11-27 08:01:49 -08:00
Seth Barberee
7c82fb42e5 Name BlowAwayTarget 2024-11-27 08:00:26 -08:00
Seth Barberee
aad85e9c0d finish up orb funcs 2024-11-27 08:00:26 -08:00
Seth Barberee
f471b50de6 name more move funcs 2024-11-27 08:00:26 -08:00
Seth Barberee
9d57cc28d1 name more move action funcs 2024-11-27 08:00:26 -08:00
Seth Barberee
b859e1be40 cleanup some includes 2024-11-27 08:00:25 -08:00
DizzyEggg
d0cc8671d0 Match sub_80869E4 and related clean-up 2024-11-27 15:07:17 +01:00
DizzyEggg
c73ff121b1 poisoned typo 2024-11-26 21:26:04 +01:00
DizzyEggg
c3547222ef match sub_8083568 2024-11-26 14:02:23 +01:00
DizzyEggg
414d291d57 sub_806C4D4 2024-11-25 19:59:05 +01:00
DizzyEggg
9d3b787619 sub_806C330 2024-11-25 18:54:12 +01:00
DizzyEggg
15c4f42b33 sub_806BC68 2024-11-25 15:57:21 +01:00
DizzyEggg
87f623136d Fix and unify IQ struct and joinetAt struct 2024-11-25 10:41:19 +01:00
DizzyEggg
f972f7b3be sub_806B404 2024-11-23 21:26:58 +01:00
DizzyEggg
a64495b6b3 sub_806AD3C 2024-11-22 17:12:03 +01:00
DizzyEggg
d4d2d809dd sub_806ABAC 2024-11-22 13:53:30 +01:00
DizzyEggg
1de7c500e9 sub_806A914 2024-11-22 12:00:34 +01:00
DizzyEggg
4c03997749 sub_806A5A4 2024-11-22 10:16:40 +01:00
AnonymousRandomPerson
7bc00c325e
Merge pull request #264 from DizzyEggg/text2_drawchar
Some checks failed
GithubCI / build (push) Has been cancelled
match xxx_draw_char
2024-11-21 21:01:51 -05:00
DizzyEggg
c5d63c6212 match xxx_draw_char 2024-11-21 22:32:10 +01:00
DizzyEggg
12422602e3 merge master 2024-11-21 08:59:33 +01:00
AnonymousRandomPerson
bba5f35836 Add missing comment offsets to Dungeon struct 2024-11-20 18:52:43 -05:00
AnonymousRandomPerson
d53a2666cd Removed unnecessary fill 2024-11-20 18:47:52 -05:00
AnonymousRandomPerson
ab308c9547 Fix typo 2024-11-20 18:43:54 -05:00
AnonymousRandomPerson
fd22062489
Merge pull request #253 from DizzyEggg/code_804AFAC
dungeon_generation.c code_804AFAC.s and code_804FD30.s
2024-11-20 18:38:16 -05:00
DizzyEggg
c4cd78c242 sub_8071DA4 and getbodysize 2024-11-20 11:07:01 +01:00
DizzyEggg
d1107af5a0 match sub_808CE74 and sub_808CFD0 2024-11-19 16:38:27 +01:00
DizzyEggg
4a5fd910aa dungeon generation is finished 2024-11-19 12:39:41 +01:00
DizzyEggg
0843612de4 start sub_8051A74 2024-11-18 21:13:57 +01:00
DizzyEggg
9c461115bb GenerateFloor matched 2024-11-18 17:16:24 +01:00
DizzyEggg
378a00c510 ResetInnerBoundaryTileRows 2024-11-18 15:36:03 +01:00
DizzyEggg
361d20a623 merge with master 2024-11-18 12:00:41 +01:00
DizzyEggg
ad8c36c679 sub_8051438 2024-11-18 11:22:12 +01:00
DizzyEggg
5fcb028d81 some unknown, maybe fixed floors dung generation 2024-11-18 09:27:57 +01:00
Mateon1
a9ff59b103
Clean up related Tile stuff 2024-11-16 19:43:17 +01:00
Mateon1
9ab3ae9aaa
Math refactoring/cleanup 2024-11-16 19:43:17 +01:00
Mateon1
4c8a8f4b30
GetTile -> const Tile* 2024-11-16 19:43:16 +01:00
Mateon1
8ba2124f1e
Rename Positions 2024-11-16 19:42:40 +01:00
Mateon1
f46866840c
Move CompactPos struct to common header 2024-11-16 19:42:19 +01:00
Mateon1
bba6da7537
Convert callers to s24_8, use struct for type safety 2024-11-16 19:42:19 +01:00
Mateon1
1912820813
math cleanup 2024-11-16 19:41:48 +01:00
Mateon1
2e61c49bdf
Rename 8-byte fixpoint 2024-11-16 19:41:48 +01:00
AnonymousRandomPerson
082fb078dc Merge branch 'master' of https://github.com/pret/pmd-red 2024-11-16 12:18:40 -05:00
AnonymousRandomPerson
583b4df544 Rename statuses and activePokemon 2024-11-15 22:43:04 -05:00
Kermalis
04d4fb7878 Fix 32bit reads/writes 2024-11-15 19:21:24 -05:00
Kermalis
d7fbd95975 Update pokemon.h 2024-11-15 16:54:26 -05:00
Kermalis
7506f05cb8 Update code_8097670.h 2024-11-15 16:30:57 -05:00
Kermalis
de1e9dcb08 Clean common strings and personality test 1 2024-11-15 16:13:01 -05:00
DizzyEggg
973838de7a sub_805124C 2024-11-15 15:35:02 +01:00
DizzyEggg
cf71f88356 StairsAlwaysReachable 2024-11-15 13:17:41 +01:00