summaryrefslogtreecommitdiff
path: root/include/battle_script_commands.h
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-27 15:10:23 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-27 15:10:23 +0800
commitb2343076db0cefc087f3941b6941dcba7b1e3364 (patch)
treeb6e0096e88d934db62366772c85d255d327eb828 /include/battle_script_commands.h
parentf4b4f5dd0c698bad4e9b10b712c15f5c448a0203 (diff)
remaining stuff of battle_script_commands
Diffstat (limited to 'include/battle_script_commands.h')
-rw-r--r--include/battle_script_commands.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h
index d45675ff8..3f2699064 100644
--- a/include/battle_script_commands.h
+++ b/include/battle_script_commands.h
@@ -34,19 +34,18 @@
#define WINDOW_CLEAR 0x1
#define WINDOW_x80 0x80
-void AI_CalcDmg(u8 bankAtk, u8 bankDef);
-u8 TypeCalc(u16 move, u8 bankAtk, u8 bankDef);
-u8 AI_TypeCalc(u16 move, u16 targetSpecies, u8 targetAbility);
-u8 GetBattlerTurnOrderNum(u8 bank);
void SetMoveEffect(bool8 primary, u8 certain);
-void BattleDestroyYesNoCursorAt(void);
+bool8 UproarWakeUpCheck(u8 battlerId);
+u8 AI_TypeCalc(u16 move, u16 targetSpecies, u8 targetAbility);
+u8 TypeCalc(u16 move, u8 attacker, u8 defender);
+void AI_CalcDmg(u8 attacker, u8 defender);
+bool32 IsMonGettingExpSentOut(void);
void BattleCreateYesNoCursorAt(void);
-void BufferMoveToLearnIntoBattleTextBuff2(void);
+void BattleDestroyYesNoCursorAt(void);
void HandleBattleWindow(u8 xStart, u8 yStart, u8 xEnd, u8 yEnd, u8 flags);
-bool8 UproarWakeUpCheck(u8 bank);
-bool32 IsMonGettingExpSentOut(void);
+u8 GetBattlerTurnOrderNum(u8 battlerId);
+void BufferMoveToLearnIntoBattleTextBuff2(void);
extern void (* const gBattleScriptingCommandsTable[])(void);
-extern const u8 gUnknown_0831C494[][4];
#endif // GUARD_BATTLE_SCRIPT_COMMANDS_H