ArcaneArceus Posted April 29 Share Posted April 29 Quote 《兵法》,孙子。 知彼知己,百戰不殆;不知彼而知己,一勝一負;不知彼,不知己,每戰必敗。 Know your enemy and know yourself, and you need not fear the result of a hundred battles. Know yourself, but not your enemy, and for every victory gained, you will also suffer a defeat. Know neither yourself nor your enemy, and you will succumb in every battle. Sun Tzu, The Art of War Pokemon Reborn has one-thousand, one-hundred, and seventy-nine battles. Now, while a few of these are only available through illegitimate means – such as Tham the Tench Engine and Mr. Meow Mix – and many more are random trainers with no distinguishing features whatsoever, knowing your enemy and knowing yourself can carry you to victory through all of them. About three weeks ago, I decided to start a mono-Bug run, and – inspired by watching Run and Bun videos – wanted to go for as few faints as possible with clear, clean lines. As such, I would need to understand the AI's behavior. However, while the basic information about the AI – it works based off scores for each action it can take – I couldn't find a full document detailing how these scores were calculated anywhere (for good reason), so I (someone with poor reason) decided to make it myself. Anyway, here's a 125 page document detailing the 12676 lines of code that make up the Battle_AI.rb file in the Pokemon Reborn code as of v19.5.26. It's broadly organized into 3 parts: Item AI, switching AI, and move AI, with the vast majority of the doc taken up by move score calculations. I hope it's understandable, please tell me if anything is not, and I damn hope this document helps at least one other person. (Feel free to port this to Google Docs or something, I'm just a "torture myself with Microsoft Office" type of girl). Pokemon Reborn AI.docx 4 Quote Link to comment Share on other sites More sharing options...
nixahma Posted April 29 Share Posted April 29 I CAN BE TRUSTED WITH THE 123 PAGE REBORN AI DOCUMENT Quote Link to comment Share on other sites More sharing options...
Eclipse_reader Posted April 30 Share Posted April 30 OMG THIS IS AMAZING??! KSKSOWLSKS THANK YOU SO MUCH, that's so cool!! Quote Link to comment Share on other sites More sharing options...
Polarticket Posted May 6 Share Posted May 6 o7 thank you for your service Quote Link to comment Share on other sites More sharing options...
lilysmith10 Posted May 17 Share Posted May 17 that's so cool! mapquest directions Quote Link to comment Share on other sites More sharing options...
Vennpaul Posted July 2 Share Posted July 2 (edited) What specific aspect of the AI's behavior are you most curious about? papa's scooperia Thank you! Edited July 2 by Vennpaul Quote Link to comment Share on other sites More sharing options...
phoenix107 Posted July 3 Share Posted July 3 This is rly funny, I started going over the code yesterday (mostly for switch in AI bc my nuzlocke run could REALLY use some more info), and then today I see this on the discord xD Its mostly what I alr gathered from the code myself but still more useful bc this is easier to edit, so thank you for taking the time! P.S.: some of the comments in the code are FIRE I love #fuck at one point and the whole comment section around Safeguard movescoring is hilarious Quote Link to comment Share on other sites More sharing options...
yoshibertil Posted July 14 Share Posted July 14 Is there an english or japanese version? The link only seems to be in chinese Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.