Version diff cleanup

This commit is contained in:
LagoLunatic
2026-05-10 16:04:55 -04:00
parent 814c70590c
commit 70b8a14aa4
3 changed files with 26 additions and 32 deletions
+10 -13
View File
@@ -2472,27 +2472,24 @@ static cPhs_State daBwd_Create(fopAc_ac_c* a_this) {
fopAcM_ct_Retail(a_this, bwd_class);
bwd_class* i_this = (bwd_class*)a_this;
cPhs_State res = dComIfG_resLoad(&i_this->mPhaseBwd, "Bwd");
#if VERSION == VERSION_DEMO
#if VERSION > VERSION_DEMO
if (res != cPhs_COMPLEATE_e) {
return res;
}
#endif
cPhs_State res2 = dComIfG_resLoad(&i_this->mPhaseBwds, "Bwds");
#if VERSION == VERSION_DEMO
if (res == cPhs_ERROR_e || res2 == cPhs_ERROR_e) {
return cPhs_ERROR_e;
}
if (res != cPhs_COMPLEATE_e) {
return res;
}
if (res2 != cPhs_COMPLEATE_e) {
return res2;
}
fopAcM_SetupActor(a_this, bwd_class);
#else
if (res != cPhs_COMPLEATE_e) {
return res;
}
cPhs_State res2 = dComIfG_resLoad(&i_this->mPhaseBwds, "Bwds");
if (res2 != cPhs_COMPLEATE_e) {
return res2;
}
#endif
if (res2 != cPhs_COMPLEATE_e) {
return res2;
}
fopAcM_ct_Demo(a_this, bwd_class);
i_this->m02BC = fopAcM_GetParam(a_this) & 0xFF;
if (!fopAcM_entrySolidHeap(a_this, useHeapInit, 0x96000)) {
return cPhs_ERROR_e;
+5 -8
View File
@@ -224,7 +224,7 @@ void daNpc_Jb1_c::setAnm_ATR() {
/* 00000658-0000071C .text anmAtr__11daNpc_Jb1_cFUs */
void daNpc_Jb1_c::anmAtr(u16 param_1) {
switch(param_1) {
case 6:
case 6: {
if (field_0x923 == 0) {
field_0x91A = 0xFF;
chg_anmAtr(dComIfGp_getMesgAnimeAttrInfo());
@@ -238,6 +238,7 @@ void daNpc_Jb1_c::anmAtr(u16 param_1) {
chg_anmTag();
}
break;
}
case 0xE:
field_0x923 = 0;
break;
@@ -532,7 +533,7 @@ BOOL daNpc_Jb1_c::_execute() {
/* 00000FBC-00001054 .text _delete__11daNpc_Jb1_cFv */
BOOL daNpc_Jb1_c::_delete() {
// fopAcM_GetID(); mentioned in debug map
DEMO_SELECT(dComIfG_deleteObjectRes("Jb"), dComIfG_resDelete(&mPhs, "Jb"));
dComIfG_resDeleteDemo(&mPhs, "Jb");
dKy_plight_cut(&field_0x7F8);
if(
@@ -563,9 +564,7 @@ cPhs_State daNpc_Jb1_c::_create() {
0x000272E0
};
#if VERSION > VERSION_DEMO
fopAcM_SetupActor(this, daNpc_Jb1_c);
#endif
fopAcM_ct_Retail(this, daNpc_Jb1_c);
cPhs_State phase_state = dComIfG_resLoad(&mPhs, "Jb");
switch(phase_state) {
@@ -580,9 +579,7 @@ cPhs_State daNpc_Jb1_c::_create() {
}
l_HIO.field_0x8++;
#if VERSION == VERSION_DEMO
fopAcM_SetupActor(this, daNpc_Jb1_c);
#endif
fopAcM_ct_Demo(this, daNpc_Jb1_c);
if (!fopAcM_entrySolidHeap(this, CheckCreateHeap, a_size_tbl[field_0x920])) {
return cPhs_ERROR_e;