- 17
- Posts
- 8
- Years
- Spain
- Seen Feb 11, 2025
Important: This edit doesn't work with EBS, and is compatible with essentials 16+(i don't know if in previous versións will work)
Tired of the extremely slow battles? Don't worry, this little script modification will help you.
Find 'PokeBattle_Battle' script. Now, replace 'def pbStartBattle(canlose=false)' to:
It should look something like this:
Close the script editor and check it works, now you have more fast battles.
Is a little edit and posibbly there are better ways to do it, but this form is more easy and effective.
Sorry if there is something wrong explained, English is not my native language.
Tired of the extremely slow battles? Don't worry, this little script modification will help you.
Find 'PokeBattle_Battle' script. Now, replace 'def pbStartBattle(canlose=false)' to:
Code:
def pbStartBattle(canlose=false)
Graphics.frame_rate = 80
PBDebug.log("")
PBDebug.log("******************************************")
begin
pbStartBattleCore(canlose)
rescue BattleAbortedException
@decision=0
@scene.pbEndBattle(@decision)
end
Graphics.frame_rate = 40
return @decision
end
It should look something like this:
![[PokeCommunity.com] Speedup the default vanilla battles [EBS not compatible] [PokeCommunity.com] Speedup the default vanilla battles [EBS not compatible]](https://i.imgur.com/YlJHEcu.png)
Close the script editor and check it works, now you have more fast battles.
Is a little edit and posibbly there are better ways to do it, but this form is more easy and effective.
Sorry if there is something wrong explained, English is not my native language.