Mechanics Implementation of field- and all-target moves

DaWoblefet

Demonstrably so
is a Battle Simulator Administratoris a Community Leaderis a Top Programmeris a Community Contributoris a Top Researcheris a Top Tiering Contributoris a Social Media Contributor Alumnus
PS Admin
What type of bug are you reporting? Mechanics

What is the bug?
Moves like Perish Song should be implemented with a different target type than moves like Haze. In-game, they have different targeting properties; for example, Perish Song fails on Good as Gold and can be blocked by Psychic Terrain when Prankster-boosted, but Haze cannot. Perish Song and Haze themselves work fine with this because of special hardcoding, but other moves would not, like Teatime or Rototiller. I would recommend adopting "field" target to describe moves like Haze, Sandstorm, etc. and "all" target for moves like Perish Song, Teatime, etc.

Are you able to replicate it? If so, how?
Here is the list of "field" target moves in Scarlet/Violet (target number 10 in move data):
Haze
Sandstorm
Rain Dance
Sunny Day
Hail
Mud Sport
Water Sport
Gravity
Trick Room
Wonder Room
Magic Room
Ion Deluge
Grassy Terrain
Misty Terrain
Fairy Lock
Electric Terrain
Psychic Terrain
Court Change
Chilly Reception
Snowscape

Here is the list of "all" target moves (target number 8 in move data):
Perish Song
Rototiller
Flower Shield
Teatime
 
Back
Top