how do i make a state that is stronger then another state
for example:
STRONG Does extra damage against WEAK
WEAK Does less damage against STRONG
It sounds like you're just talking about elements.
You can define elements in your database and name them whatever you like, then you can put traits onto actors/states/weapons to make them attack using an element and take more or less damage from a given element.
Which version of RPG Maker are you using? You can use states to adjust elemental weaknesses, and in MZ, you can use states to alter the Normal Attack element. You can also have all your skills use the Normal Attack element as well. If you do this, it would be best to only use this method to determine vulnerabilities, as adding in other elements tied to specific skills could complicate things. So, you could have a Sad state with a Trait Effect of Happy Damage 50% and Angry Damage 200%, plus an effect for Attack Element: Sad. Happy, Sad, and Angry would be listed in the Elements section of the Database.
I was also wondering how to correctly predict the person that the ai will attack next turn, for the skill "OBSERVE"
As far as I know, there's no way to do that in the engine. There might be a plugin for it, but I don't know. Best to create a new thread for this specific question, as it doesn't quite relate to your original post on states.