Added an end of game sequence

I also made sure that there was a check performed to see if the end of
game was reached. In addition, I included it with the romplay and jplay
to make sure that it was everywhere it was needed.