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

Draconius GO
Reply
 
Thread Tools
  #1    
Old May 28th, 2010 (6:01 PM). Edited June 9th, 2010 by Zeffy.
Zeffy's Avatar
Zeffy Zeffy is offline
blink and you're dead
  • Crystal Tier
 
Join Date: Apr 2009
Gender: Male
Posts: 6,440


Zeffy's Tip and Tricks



Hello everyone, I'm Zeffy and this is my first ever tutorial so if I have any mistakes please notify me. Thanks.

Advance Map Tricks



In this tutorial, I'll show you how to choose your defined script editor in Advance Map. Its quite easy really.

First, open Advance Map and load your ROM. Then go to settings, located right here:
Spoiler:


First time visiting this tab? No problem, just click it and go to "Choose Script Editor" just like this:
Spoiler:


Then, in the pop up box choose your script editor. I use XSE in this tutorial.
Spoiler:


Click "Open" and this should pop up:
Spoiler:


It doesn't really matter what option you choose, but choose yes for the sake of this tutorial.

There you go! You can now open scripts in the ROM via Advance Map. Try it by clicking an OW in the events tab and select "Open Script".

eXtreme Script Editor Tricks



In this tutorial, I'll show you how to open FSF (Free Space Finder) and A-Trainer during scripting. :D

In just 2 easy steps:

First, put XSE, FSF and A-Trainer in one folder. My folder looks like this:
Spoiler:


Then, open XSE and go to "Tools" and new options should show up.
Spoiler:


There you go! You can now open FSF and A-Trainer in one application! Neat, isn't it?

Scripting Tricks



#1
Spoiler:
There have been so much problems in the script help thread about "How to make an OW disappear", so I decided to make a tutorial for it.

This is what my "disappear" script looks like:
Spoiler:


Now, you might be thinking "It won't work because you need setflag 0x(flag). To make it clear you don't need to put setflag 0x(flag) in disappearing scripts. I'll show you how.
Next step: open Advance Map and select the event OW. Put the offset in the offset box. Then, put a flag in the Person ID box. Just like this:
Spoiler:


Now, remember my "hidesprite 0x1" line in the script? That means I need to make this event's person event number to 1. Like this:
Spoiler:


Save it then test it out.
Spoiler:


Orly?
Spoiler:


Wow, he really did disappear. Now, I'll try moving to see if it really works.
Spoiler:


It works!


#2 & #3

Thank you for reading!
__________________
Reply With Quote

Relevant Advertising!

  #2    
Old May 28th, 2010 (11:00 PM).
Tropical Sunlight's Avatar
Tropical Sunlight Tropical Sunlight is offline
The Faltine
     
    Join Date: Mar 2008
    Location: Slovenia
    Age: 21
    Gender: Male
    Posts: 3,578
    This seems very useful, especially for those who have just started out.
    __________________
    Reply With Quote
      #3    
    Old May 29th, 2010 (3:13 AM).
    Zeffy's Avatar
    Zeffy Zeffy is offline
    blink and you're dead
    • Crystal Tier
     
    Join Date: Apr 2009
    Gender: Male
    Posts: 6,440
    Quote:
    Originally Posted by Tropical Sunlight View Post
    This seems very useful, especially for those who have just started out.
    Thank you. :3

    Of course yes. I'm trying to make this tutorial as newbie friendly as possible. I'm thinking of adding more scripting tips. :D
    __________________
    Reply With Quote
      #4    
    Old May 29th, 2010 (3:16 AM).
    Tropical Sunlight's Avatar
    Tropical Sunlight Tropical Sunlight is offline
    The Faltine
       
      Join Date: Mar 2008
      Location: Slovenia
      Age: 21
      Gender: Male
      Posts: 3,578
      Quote:
      Originally Posted by Zeffy View Post
      I'm thinking of adding more scripting tips. :D
      Here's an idea. Teach them about how you don't need FSF for scripting and how to use the std-.rbh files.
      __________________
      Reply With Quote
        #5    
      Old May 29th, 2010 (3:27 AM).
      Zeffy's Avatar
      Zeffy Zeffy is offline
      blink and you're dead
      • Crystal Tier
       
      Join Date: Apr 2009
      Gender: Male
      Posts: 6,440
      Quote:
      Originally Posted by Tropical Sunlight View Post
      Here's an idea. Teach them about how you don't need FSF for scripting and how to use the std-.rbh files.
      Its already included in XSE's built in guide, isn't it?

      EDIT: I read through XSE's built in guide, and I didn't saw it. I'll be doing a tutorial of that. Thank you for the suggestion.
      __________________
      Reply With Quote
        #6    
      Old May 29th, 2010 (4:41 AM).
      Binary's Avatar
      Binary Binary is offline
      え?
         
        Join Date: Aug 2007
        Age: 23
        Posts: 3,994
        Quote:
        Originally Posted by Tropical Sunlight View Post
        Here's an idea. Teach them about how you don't need FSF for scripting and how to use the std-.rbh files.
        Umm..like search free space with a hex editor?
        How to use the .rbh files is included in the in-built guide.
        It's looking good Zeffy, I hope you add more n__n
        __________________
        Reply With Quote
          #7    
        Old May 29th, 2010 (7:36 AM).
        Tropical Sunlight's Avatar
        Tropical Sunlight Tropical Sunlight is offline
        The Faltine
           
          Join Date: Mar 2008
          Location: Slovenia
          Age: 21
          Gender: Male
          Posts: 3,578
          Quote:
          Originally Posted by Binary View Post
          Umm..like search free space with a hex editor?
          Nooooooo :\
          You don't need to find free space at all!
          Just use dynamic 0x800000 always
          __________________
          Reply With Quote
            #8    
          Old May 29th, 2010 (12:53 PM).
          Darkerm's Avatar
          Darkerm Darkerm is offline
          Darkness is Not always Evil
             
            Join Date: Jan 2010
            Location: Bangladesh
            Age: 24
            Gender: Male
            Nature: Gentle
            Posts: 401
            well,this is a good tutorial indeed. I think it will help newbies. btw, I think you should update Script part. I think you should add Apply movement, Giving starter with Pokedex, rival battle etc. good luck
            __________________
            This signature has been disabled.
            Exceeds the 350px height limit.
            Please review and fix the issues by reading the signature rules.

            You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

            Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
            Reply With Quote
              #9    
            Old May 29th, 2010 (5:04 PM).
            Full Metal's Avatar
            Full Metal Full Metal is offline
            C(++) Developer.
            • Silver Tier
             
            Join Date: Jan 2008
            Location: In my mind.
            Age: 22
            Gender: Male
            Nature: Timid
            Posts: 806
            er...dude, thats called a scripting tutorial -.- ...
            u should read one some time.
            __________________

            ★ full metal.

            I like to push it,
            and push it,
            until my luck is over.
            Reply With Quote
              #10    
            Old May 30th, 2010 (4:46 AM).
            Dylanimus's Avatar
            Dylanimus Dylanimus is offline
            as seen on YouTube
               
              Join Date: Apr 2010
              Location: Belgium
              Gender: Male
              Posts: 110
              WOW! Thank you verry much!!
              This is a great help for me!!!!!
              __________________

              (Please DON'T USE these images WITHOUT my permission, thanks!)

              My You
              Tube
              Channel

              I support:
              Reply With Quote
                #11    
              Old May 30th, 2010 (4:14 PM).
              Darkerm's Avatar
              Darkerm Darkerm is offline
              Darkness is Not always Evil
                 
                Join Date: Jan 2010
                Location: Bangladesh
                Age: 24
                Gender: Male
                Nature: Gentle
                Posts: 401
                Quote:
                Originally Posted by Full Metal View Post
                er...dude, thats called a scripting tutorial -.- ...
                u should read one some time.
                I know that but as She was helping with some script I thought that might come in handy for noobs. Btw, script thread didn't show us that king of script. I mean they only teach us the main comand of scripting. Some people find those tutorial very hard and Asking people to help them with scripting{Like I did when I can't script}. So I ask her to do that.
                __________________
                This signature has been disabled.
                Exceeds the 350px height limit.
                Please review and fix the issues by reading the signature rules.

                You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                Reply With Quote
                  #12    
                Old May 30th, 2010 (5:22 PM).
                Zeffy's Avatar
                Zeffy Zeffy is offline
                blink and you're dead
                • Crystal Tier
                 
                Join Date: Apr 2009
                Gender: Male
                Posts: 6,440
                Quote:
                Originally Posted by Darkerm View Post


                I know that but as She was helping with some script I thought that might come in handy for noobs. Btw, script thread didn't show us that king of script. I mean they only teach us the main comand of scripting. Some people find those tutorial very hard and Asking people to help them with scripting{Like I did when I can't script}. So I ask her to do that.
                My suggestion for that is to read the guide that comes with XSE. It pretty much explains the basics of XSE scripting. :/
                __________________
                Reply With Quote
                  #13    
                Old May 30th, 2010 (6:03 PM).
                jerk's Avatar
                jerk jerk is offline
                   
                  Join Date: Mar 2010
                  Location: california
                  Gender: Male
                  Posts: 39
                  wow thanx! im gana try the disapeer script!
                  __________________
                  www.DigitalDetection.tk
                  Reply With Quote
                    #14    
                  Old June 2nd, 2010 (4:51 PM).
                  Tyrantrum's Avatar
                  Tyrantrum Tyrantrum is offline
                  ʕ´•ᴥ•`ʔ
                  • Crystal Tier
                   
                  Join Date: Oct 2007
                  Location: New Jersey
                  Age: 23
                  Gender: Male
                  Nature: Lonely
                  Posts: 5,820
                  The disappearing sprite script is one of the many scripts that confuse me. Thank you for putting that up there; it helps a lot more.
                  __________________




                  (x) Tumblr
                  (y) Twitter
                  Previously Eeveon
                  Reply With Quote
                    #15    
                  Old June 2nd, 2010 (5:17 PM).
                  Maho Minami's Avatar
                  Maho Minami Maho Minami is offline
                     
                    Join Date: Feb 2010
                    Location: In your side
                    Gender: Male
                    Nature: Calm
                    Posts: 13
                    Thanks for this dude really helpful for meh first try
                    __________________
                    Spoiler:
                    Reply With Quote
                      #16    
                    Old June 8th, 2010 (11:32 PM).
                    Zeffy's Avatar
                    Zeffy Zeffy is offline
                    blink and you're dead
                    • Crystal Tier
                     
                    Join Date: Apr 2009
                    Gender: Male
                    Posts: 6,440
                    Hey, look more Scripting tips!

                    ~ both were requested by Tropical Sunlight.

                    #2
                    Spoiler:
                    Ok, in this tutorial I'll show you how to search for free offsets for your scripts without the use of FSF.

                    Ok, first things first I'll be using the same ROM which I used on the last script: which means offset 0x800000 is already used. I'll make a simple script right here with offset 0x800000:
                    Code:
                    #dynamic 0x800000
                    #org @start
                    msgbox @talk 0x2
                    end
                    
                    #org @talk
                    = I like POTATOES.
                    Since the offset 0x800000 was already used, you'll be thinking: "It would cause bugs in-game!". What you are currently thinking is wrong. Remember that we used "dynamic 0x800000" first of all: What does dynamic mean? Dynamic means changing which means that if we used 0x800000 as the offset it will look for the next free space offset after the specified offset. This could be pretty useful for speed scripters. :)


                    #3
                    Spoiler:
                    In this tutorial I'll teach you scripters how to use rubikon header files if you haven't read the guide that comes with XSE. :)

                    Ok, in the same folder as XSE you have probably noticed the .rbh files. Those are the Rubikon Header files I'm talking about. So to make them usable you just need to include the following commands below before the script main. I've commented it for easiness sake.
                    Code:
                    #include stditems.rbh // for items
                    #include stdpoke.rbh // for Pokemon
                    #include stdattacks.rbh // for attack names.
                    Ok now we can create a script like this which enables us to use words instead of HEX Codes. Useful for the lazy bums like me.
                    Code:
                    #include stditems.rbh
                    #include stdpoke.rbh
                    
                    #dynamic 0x800000
                    #org @start
                    lock
                    faceplayer
                    giveitem ITEM_TIMERBALL 0xA MSG_OBTAIN
                    givepokemon PKMN_DEOXYS 0xA ITEM_MASTERBALL 0x0 0x0 0x0
                    release
                    end
                    Compile that script and you will get 10 Timer Balls and a Lv. 10 Deoxys with a held Masterball. ;D
                    __________________
                    Reply With Quote
                      #17    
                    Old June 9th, 2010 (5:09 AM).
                    Tropical Sunlight's Avatar
                    Tropical Sunlight Tropical Sunlight is offline
                    The Faltine
                       
                      Join Date: Mar 2008
                      Location: Slovenia
                      Age: 21
                      Gender: Male
                      Posts: 3,578
                      That's exactly what I meant :D
                      Good job Zeffy.

                      Also, it should be easier for people to view Scripting Tips #2 and #3 on the first post.
                      __________________
                      Reply With Quote
                        #18    
                      Old June 9th, 2010 (5:32 AM).
                      Zeffy's Avatar
                      Zeffy Zeffy is offline
                      blink and you're dead
                      • Crystal Tier
                       
                      Join Date: Apr 2009
                      Gender: Male
                      Posts: 6,440
                      Quote:
                      Originally Posted by Tropical Sunlight View Post
                      That's exactly what I meant :D
                      Good job Zeffy.

                      Also, it should be easier for people to view Scripting Tips #2 and #3 on the first post.
                      But of course! :D

                      I linked it on the first post because too much spoilers can make spoilers not show up. :)

                      Thanks, glad to be of service.
                      __________________
                      Reply With Quote
                        #19    
                      Old June 11th, 2010 (8:54 PM).
                      Tyrantrum's Avatar
                      Tyrantrum Tyrantrum is offline
                      ʕ´•ᴥ•`ʔ
                      • Crystal Tier
                       
                      Join Date: Oct 2007
                      Location: New Jersey
                      Age: 23
                      Gender: Male
                      Nature: Lonely
                      Posts: 5,820
                      I have two questions for script #3:

                      1) What is 0xA?
                      2) How do you know it's going to be a Lv. 10 Deoxys, if you never even put the level down in any of the 0x0's?

                      I hope the second question I asked made sense...
                      __________________




                      (x) Tumblr
                      (y) Twitter
                      Previously Eeveon
                      Reply With Quote
                        #20    
                      Old June 11th, 2010 (9:07 PM).
                      Samike360's Avatar
                      Samike360 Samike360 is offline
                      Lover of May
                         
                        Join Date: Mar 2009
                        Location: ATL
                        Gender:
                        Nature: Bold
                        Posts: 397
                        Quote:
                        Originally Posted by Eeveon View Post
                        I have two questions for script #3:

                        1) What is 0xA?
                        2) How do you know it's going to be a Lv. 10 Deoxys, if you never even put the level down in any of the 0x0's?

                        I hope the second question I asked made sense...
                        0xA is 10 in hex. Hex is different from the regular numbering system because it goes 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F in order. Its difficult to grasp, but basically it is hexadecimal system so it has 15 number/letters to use, so there can be more combinations of numbers/letters, like 1A or 23E or something. So when he put 0xA it was telling it to put Deoxys as level 10 because it recognized A as 10.
                        __________________





                        Please warm my eggs...I'll be sure to return the favor

                        From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
                        Reply With Quote
                          #21    
                        Old June 11th, 2010 (11:27 PM).
                        Tyrantrum's Avatar
                        Tyrantrum Tyrantrum is offline
                        ʕ´•ᴥ•`ʔ
                        • Crystal Tier
                         
                        Join Date: Oct 2007
                        Location: New Jersey
                        Age: 23
                        Gender: Male
                        Nature: Lonely
                        Posts: 5,820
                        Quote:
                        Originally Posted by Samike360 View Post
                        0xA is 10 in hex. Hex is different from the regular numbering system because it goes 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F in order. Its difficult to grasp, but basically it is hexadecimal system so it has 15 number/letters to use, so there can be more combinations of numbers/letters, like 1A or 23E or something. So when he put 0xA it was telling it to put Deoxys as level 10 because it recognized A as 10.
                        Okay, that makes a bit more sense. I'll have to looks into that more so I can understand more of it. Thanks.
                        __________________




                        (x) Tumblr
                        (y) Twitter
                        Previously Eeveon
                        Reply With Quote
                          #22    
                        Old June 11th, 2010 (11:36 PM).
                        Tropical Sunlight's Avatar
                        Tropical Sunlight Tropical Sunlight is offline
                        The Faltine
                           
                          Join Date: Mar 2008
                          Location: Slovenia
                          Age: 21
                          Gender: Male
                          Posts: 3,578
                          Quote:
                          Originally Posted by Eeveon View Post
                          Okay, that makes a bit more sense. I'll have to looks into that more so I can understand more of it. Thanks.
                          You can also make it like this:

                          ...
                          givepokemon PKMN_CHINCHOU 34 0 0 0 0
                          ...

                          As you can see, I haven't added any "0x" in front of those numbers. That way I didn't make them hex, and the player will actually receive a Chinchou at level 34 with this type of givepokemon. Of course, when you compile the script, all the numbers will go to HEX.

                          In addition to that, there is also a DEC-HEX calculator built-in XSE.
                          __________________
                          Reply With Quote
                            #23    
                          Old June 11th, 2010 (11:37 PM).
                          Ninja Caterpie's Avatar
                          Ninja Caterpie Ninja Caterpie is offline
                          Sitting by the back window
                             
                            Join Date: Mar 2008
                            Location: Best City OCE
                            Age: 21
                            Gender: Male
                            Nature: Bold
                            Posts: 5,988
                            Eeveeon, you're 16, you (should) have learnt how to work in different bases to 10 (the decimal system). The hexadecimal system is Base 16, where we start replacing extra stuff with letters (A, B, C, D, E and F for hex).

                            For quick conversion, use the calculator in XSE, just beside the script box. :D
                            __________________
                            Brony represent.
                            Reply With Quote
                              #24    
                            Old July 7th, 2010 (2:59 AM).
                            Szirako Szirako is offline
                               
                              Join Date: Jul 2010
                              Gender: Male
                              Posts: 3
                              Thanks, it's very usefull!
                              __________________
                              Region Isshu incoming!
                              Reply With Quote
                                #25    
                              Old July 7th, 2010 (3:56 PM).
                              sir.euge's Avatar
                              sir.euge sir.euge is offline
                              Bunchies Back!
                                 
                                Join Date: Jun 2009
                                Gender: Male
                                Nature: Naughty
                                Posts: 143
                                Quote:
                                Originally Posted by Tropical Sunlight View Post
                                Nooooooo :\
                                You don't need to find free space at all!
                                Just use dynamic 0x800000 always
                                i didnt even know about offsets so i was always using 0x800000. then i saw the guide in XSE. its funny how people struggle with stuff like that when there are easy ways around
                                __________________
                                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 6:28 AM.