Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Incorrect effectiveness flash during heal #40

@laqieer

Description

@laqieer

Problem

Healed target's equipped weapon is treated as effectiveness incorrectly.
fe7-jp-stunning-tribble-0

Reason

gBattleTarget.weaponBefore is set during heal while gBattleTarget.weapon is not, and IsItemEffectiveAgainst accepts bu->weapon as argument, so if the previous battle target's weapon happens to be effective against the current healer, bug happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions