summaryrefslogtreecommitdiff
path: root/src/battle_util.c
AgeCommit message (Collapse)Author
2021-10-27Multiple renamings; Removed some orphaned functionslioniac
2021-03-16Document item use functions in pokemon.cPikalaxALT
2021-02-16Mirror pokeemerald PR#1329 & PR#1335 to pokefireredDeokishisu
The `giftRibbons` field in `SaveBlock1` has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and FRLG. US & JP Colosseum Bonus Discs', Colosseum and XD's, Pokémon Channel's, and PokémonBox: Ruby & Sapphire's interactions with these fields has been documented. 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 `eventLegal`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind. I still maintain that `eventLegal` is a misnomer and it should be called `fatefulEncounter` in all three repos.
2021-01-29Use trainer constants in flags, automatically update flags/vars countGriffinR
2020-01-22Remove unused BF battle types, clarify Ghost battle type flagsGriffinR
2019-11-06Rename ghost battle scriptsPikalaxALT
2019-10-17sys flag rearrangePikalaxALT
2019-08-28minor fixesjiangzhengwenjz
and remove unnecessary NONMATCHING
2019-08-27thru atkc0jiangzhengwenjz
2019-08-22battle_controller_link_opponentjiangzhengwenjz
2019-08-02ported battle_util from pokeemjiangzhengwenjz
2019-08-01matched AbilityBattleEffectsjiangzhengwenjz
2019-07-31progress #1 on porting battle_utiljiangzhengwenjz