diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-03-30 16:49:08 -0400 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-03-30 16:49:08 -0400 |
commit | 069a7e71fc8bd0886fe2d5c39bb96d8fee0d798b (patch) | |
tree | 191d39f28270fb43feaca1d128274ef317968869 /include/battle_script_commands.h | |
parent | 3006ff177b1020c0270ff33f48b3216c9d5381b1 (diff) | |
parent | a5cd6e8ef4717aad4a055d5acb6ef250e359fc45 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex
Diffstat (limited to 'include/battle_script_commands.h')
-rw-r--r-- | include/battle_script_commands.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h index 6c84d1f0f..142ac1f7b 100644 --- a/include/battle_script_commands.h +++ b/include/battle_script_commands.h @@ -4,16 +4,16 @@ #define WINDOW_CLEAR 0x1 #define WINDOW_x80 0x80 -void AI_CalcDmg(u8 bankAtk, u8 bankDef); -u8 TypeCalc(u16 move, u8 bankAtk, u8 bankDef); +void AI_CalcDmg(u8 battlerIdAtk, u8 battlerIdDef); +u8 TypeCalc(u16 move, u8 battlerIdAtk, u8 battlerIdDef); u8 AI_TypeCalc(u16 move, u16 targetSpecies, u8 targetAbility); -u8 GetBattlerTurnOrderNum(u8 bank); +u8 GetBattlerTurnOrderNum(u8 battlerId); void SetMoveEffect(bool8 primary, u8 certain); void BattleDestroyYesNoCursorAt(u8 cursorPosition); void BattleCreateYesNoCursorAt(u8 cursorPosition); void BufferMoveToLearnIntoBattleTextBuff2(void); void HandleBattleWindow(u8 xStart, u8 yStart, u8 xEnd, u8 yEnd, u8 flags); -bool8 UproarWakeUpCheck(u8 bank); +bool8 UproarWakeUpCheck(u8 battlerId); extern void (* const gBattleScriptingCommandsTable[])(void); extern const u8 gUnknown_0831C494[][4]; |