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

TrollandToad.com
Reply
 
Thread Tools
  #176    
Old June 21st, 2009 (8:41 AM).
Logan's Avatar
Logan Logan is offline
  • Platinum Tier
 
Join Date: Nov 2008
Location: Salisbury, England
Age: 22
Gender: Male
Nature: Sassy
Posts: 10,030
I believe it is

releaseall
end
__________________
Wait, I saw bare kicks, saw bare clothes
Said psyduck that, I can't wear those
I don't like them, they're not my ting
They went silent, they're all weirdos
Reply With Quote

Relevant Advertising!

  #177    
Old June 21st, 2009 (8:47 AM).
Chimchar 9's Avatar
Chimchar 9 Chimchar 9 is offline
(:
  • Silver Tier
 
Join Date: Jan 2008
Location: England, London
Age: 23
Gender: Male
Nature: Calm
Posts: 1,618
No it wasn't that.
I forgot to put setflag 0x1000.
xD
__________________
Pokemon Green Diamond
Status: cancelled
Reply With Quote
  #178    
Old June 21st, 2009 (7:39 PM).
Tacoman4rmsj94 Tacoman4rmsj94 is offline
     
    Join Date: Jun 2009
    Gender: Male
    Posts: 3
    i keep encountering the same problem
    i battle then he keeps re appearing
    can you give me an example please?
    Reply With Quote
      #179    
    Old June 21st, 2009 (9:16 PM).
    Excalibur's Avatar
    Excalibur Excalibur is offline
    Sorry for my english...
       
      Join Date: Nov 2008
      Age: 25
      Gender: Male
      Nature: Lonely
      Posts: 19
      #Dynamic 0x000001

      #org @start
      lock
      faceplayer
      msgbox @blah 0x6
      cry 0xF5 0x0
      wildbattle 0xF5 0x32 0x0
      hidesprite 0x1
      setflag 0x
      release
      end

      #org @blah
      = GYAOO!

      And then in A-Map choose your sprite and where is Person ID, write the same flag.

      There is an image
      img520.imageshack.us/img520/2349/examplef.png
      Reply With Quote
        #180    
      Old June 21st, 2009 (10:01 PM).
      Tacoman4rmsj94 Tacoman4rmsj94 is offline
         
        Join Date: Jun 2009
        Gender: Male
        Posts: 3
        OMG IT WORKED!!!
        i owe you big time
        thank you
        Reply With Quote
          #181    
        Old June 22nd, 2009 (4:24 AM). Edited June 22nd, 2009 by ShinyBlaziken.
        ShinyBlaziken's Avatar
        ShinyBlaziken ShinyBlaziken is offline
        Dragon-Master
           
          Join Date: May 2009
          Location: Pokemon League :P
          Age: 23
          Gender: Male
          Nature: Adamant
          Posts: 65
          Okay, I fixed my problem on my own xD

          But now I've got another Problem
          I tried the "givepokemon" Script but it didn't work.
          XSE said that there is missing something at the "compare LASTRESULT 0x1" part.
          But what's missing there???
          Reply With Quote
            #182    
          Old June 22nd, 2009 (8:34 AM).
          Diegoisawesome's Avatar
          Diegoisawesome Diegoisawesome is offline
          Oh god the bees
          • Silver Tier
           
          Join Date: Dec 2007
          Location: :noitacoL
          Age: 20
          Gender: Male
          Nature: Naive
          Posts: 1,035
          Quote:
          Originally Posted by ShinyBlaziken View Post
          Don't know why but it doesn't work for me...
          I wanted to make a sign so I made this:
          Code:
          '---------------
          #dynamic 0x800159
          
          
          #org @start
          msgbox @sign 0x3
          end
          
          #org @sign
          = Hi!
          When I clicked the Sign there didn't appear any text...

          Okay, I fixed my problem on my own xD

          But now I've got another Problem
          I tried the "givepokemon" Script but it didn't work.
          XSE said that there is missing something at the "compare LASTRESULT 0x1" part.
          But what's missing there???
          Replace LASTRESULT with 0x800D.
          __________________


          My other resources:
          My Website
          diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
          diegoisawesome's Miscellaneous Finds
          The Ruins of Alph Puzzles
          Diego's Miscellaneous Patches
          GBA Intro Manager
          The Secret Sauce: Triple-Layer Tiles
          Reply With Quote
            #183    
          Old June 22nd, 2009 (8:37 AM).
          Pokepal17's Avatar
          Pokepal17 Pokepal17 is offline
          More cowbell~
          • Silver Tier
           
          Join Date: Oct 2008
          Location: Steeltown
          Age: 22
          Gender: Male
          Nature: Modest
          Posts: 1,511
          Quote:
          Originally Posted by diegoisawesome View Post
          Replace LASTRESULT with 0x800D.
          To avoid stuff like that, will you please write at the very beginning of the tutorial, to make sure the reader is using the latest XSE and that they have extracted all the files or else this tutorial may not be compatible.
          __________________
          Pokémon Stardrop
          Reply With Quote
            #184    
          Old June 22nd, 2009 (8:45 AM). Edited June 22nd, 2009 by ShinyBlaziken.
          ShinyBlaziken's Avatar
          ShinyBlaziken ShinyBlaziken is offline
          Dragon-Master
             
            Join Date: May 2009
            Location: Pokemon League :P
            Age: 23
            Gender: Male
            Nature: Adamant
            Posts: 65
            Okay, thank you!!! ! :D

            Hmmm...
            Well the Script was okay but i don't get any Pokemon :D
            I talk to a guy but he always says "Are you taking good care of Charmander".
            Is it because I already have a Charmander?
            What do i have to change??
            Reply With Quote
              #185    
            Old June 22nd, 2009 (9:15 AM).
            Diegoisawesome's Avatar
            Diegoisawesome Diegoisawesome is offline
            Oh god the bees
            • Silver Tier
             
            Join Date: Dec 2007
            Location: :noitacoL
            Age: 20
            Gender: Male
            Nature: Naive
            Posts: 1,035
            Quote:
            Originally Posted by ShinyBlaziken View Post
            Okay, thank you!!! ! :D

            Hmmm...
            Well the Script was okay but i don't get any Pokemon :D
            I talk to a guy but he always says "Are you taking good care of Charmander".
            Is it because I already have a Charmander?
            What do i have to change??
            Change the flag numbers. That was just an example flag #.
            __________________


            My other resources:
            My Website
            diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
            diegoisawesome's Miscellaneous Finds
            The Ruins of Alph Puzzles
            Diego's Miscellaneous Patches
            GBA Intro Manager
            The Secret Sauce: Triple-Layer Tiles
            Reply With Quote
              #186    
            Old June 22nd, 2009 (11:44 AM).
            TheDon's Avatar
            TheDon TheDon is offline
            Pokemon (kinda) Expert
               
              Join Date: Apr 2008
              Age: 26
              Gender:
              Nature: Lonely
              Posts: 41
              Question, does #dynamic 0x overwrite the designated offset? Or does it look for free space starting from the offset?
              __________________


              85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
              -TheDon
              Reply With Quote
                #187    
              Old June 22nd, 2009 (12:46 PM).
              Pokepal17's Avatar
              Pokepal17 Pokepal17 is offline
              More cowbell~
              • Silver Tier
               
              Join Date: Oct 2008
              Location: Steeltown
              Age: 22
              Gender: Male
              Nature: Modest
              Posts: 1,511
              Quote:
              Originally Posted by TheDon View Post
              Question, does #dynamic 0x overwrite the designated offset? Or does it look for free space starting from the offset?
              It looks for free space starting from the offset.
              __________________
              Pokémon Stardrop
              Reply With Quote
                #188    
              Old June 22nd, 2009 (12:51 PM).
              TheDon's Avatar
              TheDon TheDon is offline
              Pokemon (kinda) Expert
                 
                Join Date: Apr 2008
                Age: 26
                Gender:
                Nature: Lonely
                Posts: 41
                Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
                __________________


                85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
                -TheDon
                Reply With Quote
                  #189    
                Old June 22nd, 2009 (12:54 PM).
                Pokepal17's Avatar
                Pokepal17 Pokepal17 is offline
                More cowbell~
                • Silver Tier
                 
                Join Date: Oct 2008
                Location: Steeltown
                Age: 22
                Gender: Male
                Nature: Modest
                Posts: 1,511
                Quote:
                Originally Posted by TheDon View Post
                Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
                All the script should be is:

                #remove 0xoffset


                nothing else.
                __________________
                Pokémon Stardrop
                Reply With Quote
                  #190    
                Old June 22nd, 2009 (1:03 PM).
                TheDon's Avatar
                TheDon TheDon is offline
                Pokemon (kinda) Expert
                   
                  Join Date: Apr 2008
                  Age: 26
                  Gender:
                  Nature: Lonely
                  Posts: 41
                  Meh. I go to compile it to the ROM, and it gives me "No dynamic start offset specified" after I take out the #dynamic command.
                  __________________


                  85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
                  -TheDon
                  Reply With Quote
                    #191    
                  Old June 23rd, 2009 (5:21 AM).
                  ShinyBlaziken's Avatar
                  ShinyBlaziken ShinyBlaziken is offline
                  Dragon-Master
                     
                    Join Date: May 2009
                    Location: Pokemon League :P
                    Age: 23
                    Gender: Male
                    Nature: Adamant
                    Posts: 65
                    I made this Script

                    Code:
                    #dynamic 0x803E28
                    
                    #org @start
                    checkflag 0x209
                    if 0x1 goto @done
                    msgbox @1 0x5
                    compare 0x800D 0x1
                    if 0x1 goto @take
                    msgbox @2 0x2
                    release
                    end
                    
                    #org @take
                    givepokemon 0x382 0x5 0x199 0x0 0x0 0x0
                    fanfare 0x13E
                    msgbox @3 0x4
                    waitfanfare
                    closeonkeypress
                    setflag 0x209
                    msgbox @4 0x5
                    compare 0x800D 0x1
                    if 0x1 gosub @name
                    msgbox @5 0x6
                    release
                    end
                    
                    #org @name
                    call 0x1A74EB
                    return
                    
                    #org @done
                    clearflag 0x209
                    release
                    end
                    
                    #org @1
                    = [black_fr]There's a Pokeball on the table\nDo you want to take it?
                    
                    #org @2
                    = [black_fr]You left the Pokeball on the table
                    
                    #org @3
                    = [black_fr]You received Aron
                    
                    #org @4
                    = [black_fr]Would you like to give a\nnickname to Aron?
                    
                    #org @5
                    = DREW: Please take care of\nAron!
                    At first there's the Question if I take the Pokeball or not. if I click "no" then "You left the Pokeball on the table" appears and nothing else happens.
                    But if I click at "Yes" my game just freezes -.-
                    I don't know why.
                    Reply With Quote
                      #192    
                    Old June 23rd, 2009 (7:46 AM).
                    Excalibur's Avatar
                    Excalibur Excalibur is offline
                    Sorry for my english...
                       
                      Join Date: Nov 2008
                      Age: 25
                      Gender: Male
                      Nature: Lonely
                      Posts: 19
                      ShinyBlaziken, there is an error in your givepokemon command. The values must be in hex.
                      Reply With Quote
                        #193    
                      Old June 23rd, 2009 (9:14 AM).
                      ShinyBlaziken's Avatar
                      ShinyBlaziken ShinyBlaziken is offline
                      Dragon-Master
                         
                        Join Date: May 2009
                        Location: Pokemon League :P
                        Age: 23
                        Gender: Male
                        Nature: Adamant
                        Posts: 65
                        And how should i change it?
                        __________________
                        Warm my Eggs, please!


                        Reply With Quote
                          #194    
                        Old June 23rd, 2009 (9:57 AM).
                        Excalibur's Avatar
                        Excalibur Excalibur is offline
                        Sorry for my english...
                           
                          Join Date: Nov 2008
                          Age: 25
                          Gender: Male
                          Nature: Lonely
                          Posts: 19
                          You can use Windows Calculator Advance Mode or XSE Calc.
                          382 in hex = 17E and 199 in hex = C7.
                          Reply With Quote
                            #195    
                          Old June 24th, 2009 (6:28 AM).
                          ShinyBlaziken's Avatar
                          ShinyBlaziken ShinyBlaziken is offline
                          Dragon-Master
                             
                            Join Date: May 2009
                            Location: Pokemon League :P
                            Age: 23
                            Gender: Male
                            Nature: Adamant
                            Posts: 65
                            Okay thanks, it works now!


                            And how can I make a script for a hidden item on the ground??
                            __________________
                            Warm my Eggs, please!


                            Reply With Quote
                              #196    
                            Old June 24th, 2009 (8:42 AM).
                            Excalibur's Avatar
                            Excalibur Excalibur is offline
                            Sorry for my english...
                               
                              Join Date: Nov 2008
                              Age: 25
                              Gender: Male
                              Nature: Lonely
                              Posts: 19
                              Its not a script. Its a type of signpost. (06 Hidden Item)
                              Reply With Quote
                                #197    
                              Old June 29th, 2009 (11:14 AM).
                              ShinyBlaziken's Avatar
                              ShinyBlaziken ShinyBlaziken is offline
                              Dragon-Master
                                 
                                Join Date: May 2009
                                Location: Pokemon League :P
                                Age: 23
                                Gender: Male
                                Nature: Adamant
                                Posts: 65
                                Hi,
                                I've got another Problem now xDDD

                                I made a Script but there appears the message "This tree looks like it can be CUT down" when I'm talking to the Person.

                                Here's my script

                                Code:
                                #dynamic 0x8001F6
                                
                                #org @start
                                lock
                                faceplayer
                                msgbox @speak 0x2
                                applymovement 0x4 @move
                                waitmovement 0x0
                                release
                                end
                                
                                #org @speak
                                = [blue_fr]LINDSAY: Hi, this is my farm.\nI've got a lot of Pokemon here\pMy favorite is...\n[black_fr]JOHN: Lindsay!\pDon't say any other word!/n[blue_fr]LINDSAY: Oh..., Gotta go!
                                
                                #org @move
                                #raw 0x20
                                #raw 0x20
                                #raw 0x20
                                #raw 0x20
                                #raw 0x0
                                #raw 0xFE
                                __________________
                                Warm my Eggs, please!


                                Reply With Quote
                                  #198    
                                Old June 29th, 2009 (2:01 PM).
                                Wuggles's Avatar
                                Wuggles Wuggles is offline
                                Pokémon Omega
                                   
                                  Join Date: Mar 2007
                                  Nature: Adamant
                                  Posts: 101
                                  Heya. first of all: nice tut! ;D

                                  I need a flexible kind of warp.
                                  A warp with vars in it like this:
                                  warp 0x7005 0x7006 0x7007 0x0 0x0
                                  Is it possible? because this gives me errors :/

                                  is there a way to use vars in warps?
                                  Thanks in Advance
                                  __________________
                                  Come visit Pokemon Omega sometime!
                                  Reply With Quote
                                    #199    
                                  Old June 29th, 2009 (4:51 PM).
                                  TheDon's Avatar
                                  TheDon TheDon is offline
                                  Pokemon (kinda) Expert
                                     
                                    Join Date: Apr 2008
                                    Age: 26
                                    Gender:
                                    Nature: Lonely
                                    Posts: 41
                                    Quote:
                                    Originally Posted by TheDon View Post
                                    Is there a command that I can use in XSE or wherever to erase a certain script from an offset, then replace it with the new one that at the time, I just made? I tried the #remove before and after the #dynamic at the beginning of the script, but it didn't work.
                                    Still looking for help with this. Thanks in advance.
                                    __________________


                                    85% of all Wi-Fi teams include either a Salamence, Scizor or Blissey. If you're one of the 15% who think outside the box, copy and paste this into your sig.
                                    -TheDon
                                    Reply With Quote
                                      #200    
                                    Old June 29th, 2009 (5:50 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'm not saying anyone's breaking rules here, but there is a script help thread, you know.

                                    I've never really taken the time to comment on this tutorial (or did I? I dunno. :P), so I think I will.

                                    Overall, it's just a big translation of thethethethe's PokeScript tutorial, so really, it's not completely yours, but you gave credit, so I've no problem with that.

                                    All in all, there are a few errors here and there, but it's very useful, and even I, the author of a different XSE tutorial, find myself looking at this.
                                    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

                                    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:33 PM.