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

Draconius GO
Closed Thread
 
Thread Tools
  #9576    
Old May 29th, 2009 (12:20 AM).
Wiimeiser Wiimeiser is offline
     
    Join Date: May 2009
    Gender:
    Nature: Quirky
    Posts: 27
    Quote:
    Hey,

    Thanks Christos and Prof.9,

    This is to do with scripting again I'm afraid (only started learning last night).

    I'm fine with getting someone to say for example:

    "Here have my Charizard." and then for you to recieve a charizard however if you keep talking to them you keep getting a charizard.

    So I thought I'd try and make it so you get one and thats it which i presumed flags were necessary for. I've done some script but its not right somewhere and i was just hoping that someone would be able to explain what I need to add/change.

    This is the script:

    #org 0x800000
    setflag 0x64
    checkflag 0x64
    compare LASTRESULT YES
    if 1 0x800200
    message 0x800100
    boxset 0x2
    clearflag 0x64
    end
    #org 0x800100
    = Here, take my Charizard.
    #org 0x800200
    givepokemon 0x06 0x1E 0x118

    any help appreiciated,
    -Davie-
    Found that there on page 1.
    I'm having a similar problem. Item balls I place won't disappear when I pick them up. I've searched through the script (below) and I've done all I can think of...
    Quote:
    '---------------
    #org 0x16C449
    lock
    faceplayer
    setvar 0x4001 0x85
    givepokemon 0x185 0x19 0x0 0x0 0x0 0x0
    compare LASTRESULT 0x0
    if 0x1 goto 0x816C482
    compare LASTRESULT 0x1
    if 0x1 goto 0x816C4B6
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A9258
    release
    end
    '---------------
    #org 0x16C482
    hidesprite 0x9
    fanfare 0x101
    preparemsg 0x819656D '"[player] obtained an EEVEE!"
    waitmsg
    waitfanfare
    bufferpokemon 0x0 0x85
    msgbox 0x81A5683 MSG_YESNO '"Do you want to give a nickname to\..."
    compare LASTRESULT 0x0
    if 0x1 goto 0x816C4F0
    call 0x81A8C03
    call 0x81A74C7
    goto 0x816C4F0
    '---------------
    #org 0x16C4B6
    hidesprite 0x9
    fanfare 0x101
    preparemsg 0x819656D '"[player] obtained an EEVEE!"
    waitmsg
    waitfanfare
    bufferpokemon 0x0 0x85
    msgbox 0x81A5683 MSG_YESNO '"Do you want to give a nickname to\..."
    compare LASTRESULT 0x0
    if 0x1 goto 0x816C4E5
    call 0x81A8C0F
    goto 0x816C4E5
    '---------------
    #org 0x1A9258
    textcolor 0x3
    msgbox 0x81A5E0D MSG_KEEPOPEN '"There's no more room for POKéMON!\..."
    release
    end
    '---------------
    #org 0x16C4F0
    setflag 0x263
    release
    end
    '---------------
    #org 0x1A8C03
    countpokemon
    subvar LASTRESULT 0x1
    copyvar 0x8004 LASTRESULT
    return
    '---------------
    #org 0x1A74C7
    fadescreen 0x1
    special 0x9E
    waitstate
    return
    '---------------
    #org 0x16C4E5
    call 0x81A8C18
    goto 0x816C4F0
    '---------------
    #org 0x1A8C0F
    fadescreen 0x1
    special 0x166
    waitstate
    lock
    faceplayer
    return
    '---------------
    #org 0x1A8C18
    bufferboxname 0x0 0x4037
    bufferpokemon 0x1 0x4001
    checkflag 0x834
    if 0x0 call 0x81A8C33
    checkflag 0x834
    if 0x1 call 0x81A8C5E
    return
    '---------------
    #org 0x1A8C33
    special2 LASTRESULT 0x165
    compare LASTRESULT 0x1
    if 0x1 goto 0x81A8C4C
    msgbox 0x81A5CCD MSG_KEEPOPEN '"[buffer2] was transferred to\nSome..."
    return
    '---------------
    #org 0x1A8C5E
    special2 LASTRESULT 0x165
    compare LASTRESULT 0x1
    if 0x1 goto 0x81A8C77
    msgbox 0x81A5D0D MSG_KEEPOPEN '"[buffer2] was transferred to\nBILL..."
    return
    '---------------
    #org 0x1A8C4C
    special2 LASTRESULT 0x18A
    bufferboxname 0x2 LASTRESULT
    msgbox 0x81A5D4A MSG_KEEPOPEN '"BOX ["][buffer3]" on\nSomeone's PC..."
    return
    '---------------
    #org 0x1A8C77
    special2 LASTRESULT 0x18A
    bufferboxname 0x2 LASTRESULT
    msgbox 0x81A5D8D MSG_KEEPOPEN '"BOX ["][buffer3]" on\nBILL'S PC wa..."
    return

    '---------
    ' Strings
    '---------
    #org 0x19656D
    = [player] obtained an EEVEE!
    #org 0x1A5683
    = Do you want to give a nickname to\nthis [buffer1]?
    #org 0x1A5E0D
    = There's no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan't accept any more!
    #org 0x1A5CCD
    = [buffer2] was transferred to\nSomeone's PC.\pIt was placed in \nBOX ["][buffer1]."
    #org 0x1A5D0D
    = [buffer2] was transferred to\nBILL'S PC.\pIt was placed in \nBOX ["][buffer1]."
    #org 0x1A5D4A
    = BOX ["][buffer3]" on\nSomeone's PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."
    #org 0x1A5D8D
    = BOX ["][buffer3]" on\nBILL'S PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."
    BTW, I haven't decided what Pokemon to give yet, I changed 85 (Eevee) to 185 (Cradily) though.


    @Bozter
    The only thing I can think of is to modify the actual graphics somehow instead of using another tileset. That always works.

    Relevant Advertising!

      #9577    
    Old May 29th, 2009 (12:49 AM).
    PastaPen PastaPen is offline
       
      Join Date: Oct 2008
      Posts: 48
      @Bozster that happens to me too... I can't find a solution but a safer way is backing up your tilesets, 'cos if it messes up your other blocks just load up your tilesets, again so you won't have to start your game again.
        #9578    
      Old May 29th, 2009 (2:38 AM).
      TomByrne TomByrne is offline
         
        Join Date: May 2009
        Gender:
        Posts: 6
        Hi im intrested in making a TOTALY different game based on Pokemon Fire Red... i wonna changed almost everything that happens, get rid of Prof. Oaks
        Opening ect... i've looked around but i cant really get a stright answer what tools do i need specificly for Fire Red? Especcialy Scripting tool... and maybe a few Usefull TuTs...
          #9579    
        Old May 29th, 2009 (2:47 AM).
        PastaPen PastaPen is offline
           
          Join Date: Oct 2008
          Posts: 48
          Quote:
          Originally Posted by TomByrne View Post
          Hi im intrested in making a TOTALY different game based on Pokemon Fire Red... i wonna changed almost everything that happens, get rid of Prof. Oaks
          Opening ect... i've looked around but i cant really get a stright answer what tools do i need specificly for Fire Red? Especcialy Scripting tool... and maybe a few Usefull TuTs...
          There's loads of tools, and not just specific for FR, Check out the "Toolbox" and the "Documents and Tutorials" section, under "Emulation". As for Scripting there's many tutorials for that in Documents and Tutorials, there's 2 main scripting tools, (That I know of) called XSE or Pokescript I think you get can them both from Toolbox.
            #9580    
          Old May 29th, 2009 (3:02 AM).
          onyx79's Avatar
          onyx79 onyx79 is offline
          Red Dead Revolver
             
            Join Date: Jan 2009
            Location: Orange Islands (=
            Gender: Male
            Nature: Modest
            Posts: 503
            is there any way to make mew obey in fire red or not?
              #9581    
            Old May 29th, 2009 (4:15 AM).
            TomByrne TomByrne is offline
               
              Join Date: May 2009
              Gender:
              Posts: 6
              Once i have made a script in a .txt file how do i import it/use it with my ROM?
                #9582    
              Old May 29th, 2009 (4:41 AM).
              onyx79's Avatar
              onyx79 onyx79 is offline
              Red Dead Revolver
                 
                Join Date: Jan 2009
                Location: Orange Islands (=
                Gender: Male
                Nature: Modest
                Posts: 503
                Quote:
                Originally Posted by TomByrne View Post
                Once i have made a script in a .txt file how do i import it/use it with my ROM?
                you need to search free space for it,put the code you found on the person at A-MAP.then click open script on the map the script will show only the offset that you found then insert the script then click compile.
                and please someone answer my question about mew....
                  #9583    
                Old May 29th, 2009 (4:44 AM).
                Pokepal17's Avatar
                Pokepal17 Pokepal17 is offline
                More cowbell~
                • Silver Tier
                 
                Join Date: Oct 2008
                Location: Steeltown
                Age: 23
                Gender: Male
                Nature: Modest
                Posts: 1,517
                Quote:
                Originally Posted by onyx79 View Post
                you need to search free space for it,put the code you found on the person at A-MAP.then click open script on the map the script will show only the offset that you found then insert the script then click compile.
                and please someone answer my question about mew....
                The scripting command setobedience.
                __________________
                Pokémon Stardrop
                  #9584    
                Old May 29th, 2009 (5:51 AM).
                mrhiyuck's Avatar
                mrhiyuck mrhiyuck is offline
                //
                   
                  Join Date: Sep 2007
                  Posts: 29
                  Does anyone know of a program or way to convert bmp or png files to 0-F text like in Poketex? Or is there a term to describe the text to properly search for one?



                  Thanks,
                  mrhiyuck
                    #9585    
                  Old May 29th, 2009 (6:06 AM).
                  Tropical Sunlight's Avatar
                  Tropical Sunlight Tropical Sunlight is offline
                  The Faltine
                     
                    Join Date: Mar 2008
                    Location: Slovenia
                    Age: 21
                    Gender: Male
                    Posts: 3,578
                    Does anyone know if I can import indexed sprites into OWEditorRE?
                    The way you can import PKMN in UnLZ?
                    __________________
                      #9586    
                    Old May 29th, 2009 (6:12 AM).
                    Logan's Avatar
                    Logan Logan is offline
                    • Platinum Tier
                     
                    Join Date: Nov 2008
                    Location: Salisbury, England
                    Age: 22
                    Gender: Male
                    Nature: Sassy
                    Posts: 10,040
                    Quote:
                    Originally Posted by ~Watermelon View Post
                    Does anyone know if I can import indexed sprites into OWEditorRE?
                    The way you can import PKMN in UnLZ?
                    Yup, you just import bitmap file and your done. Then you fix a few things up xD
                      #9587    
                    Old May 29th, 2009 (6:17 AM).
                    thedootmaster's Avatar
                    thedootmaster thedootmaster is offline
                    Banned
                       
                      Join Date: Apr 2009
                      Location: in a house you idiot
                      Age: 21
                      Gender: Male
                      Nature: Modest
                      Posts: 33
                      I was wondering how to post a map on the map rating thread off of advance map when i try to save it and upload it the file it is not a picture file?? please help...
                        #9588    
                      Old May 29th, 2009 (6:17 AM). Edited May 29th, 2009 by Bozster.
                      Bozster's Avatar
                      Bozster Bozster is offline
                      Chief Lunatic
                         
                        Join Date: Jul 2008
                        Gender: Male
                        Posts: 101
                        Quote:
                        Originally Posted by ~Watermelon View Post
                        Does anyone know if I can import indexed sprites into OWEditorRE?
                        The way you can import PKMN in UnLZ?
                        That should be possible, as long as it does not have more than 16 colours. If that doesn't work, paste it onto paint and save to un-indexify it.

                        Btw: Firaaz, Wiimeiser, thanks for the responses.

                        Quote:
                        Originally Posted by thedootmaster View Post
                        I was wondering how to post a map on the map rating thread off of advance map when i try to save it and upload it the file it is not a picture file?? please help...
                        If you can't save the map, just press the 'Print Screen' key on your keyboard then paste it onto Paint or something and save it. If the map is too big to fit into the screen, just copy and paste it in chunks.
                          #9589    
                        Old May 29th, 2009 (4:13 PM).
                        metapod23's Avatar
                        metapod23 metapod23 is offline
                        Hardened Trainer
                           
                          Join Date: Mar 2009
                          Gender: Male
                          Nature: Timid
                          Posts: 673
                          Quote:
                          Originally Posted by metapod23 View Post
                          I need to know if there's a way (a special command or something) to reset the sprite of the main character to its walking sprite after initiating the special 0x157 bike command. I just want the character to instantly get off the bike and be walking again. Is this possible?
                          Just reposting this. Any way to automatically get the player off the bike that doesn't look too funky? I even tried a doanimation script, but the only one that made it work was the fly animation, which then made the sprite move extra fast for some reason. Is there any script I can use to force the main character from the bike sprite to the normal walking sprite?
                            #9590    
                          Old May 29th, 2009 (5:33 PM).
                          Wiimeiser Wiimeiser is offline
                             
                            Join Date: May 2009
                            Gender:
                            Nature: Quirky
                            Posts: 27
                            Isn't anyone going to help me? I'm no good at scripting...
                              #9591    
                            Old May 30th, 2009 (1:10 AM).
                            Bozster's Avatar
                            Bozster Bozster is offline
                            Chief Lunatic
                               
                              Join Date: Jul 2008
                              Gender: Male
                              Posts: 101
                              Sorry, Wiimeiser and metapod23, but I don't know anythig about scripting.
                              I have my own question.
                              How do you make it so that on a map you can run but can't use a bicycle, like in the Cave of Origin? I want it so that you can run indoors, like in D/P/P.
                                #9592    
                              Old May 30th, 2009 (1:19 AM).
                              Pokepal17's Avatar
                              Pokepal17 Pokepal17 is offline
                              More cowbell~
                              • Silver Tier
                               
                              Join Date: Oct 2008
                              Location: Steeltown
                              Age: 23
                              Gender: Male
                              Nature: Modest
                              Posts: 1,517
                              Quote:
                              Originally Posted by Bozster View Post
                              Sorry, Wiimeiser and metapod23, but I don't know anythig about scripting.
                              I have my own question.
                              How do you make it so that on a map you can run but can't use a bicycle, like in the Cave of Origin? I want it so that you can run indoors, like in D/P/P.
                              I know that to run indoors, you should use map type 02. I'm not entirely sure of how to not use the bike inddors, mybe it's the map type of indoor. Experiment with it and see what you can find
                              __________________
                              Pokémon Stardrop
                                #9593    
                              Old May 30th, 2009 (11:19 AM).
                              CureYoshiDarkness's Avatar
                              CureYoshiDarkness CureYoshiDarkness is offline
                              CATCH PHRASE!
                              • Crystal Tier
                               
                              Join Date: May 2008
                              Location: Hoenn's Trumpet
                              Gender: Male
                              Nature: Gentle
                              Posts: 1,094
                              I'm in need of assistance.
                              Does anyone know to find the offsets in APE?
                              I try Unlz-GBA, Hex Editors, you name it. I still can't
                              find a tutorial on how to use the program. None of the ones
                              I've found work. So, any help?

                              (BTW, you know the FireRed Hero, in the intro? I'm trying to
                              find his palette, but I can not find it!)
                              __________________


                                #9594    
                              Old May 30th, 2009 (11:30 AM).
                              Aljam's Avatar
                              Aljam Aljam is offline
                              Pierce the heavens
                              • Gold Tier
                               
                              Join Date: Jul 2008
                              Location: Canada
                              Age: 24
                              Gender: Male
                              Nature: Modest
                              Posts: 583
                              Quote:
                              Originally Posted by Bozster View Post
                              Archon-you have to download Sappy from a more reliable source.
                              Sappy does not need to be in system32. The problem is, if you download it from Mahgnius (this site) it will be missing one of it's ActiveX components which it needs to work. There are actually download scripts for vbaCbEx6 if you google it, so nothing to worry about .
                              Oh, finally: don't put Sappy in the C:\ Disk - it won't like it.



                              Any response would be appreciated! It has been the 5th time this question has been skipped (SOB!)!
                              I wasn't talking about sappy, i was talking about vbaCbEx6.ocx. I registered that and it said it was outdated. I downloaded and registered it in the command prompt (regsvr32) multiple vbalCbEx6.ocx and i got the same error. ill look for those download scripts though.
                              __________________
                              Paired with Druyii.
                                #9595    
                              Old May 30th, 2009 (2:05 PM).
                              Ninja Caterpie's Avatar
                              Ninja Caterpie Ninja Caterpie is offline
                              Sitting by the back window
                                 
                                Join Date: Mar 2008
                                Location: Best City OCE
                                Age: 21
                                Gender: Male
                                Nature: Bold
                                Posts: 5,988
                                I'm pretty sure it's just your computer...

                                I had it on my old one, never got it to work.

                                Now, on my NEW one, it DOES work.
                                __________________
                                Brony represent.
                                  #9596    
                                Old May 30th, 2009 (2:51 PM).
                                Pokepal17's Avatar
                                Pokepal17 Pokepal17 is offline
                                More cowbell~
                                • Silver Tier
                                 
                                Join Date: Oct 2008
                                Location: Steeltown
                                Age: 23
                                Gender: Male
                                Nature: Modest
                                Posts: 1,517
                                Quote:
                                Originally Posted by Archon View Post
                                I wasn't talking about sappy, i was talking about vbaCbEx6.ocx. I registered that and it said it was outdated. I downloaded and registered it in the command prompt (regsvr32) multiple vbalCbEx6.ocx and i got the same error. ill look for those download scripts though.
                                Hey just download Sappy from the E-map homepage and delete your old Sappy. Then it should work fine and you shouldn't get any greif. I know because I did that yesterday and it worked
                                __________________
                                Pokémon Stardrop
                                  #9597    
                                Old May 31st, 2009 (1:18 AM). Edited May 31st, 2009 by 874521.
                                874521's Avatar
                                874521 874521 is offline
                                School days again...
                                   
                                  Join Date: Dec 2008
                                  Location: Philippines
                                  Age: 20
                                  Gender: Female
                                  Nature: Naughty
                                  Posts: 507
                                  1. When you're importing overworld sprites, should it be indexed?
                                  2. How do you insert new tiles?
                                  __________________
                                  Hacks I Support:
                                  Pokemon Ametrino





                                  --------------------------
                                  My Thread: http://www.pokecommunity.com/showthread.php?t=201787
                                  Post your suggestions on my thread.
                                  Contains DPP and HGSS Tiles and Overworlds!



                                  874521 Pair up with Napalm
                                    #9598    
                                  Old May 31st, 2009 (2:08 AM).
                                  Yummeh.Strawberriez's Avatar
                                  Yummeh.Strawberriez Yummeh.Strawberriez is offline
                                  Mapper/OW Spriter (:
                                     
                                    Join Date: Mar 2009
                                    Location: Littleroot Town Ftw
                                    Nature: Jolly
                                    Posts: 10
                                    Hey, i was wondering if someone could help me.
                                    I've recently started scripting a little more in depth, and i'm confused.
                                    I think its more of a software issue, seeing as each scripter has a different language.
                                    I am using PKSV-UI at the moment, and so far has been fine.
                                    But, some scripts just seem to hate me, i try to put flags into the scripts.
                                    But the script messes up big time, comes up with endless rows of:
                                    #raw 65
                                    #raw 57
                                    #raw 34
                                    #raw 45...
                                    And so on, but i have no idea why, and flags are essential to every hack.
                                    If anyone has any ideas at all, i would be grateful, and if needed, i will post a section of the script.

                                    And just to make sure, i know the PKSV scripts differently to XSE and Poketscript,
                                    But i looked at the script of a later event, and i flagged in the same way;

                                    setflag 0x----
                                    checkflag 0x----
                                    if 0x0/0x1 jump @----

                                    Is this correct?

                                    Thanks,
                                    Geo.
                                    __________________
                                    Pokémon Rhenic/Poptart Creator (:

                                    Happy to help anyone in need of a mapper/OW Spriter.
                                      #9599    
                                    Old May 31st, 2009 (9:49 AM).
                                    onyx79's Avatar
                                    onyx79 onyx79 is offline
                                    Red Dead Revolver
                                       
                                      Join Date: Jan 2009
                                      Location: Orange Islands (=
                                      Gender: Male
                                      Nature: Modest
                                      Posts: 503
                                      is there any way to make mew obey in fire red?????
                                        #9600    
                                      Old May 31st, 2009 (11:25 AM).
                                      Bozster's Avatar
                                      Bozster Bozster is offline
                                      Chief Lunatic
                                         
                                        Join Date: Jul 2008
                                        Gender: Male
                                        Posts: 101
                                        Quote:
                                        Originally Posted by onyx79 View Post
                                        is there any way to make mew obey in fire red?????
                                        Firstly, where did you get said Mew? The only way to make him obey that I know of is to catch him legit. (by hacking. Make a Mew sprite that battles you, like other legendaries. Otherwise, use the script command "setobedience(Thank You Pokepal 17!)" somewhere).
                                        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 2:48 AM.