rh-hideout / pokeemerald-expansion

Feature branches for the pokeemerald decompilation. See the wiki for more info.
305 stars 815 forks source link

Omniscient AI Point System for evaluating the AI's mons #4879

Open ShadowzLmao2 opened 5 days ago

ShadowzLmao2 commented 5 days ago

Description

In competitive Pokemon, we see that pro players will evaluate their team against their opponent. They will look at their mons and see how many of the opponents mons they can one-shot and how many they can hard wall or check. This comes into play when the AI_FLAG_OMNISCIENT is used but can be used based on info gathered over the course of the battle. The idea is that the AI gives each mon a score in each category of Check (Outspeed and kill) and Counter (take very little damage from). When there are checks like seeing how much BST a mon has to determine whether or not it's useful, we can replace that with this system. If the AI knows it's mon will die but it can check an opposing mon, it will instead try to sacrifice a mon that can check/counter nothing on the player team. Using merit based system instead of a static BST or HP check is better because a mon can have bad stats or low HP but is still able to check or wall certain mons (like for example ferroseed being useful). If you would like help with ideas for implementation lmk on discord. I dont get github notifications. DM is fine, ping on RHHideout is also fine

Discord contact info

SShadowzLmao#3643

AlexOn1ine commented 5 days ago

Obviously a good idea but I worry that this will slow down the AI significantly