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
  #27251    
Old November 1st, 2013 (10:57 AM).
JordanB500's Avatar
JordanB500 JordanB500 is offline
Former Pokemon League Champion
     
    Join Date: Jan 2008
    Location: Independence MO
    Age: 31
    Gender: Male
    Nature: Gentle
    Posts: 72
    thanks i almost crashed my hacked emerald rom because of issues with space and all that im still kinda new also how do i tell if the maps ive mad are using a specific offset or not? and i ahve another question i used a modifyed sample of a script that i got from a thread on pokecommunity i tryed to compile it but even the sample script wouldnt comile kept saying "Unknown value in IF (Value must be integer)" so i was wondering is there a way to fix this script also idk if im doing this right with the modified script i want to be able to trade 10 ultra balls for a masterball

    #org 0x86B475C
    checkflag 0x201
    if B_True goto $GotBall
    checkitem 0x2
    compare LASTRESULT 10
    if B_<< goto $NoUltra
    message $WantBall
    $WantBall 1 = Oh, You have ten Ultra Balls.\pIf you want i can trade you a MasterBall \lfor ten of your UltraBalls...\pWhat do you say?
    boxset 5
    compare LASTRESULT 10
    if B_FALSE goto $DontGet
    giveitem 0x1 1
    removeitem 0x2 10
    Release
    end

    #ORG $GotBall
    Lock
    Faceplayer
    message $Likeballs
    $Likeballs 1 = Smart Choice!
    boxset 6
    release
    end

    #ORG $NoUltra
    Lock
    Faceplayer
    message $ugotnoballs
    $ugotnoballs 1 = Oh, you... dont have ten Ultra Balls!?\lCome back when you get ten!!/p and ill give ya something good!!
    boxset 6
    release
    end

    #ORG $DontGet
    Lock
    Faceplayer
    message $badchoice
    $badchoice 1 = its your loss!!\nI guess ill be keeping these for myself.
    boxset 6
    release
    end
    __________________





    Relevant Advertising!

      #27252    
    Old November 1st, 2013 (2:07 PM).
    chrunch chrunch is offline
    • Gold Tier
     
    Join Date: Oct 2009
    Gender: Male
    Posts: 1,349
    Quote:
    Originally Posted by Mewpika View Post
    @chrunch

    I've seen that before and it didn't help that much. I have a problem with my games. When I got them in VBA and saved then came back to play it it was very glitchy and slow. How do I get that to stop happening? I put it on Flash 128K. Can someone here help me with that and please explain patching files because I heard that you need to do that for some hacks. Thanks.
    You need to download a program called Lunar IPS and a clean firered ROM (or whatever the base ROM is for whatever you want to play), along with the .ips file for your hack. Open up Lunar IPS and select "Apply IPS Patch". select your IPS file, then your ROM. Your ROM is now patched.

    I'm not sure what you mean about saving though, that shouldn't be happening. Are you using save states or the ingame save feature?
    __________________
      #27253    
    Old November 1st, 2013 (3:21 PM). Edited November 1st, 2013 by Mewpika.
    Mewpika Mewpika is offline
       
      Join Date: Oct 2013
      Gender: Female
      Posts: 7
      I am using in game save. What should I be using? And do I need to unzip files? Do you do that by extracting them?

      I have a problem with my games. When I got them in VBA and saved then came back to play it it was very glitchy and slow. The music was messed up too and it was going slowly when it worked fine on the first go. I also do not see the saved file on the game but the same problem happens. How do I get that to stop happening? I put it on Flash 128K. How do you save on them? I am using in game save. What should I be using? And do I need to unzip files? Do you do that by extracting them? Please help, I will be extremely greatful if you do. I am a beginner in this so please explain everything the best you can. Thank you.
        #27254    
      Old November 1st, 2013 (9:11 PM).
      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,573
      Quote:
      Originally Posted by Mewpika View Post
      I am using in game save. What should I be using? And do I need to unzip files? Do you do that by extracting them?

      I have a problem with my games. When I got them in VBA and saved then came back to play it it was very glitchy and slow. The music was messed up too and it was going slowly when it worked fine on the first go. I also do not see the saved file on the game but the same problem happens. How do I get that to stop happening? I put it on Flash 128K. How do you save on them? I am using in game save. What should I be using? And do I need to unzip files? Do you do that by extracting them? Please help, I will be extremely greatful if you do. I am a beginner in this so please explain everything the best you can. Thank you.
      This is my VBA settings to save in-game in any ROMs.
      Spoiler:

      And here's a link for you to learn how to deal with patches.
      __________________


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

        #27255    
      Old November 1st, 2013 (9:12 PM).
      Teh Blazer's Avatar
      Teh Blazer Teh Blazer is offline
      Divider of Zero
         
        Join Date: Feb 2009
        Location: 'MERICA
        Age: 22
        Gender: Male
        Nature: Relaxed
        Posts: 772
        When I was playing my Pokemon evolved at level 16 but when I checked its stats it reverted back to level 13. Wat?
        __________________
        Being a hero is overrated anyways
          #27256    
        Old November 1st, 2013 (9:15 PM).
        chrunch chrunch is offline
        • Gold Tier
         
        Join Date: Oct 2009
        Gender: Male
        Posts: 1,349
        Quote:
        Originally Posted by Teh Blazer View Post
        When I was playing my Pokemon evolved at level 16 but when I checked its stats it reverted back to level 13. Wat?
        Both of your Pokemon need the same growth rate.
        __________________
          #27257    
        Old November 1st, 2013 (9:18 PM).
        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,573
        Quote:
        Originally Posted by Teh Blazer View Post
        When I was playing my Pokemon evolved at level 16 but when I checked its stats it reverted back to level 13. Wat?
        The growth rates are probably different.
        Spoiler:
        __________________


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

          #27258    
        Old November 2nd, 2013 (4:01 AM).
        Rezordaxx's Avatar
        Rezordaxx Rezordaxx is offline
        Asks many questions!
           
          Join Date: Aug 2013
          Location: The Netherlands
          Age: 18
          Gender: Male
          Nature: Relaxed
          Posts: 290
          how can i change the surfing sprite i mean the pokemon under you?
          __________________

          My hack
            #27259    
          Old November 2nd, 2013 (4:36 AM).
          ~Pokedude~'s Avatar
          ~Pokedude~ ~Pokedude~ is offline
             
            Join Date: Nov 2013
            Gender: Male
            Posts: 64
            Use the NamelessSpriteEditor (short: NSE).
            Its an overworld-sprite.
              #27260    
            Old November 2nd, 2013 (5:09 AM).
            Rezordaxx's Avatar
            Rezordaxx Rezordaxx is offline
            Asks many questions!
               
              Join Date: Aug 2013
              Location: The Netherlands
              Age: 18
              Gender: Male
              Nature: Relaxed
              Posts: 290
              Quote:
              Originally Posted by ~Pokedude~ View Post
              Use the NamelessSpriteEditor (short: NSE).
              Its an overworld-sprite.
              found it thanks you going to edit it now!
              __________________

              My hack
                #27261    
              Old November 2nd, 2013 (5:34 AM).
              ~Pokedude~'s Avatar
              ~Pokedude~ ~Pokedude~ is offline
                 
                Join Date: Nov 2013
                Gender: Male
                Posts: 64
                But don't forget that the palette of the surf-sprite is equal with the hiro-palette!
                  #27262    
                Old November 2nd, 2013 (5:39 AM).
                Rezordaxx's Avatar
                Rezordaxx Rezordaxx is offline
                Asks many questions!
                   
                  Join Date: Aug 2013
                  Location: The Netherlands
                  Age: 18
                  Gender: Male
                  Nature: Relaxed
                  Posts: 290
                  Does somebody know how to replace the HM moves with items like in Pokemon Ash Gray
                  __________________

                  My hack
                    #27263    
                  Old November 2nd, 2013 (5:54 AM).
                  ~Pokedude~'s Avatar
                  ~Pokedude~ ~Pokedude~ is offline
                     
                    Join Date: Nov 2013
                    Gender: Male
                    Posts: 64
                    That requires ASM but I don't think that fits in simple questions.
                      #27264    
                    Old November 2nd, 2013 (6:20 AM). Edited November 2nd, 2013 by Rezordaxx.
                    Rezordaxx's Avatar
                    Rezordaxx Rezordaxx is offline
                    Asks many questions!
                       
                      Join Date: Aug 2013
                      Location: The Netherlands
                      Age: 18
                      Gender: Male
                      Nature: Relaxed
                      Posts: 290
                      Quote:
                      Originally Posted by ~Pokedude~ View Post
                      That requires ASM but I don't think that fits in simple questions.
                      yeah but where can i ask it otherwise :/

                      Quote:
                      Originally Posted by ~Pokedude~ View Post
                      But don't forget that the palette of the surf-sprite is equal with the hiro-palette!
                      Do you know how to make 2 palletes out of them?
                      __________________

                      My hack
                        #27265    
                      Old November 2nd, 2013 (7:26 AM).
                      Telinc1's Avatar
                      Telinc1 Telinc1 is offline
                      Weirdo Extraordinaire
                         
                        Join Date: Jun 2013
                        Location: Sofia, Bulgaria
                        Gender: Male
                        Nature: Bold
                        Posts: 167
                        I knew the time would come when I ask another question. I have a level script that activates when you do a certain something. Everything works, however one of the two involved person events doesn't show up (removing the flag from it makes it show up permanently, but it is obviously not what I want) with the "showsprite" command. It's weird, because the other one does. Here is a screenshot of the map. Please don't mind the WIP map. Also note that the sprite uses flag 37 (the other one uses 36)


                        This is just a piece of the map because it is actually 48x40. This portion is in the middle of it.

                        I made sure no level script interfered with anything, so I hope somebody can help.
                        __________________

                        Check out my hacks by clicking on the userbar!
                        Check out my new website (this link now works!)!
                          #27266    
                        Old November 2nd, 2013 (10:40 AM).
                        JordanB500's Avatar
                        JordanB500 JordanB500 is offline
                        Former Pokemon League Champion
                           
                          Join Date: Jan 2008
                          Location: Independence MO
                          Age: 31
                          Gender: Male
                          Nature: Gentle
                          Posts: 72
                          can i get a reply for my questions lol
                          __________________




                            #27267    
                          Old November 2nd, 2013 (11:00 AM).
                          Rezordaxx's Avatar
                          Rezordaxx Rezordaxx is offline
                          Asks many questions!
                             
                            Join Date: Aug 2013
                            Location: The Netherlands
                            Age: 18
                            Gender: Male
                            Nature: Relaxed
                            Posts: 290
                            Quote:
                            Originally Posted by JordanB500 View Post
                            can i get a reply for my questions lol
                            you have already got your aswers 2 pages back.

                            and i should hack firered if I where you its easy'r because many tutorials are based on firered or leafgreen
                            __________________

                            My hack
                              #27268    
                            Old November 2nd, 2013 (11:18 AM).
                            Orifiel's Avatar
                            Orifiel Orifiel is offline
                            Priestess
                               
                              Join Date: Aug 2013
                              Location: Tokyo, Japan
                              Gender: Female
                              Nature: Lonely
                              Posts: 421
                              Quote:
                              Originally Posted by Telinc1 View Post
                              I knew the time would come when I ask another question. I have a level script that activates when you do a certain something. Everything works, however one of the two involved person events doesn't show up (removing the flag from it makes it show up permanently, but it is obviously not what I want) with the "showsprite" command. It's weird, because the other one does. Here is a screenshot of the map. Please don't mind the WIP map. Also note that the sprite uses flag 37 (the other one uses 36)


                              This is just a piece of the map because it is actually 48x40. This portion is in the middle of it.

                              I made sure no level script interfered with anything, so I hope somebody can help.
                              Go to header
                              and the map scripts. Choose there on entering map/not on menu close.
                              Then make your script, normal with hidesprite, specifically, in your level script you need the flag.
                              So it should be for the on entering map/not on menu close like this for example.

                              #dynamic offset

                              #org @start
                              checkflag (flag)
                              hidesprite 0x(NPC number)
                              setflag (flag number for this script should be added on the NPC I.D)
                              release
                              end

                              then on your level script.
                              Just add show sprite. For showsprite to happen doesn't need flags to add in NPC by the way.
                              It will automatically happen if added in script.
                              Then you're good to go!

                              Also, wrong section. Should be on script help thread.
                              __________________
                              ~ Pair | Character | Previously L96 ~
                                #27269    
                              Old November 2nd, 2013 (11:28 AM). Edited November 2nd, 2013 by Telinc1.
                              Telinc1's Avatar
                              Telinc1 Telinc1 is offline
                              Weirdo Extraordinaire
                                 
                                Join Date: Jun 2013
                                Location: Sofia, Bulgaria
                                Gender: Male
                                Nature: Bold
                                Posts: 167
                                Quote:
                                Originally Posted by L96 View Post
                                Go to header
                                and the map scripts. Choose there on entering map/not on menu close.
                                Then make your script, normal with hidesprite, specifically, in your level script you need the flag.
                                So it should be for the on entering map/not on menu close like this for example.

                                #dynamic offset

                                #org @start
                                checkflag (flag)
                                hidesprite 0x(NPC number)
                                setflag (flag number for this script should be added on the NPC I.D)
                                release
                                end

                                then on your level script.
                                Just add show sprite. For showsprite to happen doesn't need flags to add in NPC by the way.
                                It will automatically happen if added in script.
                                Then you're good to go!

                                Also, wrong section. Should be on script help thread.
                                Hi. Thanks for the help, but unfortunately, the script (neither the type or the script itself) is not the problem. There's something weird going on with the flags, so I don't think the script help thread is suitable for this. I might be wrong, though.
                                Though I will try to use on entering map as the type and see what happens.
                                Huh, now that's weird. Swapping the person event numbers makes the first rival not appear and the second one appear. There's something strange going on and I will try to figure out what it is.

                                Well, I was able to fix the problem. It seems that moving the showsprite command to a location where the camera has scrolled to the scene fixed the problem. Conclusion: showsprite without a clearflag doesn't work if the sprite you're trying to show is way off screen. You learn something new every day.

                                (also, am I the only member of the PokéCommunity to realise that showsprite and hidesprite automatically do setflag/clearflag, so it's just a waste of space to use them)
                                __________________

                                Check out my hacks by clicking on the userbar!
                                Check out my new website (this link now works!)!
                                  #27270    
                                Old November 2nd, 2013 (11:48 AM).
                                ep!c ep!c is offline
                                Banned
                                   
                                  Join Date: Mar 2013
                                  Gender: Male
                                  Posts: 124
                                  Hidesprite does not activate the flag, how could it?
                                  You need setflag + hidesprite in addition to make the person disappear FOREVER.
                                    #27271    
                                  Old November 2nd, 2013 (1:13 PM).
                                  Rezordaxx's Avatar
                                  Rezordaxx Rezordaxx is offline
                                  Asks many questions!
                                     
                                    Join Date: Aug 2013
                                    Location: The Netherlands
                                    Age: 18
                                    Gender: Male
                                    Nature: Relaxed
                                    Posts: 290
                                    I have given my lvl 5 fakemon surf trough yape
                                    but when I push z (a) at the water nothing happens,
                                    could it be because i dont have the pokemon menu activated?
                                    i need it deactivated for some reasons want to know why chek my hack thread in my signature
                                    __________________

                                    My hack
                                      #27272    
                                    Old November 2nd, 2013 (1:22 PM).
                                    Telinc1's Avatar
                                    Telinc1 Telinc1 is offline
                                    Weirdo Extraordinaire
                                       
                                      Join Date: Jun 2013
                                      Location: Sofia, Bulgaria
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 167
                                      Quote:
                                      Originally Posted by Rezordaxx View Post
                                      I have given my lvl 5 fakemon surf trough yape
                                      but when I push z (a) at the water nothing happens,
                                      could it be because i dont have the pokemon menu activated?
                                      i need it deactivated for some reasons want to know why chek my hack thread in my signature
                                      You need the Soul Badge (number 6, from Koga in the original game) in order to able to use Surf outside of battle. Currently, it has been only discovered how to prevent the badge check in the Pokémon menu but not on the overworld.
                                      __________________

                                      Check out my hacks by clicking on the userbar!
                                      Check out my new website (this link now works!)!
                                        #27273    
                                      Old November 2nd, 2013 (1:41 PM).
                                      Rezordaxx's Avatar
                                      Rezordaxx Rezordaxx is offline
                                      Asks many questions!
                                         
                                        Join Date: Aug 2013
                                        Location: The Netherlands
                                        Age: 18
                                        Gender: Male
                                        Nature: Relaxed
                                        Posts: 290
                                        Quote:
                                        Originally Posted by Telinc1 View Post
                                        You need the Soul Badge (number 6, from Koga in the original game) in order to able to use Surf outside of battle. Currently, it has been only discovered how to prevent the badge check in the Pokémon menu but notn t ohe overworld.
                                        what do you mean by

                                        "it has been only discovered how to prevent the badge check in the Pokémon menu but not the overworld."??
                                        __________________

                                        My hack
                                          #27274    
                                        Old November 2nd, 2013 (2:35 PM).
                                        karatekid552's Avatar
                                        karatekid552 karatekid552 is offline
                                        What happens if I push it?....
                                           
                                          Join Date: Nov 2012
                                          Location: Do you really want to know? Really?
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 1,766
                                          Quote:
                                          Originally Posted by Telinc1 View Post
                                          You need the Soul Badge (number 6, from Koga in the original game) in order to able to use Surf outside of battle. Currently, it has been only discovered how to prevent the badge check in the Pokémon menu but not on the overworld.
                                          I actually found all of the offsets at one point. It is very simple to do if you know ASM. However, I don't remember where they are.
                                          __________________

                                          Paired with Simba
                                            #27275    
                                          Old November 2nd, 2013 (3:44 PM).
                                          Rezordaxx's Avatar
                                          Rezordaxx Rezordaxx is offline
                                          Asks many questions!
                                             
                                            Join Date: Aug 2013
                                            Location: The Netherlands
                                            Age: 18
                                            Gender: Male
                                            Nature: Relaxed
                                            Posts: 290
                                            Quote:
                                            Originally Posted by karatekid552 View Post
                                            I actually found all of the offsets at one point. It is very simple to do if you know ASM. However, I don't remember where they are.
                                            Could you help me out in pm? Thanks and credits in the hack as advance
                                            __________________

                                            My hack
                                            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 2:46 PM.