summaryrefslogtreecommitdiff
path: root/src/npc/moblinLady.c
blob: 8ff543002b0ce19d89e4018beb40d9d24e713ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @file moblinLady.c
 * @ingroup NPCs
 *
 * @brief Moblin Lady NPC
 */
#include "entity.h"
#include "npc.h"
#include "script.h"

void MoblinLady(Entity* this) {
    if (this->action == 0) {
        this->action++;
        InitScriptForNPC(this);
    } else {
        ExecuteScriptAndHandleAnimation(this, NULL);
    }
}