That command does return true. Also, I ascended since my last post and the bug appears to be happening less frequently now, though it still happens sometimes: I burned ~160 adventures with the script and the bug only came up once.
The thing is, when I picked a familiar and restarted the script, it put that familiar back in my terrarium and quit because I didn't have a familiar after that. I'm in normal aftercore after a Standard ascension, so there shouldn't be any restrictions on my using familiars. Maybe I have some...
Hey, the script is working great for me for the most part, but it seems to freeze every time it encounters an HP test, not happy that I don't have a familiar or something. Anyone know what's going wrong?