mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 16:30:19 +00:00
Big cleanup (#775)
* Adult and child2 macros OK * ICHAIN cleanup * almost all overlay data * format.sh * func_8002FBAC NON_EQUIVALENT * PR fixes (MZXrules) * fix * change //@ bug to //! @bug * merge master and missed a //@bug * fix ruto * some more cleanup (#2) * more `! @bug` formatting cleanup * parenthesis cleanup * hex naviEnemyId * run formatter * replace `IS_NOT_` macros with `!IS_` * run formatter * run formatter * PR fixes (fig) * Missed something Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
17c79a8f60
commit
556cdad7eb
177 changed files with 902 additions and 862 deletions
|
@ -49,7 +49,7 @@ const ActorInit Boss_Dodongo_InitVars = {
|
|||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
ICHAIN_U8(targetMode, 5, ICHAIN_CONTINUE),
|
||||
ICHAIN_S8(naviEnemyId, 12, ICHAIN_CONTINUE),
|
||||
ICHAIN_S8(naviEnemyId, 0x0C, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32_DIV1000(gravity, -3000.0f, ICHAIN_CONTINUE),
|
||||
ICHAIN_F32(targetArrowOffset, 8200.0f, ICHAIN_STOP),
|
||||
};
|
||||
|
@ -259,7 +259,7 @@ void BossDodongo_Destroy(Actor* thisx, GlobalContext* globalCtx) {
|
|||
void BossDodongo_SetupIntroCutscene(BossDodongo* this, GlobalContext* globalCtx) {
|
||||
s16 frames = Animation_GetLastFrame(&D_0600F0D8);
|
||||
|
||||
Animation_Change(&this->skelAnime, &D_0600F0D8, 1.0f, 0.0f, frames, 0, -10.0f);
|
||||
Animation_Change(&this->skelAnime, &D_0600F0D8, 1.0f, 0.0f, frames, ANIMMODE_LOOP, -10.0f);
|
||||
this->actionFunc = BossDodongo_IntroCutscene;
|
||||
this->csState = 0;
|
||||
this->unk_1BC = 1;
|
||||
|
@ -528,7 +528,8 @@ void BossDodongo_SetupBlowFire(BossDodongo* this) {
|
|||
|
||||
void BossDodongo_SetupInhale(BossDodongo* this) {
|
||||
this->actor.speedXZ = 0.0f;
|
||||
Animation_Change(&this->skelAnime, &D_06008EEC, 1.0f, 0.0f, Animation_GetLastFrame(&D_06008EEC), 2, -5.0f);
|
||||
Animation_Change(&this->skelAnime, &D_06008EEC, 1.0f, 0.0f, Animation_GetLastFrame(&D_06008EEC), ANIMMODE_ONCE,
|
||||
-5.0f);
|
||||
this->actionFunc = BossDodongo_Inhale;
|
||||
this->unk_1DA = 100;
|
||||
this->unk_1AC = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue