d_a_npc_grz matching (#2664)

* initial work

* Over half done

* equivalent

* not sure what the issue is?

* matching

* PR cleanup
This commit is contained in:
Carco_21
2025-09-19 11:48:19 -07:00
committed by GitHub
parent 64eb771dd7
commit 933cc63185
9 changed files with 2628 additions and 2564 deletions
+5 -1
View File
@@ -148,6 +148,10 @@ enum Type {
/* 0x6 */ TYPE_6,
};
enum Event_Cut_Nums {
/* 0x1 */ NUM_EVT_CUTS_e = 0x1,
};
/* 809CFBB4-809CFBB8 000054 0004+00 1/1 0/0 0/0 .bss l_HIO */
static daNpc_grC_Param_c l_HIO;
@@ -1136,7 +1140,7 @@ BOOL daNpc_grC_c::doEvent() {
mStaffID = staffId;
int evtCutNo = eventManager.getMyActIdx(staffId, &mEvtCutNameList, 1, 0, 0);
JUT_ASSERT(1774, (0 <= evtCutNo) && (evtCutNo < dEvent_manager_c::NUM_EVT_CUTS_e));
JUT_ASSERT(1774, (0 <= evtCutNo) && (evtCutNo < NUM_EVT_CUTS_e));
JUT_ASSERT(1775, 0 != mEvtCutList[evtCutNo]);
if ((this->*mEvtCutList[evtCutNo])(staffId)) {