Rachel
7e3fba41f9
Document enum values for controlling PartyGauge display
2024-02-08 08:54:12 -08:00
wildfire
277621e201
Document functions for NatDex/SinnohDex mapping
2024-02-08 13:35:59 +00:00
Rachel
575607a3e2
Document Battler-level PartyGauge routines
2024-02-07 16:27:04 -08:00
Rachel
f75124a49e
Label struct fields for PartyGaugeTask
2024-02-07 16:17:21 -08:00
Rachel
bc303a1a86
Label core routines and struct fields for party gauge
2024-02-07 16:17:04 -08:00
Rachel
b0077dd410
Document BattleIO routines for the party gauge
2024-02-07 15:35:05 -08:00
Rachel
d64f2f90ee
Document PartyGaugeData_New routine
2024-02-07 13:55:12 -08:00
Rachel
2a1de2dda8
Label PartyGaugeData struct and member fields
2024-02-07 13:29:26 -08:00
Rachel
393b24ab89
Merge pull request #139 from lhearachel/json2bin_constgen
...
Migrate json2bin scripts to constgen headers
2024-02-07 09:04:46 -08:00
Rachel
fdc5540fb7
Move consts used by json2bin to constgen
2024-02-06 22:29:22 -08:00
Rachel
aa7792cf03
Clean up [Get,Set]DataInternal functions in pokemon.c
2024-02-06 15:14:25 -08:00
Rachel
9246e4b890
Bulk rename known values for enum PokemonDataParam
2024-02-06 15:08:04 -08:00
Rachel
29a6c70d69
Document remaining fields in PokemonDataBlock structs + update Doxygen comments
2024-02-06 14:07:36 -08:00
froggestpsirit
2039f30af6
Pokeradar cleanup
2024-02-03 11:21:06 -05:00
Frogg
c15039e2cb
Merge branch 'pret:main' into main
2024-01-31 19:19:45 -05:00
FroggestSpirit
1ad4045316
Initial pokeradar documentation
2024-01-31 19:15:28 -05:00
Maja Kądziołka
f3604018fe
Label some code referenced by main ( #133 )
...
* main callback, hblank
* HandleConsoleFold
* WaitFrame, SoftReset, UpdateSound
* HeapCanary
* Label the RTC code
* Address review comments
2024-01-29 12:14:41 -08:00
Rachel
b7fffbfc76
Rebase + clean-up PR#115 with current project state ( #134 )
...
* improving readability
also seemingly located the party healing function
* readability
* clean it up
* Update pokemon.h
* add function names
Adds names to many unnamed functions for readability. Also adds names to a couple structs.
* add function names
* add struct names
* more functions with human names
* rename chatotcrydata
* doxygen documentation
* update box mon function
ProcessBoxPokemonWithTrainerInfo is now UpdateBoxMonStatusAndTrainerInfo and all params are labeled
* fixing formatting
---------
Co-authored-by: Jack <schoenjack98@gmail.com>
2024-01-28 19:05:12 -08:00
Rachel
2443a136ee
Merge pull request #129 from lhearachel/pokemon_cries
...
Document routines for initializing Pokemon cries
2024-01-28 14:59:01 -08:00
Maja Kądziołka
e4edaa7744
Apply suggestions from review
2024-01-28 02:57:28 +01:00
Maja Kądziołka
2a325ba041
File reading functions
2024-01-28 02:15:42 +01:00
Maja Kądziołka
af2ac550b1
Label touch input processing
2024-01-28 02:05:15 +01:00
Maja Kądziołka
27c4682368
Label pad input processing
2024-01-28 01:51:16 +01:00
Rachel
9535a09487
First pass at labelling AI script commands
2024-01-26 21:49:07 -08:00
Rachel
620cab7dc0
Document entry-routines for playing Pokemon cries
2024-01-26 21:41:57 -08:00
Rachel
825e3f3cc4
Label functions used for playing Pokemon cries
2024-01-26 20:48:55 -08:00
Rachel
4739e0ed14
Label + document ChatotCry struct
2024-01-26 20:43:50 -08:00
Rachel
7e1574a1ee
Merge pull request #126 from lhearachel/hidden_items
...
Document hidden field items table
2024-01-25 11:13:56 -08:00
Rachel
2cec41cc12
Document hidden field items table
2024-01-25 10:35:46 -08:00
Rachel
09e74fff71
Document mid-turn switch AI functions
2024-01-24 22:33:30 -08:00
Rachel
b876960686
Document AI-visible damage calc
2024-01-24 22:33:25 -08:00
Rachel
60661e1270
Document simple non-command static functions in trainer_ai.c
2024-01-24 22:25:07 -08:00
Rachel
e90979f61c
Merge pull request #123 from lhearachel/battle_scripts
...
Dump + rebuild the contents of battle scripting NARCs
2024-01-24 22:24:49 -08:00
Rachel
9d7019b8b0
Add new consts used by battle scripts
2024-01-23 17:34:18 -08:00
Rachel
f46a747f0e
Rename BATTLE_SUBSEQ consts to BATTLE_SUBSCRIPT + move to constgen manifest
2024-01-23 17:34:11 -08:00
Rachel
ba60196b55
Move global-level consts used by battle scripts to constgen manifest
2024-01-23 17:33:17 -08:00
Rachel
5dcb0c3657
Update battle-constant headers for assembler compatibility
2024-01-21 15:41:30 -08:00
Rachel
3ebdbdc042
Document Main routines for singles and doubles AI
2024-01-20 21:13:35 -08:00
Rachel
0ecc4a679c
Document extern functions for overlay 14 (trainer AI)
2024-01-20 19:49:31 -08:00
Rachel
93d56d6d5c
Label extern functions in overlay 14
2024-01-20 18:40:11 -08:00
Rachel
36cc961bc9
Rename ov14_0221FC20.[ch] -> trainer_ai.[ch]
2024-01-20 18:38:44 -08:00
Rachel
7bf253a4d6
Move enum-based battle constants to constgen schema
2024-01-08 20:50:36 -08:00
Rachel
04a0cbf3a8
Document functions for loading data from height.narc and height_o.narc
2023-11-28 13:16:32 -08:00
Rachel
067064329c
Document functions for loading data from pl_poke_data archive
2023-11-18 21:45:29 -08:00
Rachel
d65696c042
Label functions for PokeSprite data-loading
2023-11-18 21:42:06 -08:00
Rachel
1d055f3048
Document structs used for loading data from pl_poke_data.narc
2023-11-18 21:17:55 -08:00
Rachel
fb8632ce43
Rename ov16_0225177C -> battle_lib
2023-11-14 22:45:28 -08:00
Rachel
0052320f3b
Document BattleAI_SwitchedSlot, Battle_RecordingStopped, and BattleSystem_InitPartyOrder
2023-11-14 21:42:27 -08:00
Rachel
bfefa854aa
Document BattleSystem_SetPokemonCatchData
2023-11-14 21:42:27 -08:00
Rachel
6c05a9aa6e
Document App_BarColor, HealthBar_Color, and Battler_CryModulation
2023-11-14 21:42:27 -08:00
Rachel
646fec5ced
Document BattleContext_Init and _InitCounters
2023-11-14 21:42:27 -08:00
Rachel
1d5410a7f0
Document BattleSystem_CheckTrainerMessage
2023-11-14 21:42:27 -08:00
Rachel
15b528b368
Document Battler_IsTrapped and Battler_CanEscape
2023-11-11 18:46:48 -08:00
Rachel
3f29ee71f6
Document BattleIO_EnqueueVal and DequeueVal
2023-11-11 18:15:17 -08:00
Rachel
0df4ab9d84
Document + rename some simple functions in ov16_0225177C.c
2023-11-11 18:09:35 -08:00
Rachel
a805f134e6
Document post-KO switch-in AI function
2023-11-11 18:09:35 -08:00
Rachel
bbbec7a357
Document Move_IsGhostCurse, Move_IsMultiTurn, and Battler_Ability
2023-11-10 22:19:56 -08:00
Rachel
66369bb811
Document BattleSystem_CanUseMove and associated sub-functions
2023-11-10 22:19:56 -08:00
Rachel
db2ab0a437
Document TriggerHeldItemOnPivotMove
2023-11-10 22:19:56 -08:00
Rachel
c30b9cbc4b
Merge pull request #110 from lhearachel/battle-dev
...
Document type-effectiveness routines, Check/Trigger for redirection abilities
2023-11-09 13:24:39 -08:00
Rachel
cfec633df8
Merge pull request #111 from Kurausukun/matching
...
Start Matching Remaining Functions
2023-11-09 13:13:45 -08:00
Kurausukun
4045bb1578
start matching functions
2023-11-09 15:57:05 -05:00
Rachel
5937b5c02c
Document Battler_StatusCondition
2023-11-08 11:45:46 -08:00
Rachel
a43f2c0365
Document Check/TriggerRedirectionAbilities
2023-11-07 12:23:51 -08:00
Rachel
81eb400724
Document type-effectiveness routines
2023-11-06 11:55:33 -08:00
Rachel
7024567eea
Clean-up + document held-item trigger functions
2023-11-04 23:38:26 -07:00
Rachel
03b537680b
Document TriggerEffectOnSwitch and TriggerFormChange functions
2023-11-04 23:38:26 -07:00
Rachel
1d36f59c6f
Clean-up + document ability trigger functions
2023-11-04 23:38:19 -07:00
Rachel
363881fb19
Improve documentation for side effects and how they map to subscripts
2023-11-04 15:34:17 -07:00
Rachel
0b17aa7126
Document ClearSideExpGain and FlagBattlerExpGain
2023-11-04 12:22:17 -07:00
Rachel
d143d0c7b3
Document BattleSystem_CompareBattlerSpeed
2023-11-04 12:17:28 -07:00
Rachel
9d26c9fd0a
Merge pull request #106 from lhearachel/pokegra
...
Document functions for loading front/back Pokemon sprites
2023-11-04 09:53:15 -07:00
Rachel
9b3f2278ed
Document BuildArchivedSprite functions
2023-11-03 20:43:50 -07:00
Rachel
061ca761c7
Label functions related to loading Pokemon front/back sprites
2023-11-03 19:56:45 -07:00
Rachel
4499136219
Document + label fields for UnkStruct_02008A90 -> ArchivedSprite
2023-11-03 19:20:20 -07:00
Rachel
206747dd91
Document Pokemon_FindShinyPersonality
2023-11-03 17:59:37 -07:00
Rachel
61855cccbc
Clean-up and document pokemon_icon.c
2023-11-03 17:23:47 -07:00
Rachel
7cd05c8d92
Label extern functions in pokemon_icon.h
2023-11-03 17:23:47 -07:00
Rachel
bea14e3f6d
Rename unk_02079D40 -> pokemon_icon
2023-11-03 17:23:47 -07:00
Rachel
7023989a92
Extract Unk_020F0780 to include/data/pokeicon_palettes.h
2023-11-03 17:23:41 -07:00
lhearachel
1e58ed2e1c
Clean up battle constant headers
2023-11-01 00:18:20 -07:00
lhearachel
c4e8cb61df
Extract pickup and terrain data tables to their own files
2023-11-01 00:01:34 -07:00
lhearachel
6acc6ffd3e
Document battle script command 0x44
2023-10-31 23:52:58 -07:00
lhearachel
5edbb62501
Document battle script commands 0xBB - 0xDE
2023-10-31 23:27:22 -07:00
lhearachel
6c006bd143
Document BattleSystem_UseBagItem and related functions
2023-10-31 20:45:48 -07:00
lhearachel
c9f1f1607b
Document battle script commands 0xA7 - 0xBA
2023-10-31 20:38:20 -07:00
lhearachel
4926316055
Document BattleSystem_PluckBerry + _FlingItem and related functions
2023-10-31 20:38:19 -07:00
lhearachel
221cde6ef4
Document battle script commands 0x90 - 0xA6
2023-10-31 20:35:34 -07:00
lhearachel
657eaae2d4
Document TrainerData_BuildParty
2023-10-30 09:41:06 -07:00
lhearachel
c851345e8a
Document extern functions in trainer_data.c
2023-10-30 09:41:06 -07:00
lhearachel
1d626d412c
Label functions used by trainer_data.c
2023-10-30 09:41:06 -07:00
lhearachel
c07da37106
Extract trainer class gender table to a separate include
2023-10-30 09:41:02 -07:00
lhearachel
10582fbdc0
unk_02079170 + trainer_data; label functions in trainer_data.h
2023-10-30 09:38:49 -07:00
lhearachel
e38e18500a
Document TrainerData and TrainerMon structs + combine headers
2023-10-30 09:38:49 -07:00
lhearachel
e933d09217
Document battle commands 0x60 - 0x8F
2023-10-28 22:39:34 -07:00
lhearachel
183a716897
Document App_PixelCount, BattleSystem_CanStealItem, and BattleSystem_CanWhirlwind
2023-10-28 22:37:26 -07:00
lhearachel
cedf84f740
Document battle commands 0x5D - 0x5F
2023-10-28 01:04:56 -07:00
lhearachel
e850201f00
Document sTypeMatchupMultipliers table and BattleSystem_TypeMatchup
2023-10-28 01:04:52 -07:00
lhearachel
6e004e62f9
Document battle commands 0x54 - 0x5C
2023-10-28 00:49:49 -07:00
lhearachel
7629d31f75
Document functions forbidding moves for Mimic, Metronome, and Me First
2023-10-27 22:18:51 -07:00
lhearachel
ac6d5b0ded
Document TryLightScreen, TryReflect, and TryMist commands
2023-10-26 12:55:03 -07:00
lhearachel
6305947882
Document BattleSystem_TrainerInfo
2023-10-26 12:55:03 -07:00
lhearachel
cd328ef92a
Document IfVar and IfMonDataVar commands
2023-10-26 12:55:03 -07:00
lhearachel
c37318bd6f
Clean-up + document TryConversion command
2023-10-26 12:55:03 -07:00
lhearachel
28bc86c0f2
Document commands 0x45 - 0x4C
2023-10-25 23:50:11 -07:00
lhearachel
7245aba137
Document BattleSystem_ShouldShowStatusEffect
2023-10-25 23:50:11 -07:00
lhearachel
ab2cd2ddd8
Document battle commands 0x34 - 0x43
...
- SetMonDataValue
- ClearVolatileStatus
- ToggleVanish
- CheckAbility
- Random
- SetVarFromVar
- SetMonDataFromVar
- Jump
- CallSub
- CallSubFromVar
- SetMirrorMove
- ResetStatChanges
- LockMoveChoice
- UnlockMoveChoice
- SetStatusIcon
- TrainerMessage
2023-10-23 22:11:36 -07:00
lhearachel
f30651576c
Document Battler_LockMoveChoice, Battler_UnlockMoveChoice, and BattleSystem_CanEncoreMove
2023-10-23 22:10:03 -07:00
lhearachel
6603a3a42f
Label BattleIO functions used by battle commands 0x34 - 0x43
...
- ov16_02265EE8 -> BattleIO_ToggleVanish
- ov16_02265FB8 -> BattleIO_SetStatusIcon
- ov16_02265FD8 -> BattleIO_TrainerMessage
2023-10-23 22:08:28 -07:00
lhearachel
12055602e9
Document BattleMon_Set
2023-10-23 22:04:34 -07:00
lhearachel
da4adc0f59
Rename BattleMon::pid -> personality
2023-10-23 22:04:34 -07:00
lhearachel
7584276155
Document the capture formula
2023-10-23 00:18:10 -07:00
lhearachel
d2c301cc45
Document battle terrain, time, and species-caught checks
2023-10-22 20:29:33 -07:00
lhearachel
fac48e608a
Label struct+fields: UnkStruct_ov12_02237728 -> BallThrow
2023-10-22 19:51:31 -07:00
lhearachel
37f7d89321
Document BtlCmd_ChangeStatStage
2023-10-18 19:06:19 -07:00
lhearachel
870997c882
Document SetupMultiHit and SetVarValue commands
2023-10-18 19:06:15 -07:00
lhearachel
e1b2a01dc2
Document Switch and JumpIfAnySwitches commands
2023-10-14 11:46:13 -07:00
lhearachel
9823a08e06
Document routines used by Switch command
...
- BattleSystem_InitBattleMon
- BattleSystem_ReloadPokemon
- BattleSystem_SwitchSlots
- BattleSystem_UpdateAfterSwitch
2023-10-14 11:46:13 -07:00
lhearachel
4bf5b87f9a
Label Giratina + Pokedex Height/Weight functions
2023-10-14 11:46:13 -07:00
lhearachel
f90912ff33
Document ShowPartyList and WaitPartyList commands
2023-10-14 11:46:13 -07:00
lhearachel
014dc44191
Document BattleScript_GetExpTask
2023-10-13 10:04:38 -07:00
lhearachel
ad15d7ce16
Document BattleScript_CalcEffortValues
2023-10-13 10:03:04 -07:00
lhearachel
57a0b5fcc4
[Mass Rename] Structs and subroutines for GiveExp task func
...
Functions:
- ov16_0223E05C -> BattleSystem_MessageLoader
- ov16_02259B38 -> BattleSystem_PokemonIsOT
- ov16_022499C0 -> BattleScript_CalcEffortValues
- ov16_0223EDF0 -> BattleSystem_TextSpeed
- ov16_0223FB24 -> BattleMessage_Print
- sub_0201D724 -> Message_Printing
- ov16_02265D14 -> BattleIO_UpdateExpGauge
- sub_02076B14 -> Pokemon_ShouldLevelUp
- ov16_02265FF8 -> BattleIO_PlayStatusEffect
- ov16_0226614C -> BattleIO_PlayLevelUpAnimation
- ov16_02251C94 -> BattleSystem_ReloadPokemon
- ov16_0224B520 -> BattleScript_LoadPartyLevelUpIcon
- ov16_0223DF00 -> BattleSystem_BGL
- ov16_0223DF04 -> BattleSystem_Window
- ov16_0223E064 -> BattleSystem_PaletteSys
- sub_02019060 -> BGL_SetPriority
- ov16_0223F8DC -> BattleSystem_SetGaugePriority
- sub_0200DA60 -> Window_SetFrame
- sub_0200DAA0 -> Window_FramePalette
- sub_02003050 -> PaletteSys_LoadPalette
- sub_0201A7E8 -> BGL_AddWindow
- sub_0201ADA4 -> BGL_FillWindow
- sub_0200DC48 -> Window_Show
- ov16_0223FB78 -> BattleMessage_PrintToWindow
- sub_0201AE78 -> BGL_WindowColor
- sub_02005748 -> Sound_PlayEffect
- sub_0200DC9C -> Window_Clear
- sub_0201A8FC -> BGL_DeleteWindow
- ov16_0224B7CC -> BattleScript_FreePartyLevelUpIcon
- sub_0207727C -> Pokemon_LevelUpMove
- ov16_022664C4 -> BattleIO_ForgetMove
- sub_0200DA58 -> SysTask_Done
Structs:
- UnkStruct_02002F38 -> PaletteSys
- UnkStruct_02018340 -> BGL
- UnkStruct_0205AA50 -> Window
- UnkStruct_ov16_02248E74 -> PokemonStats
2023-10-13 10:03:01 -07:00
lhearachel
fb3af3b9fc
Label core SysTask struct + funcptr
...
UnkStruct_0201CD38 -> SysTask
UnkFuncPtr_0201CE28 -> SysTaskFunc
2023-10-13 09:59:51 -07:00
lhearachel
69996ea104
Mass rename: coresys -> gCoreSys
2023-10-13 09:59:51 -07:00
lhearachel
472541a88b
Label sub_0200D9E8 -> SysTask_Start
2023-10-13 09:59:49 -07:00
lhearachel
39c137a334
Label struct + member fields for BattleScriptTaskData
2023-10-13 09:57:38 -07:00
lhearachel
f2365bf596
Document BtlCmd_CalcExpGain
2023-10-12 23:13:13 -07:00
lhearachel
d07252f5c5
Document BattleSystem_Defender, RandomOpponent, and EnemyInSlot
2023-10-12 16:57:13 -07:00
lhearachel
3c9571ad32
Document FadeOut, JumpToSub, JumpToBattleEffect commands
2023-10-10 22:03:32 -07:00
lhearachel
40c3f6d035
Document If, IfMonData commands
2023-10-10 21:56:19 -07:00
lhearachel
4fe78a9fa3
Document PlaySound command
2023-10-10 21:39:55 -07:00
lhearachel
dd3c4f5bbc
Document sub_02022798 -> TouchScreen_Tapped
2023-10-10 21:39:55 -07:00
lhearachel
f6f87d6b75
Unk_021BF67C -> coresys
...
Also label fields unk_48 -> padInput and unk_60 -> touchInput
2023-10-10 21:39:28 -07:00
lhearachel
23a3695146
Document FaintBattler and PlayFaintingSequence
2023-10-09 22:40:07 -07:00
lhearachel
523ea64de1
Document BattleScript_UpdateFriendship and dependent functions
2023-10-09 21:56:35 -07:00
lhearachel
b20ea8e1e6
Document FlickerBattler command
2023-10-09 21:11:30 -07:00
lhearachel
0459e9ca50
Document PlayMoveAnimation and PlayMoveAnimationA2D
2023-10-09 21:05:59 -07:00
lhearachel
d8899b26fa
Document message-printing battle script commands
2023-10-09 20:29:30 -07:00
lhearachel
a62e6e8384
Document CalcMoveDamage, CalcDamageVariance, and CalcCriticalMulti routines
2023-10-08 15:02:50 -07:00
lhearachel
9eea5b7c97
Document functions used by damage calc routine
2023-10-08 15:02:13 -07:00
lhearachel
9297631eca
Document BattleIO_QueueIsEmpty and BattleIO_UpdateTimeout
2023-10-07 20:37:25 -07:00
lhearachel
018837618a
Document some battle script commands related to trainers:
...
- SetTrainerEncounter
- ThrowTrainerBall
- SlideTrainerOut
- SlideTrainerIn
- SlideHPGaugeIn
- SlideHPGaugeInWait
- SlideHPGaugeOut
2023-10-04 22:11:55 -07:00
lhearachel
b05874c6d2
Document commands for battle UI and battle setup:
...
- SetupBattleUI
- SetEncounter
- ShowEncounter
- ShowPokemon
- ReturnPokemon
- DeletePokemon
2023-10-04 18:52:37 -07:00
lhearachel
e49f2e4a9b
Document the BattleMessage tagging functions
2023-10-04 17:21:34 -07:00
lhearachel
2d20d05b22
Document BattleScript_Battler
2023-10-04 16:12:27 -07:00
lhearachel
68f54d4087
Document BattleMessageParams struct and _Make functions
2023-10-04 15:20:08 -07:00
Rachel
cc7c7c1a89
Merge pull request #78 from lhearachel/battle-dev
...
Document foundational functions for battle_script.c
2023-10-03 09:46:22 -07:00
lhearachel
297be289ee
Document some foundational functions for battle_script.c
2023-10-02 23:46:23 -07:00
lhearachel
c8d5296674
Move overlay016/ov16_022405FC.h -> battle/battle_script.h and document BattleScript_Exec
2023-10-02 22:53:10 -07:00
lhearachel
ac09b59b13
Document berry initialization table for a new game
2023-10-02 21:01:35 -07:00
lhearachel
9def039d54
Document functions in battle_controller.c
2023-09-30 17:57:21 -07:00
lhearachel
46bd5f963d
Clean up some lingering smelly code in battle_controller.c
2023-09-30 16:11:32 -07:00
lhearachel
be8afb1f65
Finish cleaning up the battle state machine
2023-09-30 00:40:21 -07:00
lhearachel
e6e3c14784
Label functions used by the rest of the battle controller
2023-09-29 23:22:56 -07:00
lhearachel
d197b7a861
Clean up remaining utility functions in battle_controller.c:
...
- BattleController_MustSelectTarget
- BattleController_ClearFlags
- BattleController_AnyFainted
- BattleController_AnyExpPayout
- BattleController_UpdateHitByMoveFlags
- BattleController_ToggleSemiInvulnMons
- BattleController_TriggerAfterMoveHitEffects
- BattleController_InitAI
2023-09-29 21:06:40 -07:00
lhearachel
7ad263e9a2
Label TrainerAITable and BattleSystem_TrainerItems
2023-09-29 21:06:23 -07:00
lhearachel
6030bb84c5
Clean up BattleController_CheckBattleOver
2023-09-28 23:16:33 -07:00
lhearachel
41b2359d97
Label functions used by CheckBattleOver
2023-09-28 23:16:02 -07:00
lhearachel
d58bc0a46e
Clean up + rename BattleController_ReplaceFainted
2023-09-28 23:15:31 -07:00
lhearachel
ac131d1dc8
Document BattleSystem_AnyReplacementMons
2023-09-28 23:15:31 -07:00
lhearachel
0154d8a221
Document BattleSystem_PartyCount
2023-09-28 23:15:31 -07:00
lhearachel
ff5b3b820e
Label functions + BattlerData struct used by CheckAnySwitches
2023-09-28 23:15:31 -07:00
lhearachel
fdef5b6f2a
Use gen4 move names for consts + data files
2023-09-26 13:11:18 -07:00
Nomura-RH
83777f9deb
Merge branch 'pret:main' into document_mart_data
2023-09-26 18:26:36 +02:00
Nomura
81cff1370f
Document Sunyshore Market data
2023-09-26 18:25:22 +02:00
Rachel
f34b40b1fb
Merge pull request #66 from lhearachel/battle-dev
...
Clean up AfterMoveMessage, AfterMoveEffects, and LoopMultiHit battle control states
2023-09-25 20:46:06 -07:00
Nomura
8e5447be18
Document mart data for regular items
2023-09-25 19:46:10 +02:00
Rachel
7eb853111d
Merge pull request #69 from lhearachel/savedata
...
Clean up + document savedata/save_table.c
2023-09-24 22:14:24 -07:00
lhearachel
e5da0ec849
Rename PSSBoxes -> PCBoxes
2023-09-24 16:06:49 -07:00
lhearachel
1407ff729f
Consolidate save_table_entry.h and related consts into save_table.h
2023-09-23 14:07:22 -07:00
lhearachel
8d3c104a20
Clean up + document savedata/save_table.c
2023-09-23 13:58:20 -07:00
lhearachel
c0d93e674f
Label functions used by unk_0202440C.c
2023-09-23 13:57:56 -07:00
lhearachel
bb2b3d245e
Standardize names for SaveSize and Init functions stored in save blocks
2023-09-23 13:57:56 -07:00
lhearachel
641ed12e6a
Clean up SaveTableEntry struct + consolidate extraneous files
2023-09-23 13:57:54 -07:00
lhearachel
610969c913
Rename unk_0202440C.h -> savedata/save_table.h
2023-09-23 13:56:41 -07:00
Nomura-RH
aac6baa56b
Merge pull request #63 from wildfire248/mon_personal_decomp
2023-09-23 22:15:20 +02:00
lhearachel
476e557f0c
Label functions + params in unk_0202440C.h
2023-09-23 11:11:10 -07:00
lhearachel
2af8be5995
Mass rename structs referenced by unk_0202440C.h
2023-09-23 11:06:46 -07:00
lhearachel
465dbe6632
Clean up BattleController_LoopMultiHit
2023-09-22 22:57:42 -07:00
lhearachel
71acfcfc7e
Clean up BattleController_AfterMoveEffects
2023-09-22 22:44:31 -07:00
lhearachel
60c4bad9bd
Clean up BattleController_AfterMoveMessage
2023-09-22 22:42:08 -07:00
Rachel
f81ecbb430
Clean up sub-functions for AfterMoveMessage and AfterMoveEffects
2023-09-22 22:41:53 -07:00
Rachel
09b0513474
Label sub-functions for AfterMoveMessage and AfterMoveEffects
2023-09-22 22:41:35 -07:00
wildfire
29ee0f7abd
Misc. cleanup
2023-09-20 11:49:21 +01:00
Rachel
7b201a945b
Clean up BattleController_UpdateHP
2023-09-19 21:14:01 -07:00
Rachel
88a09c4cc2
Label BattleIO_IncrementRecord
2023-09-19 19:50:55 -07:00
lhearachel
f297e5e43a
Clean up move use state
2023-09-19 19:07:32 -07:00
lhearachel
8e84a94634
Clean up move failure check state
2023-09-19 19:07:32 -07:00
lhearachel
c4808f24a9
Clean up primary effect check state
2023-09-19 19:07:32 -07:00
lhearachel
095de56b99
Clean up TryMove state machine
2023-09-19 19:07:32 -07:00
lhearachel
8b2f9015a9
Clean up sub-functions for move-execution state machine + follow-up states
2023-09-19 19:07:32 -07:00
lhearachel
056a3b5568
Label subfunctions for move-execution state machine + a few follow-up short states
2023-09-19 19:07:32 -07:00
wildfire
c994192564
Add build tool for pl_personal.narc
2023-09-19 17:10:22 +01:00
lhearachel
8cce44978f
Document + clean up BattleController_BeforeMove
2023-09-15 19:24:02 -07:00
lhearachel
c06ac866db
Document subfunctions for BattleController_BeforeMove
2023-09-15 19:23:13 -07:00
lhearachel
8fe165772e
Label functions used by BattleController_BeforeMove and related subfunctions
2023-09-15 19:19:40 -07:00
lhearachel
8ead2eaea9
Move flag-related function declarations out of pokemon.h
2023-09-14 20:45:21 -07:00
lhearachel
9b25c55bf8
Use #define for POCKET_ constants to make csv2bin happy
2023-09-14 20:29:49 -07:00
lhearachel
26cd23f2d5
Clean up + document Battle and Safari commands
2023-09-14 20:29:49 -07:00
lhearachel
dd03d0d01d
Label functions and structs used by fight and safari commands
2023-09-14 20:29:46 -07:00
lhearachel
4abf59907c
Use an enum in include/constants/moves.h
2023-09-14 20:05:42 -07:00
lhearachel
8f5512434a
Document and clean up trainer_info.c
2023-09-14 12:45:18 -07:00
lhearachel
2d28530016
Label some GF string library functions used by trainer_info.c
2023-09-14 12:23:57 -07:00
lhearachel
85abc405e2
Label trainer_info functions
2023-09-14 12:23:52 -07:00
lhearachel
413fa1556b
Rename unk_02025E68.h,c -> trainer_info.h,c
2023-09-14 12:04:18 -07:00
lhearachel
8cccaf10d3
Merge struct_defs/struct_02025E6C.h into unk_02025E68.h; label struct + fields
2023-09-14 11:52:51 -07:00
wildfire
8e5ed2e168
Revert mon types to defines so csv2bin works
2023-09-14 11:54:48 +01:00
wildfire
c563f45f7c
Rename functions in pokemon.h and pokemon.c
2023-09-14 00:34:02 +01:00
wildfire
b7ae7f24e9
Misc. cleanup in pokemon.h and pokemon.c
2023-09-14 00:22:45 +01:00
wildfire
39a3bb306a
Move structs into pokemon.h and pokemon.c
2023-09-14 00:22:44 +01:00
wildfire
81852038e8
Misc. renames and cleanup, move data block structs
2023-09-14 00:13:04 +01:00
wildfire
eb95f78914
More cleanup of pokemon.c
2023-09-14 00:13:04 +01:00
wildfire
3797951044
Cleanup of pokemon.c and a couple renames
2023-09-14 00:12:37 +01:00
wildfire
dccc1ff94c
Fix pointer-var style
2023-09-14 00:10:31 +01:00
wildfire
89ceba05a3
Document pokemon.c and related structs
2023-09-14 00:10:30 +01:00
wildfire
10275fd56e
Document RNG Functions
2023-09-13 23:23:32 +01:00
lhearachel
7af31d6401
Clean up the rest of the primary battle control FSM loop
2023-09-10 18:21:32 -07:00
lhearachel
28c6e16f45
Label assorted functions for the next battle control loop clean-up batch
2023-09-10 18:06:11 -07:00
lhearachel
2d58349403
Add new constants files for battle conditions, message tags, and abilities
2023-09-10 17:40:45 -07:00
lhearachel
4ff1636cd6
Fix up some missed renames in a changed header file
2023-09-10 00:55:35 -07:00
lhearachel
b8fa07712b
Merge branch 'main' into battle-dev
2023-09-09 11:22:56 -07:00
lhearachel
5006b14afd
Clean up + document message.c
2023-09-09 10:39:05 -07:00
lhearachel
bc6823087d
Rename files: unk_0200AC5C -> message
2023-09-09 10:38:29 -07:00
lhearachel
8090149c08
Label function names in unk_0200AC5C.h + make structs transparent
2023-09-09 10:30:40 -07:00
lhearachel
0d071beaaa
Rename Item_ID -> Item_FileID
2023-09-04 11:35:21 -07:00
lhearachel
361b074744
Clean up and document item.c
2023-09-04 11:35:21 -07:00
lhearachel
6d8902003b
Rename external functions in item.h
2023-09-04 11:35:20 -07:00
lhearachel
3d77876464
Label fields for BagItem struct
2023-09-04 11:16:36 -07:00
lhearachel
d73b982a23
Rename fields in ItemPartyParam to match repo style
2023-09-04 11:16:36 -07:00
lhearachel
966e39f6e9
Delete superfluous file: struct_decls/struct_itemdata_decl.h
2023-09-04 11:16:32 -07:00
lhearachel
c81374e975
Merge strbuf headers
2023-09-04 11:15:47 -07:00
lhearachel
a028933633
Docstrings + standardize function nomenclature
2023-09-01 09:16:22 -07:00
Lhea (Rachel)
f202bc1960
Finish cleaning up move_table.c
2023-08-30 21:48:15 -07:00
Lhea (Rachel)
e5f994c348
Label fields in MoveTable struct, merge related headers, clean up func names
2023-08-30 21:34:14 -07:00
lhearachel
cfdfc80d19
Mass rename functions used by the first few controller commands
2023-08-29 23:33:12 -07:00
lhearachel
4cb7dc9e5f
Clean up first few static functions in battle_controller.c
2023-08-29 23:32:24 -07:00
lhearachel
8aa4f62856
Clean up + document extern functions in battle_controller.c
2023-08-29 17:09:59 -07:00
lhearachel
c8fbc3d5aa
Mass rename for extern functions in battle_controller.c
2023-08-29 16:41:38 -07:00
lhearachel
da730ce67b
UnkStruct_0207ADB4 -> BattleSystem + some low-hanging fruit field labels
2023-08-29 16:07:08 -07:00
Rachel
50f18bd93d
Merge pull request #30 from lhearachel/battle-dev
...
Document BattleContext and related structs
2023-08-29 09:49:39 -07:00
Lhea (Rachel)
c719db6462
Cleanup from last round of PR feedback
2023-08-29 09:48:10 -07:00
Lhea (Rachel)
717e687509
Clean up labels from PR feedback
2023-08-28 21:08:21 -07:00
wildfire
24b069724f
Fix comments and whitespace
2023-08-28 12:19:36 +01:00
wildfire
43b2e29426
Move narc index enum to separate file
2023-08-28 12:09:41 +01:00
lhearachel
8f1eb7d37b
Document BattleMessage struct
2023-08-26 17:57:53 -07:00
lhearachel
90914be11a
Document BattleMon struct
2023-08-26 17:16:59 -07:00
lhearachel
460fc6bc99
Document AIContext struct
2023-08-26 17:16:59 -07:00
lhearachel
66a935788f
Document BattleContext struct and substructs
2023-08-26 17:16:55 -07:00
wildfire
0f259216b8
Add enum for narc path indexes
2023-08-25 10:05:36 +01:00
Nomura
34131963b7
Partially document roaming_pokemon.c
2023-08-10 11:38:02 +02:00
Nomura
d11c111ab1
Decompile nuts_data.narc
2023-08-04 15:55:42 +02:00
Nomura
b76520eee1
Document berry_data.c
2023-07-30 20:18:22 +02:00
Nomura
d7f273372d
Decompile item data
2023-07-30 18:40:11 +02:00
Nomura
e8cc33cea0
Document more item-related code
2023-07-29 22:47:39 +02:00
Nomura
040fa22df8
Finalize Meson build system
2023-07-18 19:58:03 +02:00
Nomura
f6e92d23f4
Move libcrypto code to lib/external/libcrypto
2023-07-18 16:26:21 +02:00
Nomura
537fb39a2c
Move internal library code to lib/internal
2023-07-18 16:23:46 +02:00
Rachel
632f43a4f8
Document enc_effects.c ( #13 )
...
Also documented the structs used by this file and the used member fields elsewhere.
2023-07-06 07:52:11 -07:00
luckytyphlosion
17400deba9
Fix incorrect grammar.
2023-05-15 19:26:22 -04:00
Lhea (Rachel)
7d554f117e
Make struct def transparent, add Doxygen docs
2023-05-15 16:20:50 -07:00
Lhea (Rachel)
c9e0030847
More style fixes
2023-05-15 15:05:54 -07:00
Lhea (Rachel)
0d718af304
Style fixes from PR feedback
2023-05-15 11:14:56 -07:00
Lhea (Rachel)
99c82f8aea
Update function names and document header params
2023-05-12 22:58:59 -07:00
Lhea (Rachel)
917a49e0b9
Last bits of re-organization
2023-05-12 22:20:46 -07:00
Lhea (Rachel)
ea2fca08ce
Start documenting unk_02023790.c funcs
2023-05-12 20:58:34 -07:00
Lhea (Rachel)
f58b348e9d
Rename occurrences: UnkStruct_02023790 -> Strbuf
2023-05-12 14:39:41 -07:00
Eduardo Quezada D'Ottone
ebd67c7326
Reverted CallocMon to AllocMonZeroed and finished documenting it
2023-04-05 20:44:18 -04:00
Eduardo Quezada D'Ottone
3fc8fb7003
Applied review changes
2023-04-03 22:14:26 -04:00
Eduardo Quezada
98187bb48e
Fully document IsGBASpeciesInvalid
2023-02-28 17:18:20 -03:00
Eduardo Quezada
96369f35de
UnkStruct_ov97_02236340::unk_04 → PokemonStorageGBA::boxes
2023-02-28 16:52:33 -03:00
Eduardo Quezada
90df40c12a
UnkStruct_ov97_02236340::unk_83C2 → PokemonStorageGBA::boxWallpapers
2023-02-28 16:50:00 -03:00
Eduardo Quezada
f7c3371382
UnkStruct_ov97_02236340::unk_8344 → PokemonStorageGBA::boxNames
2023-02-28 16:46:09 -03:00
Eduardo Quezada
241cdd9a5e
PokemonStorageGBA: unk_00 → currentBox
2023-02-28 16:39:05 -03:00
Eduardo Quezada
577ea12216
sub_0205E1F8 → HasAllLegendaryTitansInParty
2023-02-28 16:15:11 -03:00
Eduardo Quezada
c6da03397c
sub_02074C60 → SetBoxMonData
2023-02-28 16:12:30 -03:00
Eduardo Quezada
4697e17be7
sub_020761E8 → SanitizeFormId
2023-02-28 16:11:13 -03:00
Eduardo Quezada
30289bedcb
UnkStruct_02075454_1::unk_18_3 → PokemonSubstruct1::form
2023-02-28 15:25:26 -03:00
Eduardo Quezada
95cf772f2b
UnkStruct_02075454_1::unk_18_0 → PokemonSubstruct1::fatefulEncounter
2023-02-28 15:23:33 -03:00
Eduardo Quezada
b650849ae6
UnkStruct_02075454::unk_0C → PokemonSubstruct0::friendship
2023-02-28 15:22:31 -03:00
Eduardo Quezada
93e8154184
UnkStruct_02075454::unk_02 → PokemonSubstruct0::item
2023-02-28 15:21:53 -03:00
Eduardo Quezada
92b1769511
UnkStruct_02075454::unk_00 → PokemonSubstruct0::species
2023-02-28 15:19:59 -03:00
Eduardo Quezada
e79347b2eb
ov97_02236CA4 → SetGBABoxMonData
2023-02-28 12:38:56 -03:00
Eduardo Quezada
eff223c190
Added GBA species consts
2023-02-28 11:19:14 -03:00
Eduardo Quezada
5df01ef663
Synced BoxPokemonGBA substruct names and GBA_MON_DATA enums
2023-02-28 11:16:55 -03:00
Eduardo Quezada
5c1d7d00d8
ov97_02236924 → GetGBABoxMonData
2023-02-28 10:01:55 -03:00
Eduardo Quezada
fc50a7bdbb
sub_02077ADC → SetBoxShayminForm
2023-02-27 22:31:15 -03:00
Eduardo Quezada
b19f6609cd
UnkStruct_ov97_02236340 → PokemonStorageGBA
2023-02-27 22:27:40 -03:00
Eduardo Quezada
c03da746bf
sub_02075BFC → GetNatureFromPersonality
2023-02-27 22:18:00 -03:00
Eduardo Quezada
fec3822266
sub_02077ACC → SetShayminForm
2023-02-27 22:12:50 -03:00
Eduardo Quezada
4f31832ddd
sub_02077C20 → SetRotomForm
2023-02-27 22:12:43 -03:00
Eduardo Quezada
ee7b8b758e
Implemented use of MON_DATA_x enum
2023-02-27 21:19:53 -03:00
Eduardo Quezada
9443146546
Added missing is_form_symmetrical documentation
2023-02-27 08:42:10 -03:00
Eduardo Quezada
e457964686
Fully documented ov12_022384F0 as IsFormSymmetrical
2023-02-27 08:26:34 -03:00
Eduardo Quezada
820aed4610
Removed include/struct_decls/box_pokemon.h
2023-02-27 07:52:06 -03:00
Eduardo Quezada
6437939861
sub_02074470 → GetMonData
2023-02-23 14:09:09 -03:00
Eduardo Quezada
49271e1bdd
UnkStruct_ov97_02236380_subX → PokemonGBASubstructX-1
2023-02-23 10:16:00 -03:00
Eduardo Quezada
15b569e48c
Moved BoxPokemonGBA substructs to include/overlay097/box_pokemon_gba.h
2023-02-22 18:13:53 -03:00
Eduardo Quezada
bdff8d1b25
Synced BoxPokemonGBA fields with pokeemerald
2023-02-20 22:59:19 -03:00
Eduardo Quezada
0277ff8d98
include/overlay097/struct_ov97_0223685C.h → include/overlay097/box_pokemon_gba.h`
2023-02-20 21:35:57 -03:00
Eduardo Quezada
24521de5f2
UnkStruct_ov97_0223685C → BoxPokemonGBA
2023-02-20 21:16:10 -03:00
Eduardo Quezada
3563a0baa4
UnkStruct_02073C74::unk_08 → Pokemon::party
2023-02-20 20:54:50 -03:00
Eduardo Quezada
bfb0b6346c
UnkStruct_02073C74::unk_00 → box
2023-02-20 07:14:26 -03:00
Eduardo Quezada
5d3dcc0d3e
Removed uneeded header file
2023-02-20 05:38:41 -03:00
Eduardo Quezada
0369a728af
sub_02073C70 -> SizeOfStructPokemon
2023-02-20 02:25:43 -03:00
Eduardo Quezada
fb1ebd2436
sub_02073C54 -> ZeroBoxMonData
2023-02-20 02:23:20 -03:00
Eduardo Quezada
c0de4afa88
sub_02073C2C -> ZeroMonData
2023-02-20 02:19:58 -03:00
Eduardo Quezada
5856514b9e
sub_02073C74 ->AllocMonZeroed
2023-02-20 02:18:00 -03:00
Eduardo Quezada
bd5c55513c
UnkStruct_02073C74_sub2 -> PartyPokemonData
2023-02-20 02:10:08 -03:00
Eduardo Quezada
854c6613c2
UnkStruct_02075454X -> PokemonSubstructX
2023-02-20 01:55:31 -03:00
Eduardo Quezada
485a1118a3
Missing header renames
2023-02-20 01:38:06 -03:00
Eduardo Quezada
4a235cee4c
UnkStruct_02073C74_sub1 -> BoxPokemon
2023-02-20 01:27:15 -03:00
Eduardo Quezada
e166e4932a
UnkStruct_02073C74 -> Pokemon
2023-02-20 01:05:16 -03:00
Nomura
983b6ab8e6
Partially document poffin.c
2023-02-03 22:49:54 +01:00
Nomura
798092361b
Document coins.c
2023-02-03 20:47:50 +01:00
Nomura
e1844cadc0
Restyle function names
2023-02-02 22:06:46 +01:00
Nomura
e9beba42be
Fix minor errors in comments in filesystem.h
2023-01-29 10:54:33 +01:00
Nomura
e00cca1445
Party_HasPokemon -> Party_HasSpecies
2023-01-29 10:28:24 +01:00
Nomura
d476d0ebdc
Document struct Party
2023-01-29 10:23:57 +01:00
Nomura
06ecf39b3a
Document party.c
2023-01-29 10:01:28 +01:00
Nomura
c882fac307
Document gx_layers.c
2023-01-28 17:29:10 +01:00
Nomura
aaf769194f
Partially document item.c
2023-01-28 11:10:47 +01:00
Nomura
7c013f896d
Document error_message_reset.c
2023-01-27 22:05:22 +01:00
Nomura
6fc30f6cd9
Fix GetMoveAttribute name
2023-01-23 19:55:15 +01:00
Nomura
ae153dfcdb
Document move_table.c
2023-01-22 15:29:28 +01:00
Nomura
ed14915bb3
Document error_handling.c
2023-01-21 22:59:59 +01:00
Nomura
a0821efd25
Document poke_overlay.c
2023-01-21 22:50:07 +01:00
Nomura
2d4d30696d
Document heap.c
2023-01-21 18:51:49 +01:00
Nomura
ed4a787311
Document filesystem.c
2023-01-12 19:44:53 +01:00
Nomura
e65f86e0c7
Add species constants header
2023-01-12 17:06:52 +01:00
Nomura
dcf40efcf6
Improve names in map_header.c
2023-01-12 16:18:32 +01:00
Nomura
37d3366362
Partially document map_header.c
2023-01-11 20:34:34 +01:00
luckytyphlosion
485f1be394
Match remaining non-library files.
2023-01-06 16:53:19 -05:00
Nomura
d66c46f23b
Match files in overlay21
2022-12-31 10:51:52 +01:00
luckytyphlosion
007782694d
Use precompiled header.
...
Note for pokeheartgold maintainers: This will pass the precompiled header to nitrosdk libs and possibly arm7
2022-12-31 00:21:55 -05:00
luckytyphlosion
743bf8d6eb
Create global_terminal.h
2022-12-30 23:15:00 -05:00
Nomura
866010e624
Match most files in overlay16
2022-12-30 19:20:22 +01:00
Nomura
96a6549d9f
Match most files in overlay5
2022-12-30 12:49:51 +01:00
Nomura
1653509e21
Match several arm9 files, part 4
2022-12-29 19:37:27 +01:00
Nomura
0217a8c36d
Match unk_020E4C40.c
2022-12-28 17:50:42 +01:00
luckytyphlosion
ea122df5e9
Match main.c
2022-12-23 16:54:09 -05:00
luckytyphlosion
46f6dc3bf4
Add in headers.
2022-12-23 14:05:03 -05:00
luckytyphlosion
ea716561e3
Move global/ to include directory.
2022-12-22 18:43:59 -05:00
luckytyphlosion
8cefcbd8b2
Get it to build, part 1.
2022-11-23 14:01:24 -05:00