mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-24 15:26:01 +00:00
Playing ME is stopped if a battle is skipped, fixed bug in Encounters Editor, sprite renamer now recognises 4+ digit ID numbers
This commit is contained in:
@@ -256,6 +256,7 @@ def pbEncounterTypeEditor(enc_data, enc_type)
|
||||
help_window = Window_UnformattedTextPokemon.newWithSize(_INTL("Edit encounter slots"),
|
||||
Graphics.width / 2, 0, Graphics.width / 2, 96)
|
||||
help_window.z = 99999
|
||||
enc_type_name = ""
|
||||
ret = 0
|
||||
need_refresh = true
|
||||
loop do
|
||||
@@ -316,7 +317,7 @@ def pbEncounterTypeEditor(enc_data, enc_type)
|
||||
need_refresh = true
|
||||
end
|
||||
when 1 # Copy
|
||||
enc_data.types[enc_type].insert(ret, enc_data.types[enc_type][ret - 2].clone)
|
||||
enc_data.types[enc_type].insert(ret - 1, enc_data.types[enc_type][ret - 2].clone)
|
||||
ret += 1
|
||||
need_refresh = true
|
||||
when 2 # Delete
|
||||
|
||||
Reference in New Issue
Block a user