Moved battle factory variables to free space in RAM.