ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

TrollandToad.com
Closed Thread
 
Thread Tools
  #22626    
Old August 31st, 2012 (10:01 PM).
awipe1's Avatar
awipe1 awipe1 is offline
     
    Join Date: Aug 2012
    Gender: Male
    Posts: 215
    Thanks for the help, but it didn't work =(
    I still have the same problem, the sprite stays there until i leave the screen then it goes away =(

    Relevant Advertising!

      #22627    
    Old August 31st, 2012 (10:52 PM).
    PokemonMasters's Avatar
    PokemonMasters PokemonMasters is offline
    Always Remember Forever&After
       
      Join Date: Jun 2012
      Location: Nuvema Town, Unova
      Gender: Male
      Nature: Calm
      Posts: 403
      Im hacking ruby and i was wondering if tilesets 30-35 are dangerous to put tiles in. according to this site: http://hackercrossforums.createmybb.com/showthread.php?tid=29 . tilesets 30-35 are purple funky tiles. when i added tiles to them they glitched :/
      __________________

      +ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
        #22628    
      Old September 1st, 2012 (3:15 AM).
      Jambo51's Avatar
      Jambo51 Jambo51 is offline
      Glory To Arstotzka
         
        Join Date: Jun 2009
        Gender: Male
        Nature: Quiet
        Posts: 732
        Quote:
        Originally Posted by awipe1 View Post
        Someone please, I'm begging you, PLEASE, show me how to make a pick up item script! I have been looking for 4 days now and no where online shows how to make a pick up item script! I am about to go insane! This is what I want to happen. Player goes up to the item on the ground, picks it up, and the player has the item. I am trying to make the player pick up 5 pokeballs right now and I am having troubles! =( Here is my script:

        #org $script
        lock
        faceplayer
        checkflag 0x1201
        if 0x01 goto $done
        giveitem 0x04 0x05
        boxset 6
        setflag 0x1201
        removesprite 0x5
        release
        end

        #org $done
        removesprite 0x5
        boxset 6
        release
        end

        What happens is after I pick up the pokeball, i get my items but the sprite is still there and the sprite is only removed after I leave the screen, How do I make the sprite leave ASAP? Please help me!
        You're setting the flag and hiding the sprite the wrong way round, for starters.

        Secondly, there's no need whatsoever for any script to deal with the after hiding, if you do it right. It's just completely unnecessary and wastes space in your ROM.

        By the sounds of it, you have already set the person ID to the correct flag, so I'd hazard a guess that "removesprite" either isn't the correct command (I don't know - never used that script editor, I'm an XSE man myself) or it's the first thing I suggested. The flag set and hide sprite are the wrong way round.
        __________________
        Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
          #22629    
        Old September 1st, 2012 (6:42 AM).
        awipe1's Avatar
        awipe1 awipe1 is offline
           
          Join Date: Aug 2012
          Gender: Male
          Posts: 215
          Quote:
          Originally Posted by Jambo51 View Post
          You're setting the flag and hiding the sprite the wrong way round, for starters.

          Secondly, there's no need whatsoever for any script to deal with the after hiding, if you do it right. It's just completely unnecessary and wastes space in your ROM.

          By the sounds of it, you have already set the person ID to the correct flag, so I'd hazard a guess that "removesprite" either isn't the correct command (I don't know - never used that script editor, I'm an XSE man myself) or it's the first thing I suggested. The flag set and hide sprite are the wrong way round.
          Well I tried what you said (Moving the removesprite and flag comands around) but it didn't work =(. Everyone has suggested XSE and I think I will listen to them, how would you make the command in XSE? Cause I downloaded it and I have no idea what i'm doing.
            #22630    
          Old September 1st, 2012 (7:07 AM).
          Spherical Ice's Avatar
          Spherical Ice Spherical Ice is online now
          • Crystal Tier
           
          Join Date: Nov 2007
          Location: Bristol, UK
          Age: 19
          Posts: 5,226
          For XSE, to make a Poké Ball "find" script, you literally just need to use
          Code:
          #dynamic 0x800000
          #include stditems.rbh
          
          #org @start
          giveitem ITEM_ITEMNAME 0x1 MSG_FIND
          end
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
            #22631    
          Old September 1st, 2012 (8:47 AM).
          Jambo51's Avatar
          Jambo51 Jambo51 is offline
          Glory To Arstotzka
             
            Join Date: Jun 2009
            Gender: Male
            Nature: Quiet
            Posts: 732
            Quote:
            Originally Posted by Spherical Ice View Post
            For XSE, to make a Poké Ball "find" script, you literally just need to use
            Code:
            #dynamic 0x800000
            #include stditems.rbh
            
            #org @start
            giveitem ITEM_ITEMNAME 0x1 MSG_FIND
            hidesprite LASTTALKED
            setflag 0x1201
            end
            Not quite. You also need the stuff I added in Bold. LASTTALKED is a variable containing the ID of the sprite you last talked to. In this case, the Pokeball. Obviously, you change the setflag to the relevant flag for the item.
            __________________
            Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
              #22632    
            Old September 1st, 2012 (8:49 AM).
            Spherical Ice's Avatar
            Spherical Ice Spherical Ice is online now
            • Crystal Tier
             
            Join Date: Nov 2007
            Location: Bristol, UK
            Age: 19
            Posts: 5,226
            Nope, I'm afraid you're wrong in this case. You only need to set a unique Person ID to the Poké Ball. Using "MSG_FIND" will automatically hide and set the flag for you.
            __________________

            A Pokemon that is discriminated!
            Support squirtle and make it everyone's favourite.
              #22633    
            Old September 1st, 2012 (9:38 AM).
            awipe1's Avatar
            awipe1 awipe1 is offline
               
              Join Date: Aug 2012
              Gender: Male
              Posts: 215
              Okay both of you, I am still confused, I wrote that script in and it didn' work! =( I have never used XSE before =( May you please tell me the exact script you would use to pick up a pokeball off the ground?
                #22634    
              Old September 1st, 2012 (9:41 AM).
              Spherical Ice's Avatar
              Spherical Ice Spherical Ice is online now
              • Crystal Tier
               
              Join Date: Nov 2007
              Location: Bristol, UK
              Age: 19
              Posts: 5,226
              In Advance Map, you need to set the Poké Ball's Person Event (click on the Events tab, then click on the Poké Ball). Where it says "Person ID", set it to a flag, such as 1201. Then assign the script to the Poké Ball event and it should work.
              __________________

              A Pokemon that is discriminated!
              Support squirtle and make it everyone's favourite.
                #22635    
              Old September 1st, 2012 (1:29 PM). Edited September 1st, 2012 by Meowing Mewtwo.
              Meowing Mewtwo's Avatar
              Meowing Mewtwo Meowing Mewtwo is offline
                 
                Join Date: Aug 2012
                Location: California
                Gender: Other
                Nature: Serious
                Posts: 27
                Can somebody give me a way to download HackMew's A-Trainer? Sorry that the question doesn't really connect with these others...

                __________________
                This account is dead and has been for a long time.
                I did, however, remake it on August 09, 2014. You can find my new location here.
                  #22636    
                Old September 1st, 2012 (2:03 PM).
                MrSandman64's Avatar
                MrSandman64 MrSandman64 is offline
                Pokemon Moon Creator
                   
                  Join Date: Jul 2012
                  Location: Massachusetts
                  Gender: Male
                  Posts: 28
                  I have another question
                  I inserted new Pokemon center and Pokemart sprites in advanced map and the tile occasionally show up correctly but sometimes they show up all mesed up
                  Can somebody tell me how to fix this?
                    #22637    
                  Old September 1st, 2012 (2:13 PM).
                  Spherical Ice's Avatar
                  Spherical Ice Spherical Ice is online now
                  • Crystal Tier
                   
                  Join Date: Nov 2007
                  Location: Bristol, UK
                  Age: 19
                  Posts: 5,226
                  Meowing Mewtwo:

                  Hey, don't feel bad! It's a perfectly legitimate request.

                  Click these words to download the most recent version of A-Trainer

                  MrSandman64:

                  When you exit a map and enter another map that uses a different tileset, the tiles that were used in the first map will become the tiles in the second map's tilesets. This is why Kanto is scattered with gates, so that the player won't see these glitched tiles. If it's possible, change one of the maps tileset so that it matches the other map, or add a gate so that the two maps (or any tiles in Tileset 2 of the respective maps) aren't visible from one another.
                  Attached Files
                  File Type: zip A-Trainer.zip‎ (113.6 KB, 16 views) (Save to Dropbox)
                  __________________

                  A Pokemon that is discriminated!
                  Support squirtle and make it everyone's favourite.
                    #22638    
                  Old September 1st, 2012 (2:21 PM).
                  MrSandman64's Avatar
                  MrSandman64 MrSandman64 is offline
                  Pokemon Moon Creator
                     
                    Join Date: Jul 2012
                    Location: Massachusetts
                    Gender: Male
                    Posts: 28
                    Spherical Ice: im not sure if I completely understand what you mean but the tiles I added are in tileset 1
                      #22639    
                    Old September 1st, 2012 (2:32 PM).
                    PokemonMasters's Avatar
                    PokemonMasters PokemonMasters is offline
                    Always Remember Forever&After
                       
                      Join Date: Jun 2012
                      Location: Nuvema Town, Unova
                      Gender: Male
                      Nature: Calm
                      Posts: 403
                      how much free space does a script need?
                      __________________

                      +ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
                        #22640    
                      Old September 1st, 2012 (5:25 PM).
                      DaSpirit's Avatar
                      DaSpirit DaSpirit is offline
                      Mad Programmer
                         
                        Join Date: Jul 2007
                        Location: New York City
                        Gender: Male
                        Nature: Quiet
                        Posts: 240
                        Does anyone happen to have a full text dump (not a script dump) of Pokemon Emerald?

                        Anyone willing to get it for me? :3

                        Thanks in advance!
                          #22641    
                        Old September 1st, 2012 (6:21 PM).
                        Darkrai Lv.1000's Avatar
                        Darkrai Lv.1000 Darkrai Lv.1000 is offline
                        Has a tendency to figure things out
                           
                          Join Date: Jul 2007
                          Location: On an island with Hakaze
                          Age: 23
                          Gender: Male
                          Nature: Quirky
                          Posts: 684
                          Not sure if this goes in this thread or the script help thread, so I'll have it in both.

                          I'm confused with giving moves new descriptions. Every time I do, the game ends up glitching the text, and some of it appears on other sides, overlapping and whatnot. Anyone who has added new descriptions through scripts should understand. How would I go about doing this perfectly, and what is the most text I can use as a description?
                          __________________
                            #22642    
                          Old September 1st, 2012 (9:53 PM).
                          DrFuji's Avatar
                          DrFuji DrFuji is offline
                          Heiki Hecchara‌‌
                          • Crystal Tier
                           
                          Join Date: Sep 2009
                          Location: Downia-upside
                          Age: 24
                          Gender: Male
                          Nature: Jolly
                          Posts: 1,328
                          Quote:
                          Originally Posted by PokemonMasters View Post
                          how much free space does a script need?
                          It entirely depends on how large the script is. A script with more commands and parameters will take up a greater amount of space than a script with less. So long as you have the '#dynamic' directive at the beginning of your scripts then most script editors will find the next area of free space which can hold your script so there's no real need to worry about their size.
                          __________________
                            #22643    
                          Old September 2nd, 2012 (1:28 AM).
                          PokemonMasters's Avatar
                          PokemonMasters PokemonMasters is offline
                          Always Remember Forever&After
                             
                            Join Date: Jun 2012
                            Location: Nuvema Town, Unova
                            Gender: Male
                            Nature: Calm
                            Posts: 403
                            i still dont get it. so i just put #dynamic then i just press enter? also how do you make the free space finder for xse work? i tried pressing alt f but nothing happend.
                            __________________

                            +ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
                              #22644    
                            Old September 2nd, 2012 (5:10 AM).
                            Shiny Glurak Shiny Glurak is offline
                               
                              Join Date: Sep 2012
                              Location: Germany
                              Gender: Male
                              Posts: 6
                              How can I hack Pokemon Black/white that for example on Route 16 stands an Arceus and when I'm talking to it I can fight against it and can catch it?
                                #22645    
                              Old September 2nd, 2012 (5:45 AM).
                              MrSandman64's Avatar
                              MrSandman64 MrSandman64 is offline
                              Pokemon Moon Creator
                                 
                                Join Date: Jul 2012
                                Location: Massachusetts
                                Gender: Male
                                Posts: 28
                                Does anyone know how to download Advanced Text I've tried to download it but every time I try to run it an error comes up saying that a component it missing.
                                  #22646    
                                Old September 2nd, 2012 (6:35 AM).
                                destinedjagold's Avatar
                                destinedjagold destinedjagold is offline
                                Oh Hai Thar~
                                • Silver Tier
                                 
                                Join Date: May 2007
                                Location: Philippines
                                Age: 27
                                Gender: Male
                                Nature: Careful
                                Posts: 8,568
                                Quote:
                                Originally Posted by PokemonMasters View Post
                                i still dont get it. so i just put #dynamic then i just press enter? also how do you make the free space finder for xse work? i tried pressing alt f but nothing happend.
                                No, you need to search for a free space, either manually with a hex editor, or through a free space finder.
                                But you can also use a uniform type of dynamic offset, since XSE will automatically search for free space for your script.
                                Code:
                                #dynamic 0x800000
                                Dynamic will tell XSE the offset of where XSE will begin searching for free space in your ROM.
                                Example, if ever there's already data stored from 0x800000 to 0x802000, then XSE will start writing your script in 0x802001.
                                Just make sure you copy the starting offset XSE provides you after you compile your script.
                                __________________


                                FC: 0061-1111-6462
                                TSV: 1364(X), 0790(OR)

                                  #22647    
                                Old September 2nd, 2012 (9:17 AM).
                                Meowing Mewtwo's Avatar
                                Meowing Mewtwo Meowing Mewtwo is offline
                                   
                                  Join Date: Aug 2012
                                  Location: California
                                  Gender: Other
                                  Nature: Serious
                                  Posts: 27
                                  Quote:
                                  Meowing Mewtwo:

                                  Hey, don't feel bad! It's a perfectly legitimate request.

                                  Click these words to download the most recent version of A-Trainer
                                  Aw, thanks! That helped a TON.
                                  __________________
                                  This account is dead and has been for a long time.
                                  I did, however, remake it on August 09, 2014. You can find my new location here.
                                    #22648    
                                  Old September 2nd, 2012 (6:12 PM).
                                  PokemonMasters's Avatar
                                  PokemonMasters PokemonMasters is offline
                                  Always Remember Forever&After
                                     
                                    Join Date: Jun 2012
                                    Location: Nuvema Town, Unova
                                    Gender: Male
                                    Nature: Calm
                                    Posts: 403
                                    oh , ok thanks . how do you edit the names of tms/hms? I want to De-capitalize it.
                                    __________________

                                    +ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
                                      #22649    
                                    Old September 3rd, 2012 (12:54 AM).
                                    Satoshi Ookami's Avatar
                                    Satoshi Ookami Satoshi Ookami is offline
                                    Memento Mori
                                    • Gold Tier
                                     
                                    Join Date: Jul 2008
                                    Location: Abyss of Time, Great Seal
                                    Age: 25
                                    Gender: Male
                                    Nature: Calm
                                    Posts: 14,503
                                    Quote:
                                    Originally Posted by PokemonMasters View Post
                                    oh , ok thanks . how do you edit the names of tms/hms? I want to De-capitalize it.
                                    You need to use programs that edit attacks, A-Tack is probably the best bet.
                                    __________________
                                    ROM hacking FAQ - Read before asking how to play a hack.

                                    Anime List | PSN Trophy List
                                      #22650    
                                    Old September 3rd, 2012 (4:45 AM).
                                    MrSandman64's Avatar
                                    MrSandman64 MrSandman64 is offline
                                    Pokemon Moon Creator
                                       
                                      Join Date: Jul 2012
                                      Location: Massachusetts
                                      Gender: Male
                                      Posts: 28
                                      Does anyone know what number the intro picachu (the one above the message in the intro)
                                      ears are in unLZ-GBA? I know that the rest of the pikachu can be found at 341 and 342.
                                      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 8:04 AM.