mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30: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
|
@ -356,7 +356,7 @@ void func_80AE57F0(EnReeba* this, GlobalContext* globalCtx) {
|
|||
this->unk_276 = 14;
|
||||
this->actor.speedXZ = -8.0f;
|
||||
this->actor.world.rot.y = this->actor.yawTowardsPlayer;
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
this->actionfunc = func_80AE5854;
|
||||
}
|
||||
|
||||
|
@ -447,7 +447,7 @@ void func_80AE5A9C(EnReeba* this, GlobalContext* globalCtx) {
|
|||
void func_80AE5BC4(EnReeba* this, GlobalContext* globalCtx) {
|
||||
this->actor.speedXZ = -8.0f;
|
||||
this->actor.world.rot.y = this->actor.yawTowardsPlayer;
|
||||
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
|
||||
this->unk_278 = 14;
|
||||
this->actor.flags &= ~1;
|
||||
this->actionfunc = func_80AE5C38;
|
||||
|
@ -529,14 +529,14 @@ void func_80AE5EDC(EnReeba* this, GlobalContext* globalCtx) {
|
|||
if ((this->actor.colChkInfo.health > 1) && (this->unk_27E != 4)) {
|
||||
this->unk_27E = 4;
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
func_8003426C(&this->actor, 0, 0xFF, 0, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0, 0xFF, 0, 0x50);
|
||||
this->actionfunc = func_80AE58EC;
|
||||
break;
|
||||
}
|
||||
case 13: // hookshot/longshot
|
||||
if ((this->actor.colChkInfo.health > 2) && (this->unk_27E != 4)) {
|
||||
this->unk_27E = 4;
|
||||
func_8003426C(&this->actor, 0, 0xFF, 0, 0x50);
|
||||
Actor_SetColorFilter(&this->actor, 0, 0xFF, 0, 0x50);
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
|
||||
this->actionfunc = func_80AE58EC;
|
||||
break;
|
||||
|
@ -560,13 +560,13 @@ void func_80AE5EDC(EnReeba* this, GlobalContext* globalCtx) {
|
|||
Actor_ApplyDamage(&this->actor);
|
||||
this->unk_27C = 2;
|
||||
this->unk_27E = 2;
|
||||
func_8003426C(&this->actor, 0, 0xFF, 0, 80);
|
||||
Actor_SetColorFilter(&this->actor, 0, 0xFF, 0, 80);
|
||||
this->actionfunc = func_80AE58EC;
|
||||
break;
|
||||
case 1: // unknown
|
||||
if (this->unk_27E != 4) {
|
||||
this->unk_27E = 4;
|
||||
func_8003426C(&this->actor, 0, 0xFF, 0, 80);
|
||||
Actor_SetColorFilter(&this->actor, 0, 0xFF, 0, 80);
|
||||
this->actionfunc = func_80AE58EC;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue