summaryrefslogtreecommitdiff
path: root/src/battle_util.c
AgeCommit message (Collapse)Author
2021-10-13Add controller buffer constants, finish misc battle docGriffinR
2021-10-12Clean up recorded_battle, add MOVE_IS_PERMANENTGriffinR
2021-10-08Start misc battle documentationGriffinR
2021-10-02Document remaining symbols in pokemon.cGriffinR
2021-09-30Rename Battle Weather flagsPokestia
2021-09-29Use compact weather macrosPokestia
2021-09-24Document some single-remaining symbolsGriffinR
2021-08-24Removed trailing spaces in the most relevant filesLOuroboros
Command used for the job: egrep -rl ' $' --include *.c --include *.h --include *.s --include *.inc --include *.txt * | xargs sed -i 's/\s\+$//g' Credits to Grant Murphy from Stack Overflow.
2021-04-03Fix AI Guard Spec use, and Specs->SpecGriffinR
2021-04-03Misc battle script cleanupGriffinR
2021-04-03Add remaining multistring chooser constantsGriffinR
2021-03-30Bit shifts from hex to decimalGriffinR
2021-03-27Rename IsNotEventLegalMewOrDeoxysScott
2021-02-15Rename obedient/fatefulEncounter to eventLegalDeokishisu
Per discussion on pret, `obedient`/`fatefulEncounter` has been renamed to `eventLegal`, and all related functions and constants have been modified with this in mind. Additionally, fixed some whitespace alignment issues in `script_cmd_table.h`, `pokemon.h`, and `tv.c` from the last commit.
2021-02-15Fix giftRibbons Field in SaveBlock1 & Relabel Gift Ribbons in pokemon.hDeokishisu
The giftRibbons field has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and Emerald, such as PokéCoupon storage and the flag for receiving Wishmaker Jirachi. The giftRibbon fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. The previous `fatefulEncounter` field was actually filler, and relabeled as such, while the obedient bit was renamed `fatefulEncounter`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind.
2021-02-05Add berry tree id constantsGriffinR
2021-01-22Document remainder of battle_controllers.cGriffinR
2021-01-13Label remaining battle typesGriffinR
2020-12-12Use BUGFIX for some inline fixesGriffinR
2020-12-12Corrected small inconsistency in move flag namesLOuroboros
2020-10-26Merge branch 'master' into revertsaaaaaa123456789
2020-10-26re-match BattleIntroOpponent1SendsOutMonAnimationKurausukun
a lot of functions and a bit of data had to be moved from battle_main.c to battle_util.c; I have added a note to battle_util.c stating the reason for this
2020-10-25port HasNoMonsToSwitch fakematch fix (from #1181)Kurausukun
2020-10-01Replace POKEMON_SLOTS_NUMBERGriffinR
2020-09-19Update battle_util.ckiliwily
2020-09-13Undo PokeCodec's PRsaaaaaa123456789
This commit undoes most of PokeCodec's PRs after the debate in chat. Some harmless or completely superseded PRs have been left alone, as there is not much benefit in attempting to undo them. Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136, #1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179, #1180, #1181, #1182 and #1183.
2020-09-12Bug documentingkiliwily
2020-09-08Fix Battle util fakematchPokeCodec
2020-09-08Finished header includesPokeCodec
2020-09-08Match BattleIntroOpponent1SendsOutMonAnimationPokeCodec
2020-08-10Merge pull request #1122 from GriffinRichards/clean-battlemsgGriffinR
Add stat stage constants, clean up misc battle msg data
2020-08-04Add stat stage constantsGriffinR
2020-07-27Fix naming style of functionExpoSeed
2020-07-27Document some battle_util.cExpoSeed
2020-07-18Clean up some battle scr cmd dataGriffinR
2020-03-07Using True/False on SetMoveEffect.Eduardo Quezada
2019-12-06Sync weather namesGriffinR
2019-09-27Rename CONTACT macros to ON_DAMAGEGriffinR
2019-09-26Merge branch 'master' into rename-tablecmdsGriffinR
2019-09-16Use misc ScrCmd constantsGriffinR
2019-09-15Update BS constants for Cmd renameGriffinR
2019-04-05Clean up data headersDizzyEggg
2019-03-31Give battle_anim files appropriate namesMarcus Huderle
2019-03-05Rename an erroneously named battlescriptDizzyEggg
2019-03-03Fix typosPhlosioneer
This is an updated version of #554, since it hasn't been updated in two weeks.
2019-01-29Rename a palace battle fieldDizzyEggg
2019-01-29Misc. documentation and move some data into .c filesMarcus Huderle
2018-12-25use max mon moves constant where able (#480)melthelesbian
* use max mon moves constant where able * fix errors in script commands file * fix more errors
2018-12-08Clean up field weatherDizzyEggg
2018-12-08Decompile field weatherDizzyEggg