Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old April 8th, 2013 (11:06 PM). Edited April 9th, 2013 by Black Eternity.
Black Eternity's Avatar
Black Eternity Black Eternity is offline
Lord of Eternity
     
    Join Date: Sep 2012
    Age: 24
    Gender: Male
    Posts: 59
    Okay the real fix has been found. To fix this is really simple.

    Go to script section PokemonTrading
    Go to line 199 and Change
    Code:
      pbFadeOutInWithMusic(99999){
        evo=PokemonTradeScene.new
        evo.pbStartScreen(myPokemon,yourPokemon,$Trainer.name,opponent.name)
        evo.pbTrade
        evo.pbEndScreen
      }
    end
    To:
    Code:
      pbFadeOutInWithMusic(99999){
        evo=PokemonTradeScene.new
        evo.pbStartScreen(myPokemon,yourPokemon,$Trainer.name,opponent.name)
        evo.pbTrade
        evo.pbEndScreen
      }
      $Trainer.party[pokemonIndex]=yourPokemon
    end
    Thanks Yusshin.

    Event (workaround) old post.
    Spoiler:
    Not really an Add-on but a do it yourself... didnt know where else to post if not here.
    So I wanted to fix trades, and found out how to get it working properly through events. (no more returning pokemon)

    Just take a look at the attached screenshot, it shows how to setup the basic trade.

    In case you cannot see the attached, open event and add the following script:
    Spoiler:

    p=PokeBattle_Pokemon.new(
    PBSpecies::HAUNTER,
    pbGetPokemon(1).level,$Trainer)
    p.calcStats

    pbStartTrade(
    pbGet(1),p,"HaHa","Billy",1)

    Add this script as well:
    Spoiler:

    pbRemovePokemonAt(pbGet(1))

    And last script:
    Spoiler:

    pbAddPokemonSilent(
    p,pbGet(1))


    This should fix all issues with the trade.

    1. Received pokemon gets level of traded pokemon
    2. Trade evolutions work
    3. Received pokemon gets trainer id info, and all that other cool stuff.

    *I have not tested Item Trade evolution. You can modify the script yourself if you need to.

    The only issue is the received pokemon is appended to the end of the party instead of taking the same place as the traded pokemon.
    Attached Thumbnails
    TradeFix.jpg‎  
    Reply With Quote

    Relevant Advertising!

      #2    
    Old April 9th, 2013 (12:13 AM).
    Yusshin's Avatar
    Yusshin Yusshin is offline
    ♪ Yggdrasil ♪
       
      Join Date: Jul 2009
      Location: Quebec, Canada
      Age: 24
      Nature: Brave
      Posts: 2,424
      I saw this fix somewhere on the Wiki in a bug topic, but I can't find it anymore. In it, there was only one line to modify instead of three and instead of it being in the Event Commands, it was in the actual script-script in under Database. Not sure where that topic went to on the Wiki (tried researching it, but alas, nothing). Oh, well. This'll help those who are having trouble finding the fix.
      __________________


      Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
      "My scar makes me sassy, child!"
      The Big Bang Theory Fan Club - Click To Join!
      The French Club
      Reply With Quote
        #3    
      Old April 9th, 2013 (12:22 AM).
      Black Eternity's Avatar
      Black Eternity Black Eternity is offline
      Lord of Eternity
         
        Join Date: Sep 2012
        Age: 24
        Gender: Male
        Posts: 59
        Quote:
        Originally Posted by Yusshin View Post
        I saw this fix somewhere on the Wiki in a bug topic, but I can't find it anymore. In it, there was only one line to modify instead of three and instead of it being in the Event Commands, it was in the actual script-script in under Database. Not sure where that topic went to on the Wiki (tried researching it, but alas, nothing). Oh, well. This'll help those who are having trouble finding the fix.
        Thanks for the info, I will try to find it. If I do, I will update the post, lock it or whatever, If not then this is a small fix.
        Reply With Quote
        Reply

        Quick Reply

        Join the conversation!

        Create an account to post a reply in this thread, participate in other discussions, and more!

        Create a PokéCommunity Account

        Sponsored Links
        Thread Tools

        Posting Rules
        You may not post new threads
        You may not post replies
        You may not post attachments
        You may not edit your posts

        BB code is On
        Smilies are On
        [IMG] code is On
        HTML code is Off

        Forum Jump


        All times are GMT -8. The time now is 11:34 AM.