What type of bug are you reporting? Mechanics
What is the bug?
The warning message for being possibly trapped does not check if the current Pokemon's type would be affected by the trapping Ability (which is always known in Gen 7+). For example, a Magnet Pull trap hint should never display for a non-Steel type, an Arena Trap hint should not display for a Pokemon currently immune to Ground, etc.
Are you able to replicate it? If so, how?
Sample replay with Ditto and Magnet Pull: https://replay.pokemonshowdown.com/gen9customgame-2027497833
What is the bug?
The warning message for being possibly trapped does not check if the current Pokemon's type would be affected by the trapping Ability (which is always known in Gen 7+). For example, a Magnet Pull trap hint should never display for a non-Steel type, an Arena Trap hint should not display for a Pokemon currently immune to Ground, etc.
Are you able to replicate it? If so, how?
Sample replay with Ditto and Magnet Pull: https://replay.pokemonshowdown.com/gen9customgame-2027497833