Implement & link ac_npc_soncho

This commit is contained in:
Cuyler36
2025-05-20 05:04:01 -04:00
parent 9250889dde
commit 4bdb0748a0
6 changed files with 305 additions and 2 deletions
+18 -1
View File
@@ -3,11 +3,29 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct npc_soncho_actor_s NPC_SONCHO_ACTOR;
typedef void (*aNS_PROC)(NPC_SONCHO_ACTOR* actor);
struct npc_soncho_actor_s {
NPC_ACTOR npc_class;
aNS_PROC think_proc;
int _998;
u16 _99C;
u8 think_idx;
u8 think_after_talk_idx;
u8 _9A0;
u8 talk_idx;
u8 think_chg_flag;
u8 _9A3;
};
extern ACTOR_PROFILE Npc_Soncho_Profile;
#ifdef __cplusplus
@@ -15,4 +33,3 @@ extern ACTOR_PROFILE Npc_Soncho_Profile;
#endif
#endif
+2
View File
@@ -61,6 +61,8 @@ enum {
mSC_EVENT_NUM = mSC_EVENT_PLAYER_BIRTHDAY,
mSC_SPECIAL_EVENT_ARBEIT = 32,
mSC_SPECIAL_EVENT_JAN_VACATION = 101,
mSC_SPECIAL_EVENT_FEB_VACATION = 102,
mSC_SPECIAL_EVENT_MORNING_AEROBICS = 103