• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script: Ultimate move tutor, the return

  • 6
    Posts
    1
    Years
    • Seen Sep 18, 2024
    This script is using the move relearner as a base, to add eggmoves and every move learned by a pokémon by TM or by Tutor (thanks v19and v20 ).
    If you have ideas you want to share about this script, feel free to leave a comment!
    [PokeCommunity.com] Ultimate move tutor, the return


    Installation
    Installation link here!
    Put everything inside your game root folder.

    How to use the script

    Several variables are used by this script. You can define them at the beginning of the move_tutor file.

    By default variable 34 is used to control the type of moves you can learn.
    You can make distinct NPCs for each function (comments are written in the script to help you).
    0 is the good old move relearner.

    1 adds eggmoves to the list.
    By default, it also returns the baby species moves (hello Spore Breloom) if they have the level.

    2 adds tutormoves and TMs.

    3 is the Hackmon mode, making every move in your game available for any Pokémon.

    4 is the Stabmon mode, allowing your pokemon to learn every move of their types. If you are using this script with v19, in both scripts, replace types[0] by type1 and types[1] by type2.

    5 is the Alphabetmon mode, where a pokémon can learn every mode that share the same first letter with their name.

    6 is the universal move tutor who gives the moves defined at the beginning of the move_check.rb script

    7 is a classic move tutor for those who want to unlock more moves during the game. Just make a list of moves for every pokémon you want to give more moves as the example in the scripts. Don't forget to modify both scripts if you are using this option.

    When this variable is setup to what you want, take the normal move relearner event.
    [PokeCommunity.com] Ultimate move tutor, the return

    change this first script section to this one:
    Code:
    pbChoosePokemon(1, 3, proc{ |pkmn|
        can_learn_move(pkmn)
        }, true
    )


    then find this conditional branch below
    [PokeCommunity.com] Ultimate move tutor, the return


    Replace the script in the condition by this one:
    can_learn_move(pbGetPokemon(1))==false

    How to use the banlists?

    Go to the settings of the scripts at the beginning of the movetutor file
    First, the BORW switch (switch 59 by default) tells if you are using a blacklist (false) or a whitelist (true).

    As you can see in the script, the banlists are a list of lists.
    The Banvar variable (variable 35 by default) tells you which list in the script you are using. This way you can change your banlist as your player progress in the game. The first list is empty so if you are not using the banlist, don't touch the BORW and Banvar switch.

    If you are not familiar with the code,
    here is a detailed example:

    Let's say I don't want a level 10 Dratini to learn Outrage at the beginning of the game. Also I have added Draonascent to the tutor move list of the Dratini family in my pbs files. My Blacklist looks like this:
    Blacklist=[[],[:OUTRAGE,:DRAGONASCENT],[:DRAGONASCENT],[]]

    The first page of my move tutor have these parameters:
    [PokeCommunity.com] Ultimate move tutor, the return


    This means I'm using the second list(banvar=1) of the blacklist(BORW=false), in the standard move tutor mode (movetutor=2)

    Then later in my game, whenever I want, I can unlock Outrage by making a second page in my movetutor event, changing only banvar to 2 instead of 1.

    Then in late game, you make a third page with everything available(banvar=0 or 3 here)

    You can make as many lists as you need, and you could unlock new moves after every gym battle for example.

    Last small example,
    I want to make a movetutor teaching those moves specifically and not something else, as soon as I unlock them.
    This time I will use a whitelist like this one:
    Whitelist=[[],[:OUTRAGE],[:OUTRAGE,:DRAGONASCENT]]

    This time, in my NPC, I set BORW switch to true, and, on the first usefull page, banvar=1 to make them teach only Outrage. Then, later on a second page, I keep the same setup with banvar=2.

    Imagine I'm totally crazy and want every Pokémon to learn Outrage with this NPC, I could set the movetutor variable to 3 (hackmode mode), with the same other variable setup than before.

    Credits:
    Grogro
     
    Last edited:
    I can't find an example file or an example map or how to write a script in the download file.
     
    you are not supposed to write a script here. just take move relearner event from essentials maps and change it. I had an example NPC a long time ago but I don't really want to let this inside.
     
    I was wondering. Is it possible to create an array of moves for a specific Pokémon Type, that any Pokémon of that type can learn? I tried making it myself for the needs of my fan game project, but I had no luck. This is the error message I got, and what I tried to figure out, to get the Move Tutor variable to be able to freely teach any Pokémon that is a Bug Type the moves in the Universal Bug Type Moves array. I was using the Stabmon setting as a reference.
    [PokeCommunity.com] Ultimate move tutor, the return
    [PokeCommunity.com] Ultimate move tutor, the return
    [PokeCommunity.com] Ultimate move tutor, the return
     
    I was wondering. Is it possible to create an array of moves for a specific Pokémon Type, that any Pokémon of that type can learn? I tried making it myself for the needs of my fan game project, but I had no luck. This is the error message I got, and what I tried to figure out, to get the Move Tutor variable to be able to freely teach any Pokémon that is a Bug Type the moves in the Universal Bug Type Moves array. I was using the Stabmon setting as a reference.
    View attachment 170827
    View attachment 170828
    View attachment 170829
    Never mind, I was able to get help via Eevee Expo. I mixed up ( ) and [ ] because their colors in my text editor are very similar. I solved my own problem.
     
    Back
    Top