mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed incorrect Pokémon icons shown in Ready Menu if there are eggs in the party
This commit is contained in:
@@ -305,8 +305,8 @@ def pbUseKeyItem
|
||||
:WATERFALL, :WHIRLPOOL]
|
||||
real_moves = []
|
||||
moves.each do |move|
|
||||
$player.pokemon_party.each_with_index do |pkmn, i|
|
||||
next if !pkmn.hasMove?(move)
|
||||
$player.party.each_with_index do |pkmn, i|
|
||||
next if pkmn.egg? || !pkmn.hasMove?(move)
|
||||
real_moves.push([move, i]) if pbCanUseHiddenMove?(pkmn, move, false)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user