mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Snowstorm, forfeiting trainer battles, battle outcome values
This commit is contained in:
@@ -747,6 +747,12 @@ MultipleForms.register(:CALYREX, {
|
||||
}
|
||||
})
|
||||
|
||||
MultipleForms.register(:BASCULEGION, {
|
||||
"getForm" => proc { |pkmn|
|
||||
next (pkmn.female?) ? 3 : 2
|
||||
}
|
||||
})
|
||||
|
||||
MultipleForms.register(:LECHONK, {
|
||||
"getForm" => proc { |pkmn|
|
||||
next pkmn.gender
|
||||
|
||||
@@ -432,7 +432,7 @@ EventHandlers.add(:on_start_battle, :record_party_heart_gauges,
|
||||
)
|
||||
|
||||
EventHandlers.add(:on_end_battle, :check_ready_to_purify,
|
||||
proc { |_decision, _canLose|
|
||||
proc { |_outcome, _canLose|
|
||||
$game_temp.party_heart_gauges_before_battle.each_with_index do |value, i|
|
||||
pkmn = $player.party[i]
|
||||
next if !pkmn || !value || value == 0
|
||||
|
||||
Reference in New Issue
Block a user