- Pokémon Essentials Version
- v18.1 ✅
I just thought it'd be a fun idea! This is a pretty valuable resource for a player to have, though, so you might want to make this a hard-to-acquire move.
I used Instruct as the move for this, because I thought it was fitting, but you can easily change that by just replacing Instruct with the internal name of any other move!
In PScreen_Party, find:
Change it to:
Below that, find
Right below "break", add
This has just two restrictions: It can't be used on the user, and it depletes 1PP per use. Just remove those parts if you want that to change!
I used Instruct as the move for this, because I thought it was fitting, but you can easily change that by just replacing Instruct with the internal name of any other move!
In PScreen_Party, find:
Ruby:
if !pkmn.egg? && (isConst?(move.id,PBMoves,:MILKDRINK) ||
isConst?(move.id,PBMoves,:SOFTBOILED) ||
Change it to:
Code:
if !pkmn.egg? && (isConst?(move.id,PBMoves,:MILKDRINK) ||
isConst?(move.id,PBMoves,:SOFTBOILED) ||
isConst?(move.id,PBMoves,:INSTRUCT) ||
Below that, find
Ruby:
end
@scene.pbSelect(oldpkmnid)
pbRefresh
break
Right below "break", add
Ruby:
elsif isConst?(pkmn.moves[i].id,PBMoves,:INSTRUCT)
if pkmn.moves[i].pp<=1
pbDisplay(_INTL("Not enough PP..."))
break
end
@scene.pbSetHelpText(_INTL("Use on which Pokémon?"))
oldpkmnid = pkmnid
loop do
@scene.pbPreSelect(oldpkmnid)
pkmnid = @scene.pbChoosePokemon(true,pkmnid)
break if pkmnid<0
newpkmn = @party[pkmnid]
movename = PBMoves.getName(pkmn.moves[i].id)
if pkmnid==oldpkmnid
pbDisplay(_INTL("{1} can't use {2} on itself!",pkmn.name,movename))
elsif newpkmn.egg?
pbDisplay(_INTL("{1} can't be used on an Egg!",movename))
elsif !pbHasRelearnableMove?(newpkmn)
pbDisplay(_INTL("{1} can't be used on that Pokémon.",movename))
else
pkmn.moves[i].pp -= 1
pbRelearnMoveScreen(newpkmn)
pbRefresh
end
end
@scene.pbSelect(oldpkmnid)
pbRefresh
break
This has just two restrictions: It can't be used on the user, and it depletes 1PP per use. Just remove those parts if you want that to change!
- Credits
-
Credit to TechSkylander1518, please!