mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
DoubleDefense is boolean
This commit is contained in:
@@ -1047,7 +1047,7 @@ TexturePtr sDoActionTextures[] = {
|
||||
s32 Health_ChangeBy(GlobalContext* globalCtx, s16 healthChange) {
|
||||
if (healthChange > 0) {
|
||||
play_sound(NA_SE_SY_HP_RECOVER);
|
||||
} else if ((gSaveContext.save.playerData.doubleDefense != 0) && (healthChange < 0)) {
|
||||
} else if (gSaveContext.save.playerData.doubleDefense && (healthChange < 0)) {
|
||||
healthChange >>= 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user