Updated Add Ability to Avoid Battle Damage in Debug Menu (markdown)

voloved 2023-01-09 22:15:41 -05:00
parent fe7a30004e
commit dd1eef7eb3
1 changed files with 1 additions and 2 deletions

@ -39,8 +39,7 @@ index 9b47e5e86..5bcdcef68 100644
}
static void Cmd_healthbarupdate(void)
-{
+{
{
+ #if TX_DEBUG_SYSTEM_ENABLE == TRUE
+ u8 side = GetBattlerSide(gBattlerTarget);
+ if (FlagGet(FLAG_SYS_NO_BATTLE_DMG) && side == B_SIDE_PLAYER)