Decompile fusionMenuNPC

This commit is contained in:
octorock
2021-04-29 23:22:53 +02:00
parent ef5d1e4fa3
commit 8878c724fb
3 changed files with 18 additions and 54 deletions
+17
View File
@@ -0,0 +1,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);
}
}