mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Created setting MAX_PARTY_SIZE, fixed some bugs
This commit is contained in:
@@ -985,7 +985,7 @@ ItemHandlers::UseOnPokemon.add(:DNASPLICERS,proc { |item,pkmn,scene|
|
||||
next true
|
||||
end
|
||||
# Unfusing
|
||||
if $Trainer.party.length>=6
|
||||
if $Trainer.party.length >= MAX_PARTY_SIZE
|
||||
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
|
||||
next false
|
||||
end
|
||||
@@ -1034,7 +1034,7 @@ ItemHandlers::UseOnPokemon.add(:NSOLARIZER,proc { |item,pkmn,scene|
|
||||
next true
|
||||
end
|
||||
# Unfusing
|
||||
if $Trainer.party.length>=6
|
||||
if $Trainer.party.length >= MAX_PARTY_SIZE
|
||||
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
|
||||
next false
|
||||
end
|
||||
@@ -1083,7 +1083,7 @@ ItemHandlers::UseOnPokemon.add(:NLUNARIZER,proc { |item,pkmn,scene|
|
||||
next true
|
||||
end
|
||||
# Unfusing
|
||||
if $Trainer.party.length>=6
|
||||
if $Trainer.party.length >= MAX_PARTY_SIZE
|
||||
scene.pbDisplay(_INTL("You have no room to separate the Pokémon."))
|
||||
next false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user