mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-06 16:04:35 +00:00
Minor Misc Cleanup (#1360)
* misc cleanup * missed one * EffectSsDust_UpdateFire * revert change, needs more testing
This commit is contained in:
parent
c0f7f4ad26
commit
9e2aee3fa3
13 changed files with 29 additions and 29 deletions
|
@ -14,7 +14,7 @@ typedef struct {
|
|||
/* 0x01 */ u8 flags1;
|
||||
/* 0x02 */ u8 flags2;
|
||||
/* 0x03 */ u8 flags3;
|
||||
} RestrictionFlags;
|
||||
} RestrictionFlags; // size = 0x4
|
||||
|
||||
static RestrictionFlags sRestrictionFlags[] = {
|
||||
{ SCENE_SPOT00, 0x00, 0x00, 0x10 },
|
||||
|
@ -2169,7 +2169,7 @@ s32 Health_ChangeBy(PlayState* play, s16 amount) {
|
|||
// clang-format off
|
||||
if (amount > 0) { Audio_PlaySfxGeneral(NA_SE_SY_HP_RECOVER, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale,
|
||||
&gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
|
||||
} else if (gSaveContext.doubleDefense && (amount < 0)) {
|
||||
} else if (gSaveContext.isDoubleDefenseAcquired && (amount < 0)) {
|
||||
amount >>= 1;
|
||||
osSyncPrintf("ハート減少半分!!=%d\n", amount); // "Heart decrease halved!!=%d"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue