summaryrefslogtreecommitdiff
path: root/src/npc/fusionMenuNPC.c
blob: 01f5c1113b9d656621b96431f552c317cea5ef66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "global.h"
#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);
    }
}