pokeemerald/include/battle_script_commands.h

22 lines
792 B
C
Raw Normal View History

2017-10-06 15:06:45 +00:00
#ifndef GUARD_BATTLE_SCRIPT_COMMANDS_H
#define GUARD_BATTLE_SCRIPT_COMMANDS_H
#define WINDOW_CLEAR 0x1
#define WINDOW_x80 0x80
2017-10-06 15:06:45 +00:00
void AI_CalcDmg(u8 bankAtk, u8 bankDef);
u8 TypeCalc(u16 move, u8 bankAtk, u8 bankDef);
2017-10-10 16:01:45 +00:00
u8 AI_TypeCalc(u16 move, u16 targetSpecies, u8 targetAbility);
2018-02-06 19:48:02 +00:00
u8 GetBattlerTurnOrderNum(u8 bank);
2017-10-06 15:06:45 +00:00
void SetMoveEffect(bool8 primary, u8 certain);
void BattleDestroyYesNoCursorAt(u8 cursorPosition);
void BattleCreateYesNoCursorAt(u8 cursorPosition);
2017-10-06 15:06:45 +00:00
void BufferMoveToLearnIntoBattleTextBuff2(void);
void HandleBattleWindow(u8 xStart, u8 yStart, u8 xEnd, u8 yEnd, u8 flags);
2017-10-06 15:06:45 +00:00
bool8 UproarWakeUpCheck(u8 bank);
extern void (* const gBattleScriptingCommandsTable[])(void);
2017-11-02 17:19:49 +00:00
extern const u8 gUnknown_0831C494[][4];
2017-10-06 15:06:45 +00:00
#endif // GUARD_BATTLE_SCRIPT_COMMANDS_H