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
  #20101    
Old December 14th, 2011 (8:02 PM).
Nate VonGrimm's Avatar
Nate VonGrimm Nate VonGrimm is offline
     
    Join Date: Oct 2011
    Location: Uxbridge
    Age: 25
    Gender: Male
    Nature: Relaxed
    Posts: 124
    Quote:
    Originally Posted by dragonluver449 View Post
    Could some on help me??
    I'm trying to make a legendary battle.
    here is the script I used:
    #org $start
    lock
    faceplayer
    cry 0xA1 6
    #raw 0x33
    pause 0x30
    message $cry

    $cry 1 =Chari-zasdfghjjgfsd!!
    boxset 6
    wildbattle 6 30 0x00
    pause 0x60
    fadescreen 0
    removesprite 0x800f
    setflag 0x1211
    release
    end

    heres the problem
    after I fight/Catch the pokemon (Charizard in my case)
    it goes back to where I was before the battle and a red selection box thingy goes up in the
    corner and the letters Z and N appears of the OW charizard.It won't let me move
    until I click A then it plays a sound Like I selected something plays.

    if you walk away from th OW the musc gets REALLY soft and one of the people
    walking around the town has a chunk missing from his head.
    I can rebattle it as much as I want and it won't go away.
    I have a video I could show you if you want.
    But anyway, can anyine help me??
    This question really belongs in the Script Help thread.

    But in answer to your question:
    Have you tried viewing the script in A-Map? Use XSE to double check the script is in working order when you place your offset into A-Map. Unfortunately, you can't use Pokescript as a script viewer because you don't write scripts in Pokescript.

    Is the legendary's sprite number 0x800f?
    And are you sure setflag 0x1211 hasn't been used before?
    You might also want to use waitstate after the wildbattle.
    Also, don't leave any gaps in your script, you have one in the middle of message $cry and the message script.
    __________________
    Currently working on a new Pokemon Hack with an in-depth story line!
    That's about as much as you're going to get for now...



    Relevant Advertising!

      #20102    
    Old December 15th, 2011 (7:46 AM).
    The Fanciful Cerberus The Fanciful Cerberus is offline
       
      Join Date: Dec 2011
      Gender: Male
      Posts: 12
      How would I make a script run immediately after Oak's introduction, like in Black and White when the part with Cheren and Bianca happens before you get control of your character? Also, where is the data for the coordinates you start at stored? I want to change the location the hero character starts at on the map. I'm sure this has been asked at some point, but maybe I'm using the wrong keywords in my search.
        #20103    
      Old December 15th, 2011 (7:56 AM).
      EdensElite's Avatar
      EdensElite EdensElite is offline
      No0b, but getting there.
         
        Join Date: Jun 2011
        Location: UK
        Gender: Male
        Nature: Bold
        Posts: 190
        Quote:
        Originally Posted by The Fanciful Cerberus View Post
        How would I make a script run immediately after Oak's introduction, like in Black and White when the part with Cheren and Bianca happens before you get control of your character? Also, where is the data for the coordinates you start at stored? I want to change the location the hero character starts at on the map. I'm sure this has been asked at some point, but maybe I'm using the wrong keywords in my search.
        I believe there is a program for editing where you start, I'm not sure of the name though, sorry.

        If you want a script to start straight after Oak's Speech, then add it on to Oak's Speech script.
        __________________

        ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

        That means it will be playable in the browser, and across multiple devices such as the iPod touch.
          #20104    
        Old December 15th, 2011 (8:16 AM).
        The Fanciful Cerberus The Fanciful Cerberus is offline
           
          Join Date: Dec 2011
          Gender: Male
          Posts: 12
          Quote:
          Originally Posted by EdensElite View Post
          I believe there is a program for editing where you start, I'm not sure of the name though, sorry.

          If you want a script to start straight after Oak's Speech, then add it on to Oak's Speech script.
          Do you know what offset his speech is at?
            #20105    
          Old December 15th, 2011 (11:38 AM). Edited December 15th, 2011 by Nate VonGrimm.
          Nate VonGrimm's Avatar
          Nate VonGrimm Nate VonGrimm is offline
             
            Join Date: Oct 2011
            Location: Uxbridge
            Age: 25
            Gender: Male
            Nature: Relaxed
            Posts: 124
            Quote:
            Originally Posted by The Fanciful Cerberus View Post
            How would I make a script run immediately after Oak's introduction, like in Black and White when the part with Cheren and Bianca happens before you get control of your character? Also, where is the data for the coordinates you start at stored? I want to change the location the hero character starts at on the map. I'm sure this has been asked at some point, but maybe I'm using the wrong keywords in my search.
            You would need to create a Level script.
            A level script activates when the player enter's a map. So in this case, you need one if you want some action to happen before you start playing.

            Also, there is a program out there that can change your starting location but I cannot remember what it is called. Look though the Toolbox Forum. Should be there somewhere.
            __________________
            Currently working on a new Pokemon Hack with an in-depth story line!
            That's about as much as you're going to get for now...


              #20106    
            Old December 15th, 2011 (12:37 PM).
            ebermudez ebermudez is offline
               
              Join Date: Dec 2011
              Location: Barcelona, Spain
              Gender: Male
              Posts: 4
              First of all I would like to clarify that my question has already been resolved. (At least in part). I finally managed to understand a tutorial I've seen in the forum section.
              A greeting.
                #20107    
              Old December 15th, 2011 (1:29 PM).
              Nate VonGrimm's Avatar
              Nate VonGrimm Nate VonGrimm is offline
                 
                Join Date: Oct 2011
                Location: Uxbridge
                Age: 25
                Gender: Male
                Nature: Relaxed
                Posts: 124
                Quote:
                Originally Posted by Quilava's Master View Post
                Okay, I'm looking for some help over here. It seems like nobody uses the Season Editor casue they don't know how. Well I implemented it [with relative success] and will post a tutorial soon but I've run into an error. First off: The seasons don't change in December. Idky. Secondly: At first everything is fine, however during the winter when I enter a menu [Bag/Trainer Card/Pokedex etc] the palettes/tiles get all screwy until I enter a house/building. Any advice?


                This is what I mean. The left is what it's supposed to look like, the right is what it looks like after opening a menu or engaging in a wild battle.
                I'm afraid this could be an issue with the Day, Night and Seasons patch itself. I'm not a 'big' user on DNS as of yet because I do not fully trust it works 100%.
                I am assuming the tiles go all weird because the tiles haven't been added into the game itself. I'm guessing you would have to take snowy tiles and insert them into A-Map and make them part of the game.

                I am just guessing as I haven't really tested DNS properly yet. If I find out more for you, I shall let you know.
                __________________
                Currently working on a new Pokemon Hack with an in-depth story line!
                That's about as much as you're going to get for now...


                  #20108    
                Old December 15th, 2011 (3:55 PM).
                AustinWolff's Avatar
                AustinWolff AustinWolff is offline
                has left
                   
                  Join Date: Aug 2011
                  Location: LA, California
                  Age: 19
                  Gender: Male
                  Nature: Brave
                  Posts: 100
                  when I try to compile a script in XSE it gives me this message
                  Spoiler:
                  Unknown command "end" at line 5


                  When I delete that command and try to compile it, it gives me another message
                  Spoiler:
                  Unknown command "release" at line 4


                  does anyone know whats wrong?
                  __________________
                  I have left. Feel free to disable my account.
                    #20109    
                  Old December 15th, 2011 (4:01 PM).
                  redriders180's Avatar
                  redriders180 redriders180 is offline
                  Mastermind of Pokemon Glazed
                     
                    Join Date: Jun 2010
                    Location: Path of Victory, Tunod
                    Gender: Male
                    Nature: Quirky
                    Posts: 540
                    Send a message via AIM to redriders180
                    Quote:
                    Originally Posted by AustinWolff View Post
                    when I try to compile a script in XSE it gives me this message
                    Spoiler:
                    Unknown command "end" at line 5


                    When I delete that command and try to compile it, it gives me another message
                    Spoiler:
                    Unknown command "release" at line 4


                    does anyone know whats wrong?
                    Did you try restarting XSE? Sometimes I get a similar problem (but usually with random letters), and restarting XSE usually helps.
                      #20110    
                    Old December 15th, 2011 (4:04 PM).
                    DrFuji's Avatar
                    DrFuji DrFuji is offline
                    Heiki Hecchara‌‌
                    • Crystal Tier
                     
                    Join Date: Sep 2009
                    Location: Downia-upside
                    Age: 24
                    Gender: Male
                    Nature: Jolly
                    Posts: 1,326
                    Quote:
                    Originally Posted by AustinWolff View Post
                    when I try to compile a script in XSE it gives me this message
                    Spoiler:
                    Unknown command "end" at line 5


                    When I delete that command and try to compile it, it gives me another message
                    Spoiler:
                    Unknown command "release" at line 4


                    does anyone know whats wrong?
                    It sounds like your copy of XSE is glitched since it doesn't even recognise two the most basic of commands. Try to download it again from another source if possible.
                    __________________
                      #20111    
                    Old December 15th, 2011 (4:11 PM).
                    AustinWolff's Avatar
                    AustinWolff AustinWolff is offline
                    has left
                       
                      Join Date: Aug 2011
                      Location: LA, California
                      Age: 19
                      Gender: Male
                      Nature: Brave
                      Posts: 100
                      thanks guys. I will probabaly just redownload it from hackmews page. I also have a script question. In my script my setvar is 0x6000 0x1. for the Amap var value, what would I put into there? would in be 6000?
                      __________________
                      I have left. Feel free to disable my account.
                        #20112    
                      Old December 15th, 2011 (4:33 PM).
                      DrFuji's Avatar
                      DrFuji DrFuji is offline
                      Heiki Hecchara‌‌
                      • Crystal Tier
                       
                      Join Date: Sep 2009
                      Location: Downia-upside
                      Age: 24
                      Gender: Male
                      Nature: Jolly
                      Posts: 1,326
                      Quote:
                      Originally Posted by AustinWolff View Post
                      thanks guys. I will probabaly just redownload it from hackmews page. I also have a script question. In my script my setvar is 0x6000 0x1. for the Amap var value, what would I put into there? would in be 6000?
                      If you don't want the script to be repeated when you step on the tile again, put 0 in the variable value box (assuming you haven't changed this variable beforehand) and 6000 in the variable number box. The variable number and value boxes work with each other to determine when to run your script. If the variable's in-game value is equal to what is in the value box, then the script will be performed, if not it will be skipped. Since you're setting 0x6000 to 0x1 during your script, then next time you go over the script again the value will have changed from 0x0 allowing you to bypass it.
                      __________________
                        #20113    
                      Old December 15th, 2011 (4:36 PM).
                      mrpengo88's Avatar
                      mrpengo88 mrpengo88 is offline
                         
                        Join Date: Dec 2011
                        Gender: Male
                        Posts: 10
                        This probably sounds pretty stupid, but is their a way to preview the game without playing it on VBA? Because I don't want to go through the whole game to get to an ending part.
                          #20114    
                        Old December 15th, 2011 (4:53 PM).
                        The Fanciful Cerberus The Fanciful Cerberus is offline
                           
                          Join Date: Dec 2011
                          Gender: Male
                          Posts: 12
                          I'm having problems with my XSE too, actually. Sometimes it just refuses to save my script changes when I try to compile them for advance map. I'll change some stuff and the compile process will happen, but when I open it from am again everything has reverted back. I've tried restarting XSE and Advance Map, but nothing seems to work. It's really frustrating. >.<

                          (For anyone who's curious, by the way, I found where your starting location is stored in Fire Red so you can edit it in Hex.)
                            #20115    
                          Old December 15th, 2011 (6:01 PM).
                          redriders180's Avatar
                          redriders180 redriders180 is offline
                          Mastermind of Pokemon Glazed
                             
                            Join Date: Jun 2010
                            Location: Path of Victory, Tunod
                            Gender: Male
                            Nature: Quirky
                            Posts: 540
                            Send a message via AIM to redriders180
                            Quote:
                            Originally Posted by mrpengo88 View Post
                            This probably sounds pretty stupid, but is their a way to preview the game without playing it on VBA? Because I don't want to go through the whole game to get to an ending part.
                            Typically, I usually put a warp somewhere in the players hometown to go anywhere. I also have a script that gives me all the badges and a couple Pokemon, along with any useful items. But, imo, you should play through the entire game, if only to make sure everything is working as it should.

                            Quote:
                            Originally Posted by The Fanciful Cerberus View Post
                            (For anyone who's curious, by the way, I found where your starting location is stored in Fire Red so you can edit it in Hex.)
                            I'd be interested to know where that is, since the SMCA program won't work for my rom for whatever reason.
                              #20116    
                            Old December 15th, 2011 (7:17 PM).
                            The Fanciful Cerberus The Fanciful Cerberus is offline
                               
                              Join Date: Dec 2011
                              Gender: Male
                              Posts: 12
                              Quote:
                              Originally Posted by redriders180 View Post
                              I'd be interested to know where that is, since the SMCA program won't work for my rom for whatever reason.
                              Spoiler:
                              0x54A08 is your starting X coordinate on the map and 0x54A00 is your starting Y coordinate. If you just want to change where on the starting map you pop up, go to those in hex and edit them.

                              For example, I use Hex Workshop. I click go-to and type in 54A00 (the Y coordinate). It brings me to 06, which is my current Y coordinate. I want my Y coordinate to be 02 though, so I just type 02 over the 06 and save. Now on a new game I start in that position.

                              I'm not sure what the specifics are if you want to change the map too because I didn't need to work that out, but the starting map is at 0x54A04 and the bank of the starting map is at 0x54A06.


                              How can I give a Pokemon a unique id that will allow it to be specifically given to someone (even after evolution), but not others of the same type?
                                #20117    
                              Old December 15th, 2011 (7:46 PM).
                              movieguy12 movieguy12 is offline
                                 
                                Join Date: Mar 2006
                                Nature: Adamant
                                Posts: 65
                                Hello I finally got a snivy sprite,info and a lvl script in pokemon ruby. Now how do I add a icon to snivy in the pokemon party box?! Please and thanks!
                                  #20118    
                                Old December 15th, 2011 (8:08 PM).
                                DrFuji's Avatar
                                DrFuji DrFuji is offline
                                Heiki Hecchara‌‌
                                • Crystal Tier
                                 
                                Join Date: Sep 2009
                                Location: Downia-upside
                                Age: 24
                                Gender: Male
                                Nature: Jolly
                                Posts: 1,326
                                Quote:
                                Originally Posted by The Fanciful Cerberus View Post
                                How can I give a Pokemon a unique id that will allow it to be specifically given to someone (even after evolution), but not others of the same type?
                                Sorry, but I can't really understand your question. If I'm interpreting it correctly, you're asking how can you go about distinguishing a single Pokemon from others of the same species that you could catch in the wild - Is that correct?

                                If you're using JPAN's Hacked FR Engine, you could do this by giving the Pokemon you want to differentiate increased contest stats (Cool, Tough, Smart etc.) which are, for all intents and purposes, invisible. These changes will stay with the Pokemon forever regardless of evolution so it should be exactly what you're looking for. When you need to check for that specific Pokemon in a script, you will be able detect the changes and then continue on from there.

                                Off the top of my head, I'm not sure how you would be able to differentiate Pokemon in an unmodified engine (other than using ASM to get the job done). Hopefully this helps.

                                Quote:
                                Originally Posted by movieguy12 View Post
                                Hello I finally got a snivy sprite,info and a lvl script in pokemon ruby. Now how do I add a icon to snivy in the pokemon party box?! Please and thanks!
                                You can use Wichu's Icon Editor to edit the small pictures of Pokemon that you see in your party/ PC.
                                __________________
                                  #20119    
                                Old December 15th, 2011 (8:22 PM).
                                movieguy12 movieguy12 is offline
                                   
                                  Join Date: Mar 2006
                                  Nature: Adamant
                                  Posts: 65
                                  Quote:
                                  Originally Posted by DrFuji View Post
                                  Sorry, but I can't really understand your question. If I'm interpreting it correctly, you're asking how can you go about distinguishing a single Pokemon from others of the same species that you could catch in the wild - Is that correct?

                                  If you're using JPAN's Hacked FR Engine, you could do this by giving the Pokemon you want to differentiate increased contest stats (Cool, Tough, Smart etc.) which are, for all intents and purposes, invisible. These changes will stay with the Pokemon forever regardless of evolution so it should be exactly what you're looking for. When you need to check for that specific Pokemon in a script, you will be able detect the changes and then continue on from there.

                                  Off the top of my head, I'm not sure how you would be able to differentiate Pokemon in an unmodified engine (other than using ASM to get the job done). Hopefully this helps.



                                  You can use Wichu's Icon Editor to edit the small pictures of Pokemon that you see in your party/ PC.

                                  Idk if this matters but this not a pokemon I replaced it is one of the 25 free slots...so can I still use that program?
                                    #20120    
                                  Old December 15th, 2011 (8:28 PM).
                                  DrFuji's Avatar
                                  DrFuji DrFuji is offline
                                  Heiki Hecchara‌‌
                                  • Crystal Tier
                                   
                                  Join Date: Sep 2009
                                  Location: Downia-upside
                                  Age: 24
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 1,326
                                  Quote:
                                  Originally Posted by movieguy12 View Post
                                  Idk if this matters but this not a pokemon I replaced it is one of the 25 free slots...so can I still use that program?
                                  The thread information about the tool says that you can repoint the ???????? icons with it, so it should be okay to use.
                                  __________________
                                    #20121    
                                  Old December 15th, 2011 (8:45 PM). Edited December 15th, 2011 by movieguy12.
                                  movieguy12 movieguy12 is offline
                                     
                                    Join Date: Mar 2006
                                    Nature: Adamant
                                    Posts: 65
                                    Quote:
                                    Originally Posted by DrFuji View Post
                                    The thread information about the tool says that you can repoint the ???????? icons with it, so it should be okay to use.
                                    awesome, but after looking it over I really don't understand how "add" snivys icon into Any program...
                                    Idk if I'm suppose to index his icon
                                    Idk how to load it into a program
                                    Again I'm not wanting to replace any other icon but wanting to add...


                                    i dont expect you to answer those just maybe a tutorial.

                                    thanks so much this is the last thing stoping me from fully enjoying ruby with my snivy :)

                                    Also jw is there any hacks that allow me to put snivy in pearl or platinum or diamond?
                                      #20122    
                                    Old December 15th, 2011 (11:27 PM).
                                    colcolstyles's Avatar
                                    colcolstyles colcolstyles is offline
                                    Yours truly
                                    • Crystal Tier
                                     
                                    Join Date: May 2008
                                    Location: The Bay Area
                                    Gender: Male
                                    Nature: Lonely
                                    Posts: 1,584
                                    Quote:
                                    Originally Posted by The Fanciful Cerberus View Post
                                    I'm having problems with my XSE too, actually. Sometimes it just refuses to save my script changes when I try to compile them for advance map. I'll change some stuff and the compile process will happen, but when I open it from am again everything has reverted back. I've tried restarting XSE and Advance Map, but nothing seems to work. It's really frustrating. >.<

                                    (For anyone who's curious, by the way, I found where your starting location is stored in Fire Red so you can edit it in Hex.)
                                    I can't say for sure what the problem is but I've heard of AdvanceMap locking up your ROM. Essentially, if you open your ROM in AdvanceMap, then compile a script with XSE, and then make a change in AdvanceMap without re-opening your ROM it may revert to the version before you compiled the script (in essence undoing the script compilation). Again, I don't know if that's what's happening but I've had the problem happen to me with other tools so it's a possibility.
                                    __________________

                                    Brother of Vrai
                                      #20123    
                                    Old December 16th, 2011 (8:04 AM).
                                    EdensElite's Avatar
                                    EdensElite EdensElite is offline
                                    No0b, but getting there.
                                       
                                      Join Date: Jun 2011
                                      Location: UK
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 190
                                      Quote:
                                      Originally Posted by The Fanciful Cerberus View Post
                                      Do you know what offset his speech is at?
                                      It would be attached to his OW in A-Map.
                                      __________________

                                      ROM Hacking was getting frustrating for me. I've now stopped productions and writing the game from scratch in HTML 5.

                                      That means it will be playable in the browser, and across multiple devices such as the iPod touch.
                                        #20124    
                                      Old December 16th, 2011 (1:35 PM). Edited December 16th, 2011 by The Fanciful Cerberus.
                                      The Fanciful Cerberus The Fanciful Cerberus is offline
                                         
                                        Join Date: Dec 2011
                                        Gender: Male
                                        Posts: 12
                                        Is there a way to make an animation play when my Abra overworld Teleports? I can definately think of some really roundabout ways of doing it, but is there a simple command or script I could write that would let me access that animation for a moment?
                                          #20125    
                                        Old December 16th, 2011 (4:19 PM).
                                        romancandle romancandle is offline
                                           
                                          Join Date: Oct 2009
                                          Gender: Male
                                          Nature: Adamant
                                          Posts: 72
                                          Does anyone know how Nature names are stored in FireRed? I wanna rename them in a hack, but I don't know where they are and if they're images or just text somewhere in the ROM.
                                          Closed Thread
                                          Quick Reply

                                          Sponsored Links
                                          Thread Tools

                                          Posting Rules
                                          You may not post new threads
                                          You may not post replies
                                          You may not post attachments
                                          You may not edit your posts

                                          BB code is On
                                          Smilies are On
                                          [IMG] code is On
                                          HTML code is Off

                                          Forum Jump


                                          All times are GMT -8. The time now is 5:40 AM.