summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py22
-rw-r--r--src/d/actor/d_a_bwd.cpp19
-rw-r--r--src/d/actor/d_a_npc_jb1.cpp13
3 files changed, 24 insertions, 30 deletions
diff --git a/configure.py b/configure.py
index 063f1ffe..4129ca13 100755
--- a/configure.py
+++ b/configure.py
@@ -1596,17 +1596,17 @@ config.libs = [
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_fganon"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_fgmahou"),
ActorRel(Matching, "d_a_fire"),
- ActorRel(Matching, "d_a_fm"),
+ ActorRel(Matching, "d_a_fm"),
ActorRel(NonMatching, "d_a_gm"),
ActorRel(NonMatching, "d_a_gnd"),
- ActorRel(Matching, "d_a_goal_flag"),
+ ActorRel(Matching, "d_a_goal_flag"),
ActorRel(NonMatching, "d_a_gy"),
ActorRel(NonMatching, "d_a_icelift"),
ActorRel(NonMatching, "d_a_kb"),
ActorRel(NonMatching, "d_a_kddoor"),
ActorRel(Matching, "d_a_kita"),
ActorRel(NonMatching, "d_a_klft"),
- ActorRel(Matching, "d_a_kmon"),
+ ActorRel(Matching, "d_a_kmon"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_komore"),
ActorRel(Matching, "d_a_lbridge"),
ActorRel(Matching, "d_a_leaflift"),
@@ -1639,8 +1639,8 @@ config.libs = [
ActorRel(NonMatching, "d_a_npc_gp1"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_npc_hi1"),
ActorRel(NonMatching, "d_a_npc_ho"),
- ActorRel(Matching, "d_a_npc_hr"),
- ActorRel(Matching, "d_a_npc_jb1"),
+ ActorRel(Matching, "d_a_npc_hr"),
+ ActorRel(Matching, "d_a_npc_jb1"),
ActorRel(NonMatching, "d_a_npc_ji1"),
ActorRel(Matching, "d_a_npc_kamome"),
ActorRel(NonMatching, "d_a_npc_kf1"),
@@ -1650,7 +1650,7 @@ config.libs = [
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_npc_km1"),
ActorRel(NonMatching, "d_a_npc_ko1"),
ActorRel(NonMatching, "d_a_npc_kp1"),
- ActorRel(Matching, "d_a_npc_ls1"),
+ ActorRel(Matching, "d_a_npc_ls1"),
ActorRel(NonMatching, "d_a_npc_mk"),
ActorRel(NonMatching, "d_a_npc_mn"),
ActorRel(NonMatching, "d_a_npc_mt"),
@@ -1664,7 +1664,7 @@ config.libs = [
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_npc_photo"),
ActorRel(NonMatching, "d_a_npc_pm1"),
ActorRel(MatchingFor("GZLJ01", "GZLE01", "GZLP01"), "d_a_npc_roten"),
- ActorRel(Matching, "d_a_npc_rsh1"),
+ ActorRel(Matching, "d_a_npc_rsh1"),
ActorRel(NonMatching, "d_a_npc_sarace"),
ActorRel(NonMatching, "d_a_npc_sv"),
ActorRel(Matching, "d_a_npc_tc"),
@@ -1681,10 +1681,10 @@ config.libs = [
ActorRel(NonMatching, "d_a_obj_YLzou"),
ActorRel(Matching, "d_a_obj_Yboil"),
ActorRel(Matching, "d_a_obj_adnno"),
- ActorRel(Matching, "d_a_obj_ajav"),
- ActorRel(Matching, "d_a_obj_apzl"),
+ ActorRel(Matching, "d_a_obj_ajav"),
+ ActorRel(Matching, "d_a_obj_apzl"),
ActorRel(NonMatching, "d_a_obj_ashut"),
- ActorRel(Matching, "d_a_obj_auzu"),
+ ActorRel(Matching, "d_a_obj_auzu"),
ActorRel(NonMatching, "d_a_obj_buoyflag"),
ActorRel(Matching, "d_a_obj_buoyrace"),
ActorRel(Matching, "d_a_obj_correct"),
@@ -1761,7 +1761,7 @@ config.libs = [
ActorRel(NonMatching, "d_a_obj_vyasi"),
ActorRel(Matching, "d_a_obj_xfuta"),
ActorRel(Matching, "d_a_obj_zouK"),
- ActorRel(Matching, "d_a_oship"),
+ ActorRel(Matching, "d_a_oship"),
ActorRel(NonMatching, "d_a_ph"),
ActorRel(NonMatching, "d_a_pt"),
ActorRel(NonMatching, "d_a_pw"),
diff --git a/src/d/actor/d_a_bwd.cpp b/src/d/actor/d_a_bwd.cpp
index 462c631c..8ec4868b 100644
--- a/src/d/actor/d_a_bwd.cpp
+++ b/src/d/actor/d_a_bwd.cpp
@@ -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
- cPhs_State res2 = dComIfG_resLoad(&i_this->mPhaseBwds, "Bwds");
- if (res == cPhs_ERROR_e || res2 == cPhs_ERROR_e) {
- return cPhs_ERROR_e;
- }
+#if VERSION > VERSION_DEMO
if (res != cPhs_COMPLEATE_e) {
return res;
}
- if (res2 != cPhs_COMPLEATE_e) {
- return res2;
+#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;
}
- fopAcM_SetupActor(a_this, bwd_class);
-#else
if (res != cPhs_COMPLEATE_e) {
return res;
}
- cPhs_State res2 = dComIfG_resLoad(&i_this->mPhaseBwds, "Bwds");
+#endif
if (res2 != cPhs_COMPLEATE_e) {
return res2;
}
-#endif
+ 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;
diff --git a/src/d/actor/d_a_npc_jb1.cpp b/src/d/actor/d_a_npc_jb1.cpp
index 2b21481c..a7a725ae 100644
--- a/src/d/actor/d_a_npc_jb1.cpp
+++ b/src/d/actor/d_a_npc_jb1.cpp
@@ -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;