sovereignx/test/battle/move_effect
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
..
absorb.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
accuracy_down.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
after_you.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
assist.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
attack_down.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
attack_up.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
attack_up_user_ally.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
axe_kick.c Missing master merge organization 2023-08-13 19:01:03 -04:00
barb_barrage.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
beak_blast.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
bide.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
bug_bite.c Bug bite/Fling enigma berry interaction & tests (#3311) 2023-09-14 14:13:11 -03:00
burn_hit.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
burn_up.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
collision_course.c Missing master merge organization 2023-08-13 19:01:03 -04:00
corrosive_gas.c Missing master merge organization 2023-08-13 19:01:03 -04:00
court_change.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
defense_down.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
defense_up.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
defog.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
dire_claw.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
double_shock.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
dream_eater.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
encore.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
evasion_up.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
explosion.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
flinch_hit.c flinch tests + protect/flinch fix (#3345) 2023-09-30 20:30:28 -03:00
fling.c Bug bite/Fling enigma berry interaction & tests (#3311) 2023-09-14 14:13:11 -03:00
focus_punch.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
freeze_hit.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
gigaton_hammer.c Adds Gigaton Hammer and Salt Cure (#3297) 2023-09-15 11:18:47 -03:00
haze.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
healing_wish.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
hex.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
hit_escape.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
hit_set_entry_hazardss.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
hit_set_remove_terrain.c Merge branch 'RHH/master' into RHH/upcoming 2023-09-26 09:12:28 -03:00
hit_switch_target.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
hydro_steam.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
infernal_parade.c Missing master merge organization 2023-08-13 19:01:03 -04:00
make_it_rain.c Missing master merge organization 2023-08-13 19:01:03 -04:00
metronome.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
mind_blown.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
mirror_move.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
mortal_spin.c Missing master merge organization 2023-08-13 19:01:03 -04:00
multi_hit.c Fix CreateNPCTrainerPartyForTrainer test failing on modern (#3367) 2023-10-02 18:33:47 -03:00
paralyze_hit.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
poison_hit.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
population_bomb.c Missing master merge organization 2023-08-13 19:01:03 -04:00
protect.c Merge branch 'RHH/master' into RHH/upcoming 2023-09-26 09:12:28 -03:00
rampage.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
recoil_if_miss.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
reflect.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
revival_blessing.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
roar.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
roost.c 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
salt_cure.c Adds Gigaton Hammer and Salt Cure (#3297) 2023-09-15 11:18:47 -03:00
shell_trap.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
sleep.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
special_attack_down.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
special_attack_up_3.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
spikes.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
spin_out.c Missing master merge organization 2023-08-13 19:01:03 -04:00
sticky_web.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
stockpile.c Fix tests breaking on modern (#3319) 2023-09-19 12:15:03 +02:00
tailwind.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
take_heart.c Missing master merge organization 2023-08-13 19:01:03 -04:00
teatime.c Missing master merge organization 2023-08-13 19:01:03 -04:00
teleport.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
torment.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
toxic.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
toxic_spikes.c Fixed entry hazards switch in issue (#3316) 2023-10-01 10:30:41 -03:00
tri_attack.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00
triple_arrows.c Missing master merge organization 2023-08-13 19:01:03 -04:00
triple_kick.c Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
venoshock.c Organized tests into subfolders (#2822) 2023-08-12 20:00:15 +01:00