mirror of https://github.com/pret/pokeemerald.git
Updated Add Ability to Avoid Battle Damage in Debug Menu (markdown)
parent
fe7a30004e
commit
dd1eef7eb3
|
@ -39,8 +39,7 @@ index 9b47e5e86..5bcdcef68 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Cmd_healthbarupdate(void)
|
static void Cmd_healthbarupdate(void)
|
||||||
-{
|
{
|
||||||
+{
|
|
||||||
+ #if TX_DEBUG_SYSTEM_ENABLE == TRUE
|
+ #if TX_DEBUG_SYSTEM_ENABLE == TRUE
|
||||||
+ u8 side = GetBattlerSide(gBattlerTarget);
|
+ u8 side = GetBattlerSide(gBattlerTarget);
|
||||||
+ if (FlagGet(FLAG_SYS_NO_BATTLE_DMG) && side == B_SIDE_PLAYER)
|
+ if (FlagGet(FLAG_SYS_NO_BATTLE_DMG) && side == B_SIDE_PLAYER)
|
||||||
|
|
Loading…
Reference in New Issue