mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-23 16:45:19 -04:00
dComIfGp_event_reset Uses
- Fix a few cases where this wasn't being used properly
This commit is contained in:
@@ -1317,7 +1317,7 @@ bool daNpc_Rsh1_c::talk01() {
|
||||
if (result == fopMsgStts_BOX_CLOSED_e) {
|
||||
daPy_lk_c* link_p = DEMO_SELECT((daPy_lk_c *) dComIfGp_getPlayer(0), daPy_getPlayerLinkActorClass());
|
||||
m95C = m95D;
|
||||
dComIfGp_event_onEventFlag(dSv_event_flag_c::UNK_0008);
|
||||
dComIfGp_event_reset();
|
||||
mShopCamAct.Reset();
|
||||
link_p->offNoResetFlg0(daPy_py_c::daPyFlg0_NO_DRAW);
|
||||
m771 = false;
|
||||
@@ -1369,7 +1369,7 @@ BOOL daNpc_Rsh1_c::getdemo_action(void* i_unusedP) {
|
||||
dComIfGp_evmng_cutEnd(staff_idx);
|
||||
if (dComIfGp_evmng_endCheck("RSH_GET_DEMO")) {
|
||||
m95B = 1;
|
||||
dComIfGp_event_onEventFlag(dSv_event_flag_c::UNK_0008);
|
||||
dComIfGp_event_reset();
|
||||
|
||||
if (mItemNo == dItemNo_TOWN_FLOWER_e) {
|
||||
m780 = 0x2857;
|
||||
@@ -1634,7 +1634,7 @@ BOOL daNpc_Rsh1_c::event_action(void* i_unusedP) {
|
||||
if (cLib_checkBit<u32>(actor_status, fopAcStts_UNK4000_e)) {
|
||||
cLib_offBit<u32>(actor_status, fopAcStts_UNK4000_e);
|
||||
}
|
||||
dComIfGp_event_onEventFlag(dSv_event_flag_c::UNK_0008);
|
||||
dComIfGp_event_reset();
|
||||
setAction(&daNpc_Rsh1_c::wait_action, NULL);
|
||||
}
|
||||
lookBack();
|
||||
|
||||
@@ -731,7 +731,7 @@ void daOship_c::modeDelete() {
|
||||
#if VERSION > VERSION_DEMO
|
||||
dComIfGs_onEventBit(dSv_event_flag_c::UNK_3E80);
|
||||
#endif
|
||||
dComIfGp_event_onEventFlag(8);
|
||||
dComIfGp_event_reset();
|
||||
fopAcM_delete(this);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user