Switch encounter rate steps within a map using events?

Hi everyone,
Thanks for all the help so far.

Is there a way to switch the encounter rate internal to one map using events?
I have two separate areas on one map that I want to have different encounter rates and they both have enemies.

Thank you!
You could theoretically mark your areas with a given region ID and then make a parallel process event that checks what region the player is in and modifies the encounter steps property of $dataMap accordingly.
You could disable random Encounters on that Map with Eventcommand "Change Encounter".

Than there is "Battle Processing" Eventcommmand to start a Fight, you can select "same as random encounter" in there.

1.
Parallel Event_01:
Deactivate the Random Encounters.
Erase Event

2.
Parallel Event_02:
stepsonstest12548.png

But this is only a rebuild of the standard System.
Also Encounter Half and Encounter None added by Equipment will not work
(But i guees it is possible to rebuild that too).

To have different Encounter Rates in different Areas, the code would need Editing.
Maybe i give it a try and Edit here.

Edit: Here a possible Edit, i just slapped it together, i hope its not to confusing.
Spoiler
Code:
◆Get Location Info:RegionNow, Region ID, Player
◆If:RegionNow ≠ RegionOld
  ◆Control Variables:#0019 RegionOld = RegionNow
  ◆Control Variables:#0008 Var8_StepCount = 0
  ◆Control Variables:#0006 Var6_StepsUntilFight = 0
  ◆If:RegionNow = 1
    ◆Control Variables:#0022 StepsMinimum = 15
    ◆Control Variables:#0023 StepsMaximum = 25
    ◆
  :End
  ◆If:RegionNow = 2
    ◆Control Variables:#0022 StepsMinimum = 25
    ◆Control Variables:#0023 StepsMaximum = 35
    ◆
  :End
  ◆
:End
◆If:Var6_StepsUntilFight = 0
  ◆Control Variables:#0024 HelpCalculateVar = StepsMaximum
  ◆Control Variables:#0024 HelpCalculateVar -= StepsMinimum
  ◆Loop
    ◆If:HelpCalculateVar = 0
      ◆Control Variables:#0006 Var6_StepsUntilFight += StepsMinimum
      ◆Break Loop
    :Else
      ◆Control Variables:#0006 Var6_StepsUntilFight += Random 0..1
      ◆Control Variables:#0024 HelpCalculateVar -= 1
      ◆
    :End
    ◆
  :Repeat Above
  ◆
:End
◆Control Variables:#0005 Var5_Player_Steps = Steps
◆If:Var5_Player_Steps ≠ Var7_Player_Old_Steps
  ◆Control Variables:#0007 Var7_Player_Old_Steps = Var5_Player_Steps
  ◆Control Variables:#0008 Var8_StepCount += 1
  ◆If:Var8_StepCount ≥ Var6_StepsUntilFight
    ◆Control Variables:#0008 Var8_StepCount = 0
    ◆Control Variables:#0006 Var6_StepsUntilFight = 0
    ◆Battle Processing:Same as Random Encounters
    :If Win
      ◆
    :If Escape
      ◆
    :If Lose
      ◆
    :End
    ◆
  :End
  ◆
:End
Edit: Iam sure i overcomplicated things and the code could be shortened and made easier.
Maybe you could create two events. One adds a state and one subtracts it. Put them side by side like you would for turning a sound on or off as you approach or leave.

The state could be no icon 0 priority so it wouldn't show up and have it increase encounter rates.

Original thread: https://forums.rpgmakerweb.com/threads/switch-encounter-rate-steps-within-a-map-using-events.154754/