mirror of
https://github.com/zeldaret/tp
synced 2026-06-11 05:08:39 -04:00
d_a_obj_kamakiri matching (#2501)
This commit is contained in:
@@ -256,7 +256,7 @@ void daObjARI_c::Action() {
|
||||
|
||||
/* 80BA33F8-80BA3408 000E58 0010+00 1/0 0/0 0/0 .text Insect_Release__10daObjARI_cFv */
|
||||
void daObjARI_c::Insect_Release() {
|
||||
field_0x56C = 1;
|
||||
field_0x56c = 1;
|
||||
mAction = 1;
|
||||
}
|
||||
|
||||
@@ -637,7 +637,7 @@ cPhs__Step daObjARI_c::create() {
|
||||
if (step == cPhs_COMPLEATE_e) {
|
||||
mLocation = fopAcM_GetParam(this) & 0xf;
|
||||
if (mLocation == LOC_UNK_2) {
|
||||
field_0x56C = 0;
|
||||
field_0x56c = 0;
|
||||
shape_angle.x -= 0x2000;
|
||||
fopAcM_OnStatus(this, 0x4000);
|
||||
} else {
|
||||
|
||||
@@ -287,7 +287,7 @@ void daObjCHO_c::checkGroundPos() {
|
||||
|
||||
/* 80BCB310-80BCB320 0010F0 0010+00 1/0 0/0 0/0 .text Insect_Release__10daObjCHO_cFv */
|
||||
void daObjCHO_c::Insect_Release() {
|
||||
field_0x56C = 1;
|
||||
field_0x56c = 1;
|
||||
mAction = ACT_MOVE;
|
||||
}
|
||||
|
||||
@@ -560,7 +560,7 @@ cPhs__Step daObjCHO_c::create() {
|
||||
if (step == cPhs_COMPLEATE_e) {
|
||||
mLocation = fopAcM_GetParam(this) & 0xf;
|
||||
if (mLocation == LOC_UNK_2) {
|
||||
field_0x56C = 0;
|
||||
field_0x56c = 0;
|
||||
shape_angle.x -= 0x2000;
|
||||
fopAcM_OnStatus(this, 0x4000);
|
||||
mTargetSpeedY = -2.0f;
|
||||
|
||||
@@ -269,7 +269,7 @@ void daObjDAN_c::checkGroundPos() {
|
||||
|
||||
/* 80BDB0D8-80BDB0E8 000C38 0010+00 1/0 0/0 0/0 .text Insect_Release__10daObjDAN_cFv */
|
||||
void daObjDAN_c::Insect_Release() {
|
||||
field_0x56C = 1;
|
||||
field_0x56c = 1;
|
||||
mAction = ACT_MOVE;
|
||||
}
|
||||
|
||||
@@ -535,7 +535,7 @@ cPhs__Step daObjDAN_c::create() {
|
||||
if (step == cPhs_COMPLEATE_e) {
|
||||
mLocation = fopAcM_GetParam(this) & 0xf;
|
||||
if (mLocation == LOC_UNK_2) {
|
||||
field_0x56C = 0;
|
||||
field_0x56c = 0;
|
||||
shape_angle.x -= 0x2000;
|
||||
fopAcM_OnStatus(this, 0x4000);
|
||||
} else {
|
||||
|
||||
@@ -506,7 +506,7 @@ void daObjKABUTO_c::ShopAction() {
|
||||
/* 80C2CAC4-80C2CADC 001D44 0018+00 1/0 0/0 0/0 .text Insect_Release__13daObjKABUTO_cFv
|
||||
*/
|
||||
void daObjKABUTO_c::Insect_Release() {
|
||||
field_0x56C = 1;
|
||||
field_0x56c = 1;
|
||||
mAction = ACT_MOVE;
|
||||
mMode = 0;
|
||||
}
|
||||
@@ -757,7 +757,7 @@ cPhs__Step daObjKABUTO_c::create() {
|
||||
if (step == cPhs_COMPLEATE_e) {
|
||||
mLocation = fopAcM_GetParam(this) & 0xf;
|
||||
if (mLocation == LOC_UNK_2) {
|
||||
field_0x56C = 0;
|
||||
field_0x56c = 0;
|
||||
shape_angle.x -= 0x2000;
|
||||
fopAcM_OnStatus(this, 0x4000);
|
||||
} else {
|
||||
|
||||
+824
-640
File diff suppressed because it is too large
Load Diff
@@ -321,7 +321,7 @@ void daObjNAN_c::bin_wait() {
|
||||
fopAcM_OnStatus(this, 0x4000);
|
||||
mDraw = false;
|
||||
field_0x7d0++;
|
||||
} else if (field_0x7d0 != -1 && field_0x56C != 0) {
|
||||
} else if (field_0x7d0 != -1 && field_0x56c != 0) {
|
||||
current.angle.y = daPy_getPlayerActorClass()->current.angle.y - 0x4000;
|
||||
if (strcmp("R_SP160", dComIfGp_getStartStageName()) == 0 &&
|
||||
dComIfGp_getStartStageRoomNo() == 3)
|
||||
@@ -558,7 +558,7 @@ static u8 const l_nan_itemno[2] = {
|
||||
/* 80CA276C-80CA2904 0022AC 0198+00 1/1 0/0 0/0 .text execute__10daObjNAN_cFv */
|
||||
int daObjNAN_c::execute() {
|
||||
if (ChkGetDemo()) {
|
||||
field_0x57C = field_0x578 + 10000.0f;
|
||||
field_0x57c = field_0x578 + 10000.0f;
|
||||
mCreatureSound.startCreatureSoundLevel(Z2SE_INSCT_KIRA, 0, -1);
|
||||
Insect_GetDemoMain();
|
||||
nan_setParticle();
|
||||
|
||||
@@ -453,7 +453,7 @@ void daObjTEN_c::checkGroundPos() {
|
||||
|
||||
/* 80D0A13C-80D0A154 001A5C 0018+00 1/0 0/0 0/0 .text Insect_Release__10daObjTEN_cFv */
|
||||
void daObjTEN_c::Insect_Release() {
|
||||
field_0x56C = 1;
|
||||
field_0x56c = 1;
|
||||
field_0x624 = 2;
|
||||
mAction = ACTION_MOVE;
|
||||
}
|
||||
@@ -729,7 +729,7 @@ int daObjTEN_c::create() {
|
||||
if (rv == cPhs_COMPLEATE_e) {
|
||||
field_0x624 = fopAcM_GetParam(this) & 0xf;
|
||||
if (field_0x624 == 2) {
|
||||
field_0x56C = 0;
|
||||
field_0x56c = 0;
|
||||
shape_angle.x -= 0x2000;
|
||||
fopAcM_OnStatus(this, fopAcM_STATUS_UNK_004000);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user