mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +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
|
@ -663,7 +663,7 @@ void EnTest_WalkAndBlock(EnTest* this, PlayState* play) {
|
|||
EnTest_SetupJumpslash(this);
|
||||
return;
|
||||
}
|
||||
} else if (player->heldItemActionParam != PLAYER_AP_NONE) {
|
||||
} else if (player->heldItemAction != PLAYER_IA_NONE) {
|
||||
if (this->actor.isTargeted) {
|
||||
if ((play->gameplayFrames % 2) != 0) {
|
||||
func_808627C4(this, play);
|
||||
|
@ -1462,7 +1462,7 @@ void func_808628C8(EnTest* this, PlayState* play) {
|
|||
if (!EnTest_ReactToProjectile(play, this)) {
|
||||
EnTest_ChooseAction(this, play);
|
||||
}
|
||||
} else if (player->heldItemActionParam != PLAYER_AP_NONE) {
|
||||
} else if (player->heldItemAction != PLAYER_IA_NONE) {
|
||||
if ((play->gameplayFrames % 2) != 0) {
|
||||
EnTest_SetupIdle(this);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue