• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Relearning any level-up move

Relearning any level-up move 2017-02-16

Pokémon Essentials Version
v16.2 ➖
What's this?
Since Pokémon Sun and Pokémon Moon, any Pokémon can learn any level-up move with the use of the Move Reminder and a Heart Scale.

Design notes
Be creative! The Move Reminder in Alola is present at almost the end of the game, so you cannot teach very powerful moves to your Pokémon right away. If the Move Remidner is available early on in your game, make sure the required item/currency is scarce, so that it won't break the game's difficulty curve!

Installation
Open your Script Editor and go to section "PScreen_MoveRelearner".
Find "def pbGetRelearnableMoves(pokemon) and replace the method entirely (from line 12 to about 28) with the following code:
Code:
Expand Collapse Copy
def pbGetRelearnableMoves(pokemon)
 return [] if !pokemon || pokemon.isEgg? || (pokemon.isShadow? rescue false)
 moves=[]
 pbEachNaturalMove(pokemon){|move,level|
	  moves.push(move) if !moves.include?(move) && !pokemon.hasMove?(move)
 }
 tmoves=[]
 if pokemon.firstmoves
   for i in pokemon.firstmoves
	 tmoves.push(i) if !pokemon.hasMove?(i) && !moves.include?(i)
   end
 end
 moves=tmoves+moves
 return moves|[] # remove duplicates
end

Alternatively, change this bit:
Code:
Expand Collapse Copy
  pbEachNaturalMove(pokemon){|move,level|
	 if level<=pokemon.level && !pokemon.hasMove?(move)
	   moves.push(move) if !moves.include?(move)
	 end
  }

Into this:
Code:
Expand Collapse Copy
pbEachNaturalMove(pokemon){|move,level|
	  moves.push(move) if !moves.include?(move) && !pokemon.hasMove?(move)
 }
Credits
h7zpBm0.png

Please credit if used to:

Mr. Gela

Please do not redistribute this anywhere resource anywhere else. If you wish to share this, link to this site.

xa1A2iB.png

Por favor da créditos si lo utilizas a:
Mr. Gela

Por favor no redistribuyas este recurso en ningún otro lugar. Si quieres compartir esto, utiliza un enlace a este sitio.
  • Like
Reactions: TheGamingPaladin
Author
Mr. Gela
Views
1,500
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Mr. Gela

Back
Top