Fixed bug with accessing attributes of characters. Winning now achievable.
All endings added.