mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 06:40:15 +00:00
Armos and object_am OK (#652)
* started * all but 2 * OK * docs progress * lots of docs * add gitkeep back * all funcs named * small fix * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "0305ec2c2" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "0305ec2c2" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * object_am * change * ready i think * last thing * asm * progress
This commit is contained in:
parent
79c8accfab
commit
982c645167
131 changed files with 1077 additions and 2585 deletions
|
@ -396,7 +396,7 @@ s32 EnSb_UpdateDamage(EnSb* this, GlobalContext* globalCtx) {
|
|||
yawDiff = this->actor.yawTowardsPlayer - this->actor.shape.rot.y;
|
||||
if ((hitY < 30.0f) && (hitY > 10.0f) && (yawDiff >= -0x1FFF) && (yawDiff < 0x2000)) {
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
tookDamage = true;
|
||||
}
|
||||
}
|
||||
|
@ -404,7 +404,7 @@ s32 EnSb_UpdateDamage(EnSb* this, GlobalContext* globalCtx) {
|
|||
case 2: // fire arrow, dins fire
|
||||
this->fire = 4;
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
tookDamage = true;
|
||||
break;
|
||||
case 1: // hookshot/longshot
|
||||
|
@ -414,7 +414,7 @@ s32 EnSb_UpdateDamage(EnSb* this, GlobalContext* globalCtx) {
|
|||
yawDiff = this->actor.yawTowardsPlayer - this->actor.shape.rot.y;
|
||||
if ((hitY < 30.0f) && (hitY > 10.0f) && (yawDiff >= -0x1FFF) && (yawDiff < 0x2000)) {
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0x2000, 0x50);
|
||||
tookDamage = true;
|
||||
EnSb_SetupCooldown(this, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue