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

TrollandToad.com
Closed Thread
 
Thread Tools
  #101    
Old November 14th, 2008 (6:54 PM).
machomuu's Avatar
machomuu machomuu is offline
  • Crystal Tier
 
Join Date: Apr 2008
Location: Americalanavania
Gender: Male
Nature: Relaxed
Posts: 10,309
Quote:
Originally Posted by HackMew View Post
Did you check the Command Help?
The syntax is like this:

Code:
applymovement [people no.] [pointer to movements]
waitmovement 0x0
So you mean person # or event #, and if the person # was 6, would it be written:
applymovement 0x06 pop
waitmovement 0x0
?
__________________
Paired to and madly in love with a literal Symphony of legs.


I also watch anime sometimes. Just a little.

Relevant Advertising!

  #102    
Old November 14th, 2008 (7:30 PM).
sharkshank's Avatar
sharkshank sharkshank is offline
Banned
     
    Join Date: Nov 2008
    Location: North London
    Age: 23
    Gender:
    Nature: Careful
    Posts: 47
    As much as i tried i couldent understand, now i see that pokescript is easyer.
      #103    
    Old November 14th, 2008 (7:50 PM).
    machomuu's Avatar
    machomuu machomuu is offline
    • Crystal Tier
     
    Join Date: Apr 2008
    Location: Americalanavania
    Gender: Male
    Nature: Relaxed
    Posts: 10,309
    Quote:
    Originally Posted by sharkshank View Post
    As much as i tried i couldent understand, now i see that pokescript is easyer.
    That's a matter of opinion, you have to try XSE, I converted to XSE just a month ago, it's easier to me, originaly, I thought the same thing.
    __________________
    Paired to and madly in love with a literal Symphony of legs.


    I also watch anime sometimes. Just a little.
      #104    
    Old November 14th, 2008 (9:05 PM).
    Shadows's Avatar
    Shadows Shadows is offline
       
      Join Date: Jul 2008
      Location: Chicago, IL
      Age: 22
      Nature: Calm
      Posts: 857
      Quote:
      Originally Posted by machomuu View Post
      So you mean person # or event #, and if the person # was 6, would it be written:
      applymovement 0x06 pop
      waitmovement 0x0
      ?
      No, it would be like this:
      applymovement 0x6 @pop
      waitmovement 0x0
      ....

      #org @pop
      #raw 0x(Movements)... 0xFE

      ... stands for later on
      __________________
        #105    
      Old November 15th, 2008 (5:45 AM).
      machomuu's Avatar
      machomuu machomuu is offline
      • Crystal Tier
       
      Join Date: Apr 2008
      Location: Americalanavania
      Gender: Male
      Nature: Relaxed
      Posts: 10,309
      Quote:
      Originally Posted by T View Post
      No, it would be like this:
      applymovement 0x6 @pop
      waitmovement 0x0
      ....

      #org @pop
      #raw 0x(Movements)... 0xFE

      ... stands for later on
      That's what's wrong with my script, thanks!
      __________________
      Paired to and madly in love with a literal Symphony of legs.


      I also watch anime sometimes. Just a little.
        #106    
      Old November 15th, 2008 (3:18 PM).
      zak's Avatar
      zak zak is offline
      xpert trainer
         
        Join Date: Jul 2004
        Location: south london
        Age: 25
        Gender:
        Nature: Brave
        Posts: 247
        I need the overworld sprite i talk to to dissapear after he gives me the pokemon and to never return, heres my script:

        #Dynamic 0x812000

        #org @start
        lock
        faceplayer
        msgbox @text
        boxset 0x6
        checkflag 0x828
        if 0x0 goto @give
        if 0x1 goto @sry
        release
        end

        #org @text
        = Hey! sorry about this but i've got a \ntrain to catch i only\p stopped by to give you this!\nEnjoy!

        #org @give
        givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
        fanfare 0x13E
        waitfanfare
        setflag 0x828
        msgbox @yay
        boxset 0x6
        release
        end

        #org @sry
        msgbox @sorry
        boxset 0x6
        end

        #org @yay
        = You recieved Charmander!

        #org @sorry
        = I can't give you anymore.

        It works perfectly i just need to know the command(s) to make sprites dissapear after events, ty.
        __________________
        Hi
          #107    
        Old November 16th, 2008 (12:50 AM).
        8th Wonder™'s Avatar
        8th Wonder™ 8th Wonder™ is offline
        റിപ്പബ്ല ക്ക്
           
          Join Date: May 2008
          Location: Over there
          Gender:
          Nature: Quiet
          Posts: 113
          That's a reasonable script for noobs, Seth. I might make good use of it.
          But I still dunno how to write scripts to a ROM! I can't use the compiple button in any way!
          __________________

          Spoiler:
          http://kevan.org/brain.cgi?8th%20Wonder click that and you will get a free cookie!
          clickie ^ ^ ^
          Do you like Bionicle? Me too can't wait for Glatorians~
            #108    
          Old November 16th, 2008 (1:04 AM). Edited November 19th, 2008 by Madridista.
          Madridista's Avatar
          Madridista Madridista is offline
          -#666
             
            Join Date: Nov 2008
            Location: Sydney, Australia
            Age: 21
            Gender:
            Posts: 40
            Quote:
            Originally Posted by Seth-kun
            #dynamic 0xoffset

            #org @start
            lock
            faceplayer
            msgbox @yesno
            boxset 0x5
            if 0x1 goto @yes
            if 0x0 goto @no
            release
            end

            #org @yesno
            = Yes or no?

            #org @yes
            = You pressed Yes!

            #org @no
            = You pressed No.
            Bad, bad, bad... the msgbox will stay after the scripts ends for the rest of the game. this is how it should look like.

            Code:
            #dynamic 0xoffset
            
            #org @start
            lock
            faceplayer
            msgbox @yesno
            callstd 0x5
            if 0x1 goto @yes
            if 0x1 goto @no
            release
            end
            
            #org @yes
            msgbox @yes2
            callstd 0x6
            release
            end
            
            #org @no
            msgbox @no2
            callstd 0x6
            release
            end
            
            #org @yesno
            = Yes or no?
            
            #org @yes2
            = You pressed Yes!
            
            #org @no2
            = You pressed No!
              #109    
            Old November 16th, 2008 (12:33 PM).
            Cheesymitten's Avatar
            Cheesymitten Cheesymitten is offline
            Dukcs
            • Silver Tier
             
            Join Date: Aug 2008
            Gender: Male
            Posts: 1,839
            not sure if this is off topic but then again i'm not sure of anything but why do my scripts keep turning into weird symbold ¬¬ its kind of weird and thanks for the tut it was brilliant :D
              #110    
            Old November 16th, 2008 (12:47 PM).
            machomuu's Avatar
            machomuu machomuu is offline
            • Crystal Tier
             
            Join Date: Apr 2008
            Location: Americalanavania
            Gender: Male
            Nature: Relaxed
            Posts: 10,309
            post a screenshot if you can.
            __________________
            Paired to and madly in love with a literal Symphony of legs.


            I also watch anime sometimes. Just a little.
              #111    
            Old November 18th, 2008 (12:10 AM).
            Cheesymitten's Avatar
            Cheesymitten Cheesymitten is offline
            Dukcs
            • Silver Tier
             
            Join Date: Aug 2008
            Gender: Male
            Posts: 1,839
            no i can't sorry my insert picture thing isn't working
              #112    
            Old November 18th, 2008 (6:45 AM).
            HackMew's Avatar
            HackMew HackMew is offline
            Mewtwo Strikes Back
            • Crystal Tier
             
            Join Date: Jun 2006
            Posts: 1,314
            Quote:
            Originally Posted by cheesymitten View Post
            no i can't sorry my insert picture thing isn't working :(
            Yes, according to the rules you need at least 15 posts before being able to post pictures.
            __________________
              #113    
            Old November 19th, 2008 (12:36 PM).
            Cheesymitten's Avatar
            Cheesymitten Cheesymitten is offline
            Dukcs
            • Silver Tier
             
            Join Date: Aug 2008
            Gender: Male
            Posts: 1,839
            yeah sorry about that i'm the sort who sees the rules that stick out like no less than 4 words :D
              #114    
            Old November 19th, 2008 (5:30 PM).
            Oh_Delilah's Avatar
            Oh_Delilah Oh_Delilah is offline
            BiNkY
               
              Join Date: Oct 2007
              Gender:
              Nature: Relaxed
              Posts: 10
              Ah, Yo People. How are you guys?

              Yeah, I have a question. A couple, actually.

              One, I'm lost with something, you write @blah and yeah, nothing else. when I do this in XSE and try and compile it, it makes Offsets for them. Ah, do I change the @blah to the Offset it gives me? Leave it? Something else? Lend Binky a hand?

              Two, (This may be caused from the lack of information in question One) I tried pretty much copying the code that was written for a Boolean Yes or No box, box comes up right, then, whether I press Yes or No, it just stands with the text box at the last lined written and i can walk around and the text box stays there... If you have No Idea what I'm talking about, thanks for trying...

              Three, (Again may be because lack of knowledge) The give pokemon Script you wrote... ah... I tried that too and everything is fine except instead of saying the line of text I wrote after you get the pokemon, it just says a segment of what I put for, when you talk to him again... Again, if you have no idea what I'm babbling on about, never mind, just please answer my Firstt question.

              Cheers

              Binky
              __________________



              Click here to level up my card!
                #115    
              Old November 19th, 2008 (8:25 PM).
              Madridista's Avatar
              Madridista Madridista is offline
              -#666
                 
                Join Date: Nov 2008
                Location: Sydney, Australia
                Age: 21
                Gender:
                Posts: 40
                Quote:
                Originally Posted by Oh_Delilah View Post
                Two, (This may be caused from the lack of information in question One) I tried pretty much copying the code that was written for a Boolean Yes or No box, box comes up right, then, whether I press Yes or No, it just stands with the text box at the last lined written and i can walk around and the text box stays there... If you have No Idea what I'm talking about, thanks for trying...
                It's because the Yes/No script in this tutorial is wrong.

                Try this:
                Code:
                #dynamic 0xoffset
                
                #org @start
                lock
                faceplayer
                msgbox @yesno
                callstd 0x5
                if 0x1 goto @yes
                msgbox @no
                callstd 0x6
                release
                end
                
                #org @yes
                msgbox @yes2
                callstd 0x6
                release
                end
                
                #org @yesno
                = Yes or no?
                
                #org @yes2
                = You pressed Yes!
                
                #org @no
                = You pressed No!
                  #116    
                Old November 19th, 2008 (11:11 PM).
                Oh_Delilah's Avatar
                Oh_Delilah Oh_Delilah is offline
                BiNkY
                   
                  Join Date: Oct 2007
                  Gender:
                  Nature: Relaxed
                  Posts: 10
                  Hey, thanks man, you're a champion. One problem though... the script seems to be right except that whether you press yes or no, it comes up saying, "You Pressed No!" could you please check if you missed something or something? I'm still checking over mine again and again but it seems okay... Exactly the same as what you have there.

                  Cheers again

                  Binky
                  __________________



                  Click here to level up my card!
                    #117    
                  Old November 19th, 2008 (11:25 PM).
                  Madridista's Avatar
                  Madridista Madridista is offline
                  -#666
                     
                    Join Date: Nov 2008
                    Location: Sydney, Australia
                    Age: 21
                    Gender:
                    Posts: 40
                    Try this:

                    Code:
                    #dynamic 0xoffset
                    
                    #org @start
                    lock
                    faceplayer
                    msgbox @yesno
                    callstd 0x5
                    if 0x1 goto @yes
                    if 0x1 goto @no
                    release
                    end
                    
                    #org @yes
                    msgbox @yes2
                    callstd 0x6
                    release
                    end
                    
                    #org @no
                    msgbox @no2
                    callstd 0x6
                    release
                    end
                    
                    #org @yesno
                    = Yes or no?
                    
                    #org @yes2
                    = You pressed Yes!
                    
                    #org @no2
                    = You pressed No!
                      #118    
                    Old November 27th, 2008 (5:38 PM).
                    liger66's Avatar
                    liger66 liger66 is offline
                       
                      Join Date: Jun 2008
                      Gender:
                      Posts: 16
                      i have the same problem as Oh Delilahno no matter if i chose yes or no it still says the i pressed no and iv tryed rearanging it a couple times but still nothing
                      heres my script



                      #dynamic 0x71AE89

                      #org @start
                      lock
                      faceplayer
                      message @yesno
                      boxset 0x5
                      if 0x1 goto @yes
                      if 0x0 goto @no
                      release
                      end

                      #org @yesno
                      = Yes or no?

                      #org @yes
                      lock
                      faceplayer
                      message @yes1
                      boxset 0x6
                      release
                      end

                      #org @yes1
                      = You pressed Yes!

                      #org @no
                      lock
                      faceplayer
                      message @no1
                      boxset 0x6
                      release
                      end

                      #org @no1
                      = You pressed No!



                      as im a newbi at this any help would be good
                        #119    
                      Old November 27th, 2008 (5:50 PM).
                      machomuu's Avatar
                      machomuu machomuu is offline
                      • Crystal Tier
                       
                      Join Date: Apr 2008
                      Location: Americalanavania
                      Gender: Male
                      Nature: Relaxed
                      Posts: 10,309
                      Quote:
                      Originally Posted by liger66 View Post
                      i have the same problem as Oh Delilahno no matter if i chose yes or no it still says the i pressed no and iv tryed rearanging it a couple times but still nothing
                      heres my script



                      #dynamic 0x71AE89

                      #org @start
                      lock
                      faceplayer
                      message @yesno
                      boxset 0x5
                      if 0x1 goto @yes
                      if 0x0 goto @no
                      release
                      end

                      #org @yesno
                      = Yes or no?

                      #org @yes
                      lock
                      faceplayer
                      message @yes1
                      boxset 0x6
                      release
                      end

                      #org @yes1
                      = You pressed Yes!

                      #org @no
                      lock
                      faceplayer
                      message @no1
                      boxset 0x6
                      release
                      end

                      #org @no1
                      = You pressed No!



                      as im a newbi at this any help would be good
                      What Mardista's post above yours said is what you should go by, Seth's is wrong.
                      __________________
                      Paired to and madly in love with a literal Symphony of legs.


                      I also watch anime sometimes. Just a little.
                        #120    
                      Old November 27th, 2008 (8:14 PM). Edited November 27th, 2008 by VanillaThunderbolt.
                      VanillaThunderbolt's Avatar
                      VanillaThunderbolt VanillaThunderbolt is offline
                      Generic User Title
                         
                        Join Date: Aug 2008
                        Gender:
                        Posts: 94
                        So, I'm altering some things in the beginning.
                        Where you start, there's a guy standing at the only way out of the room you're in, so of course, you'd talk to him.
                        He's supposed to say something, give you a Pokemon, start walking away, face the player, say something AGAIN, then keep walking away.
                        Following this tutorial, this is what I made...

                        I edited my post, because I noticed some things I did wrong, now I have this, but it wont let me compile it, and keeps saying something about Line 16, which is the givepokemon line:


                        #dynamic 0x71AA88

                        #org @start
                        lock
                        faceplayer
                        msgbox @intro
                        boxset 0x6
                        checkflag 0x828
                        if 0x0 goto @Dratini
                        if 0x1 goto @Penis

                        #org @intro
                        = I bet you don't know why you're\ndown here. But I can't explain at this time.\pHere, take this for now.

                        #org @Dratini
                        givepokemon 0x147 0x5 0x0 0x0 0x0
                        fanfare 0x13E
                        setflag 0x828
                        msgbox @recieve
                        boxset 0x6
                        applymovement 0xFF @walkaway
                        waitmovement 0x0
                        msgbox @outro
                        boxset 0x6
                        applymovement 0xFF @byebye
                        waitmovement 0x0
                        release
                        end

                        #org @recieve
                        = You recieved a Dratini!
                        #org @walkaway
                        #raw 0x13 0xFE
                        #raw 0x10 0xFE
                        #raw 0x02 0xFE
                        #org @outro
                        = Please take care of Dratini...
                        #org @byebye
                        #raw 0x10 0xFE
                        #raw 0x10 0xFE
                        #raw 0x10 0xFE
                        #raw 0x10 0xFE

                        #org @Penis
                        msgbox @goaway
                        boxset 0x6
                        end

                        #org @goaway
                        = How is this possible!?
                          #121    
                        Old November 27th, 2008 (10:41 PM).
                        liger66's Avatar
                        liger66 liger66 is offline
                           
                          Join Date: Jun 2008
                          Gender:
                          Posts: 16
                          im not 100% about this but i think you need 6 values when you give a pokemon:
                          givepokemon 0x147 0x5 0x0 0x0 0x0 0x0
                            #122    
                          Old November 27th, 2008 (10:49 PM). Edited November 27th, 2008 by VanillaThunderbolt.
                          VanillaThunderbolt's Avatar
                          VanillaThunderbolt VanillaThunderbolt is offline
                          Generic User Title
                             
                            Join Date: Aug 2008
                            Gender:
                            Posts: 94
                            Quote:
                            Originally Posted by liger66 View Post
                            im not 100% about this but i think you need 6 values when you give a pokemon:
                            givepokemon 0x147 0x5 0x0 0x0 0x0 0x0
                            ... Dang...
                            You're right.
                            I completely over looked that xD
                            Thanks!

                            Now I applied it, and there's a few problems.
                            He said the speech, but instead of HIM moving, the player moved, said the second speech, and made the second movement.
                            Then, I checked my pokemon, and it was a Crawdaunt [which I probably know why that happened]. When I exit the menu, I was the other guy. Not the player, the guy who gave the player the "Dratini".

                            I need major help D=
                              #123    
                            Old November 28th, 2008 (12:01 AM). Edited November 28th, 2008 by liger66.
                            liger66's Avatar
                            liger66 liger66 is offline
                               
                              Join Date: Jun 2008
                              Gender:
                              Posts: 16
                              i have no idea about movement because i only started lurning this yesterday but im stuck on trying to make a give item pokeball that you would find on the ground in a normal map, using advance map i can get the pokeball on the ground as a person event and i tryed using this script to give be a item:

                              #dynamic 0x4567D6

                              #org @start
                              lock
                              faceplayer
                              giveitem 0x44 0x1
                              release
                              end

                              but it does nothing in the game and i also want to you how do i make it disaper after you get the item
                              ok i got it to give my the item but as soon as i move away it reapers
                                #124    
                              Old November 28th, 2008 (5:46 AM).
                              Hiche.. Hiche.. is offline
                               
                                 
                                Join Date: Apr 2008
                                Posts: 981
                                Quote:
                                Originally Posted by liger66 View Post
                                i have no idea about movement because i only started lurning this yesterday but im stuck on trying to make a give item pokeball that you would find on the ground in a normal map, using advance map i can get the pokeball on the ground as a person event and i tryed using this script to give be a item:

                                #dynamic 0x4567D6

                                #org @start
                                lock
                                faceplayer
                                giveitem 0x44 0x1
                                release
                                end

                                but it does nothing in the game and i also want to you how do i make it disaper after you get the item
                                ok i got it to give my the item but as soon as i move away it reapers
                                Code:
                                  #dynamic 0x4567D6
                                
                                #org @start
                                lock
                                faceplayer
                                giveitem 0x44 0x1
                                hidesprite 0x
                                setflag 0x 
                                release
                                end
                                Hidesprite does what is says. It makes the people/poke ball disappear. The poke ball event number can be found in Advance Map.
                                There should be a setflag in order for the item not to be repeated. Place the flag you like. Like, setflag 0x200.
                                The flag you set, put it in the people ID of the Poke ball in Advance map.(0200 for example)
                                  #125    
                                Old November 28th, 2008 (8:06 PM).
                                DemonParia's Avatar
                                DemonParia DemonParia is offline
                                Gangsterfresh Swagmaster
                                   
                                  Join Date: Nov 2008
                                  Gender: Male
                                  Nature: Quirky
                                  Posts: 104
                                  #dynamic 0x300000
                                  #org 0x3BB8A1
                                  lock
                                  faceplayer
                                  checkflag 0x202
                                  if 0x0 goto 0x83BB9B1
                                  if 0x1 goto 0x83BB9D7
                                  end

                                  '-----------------------
                                  #org 0x83BB9B1
                                  msgbox 0x83BB8D0 '"OH MY GOD! I'M OUT OF COINS!\pAHHHH..."
                                  applymovement 0x1 @move
                                  #org @move
                                  #raw 0x65 0x14 0x2B 0x2B 0x2B 0x2B 0x2B 0x2B 0x2B 0x29 0x60 0xFE
                                  '-----------------------
                                  #org 0x83BB9D7
                                  msgbox 0x83BBA61 '"I'm okay now. I have COINS."
                                  '---------
                                  ' Strings
                                  '---------
                                  #org 0x3BB8D0
                                  = OH MY GOD! I'M OUT OF COINS!\pAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\nHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!
                                  #org 0x3BBA61
                                  = I'm okay now. I have COINS.






                                  That script is supposed to have a guy at the slot machines, he says that and runs out.

                                  Problem is, he only says the words and doesn't move. What'd I do wrong?
                                  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 1:09 AM.