1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 15:01:17 +00:00

Document Player Knockback related functions (#1601)

* document knockback related functions

* rotation -> yRot

* implement some changes

* Renames and comments

* mq bss

* format

* Intangibility and Invulnerability

* bss

* .bss

* add #pragma increment_block_number to z_en_item00.c

* .bss
This commit is contained in:
mzxrules 2024-09-23 18:31:00 -04:00 committed by GitHub
parent 0f725405d1
commit 56981d5297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
62 changed files with 298 additions and 187 deletions

View file

@ -196,8 +196,9 @@ void func_80ACE5C8(EnPart* this, PlayState* play) {
play->damagePlayer(play, -8);
}
}
func_8002F71C(play, this->actor.parent, (650.0f - this->actor.parent->xzDistToPlayer) * 0.04f + 4.0f,
this->actor.parent->world.rot.y, 8.0f);
Actor_SetPlayerKnockbackLargeNoDamage(play, this->actor.parent,
(650.0f - this->actor.parent->xzDistToPlayer) * 0.04f + 4.0f,
this->actor.parent->world.rot.y, 8.0f);
player->invincibilityTimer = prevInvincibilityTimer;
this->timer = 1;
}