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
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
9246e4b890
Bulk rename known values for enum PokemonDataParam
2024-02-06 15:08:04 -08:00
froggestpsirit
2039f30af6
Pokeradar cleanup
2024-02-03 11:21:06 -05: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
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
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
7bf253a4d6
Move enum-based battle constants to constgen schema
2024-01-08 20:50:36 -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
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
66369bb811
Document BattleSystem_CanUseMove and associated sub-functions
2023-11-10 22:19:56 -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
lhearachel
1e58ed2e1c
Clean up battle constant headers
2023-11-01 00:18:20 -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
657eaae2d4
Document TrainerData_BuildParty
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
e933d09217
Document battle commands 0x60 - 0x8F
2023-10-28 22:39:34 -07:00
lhearachel
cedf84f740
Document battle commands 0x5D - 0x5F
2023-10-28 01:04:56 -07:00
lhearachel
ac6d5b0ded
Document TryLightScreen, TryReflect, and TryMist commands
2023-10-26 12:55:03 -07:00
lhearachel
f30651576c
Document Battler_LockMoveChoice, Battler_UnlockMoveChoice, and BattleSystem_CanEncoreMove
2023-10-23 22:10:03 -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
37f7d89321
Document BtlCmd_ChangeStatStage
2023-10-18 19:06:19 -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
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
f2365bf596
Document BtlCmd_CalcExpGain
2023-10-12 23:13:13 -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
e49f2e4a9b
Document the BattleMessage tagging functions
2023-10-04 17:21:34 -07:00
lhearachel
68f54d4087
Document BattleMessageParams struct and _Make functions
2023-10-04 15:20:08 -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
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
6030bb84c5
Clean up BattleController_CheckBattleOver
2023-09-28 23:16:33 -07:00
lhearachel
d58bc0a46e
Clean up + rename BattleController_ReplaceFainted
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-RH
aac6baa56b
Merge pull request #63 from wildfire248/mon_personal_decomp
2023-09-23 22:15:20 +02: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
Rachel
7b201a945b
Clean up BattleController_UpdateHP
2023-09-19 21:14:01 -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
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
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
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
4abf59907c
Use an enum in include/constants/moves.h
2023-09-14 20:05:42 -07:00
wildfire
8e5ed2e168
Revert mon types to defines so csv2bin works
2023-09-14 11:54:48 +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
89ceba05a3
Document pokemon.c and related structs
2023-09-14 00:10:30 +01:00
lhearachel
7af31d6401
Clean up the rest of the primary battle control FSM loop
2023-09-10 18:21:32 -07:00
lhearachel
2d58349403
Add new constants files for battle conditions, message tags, and abilities
2023-09-10 17:40:45 -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
361b074744
Clean up and document item.c
2023-09-04 11:35:21 -07:00
Lhea (Rachel)
f202bc1960
Finish cleaning up move_table.c
2023-08-30 21:48:15 -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
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)
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
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
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
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
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
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
ee7b8b758e
Implemented use of MON_DATA_x enum
2023-02-27 21:19:53 -03:00
Nomura
aaf769194f
Partially document item.c
2023-01-28 11:10:47 +01:00
Nomura
e65f86e0c7
Add species constants header
2023-01-12 17:06:52 +01:00