leftState -> leftWingState

This commit is contained in:
Alejandro Javier Asenjo Nitti 2024-08-15 02:56:41 -03:00
parent ccb74bd0fe
commit bef7345bf7
15 changed files with 41 additions and 41 deletions

View File

@ -129,7 +129,7 @@ typedef struct PlayerShot {
typedef struct ArwingInfo { // ArArwingInfo typedef struct ArwingInfo { // ArArwingInfo
/* 0x00 */ u8 rightWingState; // rightWingState /* 0x00 */ u8 rightWingState; // rightWingState
/* 0x01 */ u8 leftState; // leftWingState /* 0x01 */ u8 leftWingState; // leftWingState
/* 0x04 */ f32 unk_04; // upperRightFlapYrot /* 0x04 */ f32 unk_04; // upperRightFlapYrot
/* 0x08 */ f32 unk_08; // bottomRightFlapYrot /* 0x08 */ f32 unk_08; // bottomRightFlapYrot
/* 0x0C */ f32 unk_0C; // upperLeftFlapYrot /* 0x0C */ f32 unk_0C; // upperLeftFlapYrot

View File

@ -200,7 +200,7 @@ void AllRange_GreatFoxRepair(Player* player) {
player->shields = Play_GetMaxShields(); player->shields = Play_GetMaxShields();
player->arwing.rightWingState = WINGSTATE_INTACT; player->arwing.rightWingState = WINGSTATE_INTACT;
player->arwing.leftState = WINGSTATE_INTACT; player->arwing.leftWingState = WINGSTATE_INTACT;
if (gExpertMode) { if (gExpertMode) {
gRightWingHealth[0] = gLeftWingHealth[0] = 10; gRightWingHealth[0] = gLeftWingHealth[0] = 10;

View File

@ -1694,9 +1694,9 @@ void Cutscene_ArwingDown360(Player* player) {
player->arwing.rightWingState = WINGSTATE_BROKEN; player->arwing.rightWingState = WINGSTATE_BROKEN;
func_effect_8007D0E0(player->hit1.x, player->hit1.y, player->hit1.z, 2.0f); func_effect_8007D0E0(player->hit1.x, player->hit1.y, player->hit1.z, 2.0f);
} }
if (player->arwing.leftState == WINGSTATE_INTACT) { if (player->arwing.leftWingState == WINGSTATE_INTACT) {
Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z); Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z);
player->arwing.leftState = WINGSTATE_BROKEN; player->arwing.leftWingState = WINGSTATE_BROKEN;
func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f); func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f);
} }
} else if (((player->radioDamageTimer > 0) || (player->pos.y < player->pathFloor) || } else if (((player->radioDamageTimer > 0) || (player->pos.y < player->pathFloor) ||
@ -1802,9 +1802,9 @@ void Cutscene_ArwingDownOnRails(Player* player) {
func_effect_8007D0E0(player->hit1.x, player->hit1.y, player->hit1.z, 2.0f); func_effect_8007D0E0(player->hit1.x, player->hit1.y, player->hit1.z, 2.0f);
} }
if (player->arwing.leftState == WINGSTATE_INTACT) { if (player->arwing.leftWingState == WINGSTATE_INTACT) {
Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z); Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z);
player->arwing.leftState = WINGSTATE_NONE; player->arwing.leftWingState = WINGSTATE_NONE;
func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f); func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f);
} }
} else if (((player->radioDamageTimer > 0) || (player->pos.y < player->pathFloor) || (player->csEventTimer == 0)) && } else if (((player->radioDamageTimer > 0) || (player->pos.y < player->pathFloor) || (player->csEventTimer == 0)) &&

View File

@ -493,10 +493,10 @@ bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos
break; break;
case 12: case 12:
if (arwing->rightWingState == WINGSTATE_NONE) { // should be leftState? if (arwing->rightWingState == WINGSTATE_NONE) { // should be leftWingState?
*gfxPtr = NULL; *gfxPtr = NULL;
} }
if (arwing->leftState == WINGSTATE_BROKEN) { if (arwing->leftWingState == WINGSTATE_BROKEN) {
*gfxPtr = D_arwing_3014BF0; *gfxPtr = D_arwing_3014BF0;
} }
if (D_display_800CA22C && ((gLeftWingFlashTimer[0] % 2) != 0)) { if (D_display_800CA22C && ((gLeftWingFlashTimer[0] % 2) != 0)) {
@ -512,7 +512,7 @@ bool Display_ArwingWingsOverrideLimbDraw(s32 limbIndex, Gfx** gfxPtr, Vec3f* pos
case 5: case 5:
case 6: case 6:
if (arwing->leftState != 2) { if (arwing->leftWingState != 2) {
*gfxPtr = NULL; *gfxPtr = NULL;
} }
if (D_display_800CA22C && ((gLeftWingFlashTimer[0] % 2) != 0)) { if (D_display_800CA22C && ((gLeftWingFlashTimer[0] % 2) != 0)) {
@ -679,13 +679,13 @@ void Display_Arwing(Player* player, s32 reflectY) {
} }
} else { } else {
if (gVersusMode) { if (gVersusMode) {
if ((player->arwing.rightWingState == WINGSTATE_INTACT) && (player->arwing.leftState == WINGSTATE_INTACT)) { if ((player->arwing.rightWingState == WINGSTATE_INTACT) && (player->arwing.leftWingState == WINGSTATE_INTACT)) {
gSPDisplayList(gMasterDisp++, D_versus_300EE80); gSPDisplayList(gMasterDisp++, D_versus_300EE80);
} else if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) && } else if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) &&
(player->arwing.leftState == WINGSTATE_INTACT)) { (player->arwing.leftWingState == WINGSTATE_INTACT)) {
gSPDisplayList(gMasterDisp++, D_versus_3010A90); gSPDisplayList(gMasterDisp++, D_versus_3010A90);
} else if ((player->arwing.rightWingState == WINGSTATE_INTACT) && } else if ((player->arwing.rightWingState == WINGSTATE_INTACT) &&
(player->arwing.leftState <= WINGSTATE_BROKEN)) { (player->arwing.leftWingState <= WINGSTATE_BROKEN)) {
gSPDisplayList(gMasterDisp++, D_versus_3011470); gSPDisplayList(gMasterDisp++, D_versus_3011470);
} else { } else {
gSPDisplayList(gMasterDisp++, D_versus_300D550); gSPDisplayList(gMasterDisp++, D_versus_300D550);
@ -1232,7 +1232,7 @@ void Display_ArwingWingTrail_Draw(Player* player) {
RCP_SetupDL_64(); RCP_SetupDL_64();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 100); gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 100);
if (player->arwing.leftState == WINGSTATE_INTACT) { if (player->arwing.leftWingState == WINGSTATE_INTACT) {
Matrix_Push(&gGfxMatrix); Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, sp5C, sp58, -100.0f, MTXF_APPLY); Matrix_Translate(gGfxMatrix, sp5C, sp58, -100.0f, MTXF_APPLY);
Matrix_RotateX(gGfxMatrix, M_DTOR * sp50, MTXF_APPLY); Matrix_RotateX(gGfxMatrix, M_DTOR * sp50, MTXF_APPLY);

View File

@ -525,12 +525,12 @@ void func_edisplay_8005B388(Actor199* actor) {
((gCurrentLevel == LEVEL_SECTOR_Y) && (gPlayer[0].state_1C8 == PLAYERSTATE_1C8_STANDBY) && ((gCurrentLevel == LEVEL_SECTOR_Y) && (gPlayer[0].state_1C8 == PLAYERSTATE_1C8_STANDBY) &&
(actor->state == 5))) { (actor->state == 5))) {
D_edisplay_80161630.rightWingState = gPlayer[0].arwing.rightWingState; D_edisplay_80161630.rightWingState = gPlayer[0].arwing.rightWingState;
D_edisplay_80161630.leftState = gPlayer[0].arwing.leftState; D_edisplay_80161630.leftWingState = gPlayer[0].arwing.leftWingState;
} else { } else {
D_edisplay_80161630.rightWingState = D_edisplay_80161630.leftState = WINGSTATE_INTACT; D_edisplay_80161630.rightWingState = D_edisplay_80161630.leftWingState = WINGSTATE_INTACT;
} }
} else { } else {
D_edisplay_80161630.rightWingState = D_edisplay_80161630.leftState = WINGSTATE_INTACT; D_edisplay_80161630.rightWingState = D_edisplay_80161630.leftWingState = WINGSTATE_INTACT;
} }
D_edisplay_80161630.unk_04 = actor->fwork[15]; D_edisplay_80161630.unk_04 = actor->fwork[15];
D_edisplay_80161630.unk_0C = actor->fwork[16]; D_edisplay_80161630.unk_0C = actor->fwork[16];

View File

@ -2108,7 +2108,7 @@ void ActorSupplies_Update(ActorSupplies* this) {
func_effect_8007D2C8(this->obj.pos.x, this->obj.pos.y, this->obj.pos.z, 5.0f); func_effect_8007D2C8(this->obj.pos.x, this->obj.pos.y, this->obj.pos.z, 5.0f);
if (((player[0].arwing.rightWingState <= WINGSTATE_BROKEN) || if (((player[0].arwing.rightWingState <= WINGSTATE_BROKEN) ||
(player[0].arwing.leftState <= WINGSTATE_BROKEN)) && (player[0].arwing.leftWingState <= WINGSTATE_BROKEN)) &&
(player[0].form != FORM_LANDMASTER)) { (player[0].form != FORM_LANDMASTER)) {
this->itemDrop = DROP_WING_REPAIR; this->itemDrop = DROP_WING_REPAIR;
} else if (gPlayer[0].shields < 128) { } else if (gPlayer[0].shields < 128) {
@ -2165,9 +2165,9 @@ void func_enmy_80067A40(void) {
gRightWingFlashTimer[0] = 1050; gRightWingFlashTimer[0] = 1050;
gPlayer[0].arwing.rightWingState = WINGSTATE_INTACT; gPlayer[0].arwing.rightWingState = WINGSTATE_INTACT;
} }
if (gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN) { if (gPlayer[0].arwing.leftWingState <= WINGSTATE_BROKEN) {
gLeftWingFlashTimer[0] = 1050; gLeftWingFlashTimer[0] = 1050;
gPlayer[0].arwing.leftState = WINGSTATE_INTACT; gPlayer[0].arwing.leftWingState = WINGSTATE_INTACT;
} }
if (gExpertMode) { if (gExpertMode) {
@ -2261,7 +2261,7 @@ void ItemPickup_Update(Item* this) {
void ItemLasers_Update(ItemLasers* this) { void ItemLasers_Update(ItemLasers* this) {
if (!gVersusMode && if (!gVersusMode &&
((gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN))) { ((gPlayer[0].arwing.leftWingState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN))) {
this->obj.id = OBJ_ITEM_WING_REPAIR; this->obj.id = OBJ_ITEM_WING_REPAIR;
Object_SetInfo(&this->info, this->obj.id); Object_SetInfo(&this->info, this->obj.id);
this->timer_48 = 2000; this->timer_48 = 2000;

View File

@ -2689,7 +2689,7 @@ void ActorEvent_ProcessTriggers(ActorEvent* this) {
case EVC_WING_BROKEN: case EVC_WING_BROKEN:
if ((gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN) || if ((gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN) ||
(gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN)) { (gPlayer[0].arwing.leftWingState <= WINGSTATE_BROKEN)) {
ActorEvent_TriggerBranch(this); ActorEvent_TriggerBranch(this);
} }
break; break;

View File

@ -169,7 +169,7 @@ void Player_WingEffects(Player* player) {
if ((gLevelType == LEVELTYPE_PLANET) || if ((gLevelType == LEVELTYPE_PLANET) ||
((player->alternateView == true) && (gLevelMode == LEVELMODE_ON_RAILS))) { ((player->alternateView == true) && (gLevelMode == LEVELMODE_ON_RAILS))) {
player->yBob = -SIN_DEG(player->bobPhase) * 0.5f; player->yBob = -SIN_DEG(player->bobPhase) * 0.5f;
if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) || (player->arwing.leftState <= WINGSTATE_BROKEN)) { if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) || (player->arwing.leftWingState <= WINGSTATE_BROKEN)) {
player->rockAngle = SIN_DEG(player->rockPhase) * 5.0f; player->rockAngle = SIN_DEG(player->rockPhase) * 5.0f;
} else { } else {
player->rockAngle = SIN_DEG(player->rockPhase) * 1.5f; player->rockAngle = SIN_DEG(player->rockPhase) * 1.5f;
@ -194,7 +194,7 @@ void Player_DamageEffects(Player* player) {
RAND_FLOAT(0.02f) + 0.02f, player->num + 1); RAND_FLOAT(0.02f) + 0.02f, player->num + 1);
} }
} }
if (player->arwing.leftState <= WINGSTATE_BROKEN) { if (player->arwing.leftWingState <= WINGSTATE_BROKEN) {
if (((gGameFrameCount % 2U) == 0) && (gLeftWingDebrisTimer[player->num] != 0)) { if (((gGameFrameCount % 2U) == 0) && (gLeftWingDebrisTimer[player->num] != 0)) {
func_effect_8007D10C(RAND_FLOAT_CENTERED(10.0f) + player->hit2.x, RAND_FLOAT(5.0f) + player->hit2.y, func_effect_8007D10C(RAND_FLOAT_CENTERED(10.0f) + player->hit2.x, RAND_FLOAT(5.0f) + player->hit2.y,
player->hit2.z, 1.0f); player->hit2.z, 1.0f);
@ -838,11 +838,11 @@ void Player_DamageWings(Player* player, s32 side, s32 damage) {
} }
} else if (side == 2) { } else if (side == 2) {
gLeftWingFlashTimer[player->num] = 30; gLeftWingFlashTimer[player->num] = 30;
if (player->arwing.leftState == WINGSTATE_INTACT) { if (player->arwing.leftWingState == WINGSTATE_INTACT) {
gLeftWingHealth[player->num] -= damage; gLeftWingHealth[player->num] -= damage;
if (gLeftWingHealth[player->num] <= 0) { if (gLeftWingHealth[player->num] <= 0) {
Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z); Play_SpawnDebris(0, player->hit2.x, player->hit2.y, player->hit2.z);
player->arwing.leftState = WINGSTATE_BROKEN; player->arwing.leftWingState = WINGSTATE_BROKEN;
func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f); func_effect_8007D0E0(player->hit2.x, player->hit2.y, player->hit2.z, 2.0f);
gLeftWingDebrisTimer[player->num] = 50; gLeftWingDebrisTimer[player->num] = 50;
Player_PlaySfx(player->sfxSource, NA_SE_ARWING_WING_BROKEN, player->num); Player_PlaySfx(player->sfxSource, NA_SE_ARWING_WING_BROKEN, player->num);
@ -1621,7 +1621,7 @@ void Player_UpdateHitbox(Player* player) {
Matrix_RotateZ(gCalcMatrix, -(player->bankAngle * M_DTOR), MTXF_APPLY); Matrix_RotateZ(gCalcMatrix, -(player->bankAngle * M_DTOR), MTXF_APPLY);
sp3C.y = 0.0f; sp3C.y = 0.0f;
sp3C.z = 0.0f; sp3C.z = 0.0f;
if (player->arwing.leftState == WINGSTATE_INTACT) { if (player->arwing.leftWingState == WINGSTATE_INTACT) {
sp3C.x = 40.0f; sp3C.x = 40.0f;
} else { } else {
sp3C.y = -10.0f; sp3C.y = -10.0f;
@ -3293,7 +3293,7 @@ bool Player_UpdateLockOn(Player* player) {
void Player_Shoot(Player* player) { void Player_Shoot(Player* player) {
switch (player->form) { switch (player->form) {
case FORM_ARWING: case FORM_ARWING:
if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) || (player->arwing.leftState <= WINGSTATE_BROKEN)) { if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) || (player->arwing.leftWingState <= WINGSTATE_BROKEN)) {
gLaserStrength[player->num] = LASERS_SINGLE; gLaserStrength[player->num] = LASERS_SINGLE;
} }
@ -3349,9 +3349,9 @@ void Player_ArwingBank(Player* player) {
f32 sp38; f32 sp38;
sp3C = 0.0f; sp3C = 0.0f;
if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) && (player->arwing.leftState == WINGSTATE_INTACT)) { if ((player->arwing.rightWingState <= WINGSTATE_BROKEN) && (player->arwing.leftWingState == WINGSTATE_INTACT)) {
sp3C = -17.0f; sp3C = -17.0f;
} else if ((player->arwing.leftState <= WINGSTATE_BROKEN) && (player->arwing.rightWingState == WINGSTATE_INTACT)) { } else if ((player->arwing.leftWingState <= WINGSTATE_BROKEN) && (player->arwing.rightWingState == WINGSTATE_INTACT)) {
sp3C = 17.0f; sp3C = 17.0f;
} }
@ -3672,7 +3672,7 @@ void Player_MoveArwing360(Player* player) {
sp4C.x -= 2.5f; sp4C.x -= 2.5f;
sp4C.y -= 2.5f; sp4C.y -= 2.5f;
} }
if (player->arwing.leftState <= WINGSTATE_BROKEN) { if (player->arwing.leftWingState <= WINGSTATE_BROKEN) {
sp4C.x += 2.5f; sp4C.x += 2.5f;
sp4C.y -= 2.5f; sp4C.y -= 2.5f;
} }
@ -3947,7 +3947,7 @@ void Player_MoveArwingOnRails(Player* player) {
player->vel.x += 2.5f; player->vel.x += 2.5f;
player->vel.y -= 2.5f; player->vel.y -= 2.5f;
} }
if (player->arwing.leftState <= WINGSTATE_BROKEN) { if (player->arwing.leftWingState <= WINGSTATE_BROKEN) {
player->vel.x -= 2.5f; player->vel.x -= 2.5f;
player->vel.y -= 2.5f; player->vel.y -= 2.5f;
} }
@ -4417,7 +4417,7 @@ void Player_Setup(Player* playerx) {
} }
player->arwing.rightWingState = WINGSTATE_INTACT; player->arwing.rightWingState = WINGSTATE_INTACT;
player->arwing.leftState = WINGSTATE_INTACT; player->arwing.leftWingState = WINGSTATE_INTACT;
if (gExpertMode) { if (gExpertMode) {
gLeftWingHealth[gPlayerNum] = 10; gLeftWingHealth[gPlayerNum] = 10;
@ -4521,7 +4521,7 @@ void Player_Setup(Player* playerx) {
player->shields = D_ctx_80177C9C - 1; player->shields = D_ctx_80177C9C - 1;
gGoldRingCount[0] = D_ctx_80177C94; gGoldRingCount[0] = D_ctx_80177C94;
player->arwing.rightWingState = D_ctx_80177CAC; player->arwing.rightWingState = D_ctx_80177CAC;
player->arwing.leftState = D_ctx_80177CB4; player->arwing.leftWingState = D_ctx_80177CB4;
gRightWingHealth[0] = D_ctx_80177CBC; gRightWingHealth[0] = D_ctx_80177CBC;
gLeftWingHealth[0] = D_ctx_80177CC4; gLeftWingHealth[0] = D_ctx_80177CC4;
if (gCurrentLevel == LEVEL_VENOM_ANDROSS) { if (gCurrentLevel == LEVEL_VENOM_ANDROSS) {

View File

@ -402,7 +402,7 @@ void CheatRam_Select(void) {
} }
void CheatRam_RepairWings(void) { void CheatRam_RepairWings(void) {
if ((gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN)) { if ((gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.leftWingState <= WINGSTATE_BROKEN)) {
func_enmy_80067A40(); func_enmy_80067A40();
} }
} }

View File

@ -1079,7 +1079,7 @@ void Ending_801926D4(void) {
if (!gClearPlayerInfo) { if (!gClearPlayerInfo) {
D_ending_80198590 = gPlayer[0].arwing; D_ending_80198590 = gPlayer[0].arwing;
} else { } else {
D_ending_80198590.rightWingState = D_ending_80198590.leftState = WINGSTATE_INTACT; D_ending_80198590.rightWingState = D_ending_80198590.leftWingState = WINGSTATE_INTACT;
} }
AUDIO_PLAY_BGM(NA_BGM_STAFF_ROLL); AUDIO_PLAY_BGM(NA_BGM_STAFF_ROLL);
} }

View File

@ -2377,7 +2377,7 @@ void Venom1_80198414(void) {
D_ctx_80177C9C = gPlayer[0].shields + 1; D_ctx_80177C9C = gPlayer[0].shields + 1;
D_ctx_80177CA4 = gHitCount; D_ctx_80177CA4 = gHitCount;
D_ctx_80177CAC = gPlayer[0].arwing.rightWingState; D_ctx_80177CAC = gPlayer[0].arwing.rightWingState;
D_ctx_80177CB4 = gPlayer[0].arwing.leftState; D_ctx_80177CB4 = gPlayer[0].arwing.leftWingState;
D_ctx_80177CBC = gRightWingHealth[0]; D_ctx_80177CBC = gRightWingHealth[0];
D_ctx_80177CC4 = gLeftWingHealth[0]; D_ctx_80177CC4 = gLeftWingHealth[0];
Audio_StopPlayerNoise(0); Audio_StopPlayerNoise(0);

View File

@ -2600,9 +2600,9 @@ void Andross_AndAndross_Update(AndAndross* this) {
Andross_Effect396_Spawn2(this->obj.pos.x, this->obj.pos.y - 200.0f, this->obj.pos.z, Andross_Effect396_Spawn2(this->obj.pos.x, this->obj.pos.y - 200.0f, this->obj.pos.z,
RAND_FLOAT_CENTERED(10.0f), RAND_FLOAT_CENTERED(10.0f), 10.0f, 8); RAND_FLOAT_CENTERED(10.0f), RAND_FLOAT_CENTERED(10.0f), 10.0f, 8);
} }
if (player->arwing.leftState == 2) { if (player->arwing.leftWingState == 2) {
gLeftWingHealth[0] = 0; gLeftWingHealth[0] = 0;
player->arwing.leftState = 1; player->arwing.leftWingState = 1;
Andross_Effect396_Spawn2(this->obj.pos.x, this->obj.pos.y - 200.0f, this->obj.pos.z, Andross_Effect396_Spawn2(this->obj.pos.x, this->obj.pos.y - 200.0f, this->obj.pos.z,
RAND_FLOAT_CENTERED(10.0f), RAND_FLOAT_CENTERED(10.0f), 10.0f, 9); RAND_FLOAT_CENTERED(10.0f), RAND_FLOAT_CENTERED(10.0f), 10.0f, 9);
} }

View File

@ -125,7 +125,7 @@ void Venom2_UpdateEvents(ActorAllRange* this) {
D_ctx_80177C9C = player->shields + 1; D_ctx_80177C9C = player->shields + 1;
D_play_80161A5C = D_ctx_80177CA4 = gHitCount; D_play_80161A5C = D_ctx_80177CA4 = gHitCount;
D_ctx_80177CAC = player->arwing.rightWingState; D_ctx_80177CAC = player->arwing.rightWingState;
D_ctx_80177CB4 = player->arwing.leftState; D_ctx_80177CB4 = player->arwing.leftWingState;
D_ctx_80177CBC = gRightWingHealth[0]; D_ctx_80177CBC = gRightWingHealth[0];
D_ctx_80177CC4 = gLeftWingHealth[0]; D_ctx_80177CC4 = gLeftWingHealth[0];
} }

View File

@ -2269,7 +2269,7 @@ void Map_801A116C(void) {
Matrix_SetGfxMtx(&gMasterDisp); Matrix_SetGfxMtx(&gMasterDisp);
arwing.rightWingState = arwing.leftState = WINGSTATE_INTACT; arwing.rightWingState = arwing.leftWingState = WINGSTATE_INTACT;
// clang-format off // clang-format off
arwing.unk_18 = arwing.unk_1C = arwing.unk_20 = arwing.unk_24 = arwing.unk_04 = arwing.unk_18 = arwing.unk_1C = arwing.unk_20 = arwing.unk_24 = arwing.unk_04 =
arwing.unk_08 = arwing.unk_0C = arwing.unk_10 = arwing.unk_28 = 0.0f; arwing.unk_08 = arwing.unk_0C = arwing.unk_10 = arwing.unk_28 = 0.0f;

View File

@ -2253,7 +2253,7 @@ void Title_8018D2B8(s32 arg0) {
Matrix_SetGfxMtx(&gMasterDisp); Matrix_SetGfxMtx(&gMasterDisp);
arwing.rightWingState = arwing.leftState = WINGSTATE_INTACT; arwing.rightWingState = arwing.leftWingState = WINGSTATE_INTACT;
arwing.unk_18 = arwing.unk_1C = arwing.unk_20 = arwing.unk_24 = arwing.unk_04 = arwing.unk_08 = arwing.unk_0C = arwing.unk_18 = arwing.unk_1C = arwing.unk_20 = arwing.unk_24 = arwing.unk_04 = arwing.unk_08 = arwing.unk_0C =
arwing.unk_10 = arwing.unk_28 = 0.0f; arwing.unk_10 = arwing.unk_28 = 0.0f;