Implement & link ac_ev_speech_soncho

This commit is contained in:
Colby Austin Brown
2025-01-15 00:13:35 -08:00
parent b12234c7bb
commit 9de7febbc1
5 changed files with 302 additions and 2 deletions
+22 -1
View File
@@ -3,6 +3,7 @@
#include "types.h"
#include "m_actor.h"
#include "ac_npc.h"
#ifdef __cplusplus
extern "C" {
@@ -10,9 +11,29 @@ extern "C" {
extern ACTOR_PROFILE Ev_Speech_Soncho_Profile;
typedef struct ac_npc_speech_soncho NPC_SPEECH_SONCHO;
typedef void (*aESS_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
typedef void (*aESS_THINK_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
typedef void (*aESS_SCHEDULE_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
struct ac_npc_speech_soncho {
NPC_ACTOR npc_class;
/* 0x994 */ int think_proc;
/* 0x998 */ aESS_PROC _998;
};
struct aess_think_info {
aESS_PROC proc;
aNPC_TALK_REQUEST_PROC talk_request_proc;
aNPC_TALK_END_CHECK_PROC talk_end_check_proc;
u8 flag;
};
typedef struct aess_think_info aESS_think_info;
#ifdef __cplusplus
}
#endif
#endif
+3
View File
@@ -20,6 +20,9 @@ extern "C" {
#define mString_HANIWA_MSG3 0x76D
#define mString_MIKANBOX_START 0x77B
#define mString_MIKANBOX_END 0x7FE
#define mString_CARPETPEDDLER_START 0x48a
#define mString_TOTAKEKE_START 0x1b93
#define mString_SPEECH_SONCHO_START 0x3db5
#ifdef __cplusplus
}