For anyone struggling with Side Quest 19: "Trying your luck with Lottery", there is an easy way to cheese it so you don't have to suffer going through the doors over and over again for a 3% chance to get the right key every time:
1. Go to the lottery area in Port Town Harmal, and start the minigame. This'll give you one "Small Key". Don't open the door however.
2. Instead make a second save in a new slot and quit the game
3. Go to
You must be registered to see the links
and upload that new save file stored in www/save
4. Look for Item#292 in the inventory section. This is the small key ID, and should have a value of 1
5. Edit this value to 6. This will give you 6 small keys, needed to open all the doors in the lottery area
6. Download the edited save file, overwrite the save file in the www/save folder and open the game loading that new save file
7. Open all the doors in the lottery area without interacting with the chests. You'll then reach the end to open the final chest and win the game, without suffering through RNG.