D_a_npc_ho matching (#1008)

* matching

* cleanup

* tiny bit more cleanup
This commit is contained in:
Zeclos
2026-05-18 05:33:22 +02:00
committed by GitHub
parent ded7c0ebac
commit 56f9e016e3
7 changed files with 973 additions and 132 deletions
+2 -2
View File
@@ -774,12 +774,12 @@ char* dEvt_info_c::getEventName() {
}
/* 800716F8-80071778 .text giveItemCut__14dEvt_control_cFUc */
bool dEvt_control_c::giveItemCut(u8 item) {
int dEvt_control_c::giveItemCut(u8 item) {
s32 staffIdx = dComIfGp_evmng_getMyStaffId("GIVEMAN");
if (staffIdx == -1)
return false;
dComIfGp_evmng_cutEnd(staffIdx);
mGetItemNo = item;
return true;
return 1;
}