Commit Graph

1384 Commits

Author SHA1 Message Date
DizzyEggg
671b82eff7 match sub_806FD18 2024-11-22 09:25:59 +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
52dfe16bca sub_806A3D4 fail 2024-11-21 13:26:50 +01:00
DizzyEggg
6728be0a45 sub_8069F9C match 2024-11-21 09:54:53 +01:00
DizzyEggg
12422602e3 merge master 2024-11-21 08:59:33 +01: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
570e6cedcc remove body size extern in serializer.c 2024-11-20 11:09:14 +01:00
DizzyEggg
c4cd78c242 sub_8071DA4 and getbodysize 2024-11-20 11:07:01 +01:00
DizzyEggg
bf27d821fd tabs 2024-11-20 09:10:13 +01:00
AnonymousRandomPerson
a30cca00db
Merge pull request #261 from DizzyEggg/pkm_nonmtch
Some checks are pending
GithubCI / build (push) Waiting to run
match sub_808CE74 and sub_808CFD0
2024-11-19 18:50:54 -05: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
a09c6d42e7 Match sub_8007AA4 and DecompressATGlobal 2024-11-18 09:39:17 +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
8103f5e693
Address review comments 2024-11-16 19:43:17 +01:00
Mateon1
f8f076d14d
Clean up some script stuff, based on blue ROM 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
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
e8ae8d8b73 Update personality_test1.h 2024-11-15 16:36:14 -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
AnonymousRandomPerson
5f48654c20 Sync some dungeon vars names with Sky 2024-11-15 00:00:57 -05:00
DizzyEggg
799ea6a5c6 GenerateSecondaryTerrainFormations failed attempt 2024-11-14 15:05:08 +01:00
DizzyEggg
cb5242ba6c SpawnNonEnemies 2024-11-12 17:41:53 +01:00
DizzyEggg
a71b26de35 rename unk4 to spawnOrVisibilityFlags 2024-11-12 13:23:47 +01:00
DizzyEggg
102403cd9a decompile dungeon_generation 2024-11-12 12:30:12 +01:00
DizzyEggg
f97df99fdf IsNextToHallway 2024-11-12 10:14:06 +01:00
DizzyEggg
366690ced9 GenerateMonsterHouse 2024-11-11 21:44:55 +01:00
DizzyEggg
445f0a84e2 GenerateKecleonShop 2024-11-11 21:01:00 +01:00
DizzyEggg
ad0f0f4050 SetTerrainObstacleChecked 2024-11-11 17:01:04 +01:00
Kermalis
5226eab539
Merge branch 'master' into serialization 2024-11-11 10:18:26 -05:00
Kermalis
248d1c633c Update code_80450F8.c 2024-11-11 10:16:38 -05:00
Kermalis
875e3fefa1 Complete code_80450F8.s 2024-11-11 10:13:58 -05:00
DizzyEggg
05c4525ad3 CreateGridCellConnections 2024-11-11 11:21:40 +01:00
Kermalis
0df055bcc6 Replace EntTrapInfo with Trap 2024-11-10 22:51:33 -05:00
Kermalis
afa4b04abc axObject info union 2024-11-10 19:43:27 -05:00
Kermalis
2ec9296cc5 Rename nullsub_102 2024-11-10 19:03:09 -05:00
Kermalis
c3cd344ad9 Fix WriteMonster weirdmatch 2024-11-10 18:33:47 -05:00
Kermalis
fa08c0e691 dungeon_serializer.c 2024-11-10 15:11:07 -05:00
Mateon1
3019420318
charmap 2024-11-10 18:11:27 +01:00
DizzyEggg
3eec797b85 AssignGridCellConnections 2024-11-10 15:18:00 +01:00
DizzyEggg
88c5436602 GenerateOuterRingFloor 2024-11-09 17:41:27 +01:00
Kermalis
ab90cf0500 gDungeon->unk644 2024-11-09 10:35:16 -05:00
Kermalis
15b4b39ff7 Match sub_80948E4 2024-11-09 03:22:29 -05:00
Kermalis
c6d89036bb Fix GetBaseSpeciesNoUnown fakematch 2024-11-09 02:53:48 -05:00
DizzyEggg
2a5e97ca89 GenerateCrossroadsFloor 2024-11-08 22:40:16 +01:00
DizzyEggg
76d710229e AssignRooms 2024-11-08 14:29:12 +01:00
DizzyEggg
cf6e42ae19 GenerateExtraHallways 2024-11-08 11:15:52 +01:00
DizzyEggg
2a678ca06c start documenting dungeon generation 2024-11-07 23:28:16 +01:00
DizzyEggg
2510f03439 sub_804C9D0 2024-11-07 22:00:18 +01:00
Kermalis
ddcf8f59a2 Update code_8042B34.c 2024-11-07 13:14:54 -05:00
Kermalis
d96bb4a9aa Names 2024-11-07 13:06:53 -05:00
DizzyEggg
5701369a9a sub_804C43C 2024-11-07 15:11:26 +01:00
Kermalis
e6f00864bd sin_abs_4096 -> sin_4096 2024-11-06 12:54:01 -05:00
Kermalis
5623e4e028 Merge with huevo 2024-11-06 05:17:28 -05:00
Kermalis
459f262817 Merge branch 'master' into math 2024-11-06 05:08:10 -05:00
DizzyEggg
7ae74721b9 sub_804B534 2024-11-06 10:42:40 +01:00
Kermalis
c0872f639c Finish code_8044CC8.s 2024-11-05 10:50:03 -05:00
Kermalis
723475af05 Fix fakematch cuz Mateon 2024-11-05 10:41:40 -05:00
Kermalis
3aee3628f4 Use mateon's func names 2024-11-05 09:57:30 -05:00
Kermalis
25efe1ca67 Finish math.s 2024-11-05 09:43:47 -05:00
Kermalis
e22f8ea6a8 sub_800A5A4 2024-11-05 08:26:09 -05:00
Kermalis
9ae9b85c75 register match sub_800A4E4 2024-11-05 07:02:02 -05:00
DizzyEggg
a9daef337f decompile code_806E8B0 2024-11-05 11:58:44 +01:00
DizzyEggg
3dc536c92c sub_806F370 2024-11-05 10:54:24 +01:00
Kermalis
5f02fed1c5 600 lines of math.s 2024-11-04 18:48:18 -05:00
DizzyEggg
8a88429b87 start work on sub_806EAF4 2024-11-02 21:25:27 +01:00
AnonymousRandomPerson
86157a2c5c Label sub_80099F0 as SetFontsBaseColor
Per @Kermalis
2024-11-01 19:44:07 -04:00
AnonymousRandomPerson
d93a8b64a0
Merge pull request #247 from DizzyEggg/nonmatchings
Some checks are pending
GithubCI / build (push) Waiting to run
Match some register nonmatchings
2024-11-01 19:41:46 -04:00
AnonymousRandomPerson
a169714523
Merge pull request #249 from mateon1/palette
Palette (builds on top of #248)
2024-11-01 17:40:05 -04:00
AnonymousRandomPerson
97a21ed680
Merge pull request #248 from DizzyEggg/rgb
bg_palette_buffer clean-up
2024-11-01 17:37:56 -04:00
Mateon1
6b87f66106
Clean up void casts 2024-11-01 15:41:36 +01:00
Mateon1
d950923709
Rgb32 back to RGB 2024-11-01 15:32:15 +01:00
Mateon1
97048546c5
pallete -> palette 2024-11-01 15:05:30 +01:00
Mateon1
db96148da7
Cleanup sub_8004C00 2024-11-01 15:03:45 +01:00
Mateon1
14a51f514b
Palette cleanup 2024-11-01 15:03:44 +01:00
DizzyEggg
fd89ecf865 Cast to struct PortraitGfx 2024-11-01 13:43:35 +01:00
DizzyEggg
a9c8d282f4 add emotion defines 2024-11-01 13:37:22 +01:00
DizzyEggg
b6efce3120 start working on bg pal struct 2024-11-01 12:40:56 +01:00
DizzyEggg
edb4d8a62a solve conflicts 2024-11-01 08:53:01 +01:00
DizzyEggg
48752a461f Format to Formatted 2024-10-31 14:19:27 +01:00
DizzyEggg
cc7c519d0f gSpeakerNameBuffer and gSpeakerNameSeparator 2024-10-31 14:15:12 +01:00
DizzyEggg
de31304aab FormatString - name 2024-10-31 14:04:53 +01:00
DizzyEggg
9d0ce06023 get rid of nonmatching fakematch sub_809542C 2024-10-31 12:12:25 +01:00
DizzyEggg
cc3f1d1096 Match some nonmatchings 2024-10-31 11:52:35 +01:00
DizzyEggg
e8c610bb1f GetEntInfo used everywhere now 2024-10-30 09:45:29 +01:00
DizzyEggg
6c9c980fa6 small clean-up 2024-10-30 09:01:16 +01:00
DizzyEggg
a39687ba3e merge master 2024-10-30 08:57:22 +01:00
Mateon1
4bf95354c2
Fix weird indentation 2024-10-29 17:50:48 +01:00
DizzyEggg
98b1caf5a8 some copyformatstring clean-up 2024-10-29 16:21:15 +01:00
DizzyEggg
25f63324c7 merge master 2024-10-29 14:56:39 +01:00
DizzyEggg
b71f4b17d8 rename format string related 2024-10-29 14:41:09 +01:00
DizzyEggg
b218d9006b string_format.c clean-up 2024-10-29 14:07:52 +01:00
Mateon1
2eb1cd4c1a
GetEntInfo 2024-10-29 13:59:19 +01:00
DizzyEggg
7438e1cf19 move dialogue variables to ewram 2024-10-29 13:36:50 +01:00
DizzyEggg
c5a1369345 gUnknown_202E748 2024-10-29 12:47:37 +01:00
DizzyEggg
94edb4caec gAvailablePokemonNames 2024-10-29 12:16:13 +01:00
DizzyEggg
131ad370d5 remove gUnknown_202DEA8 2024-10-29 10:51:27 +01:00
DizzyEggg
ae3c73fae3 sub_8015034 2024-10-29 09:44:50 +01:00
AnonymousRandomPerson
0a18379e39 Fix fakematch per @Kermalis 2024-10-28 20:35:04 -04:00
Mateon1
bb474e4b64
Remove addressed comment 2024-10-29 00:31:11 +01:00
Mateon1
6c2b0d6147
Clean up CLIENT_TYPE constants 2024-10-28 23:53:14 +01:00
Mateon1
4ca729fce0
More animation stuff 2024-10-28 23:41:24 +01:00
Mateon1
31b64b7793
GroundScript improvements 2024-10-28 23:40:36 +01:00
Mateon1
ea037dfcb5
Change some struct usage to their first substruct where appropriate 2024-10-28 23:40:36 +01:00
Mateon1
20a3f2251a
Fully move to axdata
(whoops, it's not four-stars for animations, got confused because I used
an [8] array in ghidra for orientations)
2024-10-28 23:40:36 +01:00
Mateon1
76e79ce987
Prepare for EntitySpriteInfo merge 2024-10-28 23:40:36 +01:00
Mateon1
f4a1ad1f45
move axdata to structs 2024-10-28 23:40:36 +01:00
Mateon1
915cdb9fd3
Get rid of Dungeon_ax 2024-10-28 23:40:36 +01:00
Mateon1
49acc1a1eb
Move Entity to axObj 2024-10-28 23:40:36 +01:00
Mateon1
ac5136a2da
Separate out axPokemon subobject 2024-10-28 23:40:35 +01:00
DizzyEggg
f79211a22b AppendString_8014FA8 2024-10-28 22:34:34 +01:00
DizzyEggg
1548fbe89d CreateMenuDialogueBoxAndPortrait 2024-10-27 22:50:33 +01:00
Seth Barberee
1002b399dc fakematch sub_806A338 thanks to @DizzyEggg 2024-10-27 09:52:47 -07:00
Seth Barberee
c85a9947c4 dungeon_cutscene cleanup 2024-10-26 21:09:23 -07:00
Seth Barberee
56290df4e3 match sub_8015F44 and add decomp.me link 2024-10-26 19:23:51 -07:00
Seth Barberee
b3b9c899e8 address review comment and use direction constants 2024-10-26 19:23:49 -07:00
Seth Barberee
f918337cb2 decomp GetAdjustedGroundMap 2024-10-26 19:10:29 -07:00
Seth Barberee
30100cb8da decomp ZapdosPreFightDialogue 2024-10-26 19:10:28 -07:00
Seth Barberee
59827df253 more decomp 2024-10-26 18:52:37 -07:00
AnonymousRandomPerson
90240df441
Merge pull request #242 from DizzyEggg/patch-9
Some checks are pending
GithubCI / build (push) Waiting to run
Better fakematch for SaveUnkTextStructAndXXX_8006438
2024-10-26 17:13:04 -04:00
AnonymousRandomPerson
f61f1ad4b3
Merge pull request #241 from DizzyEggg/patch-8
Match sub_800EB24
2024-10-26 17:12:47 -04:00
AnonymousRandomPerson
f6c3ff236b
Merge pull request #240 from DizzyEggg/patch-7
Match GenerateMailJobInfo
2024-10-26 17:12:16 -04:00
AnonymousRandomPerson
d8329f7eca
Merge pull request #233 from DizzyEggg/code_80521D0
code_80521D0.s (dungeon_message.c and dungeon_move.c)
2024-10-26 17:11:16 -04:00
DizzyEggg
2ed35b81f7
Better fakematch for SaveUnkTextStructAndXXX_8006438 2024-10-26 21:03:36 +02:00
DizzyEggg
ea5744181e
Match sub_800EB24 2024-10-26 20:39:32 +02:00
DizzyEggg
c41b7f0c4e Use move constants in UseMoveAgainstTargets 2024-10-26 20:04:38 +02:00
DizzyEggg
83df45a81a r0 to pokemon 2024-10-26 19:50:48 +02:00
DizzyEggg
94c8da6dcf
Match GenerateMailJobInfo 2024-10-26 19:42:57 +02:00
DizzyEggg
2c03039ddb
Match sub_8007334 2024-10-26 18:36:00 +02:00
DizzyEggg
78c811ed1d Match HandleTextFormat 2024-10-26 18:12:56 +02:00
DizzyEggg
848d0a0b5f move some const data to dungeon move/message 2024-10-25 22:47:46 +02:00
DizzyEggg
b0f1f8a878 new file - dungeon_move.c and clean-up 2024-10-25 21:19:22 +02:00
DizzyEggg
a2bc2f66ec move two functions to dungeon_message.c 2024-10-25 20:21:56 +02:00
DizzyEggg
4c4ec10806 document some of the use move functions 2024-10-25 17:30:31 +02:00