d_a_bgn OK

closes #266
This commit is contained in:
LagoLunatic
2026-05-13 19:06:48 -04:00
parent 766b58a6ee
commit 75fac702a7
9 changed files with 39 additions and 31 deletions
+5 -5
View File
@@ -1468,7 +1468,6 @@ static void part_mtx_set(bgn_class* i_this, int param_2, part_s* param_3, int pa
/* 00003FD0-000044DC .text damage_check__FP9bgn_class */
static void damage_check(bgn_class* i_this) {
/* Nonmatching - retail-only regalloc */
fopAc_ac_c* actor = &i_this->actor;
JPABaseEmitter* emitter;
char cVar5;
@@ -1539,9 +1538,11 @@ static void damage_check(bgn_class* i_this) {
atInfo.mpObj = i_this->mHeadParts[0].mPartSph.GetTgHitObj();
cVar5 = 2;
}
if (i_this->mPelvisParts[0].mPartSph.ChkTgHit()) {
atInfo.mpObj = i_this->mPelvisParts[0].mPartSph.GetTgHitObj();
cVar5 = 3;
for (int i = 0; i < 1; i++) {
if (i_this->mPelvisParts[i].mPartSph.ChkTgHit()) {
atInfo.mpObj = i_this->mPelvisParts[i].mPartSph.GetTgHitObj();
cVar5 = 3;
}
}
for (s32 i = 0; i < 20; i++) {
if (i_this->mLeftArmParts[i].mPartSph.ChkTgHit()) {
@@ -3552,7 +3553,6 @@ static BOOL useHeapInit(fopAc_ac_c* a_this) {
/* 0000B9DC-0000CA80 .text daBgn_Create__FP10fopAc_ac_c */
static cPhs_State daBgn_Create(fopAc_ac_c* a_this) {
/* Nonmatching */
static dCcD_SrcSph cc_sph_src = {
// dCcD_SrcGObjInf
{
+3 -3
View File
@@ -183,7 +183,7 @@ static void asi_hamon_set(bgn2_class* i_this) {
/* 00000D88-00000FA8 .text attack_eff_set__FP10bgn2_class4cXyz */
static void attack_eff_set(bgn2_class* i_this, cXyz param_2) {
/* Nonmatching */
/* Nonmatching - retail-only regalloc */
#if VERSION == VERSION_DEMO
fopAc_ac_c* actor = &i_this->actor;
#endif
@@ -191,7 +191,7 @@ static void attack_eff_set(bgn2_class* i_this, cXyz param_2) {
J3DModel* model;
cXyz local_28;
daPy_py_c* player = daPy_getPlayerActorClass();
fopAc_ac_c* player = dComIfGp_getPlayer(0);
if (!gr_check(i_this, &param_2)) {
model = i_this->mpBodyMorf->getModel();
emitter = dComIfGp_particle_set(dPa_name::ID_AK_SN_KGTT2CHESTSPLASH00, &param_2);
@@ -682,7 +682,7 @@ static void damage_check(bgn2_class* i_this) {
cXyz local_58;
CcAtInfo atInfo;
#if VERSION == VERSION_DEMO
daPy_py_c* player = daPy_getPlayerActorClass();
fopAc_ac_c* player = dComIfGp_getPlayer(0);
#endif
if (i_this->m033A == 0) {