mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 23:11:20 +00:00
PlayerActionParam
-> PlayerItemAction
(#1394)
* `PLAYER_AP_` -> `PLAYER_IA_` * Change temps, args, comments, members to "item action" * Format
This commit is contained in:
parent
e7558cc305
commit
b6d9a8183b
13 changed files with 400 additions and 407 deletions
|
@ -1636,7 +1636,7 @@ void func_8090120C(BossGanon2* this, PlayState* play) {
|
|||
temp_f12 = this->unk_1B8.z - player->actor.world.pos.z;
|
||||
temp_a0_2 = Math_Atan2S(temp_f12, temp_f14) - player->actor.shape.rot.y;
|
||||
if ((ABS(temp_a0_2) < 0x2000) && (sqrtf(SQ(temp_f14) + SQ(temp_f12)) < 70.0f) &&
|
||||
(player->meleeWeaponState != 0) && (player->heldItemActionParam == PLAYER_AP_SWORD_MASTER)) {
|
||||
(player->meleeWeaponState != 0) && (player->heldItemAction == PLAYER_IA_SWORD_MASTER)) {
|
||||
func_80064520(play, &play->csCtx);
|
||||
this->subCamId = Play_CreateSubCamera(play);
|
||||
Play_ChangeCameraStatus(play, CAM_ID_MAIN, CAM_STAT_WAIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue