Commit Graph

828 Commits

Author SHA1 Message Date
cbt6
74feb9477a Name BgEvent struct 2024-06-09 10:03:28 +08:00
cbt6
1319c90b00 Document vars_flags.c 2024-06-08 11:05:00 +08:00
Fexty12573
23e1d5c67c PR feedback 2 2024-06-07 19:27:14 +02:00
Fexty12573
dff6c92dba Rename events -> varsflags 2024-06-07 09:02:35 +02:00
Fexty12573
a667690266 PR feedback 2024-06-07 08:21:59 +02:00
Fexty12573
d63eb47bf0 VarsFlags cleanup 2024-06-07 08:21:59 +02:00
Fexty12573
5a90627ab5 Various cleanup (unnecessary parens, naming, formatting) 2024-06-07 08:21:08 +02:00
Fexty
cd3d42a3f0 Reformat if-statement
Co-authored-by: Rachel <lhearachel@proton.me>
2024-06-07 08:19:34 +02:00
Fexty12573
2f922974e2 rename sub_020628D8 to MapObject_GetStateFlag 2024-06-07 08:19:34 +02:00
Fexty12573
cc2a514faf Rename a bunch of functions from Events_ to VsSeeker_ 2024-06-07 08:19:34 +02:00
Fexty12573
9d8d51548e Fix struct names and enum/constant usage 2024-06-07 08:16:43 +02:00
Fexty12573
0b2cc1700b Simplify Script_IsTrainerDoubleBattle 2024-06-07 08:14:12 +02:00
Fexty12573
86461fd659 More constants 2024-06-07 08:14:12 +02:00
Fexty12573
75161a8d2f Constants for single/double battle event IDs 2024-06-07 08:12:37 +02:00
Fexty12573
eed65133e2 Remove unnecessary declarations 2024-06-07 08:12:37 +02:00
Fexty12573
29dbd2a7b2 label eventType field in MapObject and fix remaining GetNpcCount calls 2024-06-07 08:12:37 +02:00
Fexty12573
d86969746a GetTrainerIDFromEventID -> GetTrainerID 2024-06-07 08:11:33 +02:00
Fexty12573
e29b8b121e HasBeatenTrainer -> IsTrainerDefeated 2024-06-07 08:11:33 +02:00
Fexty12573
19f634290a GetNpcCount -> GetNPCCount 2024-06-07 08:11:33 +02:00
Fexty12573
16c2bb3d1a npcCount field 2024-06-07 08:11:33 +02:00
Fexty12573
4cfca3d623 vs seeker naming and variable declaration cleanup 2024-06-07 08:11:33 +02:00
Fexty12573
20858aa223 Finish labelling the rest of vs seeker functions and static variables 2024-06-07 08:10:17 +02:00
Fexty12573
ac0237b044 Finish labelling some structures 2024-06-07 08:02:23 +02:00
Fexty12573
eae13c3639 Fix MapObject_GetEventID function name 2024-06-07 08:01:41 +02:00
Fexty12573
2cb22ed3b4 Document main part of vs seeker code. Rename some external functions for clarity 2024-06-07 08:01:41 +02:00
Fexty12573
9db889837a Change * alignment and rename a few things 2024-06-07 07:53:20 +02:00
Fexty12573
50405eb220 Rename ov5_021DB888 to vs_seeker 2024-06-07 07:49:09 +02:00
Adrienn Tindall
f956fff0db
Merge branch 'main' into main 2024-06-06 10:12:25 -05:00
Adrienn Tindall
1384926086 Fix merge error 2024-06-06 11:05:35 -04:00
Adrienn Tindall
f637181625 Requested Changes 2024-06-06 08:47:13 -04:00
RavePossum
1133cd486c Use verbs for PlayerPos and DistortionState functions 2024-06-05 19:02:53 -04:00
Adrienn Tindall
882f688e1c Merge Fixing 2024-06-05 11:26:31 -04:00
Adrienn Tindall
7094828b09 Merge branch 'main' into main-adrienntindall 2024-06-05 11:26:16 -04:00
Adrienn Tindall
d88da37bba FieldEvents -> VarsFlags 2024-06-05 11:06:25 -04:00
Adrienn Tindall
a24dff12a1 Merge branch 'main' of https://github.com/adrienntindall/pokeplatinum into main-adrienntindall 2024-06-05 07:37:16 -04:00
Adrienn Tindall
ccaeaa1cd3 field_overworld_state 2024-06-05 07:37:13 -04:00
Adrienn Tindall
5ad04e040a
Update src/unk_020553DC.c
Co-authored-by: Rachel <lhearachel@proton.me>
2024-06-05 05:58:50 -05:00
RavePossum
dbac346f55 simplify DistortionStateOnFloor 2024-06-03 23:04:52 -04:00
RavePossum
00419055b1 PR feedback - rename firstmon and champion ribbon functions, use enums for distortion state, cleanup 2024-06-03 15:30:46 -04:00
RavePossum
e38265eb41 Add move constants to HasMonWithMove calls 2024-06-03 13:28:47 -04:00
RavePossum
78225a77bd Document/rename a couple more DW functions, catch a couple more DW state consts, fix player_avatar_h header guard 2024-06-03 13:20:57 -04:00
RavePossum
8326ef7dda document some party-related functions 2024-06-03 10:44:40 -04:00
RavePossum
79c5acc23b Assign distortion state constant labels 2024-06-03 10:43:49 -04:00
RavePossum
9c2ff9f98e add preproc constant for PAD_KEY 2024-06-02 22:42:52 -04:00
Adrienn Tindall
b00b77d195 Move overworld weather consts 2024-06-02 22:33:55 -04:00
Adrienn Tindall
10d33c357a Name journal files 2024-06-02 22:07:41 -04:00
Adrienn Tindall
c8ca914d36 unk_020530C8 -> field_map_change 2024-06-02 06:54:30 -04:00
Adrienn Tindall
aea5b883ff Identify Journal struct 2024-06-02 06:31:53 -04:00
Adrienn Tindall
40930d8f58 Begin documenting FieldStatus struct functions 2024-06-02 06:24:08 -04:00
Adrienn Tindall
9ece715560 More FieldTask functions 2024-06-02 05:46:01 -04:00