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

TrollandToad.com
Closed Thread
 
Thread Tools
  #26    
Old February 4th, 2008 (4:26 PM).
hayvan999's Avatar
hayvan999 hayvan999 is offline
Psychic power!
     
    Join Date: Jan 2008
    Gender:
    Nature: Calm
    Posts: 47
    ok i need some help with legenderie pokemon scripting. i am using advance map and im not using the code stuff in the notepad. u know how in pokemon emerlad groudon like comes up to you then you battle it? well i tried creating 1 new script in advance map then i matched the offset to the one in terra cave etc etc. so i just made it look exactly like in terra cave. but when i go to the spot where i stand and groudon comes up i freeze up and i cant move! can any1 help me
    __________________





    Want to make money online for free and get cool prizes? Click the picture above to get started now. Don't wait another second!

    Relevant Advertising!

      #27    
    Old February 4th, 2008 (5:22 PM).
    +Sneasel™'s Avatar
    +Sneasel™ +Sneasel™ is offline
    It's a meeee, itman!
       
      Join Date: May 2007
      Location: None of your business!
      Age: 23
      Gender:
      Nature: Lonely
      Posts: 1,037
      change unown and varnumbers to this:

      03 00
      52 40
      __________________
      Intentions that were pure have turned obscure,
      Seconds into hours, minutes into years.
      Don't ask me why,
      PLEASE DON'T CRY!
      I can't tell you lies...

      Don't click this!

      PPH - A great hacking forum
        #28    
      Old February 4th, 2008 (5:42 PM). Edited February 4th, 2008 by kyle2386.
      kyle2386 kyle2386 is offline
         
        Join Date: Feb 2008
        Gender:
        Posts: 4
        wer u talking to me? itman? if so ty i will try it i dont get wat u mean tho wat varnumbers/ unown numbers
          #29    
        Old February 4th, 2008 (5:48 PM).
        +Sneasel™'s Avatar
        +Sneasel™ +Sneasel™ is offline
        It's a meeee, itman!
           
          Join Date: May 2007
          Location: None of your business!
          Age: 23
          Gender:
          Nature: Lonely
          Posts: 1,037
          Quote:
          Originally Posted by kyle2386 View Post
          wer u talking to me? itman? if so ty i will try it i dont get wat u mean tho wat varnumbers/ unown numbers
          k, click the script square in advance map:

          Look to the right at the properties.
          Look for unown + var numbers.

          They should be all 0's

          Fill them in like this:

          03 00
          52 40

          Leave the rest blank.
          __________________
          Intentions that were pure have turned obscure,
          Seconds into hours, minutes into years.
          Don't ask me why,
          PLEASE DON'T CRY!
          I can't tell you lies...

          Don't click this!

          PPH - A great hacking forum
            #30    
          Old February 4th, 2008 (5:50 PM). Edited February 4th, 2008 by kyle2386.
          kyle2386 kyle2386 is offline
             
            Join Date: Feb 2008
            Gender:
            Posts: 4
            um soz but my problem is wen i right click on my RBC file then compile script it comes up with an error or something

            does any1 no the answer to my question? heres my questino againo,

            #org $begin
            lock
            faceplayer
            checkflag 0x200
            if b_true goto $alreadygotone
            message $wantpoke
            $wantpoke 1 =Hey,\nI Grats on graduating!\pHere is your \ngraduatin pokemon, \pWant it now?
            boxset 5
            compare LASTRESULT 1
            if 1 goto $getseviper
            message $toobad
            $toobad 1 =Oh, well you will \nneed it.
            boxset 6
            release
            end
            #org $getseviper
            lock
            message $getone
            $getone 1 =Ok go see \nyour home room teacher, \pshe chose this pokemon for you! \n Remember just to the left.
            boxset 6
            givepokemon 0x7B 0x5 0x0
            message $received
            $received 1 =PLAYER received Seviper!
            boxset 6
            setflag 0x200
            release
            end
            #org $alreadygotone
            lock
            faceplayer
            message $howsit
            $howsit 1 =I Know your the one \p\v\h01 What the hell? \ndo you mean? \p Um Do not worry.
            boxset 6
            release
            end


            and here is the error log

            Logging started5/02/2008 12:29:03 PM
            #PROCESS: base\Includes.psh F:2 for Input
            /----------------------------------------
            |
            \- Processed 0 Lines

            #PROCESS: pkmadv\includes.psh F:2 for Input
            /------------------------------------------
            |1: fulllog False
            |#PROCESS: pkmAdv/Commands.psh F:3 for Input
            |/------------------------------------------
            ||Duplicate Entry: if
            ||Duplicate Entry: gosub
            ||Duplicate Entry: jump
            ||Duplicate Entry: callstd
            ||Duplicate Entry: textra
            ||Duplicate Entry: message $1
            ||Duplicate Entry: if $1 jump $2
            ||Duplicate Entry: if $1 gosub $2
            ||Duplicate Entry: tif $1
            ||Duplicate Entry: fif $1
            ||Duplicate Entry: compare var $1 val $2
            ||Duplicate Entry: compare var $1 int $2
            ||Duplicate Entry: compare var $1 pointer $2
            ||Duplicate Entry: compare pointer $1 var $2
            ||Duplicate Entry: compare pointer $1 byte $2
            ||Duplicate Entry: compare pointer $1 pointer $2
            ||
            |\- Processed 0 Lines
            |
            |#PROCESS: pkmAdv/texttable.psh F:3 for Input
            |/-------------------------------------------
            ||
            |\- Processed 0 Lines
            |
            |#PROCESS: pkmAdv/items.psh F:3 for Input
            |/---------------------------------------
            ||
            |\- Processed 0 Lines
            |
            |#PROCESS: pkmAdv/stdpoke.psh F:3 for Input
            |/-----------------------------------------
            ||
            |\- Processed 0 Lines
            |
            |71: Autobank True
            |74: fulllog True
            |
            \- Processed 820 Lines

            so wats wrong? ty in advance

            no answers? reallY ? why does no one know? plz im desperate
              #31    
            Old February 4th, 2008 (7:25 PM).
            hayvan999's Avatar
            hayvan999 hayvan999 is offline
            Psychic power!
               
              Join Date: Jan 2008
              Gender:
              Nature: Calm
              Posts: 47
              Quote:
              Originally Posted by hayvan999 View Post
              ok i need some help with legenderie pokemon scripting. i am using advance map and im not using the code stuff in the notepad. u know how in pokemon emerlad groudon like comes up to you then you battle it? well i tried creating 1 new script in advance map then i matched the offset to the one in terra cave etc etc. so i just made it look exactly like in terra cave. but when i go to the spot where i stand and groudon comes up i freeze up and i cant move! can any1 help me


              some1 answer my question plz
              __________________





              Want to make money online for free and get cool prizes? Click the picture above to get started now. Don't wait another second!
                #32    
              Old February 5th, 2008 (8:37 PM).
              PlasticPokeball's Avatar
              PlasticPokeball PlasticPokeball is offline
              Another Beginner Hacker
                 
                Join Date: Feb 2008
                Gender:
                Posts: 19
                Again, thanks for the tutorials, but can I request something?

                If possible can you come up with some kind of steal pokemon script?

                For example, you're walking down a route and a trainer challenges you to a battle. In that battle you have the ability to catch all of that trainer's pokemon. Can you find a script that would accomplish this? Thanks in advance.

                That is the most important but another request to add on to that, once again, if you want to, would be like a yes/no script in battle. When you catch a specific pokemon in the battle a yes/no box would appear asking you to send it somewhere. If yes, you lose the pokemon caught and gain an item, if no, you keep the pokemon. This is quite complicated I know, but it's a crucial feature in a hack I'm working on. It would be greatly appreciated.
                  #33    
                Old February 7th, 2008 (9:16 PM).
                Scorp Con's Avatar
                Scorp Con Scorp Con is offline
                   
                  Join Date: Sep 2007
                  Location: Sydney, Australia
                  Age: 21
                  Gender:
                  Posts: 92
                  I've just inserted the script, and this happeneds:


                  EDIT.
                  Script:

                  #org $start
                  lock
                  faceplayer
                  message $hi
                  boxset 6
                  release
                  end

                  #org $hi
                  = Hi mate!
                  __________________
                  My PokeCommunity Friends
                  Concorde - Heatran
                    #34    
                  Old February 8th, 2008 (12:38 PM).
                  PlasticPokeball's Avatar
                  PlasticPokeball PlasticPokeball is offline
                  Another Beginner Hacker
                     
                    Join Date: Feb 2008
                    Gender:
                    Posts: 19
                    To Madridista,

                    Your script can be corrected in two ways. First the easy way:

                    #org $start
                    lock
                    faceplayer
                    message $hi
                    $hi 1 = Hi mate!
                    boxset 6
                    release
                    end

                    OR, the way you probably were looking for:

                    #org $start
                    lock
                    faceplayer
                    message $hi
                    boxset 6
                    release
                    end

                    #org $hi
                    $hi 1 = Hi mate!
                      #35    
                    Old February 8th, 2008 (1:02 PM).
                    tkallab's Avatar
                    tkallab tkallab is offline
                    Should have been in Dissidia
                       
                      Join Date: Jan 2008
                      Location: I'm on a horse
                      Age: 21
                      Gender: Male
                      Nature: Quiet
                      Posts: 1,029
                      Hey i did that oran berrt thing but it doesn't work!
                      Here's the script:

                      #org $begin
                      lock
                      faceplayer
                      checkflag 0x200
                      if b_true goto $iloveem
                      message $oran
                      $oran 1 =I love Oran berries!\nDo you?
                      setflag 0x200
                      boxset 5
                      compare LASTRESULT 1
                      if 1 goto $hereyago
                      message $idiot
                      $idiot 1 =Well...\nThat's because you're an idiot!
                      boxset 6
                      $iloveem 1 =I just love Oran berries!\nI will call you names if you don't like 'em!
                      boxset 6
                      $hereyago 1 =Then you are my buddie!\nHere's an Oran berry!
                      boxset 6
                      giveitem 0x8B 0x1
                      release
                      end

                      what did i do worng?
                        #36    
                      Old February 8th, 2008 (6:17 PM).
                      Scorp Con's Avatar
                      Scorp Con Scorp Con is offline
                         
                        Join Date: Sep 2007
                        Location: Sydney, Australia
                        Age: 21
                        Gender:
                        Posts: 92
                        @PlasticPokeball
                        It still shows me that. I tryied easy and other way...
                        __________________
                        My PokeCommunity Friends
                        Concorde - Heatran
                          #37    
                        Old February 8th, 2008 (7:59 PM).
                        PlasticPokeball's Avatar
                        PlasticPokeball PlasticPokeball is offline
                        Another Beginner Hacker
                           
                          Join Date: Feb 2008
                          Gender:
                          Posts: 19
                          Madridista, are you using PokeScript? If you are, check the tutorials (any of them) and maybe try again? I may have made a mistake when typing it up here.

                          Unless someone can prove me wrong, you probably had a bad ROM to begin with.
                            #38    
                          Old February 8th, 2008 (9:04 PM).
                          Scorp Con's Avatar
                          Scorp Con Scorp Con is offline
                             
                            Join Date: Sep 2007
                            Location: Sydney, Australia
                            Age: 21
                            Gender:
                            Posts: 92
                            Don't worry about it. I'll change text in hex editor...
                            __________________
                            My PokeCommunity Friends
                            Concorde - Heatran
                              #39    
                            Old February 9th, 2008 (9:49 AM).
                            Pokepal2007's Avatar
                            Pokepal2007 Pokepal2007 is offline
                            angels awakening
                               
                              Join Date: Jun 2007
                              Location: Fire City
                              Nature: Calm
                              Posts: 458
                              wow this scripting tut is really good
                              __________________


                              Click here to feed me a Star Fruit!


                              Click here to feed me a Rare Candy!

                              [center]
                              Name: Hevaa Guardian
                              Mascot of Pokémon Heaven Legends
                                #40    
                              Old February 13th, 2008 (1:40 PM).
                              Jack of Bl♠des's Avatar
                              Jack of Bl♠des Jack of Bl♠des is offline
                              Former goderator
                                 
                                Join Date: Jan 2008
                                Location: Temin-ni-Gru
                                Age: 25
                                Gender:
                                Posts: 194
                                Yes, a place for Ruby movement scripts. I'm really grateful that you posted that, and I also find your tutorial easy to understand, even though I already know how to script.
                                __________________
                                Hey guys, I'm still alive. Not really sure if I want to continue Twisted Path though.
                                  #41    
                                Old February 14th, 2008 (2:46 AM). Edited February 14th, 2008 by DeadlySplash.
                                DeadlySplash's Avatar
                                DeadlySplash DeadlySplash is offline
                                TTL 1337 PR0 d00d
                                   
                                  Join Date: Feb 2008
                                  Location: Glasgow
                                  Age: 24
                                  Gender:
                                  Posts: 10
                                  Thanks for the tutorial =D
                                  Thanks to you, and some dude asking a question about Yes/No scripts, I FINALLY have a working Yes/No script xD

                                  Now I have a question : In the giveitem script, how would I make it so that a sprite disappears after you get the item? For example, an item ball lying on the ground. Once you pick it up, it dissapears. How do I do this?
                                    #42    
                                  Old February 16th, 2008 (7:21 PM). Edited February 18th, 2008 by Khalil.
                                  Khalil's Avatar
                                  Khalil Khalil is offline
                                     
                                    Join Date: Jul 2007
                                    Gender:
                                    Nature: Adamant
                                    Posts: 9
                                    Can somebody help me with my script?

                                    Quote:
                                    trainerbattle 0 1 $MadChall $MadDefeat $MadAfter
                                    message $MadTalk

                                    #org $MadChall
                                    $MadChall 1 = Ashraf: You're going down Khalil!

                                    #org $MadDefeat
                                    $MadDefeat 1 = Ashraf: Next time, I'll win!

                                    #org $MadAfter
                                    $MadAfter 1 = Ashraf:Dude you already beat me\nwhy are you still here./nKhalil:So I can rub it\nin you face\pAshraf:......
                                    yet nobody tries to help
                                      #43    
                                    Old February 19th, 2008 (8:30 AM).
                                    Gramisaur Gramisaur is offline
                                       
                                      Join Date: Feb 2008
                                      Posts: 7
                                      I was having so much trouble getting the hang of scripting but this has really helped me out more so than the other tutorials on it so thanks!

                                      Just one question. Can I somehow edit an already exsisting script and change the name of an item?
                                      Say the 'Boulderbadge' in FR Brock gives you. Even if you change the trainer sprite and name etc you still get that at the end of the battle.
                                        #44    
                                      Old February 19th, 2008 (9:34 PM).
                                      Volcan Volcan is offline
                                         
                                        Join Date: Feb 2008
                                        Gender:
                                        Posts: 3
                                        Code:
                                         
                                        #org $begin
                                        lock
                                        faceplayer
                                        message $dontgoout
                                        $dontgoout 1 =Don't go out there!\nThere are wild POKEMON!
                                        boxset 6
                                        applymovement 0x1 $coming
                                        pausemove 0
                                        message $comeback
                                        $comeback 1 =Come with me!
                                        boxset 6
                                        applymovement 0x1 $followone
                                        applymovement 0xFF $followtwo
                                        pausemove 0
                                        message $hereyago
                                        $hereyago 1 =Don't go out..\nRemember!
                                        boxset 6
                                        release
                                        end
                                        
                                        #org $coming
                                        #raw 0x0A
                                        #raw 0x0A
                                        #raw 0x0A
                                        #raw 0xFE
                                        
                                        #org $followone
                                        #raw 0x0B
                                        #raw 0x0B
                                        #raw 0x0B
                                        #raw 0xFE
                                        
                                        #org $followtwo
                                        #raw 0x0B
                                        #raw 0x0B
                                        #raw 0xFE
                                        I need help with the movements. I want professor Oak to come up from the bottom of the screen, like in FR/LG, and me follow him downward 7 steps, then left 6 steps, then up 1 step and through the door.
                                          #45    
                                        Old February 20th, 2008 (12:41 AM).
                                        /Circa's Avatar
                                        /Circa /Circa is offline
                                        a face in the clouds.
                                           
                                          Join Date: Nov 2007
                                          Location: Melbourne, Victoria
                                          Gender: Male
                                          Nature: Quiet
                                          Posts: 881
                                          I'll only respond to a few questions, cause these should be asked in the script help thread.

                                          Quote:
                                          Originally Posted by DeadlySplash View Post
                                          Thanks for the tutorial =D
                                          Thanks to you, and some dude asking a question about Yes/No scripts, I FINALLY have a working Yes/No script xD

                                          Now I have a question : In the giveitem script, how would I make it so that a sprite disappears after you get the item? For example, an item ball lying on the ground. Once you pick it up, it dissapears. How do I do this?
                                          To make a sprite dissapear, you need three #raws.

                                          #raw 53
                                          #raw
                                          #raw 00

                                          Quote:
                                          Originally Posted by Khalil View Post
                                          Can somebody help me with my script?



                                          yet nobody tries to help
                                          There are major flaws to the script, you don't even have a #org at the start of the script!

                                          I would recommend revising.

                                          Quote:
                                          Originally Posted by Gramisaur View Post
                                          I was having so much trouble getting the hang of scripting but this has really helped me out more so than the other tutorials on it so thanks!

                                          Just one question. Can I somehow edit an already exsisting script and change the name of an item?
                                          Say the 'Boulderbadge' in FR Brock gives you. Even if you change the trainer sprite and name etc you still get that at the end of the battle.
                                          You would need a different script,
                                          The badges are in flags, so you would need to wewrite the script and make it a specified flag to get a different badge.

                                          Quote:
                                          Originally Posted by Volcan View Post
                                          Code:
                                           
                                          #org $begin
                                          lock
                                          faceplayer
                                          message $dontgoout
                                          $dontgoout 1 =Don't go out there!\nThere are wild POKEMON!
                                          boxset 6
                                          applymovement 0x1 $coming
                                          pausemove 0
                                          message $comeback
                                          $comeback 1 =Come with me!
                                          boxset 6
                                          applymovement 0x1 $followone
                                          applymovement 0xFF $followtwo
                                          pausemove 0
                                          message $hereyago
                                          $hereyago 1 =Don't go out..\nRemember!
                                          boxset 6
                                          release
                                          end
                                          
                                          #org $coming
                                          #raw 0x0A
                                          #raw 0x0A
                                          #raw 0x0A
                                          #raw 0xFE
                                          
                                          #org $followone
                                          #raw 0x0B
                                          #raw 0x0B
                                          #raw 0x0B
                                          #raw 0xFE
                                          
                                          #org $followtwo
                                          #raw 0x0B
                                          #raw 0x0B
                                          #raw 0xFE
                                          I need help with the movements. I want professor Oak to come up from the bottom of the screen, like in FR/LG, and me follow him downward 7 steps, then left 6 steps, then up 1 step and through the door.
                                          You would need a checkflag at the beginning, and a setflag at the end if you wanted it to not happen over and over.

                                          To make the script continue in another map, you would need to do a level script, So that would be a bit tricky if you haven't experimented on a spare rom before.

                                          You might need to add some movements aswell.
                                          __________________
                                          dragging himself, forw
                                          ard again, the pain has
                                          still not diminished. E
                                          ventually though, he e
                                          merges inside a v
                                          ery large room w

                                          here everything about

                                          the house

                                          suddenly

                                          changes.
                                            #46    
                                          Old February 21st, 2008 (9:45 AM).
                                          KoolGamesX's Avatar
                                          KoolGamesX KoolGamesX is offline
                                          KoolX The Ultimate Trainer
                                             
                                            Join Date: Aug 2007
                                            Age: 23
                                            Gender:
                                            Posts: 17
                                            Hope this Helps!:)
                                            Can't wait for more tutorials!
                                            __________________
                                            This signature has been disabled.
                                            Your signature is too wide by 228px.
                                            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.
                                              #47    
                                            Old February 23rd, 2008 (2:04 AM).
                                            mage825's Avatar
                                            mage825 mage825 is offline
                                               
                                              Join Date: Aug 2007
                                              Gender:
                                              Posts: 5
                                              great tutorial helped me alot thanks
                                              __________________
                                              Click here to feed me a Rare Candy!
                                                #48    
                                              Old February 24th, 2008 (3:44 AM).
                                              jamieboy30 jamieboy30 is offline
                                                 
                                                Join Date: Feb 2008
                                                Posts: 23
                                                hi, nice tutorial, i have a problem though. Whenever i right click my code file (written in notepad and .rbc at the end) it doesn't come up with 'compile' in the sub menu, any help please?
                                                  #49    
                                                Old February 24th, 2008 (12:57 PM).
                                                TB Pro's Avatar
                                                TB Pro TB Pro is offline
                                                Old-timer
                                                   
                                                  Join Date: Nov 2004
                                                  Location: Midwestern USA
                                                  Age: 23
                                                  Gender: Male
                                                  Posts: 2,739
                                                  Quote:
                                                  Originally Posted by jamieboy30 View Post
                                                  hi, nice tutorial, i have a problem though. Whenever i right click my code file (written in notepad and .rbc at the end) it doesn't come up with 'compile' in the sub menu, any help please?
                                                  Did you save it as "All Files" instead of "Text Files"??
                                                  __________________
                                                  --I'm a creepin'..
                                                    #50    
                                                  Old February 28th, 2008 (12:42 AM). Edited February 28th, 2008 by Qwerty-117.
                                                  Qwerty-117's Avatar
                                                  Qwerty-117 Qwerty-117 is offline
                                                  Is looking for a VBScripter
                                                     
                                                    Join Date: Feb 2008
                                                    Location: I forgot
                                                    Age: 23
                                                    Gender:
                                                    Nature: Naughty
                                                    Posts: 66
                                                    Where can i download Pokescript and PkmnAdv?
                                                    I couldnt find them anywhere with google, they all came to here.
                                                    __________________





                                                    Never fear death, fear the unlived life

                                                    π = 3.14159265358979323846264338327950288419716939937510

                                                    What else can i put here?
                                                    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 9:51 AM.