Skip to content

Instantly share code, notes, and snippets.

@calvindalenta
calvindalenta / rmmv-remove-random-encounter.py
Created August 21, 2021 08:50
Removes random encounters by manipulating the map json properties
import json
import os
import re
# https://forums.rpgmakerweb.com/index.php?threads/how-to-turn-off-random-encounters.31071/
# The property name responsible for saving average number of steps between random encounters
es = 'encounterStep'
# Responsible for saving the list of enemies to encounter
el = 'encounterList'