mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 07:21:19 +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:
parent
0f725405d1
commit
56981d5297
62 changed files with 298 additions and 187 deletions
|
@ -900,7 +900,7 @@ s32 func_80A44AB0(EnGo2* this, PlayState* play) {
|
|||
arg2 = this->actionFunc == EnGo2_ContinueRolling ? 1.5f : this->actor.speed * 1.5f;
|
||||
|
||||
play->damagePlayer(play, -4);
|
||||
func_8002F71C(play, &this->actor, arg2, this->actor.yawTowardsPlayer, 6.0f);
|
||||
Actor_SetPlayerKnockbackLargeNoDamage(play, &this->actor, arg2, this->actor.yawTowardsPlayer, 6.0f);
|
||||
Actor_PlaySfx(&player->actor, NA_SE_PL_BODY_HIT);
|
||||
this->collider.base.ocFlags1 &= ~OC1_TYPE_PLAYER;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue