IsValidForBattle
function formatting
#5085
Merged
IsValidForBattle
function formatting
#5085