Save-Point
Map : Change Encounters - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Map : Change Encounters (/thread-776.html)



Map : Change Encounters - Kain Nobel - 02-07-2010

Map : Change Encounters
Version: 3.5
By: Kain Nobel

Introduction

I just created this so you can change map encounter list and step values... normally, you'd probably find yourself copy/pasting duplicate maps to have different encounters, but now you don't have to! It'll give your project just a little less weight, as far as 'duplicate maps' go...

Features
  • $game_map.encounter_list = [...] will change encounter list on current map
  • $game_map.encounter_step = number will change encounter steps on current map
  • $game_map.encounter_list = nil will reset encounter list to default
  • $game_map.encounter_step = nil will reset encounter step to default
  • $game_map.encounters[map_id].list = [...] will change encounter list on specified map
  • $game_map.encounters[map_id].step = number will change encounter steps on specified map
  • $game_map.encounters[map_id].list = nil will reset specified map's encounter list to default
  • $game_map.encounters[map_id].step = nil will reset specified map's encounter step to default
  • Changes to encounters and steps are effective the second you call it!
  • Enough said... wow the features are your instructions, how odd?

Script

Map : Change Encounters

Compatibility

Wow, this doesn't require SDK? How cool... however, this corrupts old save files, just to let'cha know!

This script aliases the following methods...
This script creates the following methods...

Donno if this works for VX but maybe it does? I do recall VX using "areas" to define encounters, so I'm guessing that could be an issue, but I'm just making a general assumption that for some reason it might not work in VX. Either way, I have VX so if you need a version made for it then I'll see what I can do for ya!

Credit and Thanks

Armor King 108 : Reporting some issues I overlooked in the first couple of posts, thank you! :thumb:


Terms and Conditions

Another "Free to use in commercial and non-commercial releases" script, but credit is required thanks ;)