OK, revision 13202 does this:
- eliminates "go to goal" button if "Finish from Memory" is present
- "choice-goal" automates the current choice. For Dungeon Fist, that calls the built-in solver. Now, however, the solver looks for a "Finish from Memory" button, and, if present, uses that to complete the game.
Interesting fact: the "Finish from Memory" button is available even after you've started the game. If you "Go West" (which is the correct first move), there are the demons - and "Finish from Memory" is available as option 4. "choice-goal" will pick option 4, in that case; it looks at the responseText and picks the correct choice.
Untested question: does KoL give you a "Finish from Memory" option even if you've taken a wrong move somewhere? If so, does it give you 30 tickets, or as many as you would have gotten, or, what? I'm not curious enough to spend the token and the turns to test this.
So, the simplest Dungeon Fist ASH script is now this:
visit_url( "arcade.php?action=game&whichgame=3&pwd" );
visit_url( "choice.php?forceoption=0" );
cli_execute( "choice-goal" );
If a character who has not played the game before runs this script, "choice-goal" will invoke the built-in script.
For a character who has played the game before, "choice-goal" will "Finish from Memory".
No need to set choiceoption486 to anything.