Figiel Migiel
Figiel Migiel
PPyBoy
Created by Figiel Migiel on 5/18/2025 in #support
Exploration AI in Pokemon Red - Is there an easy way to skip battles?
Hi, I’m new here and I’ve only been using PyBoy for about two months. I’ve already done some research and created small projects, like automatic exploration using Q-learning or battling with randomly chosen buttons. Ok, now to the point. I’ve started a somewhat more complex project using Double Deep Q-learning for exploration and I’d like to make it as effective as possible. I need help with one thing: Is there an easy way to skip battles? I know there’s a special flag that indicates whether a battle is occurring, but is there a simple method to automatically run away or just skip it? In the worst case, is there some tuning I can apply to make running away 100% successful? That way I could have the AI run every time, even if that might be overly optimized.
17 replies