summaryrefslogtreecommitdiff
path: root/src/npc/fusionMenuNPC.c
blob: 63fd21434fe47510611d7bb52c7be519a981b564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * @file fusionMenuNPC.c
 * @ingroup NPCs
 *
 * @brief Fusion Menu NPC
 *
 * Representation for the NPCs in the fusion menu.
 */
#include "entity.h"
#include "npc.h"

void FusionMenuNPC(Entity* this) {
    if (gNPCFunctions[this->subtimer][2] != NULL) {
        gNPCFunctions[this->subtimer][2](this);
    } else {
        DeleteThisEntity();
    }
}

void FusionMenuNPC_Head(Entity* this) {
    if (gNPCFunctions[this->subtimer][1] != NULL) {
        gNPCFunctions[this->subtimer][1](this);
    }
}