summaryrefslogtreecommitdiff
path: root/include/npc.h
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-08-01 21:25:04 +0300
committerTal Hayon <talhayon1@gmail.com>2022-08-01 21:25:04 +0300
commitb20c9cb98c33feef7ec6c82c9231987ed238615e (patch)
treea4164c44014afe852a4f46fadaa9219e25392453 /include/npc.h
parent76634df376948b03825fbdcf770ce8351dbe3bd0 (diff)
Match DelayedEntityLoadManager_Main
Diffstat (limited to 'include/npc.h')
-rw-r--r--include/npc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/npc.h b/include/npc.h
index 05ee9e36..6f719154 100644
--- a/include/npc.h
+++ b/include/npc.h
@@ -51,6 +51,19 @@ typedef struct {
} data;
} Dialog;
+typedef struct {
+ /*0x00*/ u8 id;
+ /*0x01*/ u8 type;
+ /*0x02*/ u8 type2;
+ /*0x03*/ u8 collisionLayer;
+ /*0x04*/ u16 x;
+ /*0x06*/ u16 y;
+ /*0x08*/ u16* script;
+ /*0x0c*/ u16 timer;
+ /*0x0e*/ u16 progressBitfield; /**< For which gSave.global_process this NPC should appear. */
+} NPCStruct;
+extern NPCStruct gNPCData[50];
+
void sub_0806EC20(Entity* ent);
void sub_0806EC38(void);
u32 sub_0806ED78(Entity* ent);