sovereignx/include/battle_script_commands.h

25 lines
970 B
C
Raw Normal View History

2017-10-06 16:06:45 +01:00
#ifndef GUARD_BATTLE_SCRIPT_COMMANDS_H
#define GUARD_BATTLE_SCRIPT_COMMANDS_H
#define WINDOW_CLEAR 0x1
#define WINDOW_x80 0x80
2018-07-23 20:36:05 +01:00
s32 CalcCritChanceStage(u8 battlerAtk, u8 battlerDef, u32 move, bool32 recordAbility);
2018-02-27 17:13:28 +00:00
u8 GetBattlerTurnOrderNum(u8 battlerId);
2019-08-22 14:57:33 +01:00
bool32 NoAliveMonsForEitherParty(void);
2019-02-14 12:17:27 +00:00
void SetMoveEffect(bool32 primary, u32 certain);
void BattleDestroyYesNoCursorAt(u8 cursorPosition);
void BattleCreateYesNoCursorAt(u8 cursorPosition);
2017-10-06 16:06:45 +01:00
void BufferMoveToLearnIntoBattleTextBuff2(void);
void HandleBattleWindow(u8 xStart, u8 yStart, u8 xEnd, u8 yEnd, u8 flags);
2018-02-27 17:13:28 +00:00
bool8 UproarWakeUpCheck(u8 battlerId);
2018-08-02 19:24:18 +01:00
bool32 DoesSubstituteBlockMove(u8 battlerAtk, u8 battlerDef, u32 move);
2018-12-02 22:50:51 +00:00
bool32 CanUseLastResort(u8 battlerId);
u32 IsFlowerVeilProtected(u32 battler);
2019-12-16 08:29:20 +00:00
u32 IsLeafGuardProtected(u32 battler);
2017-10-06 16:06:45 +01:00
extern void (* const gBattleScriptingCommandsTable[])(void);
2017-11-02 17:19:49 +00:00
extern const u8 gUnknown_0831C494[][4];
2017-10-06 16:06:45 +01:00
#endif // GUARD_BATTLE_SCRIPT_COMMANDS_H