mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 14:20:11 +00:00
rename SkelAnime_ChangeAnimation functions
This commit is contained in:
parent
8c993d9676
commit
8f54c82a96
435 changed files with 601 additions and 601 deletions
|
@ -55,7 +55,7 @@ void EnDs_Init(EnDs* this, GlobalContext* globalCtx) {
|
|||
|
||||
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawFunc_Circle, 36.0f);
|
||||
SkelAnime_InitSV(globalCtx, skelAnime, &D_06004768, &D_0600039C, &this->actorDrawTable, &this->unk_1B4, 6);
|
||||
func_800A51E8(&this->skelAnime, &D_0600039C);
|
||||
SkelAnimeChangeAnimationDefaultStop(&this->skelAnime, &D_0600039C);
|
||||
|
||||
this->actor.sub_98.mass = 0xFF;
|
||||
|
||||
|
|
|
@ -161,18 +161,18 @@ static void EnWallmas_LandStart(EnWallmas* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
static void EnWallmas_StandStart(EnWallmas* this) {
|
||||
func_800A51E8(&this->skelAnime, &D_0600A054);
|
||||
SkelAnimeChangeAnimationDefaultStop(&this->skelAnime, &D_0600A054);
|
||||
this->actionFunc = (ActorFunc)&EnWallmas_Stand;
|
||||
}
|
||||
|
||||
static void EnWallmas_WalkStart(EnWallmas* this) {
|
||||
func_800A529C(&this->skelAnime, &D_060041F4, 3.0f);
|
||||
SkelAnime_ChangeAnimationPlaybackStop(&this->skelAnime, &D_060041F4, 3.0f);
|
||||
this->actionFunc = (ActorFunc)&EnWallmas_Walk;
|
||||
this->actor.speedXZ = 3.0f;
|
||||
}
|
||||
|
||||
static void EnWallmas_JumpToCeilingStart(EnWallmas* this) {
|
||||
func_800A51E8(&this->skelAnime, &D_06009244);
|
||||
SkelAnimeChangeAnimationDefaultStop(&this->skelAnime, &D_06009244);
|
||||
this->actionFunc = (ActorFunc)&EnWallmas_JumpToCeiling;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ static void EnWallmas_ReturnToCeilingStart(EnWallmas* this) {
|
|||
}
|
||||
|
||||
static void EnWallmas_TakeDamageStart(EnWallmas* this) {
|
||||
func_800A5240(&this->skelAnime, &D_06000590, -3.0f);
|
||||
SkelAnime_ChangeAnimationTransitionStop(&this->skelAnime, &D_06000590, -3.0f);
|
||||
if ((this->colCylinder.body.colliding->toucher.flags & 0x1F824) != 0) {
|
||||
this->actor.posRot.rot.y = this->colCylinder.base.ac->posRot.rot.y;
|
||||
} else {
|
||||
|
@ -204,7 +204,7 @@ static void EnWallmas_TakeDamageStart(EnWallmas* this) {
|
|||
}
|
||||
|
||||
static void EnWallmas_DamageCoolDownStart(EnWallmas* this) {
|
||||
func_800A51E8(&this->skelAnime, &D_06000EA4);
|
||||
SkelAnimeChangeAnimationDefaultStop(&this->skelAnime, &D_06000EA4);
|
||||
this->actor.speedXZ = 0.0f;
|
||||
this->actor.velocity.y = 0.0f;
|
||||
this->actor.posRot.rot.y = this->actor.shape.rot.y;
|
||||
|
@ -223,7 +223,7 @@ static void EnWallMas_DieBegin(EnWallmas* this, GlobalContext* globalCtx) {
|
|||
}
|
||||
|
||||
static void EnWallmas_TakePlayerBegin(EnWallmas* this, GlobalContext* globalCtx) {
|
||||
func_800A5240(&this->skelAnime, &D_06009520, -5.0f);
|
||||
SkelAnime_ChangeAnimationTransitionStop(&this->skelAnime, &D_06009520, -5.0f);
|
||||
this->timer = -0x1e;
|
||||
this->actionFunc = (ActorFunc)&EnWallmas_TakePlayer;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue