area randomizer + static encounters randomizer

This commit is contained in:
infinitefusion
2022-09-17 18:03:11 -04:00
parent a81e7240b4
commit c57045616d
22 changed files with 279 additions and 210 deletions

View File

@@ -984,6 +984,7 @@ module Compiler
slots.compact!
slots.sort! { |a, b| (a[0] == b[0]) ? a[1].to_s <=> b[1].to_s : b[0] <=> a[0] }
end
p encounter_hash
GameData::Encounter.register(encounter_hash)
end
# Raise an error if a map/version combo is used twice
@@ -1055,6 +1056,7 @@ module Compiler
slots.compact!
slots.sort! { |a, b| (a[0] == b[0]) ? a[1].to_s <=> b[1].to_s : b[0] <=> a[0] }
end
p encounter_hash
GameData::Encounter.register(encounter_hash)
end
# Save all data