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

Draconius GO
Closed Thread
 
Thread Tools
  #25376    
Old June 3rd, 2013 (3:49 AM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
     
    Join Date: Dec 2008
    Posts: 300
    Quote:
    Originally Posted by robin22gongon View Post
    Hmmm.... Okay.

    So how about this one?

    Does something like this exist in a clean FR ROM?
    Code:
    applymovement MOVE_CAMERA @offset
    I was digging up Chaos Rush's Hack; DarkViolet and I came across it. I'm confused if it exists in the game itself because if not, XSE's not going to accept it right? (Or just replace it with nop right?)
    XSE will accept it. it needs a special 0x113 or something before the command and another special after the command. Just make sure to return the camera to the centre of the hero.

    The commands can come from clean ruby roms as well remember.

    Relevant Advertising!

      #25377    
    Old June 3rd, 2013 (3:52 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 robin22gongon View Post
      Hmmm.... Okay.

      So how about this one?

      Does something like this exist in a clean FR ROM?
      Code:
      applymovement MOVE_CAMERA @offset
      I was digging up Chaos Rush's Hack; DarkViolet and I came across it. I'm confused if it exists in the game itself because if not, XSE's not going to accept it right? (Or just replace it with nop right?)
      You know how the player is 0xFF? The camera can be moved using 0x7F.
      __________________

      Paired with Simba
        #25378    
      Old June 3rd, 2013 (4:03 AM).
      Elaitenstile's Avatar
      Elaitenstile Elaitenstile is offline
      I am legend
         
        Join Date: Feb 2013
        Posts: 1,909
        Quote:
        Originally Posted by karatekid552 View Post
        Oh, oh, oh. That would require a little ASM to check if the "b" button is pressed on the screen and to go back to the selection screen.
        Rather than ASM, is it possible to modify the script to use multichoice number 1 (Yes/No, commonly used in the Pokémon Center) instead of yesnobox or msg_yesno or whatever? Then I can make a new compare 0x7F statement to go back to the previous script offset.
        __________________
        ~
          #25379    
        Old June 3rd, 2013 (4:08 AM).
        BlackWhiteRobin's Avatar
        BlackWhiteRobin BlackWhiteRobin is offline
           
          Join Date: Sep 2012
          Age: 19
          Gender: Male
          Nature: Quirky
          Posts: 539
          Quote:
          Originally Posted by karatekid552 View Post
          You know how the player is 0xFF? The camera can be moved using 0x7F.
          So I wont need something like custom ASM, custom special or anything like he said?

          Quote:
          Originally Posted by kearnseyboy6 View Post
          XSE will accept it. it needs a special 0x113 or something before the command and another special after the command. Just make sure to return the camera to the centre of the hero.

          The commands can come from clean ruby roms as well remember.
          __________________

            #25380    
          Old June 3rd, 2013 (4:41 AM). Edited June 3rd, 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 robin22gongon View Post
            So I wont need something like custom ASM, custom special or anything like he said?
            Nope, just a regular applymovement script.

            Quote:
            Originally Posted by ★Hoenn★ View Post
            Rather than ASM, is it possible to modify the script to use multichoice number 1 (Yes/No, commonly used in the Pokémon Center) instead of yesnobox or msg_yesno or whatever? Then I can make a new compare 0x7F statement to go back to the previous script offset.
            You could, if the intro was a script. As far as I know, the intro is ASM that calls scripting commmands by their routines or it is a routine that calls short scripts.
            __________________

            Paired with Simba
              #25381    
            Old June 3rd, 2013 (6:54 AM).
            buckeyestilidie buckeyestilidie is offline
               
              Join Date: May 2013
              Gender: Male
              Posts: 34
              Okay so I put in a script that gave my player the aurora ticket and mystery ticket. I've been reading that you have to enter cheat codes to get them to work. I was really hoping that isn't the only way to get them to work as I've worked them around a center axis in my story line. Thanks everyone also for the great help I've gotten here!
                #25382    
              Old June 3rd, 2013 (7:51 AM).
              nekotina's Avatar
              nekotina nekotina is offline
                 
                Join Date: Mar 2012
                Gender: Female
                Posts: 26
                Quote:
                Originally Posted by gogojjtech View Post
                You probably don't have administrative rights.
                I'm the only user on my computer :/ is there a way to check for that?

                EDIT: I just checked and I am the administrator one my computer...
                  #25383    
                Old June 3rd, 2013 (8:45 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 buckeyestilidie View Post
                  Okay so I put in a script that gave my player the aurora ticket and mystery ticket. I've been reading that you have to enter cheat codes to get them to work. I was really hoping that isn't the only way to get them to work as I've worked them around a center axis in my story line. Thanks everyone also for the great help I've gotten here!
                  You just need to clear/set a flag (I can't remember which). Look through the flag lists in my flags, vars, and script tiles tutorial and you should find how to deal with them.
                  __________________

                  Paired with Simba
                    #25384    
                  Old June 3rd, 2013 (9:24 AM).
                  kablam kablam is offline
                     
                    Join Date: May 2013
                    Gender: Male
                    Posts: 21
                    Can you use the same person ID for multiple people? For example, if I wanted to make multiple people disappear at once could I use the same flag to hide/show them?
                      #25385    
                    Old June 3rd, 2013 (11:12 AM).
                    TweenyTodd TweenyTodd is offline
                    Quitting cuz i got a job
                       
                      Join Date: Feb 2013
                      Location: NOYB
                      Nature: Sassy
                      Posts: 95
                      Quote:
                      Originally Posted by kablam View Post
                      Can you use the same person ID for multiple people? For example, if I wanted to make multiple people disappear at once could I use the same flag to hide/show them?
                      Definitely yes. I've done this multiple times.
                        #25386    
                      Old June 3rd, 2013 (11:17 AM).
                      GoGoJJTech's Avatar
                      GoGoJJTech GoGoJJTech is offline
                      (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                      • Gold Tier
                       
                      Join Date: Nov 2012
                      Location: Earth
                      Age: 19
                      Gender: Female
                      Nature: Jolly
                      Posts: 2,477
                      Yes, thats why multiple people disappear in one script.
                      __________________
                      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
                        #25387    
                      Old June 3rd, 2013 (1:14 PM).
                      buckeyestilidie buckeyestilidie is offline
                         
                        Join Date: May 2013
                        Gender: Male
                        Posts: 34
                        Quote:
                        Originally Posted by karatekid552 View Post
                        You just need to clear/set a flag (I can't remember which). Look through the flag lists in my flags, vars, and script tiles tutorial and you should find how to deal with them.
                        What do you mean by these?

                        If Flags 0x84A and 0x84B are cleared, the Vermilion City dockworker won't even bother checking for the MysticTicket and AuroraTicket, respectively. You won't be able to use them. I don't know what sets or clears these flags.
                          #25388    
                        Old June 3rd, 2013 (6:02 PM).
                        kearnseyboy6's Avatar
                        kearnseyboy6 kearnseyboy6 is offline
                        Aussie's Toughest Mudder
                           
                          Join Date: Dec 2008
                          Posts: 300
                          Quote:
                          Originally Posted by robin22gongon View Post
                          So I wont need something like custom ASM, custom special or anything like he said?
                          Actually if you want the screen to freeze you need these specials.

                          camera control commands
                          111 elevator scene + small animation
                          113 freeze screen, but only on scripts, not on signposts or people. Call again to unfreeze
                          114 unfreeze screen\camera. Works on all surfaces
                          11F returns to a variable the facing you had when activating the event
                            #25389    
                          Old June 3rd, 2013 (6:11 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 buckeyestilidie View Post
                            What do you mean by these?

                            If Flags 0x84A and 0x84B are cleared, the Vermilion City dockworker won't even bother checking for the MysticTicket and AuroraTicket, respectively. You won't be able to use them. I don't know what sets or clears these flags.
                            It means that if those flags are not set, the Vermilian sailer script won't branch off and check if you have the items.
                            __________________

                            Paired with Simba
                              #25390    
                            Old June 3rd, 2013 (6:37 PM).
                            BlackWhiteRobin's Avatar
                            BlackWhiteRobin BlackWhiteRobin is offline
                               
                              Join Date: Sep 2012
                              Age: 19
                              Gender: Male
                              Nature: Quirky
                              Posts: 539
                              Quote:
                              Originally Posted by kearnseyboy6 View Post
                              Actually if you want the screen to freeze you need these specials.

                              camera control commands
                              111 elevator scene + small animation
                              113 freeze screen, but only on scripts, not on signposts or people. Call again to unfreeze
                              114 unfreeze screen\camera. Works on all surfaces
                              11F returns to a variable the facing you had when activating the event
                              Are those custom specials that Chaos Rush added to the specials table or are they built in-game?
                              __________________

                                #25391    
                              Old June 3rd, 2013 (7:42 PM). Edited June 3rd, 2013 by Zemekis.
                              Zemekis's Avatar
                              Zemekis Zemekis is offline
                              The Booze Cruise
                                 
                                Join Date: Feb 2013
                                Location: 'Murica
                                Gender: Male
                                Posts: 22
                                Hi everyone, I already asked this over in the Script Help thread, but I figure this might be simple enough for someone to help me here as well. I just need this one last thing to work before I can start my romhack in full.

                                Can anybody tell me why my Script Event tile isn't running (see attached image), I've read all the threads I can find about Var numbers, Values, Unknown, and flags, but I still can't get it to run when I step on it. Either nothing happens or the game freezes. Could somebody give me the proper values to put in my Var fields and Unknown field to get this thing running when I step on it? Spent 8+ hours on this tile already and it's no good so far.

                                Thanks!!!
                                Attached Images
                                File Type: png Shake_And_Bake.png‎ (168.5 KB, 7 views) (Save to Dropbox)
                                  #25392    
                                Old June 3rd, 2013 (7:50 PM).
                                BlackWhiteRobin's Avatar
                                BlackWhiteRobin BlackWhiteRobin is offline
                                   
                                  Join Date: Sep 2012
                                  Age: 19
                                  Gender: Male
                                  Nature: Quirky
                                  Posts: 539
                                  Quote:
                                  Originally Posted by Zemekis View Post
                                  Hi everyone, I already asked this over in the Script Help thread, but I figure this might be simple enough for someone to help me here as well. I just need this one last thing to work before I can start my romhack in full.

                                  Can anybody tell me why my Script Event tile isn't running (see attached image), I've read all the threads I can find about Var numbers, Values, Unknown, and flags, but I still can't get it to run when I step on it. Either nothing happens or the game freezes. Could somebody give me the proper values to put in my Var fields and Unknown field to get this thing running when I step on it? Spent 8+ hours on this tile already and it's no good so far.

                                  Thanks!!!
                                  Please for the love of humanity, use the search bar. Hahah joking! Go here!

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

                                    #25393    
                                  Old June 3rd, 2013 (8:03 PM).
                                  Zemekis's Avatar
                                  Zemekis Zemekis is offline
                                  The Booze Cruise
                                     
                                    Join Date: Feb 2013
                                    Location: 'Murica
                                    Gender: Male
                                    Posts: 22
                                    Quote:
                                    Originally Posted by robin22gongon View Post
                                    Please for the love of humanity, use the search bar. Hahah joking! Go here!

                                    http://www.pokecommunity.com/showthread.php?t=302347
                                    Quote:
                                    Originally Posted by Zemekis View Post
                                    I've read all the threads I can find about Var numbers, Values, Unknown, and flags, but I still can't get it to run
                                    I've read that at least 5 times already, I just need somebody to tell me directly how to do it once and then i'll be able to do it myself in the future.
                                      #25394    
                                    Old June 3rd, 2013 (8:11 PM). Edited June 5th, 2013 by BlackWhiteRobin.
                                    BlackWhiteRobin's Avatar
                                    BlackWhiteRobin BlackWhiteRobin is offline
                                       
                                      Join Date: Sep 2012
                                      Age: 19
                                      Gender: Male
                                      Nature: Quirky
                                      Posts: 539
                                      Quote:
                                      Originally Posted by Zemekis View Post
                                      I've read that at least 5 times already, I just need somebody to tell me directly how to do it once and then i'll be able to do it myself in the future.
                                      Okay. So ummm.... Maybe you were just reading it and NOT understanding it.

                                      Well here.

                                      I'll explain.

                                      Spoiler:
                                      Script Tiles

                                      This is probably the most confusing thing for a beginner: how to use those green s-tiles in A-map.

                                      Essentially, these tiles will activate the script, which you put in the Script Offset box in the settings, when stepped on. However, it isn't that simple. Look at the picture below:

                                      Spoiler:



                                      You will notice that I circled the boxes for "Var Number" and "Var Value". These are pretty cool. What they allow you to do is prevent a script from running again. As we learned above, vars can be any value up to a little over 65,000. So, what do these have to do with a script running? Well, it is quite simple:

                                      The script will run, if and only if, the var in the box is equal to the value


                                      So, let's say you put the var 0x4050 in the space for a var and 0 in the space for the value. Can you guess what happens? If you said that the script will only run if the var 0x4050 is 0, then you are correct.

                                      Even if you want the script to run every time you step on it, you have to provide a valid var. If you leave the var space blank or at 0, then the script won't run. Just make sure that nothing else changes the var and you will be good.

                                      Now, if you only want your script to run the first time you step on it, or to not run again, just add this line to the end of your script:

                                      Code:
                                      setvar 0x[valid var] 0x[another number other than the one in the value box]
                                      (Remember, all vars that haven't ever been used will be at 0 to begin with.)

                                      So, if we take the situation above where we had the var as 0x4050 and the value at 0 and we don't want the script to run again, simply add this to the end of your script:

                                      Code:
                                      setvar 0x4050 0x1
                                      Make sense?

                                      Now, one last thing: the Unknown. As you can see in the image, the Unknown is set to 0003. This is not necessary. I almost never use it, but most people do use it simply for continuity. It is something that Game Freak, or their compiler for that matter, inserted that has no real purpose that has been identified. It is simply a constant whose use is just personal preference.


                                      Simpler Words:

                                      Create a Script Tile Event.
                                      Assign a script to it by putting the offset of your script in the "Script Offset".
                                      Fill out the "Unknown" Box with 0003.
                                      Fill out the "Var Number" Box with 4050.
                                      Save.
                                      Test it.
                                      It works now doesn't it?

                                      Note: Nobody would've read that 5 times and yet not understand it. (Well, unless you don't know how to read English well, know English grammar well, don't know some spelling etc.)
                                      __________________

                                        #25395    
                                      Old June 3rd, 2013 (8:26 PM).
                                      Cold Ivory's Avatar
                                      Cold Ivory Cold Ivory is offline
                                         
                                        Join Date: Mar 2011
                                        Gender: Male
                                        Nature: Mild
                                        Posts: 30
                                        Putting this here again, with elaboration.
                                        Quote:
                                        Originally Posted by Cold Ivory View Post
                                        I have a new error arising in my hack - I removed the truck animation at the beginning of Emerald, but now when I warp out of the truck (or any starting map), the rom's framerate is severely decreased. Text runs normally, but walking and background animations are something like quarter speed.

                                        Trying to locate the source of the problem so far has been erratic and fruitless; putting any sort of level script in the warped-to map seems to fix the problem on a given map, but as soon as I enter a map which has no level scripts again, everything slows down. My previous emerald hacking never had this problem.
                                        Thoughts?
                                          #25396    
                                        Old June 3rd, 2013 (8:30 PM).
                                        Zemekis's Avatar
                                        Zemekis Zemekis is offline
                                        The Booze Cruise
                                           
                                          Join Date: Feb 2013
                                          Location: 'Murica
                                          Gender: Male
                                          Posts: 22
                                          Quote:
                                          Originally Posted by robin22gongon View Post
                                          Simpler Words:

                                          Create a Script Tile Event.
                                          Assign a script to it by putting the offset of your script in the "Script Offset".
                                          Fill out the "Unknown" Box with 0003.
                                          Fill out the "Var Number" Box with 4050.
                                          Save.
                                          Test it.
                                          It works now doesn't it?

                                          Note: Nobody would've read that 5 times and yet not understand it. (Well, unless you don't know how to read, grammar, spelling etc.)
                                          Nah, I swear I read it 5 times. The issue was I just wasn't understanding it with it all drawn out like that. Yepp, It worked the way you said. What was confusing me was how it said the "var number and var value must match for the script to run"...so I would try to put 4050 in BOTH the value and number fields, ya know, to make them match. Idk how that made sense to everybody but me after so many hours...but yes, that DID work for me and I owe you big time. I apologize for absolutely dropping the ball on this one, but i've got it now and will get out of your hair now. Again, I swear I read it over and over...that one part just tripped me up.
                                            #25397    
                                          Old June 3rd, 2013 (8:31 PM).
                                          BlackWhiteRobin's Avatar
                                          BlackWhiteRobin BlackWhiteRobin is offline
                                             
                                            Join Date: Sep 2012
                                            Age: 19
                                            Gender: Male
                                            Nature: Quirky
                                            Posts: 539
                                            Quote:
                                            Originally Posted by Cold Ivory View Post
                                            Putting this here again, with elaboration.
                                            Are you sure it's not your emulator?
                                            __________________

                                              #25398    
                                            Old June 3rd, 2013 (8:33 PM).
                                            kearnseyboy6's Avatar
                                            kearnseyboy6 kearnseyboy6 is offline
                                            Aussie's Toughest Mudder
                                               
                                              Join Date: Dec 2008
                                              Posts: 300
                                              Quote:
                                              Originally Posted by robin22gongon View Post
                                              Okay. So ummm.... Maybe you were just reading it and NOT understanding it.

                                              Well here.

                                              I'll explain.

                                              Simpler Words:

                                              Create a Script Tile Event.
                                              Assign a script to it by putting the offset of your script in the "Script Offset".
                                              Fill out the "Unknown" Box with 0003.
                                              Fill out the "Var Number" Box with 4050.
                                              Save.
                                              Test it.
                                              It works now doesn't it?

                                              Note: Nobody would've read that 5 times and yet not understand it. (Well, unless you don't know how to read, grammar, spelling etc.)
                                              Firstly, no need to offend his grammar, reading and spelling skills. It's just plain rude.

                                              Secondly if you looked at his attachment, the picture looks perfect. The error lies within the script or variable.

                                              Thirdly Unknown does not have to be set as 03, this is a convention used by gamefreak and does can be left as 00 00.

                                              @Zemekis, try a new variable, you may have used this before. In Karatekid552's tut the variable 0x4050 is used,

                                              4050 Unknown or multi-use.
                                              Set to 0x1 after the "Don't go out yet!" OAK Script event.
                                              Set to 0x2 during the Hall of Fame room level script, if the National Dex is NOT already unlocked.
                                              Set to 0x3 after OAK's chat with the player in PALLET TOWN after beating the E4.

                                              As you can see if you have activated the first script in PALLET TOWN, the variable would have set to 1.

                                              I would look at the vars in this tut and try one that hasn't been used. Try 4027, I am using this variable in my hack and this works.
                                                #25399    
                                              Old June 3rd, 2013 (8:39 PM).
                                              Zemekis's Avatar
                                              Zemekis Zemekis is offline
                                              The Booze Cruise
                                                 
                                                Join Date: Feb 2013
                                                Location: 'Murica
                                                Gender: Male
                                                Posts: 22
                                                Quote:
                                                Originally Posted by kearnseyboy6 View Post
                                                Firstly, no need to offend his grammar, reading and spelling skills. It's just plain rude.

                                                Secondly if you looked at his attachment, the picture looks perfect. The error lies within the script or variable.

                                                Thirdly Unknown does not have to be set as 03, this is a convention used by gamefreak and does can be left as 00 00.

                                                @Zemekis, try a new variable, you may have used this before. In Karatekid552's tut the variable 0x4050 is used,

                                                4050 Unknown or multi-use.
                                                Set to 0x1 after the "Don't go out yet!" OAK Script event.
                                                Set to 0x2 during the Hall of Fame room level script, if the National Dex is NOT already unlocked.
                                                Set to 0x3 after OAK's chat with the player in PALLET TOWN after beating the E4.

                                                As you can see if you have activated the first script in PALLET TOWN, the variable would have set to 1.

                                                I would look at the vars in this tut and try one that hasn't been used. Try 4027, I am using this variable in my hack and this works.
                                                Thanks Kearnsey,
                                                Yeah, that was a kinda rough way for him to answer my honest question, but he DID at least provide me with an answer so i've gotta give him credit for that.

                                                Your answer worked as well, so thanks for your input! Again, the wording in the tutorial just flew right over my head somehow and i'm sorry if my question was silly but i'm a total beginner with this stuff.
                                                  #25400    
                                                Old June 3rd, 2013 (8:40 PM).
                                                buckeyestilidie buckeyestilidie is offline
                                                   
                                                  Join Date: May 2013
                                                  Gender: Male
                                                  Posts: 34
                                                  Quote:
                                                  Originally Posted by karatekid552 View Post
                                                  It means that if those flags are not set, the Vermilian sailer script won't branch off and check if you have the items.
                                                  So it'd be

                                                  #include stditems.rbh

                                                  '---------------
                                                  #org 0x900000
                                                  lock
                                                  faceplayer
                                                  checkflag 0x084A
                                                  if 0x1 goto 0x8900029
                                                  msgbox 0x890004E MSG_YESNO '"Take this, you'll need it more\nth..."
                                                  compare LASTRESULT 0x1
                                                  if 0x1 goto 0x8900034
                                                  msgbox 0x8900077 MSG_NORMAL '"That's okay. I'm sure someone\nels..."
                                                  release
                                                  end

                                                  '---------------
                                                  #org 0x900029
                                                  msgbox 0x89000AB MSG_NORMAL '"Adios amigos."
                                                  release
                                                  end

                                                  '---------------
                                                  #org 0x900034
                                                  giveitem ITEM_MYSTICTICKET 0x1 MSG_OBTAIN
                                                  msgbox 0x89000AB MSG_NORMAL '"Adios amigos."
                                                  setflag 0x084A
                                                  release
                                                  end

                                                  and then same for the other just 084B?
                                                  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 5:41 AM.