Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion soh/src/overlays/actors/ovl_En_Dnt_Nomal/z_en_dnt_nomal.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ void EnDntNomal_WaitForObject(EnDntNomal* this, PlayState* play) {
this->morphTable, 11);
this->actor.draw = EnDntNomal_DrawStageScrub;
}

// https://github.com/HarbourMasters/Shipwright/issues/2796
// Draw is now enabled but SetFlower hasn't run yet (it waits for ground contact). Default flowerPos to the
// actor's spawn position so the flower doesn't render at the origin for the intervening frames.
this->flowerPos = this->actor.world.pos;
Comment thread
unreference marked this conversation as resolved.
Outdated
this->actionFunc = EnDntNomal_SetFlower;
}
}
Expand Down Expand Up @@ -887,4 +892,4 @@ void EnDntNomal_DrawTargetScrub(Actor* thisx, PlayState* play) {
gSPMatrix(POLY_OPA_DISP++, MATRIX_NEWMTX(play->state.gfxCtx), G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_OPA_DISP++, gHintNutsFlowerDL);
CLOSE_DISPS(play->state.gfxCtx);
}
}