mirror of https://github.com/zeldaret/tp.git
d_a_obj_carry ALL_GCN matching (#2871)
* d_a_obj_carry matching * d_a_obj_carry::execute() debug matching
This commit is contained in:
parent
2bff9b49b5
commit
c619b761e6
|
|
@ -1589,7 +1589,7 @@ config.libs = [
|
|||
ActorRel(MatchingFor(ALL_GCN, "Shield"), "d_a_kytag17"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_brakeeff"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_burnbox"),
|
||||
ActorRel(NonMatching, "d_a_obj_carry"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_carry"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_ito"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_movebox"),
|
||||
ActorRel(MatchingFor(ALL_GCN), "d_a_obj_swpush"),
|
||||
|
|
|
|||
|
|
@ -361,11 +361,11 @@ public:
|
|||
/* 0xD84 */ f32 field_0xd84;
|
||||
/* 0xD88 */ Z2SoundObjSimple mSound;
|
||||
/* 0xDA8 */ u8 field_0xda8;
|
||||
/* 0xDA9 */ bool field_0xda9;
|
||||
/* 0xDA9 */ u8 field_0xda9;
|
||||
/* 0xDAA */ u8 field_0xdaa;
|
||||
/* 0xDAB */ u8 field_0xdab;
|
||||
/* 0xDAC */ bool field_0xdac;
|
||||
/* 0xDAD */ bool field_0xdad;
|
||||
/* 0xDAC */ u8 field_0xdac;
|
||||
/* 0xDAD */ u8 field_0xdad;
|
||||
/* 0xDAE */ u8 field_0xdae;
|
||||
/* 0xDAF */ u8 field_0xdaf;
|
||||
/* 0xDB0 */ u8 field_0xdb0;
|
||||
|
|
|
|||
|
|
@ -1733,7 +1733,6 @@ void daObjCarry_c::resetIconPosForLightBallB() {
|
|||
}
|
||||
|
||||
/* 804718E8-8047233C 002968 0A54+00 1/1 0/0 0/0 .text execute__12daObjCarry_cFv */
|
||||
// NONMATCHING - sp10 supposed to have an extra copy on the stack
|
||||
int daObjCarry_c::execute() {
|
||||
mRecover = 0;
|
||||
|
||||
|
|
@ -1749,9 +1748,7 @@ int daObjCarry_c::execute() {
|
|||
cLib_chaseF(&field_0xe20, 2.0f, 0.05f + KREG_F(1));
|
||||
}
|
||||
|
||||
GXColor color = {0x5F, 0x5F, 0x5F, 0xFF};
|
||||
GXColor spC = color;
|
||||
GXColor sp8 = spC;
|
||||
GXColor color = (GXColor){0x5F, 0x5F, 0x5F, 0xFF};
|
||||
int var_r27 = dKy_BossLight_set(¤t.pos, &color, field_0xe20 + KREG_F(0), 0);
|
||||
if (!var_r27) {
|
||||
OS_REPORT_ERROR("光球:ライト登録できませんでした\n");
|
||||
|
|
@ -1911,9 +1908,9 @@ int daObjCarry_c::execute() {
|
|||
attention_info.position.z = current.pos.z;
|
||||
eyePos = attention_info.position;
|
||||
|
||||
field_0xda9 = fopAcM_checkCarryNow(this);
|
||||
field_0xdac = mCyl.ChkCoHit();
|
||||
field_0xdad = mAcch.ChkWaterIn();
|
||||
field_0xda9 = fopAcM_checkCarryNow(this) != 0;
|
||||
field_0xdac = mCyl.ChkCoHit() != 0;
|
||||
field_0xdad = mAcch.ChkWaterIn() != 0;
|
||||
|
||||
if (field_0xdaa != 0) {
|
||||
fopAcM_SetModel(this, mpModel);
|
||||
|
|
|
|||
Loading…
Reference in New Issue