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

Closed Thread
 
Thread Tools
  #151    
Old December 9th, 2008 (8:53 AM).
chrisdurer's Avatar
chrisdurer chrisdurer is offline
     
    Join Date: Apr 2008
    Age: 25
    Gender:
    Nature: Quiet
    Posts: 31
    Send a message via Windows Live Messenger to chrisdurer
    does anyone know how to make a person talk to you ant then they walk away and disapear for the rest of the game?

    this is the code that i have
    Code:
    '-----------------------
    #org 0x800944
    lock
    faceplayer
    checkflag 0x827
    if 0x0 goto 0x8800957
    if 0x1 goto 0x8800972
    end
    '-----------------------
    #org 0x800957
    msgbox 0x8800972 '"im leaving"
    callstd 0x6
    closeonkeypress
    compare 0x4001 0x0
    applymovement MOVE_PLAYER 0x880097F
    waitmovement 0x0
    release
    end
    '-----------------------
    #org 0x800972
    
    '-----------
    ' Movements
    '-----------
    #org 0x80097F
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 12 'Step Left (Normal)
    #raw 60 'Hide
    #raw FE 'End of Movements
    
    '---------
    ' Strings
    '---------
    #org 0x800972
    = im leaving

    Relevant Advertising!

      #152    
    Old December 12th, 2008 (7:41 PM).
    hot_kage's Avatar
    hot_kage hot_kage is offline
    I am like a rose cute and calm
       
      Join Date: Oct 2008
      Location: Long Beach , California
      Age: 24
      Gender:
      Nature: Naughty
      Posts: 35
      Quote:
      Originally Posted by Seth-kun

      #org @start
      lock
      faceplayer
      pokemart @values
      release
      end

      #org @values

      binary 0x(number) . . . 0x0


      so for a warp script do i replace binary 0x.. with warp 0x... to make it a warp script or is their another script for the warp script?
        #153    
      Old December 16th, 2008 (12:30 AM).
      Crystal_scythe Crystal_scythe is offline
         
        Join Date: Dec 2008
        Gender:
        Posts: 5
        OK,I hate this,but I have to admit...I don't understand anything!Although I've read 3 Tut posts,I still...So,can U write the Script from the begining to..let me see...when U get ur pokemon?And show me the way to save the Script into the Game *sigh*
          #154    
        Old December 16th, 2008 (9: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 Crystal_scythe View Post
        OK,I hate this,but I have to admit...I don't understand anything!Although I've read 3 Tut posts,I still...So,can U write the Script from the begining to..let me see...when U get ur pokemon?And show me the way to save the Script into the Game *sigh*
        You must have understood something, at least. Besides, did you try decompiling some in-game scripts to see how they are made and how they would work?
        __________________
          #155    
        Old December 16th, 2008 (7:32 PM). Edited December 16th, 2008 by Crystal_scythe.
        Crystal_scythe Crystal_scythe is offline
           
          Join Date: Dec 2008
          Gender:
          Posts: 5
          OK I have a question now,..
          If I want Prof.Birch to say:Hello!Nice to meet ya! instead of....,what must I do?I can use A-Text but I think I can use XSE too,right?

          Sorry for double posts,but...Hoo-rah!!I've changed something.I made the fatman in LittlerootTown changed.Well,I wrote

          #Dynamic 0x16A7C8

          #org $begin
          Lock
          Faceplayer
          message @talk
          boxset 0x6
          release
          end

          #org $talk
          = Ciao

          After that,I compiled it into my Ruby.But...he said nothing.I pressed A-button 3 times and nothing happened.Anybody help me??
            #156    
          Old December 16th, 2008 (10:37 PM).
          Darthatron's Avatar
          Darthatron Darthatron is offline
          巨大なトロール。
          • Silver Tier
           
          Join Date: Jan 2006
          Location: Melbourne, Australia
          Age: 25
          Gender: Male
          Nature: Modest
          Posts: 1,152
          Quote:
          Originally Posted by Crystal_scythe View Post
          OK I have a question now,..
          If I want Prof.Birch to say:Hello!Nice to meet ya! instead of....,what must I do?I can use A-Text but I think I can use XSE too,right?

          Sorry for double posts,but...Hoo-rah!!I've changed something.I made the fatman in LittlerootTown changed.Well,I wrote

          #Dynamic 0x16A7C8

          #org $begin
          Lock
          Faceplayer
          message @talk
          boxset 0x6
          release
          end

          #org $talk
          = Ciao

          After that,I compiled it into my Ruby.But...he said nothing.I pressed A-button 3 times and nothing happened.Anybody help me??
          You're using $ signs, instead of @ symbols... :\ You should have got an error when you tried to compile it. Use this script instead:
          Code:
          #Dynamic 0x16A7C8
          
          #org @begin
          Lock
          Faceplayer
          message @talk
          boxset 0x6
          release
          end
          
          #org @talk
          = Ciao
          Then use the offset of "@begin" as the offset for the script for the fat man.
          __________________
          あなた は しきしゃ です
          わたし は ばか です
            #157    
          Old December 17th, 2008 (2:32 AM).
          Crystal_scythe Crystal_scythe is offline
             
            Join Date: Dec 2008
            Gender:
            Posts: 5
            Ok I replaced $ for @.But after that?Must I copy "@begin" and paste it into
            Scriptoffset: $..... ??
            P/s:When I used $, I got no errors...!
              #158    
            Old December 17th, 2008 (4:39 AM).
            Darthatron's Avatar
            Darthatron Darthatron is offline
            巨大なトロール。
            • Silver Tier
             
            Join Date: Jan 2006
            Location: Melbourne, Australia
            Age: 25
            Gender: Male
            Nature: Modest
            Posts: 1,152
            Quote:
            Originally Posted by Crystal_scythe View Post
            Ok I replaced $ for @.But after that?Must I copy "@begin" and paste it into
            Scriptoffset: $..... ??
            P/s:When I used $, I got no errors...!
            When you compile a window should come up, and give you a list of offsets, select "@begin" and click the "Copy" button.
            __________________
            あなた は しきしゃ です
            わたし は ばか です
              #159    
            Old December 17th, 2008 (1:16 PM).
            treecko 22's Avatar
            treecko 22 treecko 22 is offline
            Lucario 9's brother
               
              Join Date: Jul 2008
              Gender:
              Posts: 19
              this is the best XSE tut ever !!
              all the others are alright but this is top class.
              thanks !
              __________________
              hacks i support:
              Spoiler:


                #160    
              Old December 18th, 2008 (5:03 AM).
              Crystal_scythe Crystal_scythe is offline
                 
                Join Date: Dec 2008
                Gender:
                Posts: 5
                Hey ya.I want a person to give me 5 Pokeballs or 3 Potions(Of course I'll choose).After that he will not give me anything and say:That's all(Or he can leave).SO what must I do?
                  #161    
                Old December 27th, 2008 (3:33 AM).
                HackMew's Avatar
                HackMew HackMew is offline
                Mewtwo Strikes Back
                • Crystal Tier
                 
                Join Date: Jun 2006
                Posts: 1,314
                Like I said in the other thread, I suggest the author downloading latest XSE and adjusting the whole post to adjust or remove anything that's outdated, wrong or misleading. Thanks in advance.
                __________________
                  #162    
                Old January 1st, 2009 (1:08 PM). Edited January 1st, 2009 by Beab.
                Beab Beab is offline
                   
                  Join Date: Jul 2007
                  Gender:
                  Nature: Lax
                  Posts: 5
                  Okay, so I'm trying to make the running shoes disappear after you collect them. I'm using this:

                  '---------------
                  #org 0x3B5D24
                  lock
                  faceplayer
                  setflag 0x82F
                  fanfare 0x13E
                  msgbox 0x83B5C63 MSG_FACE '"You stole the running shoes \nfrom..."
                  release
                  checkflag 0x82F
                  if 0x1 goto 0x83B5D3F
                  '---------------
                  #org 0x3B5D3F
                  hidesprite LASTTALKED
                  release
                  end


                  '---------
                  ' Strings
                  '---------
                  #org 0x3B5C63
                  = You stole the running shoes \nfrom Steven


                  What am I doing wrong?
                    #163    
                  Old January 2nd, 2009 (3:07 PM).
                  .Seth's Avatar
                  .Seth .Seth is offline
                  .explorer.
                  • Crystal Tier
                   
                  Join Date: Jun 2008
                  Location: A capacitor in a power supply board.
                  Gender: Male
                  Nature: Quiet
                  Posts: 1,645
                  I added some cool CSS to the thread to make it look pretty and I rewrote the whole thing, so I suggest you guys read over it!
                    #164    
                  Old January 2nd, 2009 (5:50 PM). Edited January 3rd, 2009 by Beab.
                  Beab Beab is offline
                     
                    Join Date: Jul 2007
                    Gender:
                    Nature: Lax
                    Posts: 5
                    What's wrong with this?
                    Fire Red
                    Script:
                    #Dynamic 0x31CEFA

                    #org @start
                    checkflag 0x82F
                    if 0x0 goto @event
                    if 0x1 goto @end
                    end

                    #org @event
                    lock
                    msgbox @1 MSG_FACE
                    msgbox @2 msg_face
                    fanfare 0x13E
                    waitfanfare
                    msgbox @3 msg_face
                    setflag 0x82F
                    applymovement 0x1 @move
                    waitmovement 0x0
                    release
                    end

                    #org @1
                    = \nHey, good to see you're awake.\pGood called, he said that you're\nsupposed to meet him at his house.\p
                    #org @2
                    = I know you're in a hurry, too\nso have these:\p
                    #org @3
                    = [Player] received a pair of running\nshoes!\pThere's directions attached:\nTo run, press B while walking.\p

                    #org @move

                    #RAW 0x13
                    #RAW 0x13
                    #RAW 0x11
                    #RAW 0xFE

                    #org @end
                    release
                    end
                      #165    
                    Old January 2nd, 2009 (8:48 PM). Edited January 2nd, 2009 by TwiliteFriends.
                    TwiliteFriends's Avatar
                    TwiliteFriends TwiliteFriends is offline
                    Pialka vs Dipalka's Referrees
                       
                      Join Date: Dec 2008
                      Gender:
                      Nature: Lax
                      Posts: 4
                      Thnx this is great! Is awesome! 5 star!

                      THNX It help alot!
                      And yur tutorial is understandable~!
                      __________________
                      <a


                      Thank to the people who gave me some tip!
                      special thnx to everyone!

                      THis is the hacked rom I support:
                      Shiny Gold
                      Quartz
                      Prism
                      Naranja
                      Ruby Destiny
                      keyra
                        #166    
                      Old January 2nd, 2009 (9:39 PM).
                      mattattack's Avatar
                      mattattack mattattack is offline
                      Huh, Son?
                         
                        Join Date: Apr 2008
                        Location: Why would you care?
                        Nature: Jolly
                        Posts: 183
                        Hello Seth I need help is this script right?

                        Spoiler:
                        #dynamic 0x800010
                        #org @starter
                        lock
                        faceplayer
                        checkflag 0x828
                        msgbox @Choose
                        boxset 0x6
                        if 0x0 goto @give
                        if 0x1 goto @goodluck
                        release
                        end

                        #org @give
                        msgbox @Elekid
                        Boxset 0x5
                        if 0x1 goto @elekidgave
                        if 0x0 goto @magby1
                        release
                        end

                        #org @magby1
                        msgbox @Magby2
                        boxset 0x5
                        if 0x1 goto @magbygave
                        if 0x0 goto @smoochum
                        release
                        end

                        #org @smoochum
                        msgbox @smoocchum2
                        boxset 0x5
                        if 0x1 goto @smoochumgave
                        if 0x0 goto @give
                        release
                        end

                        #org @elekidgave
                        givepokemon 0xEF 0x5 0x0 0x0 0x0 0x0
                        fanfare 0x13E
                        waitfanfare
                        msgbox @speech
                        boxset 0x6
                        setflag 0x828
                        release
                        end

                        #org @magbygave
                        givepokemon 0xF0 0x5 0x0 0x0 0x0 0x0
                        fanfare 0x13E
                        waitfanfare
                        msgbox @speech
                        boxset 0x6
                        setflag 0x828
                        release
                        end

                        #org @smoochumgave
                        givepokemon 0xF0 0x5 0x0 0x0 0x0 0x0
                        fanfare 0x13E
                        waitfanfare
                        msgbox @speech
                        boxset 0x6
                        setflag 0x828
                        release
                        end

                        #org @choose
                        = Hello, \v\h01\ how are you?\ntoday you will get your first\nPokemon. Please choose carefully their\nrare.
                        #org @Elekid
                        = Do you want Elekid?

                        #org @Magby2
                        = Do you want Magby?

                        #org @smoochum
                        = Do you want Smoochum?

                        #org @speech
                        = Well now \v\h01\ you chose your first pokemon\ntake care of it now and also\nDid you here the reports of\na crater located in the middle of\nDimento City? Well I want you\nto explore the crater for my assistant\nhe will give you the pokedex he got\nfrom the pokemart in Dimento City.

                        #org @goodluck
                        = Good luck on your journey
                          #167    
                        Old January 2nd, 2009 (9:54 PM).
                        ZodiacDaGreat's Avatar
                        ZodiacDaGreat ZodiacDaGreat is offline
                        Working on a Mobile System
                           
                          Join Date: Feb 2007
                          Location: South Pacific
                          Age: 24
                          Gender: Male
                          Nature: Relaxed
                          Posts: 429
                          Send a message via ICQ to ZodiacDaGreat
                          What the heck? What's the point of this tutorial... Another scripting tutorial?

                          @All Newbies - Theres a nice official XSE tutorial, no one knows XSE better than the creator so read that instead. If there's anything unclear notify HackMew.

                          Work on the guide is in progress
                          __________________
                            #168    
                          Old January 4th, 2009 (3:43 PM).
                          .Seth's Avatar
                          .Seth .Seth is offline
                          .explorer.
                          • Crystal Tier
                           
                          Join Date: Jun 2008
                          Location: A capacitor in a power supply board.
                          Gender: Male
                          Nature: Quiet
                          Posts: 1,645
                          @ZodiacDaGreat: It's not new. I updated it. And, what do you mean, what's the point? It's rather obvious. To teach about how to script using XSE. You're right when you say nobody knows better than the creator. But, did I say this was a tutorial about how to use the program? No, it's a tutorial that's about scripting for use with the program XSE.

                          Anyways, I'm learning some new scripting stuff, so there should be an update soon.
                            #169    
                          Old January 4th, 2009 (4:28 PM).
                          machomuu's Avatar
                          machomuu machomuu is offline
                          • Crystal Tier
                          • Crystal Tier
                           
                          Join Date: Apr 2008
                          Location: Americalanavania
                          Gender: Male
                          Nature: Relaxed
                          Posts: 10,235
                          Quote:
                          Originally Posted by RaiRai-kun View Post
                          Anyways, I'm learning some new scripting stuff, so there should be an update soon.
                          Another one?!!
                          Well anyway, the huge update helped me learn to script more, so thanks, it actually reminds me of TheTheThe's tutorial, except in XSE, keep up the good work :D!
                          __________________
                          Paired to and madly in love with a literal Symphony of legs.
                          Collab de
                          Los Video JUEGOS

                          I also watch anime sometimes. Just a little.
                            #170    
                          Old January 4th, 2009 (5:24 PM).
                          .Seth's Avatar
                          .Seth .Seth is offline
                          .explorer.
                          • Crystal Tier
                           
                          Join Date: Jun 2008
                          Location: A capacitor in a power supply board.
                          Gender: Male
                          Nature: Quiet
                          Posts: 1,645
                          Thanks, machomuu. I am learning new stuff, but I may not update it as quick as you think. Mostly because I have to get the CSS tables right when I add new things.
                            #171    
                          Old January 5th, 2009 (10:37 AM).
                          Binary's Avatar
                          Binary Binary is offline
                          え?
                             
                            Join Date: Aug 2007
                            Age: 22
                            Posts: 3,993
                            Nice, the layout looks fantastic. I hope that you also add some more commands and stuff. But it's a spectacular tutorial. Nice job!
                            __________________
                              #172    
                            Old January 5th, 2009 (11:33 AM).
                            marbles are great marbles are great is offline
                               
                              Join Date: Dec 2008
                              Gender:
                              Posts: 2
                              I'm new to this whole scripting thing and need a little hand, is it okay for me to ask here?

                              Anyway, here's my problem, why won't this script save?
                              Spoiler:

                              #dynamic 0x2DD100

                              #org @start
                              lock
                              faceplayer
                              checkflag 0x828
                              if 0x0 goto @give
                              if 0x1 goto @hi
                              release
                              end

                              #org @give
                              msgbox @givetext
                              boxset 0x6
                              givepokemon 0x84 0x5 0x0 0x0 0x0 0x0
                              fanfare 0x13E
                              waitfanfare
                              setflag 0x828
                              msgbox @recieved
                              boxset 0x6
                              release
                              end

                              #org @givetext
                              = Hi, [player]!\nCongratulations on finishing\lyour training.\lIt's time to get your\lfirst Pokemon!

                              #org @recieved
                              = \c\h01\h04You got your first Pokemon!
                              #org @hi

                              = Hi [player],\nhow's the adventure?

                              I put the script in, then I press Compile then I save usually putting the name as 1 then the Compile thing closes so then I press x on XSE and it then it asks to save again, so I do, again as 1 but when I reopen XSE (through Advancemap) it just has the original script there? I can edit scripts but I can't make my own, basically? Is it because I'm doing it through Advancemap?
                                #173    
                              Old January 5th, 2009 (2:28 PM).
                              .Seth's Avatar
                              .Seth .Seth is offline
                              .explorer.
                              • Crystal Tier
                               
                              Join Date: Jun 2008
                              Location: A capacitor in a power supply board.
                              Gender: Male
                              Nature: Quiet
                              Posts: 1,645
                              @marbles the great: Yes, I'm pretty sure that's why. Because in Advance Map, you edit the script, not create new ones. You have to open XSE by itself to make new scripts.

                              @Binary: Thanks. Spent a lot of time on it. I will be adding stuff soon.
                                #174    
                              Old January 5th, 2009 (3:18 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,945
                                Quote:
                                Originally Posted by marbles are great View Post
                                I put the script in, then I press Compile then I save usually putting the name as 1 then the Compile thing closes so then I press x on XSE and it then it asks to save again, so I do, again as 1 but when I reopen XSE (through Advancemap) it just has the original script there? I can edit scripts but I can't make my own, basically? Is it because I'm doing it through Advancemap?
                                You need to put the offset of the @start (the number it gives) and put that into the A-Map thing saying "Script offset". Needs a $ in front though.
                                __________________
                                Brony represent.
                                  #175    
                                Old January 6th, 2009 (11:46 AM). Edited January 6th, 2009 by marbles are great.
                                marbles are great marbles are great is offline
                                   
                                  Join Date: Dec 2008
                                  Gender:
                                  Posts: 2
                                  Okay, I'll have a go now, thanks. =D


                                  Yay it worked
                                  Closed Thread
                                  Quick Reply

                                  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 4:36 AM.