mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed battle rule "forceCatchIntoParty" being circumventable, fixed wrong message when sending a party Pokémon to storage and replacing it with a caught Pokémon
This commit is contained in:
@@ -30,7 +30,7 @@ def pbEventCommentInput(*args)
|
||||
return nil if list.nil?
|
||||
return nil unless list.is_a?(Array)
|
||||
list.each do |item|
|
||||
next if ![108, 108].include?(item.code)
|
||||
next if ![108, 408].include?(item.code)
|
||||
next if item.parameters[0] != trigger
|
||||
start = list.index(item) + 1
|
||||
finish = start + elements
|
||||
|
||||
Reference in New Issue
Block a user