[Bug]: Tracker fails to display all 4 moves used by enemy Pokémon in battle #498
Labels
Bug
Something isn't working
Fixed/Added in Dev
Bugs fixed / Features added in dev, but not in main/release yet.
Move Tracking
Bugs/Features relating to move tracking
Milestone
Describe the bug
This is a follow-up to this issue: #202
Just reading through it again has given me an idea for how to solve the more common case here: where all 4 moves do get used in battle and those should be the 4 moves displayed.
The solution is to just track the moves used for the Pokémon (plural) in the current battle, like we track many battle related things. If all 4 moves are known for a given Pokémon, the Tracker just displays those; otherwise is falls back to using the original implementation.
Seems easy enough to code while also avoiding the legacy code logic I've been really trying to avoid changing
Steps to Reproduce
Example Scenario
In this case, the lv.32 Shedinja used moves: Spikes, Sweet Scent, Aromatherapy, and Torment, but the Tracker is displaying a non-helpful old move.
What tracker version are you using?
v8.9.0
What operating system are you using?
Windows
What emulator(s) are you seeing the problem on?
Bizhawk 2.9
Relevant log output
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: