How does an ash script make a choice during adventuring?

I don't understand how this works.

I see scripts do the adventure(1, $location[X]) thing.

But lets say you want your script to choose a particular adventure, which may or may not correspond with the Adventure Choices tab for that area. (or does it have to correspond?)

Specifically, I wanted to make a simple slime.ash script. The first time it encounters the Ulvula encounter, I want to Squeeze to raise Monster Level. After the first time, I want to then Slink Away from then on.

How do I set it to choose Squeeze when it gets to that adventure. Then, once squeeze has occurred, I set my boolean or whatever. Then, how do I detect the non-combat adventure again and then make it Ignore that adventure?

Thanks!
 
Ok, that is a good idea. So.... how do you do that? Does it simply use whatever Choice settings for that location you already have set up in Mafia?
 

Bale

Minion
Correct.

There's a way to change it in a script using set_property(), but there's no reason to do that here.
 
Top