diff options
| author | aMannus <mannusmenting@gmail.com> | 2025-12-31 00:21:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-30 23:21:53 +0000 |
| commit | e96503c0bdabee121d30db938246ad96bc0a06ed (patch) | |
| tree | b7a651b9f413ab11be0868a858b55feb8ffa5ef7 /soh/src/code | |
| parent | fbfef956176f9ae2a2d00fdf45222092b9efa456 (diff) | |
Fix custom tunics not updating on scene change (#6026)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_inventory.c | 2 | ||||
| -rw-r--r-- | soh/src/code/z_skelanime.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/soh/src/code/z_inventory.c b/soh/src/code/z_inventory.c index f2b329ed5..4141ffe1f 100644 --- a/soh/src/code/z_inventory.c +++ b/soh/src/code/z_inventory.c @@ -187,6 +187,8 @@ u8 gItemSlots[] = { void Inventory_ChangeEquipment(s16 equipment, u16 value) { gSaveContext.equips.equipment &= gEquipNegMasks[equipment]; gSaveContext.equips.equipment |= value << gEquipShifts[equipment]; + + GameInteractor_ExecuteOnLinkEquipmentChange(); } u8 Inventory_DeleteEquipment(PlayState* play, s16 equipment) { diff --git a/soh/src/code/z_skelanime.c b/soh/src/code/z_skelanime.c index a7e93e8c3..4335df0c8 100644 --- a/soh/src/code/z_skelanime.c +++ b/soh/src/code/z_skelanime.c @@ -1140,6 +1140,8 @@ void SkelAnime_InitLink(PlayState* play, SkelAnime* skelAnime, FlexSkeletonHeade } LinkAnimation_Change(play, skelAnime, animation, 1.0f, 0.0f, 0.0f, ANIMMODE_LOOP, 0.0f); + + GameInteractor_ExecuteOnLinkSkeletonInit(); } /** |
