mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 06:21:16 +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
|
@ -506,7 +506,7 @@ void EnDodongo_SwallowBomb(EnDodongo* this, GlobalContext* globalCtx) {
|
|||
&this->bombSmokeEnvColor, 400, 10, 10);
|
||||
}
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_IT_BOMB_EXPLOSION);
|
||||
func_8003426C(&this->actor, 0x4000, 0x78, 0, 8);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0x78, 0, 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -685,7 +685,7 @@ void EnDodongo_Death(EnDodongo* this, GlobalContext* globalCtx) {
|
|||
EnDodongo_SpawnBombSmoke(this, globalCtx);
|
||||
}
|
||||
} else if (this->actor.colorFilterTimer == 0) {
|
||||
func_8003426C(&this->actor, 0x4000, 0x78, 0, 4);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0x78, 0, 4);
|
||||
}
|
||||
if (SkelAnime_Update(&this->skelAnime) != 0) {
|
||||
if (this->timer == 0) {
|
||||
|
@ -730,12 +730,12 @@ void EnDodongo_CollisionCheck(EnDodongo* this, GlobalContext* globalCtx) {
|
|||
this->damageEffect = this->actor.colChkInfo.damageEffect;
|
||||
if ((this->actor.colChkInfo.damageEffect == 1) || (this->actor.colChkInfo.damageEffect == 0xF)) {
|
||||
if (this->actionState != DODONGO_STUNNED) {
|
||||
func_8003426C(&this->actor, 0, 0x78, 0, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0, 0x78, 0, 0x50);
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
EnDodongo_SetupStunned(this);
|
||||
}
|
||||
} else {
|
||||
func_8003426C(&this->actor, 0x4000, 0x78, 0, 8);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0x78, 0, 8);
|
||||
if (Actor_ApplyDamage(&this->actor) == 0) {
|
||||
EnDodongo_SetupDeath(this, globalCtx);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue