mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-02 17:53:06 -04:00
ProcID cleanup
This commit is contained in:
@@ -708,7 +708,7 @@ BOOL daNpc_Ji1_c::kaitenAction(void*) {
|
||||
else if(field_0xC78 != -1) {
|
||||
int staffIdx = dComIfGp_evmng_getMyStaffId("Ji1");
|
||||
int actionNo = getEventActionNo(staffIdx);
|
||||
if(l_msgId == -1) {
|
||||
if(l_msgId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
if(actionNo == 2) {
|
||||
if(mMsgNo == 0x974) {
|
||||
current.angle.y = -0x8000;
|
||||
@@ -1055,7 +1055,7 @@ BOOL daNpc_Ji1_c::talkAction(void*) {
|
||||
l_msg = 0;
|
||||
}
|
||||
else if(field_0xC78 != -1) {
|
||||
if(l_msgId == -1) {
|
||||
if(l_msgId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
l_msgId = fopMsgM_messageSet(mMsgNo, &eyePos);
|
||||
}
|
||||
else if(l_msg == 0) {
|
||||
@@ -1327,7 +1327,7 @@ BOOL daNpc_Ji1_c::speakBadAction(void*) {
|
||||
l_msgId = -1;
|
||||
}
|
||||
else if(field_0xC78 != -1) {
|
||||
if(l_msgId == -1) {
|
||||
if(l_msgId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
if(mAnimation == 7) {
|
||||
if(mpOrcaMorf->getFrame() > mpOrcaMorf->getEndFrame() - 2.0f) {
|
||||
l_msgId = fopMsgM_messageSet(mMsgNo, &eyePos);
|
||||
@@ -2234,7 +2234,7 @@ BOOL daNpc_Ji1_c::endspeakAction(void*) {
|
||||
l_msgId = -1;
|
||||
}
|
||||
else if(field_0xC78 != -1) {
|
||||
if(l_msgId == -1) {
|
||||
if(l_msgId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
l_msgId = fopMsgM_messageSet(mMsgNo, &eyePos);
|
||||
setAnm(5, 4.0f, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user