2020-11-26 20:56:18 +00:00
|
|
|
#ifndef GUARD_BATTLE_Z_MOVE_H
|
|
|
|
#define GUARD_BATTLE_Z_MOVE_H
|
|
|
|
|
2024-01-12 21:41:46 +00:00
|
|
|
#include "constants/battle_z_move_effects.h"
|
2020-11-26 20:56:18 +00:00
|
|
|
|
2020-12-01 13:24:33 +00:00
|
|
|
#define MOVE_Z_STATUS 0xFFFF
|
|
|
|
|
2020-11-26 20:56:18 +00:00
|
|
|
struct SignatureZMove
|
|
|
|
{
|
|
|
|
u16 species;
|
|
|
|
u16 item;
|
|
|
|
u16 move;
|
|
|
|
u16 zmove;
|
|
|
|
};
|
|
|
|
|
2024-06-22 21:25:40 +01:00
|
|
|
bool32 IsZMove(u32 move);
|
|
|
|
bool32 CanUseZMove(u32 battler);
|
|
|
|
u32 GetUsableZMove(u32 battler, u32 move);
|
|
|
|
void ActivateZMove(u32 battler);
|
|
|
|
bool32 IsViableZMove(u32 battler, u32 move);
|
|
|
|
bool32 TryChangeZTrigger(u32 battler, u32 moveIndex);
|
|
|
|
u32 GetTypeBasedZMove(u32 move);
|
|
|
|
u32 GetSignatureZMove(u32 move, u32 species, u32 item);
|
2023-08-30 09:18:31 +01:00
|
|
|
bool32 MoveSelectionDisplayZMove(u16 zmove, u32 battler);
|
2020-11-30 15:55:46 +00:00
|
|
|
void SetZEffect(void);
|
2024-06-22 21:25:40 +01:00
|
|
|
void AssignUsableZMoves(u32 battler, u16 *moves);
|
|
|
|
u32 GetZMovePower(u32 move);
|
2020-11-26 20:56:18 +00:00
|
|
|
|
2023-02-28 03:09:43 +00:00
|
|
|
#endif // GUARD_BATTLE_Z_MOVE_H
|