mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
sword -> meleeWeapon (#1147)
This commit is contained in:
parent
b9cc31dc74
commit
145b14dbc4
24 changed files with 194 additions and 182 deletions
|
@ -479,8 +479,8 @@ void func_80AFD968(EnSkb* this, GlobalContext* globalCtx) {
|
|||
if (this->unk_283 == 0) {
|
||||
if ((this->actor.colChkInfo.damageEffect == 0xD) ||
|
||||
((this->actor.colChkInfo.damageEffect == 0xE) &&
|
||||
((player->swordAnimation >= 4 && player->swordAnimation <= 11) ||
|
||||
(player->swordAnimation == 20 || player->swordAnimation == 21)))) {
|
||||
((player->meleeWeaponAnimation >= 4 && player->meleeWeaponAnimation <= 11) ||
|
||||
(player->meleeWeaponAnimation == 20 || player->meleeWeaponAnimation == 21)))) {
|
||||
BodyBreak_Alloc(&this->bodyBreak, 2, globalCtx);
|
||||
this->unk_283 = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue