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