pokeemerald/test
Brandon Lourenco 89e4f30867
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 <lunosouroboros@gmail.com>

---------

Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
2023-10-05 09:19:29 +02:00
..
battle Roost suppresses the user's Flying-type rather than remove and re-add it. Added tests for EFFECT_ROOST. (#3258) 2023-10-05 09:19:29 +02:00
fpmath.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
random.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
sprite.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
test_runner_args.c Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
test_runner_battle.c Fix Battle/Shell Armor + crit chance Tests (#3377) 2023-10-04 16:46:42 +02:00
test_runner.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00