>>54853374Yeah I wouldn’t trust game freak on that anon lol
>>54853381I think they pretty much have the same amount actually
>>54853389So I looked into this
Specifically it’s the offensive move selection that’s random. Pic related is from the leaked DP source code that the community got its hands on in 2020. You can see a whole chunk of the code is commented out (and there are actually comments made by game freak explaining why it’s commented out at the bottom but I wasn’t able to properly translate the text, if any Japanese speaking web knows what it’s saying feel free to translate it)
This piece of code, that would only execute for offensive moves that can hit you, would check if the move isn’t the strongest one and increase the move’s "preference" score by one. It would also increase the move’s score by 2 if it’s super effective, giving the AI a more offensive playstyle if it can be SE on you. Basically, it was the code that would determine which offensive move the AI uses to do maximum damage.
…and it’s commented out, meaning the AI will pick its offensive moves at random when it decides to attack, as long as they can hit you. To oversimplify, it sees every move as a OHKO move, do it’s not actually trying to deal maximum damage, just to hit you, with anything. So the status move logic is untouched and it won’t use moves you’re immune to, but when it decides to use an offensive move it will pick it at random. This is exclusive to DP and was fixed in Platinum.
(1/2)