#include "ShyGuy.h"

#include "world/common/enemy/ai/ShyGuyPatrolAI.inc.c"

MobileAISettings N(AISettings_ShyGuy_Patrol) = {
    .moveSpeed = 2.0f,
    .moveTime = 60,
    .alertRadius = 100.0f,
    .alertOffsetDist = 30.0f,
    .playerSearchInterval = 4,
    .chaseSpeed = 4.0f,
    .chaseTurnRate = 6,
    .chaseUpdateInterval = 1,
    .chaseRadius = 160.0f,
    .chaseOffsetDist = 50.0f,
    .unk_AI_2C = 1,
};

EvtScript N(EVS_NpcAI_ShyGuy_Patrol) = {
    EVT_CALL(N(ShyGuyPatrolAI_Main), EVT_PTR(N(AISettings_ShyGuy_Patrol)))
    EVT_RETURN
    EVT_END
};

EvtScript N(EVS_NpcAI_ShyGuy_Patrol_Passive) = {
    EVT_CALL(N(PatrolNoAttackAI_Main), EVT_PTR(N(AISettings_ShyGuy_Patrol)))
    EVT_RETURN
    EVT_END
};

NpcSettings N(NpcSettings_ShyGuy_Patrol) = {
    .height = 23,
    .radius = 22,
    .level = 14,
    .ai = &N(EVS_NpcAI_ShyGuy_Patrol),
    .onHit = &EnemyNpcHit,
    .onDefeat = &EnemyNpcDefeat,
    .actionFlags = AI_ACTION_JUMP_WHEN_SEE_PLAYER,
};

NpcSettings N(NpcSettings_ShyGuy_Patrol_Passive) = {
    .height = 23,
    .radius = 22,
    .level = 14,
    .ai = &N(EVS_NpcAI_ShyGuy_Patrol_Passive),
    .onHit = &EnemyNpcHit,
    .onDefeat = &EnemyNpcDefeat,
    .actionFlags = AI_ACTION_JUMP_WHEN_SEE_PLAYER,
};
