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
  #24926    
Old May 19th, 2013 (10:48 PM). Edited May 19th, 2013 by Kurapika.
Kurapika's Avatar
Kurapika Kurapika is offline
Grudgebearer
     
    Join Date: Feb 2013
    Location: Lavendar Town - Morocco
    Gender: Male
    Nature: Naughty
    Posts: 422
    @robin22gongon,


    EDIT: Did you try with a diferent variable?
    __________________

    Relevant Advertising!

      #24927    
    Old May 19th, 2013 (10:49 PM).
    Aemirch's Avatar
    Aemirch Aemirch is offline
    Hobbler
       
      Join Date: May 2013
      Location: Greece
      Posts: 28
      Quote:
      Originally Posted by robin22gongon View Post
      Ah yes! I did that. Actually it runs perfectly BUT what I actually want to happen is, once I exit the map and return to it, it wouldn't happen again BUT what happens is the opposite! When I exit and return the same thing happens again!
      Set another variable, then? Or a flag.
      __________________
      WIP
        #24928    
      Old May 19th, 2013 (11:01 PM).
      BlackWhiteRobin's Avatar
      BlackWhiteRobin BlackWhiteRobin is offline
         
        Join Date: Sep 2012
        Age: 20
        Gender: Male
        Nature: Quirky
        Posts: 543
        Quote:
        Originally Posted by Aemirch View Post
        Set another variable, then? Or a flag.
        Still not working. :( Maybe I just have to make two maps. One with the level script one without. :(
          #24929    
        Old May 19th, 2013 (11:19 PM).
        Aemirch's Avatar
        Aemirch Aemirch is offline
        Hobbler
           
          Join Date: May 2013
          Location: Greece
          Posts: 28
          Quote:
          Originally Posted by robin22gongon View Post
          Still not working. :( Maybe I just have to make two maps. One with the level script one without. :(
          Is the script type correct? As in, type 02 (it says something about validating values)-- and, check if the map has other scripts that resets offsets or pointers and if it does, delete said script.
          __________________
          WIP
            #24930    
          Old May 19th, 2013 (11:25 PM).
          Shadowraze's Avatar
          Shadowraze Shadowraze is offline
          ur mum
             
            Join Date: Apr 2013
            Location: ur mum
            Age: 19
            Gender: Other
            Nature: Lonely
            Posts: 798
            Quote:
            Originally Posted by robin22gongon View Post
            I have a question!

            How do I make a level script run one time only?

            And if it helps, here's my script:
            Code:
            #dynamic 0x750000
            
            #org @start
            lock
            checkflag 0x6
            if 0x1 goto @ended
            fadescreen 0x1
            preparemsg @msg1
            waitmsg
            multichoice 0x0 0x0 0x01 0x1
            copyvar 0x8000 0x800D
            compare 0x8000 0x0
            if 0x1 goto @fire
            compare 0x8000 0x1
            if 0x1 goto @wind
            compare 0x8000 0x2
            if 0x1 goto @lightning
            compare 0x8000 0x3
            if 0x1 goto @earth
            compare 0x8000 0x4
            if 0x1 goto @water
            release
            end
            
            #org @ended
            release
            end
            
            #org @fire
            setflag 0x1
            goto @go1
            release
            end
            
            #org @wind
            setflag 0x2
            goto @go2
            release
            end
            
            #org @lightning
            setflag 0x3
            goto @go3
            release
            end
            
            #org @earth
            setflag 0x4
            goto @go4
            release
            end
            
            #org @water
            setflag 0x5
            goto @go5
            release
            end
            
            #org @go1
            msgbox @msg2 0x6
            setflag 0x6
            fadescreen 0x0
            setvar 0x4000 0x1
            release
            end
            
            #org @go2
            msgbox @msg3 0x6
            setflag 0x6
            fadescreen 0x0
            setvar 0x4000 0x1
            release
            end
            
            #org @go3
            msgbox @msg4 0x6
            setflag 0x6
            fadescreen 0x0
            setvar 0x4000 0x1
            release
            end
            
            #org @go4
            msgbox @msg5 0x6
            setflag 0x6
            fadescreen 0x0
            setvar 0x4000 0x1
            release
            end
            
            #org @go5
            msgbox @msg6 0x6
            setflag 0x6
            fadescreen 0x0
            setvar 0x4000 0x1
            release
            end
            
            #org @msg1
            = Choose a town you want to start\nyour adventure from.
            
            #org @msg2
            = You have chosen the Fire Town.\nGood luck on your journey!
            
            #org @msg3
            = You have chosen the Wind Town.\nGood luck on your journey!
            
            #org @msg4
            = You have chosen the Lightning\nTown. Good luck on your journey!
            
            #org @msg5
            = You have chosen the Earth Town.\nGood luck on your journey!
            
            #org @msg6
            = You have chosen the Water Town.\nGood luck on your journey!
            Change the var that you're using since 0x4000 resets it's value once you enter/leave the map.
              #24931    
            Old May 19th, 2013 (11:28 PM).
            BlackWhiteRobin's Avatar
            BlackWhiteRobin BlackWhiteRobin is offline
               
              Join Date: Sep 2012
              Age: 20
              Gender: Male
              Nature: Quirky
              Posts: 543
              Quote:
              Originally Posted by Aemirch View Post
              Is the script type correct? As in, type 02 (it says something about validating values)-- and, check if the map has other scripts that resets offsets or pointers and if it does, delete said script.
              Yes the script type is [02] and my map doesn't have other level scripts. I'm using JPAN's Engine.
                #24932    
              Old May 19th, 2013 (11:45 PM).
              Aemirch's Avatar
              Aemirch Aemirch is offline
              Hobbler
                 
                Join Date: May 2013
                Location: Greece
                Posts: 28
                Quote:
                Originally Posted by robin22gongon View Post
                Yes the script type is [02] and my map doesn't have other level scripts. I'm using JPAN's Engine.
                Ouch. Weird stuff happens sometimes there. Can you do this? Compile the script into another, clean ROM and see what happens. If it works then it's JPAN's engine. If it doesn't... then we still have an issue with the variable you're using.
                __________________
                WIP
                  #24933    
                Old May 19th, 2013 (11:52 PM).
                Shadowraze's Avatar
                Shadowraze Shadowraze is offline
                ur mum
                   
                  Join Date: Apr 2013
                  Location: ur mum
                  Age: 19
                  Gender: Other
                  Nature: Lonely
                  Posts: 798
                  Quote:
                  Originally Posted by Aemirch View Post
                  Ouch. Weird stuff happens sometimes there. Can you do this? Compile the script into another, clean ROM and see what happens. If it works then it's JPAN's engine. If it doesn't... then we still have an issue with the variable you're using.
                  No, JPAN's engine doesn't have any conflict with level scripts I have tried it myself and it works.

                  @robin22gongon

                  It's most probably the var that you're using or you may have not done this in the proper way.

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

                  Follow the guide I made there if you follow it right I'm sure that level script of yours will work.
                    #24934    
                  Old May 20th, 2013 (12:10 AM).
                  BlackWhiteRobin's Avatar
                  BlackWhiteRobin BlackWhiteRobin is offline
                     
                    Join Date: Sep 2012
                    Age: 20
                    Gender: Male
                    Nature: Quirky
                    Posts: 543
                    Quote:
                    Originally Posted by Shadowraze View Post
                    No, JPAN's engine doesn't have any conflict with level scripts I have tried it myself and it works.

                    @robin22gongon

                    It's most probably the var that you're using or you may have not done this in the proper way.

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

                    Follow the guide I made there if you follow it right I'm sure that level script of yours will work.
                    Actually that's what I followed throughout making the script. It really, actually works. It's just that I don't want it repeated again and again every time I enter the map.
                      #24935    
                    Old May 20th, 2013 (12:57 AM).
                    Shadowraze's Avatar
                    Shadowraze Shadowraze is offline
                    ur mum
                       
                      Join Date: Apr 2013
                      Location: ur mum
                      Age: 19
                      Gender: Other
                      Nature: Lonely
                      Posts: 798
                      Quote:
                      Originally Posted by robin22gongon View Post
                      Actually that's what I followed throughout making the script. It really, actually works. It's just that I don't want it repeated again and again every time I enter the map.
                      Didn't you saw my previous post do not use 0x4000 as your var if you don't want your script to be repeated again and again everytime you enter the map.
                        #24936    
                      Old May 20th, 2013 (3:18 AM).
                      BlackWhiteRobin's Avatar
                      BlackWhiteRobin BlackWhiteRobin is offline
                         
                        Join Date: Sep 2012
                        Age: 20
                        Gender: Male
                        Nature: Quirky
                        Posts: 543
                        Quote:
                        Originally Posted by Shadowraze View Post
                        Didn't you saw my previous post do not use 0x4000 as your var if you don't want your script to be repeated again and again everytime you enter the map.
                        So what should I do? Can I use 4050?
                          #24937    
                        Old May 20th, 2013 (3:50 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
                          So what should I do? Can I use 4050?
                          Use 0x40F8. There is soooo little chance it has been used, it isn't funny.
                          __________________

                          Paired with Simba
                            #24938    
                          Old May 20th, 2013 (3:56 AM). Edited May 20th, 2013 by BlackWhiteRobin.
                          BlackWhiteRobin's Avatar
                          BlackWhiteRobin BlackWhiteRobin is offline
                             
                            Join Date: Sep 2012
                            Age: 20
                            Gender: Male
                            Nature: Quirky
                            Posts: 543
                            Quote:
                            Originally Posted by karatekid552 View Post
                            Use 0x40F8. There is soooo little chance it has been used, it isn't funny.
                            Is there still a chance some vars are still not safe even if I use JPAN's Engine?

                            Oh and also how do I make that automatically black? The screen. When I use the script I used with fadescreen 0x1, it still shows the screen before it fades to black. What I wanted to do is automatically black. Let me know if I don't make sense.
                              #24939    
                            Old May 20th, 2013 (4:04 AM).
                            GoGoJJTech's Avatar
                            GoGoJJTech GoGoJJTech is offline
                            (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                             
                            Join Date: Nov 2012
                            Location: Earth
                            Age: 19
                            Gender: Female
                            Nature: Jolly
                            Posts: 2,475
                            Anyone know the location of the ruby and emerald special tables? I got FR already.
                            __________________
                            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
                              #24940    
                            Old May 20th, 2013 (4:22 AM). Edited May 20th, 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
                              Is there still a chance some vars are still not safe even if I use JPAN's Engine?

                              Oh and also how do I make that automatically black? The screen. When I use the script I used with fadescreen 0x1, it still shows the screen before it fades to black. What I wanted to do is automatically black. Let me know if I don't make sense.
                              The restrictions on vars are the same with his engine. So, only vars up 0x40FF are safe.

                              Ummm, I do understand you. I looked through the command list and I don't see anything that will do it without a fade. You may need to write a small ASM routine for it.

                              Or, I just had another idea, you could create a completely black room and hide the player. Then you could warp and show the player when you are done with your messages.

                              Quote:
                              Originally Posted by gogojjtech View Post
                              Anyone know the location of the ruby and emerald special tables? I got FR already.
                              The easiest way to do this is to go to the location of the special 0x0 (heal pokemon) in a FR rom and copy the bytes at the beginning of the routine up to the first pointer. (16 bytes should be a good length) Then go search in an RSE rom for that line (make sure you only get one result) and then turn the location of the data into a pointer and search for that. The only location of this pointer should be the beginning of the table.
                              __________________

                              Paired with Simba
                                #24941    
                              Old May 20th, 2013 (4:41 AM).
                              kearnseyboy6's Avatar
                              kearnseyboy6 kearnseyboy6 is offline
                              Aussie's Toughest Mudder
                                 
                                Join Date: Dec 2008
                                Posts: 300
                                Quote:
                                Originally Posted by karatekid552 View Post
                                Or, I just had another idea, you could create a completely black room and hide the player. Then you could warp and show the player when you are done with your messages.
                                This is an awesome idea ^^^. I have made mini videos by warping a player to a black tile and moving the camera. The possibilities are endless.

                                A question though, sometime simple talking scripts on people don't work, instead using talking scripts from another person in the map. Even though the script offsets are different they still run the same commands... Anyone else had this problem?
                                  #24942    
                                Old May 20th, 2013 (9:53 AM).
                                marcus_dom marcus_dom is offline
                                   
                                  Join Date: May 2013
                                  Gender: Male
                                  Posts: 4
                                  Hi there,
                                  This is my first time posting here, so I hope I'm asking in the right place.
                                  I am a complete noob regarding Pokemon hacking, but I'm trying to learn and this is what I'm doing:

                                  I grabbed an original FireRed ROM and with WindHex I am translating dialogue to a different language. I have found a table to translate hex values to normal letters and have been doing great with it, because it lets me pretty much edit every word and title in the game.
                                  My question is: I would like to make every Pokemon from the first 150 catchable in FireRed. Is this doable?
                                  For example, I'd like to make Bellsprouts and other LeafGreen exclusives to appear as wild Pokemon (let's say in Route 10 and Safari Zone). Is there a way to do this?
                                  I've searched a lot here on the forum, but I couldn't find an answer. Maybe I'm not looking in the right places though, I bet this is asked a lot.
                                    #24943    
                                  Old May 20th, 2013 (10:17 AM).
                                  GoGoJJTech's Avatar
                                  GoGoJJTech GoGoJJTech is offline
                                  (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                   
                                  Join Date: Nov 2012
                                  Location: Earth
                                  Age: 19
                                  Gender: Female
                                  Nature: Jolly
                                  Posts: 2,475
                                  You could use advance map, you make maps edit wild pokemon data, create events, all sorts of stuff. It's also very user friendly so you should have no problem witb it. If you need help send me a message and ill help you, no problem ;)
                                  __________________
                                  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
                                    #24944    
                                  Old May 20th, 2013 (10:18 AM).
                                  miksy91's Avatar
                                  miksy91 miksy91 is offline
                                  Dark Energy is back in action! ;)
                                     
                                    Join Date: Oct 2008
                                    Location: Finland
                                    Gender: Male
                                    Posts: 1,447
                                    Quote:
                                    Originally Posted by marcus_dom View Post
                                    Hi there,
                                    This is my first time posting here, so I hope I'm asking in the right place.
                                    I am a complete noob regarding Pokemon hacking, but I'm trying to learn and this is what I'm doing:

                                    I grabbed an original FireRed ROM and with WindHex I am translating dialogue to a different language. I have found a table to translate hex values to normal letters and have been doing great with it, because it lets me pretty much edit every word and title in the game.
                                    My question is: I would like to make every Pokemon from the first 150 catchable in FireRed. Is this doable?
                                    For example, I'd like to make Bellsprouts and other LeafGreen exclusives to appear as wild Pokemon (let's say in Route 10 and Safari Zone). Is there a way to do this?
                                    I've searched a lot here on the forum, but I couldn't find an answer. Maybe I'm not looking in the right places though, I bet this is asked a lot.
                                    Hey there,

                                    Well so far, you've been doing an exactly similar thing - working out with data with a hex editor. You could easily re-write the wild pokemon data for every area the exact same way but there are in-game specific tools for that so you don't have to hex edit everything.

                                    In fact, you can do almost any beginner-friendly thing with a game specific tool (not that you'd learn much by doing it that way...). Anyway, AdvanceMap is the tool you'd be looking for.
                                    __________________
                                    Pokémon Dark Energy
                                    Some ROM hacking related stuff
                                      #24945    
                                    Old May 20th, 2013 (10:29 AM).
                                    Kurapika's Avatar
                                    Kurapika Kurapika is offline
                                    Grudgebearer
                                       
                                      Join Date: Feb 2013
                                      Location: Lavendar Town - Morocco
                                      Gender: Male
                                      Nature: Naughty
                                      Posts: 422
                                      Yeah, do as miksy said and download some tools from the tools forum. Rom hacking using tools is already time consuming, so doing everything in hex will be just life consuming!
                                      __________________
                                        #24946    
                                      Old May 20th, 2013 (10:32 AM).
                                      marcus_dom marcus_dom is offline
                                         
                                        Join Date: May 2013
                                        Gender: Male
                                        Posts: 4
                                        Well gogojjtech and miksy91, I feel dumb now x)
                                        I read that tool's name so many times and I never actually downloaded it because I thought it was only to modify map sprites and appearance.
                                        Thanks for the tip, apparently the answer was right in front of me. Cheers!
                                          #24947    
                                        Old May 20th, 2013 (10:34 AM).
                                        red5677 red5677 is offline
                                        Non-Existent Elite Four Champ
                                           
                                          Join Date: Jun 2008
                                          Location: California, United States
                                          Gender: Male
                                          Nature: Brave
                                          Posts: 27
                                          Quote:
                                          Originally Posted by DeltaSalamence View Post
                                          You can create a sequence in which givepokemon is utilized.

                                          As for the originally programmed choosing of Pokemon, you'd have to Hex Edit/A-Text the special.
                                          Would I have to do a multi-choice thing? (Like would you like This..This..or this?) I've already edited what pokemon there are, and I changed the text using A-Text....soo now what?
                                            #24948    
                                          Old May 20th, 2013 (10:35 AM).
                                          GoGoJJTech's Avatar
                                          GoGoJJTech GoGoJJTech is offline
                                          (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                           
                                          Join Date: Nov 2012
                                          Location: Earth
                                          Age: 19
                                          Gender: Female
                                          Nature: Jolly
                                          Posts: 2,475
                                          Quote:
                                          Originally Posted by marcus_dom View Post
                                          Well gogojjtech and miksy91, I feel dumb now x)
                                          I read that tool's name so many times and I never actually downloaded it because I thought it was only to modify map sprites and appearance.
                                          Thanks for the tip, apparently the answer was right in front of me. Cheers!
                                          Yeah, Advance Map is pretty cool. Well, you should download as many tools as possible to make your life easier!
                                          __________________
                                          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
                                            #24949    
                                          Old May 20th, 2013 (11:00 AM).
                                          Uikri's Avatar
                                          Uikri Uikri is offline
                                             
                                            Join Date: May 2013
                                            Gender: Male
                                            Posts: 23
                                            Is it possible to implement the physical/special split in Gen III ROMs?
                                              #24950    
                                            Old May 20th, 2013 (11:06 AM).
                                            GoGoJJTech's Avatar
                                            GoGoJJTech GoGoJJTech is offline
                                            (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                                             
                                            Join Date: Nov 2012
                                            Location: Earth
                                            Age: 19
                                            Gender: Female
                                            Nature: Jolly
                                            Posts: 2,475
                                            There is already a patch made, its here somewhere because i already put it in my games.
                                            __________________
                                            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
                                            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:29 PM.