Vesly's ASM

5 Likes

Fire Emblem Heroes character has a weapon description so long that it eats  up half of the gameplay screen. : r/gachagaming

10 Likes

Perhaps I am mistaken, but I believe Group AI and Canto+ AI conflict as they both write to 0x39C44?

Either way, this seems really easy to fix as you just need to port the “AIMoveDistance”, remembering to rename any constants, at the start of GroupAIDanger.asm where it would normally handle the vanilla routine anyway.

1 Like

Charge seems to hook 0x39C44 to update the tiles moved. Previously, the AI would never get a bonus from charge if you had installed group ai here. As far as I can see, it is totally unrelated to canto+. I’ve copied over the code from AiMoveDistance as you suggested. I’ve also made it not install the AggroIfInDanger part by default now. If enemies are in danger, you may or may not want them to charge at you. If you want this and you’re using a buildfile, install GroupAi after charge or comment out this line in your buildfile.

1 Like

The issue overwriting charge would cause, at least from my testing, is that charge was needed to write the amount of spaces moved for Canto+ AI, as such a feature doesn’t exist in vanilla. So an enemy would move with canto+, but their move count would never update, so they would have full movement after attacking/moving.

1 Like

I’ve made a PR to skill sys adding the following skills:

Draw Back: Unit moves 1 space away from target ally. Ally moves to unit’s previous space.
Sacrifice: Drains the user’s HP to restore the HP of another allied unit. It also cures status effects, with no HP cost to the user.
Ardent Sacrifice: Restores 10 HP to target, but drops user’s HP by 10.
Reciprocal Aid: User and target ally switch their current HP totals.

mGBA_FsZ0XLv0Ic

mGBA_4pFRGmgcgY

Thanks to @Mikey_Seregon for commissioning these skills and making them free to use.

19 Likes

These look AMAZING! Draw Back seems especially useful

1 Like