mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fixes move remembering issue when unfusing
This commit is contained in:
@@ -1196,7 +1196,6 @@ class PokemonPartyScreen
|
||||
#exclude current moves
|
||||
echoln "learned moves: #{learnable_moves}"
|
||||
for current_move in pokemon.moves
|
||||
echoln current_move.id
|
||||
if learnable_moves.include?(current_move.id)
|
||||
learnable_moves.delete(current_move.id)
|
||||
end
|
||||
@@ -1204,7 +1203,7 @@ class PokemonPartyScreen
|
||||
move_ids = []
|
||||
for move in learnable_moves
|
||||
if move.is_a?(Symbol)
|
||||
move_ids << move
|
||||
move_ids << move if pokemon.compatible_with_move?(move)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user