mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
24 lines
888 B
C
24 lines
888 B
C
#ifndef GUARD_BATTLE_SCRIPT_COMMANDS_H
|
|
#define GUARD_BATTLE_SCRIPT_COMMANDS_H
|
|
|
|
#include "constants/pokemon.h"
|
|
|
|
#define WINDOW_CLEAR 0x1
|
|
#define WINDOW_x80 0x80
|
|
|
|
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 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 battlerId);
|
|
|
|
extern void (* const gBattleScriptingCommandsTable[])(void);
|
|
extern const u8 gBattlePalaceNatureToMoveGroupLikelihood[NUM_NATURES][4];
|
|
|
|
#endif // GUARD_BATTLE_SCRIPT_COMMANDS_H
|