mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +00:00
Document Surface Material (#1447)
* material * cleanup * iron boots * climb * more docs * rename * small fix * comments * adjust bug comment * simplify comment
This commit is contained in:
parent
92f081d7f3
commit
c7a61aa670
26 changed files with 263 additions and 231 deletions
|
@ -589,7 +589,7 @@ void func_80B4FD90(EnZl2* this, PlayState* play) {
|
|||
|
||||
void func_80B4FDD4(EnZl2* this) {
|
||||
if (Animation_OnFrame(&this->skelAnime, 14.0f)) {
|
||||
func_80078914(&this->actor.projectedPos, NA_SE_PL_WALK_CONCRETE);
|
||||
func_80078914(&this->actor.projectedPos, NA_SE_PL_WALK_GROUND + SURFACE_SFX_OFFSET_STONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1436,8 +1436,8 @@ void func_80B51D24(EnZl2* this, PlayState* play) {
|
|||
|
||||
if (Animation_OnFrame(skelAnime, 6.0f) || Animation_OnFrame(skelAnime, 0.0f)) {
|
||||
if (this->actor.bgCheckFlags & BGCHECKFLAG_GROUND) {
|
||||
sfxId = SFX_FLAG;
|
||||
sfxId += SurfaceType_GetSfxId(&play->colCtx, this->actor.floorPoly, this->actor.floorBgId);
|
||||
sfxId = NA_SE_PL_WALK_GROUND;
|
||||
sfxId += SurfaceType_GetSfxOffset(&play->colCtx, this->actor.floorPoly, this->actor.floorBgId);
|
||||
func_80078914(&this->actor.projectedPos, sfxId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue