J
jianmingyong
Guest
* This is more for the GameModes since there is no similar script in official game *
What I expected to happen:
Player cannot run from wild battle.
What actually happened:
Player can run from wild battle if @Battle.setvar(cancatch,false) does not exist.
Steps to reproduce:
@Battle.setvar(canrun,false) alone will not work...
A mini test:
What I expected to happen:
Player cannot run from wild battle.
What actually happened:
Player can run from wild battle if @Battle.setvar(cancatch,false) does not exist.
Steps to reproduce:
@Battle.setvar(canrun,false) alone will not work...
A mini test:
Code:
version=2
@Pokemon.add(252,5)
@Battle.setvar(canrun,false)
@Battle.wild(263,2)
:end