The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tutorial Hack Tutorials: Scripting (In HD Video Form!)

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

Reply
 
Thread Tools
  #51    
Old October 19th, 2009 (5:02 PM).
SiegHart's Avatar
SiegHart SiegHart is offline
Guardian of Time
     
    Join Date: Aug 2009
    Location: oklahoma
    Age: 27
    Gender: Male
    Nature: Hasty
    Posts: 168
    Quote:
    Originally Posted by foullump View Post
    You would need to use the green "script" boxes in advance map. I'll cover that in the lesson 6 follow up eventually.
    ah lol i figured that out :P, now i just need it so that when i talk to her again she either responds that i still need to find it, or that after i found it she just talks normally to me(im guessing i set a seperate script for that to the actual character of her, with a checkflag to see if ive turned in the item already or not), although that makes it a bit confusing cuz then that means i have to make the script for finding the item and turning it in, thennn making the script on how she responds to whether you have found it or not
    __________________

    Spoiler:




    Warm my eggs please and ill return the favor
    and of course friends are great to have so add me plzz

    Click here to feed me a DigiTreat!

    Click here to feed me a Rare Candy!

    Reply With Quote
      #52    
    Old October 20th, 2009 (10:56 AM).
    Ben.'s Avatar
    Ben. Ben. is offline
    Orange I s l a n d s~
     
    Join Date: Jun 2009
    Location: England
    Age: 22
    Gender: Male
    Nature: Quirky
    Posts: 625
    Do you realize how much you have helped me?
    Thanks so much i really appreciate this.
    Seriously i can't thank you enough. :D
    __________________


    Reply With Quote
      #53    
    Old October 22nd, 2009 (8:11 AM).
    SiegHart's Avatar
    SiegHart SiegHart is offline
    Guardian of Time
       
      Join Date: Aug 2009
      Location: oklahoma
      Age: 27
      Gender: Male
      Nature: Hasty
      Posts: 168
      hmm i think i know how to do it right but what if i wanted to do more than one script on a person, i dont know what order i would put everything

      like first if you didnt find it already she would tell you where she last saw her pokedoll, then if you found it you give it to her and she says ur grandpa is looking for you, then anytime after that she just says thanks for helping her find the pokedoll... i cant figure out in which order everything would go though =[
      __________________

      Spoiler:




      Warm my eggs please and ill return the favor
      and of course friends are great to have so add me plzz

      Click here to feed me a DigiTreat!

      Click here to feed me a Rare Candy!

      Reply With Quote
        #54    
      Old October 24th, 2009 (3:12 PM).
      chrunch chrunch is offline
       
      Join Date: Oct 2009
      Gender: Male
      Posts: 1,350
      Thanks, I can finally script now! How do I script pokemon trades ingame?
      __________________
      Reply With Quote
        #55    
      Old October 25th, 2009 (9:58 AM).
      foullump's Avatar
      foullump foullump is offline
      Rom Hacking Guru
         
        Join Date: Mar 2007
        Location: United States
        Nature: Calm
        Posts: 220
        Quote:
        Originally Posted by SiegHart View Post
        hmm i think i know how to do it right but what if i wanted to do more than one script on a person, i dont know what order i would put everything

        like first if you didnt find it already she would tell you where she last saw her pokedoll, then if you found it you give it to her and she says ur grandpa is looking for you, then anytime after that she just says thanks for helping her find the pokedoll... i cant figure out in which order everything would go though =[
        This should do it. Just make sure that grandpa sets flag 0x1201 somewhere in his script or she'll never stop telling you that he's looking for you.
        Code:
        #org $go
        lock
        faceplayer
        checkflag 0x1201
        if 0x01 goto $done
        checkflag 0x1200
        if 0x01 goto $gpa
        checkitem 0x50 1
        compare 0x800D 0x0001
        if 1 goto $have
        message $talk
        $talk 1 = I don't know where my DOLL is\hb0
        boxset 6
        release
        end
        
        #org $have
        message $wow
        $wow 1 = Holy crud you found it?! Thanks!\pBy the way\hb0
        boxset 6
        setflag 0x1200
        goto $gpa
        
        #org $gpa
        message $g
        $g 1 = Your grandpa is looking for you.
        boxset 6
        release
        end
        
        #org $done
        message $so
        $so 1 = So what's up?
        boxset 6
        release
        end
        Quote:
        Originally Posted by chrunch View Post
        Thanks, I can finally script now! How do I script pokemon trades ingame?
        I never learned how to do that. What I would do, is use a script that already exists in the game, but go in via hex and just change the pokemon that are being traded, and the text, of course!
        __________________
        Reply With Quote
          #56    
        Old October 26th, 2009 (7:32 AM).
        SiegHart's Avatar
        SiegHart SiegHart is offline
        Guardian of Time
           
          Join Date: Aug 2009
          Location: oklahoma
          Age: 27
          Gender: Male
          Nature: Hasty
          Posts: 168
          Quote:
          Originally Posted by foullump View Post
          This should do it. Just make sure that grandpa sets flag 0x1201 somewhere in his script or she'll never stop telling you that he's looking for you.
          Code:
          #org $go
          lock
          faceplayer
          checkflag 0x1201
          if 0x01 goto $done
          checkflag 0x1200
          if 0x01 goto $gpa
          checkitem 0x50 1
          compare 0x800D 0x0001
          if 1 goto $have
          message $talk
          $talk 1 = I don't know where my DOLL is\hb0
          boxset 6
          release
          end
          
          #org $have
          message $wow
          $wow 1 = Holy crud you found it?! Thanks!\pBy the way\hb0
          boxset 6
          setflag 0x1200
          goto $gpa
          
          #org $gpa
          message $g
          $g 1 = Your grandpa is looking for you.
          boxset 6
          release
          end
          
          #org $done
          message $so
          $so 1 = So what's up?
          boxset 6
          release
          end

          I never learned how to do that. What I would do, is use a script that already exists in the game, but go in via hex and just change the pokemon that are being traded, and the text, of course!
          thank you so much =D, i see that i was fairly close in my script, i just wasnt sure what order the first part should be in
          __________________

          Spoiler:




          Warm my eggs please and ill return the favor
          and of course friends are great to have so add me plzz

          Click here to feed me a DigiTreat!

          Click here to feed me a Rare Candy!

          Reply With Quote
            #57    
          Old October 26th, 2009 (12:58 PM).
          asdfmoovie asdfmoovie is offline
             
            Join Date: Oct 2009
            Gender: Male
            Posts: 1
            foullump do you have vista? if so can you right click on the .rbc file and see a "compile script" option? i have vista home basic 32 Bit. GREAT TUTORIAL THOUGHT. on pokescript if you click file --> encode does that mean compile?
            Reply With Quote
              #58    
            Old October 26th, 2009 (2:03 PM).
            evilmonkey1293 evilmonkey1293 is offline
               
              Join Date: Jan 2009
              Gender:
              Nature: Quiet
              Posts: 1
              Quote:
              Originally Posted by asdfmoovie View Post
              foullump do you have vista? if so can you right click on the .rbc file and see a "compile script" option? i have vista home basic 32 Bit. GREAT TUTORIAL THOUGHT. on pokescript if you click file --> encode does that mean compile?
              I have Vista and I'm able to compile script. I wasn't able to a while back though. What I did was download XSE, make a random script, then save it. After that, I went back to my notepad, make my real script, saved it as (insert name here).rbc then I was able to right click and compile script. I'm sure there's a better and proper way to do it though.
              Reply With Quote
                #59    
              Old October 26th, 2009 (7:03 PM).
              CdubFosho's Avatar
              CdubFosho CdubFosho is offline
              Pokemon Adventure breeder
                 
                Join Date: May 2006
                Location: USA
                Age: 31
                Gender: Male
                Nature: Naughty
                Posts: 53
                i loved the videos i look forward to more, where did you get the text files that had all the items in the game and all the pokemon in the game?!? thanks :D
                __________________
                This signature has been disabled.
                521 pixels too tall.
                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
                  #60    
                Old November 1st, 2009 (6:34 PM).
                SiegHart's Avatar
                SiegHart SiegHart is offline
                Guardian of Time
                   
                  Join Date: Aug 2009
                  Location: oklahoma
                  Age: 27
                  Gender: Male
                  Nature: Hasty
                  Posts: 168
                  hmmm you should do a movecamera tutorial maybe, im sure its simple but i havent seen a tutorial for it yet and i would like to know =P

                  o and on the script u gave me a few posts up, there something wrong with it, when i talk to the girl it doesnt freeze up, but it doesnt even lockplayer or activate the script
                  __________________

                  Spoiler:




                  Warm my eggs please and ill return the favor
                  and of course friends are great to have so add me plzz

                  Click here to feed me a DigiTreat!

                  Click here to feed me a Rare Candy!

                  Reply With Quote
                    #61    
                  Old November 4th, 2009 (12:12 PM).
                  The Ominous Plains's Avatar
                  The Ominous Plains The Ominous Plains is offline
                  I'll make Userbars for You!
                     
                    Join Date: May 2009
                    Location: England
                    Age: 23
                    Gender: Male
                    Nature: Relaxed
                    Posts: 146
                    urrrgh, okay i followed everything, but when i go to talk to the fat guy (who i applied the script too) nothing happens
                    Reply With Quote
                      #62    
                    Old November 5th, 2009 (7:24 AM).
                    SiegHart's Avatar
                    SiegHart SiegHart is offline
                    Guardian of Time
                       
                      Join Date: Aug 2009
                      Location: oklahoma
                      Age: 27
                      Gender: Male
                      Nature: Hasty
                      Posts: 168
                      Quote:
                      Originally Posted by The Ominous Plains View Post
                      urrrgh, okay i followed everything, but when i go to talk to the fat guy (who i applied the script too) nothing happens

                      lol thats what im having problems with too =P, but first off, what kind of script is it? maybe i can figure it out for you =D
                      __________________

                      Spoiler:




                      Warm my eggs please and ill return the favor
                      and of course friends are great to have so add me plzz

                      Click here to feed me a DigiTreat!

                      Click here to feed me a Rare Candy!

                      Reply With Quote
                        #63    
                      Old November 6th, 2009 (5:39 AM).
                      Geinor Geinor is offline
                         
                        Join Date: Sep 2009
                        Gender: Male
                        Posts: 3
                        Thank you , for this tutorial . Plese say this script are working in Pokemon Fire Red -

                        #org $script
                        lock
                        faceplayer
                        checkflag 0x1200
                        if 0x01 goto $done
                        message $talk
                        $talk 1 = This is for you .
                        boxset 6
                        givepokemon 198 5 0x0
                        setflag 0x1200
                        release
                        end

                        #org $done
                        message $noob
                        $noob 1 = Good bye .
                        boxset 6
                        release
                        end
                        Reply With Quote
                          #64    
                        Old November 7th, 2009 (3:41 AM).
                        SiegHart's Avatar
                        SiegHart SiegHart is offline
                        Guardian of Time
                           
                          Join Date: Aug 2009
                          Location: oklahoma
                          Age: 27
                          Gender: Male
                          Nature: Hasty
                          Posts: 168
                          Quote:
                          Originally Posted by Geinor View Post
                          Thank you , for this tutorial . Plese say this script are working in Pokemon Fire Red -

                          #org $script
                          lock
                          faceplayer
                          checkflag 0x1200
                          if 0x01 goto $done
                          message $talk
                          $talk 1 = This is for you .
                          boxset 6
                          givepokemon 198 5 0x0
                          setflag 0x1200
                          release
                          end

                          #org $done
                          message $noob
                          $noob 1 = Good bye .
                          boxset 6
                          release
                          end
                          i see nothing wrong with that at all, it should work unless im missing something
                          __________________

                          Spoiler:




                          Warm my eggs please and ill return the favor
                          and of course friends are great to have so add me plzz

                          Click here to feed me a DigiTreat!

                          Click here to feed me a Rare Candy!

                          Reply With Quote
                            #65    
                          Old November 7th, 2009 (4:23 AM).
                          Maxzeroedge's Avatar
                          Maxzeroedge Maxzeroedge is offline
                          Ready for simply anything
                             
                            Join Date: Jun 2009
                            Location: In my home?
                            Gender: Male
                            Nature: Relaxed
                            Posts: 49
                            well won't it give Pokemon each time you talk?
                            And how to prevent it if it does so? (been pondering over it for weeks now!!)
                            __________________
                            Life is simply awesome
                            Reply With Quote
                              #66    
                            Old November 7th, 2009 (10:09 AM).
                            SiegHart's Avatar
                            SiegHart SiegHart is offline
                            Guardian of Time
                               
                              Join Date: Aug 2009
                              Location: oklahoma
                              Age: 27
                              Gender: Male
                              Nature: Hasty
                              Posts: 168
                              Quote:
                              Originally Posted by Maxzeroedge View Post
                              well won't it give Pokemon each time you talk?
                              And how to prevent it if it does so? (been pondering over it for weeks now!!)
                              no it wont because you have the checkflag and set flag in there
                              __________________

                              Spoiler:




                              Warm my eggs please and ill return the favor
                              and of course friends are great to have so add me plzz

                              Click here to feed me a DigiTreat!

                              Click here to feed me a Rare Candy!

                              Reply With Quote
                                #67    
                              Old November 8th, 2009 (5:07 AM). Edited November 8th, 2009 by The Ominous Plains.
                              The Ominous Plains's Avatar
                              The Ominous Plains The Ominous Plains is offline
                              I'll make Userbars for You!
                                 
                                Join Date: May 2009
                                Location: England
                                Age: 23
                                Gender: Male
                                Nature: Relaxed
                                Posts: 146
                                i love these scripting tuts...
                                what will follump do next?
                                mapping?
                                Inserting OW sprites? (i need a video for this one especially)

                                darn it! it still isn't working. :(
                                when ever i go into that Buf Rite thing you have something that says $talk andthen $script
                                i only get $script
                                Reply With Quote
                                  #68    
                                Old November 9th, 2009 (5:54 AM).
                                SiegHart's Avatar
                                SiegHart SiegHart is offline
                                Guardian of Time
                                   
                                  Join Date: Aug 2009
                                  Location: oklahoma
                                  Age: 27
                                  Gender: Male
                                  Nature: Hasty
                                  Posts: 168
                                  Quote:
                                  Originally Posted by The Ominous Plains View Post
                                  i love these scripting tuts...
                                  what will follump do next?
                                  mapping?
                                  Inserting OW sprites? (i need a video for this one especially)

                                  darn it! it still isn't working. :(
                                  when ever i go into that Buf Rite thing you have something that says $talk andthen $script
                                  i only get $script
                                  did u make sure there are no typos in it o.o, post ur script in a spoiler and maybe i can help
                                  __________________

                                  Spoiler:




                                  Warm my eggs please and ill return the favor
                                  and of course friends are great to have so add me plzz

                                  Click here to feed me a DigiTreat!

                                  Click here to feed me a Rare Candy!

                                  Reply With Quote
                                    #69    
                                  Old November 10th, 2009 (2:35 PM).
                                  mustyoshi mustyoshi is offline
                                     
                                    Join Date: Nov 2009
                                    Posts: 15
                                    Can you give a tut for changing the video?
                                    Reply With Quote
                                      #70    
                                    Old November 16th, 2009 (7:25 PM).
                                    legendaryhacker101's Avatar
                                    legendaryhacker101 legendaryhacker101 is offline
                                    Legendary Master
                                       
                                      Join Date: Nov 2009
                                      Gender: Male
                                      Posts: 2
                                      Hey I am new to this I watched all your tutorials and am trying to enter a wild batlle script for the Pokemon Ho-Oh. When i put it in the game all it does is do the cry and then the screen fades and does nothing could you help me.

                                      Heres the script

                                      #org $script
                                      lock
                                      faceplayer
                                      cry 0xA1 79
                                      #raw 0x33
                                      pause 0x30
                                      message $cry
                                      $cry 1 = Ho-oh: Ho-ohhhhhhhhh!
                                      boxset 6
                                      wildbattle 250 70 1
                                      pause 0x70
                                      fadescreen 1
                                      removesprite 1
                                      setflag 0x1211
                                      pause 0x10
                                      fadescreen 0
                                      release
                                      end
                                      __________________
                                      Maker of Legends.
                                      Reply With Quote
                                        #71    
                                      Old November 17th, 2009 (7:07 AM).
                                      foullump's Avatar
                                      foullump foullump is offline
                                      Rom Hacking Guru
                                         
                                        Join Date: Mar 2007
                                        Location: United States
                                        Nature: Calm
                                        Posts: 220
                                        Quote:
                                        Originally Posted by legendaryhacker101 View Post
                                        Hey I am new to this I watched all your tutorials and am trying to enter a wild batlle script for the Pokemon Ho-Oh. When i put it in the game all it does is do the cry and then the screen fades and does nothing could you help me.

                                        Heres the script

                                        #org $script
                                        lock
                                        faceplayer
                                        cry 0xA1 79
                                        #raw 0x33
                                        pause 0x30
                                        message $cry
                                        $cry 1 = Ho-oh: Ho-ohhhhhhhhh!
                                        boxset 6
                                        wildbattle 250 70 1
                                        pause 0x70
                                        fadescreen 1
                                        removesprite 1
                                        setflag 0x1211
                                        pause 0x10
                                        fadescreen 0
                                        release
                                        end
                                        Make sure that you have the pokescript database from lesson 4, and that you set the person's id to 1211 in advance map.

                                        Also, does anyone have any suggestions for any more lessons or any other tutorials at all? I'm up for mapping tutorials and such.
                                        __________________
                                        Reply With Quote
                                          #72    
                                        Old November 17th, 2009 (8:04 AM).
                                        SiegHart's Avatar
                                        SiegHart SiegHart is offline
                                        Guardian of Time
                                           
                                          Join Date: Aug 2009
                                          Location: oklahoma
                                          Age: 27
                                          Gender: Male
                                          Nature: Hasty
                                          Posts: 168
                                          Quote:
                                          Originally Posted by foullump View Post
                                          Make sure that you have the pokescript database from lesson 4, and that you set the person's id to 1211 in advance map.

                                          Also, does anyone have any suggestions for any more lessons or any other tutorials at all? I'm up for mapping tutorials and such.
                                          i vote for a move camera tutorial =D, and maybe level scripts if its possible this way
                                          __________________

                                          Spoiler:




                                          Warm my eggs please and ill return the favor
                                          and of course friends are great to have so add me plzz

                                          Click here to feed me a DigiTreat!

                                          Click here to feed me a Rare Candy!

                                          Reply With Quote
                                            #73    
                                          Old November 17th, 2009 (2:21 PM). Edited November 18th, 2009 by legendaryhacker101.
                                          legendaryhacker101's Avatar
                                          legendaryhacker101 legendaryhacker101 is offline
                                          Legendary Master
                                             
                                            Join Date: Nov 2009
                                            Gender: Male
                                            Posts: 2
                                            Quote:
                                            Originally Posted by foullump View Post
                                            Make sure that you have the pokescript database from lesson 4, and that you set the person's id to 1211 in advance map.

                                            Also, does anyone have any suggestions for any more lessons or any other tutorials at all? I'm up for mapping tutorials and such.
                                            Yeah I did all that and its still not working Arrgh. Anyways I think its my advance map because my game has sprites that i deleted and they wont go away so... It sucks. I vote for making a gym leader or elite 4 trainer. Dpes it matter that I am using Pokemon Emerald instead of Fire Red because I think its not letting me remove sprites or wild battle codes because i tried to do the event after another event in Lesson 6 and that wouldn't work either.
                                            __________________
                                            Maker of Legends.
                                            Reply With Quote
                                              #74    
                                            Old November 26th, 2009 (12:28 PM).
                                            thecougards's Avatar
                                            thecougards thecougards is offline
                                               
                                              Join Date: Jul 2007
                                              Nature: Adamant
                                              Posts: 10
                                              Is there any way to chan how an itemsorksile iwant to makeitso I can catch rainer pokemon like wild pokemon with a certain ball cause I want to make a rocket game

                                              Thanks
                                              __________________
                                              pokemon triumphe creater. looking for help.!
                                              Reply With Quote
                                                #75    
                                              Old December 19th, 2009 (7:07 PM).
                                              Jemzx's Avatar
                                              Jemzx Jemzx is offline
                                              Guardian Trainer
                                                 
                                                Join Date: Nov 2009
                                                Gender: Male
                                                Nature: Relaxed
                                                Posts: 44
                                                Is there a movement script in wich makes walk into a warp and appear in another place??

                                                Like professor OAK's event...
                                                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
                                                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 12:27 PM.