summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2024-12-24 14:37:05 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2024-12-24 14:37:05 -0800
commit2db35c0108f84ec4736e4d4515abe50823e8c833 (patch)
treefa29b283e5ff16cae94e58ca37da6c1d3bb3e458 /src
parentced4f69ee7af0d6d2e5c60d925bce3854954d86a (diff)
name cPhsUNK3_e
Diffstat (limited to 'src')
-rw-r--r--src/SSystem/SComponent/c_phase.cpp4
-rw-r--r--src/d/actor/d_a_npc_people.cpp8
-rw-r--r--src/d/actor/d_a_npc_roten.cpp2
-rw-r--r--src/d/actor/d_a_obj_Yboil.cpp4
-rw-r--r--src/d/actor/d_a_obj_eskban.cpp4
-rw-r--r--src/d/actor/d_a_obj_kanat.cpp4
-rw-r--r--src/d/actor/d_a_obj_mknjd.cpp2
-rw-r--r--src/d/actor/d_a_obj_quake.cpp2
-rw-r--r--src/d/actor/d_a_obj_tower.cpp4
-rw-r--r--src/d/actor/d_a_obj_vfan.cpp4
-rw-r--r--src/d/actor/d_a_tag_ret.cpp2
-rw-r--r--src/d/d_com_lib_game.cpp2
-rw-r--r--src/f_op/f_op_overlap_mng.cpp2
-rw-r--r--src/f_op/f_op_overlap_req.cpp2
-rw-r--r--src/f_pc/f_pc_base.cpp6
-rw-r--r--src/f_pc/f_pc_fstcreate_req.cpp2
-rw-r--r--src/f_pc/f_pc_node_req.cpp6
17 files changed, 30 insertions, 30 deletions
diff --git a/src/SSystem/SComponent/c_phase.cpp b/src/SSystem/SComponent/c_phase.cpp
index edbb1231..5b1f8760 100644
--- a/src/SSystem/SComponent/c_phase.cpp
+++ b/src/SSystem/SComponent/c_phase.cpp
@@ -62,9 +62,9 @@ int cPhs_Do(request_of_phase_process_class* pPhase, void* pUserData) {
return cPhs_Next(pPhase) == cPhs_LOADING_e ? cPhs_NEXT_e : cPhs_COMPLEATE_e;
case cPhs_COMPLEATE_e:
return cPhs_Compleate(pPhase);
- case cPhs_UNK3_e:
+ case cPhs_STOP_e:
cPhs_UnCompleate(pPhase);
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
case cPhs_ERROR_e:
cPhs_UnCompleate(pPhase);
return cPhs_ERROR_e;
diff --git a/src/d/actor/d_a_npc_people.cpp b/src/d/actor/d_a_npc_people.cpp
index 18394ff8..a17a6089 100644
--- a/src/d/actor/d_a_npc_people.cpp
+++ b/src/d/actor/d_a_npc_people.cpp
@@ -4117,7 +4117,7 @@ static s32 phase_1(daNpcPeople_c* i_this) {
case 0x6:
if(strcmp(dComIfGp_getStartStageName(), "Ocmera") == 0) {
if(dComIfGs_checkGetItem(COLLECT_MAP_20) || arg0 != dComIfGp_getStartStagePoint()) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
i_this->setEtcFlag(0x40);
@@ -4127,7 +4127,7 @@ static s32 phase_1(daNpcPeople_c* i_this) {
case 0x8:
case 0xA:
if(arg0 != 0xFF && (u32)((arg0 << 1) & 0xFE) != (dComIfGs_getEventReg(0xB907) & 6)) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
break;
@@ -4138,13 +4138,13 @@ static s32 phase_1(daNpcPeople_c* i_this) {
switch(arg0) {
case 0:
if(day == 5 || day == 6) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
break;
case 1:
if(day != 5 && day != 6) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
break;
diff --git a/src/d/actor/d_a_npc_roten.cpp b/src/d/actor/d_a_npc_roten.cpp
index 18baea74..9cc76175 100644
--- a/src/d/actor/d_a_npc_roten.cpp
+++ b/src/d/actor/d_a_npc_roten.cpp
@@ -1592,7 +1592,7 @@ static s32 phase_1(daNpcRoten_c* i_this) {
i_this->setNpcNo(i_this->getPrmNpcNo());
if(!dComIfGs_isEventBit(0x1108)) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
i_this->setResFlag(1);
diff --git a/src/d/actor/d_a_obj_Yboil.cpp b/src/d/actor/d_a_obj_Yboil.cpp
index a86c38b2..a65ea7f5 100644
--- a/src/d/actor/d_a_obj_Yboil.cpp
+++ b/src/d/actor/d_a_obj_Yboil.cpp
@@ -87,7 +87,7 @@ s32 daObjYboil_c::_create() {
s32 ret;
if (dComIfGs_isEventBit(0x1902)) {
- ret = cPhs_UNK3_e;
+ ret = cPhs_STOP_e;
} else {
ret = dComIfG_resLoad(&mPhs, "Yboil");
if (ret == cPhs_COMPLEATE_e) {
@@ -102,7 +102,7 @@ s32 daObjYboil_c::_create() {
}
bool daObjYboil_c::_delete() {
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&mPhs, "Yboil");
}
return true;
diff --git a/src/d/actor/d_a_obj_eskban.cpp b/src/d/actor/d_a_obj_eskban.cpp
index 3e46d3ec..0e741794 100644
--- a/src/d/actor/d_a_obj_eskban.cpp
+++ b/src/d/actor/d_a_obj_eskban.cpp
@@ -154,7 +154,7 @@ s32 daObjEskban::Act_c::Mthd_Create() {
s32 swSave = param_get_swSave();
if (fopAcM_isSwitch(this, swSave)) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
phase_state = dComIfG_resLoad(&mPhs, M_arcname);
if (phase_state == cPhs_COMPLEATE_e) {
@@ -178,7 +178,7 @@ BOOL daObjEskban::Act_c::Delete() {
/* 00000A10-00000A68 .text Mthd_Delete__Q211daObjEskban5Act_cFv */
BOOL daObjEskban::Act_c::Mthd_Delete() {
s32 result = MoveBGDelete();
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&mPhs, M_arcname);
}
return result;
diff --git a/src/d/actor/d_a_obj_kanat.cpp b/src/d/actor/d_a_obj_kanat.cpp
index 0bd7018c..f9cea281 100644
--- a/src/d/actor/d_a_obj_kanat.cpp
+++ b/src/d/actor/d_a_obj_kanat.cpp
@@ -36,7 +36,7 @@ s32 daObjKanat::Act_c::Mthd_Create() {
fopAcM_SetupActor(this, daObjKanat::Act_c);
if (fopAcM_isSwitch(this, prm_get_swSave())) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
s32 phase_state = dComIfG_resLoad(&mPhs, M_arcname);
@@ -57,7 +57,7 @@ BOOL daObjKanat::Act_c::Delete() {
/* 0000031C-00000374 .text Mthd_Delete__Q210daObjKanat5Act_cFv */
BOOL daObjKanat::Act_c::Mthd_Delete() {
s32 result = MoveBGDelete();
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&mPhs, M_arcname);
}
return result;
diff --git a/src/d/actor/d_a_obj_mknjd.cpp b/src/d/actor/d_a_obj_mknjd.cpp
index 7973370d..cdc8ff58 100644
--- a/src/d/actor/d_a_obj_mknjd.cpp
+++ b/src/d/actor/d_a_obj_mknjd.cpp
@@ -329,7 +329,7 @@ int daObjMknjD::Act_c::Delete() {
s32 daObjMknjD::Act_c::Mthd_Delete() {
int bgDeleteResult = MoveBGDelete();
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&mPhs, M_arcname);
}
diff --git a/src/d/actor/d_a_obj_quake.cpp b/src/d/actor/d_a_obj_quake.cpp
index 777e2fe8..d1b14e19 100644
--- a/src/d/actor/d_a_obj_quake.cpp
+++ b/src/d/actor/d_a_obj_quake.cpp
@@ -29,7 +29,7 @@ s32 daObjQuake_c::_create() {
fopAcM_SetupActor(this, daObjQuake_c);
if (dComIfGs_isSymbol(1)) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
if (getPrmType() < 3) {
diff --git a/src/d/actor/d_a_obj_tower.cpp b/src/d/actor/d_a_obj_tower.cpp
index 16ab9104..7967c9b3 100644
--- a/src/d/actor/d_a_obj_tower.cpp
+++ b/src/d/actor/d_a_obj_tower.cpp
@@ -67,7 +67,7 @@ cPhs__Step daObjTower_c::_create() {
field_0x2d0 = 0;
if (!dComIfGs_isEventBit(0x1e40)) {
- PVar3 = cPhs_UNK3_e;
+ PVar3 = cPhs_STOP_e;
} else {
PVar3 = (cPhs__Step)dComIfG_resLoad(&mPhs, "X_tower");
if (PVar3 == cPhs_COMPLEATE_e) {
@@ -91,7 +91,7 @@ BOOL daObjTower_c::_delete() {
dComIfG_Bgsp()->Release(mpBgW);
}
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&(mPhs), "X_tower");
}
diff --git a/src/d/actor/d_a_obj_vfan.cpp b/src/d/actor/d_a_obj_vfan.cpp
index ef55c5ee..26b82a9c 100644
--- a/src/d/actor/d_a_obj_vfan.cpp
+++ b/src/d/actor/d_a_obj_vfan.cpp
@@ -89,7 +89,7 @@ s32 daObjVfan::Act_c::Mthd_Create() {
int phase_state;
if (fopAcM_isSwitch(this, prm_get_swSave())) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
} else {
phase_state = dComIfG_resLoad(&mPhs, M_arcname);
if (phase_state == cPhs_COMPLEATE_e) {
@@ -110,7 +110,7 @@ BOOL daObjVfan::Act_c::Delete() {
/* 00000590-000005E8 .text Mthd_Delete__Q29daObjVfan5Act_cFv */
BOOL daObjVfan::Act_c::Mthd_Delete() {
int res = MoveBGDelete();
- if (fpcM_CreateResult(this) != cPhs_UNK3_e) {
+ if (fpcM_CreateResult(this) != cPhs_STOP_e) {
dComIfG_resDelete(&mPhs, M_arcname);
}
return res;
diff --git a/src/d/actor/d_a_tag_ret.cpp b/src/d/actor/d_a_tag_ret.cpp
index 6d92c6f4..1c4bff21 100644
--- a/src/d/actor/d_a_tag_ret.cpp
+++ b/src/d/actor/d_a_tag_ret.cpp
@@ -47,7 +47,7 @@ namespace daTagRet {
fopAcM_SetupActor(this, daTagRet::Act_c);
if (checkItemGet(dItem_PEARL_FARORE_e, TRUE)) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
}
mStts.Init(0xFF, 0xFF, this);
diff --git a/src/d/d_com_lib_game.cpp b/src/d/d_com_lib_game.cpp
index 1e291365..771406ad 100644
--- a/src/d/d_com_lib_game.cpp
+++ b/src/d/d_com_lib_game.cpp
@@ -15,7 +15,7 @@ int dComLbG_PhaseHandler(request_of_phase_process_class* i_phaseReq, cPhs__Handl
phase = dComLbG_PhaseHandler(i_phaseReq, i_handler, i_data);
break;
case cPhs_LOADING_e:
- case cPhs_UNK3_e:
+ case cPhs_STOP_e:
break;
}
diff --git a/src/f_op/f_op_overlap_mng.cpp b/src/f_op/f_op_overlap_mng.cpp
index 7d8057f2..4b55eaf3 100644
--- a/src/f_op/f_op_overlap_mng.cpp
+++ b/src/f_op/f_op_overlap_mng.cpp
@@ -85,7 +85,7 @@ request_base_class* fopOvlpM_Request(s16 procName, u16 peekTime) {
void fopOvlpM_Management() {
if (l_fopOvlpM_overlap[0] != NULL) {
switch (fopOvlpReq_Handler(l_fopOvlpM_overlap[0])) {
- case cPhs_UNK3_e:
+ case cPhs_STOP_e:
case cPhs_COMPLEATE_e:
case cPhs_ERROR_e:
l_fopOvlpM_overlap[0] = NULL;
diff --git a/src/f_op/f_op_overlap_req.cpp b/src/f_op/f_op_overlap_req.cpp
index 28a36c97..43ab7a0c 100644
--- a/src/f_op/f_op_overlap_req.cpp
+++ b/src/f_op/f_op_overlap_req.cpp
@@ -124,7 +124,7 @@ s32 fopOvlpReq_Handler(overlap_request_class* i_this) {
return cPhs_INIT_e;
case cPhs_COMPLEATE_e:
return cPhs_COMPLEATE_e;
- case cPhs_UNK3_e:
+ case cPhs_STOP_e:
case cPhs_ERROR_e:
return cPhs_ERROR_e;
default:
diff --git a/src/f_pc/f_pc_base.cpp b/src/f_pc/f_pc_base.cpp
index ab324e69..8f051dff 100644
--- a/src/f_pc/f_pc_base.cpp
+++ b/src/f_pc/f_pc_base.cpp
@@ -124,9 +124,9 @@ s32 fpcBs_SubCreate(base_process_class* i_proc) {
i_proc->mInitState = 1;
i_proc->mCreateResult = cPhs_INIT_e;
return cPhs_INIT_e;
- case cPhs_UNK3_e:
- i_proc->mCreateResult = cPhs_UNK3_e;
- return cPhs_UNK3_e;
+ case cPhs_STOP_e:
+ i_proc->mCreateResult = cPhs_STOP_e;
+ return cPhs_STOP_e;
case cPhs_ERROR_e:
default:
i_proc->mCreateResult = cPhs_ERROR_e;
diff --git a/src/f_pc/f_pc_fstcreate_req.cpp b/src/f_pc/f_pc_fstcreate_req.cpp
index 753e239d..6f37b859 100644
--- a/src/f_pc/f_pc_fstcreate_req.cpp
+++ b/src/f_pc/f_pc_fstcreate_req.cpp
@@ -12,7 +12,7 @@
/* 80040520-80040570 .text fpcFCtRq_Do__FP19fast_create_request */
s32 fpcFCtRq_Do(fast_create_request* i_createReq) {
if (i_createReq->mpFastCreateFunc != NULL && i_createReq->mpFastCreateFunc(i_createReq->base.mpRes, i_createReq->mpFastCreateData) == 0) {
- return cPhs_UNK3_e;
+ return cPhs_STOP_e;
} else {
return cPhs_COMPLEATE_e;
}
diff --git a/src/f_pc/f_pc_node_req.cpp b/src/f_pc/f_pc_node_req.cpp
index 0e60f278..7c86af26 100644
--- a/src/f_pc/f_pc_node_req.cpp
+++ b/src/f_pc/f_pc_node_req.cpp
@@ -87,8 +87,8 @@ s32 fpcNdRq_Execute(node_create_request* i_NdCtReq) {
case cPhs_COMPLEATE_e:
return cPhs_NEXT_e;
case cPhs_ERROR_e:
- case cPhs_UNK3_e:
- return cPhs_UNK3_e;
+ case cPhs_STOP_e:
+ return cPhs_STOP_e;
default:
return result;
}
@@ -116,7 +116,7 @@ s32 fpcNdRq_Handler() {
while (currentNode != NULL) {
node_create_request* req = ((request_node_class*)currentNode)->mNodeCrReq;
switch (req->mpNodeCrReqMthCls->mpExecuteFunc(req)) {
- case cPhs_UNK3_e:
+ case cPhs_STOP_e:
case cPhs_ERROR_e:
currentNode = NODE_GET_NEXT(currentNode);
if (fpcNdRq_Cancel(req) == 0) {