summaryrefslogtreecommitdiff
path: root/src/npc/fusionMenuNPC.c
blob: 5f2128edc45141b94fee6669259cf679c4703159 (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->field_0xf][2] != NULL) {
        gNPCFunctions[this->field_0xf][2](this);
    } else {
        DeleteThisEntity();
    }
}

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