It was almost working before but now I am getting frustrated so thought I'd ask for help -_-; I am using visustella plugins in my project to call a common event when walking in a specific region.
◆Control Variables:#0004 Random Battles 1 += Random 1..2
◆If:Random Battles 1 ≥ 40
◆Show Balloon Icon:Player, Exclamation
◆Set Movement Route:Player
: :◇Direction Fix ON
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = false
◆If:Evade Energy > 0
◆Control Timer:Start, 0 min 5 sec
◆If:Timer ≥ 0 min 1 sec
◆If:Button [Shift] is being pressed
◆Control Variables:#0003 Evade Energy -= 1
◆Control Variables:#0004 Random Battles 1 = 0
◆Control Timer:Stop
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆
:Else
◆If:Button [OK] is being pressed
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1
◆
:End
◆Control Variables:#0004 Random Battles 1 = 0
◆
:If Escape
◆Control Variables:#0004 Random Battles 1 = 0
◆
:End
◆Control Timer:Stop
◆
:End
◆
:End
◆
:End
◆
:Else
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1
◆
:End
◆Control Variables:#0004 Random Battles 1 = 0
◆
:If Escape
◆Control Variables:#0004 Random Battles 1 = 0
◆
:End
◆
:End
◆
:End
◆If:Random Battles 1 ≥ 40
◆Show Balloon Icon:Player, Exclamation
◆Set Movement Route:Player
: :◇Direction Fix ON
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = false
◆If:Evade Energy > 0
◆Control Timer:Start, 0 min 5 sec
◆If:Timer ≥ 0 min 1 sec
◆If:Button [Shift] is being pressed
◆Control Variables:#0003 Evade Energy -= 1
◆Control Variables:#0004 Random Battles 1 = 0
◆Control Timer:Stop
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆
:Else
◆If:Button [OK] is being pressed
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1
◆
:End
◆Control Variables:#0004 Random Battles 1 = 0
◆
:If Escape
◆Control Variables:#0004 Random Battles 1 = 0
◆
:End
◆Control Timer:Stop
◆
:End
◆
:End
◆
:End
◆
:Else
◆Plugin Command:VisuMZ_1_EventsMoveCore, Player Movement: Control
: :Enable? = true
◆Set Movement Route:Player
: :◇Direction Fix OFF
◆Battle Processing:Random Cave Mobs
:If Win
◆If:Evade Energy < 10
◆Control Variables:#0003 Evade Energy += 1
◆
:End
◆Control Variables:#0004 Random Battles 1 = 0
◆
:If Escape
◆Control Variables:#0004 Random Battles 1 = 0
◆
:End
◆
:End
◆
:End