forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Roost suppresses the user's Flying-type rather than remove and re-add…
… it. Added tests for EFFECT_ROOST. (#3258) * Fixed Roost clearing type3 when used by a pure Flying-type. (Gen 5+) * Created a test file for Roost. * Marked tests as TODO for now. * Added more tests for HP healed and type changing. * Created a function to handle Roost's Flying suppression when getting a battler's type. Added more tests. * Added test for not-yet-aquired Flying-type. Fixed/rewrote some other tests. * Now using GetBattlerType() in most relevant places. Fixed some tests. * Added tests for interactions between Roost and Delta Stream, type-changing effects, Grassy Terrain healing, Levitate, Air Balloon, Magnet Rise, and Telekinesis. * Added test for interaction between Roost and Reflect Type. * Gen 4 tests merged with Gen 5+ tests. * Removed errant space. Co-authored-by: LOuroboros <[email protected]> --------- Co-authored-by: LOuroboros <[email protected]>
- Loading branch information
1 parent
b18d018
commit 89e4f30
Showing
6 changed files
with
498 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.