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
  #7901    
Old January 18th, 2009 (9:06 AM).
Lukeyjohnno's Avatar
Lukeyjohnno Lukeyjohnno is offline
Hacker-In-Training ;)
     
    Join Date: Aug 2007
    Gender:
    Nature: Modest
    Posts: 76
    Quote:
    Originally Posted by Medo0 View Post
    Ohh.. Thanks dude
    do you know anyway to make this script normal [a.k.a Decompile it]
    Code:
    #org 0x6B5200
    msgbox 0x86B5223 MSG_NORMAL '"Vileplume: Vahh! Vaaaa[.]\..."
    nop
    removeitem 0x12 0x1
    nop
    wildbattle2 0x2D 0x10 0x0 0x5
    bufferitem 0x0 0x2929
    compare 0x853 0x200
    Sorry, no I don't. I don't use Poketscript. I only XSE script.
    __________________
    Banner Created By Me

    Hacks I Support
    Spoiler:
    My Hack


    Relevant Advertising!

      #7902    
    Old January 18th, 2009 (9:15 AM).
    Lady Berlitz's Avatar
    Lady Berlitz Lady Berlitz is offline
    Cinnamon ♪
       
      Join Date: May 2007
      Location: An igloo in Canada
      Nature: Adamant
      Posts: 1,768
      Alright, I've gotten a weird reaction from my ROM. When I inserted a simple XSE message script for a NPC (I've inserted them before, mind you) in my Ruby hack, it didn't work. I hit the A button (which is my space bar), and it continued walking around, as if the script was never inserted. It looks like the script was even compiled correctly.

      Then, I inserted the script into a clean Ruby ROM, and it worked. I tried everything I can; copied exactly the statistics of that sprite, etc. This is the script I used, though I don't think there's anything wrong with it...

      Spoiler:
      #Dynamic 0x800000

      #org @talk
      msgbox @talk2 0x2
      end

      #org @talk2
      = This is a message script test.
      __________________
      _█████████_
      _█▄█████▄█_
      _█▼▼▼▼▼▼▼█_
      ██_______██
      _█▲▲▲▲▲▲▲█_
      _█████████_
      _██_____██_
        #7903    
      Old January 18th, 2009 (9:44 AM).
      Lukeyjohnno's Avatar
      Lukeyjohnno Lukeyjohnno is offline
      Hacker-In-Training ;)
         
        Join Date: Aug 2007
        Gender:
        Nature: Modest
        Posts: 76
        Quote:
        Originally Posted by Esmas View Post
        Alright, I've gotten a weird reaction from my ROM. When I inserted a simple XSE message script for a NPC (I've inserted them before, mind you) in my Ruby hack, it didn't work. I hit the A button (which is my space bar), and it continued walking around, as if the script was never inserted. It looks like the script was even compiled correctly.

        Then, I inserted the script into a clean Ruby ROM, and it worked. I tried everything I can; copied exactly the statistics of that sprite, etc. This is the script I used, though I don't think there's anything wrong with it...

        Spoiler:
        #Dynamic 0x800000

        #org @talk
        msgbox @talk2 0x2
        end

        #org @talk2
        = This is a message script test.
        Have you tried adding a LockPlayer script?
        __________________
        Banner Created By Me

        Hacks I Support
        Spoiler:
        My Hack

          #7904    
        Old January 18th, 2009 (9:52 AM).
        Medo0 Medo0 is offline
           
          Join Date: Jan 2009
          Posts: 53
          Quote:
          Originally Posted by Lukeyjohnno View Post
          Sorry, no I don't. I don't use Poketscript. I only XSE script.
          that's not PS Script it's a Compiled XSE
          BTW : do you know where to get scripts?
            #7905    
          Old January 18th, 2009 (9:54 AM).
          Lukeyjohnno's Avatar
          Lukeyjohnno Lukeyjohnno is offline
          Hacker-In-Training ;)
             
            Join Date: Aug 2007
            Gender:
            Nature: Modest
            Posts: 76
            Quote:
            Originally Posted by Medo0 View Post
            that's not PS Script it's a Compiled XSE
            BTW : do you know where to get scripts?
            Oh. No I don't.
            But if you want tutorials look on the Pokecommunity.
            __________________
            Banner Created By Me

            Hacks I Support
            Spoiler:
            My Hack

              #7906    
            Old January 18th, 2009 (10:40 AM).
            TB Pro's Avatar
            TB Pro TB Pro is offline
            Old-timer
               
              Join Date: Nov 2004
              Location: Midwestern USA
              Age: 22
              Gender: Male
              Posts: 2,739
              Quote:
              Originally Posted by Esmas View Post
              Alright, I've gotten a weird reaction from my ROM. When I inserted a simple XSE message script for a NPC (I've inserted them before, mind you) in my Ruby hack, it didn't work. I hit the A button (which is my space bar), and it continued walking around, as if the script was never inserted. It looks like the script was even compiled correctly.

              Then, I inserted the script into a clean Ruby ROM, and it worked. I tried everything I can; copied exactly the statistics of that sprite, etc. This is the script I used, though I don't think there's anything wrong with it...

              Spoiler:
              #Dynamic 0x800000

              #org @talk
              msgbox @talk2 0x2
              end

              #org @talk2
              = This is a message script test.
              Have you tried decompiling it? That's happened to me before, and there was nothing on the script just #ORG @blah then release and end. Also, was the NPC already there? Or did you add him? If he was already there, try removing him, and adding a new NPC. Also, try adding lock, boxset 2 only does faceplayer

              Quote:
              Originally Posted by Lukeyjohnno View Post
              Have you tried adding a LockPlayer script?
              There is no such thing as a lockplayer script, or a command for that matter. There is lock, which locks the NPC's. There's lockall, which locks everything including the player, and the camera.
              __________________
              --I'm a creepin'..
                #7907    
              Old January 18th, 2009 (10:52 AM).
              Lukeyjohnno's Avatar
              Lukeyjohnno Lukeyjohnno is offline
              Hacker-In-Training ;)
                 
                Join Date: Aug 2007
                Gender:
                Nature: Modest
                Posts: 76
                Quote:
                Originally Posted by iPro. View Post
                Have you tried decompiling it? That's happened to me before, and there was nothing on the script just #ORG @blah then release and end. Also, was the NPC already there? Or did you add him? If he was already there, try removing him, and adding a new NPC. Also, try adding lock, boxset 2 only does faceplayer :P

                There is no such thing as a lockplayer script, or a command for that matter. There is lock, which locks the NPC's. There's lockall, which locks everything including the player, and the camera.
                Yes there is!
                I meant to say Lock, not LockPlayer.
                __________________
                Banner Created By Me

                Hacks I Support
                Spoiler:
                My Hack

                  #7908    
                Old January 18th, 2009 (11:41 AM).
                Cy-Chan's Avatar
                Cy-Chan Cy-Chan is offline
                GSC Hacker
                   
                  Join Date: Jan 2005
                  Location: UK, England.
                  Age: 25
                  Gender:
                  Nature: Timid
                  Posts: 152
                  Send a message via Windows Live Messenger to Cy-Chan
                  Quote:
                  Originally Posted by Cy-Chan View Post
                  Can anyone shed some light on how the learnable move tutor moves are coded in FireRed? I presumed they'd be in the format of TMs/HMs, a series of binary switches, but I tested that theory, and it didn't pan out (IE: no, no they are not).

                  Anyone know how to say, change Bulbasaur to be able to learn Mega Kick?
                  Quoted for emphasis.

                  Man, it'd be really cool if people who need script help checked out the scripting help thread.
                    #7909    
                  Old January 18th, 2009 (12:32 PM).
                  TB Pro's Avatar
                  TB Pro TB Pro is offline
                  Old-timer
                     
                    Join Date: Nov 2004
                    Location: Midwestern USA
                    Age: 22
                    Gender: Male
                    Posts: 2,739
                    Okay, I put some trees on a mountain with the movement permission of 10, and I walk OVER the treetops, even though the background byte is set to 00. It works on C ground, but not there. Is this just bound to happen, or is there some way I can prevent it?
                    __________________
                    --I'm a creepin'..
                      #7910    
                    Old January 18th, 2009 (2:05 PM).
                    Thrace's Avatar
                    Thrace Thrace is offline
                    @tion
                    • Gold Tier
                     
                    Join Date: Jun 2007
                    Age: 26
                    Gender: Male
                    Posts: 1,048
                    Quote:
                    Originally Posted by Cy-Chan View Post
                    Quoted for emphasis.
                    Man, it'd be really cool if people who need script help checked out the scripting help thread.
                    The data starts at 459B60 for FR and 459580 for LG. Its just the hex numbers of the attacks. The compatibility is either before or after that data I can't remember which. It'll be a hex number like 9201, just put it in the calculator and convert to binary. It's just a bunch of binary switches.

                    Quote:
                    Originally Posted by iPro. View Post
                    Okay, I put some trees on a mountain with the movement permission of 10, and I walk OVER the treetops, even though the background byte is set to 00. It works on C ground, but not there. Is this just bound to happen, or is there some way I can prevent it?
                    You can't unfortunately you'll just have to arrange it so that there is C on the tree tops. It should be possible in a lot of cases.
                    __________________
                      #7911    
                    Old January 18th, 2009 (6:41 PM). Edited January 18th, 2009 by Dasrein.
                    Dasrein's Avatar
                    Dasrein Dasrein is offline
                    Pocket Developer
                       
                      Join Date: Jan 2009
                      Location: Florida
                      Gender:
                      Nature: Relaxed
                      Posts: 4
                      How do you start from scratch when editing a ROM?
                      Like for example I'm editing a Fire Red ROM and I want the player to start out with his running shoes, pokedex, etc. and I want every aspect of the game to be changed, storyline, gyms, progression...
                      So how?
                      Thanks
                        #7912    
                      Old January 18th, 2009 (8:13 PM).
                      TB Pro's Avatar
                      TB Pro TB Pro is offline
                      Old-timer
                         
                        Join Date: Nov 2004
                        Location: Midwestern USA
                        Age: 22
                        Gender: Male
                        Posts: 2,739
                        Quote:
                        Originally Posted by Dasrein View Post
                        How do you start from scratch when editing a ROM?
                        Like for example I'm editing a Fire Red ROM and I want the player to start out with his running shoes, pokedex, etc. and I want every aspect of the game to be changed, storyline, gyms, progression...
                        So how?
                        Thanks
                        Well, there are many things you have to do. Start with reading some tutorials on scripting and mapping, and get the tools required with each. You can go from there.
                        __________________
                        --I'm a creepin'..
                          #7913    
                        Old January 18th, 2009 (8:23 PM).
                        Dasrein's Avatar
                        Dasrein Dasrein is offline
                        Pocket Developer
                           
                          Join Date: Jan 2009
                          Location: Florida
                          Gender:
                          Nature: Relaxed
                          Posts: 4
                          Quote:
                          Originally Posted by iPro. View Post
                          Well, there are many things you have to do. Start with reading some tutorials on scripting and mapping, and get the tools required with each. You can go from there.
                          I've already looked at tutorials, otherwise I would not be asking this question.


                          Edit: Off-Topic to my question, but why do I not see a "Compile" option when I right click. I've already installed Pokescript.
                            #7914    
                          Old January 18th, 2009 (10:24 PM).
                          TB Pro's Avatar
                          TB Pro TB Pro is offline
                          Old-timer
                             
                            Join Date: Nov 2004
                            Location: Midwestern USA
                            Age: 22
                            Gender: Male
                            Posts: 2,739
                            Quote:
                            Originally Posted by Dasrein View Post
                            I've already looked at tutorials, otherwise I would not be asking this question.


                            Edit: Off-Topic to my question, but why do I not see a "Compile" option when I right click. I've already installed Pokescript.
                            Well, you need to read them better, I guess. Did you save it as [Script].rbc?

                            ---

                            I have a major tile problem. I expended the tileset, then inserted some tiles/edited palettes. I block edited, and the behaviour byte and background byte are random. When I open in in VBA, it looks like this:
                            I edit the Behaviour and background bytes to normal(00 00), and test again. Now the tiles I fixed are alright, but other tiles have the same problem. I have no idea why this is happening. Is it because I expanded the tileset? Please help if ya can~
                            __________________
                            --I'm a creepin'..
                              #7915    
                            Old January 19th, 2009 (2:10 AM).
                            Thrace's Avatar
                            Thrace Thrace is offline
                            @tion
                            • Gold Tier
                             
                            Join Date: Jun 2007
                            Age: 26
                            Gender: Male
                            Posts: 1,048
                            Quote:
                            Originally Posted by iPro. View Post
                            Well, you need to read them better, I guess. Did you save it as [Script].rbc?

                            ---

                            I have a major tile problem. I expended the tileset, then inserted some tiles/edited palettes. I block edited, and the behaviour byte and background byte are random. When I open in in VBA, it looks like this:
                            I edit the Behaviour and background bytes to normal(00 00), and test again. Now the tiles I fixed are alright, but other tiles have the same problem. I have no idea why this is happening. Is it because I expanded the tileset? Please help if ya can~
                            A-Map sometimes repoints to places that don't have enough free space. There is an option to disable automatic searching for offsets in A-Map. Find a place with plenty of space and repoint it there.
                            __________________
                              #7916    
                            Old January 19th, 2009 (7:27 AM).
                            Xela's Avatar
                            Xela Xela is offline
                            Do you believe in yourself?
                            • Gold Tier
                             
                            Join Date: Feb 2008
                            Posts: 349
                            Firered just to say it!

                            I don't know if this is a simple question and i have tried to search too. When i make a warp script, i want to warp to a new map and the number is 3.66, 1 more than 65 which is the normal amount in advanced map because i inserted a new map but a black screen comes and nothing else when i try, every map else works fine without the new created ones? Whats wrong? How do i fix this?
                            __________________
                              #7917    
                            Old January 19th, 2009 (7:38 AM). Edited January 19th, 2009 by Jerros.
                            Jerros's Avatar
                            Jerros Jerros is offline
                            TloS FTW!!!
                               
                              Join Date: Feb 2008
                              Location: Alkmaar, Netherlands
                              Age: 25
                              Gender:
                              Nature: Quiet
                              Posts: 72
                              Can someone give me the unLZ numbers for the Badges in Emerald?
                              I know there is a topic here about that, but they only give the number of the Battle Frontier Symbols (2525), not the regular Badges...

                              And is there a way/tool to really edit the funcions of items?
                              Like, can I make a Focus Sash or that kind of stuff in Emerald?

                              Also, how can I edit the Trainer Battle intro? (Pokémon emerald)
                              I want to edit the big "Team Aqua sign" that flashes when you battle a Team Aqua member.
                              I mean the logo that flashes right before you start the Trainer Battle.
                              Is it editable in unLZ? If so, what is the number? I've searched unLz a coupl of times already, but I can't seem to find the logo...
                              __________________
                                #7918    
                              Old January 19th, 2009 (7:41 AM).
                              Xela's Avatar
                              Xela Xela is offline
                              Do you believe in yourself?
                              • Gold Tier
                               
                              Join Date: Feb 2008
                              Posts: 349
                              Quote:
                              Originally Posted by Jerros View Post
                              Can someone give me the unLZ numbers for the Badges in Emerald?
                              I know there is a topic here about that, but they only give the number of the Battle Frontier Symbols (2525), not the regular Badges...

                              Also, how can I edit the Trainer Battle intro? (Pokémon emerald)
                              I want to edit the big "Team Aqua sign" that flashes when you battle a Team Aqua member.
                              I mean the logo that flashes right before you start the Trainer Battle.
                              Is it editable in unLZ? If so, what is the number? I've searched unLz a coupl of times already, but I can't seem to find the logo...
                              I do not think the Aqua sign in Emerald is editable, even though, you would need to be a very advanced hacker to do that, but with a little luck you may find it. I would say hack Ruby istead of emerald, so much easier!
                              __________________
                                #7919    
                              Old January 19th, 2009 (7:45 AM).
                              Jerros's Avatar
                              Jerros Jerros is offline
                              TloS FTW!!!
                                 
                                Join Date: Feb 2008
                                Location: Alkmaar, Netherlands
                                Age: 25
                                Gender:
                                Nature: Quiet
                                Posts: 72
                                Quote:
                                Originally Posted by AlexAhnon View Post
                                Firered just to say it!

                                I don't know if this is a simple question and i have tried to search too. When i make a warp script, i want to warp to a new map and the number is 3.66, 1 more than 65 which is the normal amount in advanced map because i inserted a new map but a black screen comes and nothing else when i try, every map else works fine without the new created ones? Whats wrong? How do i fix this?

                                Have you editted the map size of your 3.66 map?
                                If so, try to re-insert the map.
                                Sometimes, making a map smaller can fk it up ;P

                                Try re-inserting the map anyway, or in a different location.
                                It might help.
                                __________________
                                  #7920    
                                Old January 19th, 2009 (8:26 AM).
                                Xela's Avatar
                                Xela Xela is offline
                                Do you believe in yourself?
                                • Gold Tier
                                 
                                Join Date: Feb 2008
                                Posts: 349
                                Quote:
                                Originally Posted by Jerros View Post
                                Have you editted the map size of your 3.66 map?
                                If so, try to re-insert the map.
                                Sometimes, making a map smaller can fk it up ;P

                                Try re-inserting the map anyway, or in a different location.
                                It might help.
                                Making smaller and try to re-inserting don't work, just tested it, but so far i think i just replace another map with it.
                                __________________
                                  #7921    
                                Old January 19th, 2009 (8:38 AM).
                                Lukeyjohnno's Avatar
                                Lukeyjohnno Lukeyjohnno is offline
                                Hacker-In-Training ;)
                                   
                                  Join Date: Aug 2007
                                  Gender:
                                  Nature: Modest
                                  Posts: 76
                                  DOes anyone know Firered's offest for Pokecry? (BPRE FireRed US)
                                  The one that goes here:


                                  Thanks for any help given...
                                  __________________
                                  Banner Created By Me

                                  Hacks I Support
                                  Spoiler:
                                  My Hack

                                    #7922    
                                  Old January 19th, 2009 (9:15 AM).
                                  Dasrein's Avatar
                                  Dasrein Dasrein is offline
                                  Pocket Developer
                                     
                                    Join Date: Jan 2009
                                    Location: Florida
                                    Gender:
                                    Nature: Relaxed
                                    Posts: 4
                                    Quote:
                                    Originally Posted by iPro. View Post
                                    Well, you need to read them better, I guess. Did you save it as [Script].rbc?
                                    Yes, I did. Please, someone give me a solution longer than one sentence and two brain cells.
                                      #7923    
                                    Old January 19th, 2009 (10:01 AM).
                                    TB Pro's Avatar
                                    TB Pro TB Pro is offline
                                    Old-timer
                                       
                                      Join Date: Nov 2004
                                      Location: Midwestern USA
                                      Age: 22
                                      Gender: Male
                                      Posts: 2,739
                                      Quote:
                                      Originally Posted by Dasrein View Post
                                      Yes, I did. Please, someone give me a solution longer than one sentence and two brain cells.
                                      Alright, that's cool. You just be hatin' on me, that's a'ight. For your scripting problem, you may want to try XSE, it has a really easy compile function, that is built into the program itself. It also has a lot of extras, making it, IMO, a better scripting program than Pokescript. As for your other problem, there's nothing you can do but read tuts. Anybody here will tell you that. Don't go around insulting people that are trying to help you. Have a nice day
                                      __________________
                                      --I'm a creepin'..
                                        #7924    
                                      Old January 19th, 2009 (12:02 PM).
                                      mushtool mushtool is offline
                                         
                                        Join Date: Jan 2009
                                        Gender:
                                        Posts: 3
                                        Thanks, this will make things better
                                          #7925    
                                        Old January 19th, 2009 (12:20 PM). Edited January 19th, 2009 by Andryandrew.
                                        Andryandrew Andryandrew is offline
                                        Italian Asm Hacker
                                           
                                          Join Date: Mar 2007
                                          Age: 23
                                          Gender:
                                          Nature: Timid
                                          Posts: 117
                                          Quote:
                                          Originally Posted by AlexAhnon View Post
                                          Firered just to say it!

                                          I don't know if this is a simple question and i have tried to search too. When i make a warp script, i want to warp to a new map and the number is 3.66, 1 more than 65 which is the normal amount in advanced map because i inserted a new map but a black screen comes and nothing else when i try, every map else works fine without the new created ones? Whats wrong? How do i fix this?
                                          maybe you've made a common mistake... in a script, the command for warp in your case is:
                                          warp 0x3 66 (NOT 0x66) ... ... ...
                                          in fact 0x66 means 66 in Hex, 66 instead means 66 in decimal (like A.Map's map you've inserted)

                                          Quote:
                                          Originally Posted by iPro. View Post
                                          Alright, that's cool. You just be hatin' on me, that's a'ight. For your scripting problem, you may want to try XSE, it has a really easy compile function, that is built into the program itself. It also has a lot of extras, making it, IMO, a better scripting program than Pokescript. As for your other problem, there's nothing you can do but read tuts. Anybody here will tell you that. Don't go around insulting people that are trying to help you. Have a nice day
                                          I quote with you... XSE is definetly the best
                                          __________________

                                          Sorry for my bad English... I'm Italian
                                          Anybody that is a GBA ASM hacker is cool!
                                          I'm a GBA ASM hacker --> I'm cool :D

                                          Made Day-Night Routine! You can find the thread HERE
                                          Closed Thread
                                          Quick Reply

                                          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 5:46 PM.