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
  #26351    
Old August 25th, 2013 (8:21 PM).
kearnseyboy6's Avatar
kearnseyboy6 kearnseyboy6 is offline
Aussie's Toughest Mudder
     
    Join Date: Dec 2008
    Posts: 300
    I'm trying to add day and night lights based on a setmaptile command, but when ever I step off the map the tiles reset until I walk back in.

    I know this is because of the loading of the tiles but is there a way to stop it, or just use tiles that are not visible when you enter a map?
    __________________
    HOLIDAYING CURRENTLY!!

    Relevant Advertising!

      #26352    
    Old August 26th, 2013 (2:04 AM).
    Charles Dupiau's Avatar
    Charles Dupiau Charles Dupiau is offline
    ROM HACKER
       
      Join Date: Jun 2013
      Location: France
      Gender: Male
      Nature: Timid
      Posts: 26
      I have problems with the connections on advance map. I made a bigger Lavaridge Town in height and width and I arranged its connection with Route 112 on BOTH maps but when I try out the city on VisualBoyAdvance, Lavaridge Town is connected to its border block and I can't fix it! I need help!
      __________________
      I'm a ROM hacker working on Pokémon Opal!
        #26353    
      Old August 26th, 2013 (2:10 AM).
      kearnseyboy6's Avatar
      kearnseyboy6 kearnseyboy6 is offline
      Aussie's Toughest Mudder
         
        Join Date: Dec 2008
        Posts: 300
        Quote:
        Originally Posted by Charles Dupiau View Post
        I have problems with the connections on advance map. I made a bigger Lavaridge Town in height and width and I arranged its connection with Route 112 on BOTH maps but when I try out the city on VisualBoyAdvance, Lavaridge Town is connected to its border block and I can't fix it! I need help!
        Sounds like if you just expanded the height and width without repointing the map then you have overwritten some other maps data, so this could be your problem. Try reinserting into free space and making sure both maps have the same connection.
          #26354    
        Old August 26th, 2013 (3:53 AM).
        kelewele_ kelewele_ is offline
           
          Join Date: May 2013
          Gender: Male
          Posts: 25
          gogojjtech found out a way to fix my problem , didnt even need vars

          anyhu, does anyone know a flag for when the player has beaten the league at least twice??
            #26355    
          Old August 26th, 2013 (4:29 AM).
          kearnseyboy6's Avatar
          kearnseyboy6 kearnseyboy6 is offline
          Aussie's Toughest Mudder
             
            Join Date: Dec 2008
            Posts: 300
            When I press Start, the text box in the bottom is glitched up and I have no idea how to find the image at all! Any tips?
            __________________
            HOLIDAYING CURRENTLY!!
              #26356    
            Old August 26th, 2013 (6:15 AM). Edited August 26th, 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 Charles Dupiau View Post
              I have problems with the connections on advance map. I made a bigger Lavaridge Town in height and width and I arranged its connection with Route 112 on BOTH maps but when I try out the city on VisualBoyAdvance, Lavaridge Town is connected to its border block and I can't fix it! I need help!
              Delete all map connections for both maps and try again, sometimes A-Map just needs a reboot with map connections.

              Quote:
              Originally Posted by kearnseyboy6 View Post
              When I press Start, the text box in the bottom is glitched up and I have no idea how to find the image at all! Any tips?
              Repoint the text. Search it in a clean rom, then find the pointer, then insert the text into the broken rom and change the pointer to match the new location.

              Quote:
              Originally Posted by gogojjtech View Post
              Two things:
              1. Flags 1 and 2 are NOWHERE near safe. Refer to Karatekid's tutorial on vars and flags.
              2. If you use a var, use 0 and 1, not 1 and 2. You can save space in the var if you use the first two numbers.
              If you read, this was just a quick example to show how it works. Granted, the flags aren't safe, but it was simply a basic example of how it worked, and not something to be used in game.
              __________________

              Paired with Simba
                #26357    
              Old August 26th, 2013 (6:55 AM).
              awipe1's Avatar
              awipe1 awipe1 is offline
                 
                Join Date: Aug 2012
                Gender: Male
                Posts: 215
                Quote:
                Originally Posted by gogojjtech View Post
                Two things:
                1. Flags 1 and 2 are NOWHERE near safe. Refer to Karatekid's tutorial on vars and flags.
                2. If you use a var, use 0 and 1, not 1 and 2. You can save space in the var if you use the first two numbers.
                Yeah I know those flags are not safe, i just wanted to give a simple example.
                I too would have used variables because you could keep the variable at 0x8 and when they do something good add 1 to that variable or if they do something bad minus 1 to that variable, to make it more 'make your own choices'.

                Quote:
                Originally Posted by kelewele_ View Post
                gogojjtech found out a way to fix my problem , didnt even need vars

                anyhu, does anyone know a flag for when the player has beaten the league at least twice??
                Personally this is what I would do.

                As an example let's say the variable 4000 is set to 0x1 after beating your rival (the last elite 4 or whatever)
                At the end of the battle the second time, I would have something like

                compare 0x4000 0x1
                if 0x1 goto @main2

                #org @main
                setvar 0x4000 0x2

                That way when 4000 0x2 is set, that will show you have beaten the leauge twice.
                __________________
                Check out my Pokemon Rom! Click the Image Below!
                  #26358    
                Old August 26th, 2013 (3:00 PM).
                Lamp's Avatar
                Lamp Lamp is offline
                Show me your Moves! :P
                   
                  Join Date: Jun 2013
                  Location: In the Toolshed with Manchu...
                  Gender: Male
                  Nature: Relaxed
                  Posts: 66
                  Sorry for Asking Questions but this one is one i Really don't know how to do: How do i set a Difficulty?(Like Hard Mode,Easy Mode)
                  __________________
                  Lamp Shall Conquer the Galaxy! For those Who believe Lamp is there New Lord then Post this on your Sig and I Shall give you Pennies oh wait...They're Extinct! Hah! XD
                    #26359    
                  Old August 26th, 2013 (3:44 PM).
                  kearnseyboy6's Avatar
                  kearnseyboy6 kearnseyboy6 is offline
                  Aussie's Toughest Mudder
                     
                    Join Date: Dec 2008
                    Posts: 300
                    Quote:
                    Originally Posted by karatekid552 View Post
                    Repoint the text. Search it in a clean rom, then find the pointer, then insert the text into the broken rom and change the pointer to match the new location
                    Sorry it isn't a text, the background of the text is glitched. All my backups even have this so I don't remember how it could have stuffed. This is the error:
                    Attached Images
                    File Type: jpg error.JPG‎ (17.4 KB, 7 views) (Save to Dropbox)
                      #26360    
                    Old August 26th, 2013 (4:29 PM).
                    awipe1's Avatar
                    awipe1 awipe1 is offline
                       
                      Join Date: Aug 2012
                      Gender: Male
                      Posts: 215
                      Quote:
                      Originally Posted by Judai Yuki View Post
                      Sorry for Asking Questions but this one is one i Really don't know how to do: How do i set a Difficulty?(Like Hard Mode,Easy Mode)
                      At the start of the game you can make ask the player what mode he wants to play on, and depending on what he picks, you can set a variable.

                      Let's use 0x4000 as our example variable. So for easy variable 4000 would be set to 0x1, for medium 4000 would be set to 0x2 and for hard 4000 would be set to 0x3.

                      So every script in your game would start off like this.

                      compare 0x4000 0x1
                      if 0x1 goto @easy
                      compare 0x4000 0x2
                      if 0x1 goto @medium
                      compare 0x4000 0x3
                      if 0x1 goto @hard

                      And from there you can change what you are going to make the player do depending on what they picked at the start of the ROM.
                      __________________
                      Check out my Pokemon Rom! Click the Image Below!
                        #26361    
                      Old August 26th, 2013 (6:39 PM). Edited August 26th, 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 kearnseyboy6 View Post
                        Sorry it isn't a text, the background of the text is glitched. All my backups even have this so I don't remember how it could have stuffed. This is the error:
                        Oh, wow. Usually it is the text. Hmmmmm, let me do some looking, but I think it is just a bad raw.

                        Apparently, that image doesn't use raws. I hate errors like these. It is an uncompressed structure written to the VRAM. Not fun to fix. It would be easier to prevent the whole help menu thing before it would be to fix this.
                        __________________

                        Paired with Simba
                          #26362    
                        Old August 26th, 2013 (7:41 PM).
                        Le pug's Avatar
                        Le pug Le pug is offline
                        Creator of Pokémon: Discovery / Fat Kid
                        • Crystal Tier
                         
                        Join Date: Aug 2013
                        Location: Le bed
                        Age: 24
                        Gender: Male
                        Nature: Bold
                        Posts: 784
                        Why is it when I go from one map to the other, when I'm in the first map, you can't see any OW sprites in the next map but once you step foot into the next map, the sprites appear? Also for a connecting map, all the tiles get messed up when I cross over.
                        __________________







                        /// Pokémon: Discovery
                        /// Pokémon: Fat Kid
                        /// Tile Insertion Tutorial For AdvanceMap
                        /// Pokémon Emerald Specials Resource Thread
                        /// Pokémon Emerald Decapitalization Patch
                        /// Emerald Titlescreen Cloud Removal Tutorial
                        /// Tutorial For Fixing Any ROM-related Bug
                          #26363    
                        Old August 26th, 2013 (8:08 PM).
                        awipe1's Avatar
                        awipe1 awipe1 is offline
                           
                          Join Date: Aug 2012
                          Gender: Male
                          Posts: 215
                          Quote:
                          Originally Posted by Le pug View Post
                          Why is it when I go from one map to the other, when I'm in the first map, you can't see any OW sprites in the next map but once you step foot into the next map, the sprites appear? Also for a connecting map, all the tiles get messed up when I cross over.
                          Okay for this example We are going to say you are going from palette town to route 1.

                          So let's say we are in palette town and we are going to route 1 and there is a guy at the edge of route 1, I don't think it's possible to see him because you will only see the OWs and sprites in town your already in. So just push the guy back a bit or put him back in palette.

                          As for the palette thing, the same rules apply, if you are using tiles 01 and 02 in palette town and tiles 03 and 04 in route 1, if you are in palette town, it will show the tileset 01 and 02 no matter where you are looking, the moment you step into route 01, that's when it shows 03 and 04. So when you are transfering over from map to map, you need to make sure you are using the same tilesets.

                          Or for palette town if you are using 01 and 02, you can use 01 and 03, and just make sure 02 is not visable on the way out from palette town and 03 is not visable on the way out from route 1.
                          __________________
                          Check out my Pokemon Rom! Click the Image Below!
                            #26364    
                          Old August 27th, 2013 (5:26 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 Le pug View Post
                            Why is it when I go from one map to the other, when I'm in the first map, you can't see any OW sprites in the next map but once you step foot into the next map, the sprites appear? Also for a connecting map, all the tiles get messed up when I cross over.
                            As awipe1 said, you need to push them back. A maps OWs aren't loaded until you step foot on the map itself. A good border is 7 tiles. Never put any OWs withen 7 tiles of a map connection.
                            __________________

                            Paired with Simba
                              #26365    
                            Old August 27th, 2013 (5:56 AM).
                            DoesntKnowHowToPlay's Avatar
                            DoesntKnowHowToPlay DoesntKnowHowToPlay is offline
                            Tiny Umbrella with Lots and Lots of Good
                               
                              Join Date: Jan 2012
                              Posts: 258
                              Actually, you don't necessarily have to push them back. What the games actually do is put buffer NPCs out-of-bounds in the bordering route- when you go into the neighboring route these get overwritten by the NPC in the new route. You have to tweak a few variables for it though IIRC- look at the Cerulean Cave guard for reference.
                              __________________

                              Yet Another Fire Red Hack

                              Physical/Special Split
                                #26366    
                              Old August 27th, 2013 (6:35 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 DoesntKnowHowToPlay View Post
                                Actually, you don't necessarily have to push them back. What the games actually do is put buffer NPCs out-of-bounds in the bordering route- when you go into the neighboring route these get overwritten by the NPC in the new route. You have to tweak a few variables for it though IIRC- look at the Cerulean Cave guard for reference.
                                Why, that is simply genius! /me bookmarks post for future use...
                                __________________

                                Paired with Simba
                                  #26367    
                                Old August 27th, 2013 (7:09 AM).
                                awipe1's Avatar
                                awipe1 awipe1 is offline
                                   
                                  Join Date: Aug 2012
                                  Gender: Male
                                  Posts: 215
                                  Quote:
                                  Originally Posted by karatekid552 View Post
                                  Why, that is simply genius! /me bookmarks post for future use...
                                  I'm glad you understood that karatekid552, cause I didn't and I know I will need that eventually. So when I need this information, I'm going to ask you.
                                  __________________
                                  Check out my Pokemon Rom! Click the Image Below!
                                    #26368    
                                  Old August 27th, 2013 (8:17 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 awipe1 View Post
                                    I'm glad you understood that karatekid552, cause I didn't and I know I will need that eventually. So when I need this information, I'm going to ask you.
                                    What he said, was set their XY off the map. This will need to be done manually, but it will be a person event that overlaps in more than one place by a forced X/Y which is off the map, making it appear on another map, but loaded by the map you are on.
                                    __________________

                                    Paired with Simba
                                      #26369    
                                    Old August 27th, 2013 (6:20 PM).
                                    Opposition Mango's Avatar
                                    Opposition Mango Opposition Mango is offline
                                       
                                      Join Date: Aug 2013
                                      Gender: Male
                                      Nature: Timid
                                      Posts: 1
                                      K so i've done some searching here and on the rest of the site and I can't find an answer to my problem. Basically I'm having trouble running some of the tools for hacking roms. Do I post my question here or start a new thread?
                                      __________________
                                      CAN'T WASTE MY TIME ON EVIL PEOPLE LIKE YOU,
                                      SO KEEP WISHING YOU WERE ME AND I'LL KEEP MAKING YOU HAVE TO!

                                      3DS FC: 1263-7213-3785
                                        #26370    
                                      Old August 27th, 2013 (6:23 PM). Edited August 27th, 2013 by GoGoJJTech.
                                      GoGoJJTech's Avatar
                                      GoGoJJTech GoGoJJTech is offline
                                      (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                      • Gold Tier
                                       
                                      Join Date: Nov 2012
                                      Location: Earth
                                      Age: 18
                                      Gender: Female
                                      Nature: Jolly
                                      Posts: 2,477
                                      Quote:
                                      Originally Posted by Opposition Mango View Post
                                      K so i've done some searching here and on the rest of the site and I can't find an answer to my problem. Basically I'm having trouble running some of the tools for hacking roms. Do I post my question here or start a new thread?
                                      Here is good. If you're talking about the comdlg32.ocx and comctl32.ocx, I have them: https://www.dropbox.com/s/y1tfbiqcjidkz49/COMCTL32.OCX https://www.dropbox.com/s/x3itv32wd1mijyo/COMDLG32.OCX
                                      Then follow this tutorial on how to use them: https://www.youtube.com/watch?v=PBC8L0glP68
                                      __________________
                                      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
                                        #26371    
                                      Old August 28th, 2013 (7:17 AM).
                                      dunning2012 dunning2012 is offline
                                      Sparky
                                         
                                        Join Date: Oct 2012
                                        Gender: Male
                                        Nature: Quirky
                                        Posts: 8
                                        Hi just a quick question about sethealingplace.

                                        I am using Fire Red and JPAN's hacking patch.

                                        I've used this script to set the healing place in your bedroom so you end up there when you white out. All works fine but i can't remember how to set it for Viridian City. It keeps sending me back home instead of sending me to the poke centre after I've visited it.

                                        Here's the script for the players home.

                                        '---------------
                                        #org @start
                                        lock
                                        faceplayer
                                        setvar 0x405A 0x104
                                        setvar 0x405B 0x6
                                        setvar 0x405C 0x6
                                        applymovement 0x0 @1
                                        waitmovement 0x0
                                        applymovement MOVE_PLAYER @2
                                        waitmovement 0xFF
                                        sethealingplace 0x1
                                        release
                                        end

                                        #org @1
                                        #raw 0x0
                                        #raw 0xFE

                                        #org @2
                                        #raw 0x0
                                        #raw 0xFE

                                        This is a header script
                                        Script type 02
                                        Flag 405A
                                        Value 0000

                                        All works fine, just can't remember what to put for the pokemon centres?
                                        Any help would be great thanks.
                                          #26372    
                                        Old August 28th, 2013 (7:21 AM).
                                        GoGoJJTech's Avatar
                                        GoGoJJTech GoGoJJTech is offline
                                        (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                        • Gold Tier
                                         
                                        Join Date: Nov 2012
                                        Location: Earth
                                        Age: 18
                                        Gender: Female
                                        Nature: Jolly
                                        Posts: 2,477
                                        Quote:
                                        Originally Posted by dunning2012 View Post
                                        Hi just a quick question about sethealingplace.

                                        I am using Fire Red and JPAN's hacking patch.

                                        I've used this script to set the healing place in your bedroom so you end up there when you white out. All works fine but i can't remember how to set it for Viridian City. It keeps sending me back home instead of sending me to the poke centre after I've visited it.

                                        Here's the script for the players home.

                                        '---------------
                                        #org @start
                                        lock
                                        faceplayer
                                        setvar 0x405A 0x104
                                        setvar 0x405B 0x6
                                        setvar 0x405C 0x6
                                        applymovement 0x0 @1
                                        waitmovement 0x0
                                        applymovement MOVE_PLAYER @2
                                        waitmovement 0xFF
                                        sethealingplace 0x1
                                        release
                                        end

                                        #org @1
                                        #raw 0x0
                                        #raw 0xFE

                                        #org @2
                                        #raw 0x0
                                        #raw 0xFE

                                        This is a header script
                                        Script type 02
                                        Flag 405A
                                        Value 0000

                                        All works fine, just can't remember what to put for the pokemon centres?
                                        Any help would be great thanks.
                                        Ok so what you do isset the first variable: XXYY. XX is the map number and YY is the bank. If you noticed, map 1 on bank 4 is the player's room. Then the next two are x and y positions.
                                        __________________
                                        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
                                          #26373    
                                        Old August 28th, 2013 (7:29 AM).
                                        dunning2012 dunning2012 is offline
                                        Sparky
                                           
                                          Join Date: Oct 2012
                                          Gender: Male
                                          Nature: Quirky
                                          Posts: 8
                                          Ah that was it. So would I use the same script for all the Poke Centers but just change the Setvar to each Map number, x and y coordinates and change the sethealingplace to 0x2, 0x3 ect.?
                                            #26374    
                                          Old August 28th, 2013 (8:19 AM).
                                          GoGoJJTech's Avatar
                                          GoGoJJTech GoGoJJTech is offline
                                          (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                          • Gold Tier
                                           
                                          Join Date: Nov 2012
                                          Location: Earth
                                          Age: 18
                                          Gender: Female
                                          Nature: Jolly
                                          Posts: 2,477
                                          Quote:
                                          Originally Posted by dunning2012 View Post
                                          Ah that was it. So would I use the same script for all the Poke Centers but just change the Setvar to each Map number, x and y coordinates and change the sethealingplace to 0x2, 0x3 ect.?
                                          The whole point of JPAN's studies was to remove sethealingplace altogether. So that command is just as good as a nop. It does absolutely nothing.
                                          __________________
                                          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
                                            #26375    
                                          Old August 28th, 2013 (9:26 AM).
                                          kelewele_ kelewele_ is offline
                                             
                                            Join Date: May 2013
                                            Gender: Male
                                            Posts: 25
                                            thanks @awipe1 ... found the script that makes the player battle battle rival, i think that was main problem

                                            also does anyone know what's wrong with script? i get the battle alright, but not the movement >.<

                                            '#dyn 0x740000
                                            #org @start
                                            lock
                                            applymovement 0x10 @walk
                                            pauseevent 0x0
                                            message @text
                                            showmsg
                                            playsound 0x11B 0x0
                                            waitbutton
                                            trainerbattle 0x3 0x146 0x0 @defeat
                                            msgbox @text2
                                            callstd MSG_NOCLOSE
                                            fadescreen FADEOUT_BLACK
                                            closemsg
                                            disappear 0x10
                                            fadescreen FADEIN_BLACK
                                            release
                                            end

                                            #org @text
                                            = Training has brought me further once\nmore!\pMaybe I'll restore TEAM ROCKET\nto it's former glory!

                                            #org @defeat
                                            = I would expect nothing less from the\nnew LEAGUE CHAMPION!

                                            #org @text2
                                            = I see that your still taining hard!\nFarewell until we meet again[.]

                                            #org @walk
                                            m walk_down walk_down walk_down walk_down walk_down walk_down end'
                                            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 3:30 AM.