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

Draconius GO
Closed Thread
 
Thread Tools
  #101    
Old August 27th, 2008 (6:31 PM).
M O M U S U's Avatar
M O M U S U M O M U S U is offline
Fail-safe
     
    Join Date: May 2008
    Location: Twinleaf Town
    Age: 23
    Nature: Quiet
    Posts: 108
    Do you know how to make a legendary battle script?

    An example is a Mew on the map, when you talk to it a battle starts.

    I really want to know how to do this, but I can't find any info on it anywhere.
    __________________

    R o x a s
    No one would miss me.


    Relevant Advertising!

      #102    
    Old August 28th, 2008 (3:17 PM).
    ~Teh Panda~'s Avatar
    ~Teh Panda~ ~Teh Panda~ is offline
    Sea of Dreams - Redux
    • Silver Tier
     
    Join Date: Aug 2007
    Posts: 906
    Sorry for that dumb thread about my script not working, that guy is a screwball, take out the parts after the " ' " in my guide!
    __________________




    Mystic still in work to let you know...
      #103    
    Old August 28th, 2008 (3:48 PM).
    Shadows's Avatar
    Shadows Shadows is offline
       
      Join Date: Jul 2008
      Location: Chicago, IL
      Age: 22
      Nature: Calm
      Posts: 857
      Quote:
      Originally Posted by silversea_rainbowsky View Post
      Do you know how to make a legendary battle script?

      An example is a Mew on the map, when you talk to it a battle starts.

      I really want to know how to do this, but I can't find any info on it anywhere.
      Its the same as wildbattle(Just change the PKMN #),just look at thethethethethe's(did I type too many the's?)tut and change it into XSE.(Example [email protected])
      Unless theres a XSE tut with wildbattle, then check that out.
      __________________
        #104    
      Old August 29th, 2008 (10:00 AM).
      maximum911's Avatar
      maximum911 maximum911 is offline
      Beggining Scripter
         
        Join Date: Feb 2008
        Gender:
        Posts: 104
        hey hockey panda.i have asked a mod to remove my thread. I did not make the thread to insult you or seth's tutorials. I was just trying to help by pointing out some flaws but it appears i was wrong. so forget about it ok?
        __________________

        Feed JibberJabber a Rare Candy!
        Get your own at Pokeplushies!
        Feed Greeno a Rare Candy!
        Feed Horny a Rare Candy!
        Feed Hungary a Rare Candy!
        Feed Eclypsis a Rare Candy!
        Need the perfect pokemon avatar for the forums you can find the pokemon avatar of you dreams at http://pokemon.marriland.com/avatars.php
          #105    
        Old August 30th, 2008 (8:34 PM).
        ~Teh Panda~'s Avatar
        ~Teh Panda~ ~Teh Panda~ is offline
        Sea of Dreams - Redux
        • Silver Tier
         
        Join Date: Aug 2007
        Posts: 906
        Quote:
        Originally Posted by maximum911 View Post
        hey hockey panda.i have asked a mod to remove my thread. I did not make the thread to insult you or seth's tutorials. I was just trying to help by pointing out some flaws but it appears i was wrong. so forget about it ok?
        Ok, sounds good, hope you get everything sorted out, talk to me if you need any help
        __________________




        Mystic still in work to let you know...
          #106    
        Old September 1st, 2008 (2:00 PM).
        mattattack's Avatar
        mattattack mattattack is offline
        Huh, Son?
           
          Join Date: Apr 2008
          Location: Why would you care?
          Nature: Jolly
          Posts: 184
          how do i use flags? i don't understand
            #107    
          Old September 1st, 2008 (7:22 PM).
          ~Teh Panda~'s Avatar
          ~Teh Panda~ ~Teh Panda~ is offline
          Sea of Dreams - Redux
          • Silver Tier
           
          Join Date: Aug 2007
          Posts: 906
          Quote:
          Originally Posted by mattattack View Post
          how do i use flags? i don't understand
          Basic flag commands

          Code:
          setflag 0x200
          most of the time these 2 go together
          Code:
          checkflag 0x200
          if b_true goto @blabla
          Code:
          clearflag 0x200
          0x200 = the flag number, 200 can be any number for the flag, beware of numbers below 200.
          __________________




          Mystic still in work to let you know...
            #108    
          Old September 1st, 2008 (7:34 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
          Hey Hockeypanda, when you gonna add more sections to this?
          __________________




          (x) Tumblr
          (y) Twitter
          Previously Eeveon
            #109    
          Old September 1st, 2008 (8:12 PM).
          ~Teh Panda~'s Avatar
          ~Teh Panda~ ~Teh Panda~ is offline
          Sea of Dreams - Redux
          • Silver Tier
           
          Join Date: Aug 2007
          Posts: 906
          Quote:
          Originally Posted by Wind~ View Post
          Hey Hockeypanda, when you gonna add more sections to this? ;)
          WHen I am less busy and on Windows so I can have XSE by my side while I write it :)
          __________________




          Mystic still in work to let you know...
            #110    
          Old September 2nd, 2008 (8:31 PM).
          mattattack's Avatar
          mattattack mattattack is offline
          Huh, Son?
             
            Join Date: Apr 2008
            Location: Why would you care?
            Nature: Jolly
            Posts: 184
            I have a question: If you have to go to the prof. before leaving the town would it go like this

            #Dynamic 0x offset

            #ORG @start
            lock
            faceplayer
            setflag 0x200
            if b_true goto @first pokemon
            message @can't go
            boxset 6
            release
            end

            #ORG @can't go
            = I shouldn't go out without a pokemon
            release
            end

            #ORG @first pokemon
            =PROF: Here \v\ho1\ is your pokemon
            givepokemon 1 5 0 0 0 0
            release
            end
              #111    
            Old September 2nd, 2008 (8:54 PM).
            ~Teh Panda~'s Avatar
            ~Teh Panda~ ~Teh Panda~ is offline
            Sea of Dreams - Redux
            • Silver Tier
             
            Join Date: Aug 2007
            Posts: 906
            Quote:
            Originally Posted by mattattack View Post
            I have a question: If you have to go to the prof. before leaving the town would it go like this

            #Dynamic 0x offset

            #ORG @start
            lock
            faceplayer
            setflag 0x200
            if b_true goto @first pokemon
            message @can't go
            boxset 6
            release
            end

            #ORG @can't go
            = I shouldn't go out without a pokemon
            release
            end

            #ORG @first pokemon
            =PROF: Here \v\ho1\ is your pokemon
            givepokemon 1 5 0 0 0 0
            release
            end
            No, this would not be correct, you are missing some key parts.

            First of all:

            Setflag = where you set your flag

            CheckFlag = checking for the flag
            ^After this you do the "if b_true goto @blabla" so it looks if the flag is set yet.

            Clearflag = clearing the flag that may not be in use anymore or anything that you would clear it for.
            __________________




            Mystic still in work to let you know...
              #112    
            Old September 12th, 2008 (4:01 AM).
            mavidlol2's Avatar
            mavidlol2 mavidlol2 is offline
               
              Join Date: Sep 2008
              Location: Poke World
              Gender:
              Posts: 13
              For some reason every time when i talk to the person which i coded, the words are always blank... can anyone help me?
                #113    
              Old September 15th, 2008 (1:39 AM).
              HackMew's Avatar
              HackMew HackMew is offline
              Mewtwo Strikes Back
              • Crystal Tier
               
              Join Date: Jun 2006
              Posts: 1,314
              Quote:
              Originally Posted by mavidlol2 View Post
              For some reason every time when i talk to the person which i coded, the words are always blank... can anyone help me?
              Could you please post the script you used? Kinda impossible to help otherwhise.
              __________________
                #114    
              Old September 15th, 2008 (2:43 AM).
              mavidlol2's Avatar
              mavidlol2 mavidlol2 is offline
                 
                Join Date: Sep 2008
                Location: Poke World
                Gender:
                Posts: 13
                oh sorry...
                well i actually copied and paste the codings from the tut but it still won't work
                #Dynamic 0x2FB51C
                #Org @talk
                Lockall
                Faceplayer
                Msgbox @hi
                BoxSet 0x6
                Release
                End
                #Org @hi
                = hi.
                  #115    
                Old September 15th, 2008 (2:46 AM).
                The Abyss The Abyss is offline
                   
                  Join Date: Jul 2008
                  Location: Sydney, Australia
                  Age: 23
                  Nature: Jolly
                  Posts: 162
                  When you compile it what offset is used?
                  __________________

                    #116    
                  Old September 15th, 2008 (2:48 AM).
                  HackMew's Avatar
                  HackMew HackMew is offline
                  Mewtwo Strikes Back
                  • Crystal Tier
                   
                  Join Date: Jun 2006
                  Posts: 1,314
                  Quote:
                  Originally Posted by mavidlol2 View Post
                  oh sorry...
                  well i actually copied and paste the codings from the tut but it still won't work
                  Spoiler:
                  #Dynamic 0x2FB51C
                  #Org @talk
                  Lockall
                  Faceplayer
                  Msgbox @hi
                  BoxSet 0x6
                  Release
                  End
                  #Org @hi
                  = hi.
                  If you want to use lockall, you need to use releaseall as well. So, you should use lock instead in this case.

                  Anyway, what offset gave you XSE once you compiled the script?
                  Did you try decompiling that script?
                  Also what offset did you assign to the person/object that should run the script once talked to?
                  __________________
                    #117    
                  Old September 15th, 2008 (2:52 AM).
                  mavidlol2's Avatar
                  mavidlol2 mavidlol2 is offline
                     
                    Join Date: Sep 2008
                    Location: Poke World
                    Gender:
                    Posts: 13
                    um... i don't know how to decompile the script
                    sometimes it gives me a new offset
                    and i just press copy and paste it in advance map
                      #118    
                    Old September 15th, 2008 (2:53 AM).
                    The Abyss The Abyss is offline
                       
                      Join Date: Jul 2008
                      Location: Sydney, Australia
                      Age: 23
                      Nature: Jolly
                      Posts: 162
                      When you compile it what offset do you paste into A-Map? Is it @talk or @hi?
                      __________________

                        #119    
                      Old September 15th, 2008 (2:56 AM).
                      mavidlol2's Avatar
                      mavidlol2 mavidlol2 is offline
                         
                        Join Date: Sep 2008
                        Location: Poke World
                        Gender:
                        Posts: 13
                        talk .
                          #120    
                        Old September 15th, 2008 (2:56 AM).
                        HackMew's Avatar
                        HackMew HackMew is offline
                        Mewtwo Strikes Back
                        • Crystal Tier
                         
                        Join Date: Jun 2006
                        Posts: 1,314
                        Quote:
                        Originally Posted by XDRules View Post
                        When you compile it what offset do you paste into A-Map? Is it @talk or @hi?
                        If it's @hi it's the wrong one. Simply as that. But since it's not your case, could you show us the offset you used last time?

                        Also, to decompile a script simply open the ROM, paste the offset in the textbox near the "Offset" label in the toolbar and then press the Decompile button near there.
                        __________________
                          #121    
                        Old September 15th, 2008 (3:02 AM).
                        mavidlol2's Avatar
                        mavidlol2 mavidlol2 is offline
                           
                          Join Date: Sep 2008
                          Location: Poke World
                          Gender:
                          Posts: 13
                          for 0x2FB51C it gave me 0x305AFD when i compiled it
                          does it matter if Unknown and people ID in a-map is 00?

                          can you give me your script and let me try if it works?
                            #122    
                          Old September 15th, 2008 (3:07 AM).
                          HackMew's Avatar
                          HackMew HackMew is offline
                          Mewtwo Strikes Back
                          • Crystal Tier
                           
                          Join Date: Jun 2006
                          Posts: 1,314
                          Quote:
                          Originally Posted by mavidlol2 View Post
                          for 0x2FB51C it gave me 0x305AFD when i compiled it
                          does it matter if Unknown and people ID in a-map is 00?

                          can you give me your script and let me try if it works?
                          Okay, I suppose it's the same offset you put in AM, is it right?
                          Can you post the decompiled script too?
                          __________________
                            #123    
                          Old September 15th, 2008 (3:11 AM). Edited September 15th, 2008 by mavidlol2.
                          mavidlol2's Avatar
                          mavidlol2 mavidlol2 is offline
                             
                            Join Date: Sep 2008
                            Location: Poke World
                            Gender:
                            Posts: 13
                            when i decompile it do i type the new offset or the one i typed?
                            and everytime when i compile the script again it gives me another new offset

                            this is what i get when i decompile

                            '-----------------------
                            #org 0x305AFE
                            lock
                            faceplayer
                            msgbox 0x8305B0B '" "
                            callstd 0x6
                            release
                            end

                            '---------
                            ' Strings
                            '---------
                            #org 0x305B0B
                            =
                              #124    
                            Old September 15th, 2008 (4:05 AM).
                            HackMew's Avatar
                            HackMew HackMew is offline
                            Mewtwo Strikes Back
                            • Crystal Tier
                             
                            Join Date: Jun 2006
                            Posts: 1,314
                            Quote:
                            Originally Posted by mavidlol2 View Post
                            when i decompile it do i type the new offset or the one i typed?
                            and everytime when i compile the script again it gives me another new offset
                            The fact you always get a different offset is normal. Try compiling this:

                            Code:
                            #dynamic 0x2FB51C
                            
                            #org @start
                            lock
                            faceplayer
                            msgbox @talk
                            boxset 0x6
                            release
                            end
                            
                            #org @talk
                            = hi.
                            Let me know if it worked or not.
                            __________________
                              #125    
                            Old September 16th, 2008 (12:18 AM).
                            mavidlol2's Avatar
                            mavidlol2 mavidlol2 is offline
                               
                              Join Date: Sep 2008
                              Location: Poke World
                              Gender:
                              Posts: 13
                              Quote:
                              Originally Posted by HackMew View Post
                              The fact you always get a different offset is normal. Try compiling this:

                              Code:
                              #dynamic 0x2FB51C
                               
                              #org @start
                              lock
                              faceplayer
                              msgbox @talk
                              boxset 0x6
                              release
                              end
                               
                              #org @talk
                              = hi.
                              Let me know if it worked or not.
                              Sadly it didn't work ...
                              Closed Thread

                              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 8:47 PM.