 There are two endings to the game. One involves you driving the Wiz  Pig off of the island. There is another ending if you go to his  homeworld and battle him. In either event, both endings give you one  of the secret passwords.