Fixed a weird numpy bug in ColorPaletteBattle