• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

How to correctly use evolutions?

  • 214
    Posts
    9
    Years
    I'm kind of confused right now so I'm asking this. How do I properly use the evolution script? I want to add to a forest in my game the "event"(don't know how to put this) where if the player has eevee and it levels it up in the forest it will become a Leafeon as in Pokemon games. However, I don't know how to do this and the tutorial in the wiki it's like a little too much for a noob like me. >.< (Sorry to for the bother)
     
    Look how the evolution for Leafeon is already defined in your pokemon.txt
    Code:
    Evolutions=VAPOREON,Item,WATERSTONE,JOLTEON,Item,THUNDERSTONE,FLAREON,Item,FIRESTONE,[COLOR="Red"]LEAFEON,Location,11[/COLOR],GLACEON,Location,8,ESPEON,HappinessDay,,UMBREON,HappinessNight,
    Location is saying that if Eevee levels up on a certain map, it will evolve into Leafeon. 11, next to it, is the id of that map.
     
    There's something I'm not doing correctly. Wait do I have to put the ID number in the pokemon.txt? If so I'm so stupid I thought I had to make an event I'll go change the id number to the map of my forest right now.---------------------------
    Pokemon Dreams and Wishes
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 2, map 82 (Treyleaf Forest):

    Exception: NameError

    Message: (eval):1:in `pbExecuteScript'uninitialized constant Interpreter::LEAFEON

    ***Full script:

    Evolutions=LEAFEON,82,11


    Interpreter:243:in `pbExecuteScript'

    Interpreter:1606:in `eval'

    Interpreter:243:in `pbExecuteScript'

    Interpreter:1606:in `command_355'

    Interpreter:494:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Game_Event:265:in `update'

    Game_Map:453:in `update'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:1606:in `command_355'

    Interpreter:494:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Game_Event:265:in `update'

    Game_Map:453:in `update'

    Game_Map:451:in `each'

    Game_Map:451:in `update'



    This exception was logged in

    C:\Users\Maria\Saved Games/Pokemon Dreams and Wishes/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    Oh I see what I was doing wrong I should've read mej's comment better. The error I was making was that I was taking out location and putting the id. However, I'm getting this error ---------------------------
    Pokemon Dreams and Wishes
    ---------------------------
    Script 'Elite Battle EntryAnimations' line 32: NameError occurred.

    uninitialized constant PBSpecies
    ---------------------------
    OK
    ---------------------------
    And this is what there is in that line and I'm not sure if this will cause an error If I delete it.# List of Pokemon that are going to trigger the "Minor Legendary" battle entry
    # animation
    MINOR_LEGENDARIES = [
    PBSpecies::MOLTRES,
    PBSpecies::ARTICUNO,
    PBSpecies::ZAPDOS,
    ]
    And it seems it didn't do any error so it seems I'm fine now. So thanks for the help guys.
     
    Last edited:
    Back
    Top