cleaned up magic numbers in Pirate encounter screen controller