finished game, end battle a bit wonky but overall good enough for testing purposes.