The PokéCommunity Forums Fan Games ROM Hacking
[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

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


Closed Thread
 
Thread Tools
  #25701    
Old July 15th, 2013 (4:55 PM). Edited July 15th, 2013 by karatekid552.
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 SpadeEdge16 View Post
    Hey guys, how do you animate a tile with multiple blocks? By that I mean what number am i supposed to put in for the block/tile number in the tile animator program? Because i read the tut for using it, but i didnt happen to see them edit more than one block at a time. I can reword this if the question isnt perfectly clear.
    You animate tiles, not blocks.


    Spoiler:


    The tile will always be animated when you use it in a block.
    Attached Images
    File Type: png tiles.PNG‎ (128.9 KB, 53 views) (Save to Dropbox)
    __________________

    Paired with Simba

    Relevant Advertising!

      #25702    
    Old July 15th, 2013 (6:44 PM).
    ISNorden's Avatar
    ISNorden ISNorden is offline
    Teddiursa
       
      Join Date: Feb 2013
      Location: Madison, Wisconsin, USA
      Gender: Female
      Nature: Gentle
      Posts: 157
      I am playing "straight" unhacked Emerald on Visual Boy Advance, but have no wi-fi connection available. Is it possible to trade Pokémon between games under these two circumstances?

      1. Between two unhacked Gen III games on the same emulator (e.g.. trading eggs to myself in a different game).
      2. Between Gen III and Gen IV on another emulator (e.g., having Emerald in the GBA slot of DeSmuME, and reading PC data from Emerald to send to Pal Park).
      If either of these trade situations can be done without wi-fi, please give me instructions for setting them up. Thanks so much!
      __________________
      ========================

      Ingeborg S. Nordén

      " Coming this fall to Jubilife TV: Lost Beyond Space!" :P
        #25703    
      Old July 15th, 2013 (6:52 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 ISNorden View Post
        I am playing "straight" unhacked Emerald on Visual Boy Advance, but have no wi-fi connection available. Is it possible to trade Pokémon between games under these two circumstances?

        1. Between two unhacked Gen III games on the same emulator (e.g.. trading eggs to myself in a different game).
        2. Between Gen III and Gen IV on another emulator (e.g., having Emerald in the GBA slot of DeSmuME, and reading PC data from Emerald to send to Pal Park).
        If either of these trade situations can be done without wi-fi, please give me instructions for setting them up. Thanks so much!
        This is rom hacking. Not emulation help. However:


        1) Yes, using VBA-Link.

        2)Yes, I've done it.

        WiFi is not at all needed. In fact, no emulators can use wifi connectivity yet.
        __________________

        Paired with Simba
          #25704    
        Old July 15th, 2013 (9:34 PM).
        designmadman designmadman is offline
           
          Join Date: Dec 2012
          Location: USA
          Gender: Male
          Nature: Adamant
          Posts: 13
          No matter what map I run this script on either the screen goes black upon entering the map or upon successfully entering the map and stepping on the script box the script will only run halfway through and then the script freezes and your stuck hearing the background music and seeing endless inactivity! I'm pretty lacking in knowledge of advance map but I'd say from personal experience certain maps only have a specific number of bytes available for all events etc, please someone correct me if I'm wrong, here's the script:

          #org 0x880000
          lockall
          applymovement 0x4 0x8880245
          waitmovement 0x4
          checksound
          cry 0xF4 0x0
          playsong 0x14C 0x0
          applymovement 0x2 0x888024B
          waitmovement 0x2
          msgbox 0x888012B MSG_NORMAL '
          applymovement 0x3 0x888024F
          waitmovement 0x3
          hidesprite 0x4
          setflag 0x1230
          movesprite 0xB 0x9 0x5
          setflag 0x1230
          msgbox 0x888017E MSG_NORMAL
          applymovement 0x3 0x8880257
          waitmovement 0x3
          trainerbattle 0x1 0xE 0x0 0x8880067 0x88800C5 0x88800E8
          end

          '---------------
          #org 0x8800E8
          msgbox 0x88801B2 MSG_NORMAL '"Oh, you, you, you! You make me so\..."
          fadescreen 0x1
          hidesprite 0x2
          setflag 0x1231
          fadescreen 0x0
          movesprite 0x5 0xB 0xB
          setvar 0x8004 0xF
          setvar 0x8005 0xF
          setvar 0x8006 0xF
          setvar 0x8007 0xF
          special 0x136
          msgbox 0x8880210 MSG_NORMAL '"[player] you have to get out of he..."
          warpmuted 0x1 0x97 0x9 0x0 0x0
          release
          end


          '---------
          ' Strings
          '---------
          #org 0x88012B
          = blah blah

          #org 0x88017E
          = blah blah

          #org 0x880067
          = blah blah


          #org 0x8800C5
          = blah blah
          he tempo!

          #org 0x8801B2
          = blah blah


          #org 0x880210
          = [player] you have to get out of here\nheres my AERODACTYL


          '-----------
          ' Movements
          '-----------
          #org 0x880245
          #raw 0x14 'Jump2 Down
          #raw 0x18 'Delay1
          #raw 0x14 'Jump2 Down
          #raw 0x18 'Delay1
          #raw 0xFE 'End of Movements

          #org 0x88024B
          #raw 0x3 'Face Right
          #raw 0x18 'Delay1
          #raw 0xFE 'End of Movements

          #org 0x88024F
          #raw 0x2 'Face Left
          #raw 0x18 'Delay1
          #raw 0xA 'Step Left (Very Slow)
          #raw 0x18 'Delay1
          #raw 0x1 'Face Up
          #raw 0x9 'Step Up (Very Slow)
          #raw 0xFE 'End of Movements

          #org 0x880257
          #raw 0x0 'Face Down
          #raw 0x18 'Delay1
          #raw 0x65 'Double Exclamation Mark (!!)
          #raw 0xC 'Step Down (Slow)
            #25705    
          Old July 15th, 2013 (9:49 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 designmadman View Post
            No matter what map I run this script on either the screen goes black upon entering the map or upon successfully entering the map and stepping on the script box the script will only run halfway through and then the script freezes and your stuck hearing the background music and seeing endless inactivity! I'm pretty lacking in knowledge of advance map but I'd say from personal experience certain maps only have a specific number of bytes available for all events etc, please someone correct me if I'm wrong, here's the script:

            #org 0x880000
            lockall
            applymovement 0x4 0x8880245
            waitmovement 0x4
            checksound
            cry 0xF4 0x0
            playsong 0x14C 0x0
            applymovement 0x2 0x888024B
            waitmovement 0x2
            msgbox 0x888012B MSG_NORMAL '
            applymovement 0x3 0x888024F
            waitmovement 0x3
            hidesprite 0x4
            setflag 0x1230
            movesprite 0xB 0x9 0x5
            setflag 0x1230
            msgbox 0x888017E MSG_NORMAL
            applymovement 0x3 0x8880257
            waitmovement 0x3
            trainerbattle 0x1 0xE 0x0 0x8880067 0x88800C5 0x88800E8
            end

            '---------------
            #org 0x8800E8
            msgbox 0x88801B2 MSG_NORMAL '"Oh, you, you, you! You make me so\..."
            fadescreen 0x1
            hidesprite 0x2
            setflag 0x1231
            fadescreen 0x0
            movesprite 0x5 0xB 0xB
            setvar 0x8004 0xF
            setvar 0x8005 0xF
            setvar 0x8006 0xF
            setvar 0x8007 0xF
            special 0x136
            msgbox 0x8880210 MSG_NORMAL '"[player] you have to get out of he..."
            warpmuted 0x1 0x97 0x9 0x0 0x0
            release
            end


            '---------
            ' Strings
            '---------
            #org 0x88012B
            = blah blah

            #org 0x88017E
            = blah blah

            #org 0x880067
            = blah blah


            #org 0x8800C5
            = blah blah
            he tempo!

            #org 0x8801B2
            = blah blah


            #org 0x880210
            = [player] you have to get out of here\nheres my AERODACTYL


            '-----------
            ' Movements
            '-----------
            #org 0x880245
            #raw 0x14 'Jump2 Down
            #raw 0x18 'Delay1
            #raw 0x14 'Jump2 Down
            #raw 0x18 'Delay1
            #raw 0xFE 'End of Movements

            #org 0x88024B
            #raw 0x3 'Face Right
            #raw 0x18 'Delay1
            #raw 0xFE 'End of Movements

            #org 0x88024F
            #raw 0x2 'Face Left
            #raw 0x18 'Delay1
            #raw 0xA 'Step Left (Very Slow)
            #raw 0x18 'Delay1
            #raw 0x1 'Face Up
            #raw 0x9 'Step Up (Very Slow)
            #raw 0xFE 'End of Movements

            #org 0x880257
            #raw 0x0 'Face Down
            #raw 0x18 'Delay1
            #raw 0x65 'Double Exclamation Mark (!!)
            #raw 0xC 'Step Down (Slow)
            Read this:

            http://www.pokecommunity.com/showthread.php?t=302347

            When you are done, try running it through a person event.
            __________________

            Paired with Simba
              #25706    
            Old July 16th, 2013 (12:51 AM).
            destinedjagold's Avatar
            destinedjagold destinedjagold is online now
            Oh Hai Thar~
             
            Join Date: May 2007
            Location: Philippines
            Age: 27
            Gender: Male
            Nature: Careful
            Posts: 8,574
            Quote:
            Originally Posted by designmadman View Post
            No matter what map I run this script on either the screen goes black upon entering the map or upon successfully entering the map and stepping on the script box the script will only run halfway through and then the script freezes and your stuck hearing the background music and seeing endless inactivity! I'm pretty lacking in knowledge of advance map but I'd say from personal experience certain maps only have a specific number of bytes available for all events etc, please someone correct me if I'm wrong, here's the script:

            Spoiler:
            #org 0x880000
            lockall
            applymovement 0x4 0x8880245
            waitmovement 0x4
            checksound
            cry 0xF4 0x0
            playsong 0x14C 0x0
            applymovement 0x2 0x888024B
            waitmovement 0x2
            msgbox 0x888012B MSG_NORMAL '
            applymovement 0x3 0x888024F
            waitmovement 0x3
            hidesprite 0x4
            setflag 0x1230
            movesprite 0xB 0x9 0x5
            setflag 0x1230
            msgbox 0x888017E MSG_NORMAL
            applymovement 0x3 0x8880257
            waitmovement 0x3
            trainerbattle 0x1 0xE 0x0 0x8880067 0x88800C5 0x88800E8
            end

            '---------------
            #org 0x8800E8
            msgbox 0x88801B2 MSG_NORMAL '"Oh, you, you, you! You make me so\..."
            fadescreen 0x1
            hidesprite 0x2
            setflag 0x1231
            fadescreen 0x0
            movesprite 0x5 0xB 0xB
            setvar 0x8004 0xF
            setvar 0x8005 0xF
            setvar 0x8006 0xF
            setvar 0x8007 0xF
            special 0x136
            msgbox 0x8880210 MSG_NORMAL '"[player] you have to get out of he..."
            warpmuted 0x1 0x97 0x9 0x0 0x0
            release
            end


            '---------
            ' Strings
            '---------
            #org 0x88012B
            = blah blah

            #org 0x88017E
            = blah blah

            #org 0x880067
            = blah blah


            #org 0x8800C5
            = blah blah
            he tempo!

            #org 0x8801B2
            = blah blah


            #org 0x880210
            = [player] you have to get out of here\nheres my AERODACTYL


            '-----------
            ' Movements
            '-----------
            #org 0x880245
            #raw 0x14 'Jump2 Down
            #raw 0x18 'Delay1
            #raw 0x14 'Jump2 Down
            #raw 0x18 'Delay1
            #raw 0xFE 'End of Movements

            #org 0x88024B
            #raw 0x3 'Face Right
            #raw 0x18 'Delay1
            #raw 0xFE 'End of Movements

            #org 0x88024F
            #raw 0x2 'Face Left
            #raw 0x18 'Delay1
            #raw 0xA 'Step Left (Very Slow)
            #raw 0x18 'Delay1
            #raw 0x1 'Face Up
            #raw 0x9 'Step Up (Very Slow)
            #raw 0xFE 'End of Movements

            #org 0x880257
            #raw 0x0 'Face Down
            #raw 0x18 'Delay1
            #raw 0x65 'Double Exclamation Mark (!!)
            #raw 0xC 'Step Down (Slow)
            Please please PLEASE use the SPOILER tag!
            HTML Code:
            [SPOILER]...your content here...[/spoiler]
            And also, post your script-related questions in the Script Help thread. >.>

            Anyway...
            Code:
            ...
            
            #org 0x880257
            #raw 0x0 'Face Down
            #raw 0x18 'Delay1
            #raw 0x65 'Double Exclamation Mark (!!)
            #raw 0xC 'Step Down (Slow)
            You forgot to end it with...
            Code:
            #raw 0xFE 'End of Movements
            __________________


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

              #25707    
            Old July 16th, 2013 (1:34 AM).
            ISNorden's Avatar
            ISNorden ISNorden is offline
            Teddiursa
               
              Join Date: Feb 2013
              Location: Madison, Wisconsin, USA
              Gender: Female
              Nature: Gentle
              Posts: 157
              Quote:
              Originally Posted by karatekid552 View Post
              This is rom hacking. Not emulation help. However:


              1) Yes, using VBA-Link.

              2)Yes, I've done it.

              WiFi is not at all needed. In fact, no emulators can use wifi connectivity yet.
              Unfortunately, I couldn't find a more suitable thread for the technical side of gaming with an emulator (not for Gen III games, at least). Could the mods please create that topic and move my question there?

              P.S. Where/how do I get VBA-Link?
              __________________
              ========================

              Ingeborg S. Nordén

              " Coming this fall to Jubilife TV: Lost Beyond Space!" :P
                #25708    
              Old July 16th, 2013 (6:59 AM).
              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 ISNorden View Post
                Unfortunately, I couldn't find a more suitable thread for the technical side of gaming with an emulator (not for Gen III games, at least). Could the mods please create that topic and move my question there?

                P.S. Where/how do I get VBA-Link?
                This very magical place called "Google".:P
                __________________

                Paired with Simba
                  #25709    
                Old July 16th, 2013 (9:20 PM). Edited July 16th, 2013 by MasterWarlord.
                MasterWarlord's Avatar
                MasterWarlord MasterWarlord is offline
                   
                  Join Date: May 2010
                  Gender: Male
                  Posts: 17
                  So, just for the hell of it, I put one of the 25 ??? slots in the wild and caught it (Fire Red), just to see what would happen. It doesn't show up in the dex, which I don't especially care about, and on the attempt to show the pokedex screen when I catch the thing, it shows the most recently viewed pokedex entry. I thought from there that the game would crash if I didn't view anything in the pokedex, but no, in that case it just skips the screen entirely.

                  From casual testing experience it seems like there's no reason they can't be wild if you don't mind the wrong Pokedex entry possibly popping up. Why does everybody say it's so bad/say the game crashes?
                    #25710    
                  Old July 16th, 2013 (9:25 PM).
                  Cold Ivory's Avatar
                  Cold Ivory Cold Ivory is offline
                     
                    Join Date: Mar 2011
                    Gender: Male
                    Nature: Mild
                    Posts: 30
                    I noticed that the Pokecenter scripts in Emerald set var 0x800B to 0x1, and then all of the applymovement commands in the script use "0x800B" as the person ID. (0x1 therefore corresponds to the nurse)
                    I tried a similar script with the trainerbattle command, but it just seem to run past it to the post-battle texts. Any thought on why the variable works for applymovement but not trainerbattle?
                      #25711    
                    Old July 17th, 2013 (6:27 AM).
                    MindMementoX's Avatar
                    MindMementoX MindMementoX is offline
                    Rival
                       
                      Join Date: May 2013
                      Location: Torrevieja
                      Gender: Male
                      Nature: Calm
                      Posts: 6
                      Umm... Uhh... Hello? I'm new to Pokécommunity and just started actually USING this account rather than just reading... so ehh, I just write here the questions? Okay. So I didn't actually find this problem that I have in this... post? because there's like, thousands of pages. I looked and looked but... okay. So my problem is. Why are the damn sprites disappearing from my rom after I try to add a new sprite. The first time I tried to add a Riolu and a Lucario sprite over Wailmer and Wailord, it worked. But now that I'm trying to replace snubbull's sprite with a gible, there comes this "Not enough space" thingy, and I use FSF, blah blah BLAH, and do everything what the tutorials say, but after I'm done with that, the normal sprite works but the BACK sprite... Oooh, that's messed up. I put gibles backsprite there, and ofcourse, it ended up being a bit messy. So I thought that it would work since a guy on youtube said so, so I left the unLZ gba and tested it out. Whaddya know! Only half of the sprite came, kinda like only the top part with a white skinned gible and some orange around him. woohoo ._. I went to check the sprite on unLZ gba when I noticed that IT'S GONE :D. I paniced. seriously. So how do I find the sprite and how do I fix the palette and maybe the sprite? If you're asking for the offset, lucky me, I didn't save it in notepad to use it later on. Haha. ._. great. So I'll be eagering to hear how much I failed on this program. For those who will ask "What game are you trying to HACKZ", I'm using Firered. Not Ruby, not emerald, but the one and only FIRE RED. Red is on fire. Fire is red. So, please help me with this question while I check out that "Script help" thread and probably spam it with scripting questions because PKSV wont work.

                      Thank you! Did I do good for my first post/forum message/whatever you call them thingy?
                      -Memento

                      (PS: If you need the sprites for the gible, gabite and Garchomp (which also dont work), I'll post a mediafire link.)
                        #25712    
                      Old July 17th, 2013 (8:21 AM). Edited July 17th, 2013 by piepi.
                      piepi's Avatar
                      piepi piepi is offline
                      Yung Dreamer
                         
                        Join Date: Mar 2011
                        Location: Chicago, Il
                        Gender: Male
                        Nature: Hasty
                        Posts: 3
                        So I am writing a very basic script, and when I go to run it, the screen turns black and the background music continues. The game I am working with is Emerald. Any help would be appreciated.

                        Here is the script:
                        '---------------
                        #dynamic 0x3E9F84
                        #org 0x3E9F84
                        checkflag 0x1
                        if 0x1 goto @done
                        wildbattle 0x91 0x46 0x0
                        fadescreen 0x1
                        setflag 0x1
                        release
                        end

                        #org @done
                        release
                        end
                          #25713    
                        Old July 17th, 2013 (8:58 AM). Edited July 17th, 2013 by MindMementoX.
                        MindMementoX's Avatar
                        MindMementoX MindMementoX is offline
                        Rival
                           
                          Join Date: May 2013
                          Location: Torrevieja
                          Gender: Male
                          Nature: Calm
                          Posts: 6
                          I wont probably help but the people that can help you might need the script that crashes the game. You could add it so that people can help you.

                          Oh, and sorry. I forgot to say that this is the sprite thread. There might be more help in the Scripting thread. Sorry, I just noticed :/
                          I cant seem to post the link but it's called "Script Help Thread". It's in the Emulation & Rom section. Check that place out.

                          Post the same post there and I bet they'll help.
                            #25714    
                          Old July 17th, 2013 (10:55 AM). Edited July 17th, 2013 by karatekid552.
                          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 Cold Ivory View Post
                            I noticed that the Pokecenter scripts in Emerald set var 0x800B to 0x1, and then all of the applymovement commands in the script use "0x800B" as the person ID. (0x1 therefore corresponds to the nurse)
                            I tried a similar script with the trainerbattle command, but it just seem to run past it to the post-battle texts. Any thought on why the variable works for applymovement but not trainerbattle?
                            Most scripting commands can load vars or static numbers. This is because vars cannot be less than 4000, so any number below is assumed to be a static value, and any number above is assumed to be a var. (I have actually looked at the coding for a lot of commands and can say that this is fairly accurate.) When loading a var, it will simply take the value contained in said var and use that.

                            The reason I think the game skipped right to ending words id because you have already battled trainer number 1, most likely, so it treated it as such. Before the trainer battle, add this line:

                            settrainerflag 0x1

                            This will enable trainer #1 to battle. Tell me if this fixes it.

                            Quote:
                            Originally Posted by MasterWarlord View Post
                            So, just for the hell of it, I put one of the 25 ??? slots in the wild and caught it (Fire Red), just to see what would happen. It doesn't show up in the dex, which I don't especially care about, and on the attempt to show the pokedex screen when I catch the thing, it shows the most recently viewed pokedex entry. I thought from there that the game would crash if I didn't view anything in the pokedex, but no, in that case it just skips the screen entirely.

                            From casual testing experience it seems like there's no reason they can't be wild if you don't mind the wrong Pokedex entry possibly popping up. Why does everybody say it's so bad/say the game crashes?
                            It won't ever show up in the dex, that is why it crashes. I have personally done this myself and had the game crash. However, if the pokemon was ever in your PC or party by some other means, such as a givepokemon script, then it was registered as having been caught which would deactivate the pokedex screen after catching another one. Why not try to catch one of these pokemon on a new save file? Then you will see what I mean.

                            In your case, it loaded the most recent dex entry seen. What if that isn't the case? What if that memory has been cleared? Which, like most memory, is probably cleared on warp or at least on quitting after saving the game.

                            Quote:
                            Originally Posted by MindMementoX View Post
                            Umm... Uhh... Hello? I'm new to Pokécommunity and just started actually USING this account rather than just reading... so ehh, I just write here the questions? Okay. So I didn't actually find this problem that I have in this... post? because there's like, thousands of pages. I looked and looked but... okay. So my problem is. Why are the damn sprites disappearing from my rom after I try to add a new sprite. The first time I tried to add a Riolu and a Lucario sprite over Wailmer and Wailord, it worked. But now that I'm trying to replace snubbull's sprite with a gible, there comes this "Not enough space" thingy, and I use FSF, blah blah BLAH, and do everything what the tutorials say, but after I'm done with that, the normal sprite works but the BACK sprite... Oooh, that's messed up. I put gibles backsprite there, and ofcourse, it ended up being a bit messy. So I thought that it would work since a guy on youtube said so, so I left the unLZ gba and tested it out. Whaddya know! Only half of the sprite came, kinda like only the top part with a white skinned gible and some orange around him. woohoo ._. I went to check the sprite on unLZ gba when I noticed that IT'S GONE :D. I paniced. seriously. So how do I find the sprite and how do I fix the palette and maybe the sprite? If you're asking for the offset, lucky me, I didn't save it in notepad to use it later on. Haha. ._. great. So I'll be eagering to hear how much I failed on this program. For those who will ask "What game are you trying to HACKZ", I'm using Firered. Not Ruby, not emerald, but the one and only FIRE RED. Red is on fire. Fire is red. So, please help me with this question while I check out that "Script help" thread and probably spam it with scripting questions because PKSV wont work.

                            Thank you! Did I do good for my first post/forum message/whatever you call them thingy?
                            -Memento

                            (PS: If you need the sprites for the gible, gabite and Garchomp (which also dont work), I'll post a mediafire link.)
                            Just go get a copy of Wichu's Sprite Editors. They are 100x easier and far safer.

                            Your sprites aren't disappearing. The new ones are being inserted into a new location. So now both the new and the old exist, but only the new will be loaded in game because of pointers. Look at the offsets on the old sprites. Those don't match the offsets that you have for the new sprites.

                            Also, Unlz is terrible in the fact that it only reloads its data when the data gets deleted. This means that after the first scan of the rom, it will continue to use the same image locations even if you add more images. Simply delete the files it creates when loading a rom to reset this. Now your images should appear near the end of the data or in the new locations you added them. Remember, if you didn't delete the old ones, those will still exist also.

                            Quote:
                            Originally Posted by piepi View Post
                            So I am writing a very basic script, and when I go to run it, the screen turns black and the background music continues. The game I am working with is Emerald. Any help would be appreciated.

                            Here is the script:
                            '---------------
                            #dynamic 0x3E9F84
                            #org 0x3E9F84
                            checkflag 0x1
                            if 0x1 goto @done
                            wildbattle 0x91 0x46 0x0
                            fadescreen 0x1
                            setflag 0x1
                            release
                            end

                            #org @done
                            release
                            end
                            Lol, fadescreen 0x1 will fade the screen to black, but did you include a command to bring it back up? Nope!

                            add this: fadescreen 0x0

                            Also, flag 0x1 is temporary on most games, which means that it will be reset when you warp. Think about that....

                            I also think a waitstate after wildbattle would do you service.

                            Quote:
                            Originally Posted by MindMementoX View Post
                            I wont probably help but the people that can help you might need the script that crashes the game. You could add it so that people can help you.

                            Oh, and sorry. I forgot to say that this is the sprite thread. There might be more help in the Scripting thread. Sorry, I just noticed :/
                            I cant seem to post the link but it's called "Script Help Thread". It's in the Emulation & Rom section. Check that place out.

                            Post the same post there and I bet they'll help.
                            As long as you aren't using PokeScript, I'll help anyone with scripts, no matter the thread. (As long as it is a help thread.) This is called Simple Questions, which means anything goes, as long as you searched the thread before hand. Granted, it is more organized in the Script Help Thread, but as long as it gets answered, that is all I care about.
                            __________________

                            Paired with Simba
                              #25715    
                            Old July 17th, 2013 (11:52 AM).
                            pokefreake's Avatar
                            pokefreake pokefreake is offline
                               
                              Join Date: Nov 2012
                              Gender: Male
                              Posts: 69
                              karatekid do you know if a beta is released for Jambo's trainer editor?
                                #25716    
                              Old July 17th, 2013 (11:53 AM). Edited July 17th, 2013 by GoGoJJTech.
                              GoGoJJTech's Avatar
                              GoGoJJTech GoGoJJTech is offline
                              (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                               
                              Join Date: Nov 2012
                              Location: Earth
                              Age: 19
                              Gender: Female
                              Nature: Jolly
                              Posts: 2,475
                              I do. It's in his Tools Showcase thread.

                              Is it Possible to add berries? I know they all have special values and all, but would it be possible?
                              __________________
                              I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
                              The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
                              Romhack.me Profile - Pokecommunity Profile - Youtube Channel

                              Support me at my site!
                              Pokémon Platinum Red and Blue
                                #25717    
                              Old July 17th, 2013 (1:20 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 gogojjtech View Post
                                I do. It's in his Tools Showcase thread.

                                Is it Possible to add berries? I know they all have special values and all, but would it be possible?
                                Anythings possible. Just depends how much work you want to put in.
                                __________________

                                Paired with Simba
                                  #25718    
                                Old July 17th, 2013 (1:22 PM).
                                GoGoJJTech's Avatar
                                GoGoJJTech GoGoJJTech is offline
                                (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                 
                                Join Date: Nov 2012
                                Location: Earth
                                Age: 19
                                Gender: Female
                                Nature: Jolly
                                Posts: 2,475
                                Oh KK552, You know I will do anything for these hacks.
                                Where is that special values table?
                                __________________
                                I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
                                The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
                                Romhack.me Profile - Pokecommunity Profile - Youtube Channel

                                Support me at my site!
                                Pokémon Platinum Red and Blue
                                  #25719    
                                Old July 17th, 2013 (7:49 PM).
                                Cold Ivory's Avatar
                                Cold Ivory Cold Ivory is offline
                                   
                                  Join Date: Mar 2011
                                  Gender: Male
                                  Nature: Mild
                                  Posts: 30
                                  Quote:
                                  Originally Posted by karatekid552 View Post
                                  Most scripting commands can load vars or static numbers. This is because vars cannot be less than 4000, so any number below is assumed to be a static value, and any number above is assumed to be a var. (I have actually looked at the coding for a lot of commands and can say that this is fairly accurate.) When loading a var, it will simply take the value contained in said var and use that.

                                  The reason I think the game skipped right to ending words id because you have already battled trainer number 1, most likely, so it treated it as such. Before the trainer battle, add this line:

                                  settrainerflag 0x1

                                  This will enable trainer #1 to battle. Tell me if this fixes it.
                                  I had actually already thought of that issue, and set 0x800B to a trainer flag I knew I hadn't battled yet, such as a gym leader or E4.
                                  I tried adding in settrainerflag x0110 (Leader Juan) to scripts, but this didn't seem to do it - the script still passed over the trainerbattle.
                                    #25720    
                                  Old July 18th, 2013 (3:20 AM).
                                  miggy93 miggy93 is offline
                                     
                                    Join Date: Aug 2009
                                    Posts: 10
                                    I'm trying to change the text that Prof. Birch says when you start a new game. So I downloaded Advance-Text from wahackpokemon. The problem is when I open the program, nothing happens. I've already tried it dozens of times.

                                    My question is: Is there any way to change what the professor says in the intro?
                                      #25721    
                                    Old July 18th, 2013 (7:14 AM). Edited July 18th, 2013 by karatekid552.
                                    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 gogojjtech View Post
                                      Oh KK552, You know I will do anything for these hacks.
                                      Where is that special values table?
                                      Do you honestly think I have tried to add new berries? Half of them are useless already.:p

                                      Quote:
                                      Originally Posted by miggy93 View Post
                                      I'm trying to change the text that Prof. Birch says when you start a new game. So I downloaded Advance-Text from wahackpokemon. The problem is when I open the program, nothing happens. I've already tried it dozens of times.

                                      My question is: Is there any way to change what the professor says in the intro?
                                      I had this issue too at first, but I can't remember how I solved it. Make sure you have the latest .net framework installed, at least v4.0.

                                      Quote:
                                      Originally Posted by Cold Ivory View Post
                                      I had actually already thought of that issue, and set 0x800B to a trainer flag I knew I hadn't battled yet, such as a gym leader or E4.
                                      I tried adding in settrainerflag x0110 (Leader Juan) to scripts, but this didn't seem to do it - the script still passed over the trainerbattle.
                                      I'm going to go look at the coding for the trainerbattle command and see if it accepts vars. it may not.

                                      Edit: I looked over the command and at no point does it call the var_access routine. This means that it doesn't have the option to load vars. Sorry bro.
                                      __________________

                                      Paired with Simba
                                        #25722    
                                      Old July 19th, 2013 (2:26 PM).
                                      Kurapika's Avatar
                                      Kurapika Kurapika is offline
                                      Grudgebearer
                                         
                                        Join Date: Feb 2013
                                        Location: Lavendar Town - Morocco
                                        Gender: Male
                                        Nature: Naughty
                                        Posts: 418
                                        Is there any tool that decompiles ASM from Hex? I really tried searching for something with no avail.
                                        __________________
                                          #25723    
                                        Old July 19th, 2013 (2:54 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 Kurapika View Post
                                          Is there any tool that decompiles ASM from Hex? I really tried searching for something with no avail.
                                          PKSV can do it. VBA can do it (tools-> Disassembler). NO$GBA debugger can do it, and finally, IDA Pro can. The latter options are paid for a legal copy, but worth it.
                                          __________________

                                          Paired with Simba
                                            #25724    
                                          Old July 19th, 2013 (2:55 PM).
                                          GoGoJJTech's Avatar
                                          GoGoJJTech GoGoJJTech is offline
                                          (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                           
                                          Join Date: Nov 2012
                                          Location: Earth
                                          Age: 19
                                          Gender: Female
                                          Nature: Jolly
                                          Posts: 2,475
                                          Try pokehex hex editor. By deltasalamence
                                          __________________
                                          I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
                                          The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
                                          Romhack.me Profile - Pokecommunity Profile - Youtube Channel

                                          Support me at my site!
                                          Pokémon Platinum Red and Blue
                                            #25725    
                                          Old July 19th, 2013 (3:03 PM).
                                          Renegade's Avatar
                                          Renegade Renegade is offline
                                          Time for real life...
                                             
                                            Join Date: Nov 2011
                                            Location: United States
                                            Gender: Male
                                            Nature: Careful
                                            Posts: 998
                                            Does anybody know where I can get all of the 4th gen Pokemon icons from? You know, the pictures that come up when you look at who is in your party, like this one:
                                            Spoiler:
                                            __________________
                                            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:49 AM.