summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
AgeCommit message (Collapse)Author
2017-01-10define battle AI rodata in CYamaArashi
2017-01-10nonmatching BattleAICmd_unk_24YamaArashi
2017-01-10more labels and finish decompiling battle_ai.c except for unk_24 (#184)ProjectRevoTPP
* labels for save_menu_util.c * formatting, i suck at it * fix sub_80712B4 to not use MyTask struct * pls don't kill me * current changes * decompile BattleAICmd_if_damage_bonus * formatting * label thinking struct unk8 * decompile BattleAICMd_if_status_not_in_party * decompile more battle_ai.c functions * Began decompilation of a random file * decompile BattleAICmd_if_can_faint and BattleAICmd_if_cant_faint * decompile unk_3F and unk_40 * decompile if_move_effect and if_not_move_effect * formatting, silly * decompile if_last_move_did_damage and if_encored * decompile unk_45 if_random_2 and unk_47 * decompile get_hold_effect and get_gender * decompile is_first_turn and get_stockpile_count * decompile unk_4C and get_item * decompile unk_4E unk_4F and unk_50 * decompile get_protect_count and the remaining stub macros * decompile call jump and unk_5A * decompile if_level_cond * decompile the last AI macros besides unk_24 * finish decompiling battle_ai.c except for unk_24
2017-01-08decompile BattleAICmd_if_status_in_partyYamaArashi
2017-01-08decompile BattleAICmd_count_alive_pokemonYamaArashi
2017-01-06trim whitespaceYamaArashi
2017-01-06make BattleAICmd_unk_30 matchYamaArashi
2017-01-06quick fix to make ROM build againProjectRevoTPP
2017-01-05more labels (#165)ProjectRevoTPP
* more labels and match sub_810745C * formatting * move BattleStruct to battle.h and combine both loose structs * oops * more labels for rom4.c
2017-01-03more labels in battle_ai.c and intro.c and misc places (#151)ProjectRevoTPP
* make ROM match again * clean up item_use.c labels and clarify functions. * label and clarify some functions in decompress.c * label and clarify berry.c * rename 20239F8 to gBattleTypeFlags * formatting * label intro.c a bit * label battle_ai.c and document some stuff * formatting * more labeling and clarification. * more label stuff
2017-01-02battle type constantsYamaArashi
2017-01-02gBattleTypeFlagsYamaArashi
2016-12-04Fix warnings in battle_ai.cMarijn van der Werf
2016-12-02[WIP] Extract all external function declarations to headers (#114)Marijn van der Werf
* Extract other external function declarations * Fix GBA compilation * Revert `sub_803C434` to asm
2016-11-14Start decompiling battle_ai.c cmd functions (#100)ProjectRevoTPP
* begin decompiling battle AI macros * decompile more battle AI macros * nonmatching function * decompile BattleAICmd_get_ability * current nonmatching work * get BattleAICmd_unk_30 a bit closer * get battle_ai.c into a mergable state.
2016-11-06remove asm() in battle_ai.cYamaArashi
2016-11-06start decompiling battle_ai.c (#92)Cameron Hall