Order of Execution here is wonky.
I've written a code that increases a certain stat by 1 and its substats by stat * 100. I noticed the following oddities with two variations of the code.
The first one works splendidly. For reference, Energy was set to 0 in another passage.
(set: $energy to it + 1) (set: $mHP to $energy * 100)
However, here is where things get a bit odd...
(set: $energy to it + 1, $mHP to $energy * 100)
Not sure what's going on. It's not too big of a deal, but just wanted to let you know.