mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +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
|
@ -865,14 +865,14 @@ void EnTite_CheckDamage(Actor* thisx, GlobalContext* globalCtx) {
|
|||
// Stun if Tektite hit by nut, boomerang, hookshot, ice arrow or ice magic
|
||||
if ((thisx->colChkInfo.damageEffect == 1) || (thisx->colChkInfo.damageEffect == 0xF)) {
|
||||
if (this->action != TEKTITE_STUNNED) {
|
||||
func_8003426C(thisx, 0, 0x78, 0, 0x50);
|
||||
Actor_SetColorFilter(thisx, 0, 0x78, 0, 0x50);
|
||||
Actor_ApplyDamage(thisx);
|
||||
EnTite_SetupStunned(this);
|
||||
}
|
||||
// Otherwise apply damage and handle death where necessary
|
||||
} else {
|
||||
if ((thisx->colorFilterTimer == 0) || ((thisx->colorFilterParams & 0x4000) == 0)) {
|
||||
func_8003426C(thisx, 0x4000, 0xFF, 0, 8);
|
||||
Actor_SetColorFilter(thisx, 0x4000, 0xFF, 0, 8);
|
||||
Actor_ApplyDamage(thisx);
|
||||
}
|
||||
if (thisx->colChkInfo.health == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue