You literally just listed all of my favorite video games.
Fire Emblem in particular has an enormous cast of exceptionally engaging characters (as does Dynasty Warriors, which is another favorite of mine), who instill the values of friendship, loyalty, self-sacrifice, etc. etc. Not dissimilar to the characters and plot of Harry Potter.
Pokemon, likewise. Also teaches respect for the environment to a degree, as well as the importance of teamwork (if you train your Pokemon right anyway). I posted a response to another poster who asked if playing a video game was sinful because one of the tools in the game was named “Zeus.” A name does not make an entire video game/story/series/thing sinful. That would be absurd and is honestly making me even more concerned you might suffer from scrupulosity. You need to talk to a good priest or spiritual director. It’s like OCD about sin, and it can be very spiritually harmful. Far more harmful than playing a videogame with a character named “Kadabra.”
Legend of Zelda is a fantasy universe. You aren’t going out and chanting incantations trying to summon the Triforce in your backyard, because that’s absurd and unrealistic. Magic in a videogame is only occult if you go out and expect those things to actually do something in the real world. It’s a video game. If you can’t separate fantasy from reality, you shouldn’t be playing them in the first place, and if you can there is no problem to speak of.
Your Ace Attorney example seems like nitpicking. Do you actually believe the dead can possess people and have an effect on law cases? If not, then it’s not a sin and you have nothing to worry about. If so, you need to see a priest because that’s an unfounded belief and the Church teaches that this doesn’t happen in real life.
Some would say that anything can be sinful, which is true. But knowing why you’re asking these somewhat extreme questions, I will provide the following answer. None of the things you have listed are in any way sinful. Harry Potter books will not lead you to practice the occult if you can separate reality from fiction. Legend of Zelda will not lead you to smash people’s pots and cut their chickens, because I’m going to assume you’re a reasonable person with an understanding of social boundaries in real life vs. a video game. I’m going to assume that you aren’t going to go try to fight a lumberjack with a sword instead of a spear because you might get 2x hits in and a better chance to block. Because I imagine you are capable of separating Fire Emblem’s combat system from a real life conversation with another human being.
The devil can attack us in many ways, so we should certainly be vigilant to resist temptations and keep ourselves from sinning. But playing Pokemon in your free time isn’t going to get you possessed or something. That’s absurd.