I came back to make repairs to Day Of Honor. It's "ask" function isn't working. I tried a couple of things, but no dice. At this point, it is written in as...
wait {
if (ask("Try again?")) {
MoveObject (crystal shard, player)
ClearScreen
MoveObject (player, outside the temple)
}
else {
finish
}
}
I
think this game was originally created before version 5. At some point, I wanted to add something, and I updated it (including the "ASL version = " in the code. It is now a "version 5.5" file. I have discovered that the game has a lot of bugs I somehow didn't notice at the time, and I am finally trying to fix it. At this point, I have the current version (5.6.2) of Quest installed. I've been trying to read-up in the documentation, but at this point it is kind of messy and confusing. Unfortunately, this same sequence is repeated verbatim about a dozen times at different possible points of character death, and they all hang the game with an message about how ask was deprecated, but so far as I can tell, all that's different as far as usage is whether I use an upper or lower case "A/a" in the word ask, and neither one seems to want to work. Which version of
ask should I be trying to use? Is there something about the way it's implemented that's interfering? Is that nested if/then business creating some kind of redundancy issue? I'm at a loss.
BTW: since it seems to be running the file, I have not changed the ASL version number in the code to 560 (562?). It is still listed as 550.
Sidenote: I really want to make a sequel to this now, but I feel like I should get "part 1" running smoothly first.