mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
6.4 update (minus sprites)
This commit is contained in:
@@ -1015,7 +1015,7 @@ class PokemonPartyScreen
|
||||
@scene.pbAnnotate(nil)
|
||||
end
|
||||
|
||||
def pbPokemonMultipleEntryScreenEx(ruleset)
|
||||
def pbPokemonMultipleEntryScreenEx(ruleset,ableProc=nil)
|
||||
annot = []
|
||||
statuses = []
|
||||
ordinals = [_INTL("INELIGIBLE"), _INTL("NOT ENTERED"), _INTL("BANNED")]
|
||||
@@ -1033,8 +1033,11 @@ class PokemonPartyScreen
|
||||
ret = nil
|
||||
addedEntry = false
|
||||
for i in 0...@party.length
|
||||
statuses[i] = (ruleset.isPokemonValid?(@party[i])) ? 1 : 2
|
||||
statuses[i] = (ruleset.isPokemonValid?(@party[i],ableProc)) ? 1 : 2
|
||||
end
|
||||
|
||||
|
||||
|
||||
for i in 0...@party.length
|
||||
annot[i] = ordinals[statuses[i]]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user