Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old June 2nd, 2013 (5:06 PM). Edited June 3rd, 2013 by Renegade.
Renegade's Avatar
Renegade Renegade is offline
Time for real life...
     
    Join Date: Nov 2011
    Location: United States
    Gender: Male
    Nature: Careful
    Posts: 998
    Hello people. I see questions about how to activate the National Dex in POKéMON Ruby every once in a while, so I decided to post a tutorial here on how to do it.

    HD VIDEO FORMAT
    Here's a (somewhat crappy) video I made on the topic a few months ago:

    http://www.youtube.com/watch?v=PlOWM_2fb7Y

    TEXT DEMONSTRATION
    In case you don't like video demonstrations, here's a written tutorial about it...

    There is some assumed knowledge here, like how to write a script in XSE and how to insert it into a ROM.

    Step 1:
    You should start with a script that gives the player the regional POKé DEX, like this one:
    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    faceplayer
    message @t1 6
    setflag 0x801     <--------- POKé DEX menu appears on the menu screen...
    fanfare 0x372
    message @t2 4
    waitfanfare
    closeonkeypress
    release
    end
    
    #org @t2
    = \v\h01 received the POKé DEX!
    
    #org @t1
    = NPC: Looking for this? It's a\nPOKé DEX I got from Professor\lBirch!
    Step 2:
    After you give the player the regional POKé DEX, you will have to write another script with these commands in it:
    Code:
    writebytetooffset 0x2 0x2026B00
    writebytetooffset 0x3 0x2026B01
    writebytetooffset 0xDA 0x2024EBE
    writebytetooffset 0x67 0x2026A5A
    NOTE: This has to be done AFTER you give the regional POKé DEX to the player, or it will not work.

    These commands will advance the regional POKé DEX into the National Dex. So, here's an example of a script that upgrades the regional POKé DEX into the National Dex:
    Code:
    #dynamic 0x800000
    
    #org @start
    lock
    faceplayer
    message @t1 6
    writebytetooffset 0x2 0x2026B00
    writebytetooffset 0x3 0x2026B01
    writebytetooffset 0xDA 0x2024EBE
    writebytetooffset 0x67 0x2026A5A
    fanfare 0x372
    message @t2 4
    waitfanfare
    closeonkeypress
    release
    end
    
    #org @t2
    = \v\h01 received the National Dex!
    
    #org @t1
    = Here's an upgrade for your\nregional POKé DEX!
    ...And that's about it! You don't have to make a whole new script to upgrade the POKé DEX, you can just add the upgrade commands after you give the player the regional POKé DEX.

    Side Note:
    You will not be able to access the POKé DEX menu unless you have at least one POKéMON in your possession. Make sure to give the player a POKéMON before you give him/her the POKé DEX.

    Thanks for reading!
    Reply With Quote

    Relevant Advertising!

      #2    
    Old June 3rd, 2013 (7:14 AM).
    Trev's Avatar
    Trev Trev is offline
    starting my comeback tour
       
      Join Date: May 2012
      Location: anywhere as long as I have dogs
      Age: 20
      Gender: Male
      Nature: Sassy
      Posts: 1,234
      Wow, that's cool! One thing though:

      Code:
      checkflag 0x8000
      writebytetooffset 0x2 0x2026B00
      writebytetooffset 0x3 0x2026B01
      writebytetooffset 0xDA 0x2024EBE
      writebytetooffset 0x67 0x2026A5A
      clearflag 0x8000
      Why do you check flag 0x8000 when there's no if or compare command following it? It's probably my own stupidity making me question this, but it seems useless to use checkflag without any followup commands. Otherwise, good job.
      __________________
      Projects





      Reply With Quote
        #3    
      Old June 3rd, 2013 (8:32 AM).
      Renegade's Avatar
      Renegade Renegade is offline
      Time for real life...
         
        Join Date: Nov 2011
        Location: United States
        Gender: Male
        Nature: Careful
        Posts: 998
        Quote:
        Originally Posted by PJBottomz View Post
        Wow, that's cool! One thing though:

        Code:
        checkflag 0x8000
        writebytetooffset 0x2 0x2026B00
        writebytetooffset 0x3 0x2026B01
        writebytetooffset 0xDA 0x2024EBE
        writebytetooffset 0x67 0x2026A5A
        clearflag 0x8000
        Why do you check flag 0x8000 when there's no if or compare command following it? It's probably my own stupidity making me question this, but it seems useless to use checkflag without any followup commands. Otherwise, good job.
        Oops. Yeah, that was a mistake on my part. You do not need the check/clear flag commands at all. I edited the tutorial with the proper commands.
        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 10:15 PM.