mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-25 15:42:34 -05:00
24 lines
654 B
C
24 lines
654 B
C
#include "overlay_29_0232E250.h"
|
|
#include "dungeon_util_static.h"
|
|
|
|
extern s32 ATK_STAT_IDX;
|
|
extern s32 SPATK_STAT_IDX;
|
|
|
|
extern void BoostDefensiveStat(struct entity* user, struct entity* target, s32 stat_idx, s16 n_stages);
|
|
|
|
bool8 EntityIsValidMoveEffects__0232E250(struct entity *entity)
|
|
{
|
|
if (entity == NULL)
|
|
return FALSE;
|
|
|
|
return GetEntityType(entity) != ENTITY_NOTHING;
|
|
}
|
|
|
|
bool8 DoMoveDefendOrder(struct entity* attacker, struct entity* defender, struct move* move, enum item_id item_id)
|
|
{
|
|
BoostDefensiveStat(attacker, defender, ATK_STAT_IDX, 1);
|
|
BoostDefensiveStat(attacker, defender, SPATK_STAT_IDX, 1);
|
|
|
|
return TRUE;
|
|
}
|