StevensSEC / pokemonbattlelib

A portable library for accurately simulating Pokemon battles.
GNU General Public License v3.0
12 stars 2 forks source link

Cannot use `defaultMoveOpt` in tests that check for moves #289

Closed adapap closed 3 years ago

adapap commented 3 years ago

When using defaultMoveOpt, there is no way to get the pointer to match the Move field of a transaction.

dyc3 commented 3 years ago

we should change the matcher to just match the move id instead