Absolute value has been added, just use _abs(number)
I've started working on more advanced ai that will allow objects to have more complex behaviors than mindlessly attacking objects on different teams. They will be able to make allies or enemies (if their team is set to 0), run away from threats, and remember things that have been done to them in the past. Right now the only effect is that neutral units like chickens will become hostile if you attack them. There will be more custom personality traits soon.
There's a "threat rating" parameter, which will affect how other sprites perceive each other and evaluate their chances in battle. What would be a good rating for the player, do you think? It's all going to be relative, but I want something that feels intuitive. Maybe 100, and a "typical" threat rating would be about the same as the sprite's max HP?
EDIT: Checking out Lusuria. It's pretty cool - love the branching dialogue and the characterization! (I loled at the idea of a mushroom monster who is sensitive about his age, and the clumsy dragon bartender
)
A few minor quibbles (with the understanding that it's not done, of course):
Maybe put some of the longer dialogue into the dialogue trees instead of running it automatically when the player enters the room? Some players want to read everything, but others will want to just get on with it.
I think you may be overusing the "one talkative character, one quiet character" dynamic a tiny bit; even though there's some differences between them it still feels a little repetitive. (Unless it's meant to be an intentional theme... like the idea that monsters tend to find partners that represent the opposite qualities.)
Also, you can spice up long text with
colored text, which can be nice when referring to important items. I've added a section for text options in the tutorial.
I made a package called "Check Desk", which you might find useful for any time you want to talk to a character on the opposite side of a desk.
The layering issue with the inn can be fixed by making the front desk a sprite instead of tiles.