The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tool PKSV - Pokémon Script Editor + GUI

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Closed Thread
 
Thread Tools
  #451    
Old August 1st, 2009 (7:28 AM).
Mkmaster2400 Mkmaster2400 is offline
     
    Join Date: Jul 2009
    Age: 32
    Gender: Male
    Nature: Quiet
    Posts: 13
    Ok and how about making a pokemon event. what do I have to do. I want to battle lugia on route 1. Thanks.

    Relevant Advertising!

      #452    
    Old August 1st, 2009 (8:15 AM).
    NarutoActor's Avatar
    NarutoActor NarutoActor is offline
    The rocks cry out to me
    • Silver Tier
     
    Join Date: Jan 2009
    Location: Brooklyn/Marlboro
    Age: 23
    Gender: Female
    Nature: Bashful
    Posts: 1,979
    Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
    Quote:
    Originally Posted by Mkmaster2400 View Post
    Ok and how about making a pokemon event. what do I have to do. I want to battle lugia on route 1. Thanks.
    i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one
    __________________
    ~There are those people who understand hex, F the rest
      #453    
    Old August 1st, 2009 (8:26 AM).
    0m3GA ARS3NAL's Avatar
    0m3GA ARS3NAL 0m3GA ARS3NAL is offline
    Im comin' home...
    • Silver Tier
     
    Join Date: Jan 2008
    Location: Superjail Penitentiary
    Age: 24
    Gender: Male
    Nature: Gentle
    Posts: 1,812
    Quote:
    Originally Posted by narutoactor View Post
    i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one
    LIES, XSE is also an option.
    And I don't see why anyone would use Poketronic anymore... OLD tool
    __________________
    >Boot Jailbot
    >Pass *****
    .
    .
    Jailbot OS Ver 1.1.2
    Greetings Warden
    of Superjail Penitentiary
    Awaiting user input...

    >Display User_Info
    ╠══User Info══╣
    Username:
    0m3GA ARS3NAL
    Age: 18
    Sex: Male ♂
    Race: Caucasian
    Quote:
    "What is this
    I don't even..."

    M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
    ╠══End of File══╣
    Awaiting user input...

    >
      #454    
    Old August 1st, 2009 (8:29 AM).
    NarutoActor's Avatar
    NarutoActor NarutoActor is offline
    The rocks cry out to me
    • Silver Tier
     
    Join Date: Jan 2009
    Location: Brooklyn/Marlboro
    Age: 23
    Gender: Female
    Nature: Bashful
    Posts: 1,979
    Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
    Quote:
    Originally Posted by 0m3GA ARS3NAL View Post
    LIES, XSE is also an option.
    And I don't see why anyone would use Poketronic anymore... OLD tool
    sorry but this is pksv thread not xse and osseously this person is a beginner a pksv is better for beginners and just because its old dosent mean its not good
    __________________
    ~There are those people who understand hex, F the rest
      #455    
    Old August 1st, 2009 (8:47 AM).
    0m3GA ARS3NAL's Avatar
    0m3GA ARS3NAL 0m3GA ARS3NAL is offline
    Im comin' home...
    • Silver Tier
     
    Join Date: Jan 2008
    Location: Superjail Penitentiary
    Age: 24
    Gender: Male
    Nature: Gentle
    Posts: 1,812
    Quote:
    Originally Posted by narutoactor View Post
    sorry but this is pksv thread not xse and osseously this person is a beginner a pksv is better for beginners and just because its old dosent mean its not good
    I am just saying XSE because you don't learn anything from a script generator, and hackers today won't make it anywhere if they don't learn anything.
    How do you think Liquid Crystal and Shiny gold were made, script generators? I think not. (And the scripters for those hacks were beginners at one point, now they are GREAT at scripting, because they practiced.)
    Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
    /discussion
    __________________
    >Boot Jailbot
    >Pass *****
    .
    .
    Jailbot OS Ver 1.1.2
    Greetings Warden
    of Superjail Penitentiary
    Awaiting user input...

    >Display User_Info
    ╠══User Info══╣
    Username:
    0m3GA ARS3NAL
    Age: 18
    Sex: Male ♂
    Race: Caucasian
    Quote:
    "What is this
    I don't even..."

    M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
    ╠══End of File══╣
    Awaiting user input...

    >
      #456    
    Old August 1st, 2009 (9:16 AM).
    NarutoActor's Avatar
    NarutoActor NarutoActor is offline
    The rocks cry out to me
    • Silver Tier
     
    Join Date: Jan 2009
    Location: Brooklyn/Marlboro
    Age: 23
    Gender: Female
    Nature: Bashful
    Posts: 1,979
    Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
    Quote:
    Originally Posted by 0m3GA ARS3NAL View Post
    I am just saying XSE because you don't learn anything from a script generator, and hackers today won't make it anywhere if they don't learn anything.
    How do you think Liquid Crystal and Shiny gold were made, script generators? I think not. (And the scripters for those hacks were beginners at one point, now they are GREAT at scripting, because they practiced.)
    Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
    /discussion
    yeah but for a quick script its oaky thats why they have generators
    __________________
    ~There are those people who understand hex, F the rest
      #457    
    Old August 1st, 2009 (10:11 AM). Edited August 1st, 2009 by Mkmaster2400.
    Mkmaster2400 Mkmaster2400 is offline
       
      Join Date: Jul 2009
      Age: 32
      Gender: Male
      Nature: Quiet
      Posts: 13
      Quote:
      Originally Posted by narutoactor View Post
      i dont know why you would want that but you have two chocies A use pksv script generater and the battle wild pokemon or use poketronic and edit a difent legendary or copy birth islands lugias script and past it on route one

      I'm doing it just to test some stuff. I just want to see how that would work. Thanks for the info.

      Oh and one more thing. I used the script generator to make a script where you find a pokeball with 15 masterballs in it. When I Tested it in the emulator, It was a person, and not a pokeball and the game crashed when I tried to see what would happen if I talked to it.
        #458    
      Old August 1st, 2009 (10:14 AM).
      NarutoActor's Avatar
      NarutoActor NarutoActor is offline
      The rocks cry out to me
      • Silver Tier
       
      Join Date: Jan 2009
      Location: Brooklyn/Marlboro
      Age: 23
      Gender: Female
      Nature: Bashful
      Posts: 1,979
      Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
      your welcome hope it helps if your just testing try reading and editing old scripts and see what your changes do this was usefull to me when I started learning
      __________________
      ~There are those people who understand hex, F the rest
        #459    
      Old August 1st, 2009 (10:17 AM). Edited August 1st, 2009 by Rocket Grunt Kyle.
      Rocket Grunt Kyle's Avatar
      Rocket Grunt Kyle Rocket Grunt Kyle is offline
         
        Join Date: Aug 2009
        Location: Western New York
        Age: 29
        Gender: Male
        Nature: Gentle
        Posts: 11
        Edit:

        Excuse this post, I figured it out!


        Thank you for your help!!!




        -Kyle
          #460    
        Old August 1st, 2009 (2:24 PM).
        Mkmaster2400 Mkmaster2400 is offline
           
          Join Date: Jul 2009
          Age: 32
          Gender: Male
          Nature: Quiet
          Posts: 13
          Ok there is one more thing I am stuck on.
          When I put the flag to 0x200 Is that exactly what I put into advanced map? Do I put the 0x200 or just 200 or 0200? Thats the last thing I'll need help with. Oh and what type of event do I pick in advanced map for pokemon battles? Sorry I'm such a noob.
            #461    
          Old August 1st, 2009 (2:53 PM).
          NarutoActor's Avatar
          NarutoActor NarutoActor is offline
          The rocks cry out to me
          • Silver Tier
           
          Join Date: Jan 2009
          Location: Brooklyn/Marlboro
          Age: 23
          Gender: Female
          Nature: Bashful
          Posts: 1,979
          Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
          Quote:
          Originally Posted by Mkmaster2400 View Post
          Ok there is one more thing I am stuck on.
          When I put the flag to 0x200 Is that exactly what I put into advanced map? Do I put the 0x200 or just 200 or 0200? Thats the last thing I'll need help with. Oh and what type of event do I pick in advanced map for pokemon battles? Sorry I'm such a noob.
          in the pesone event put 0200 and if you want the wild battle to activate when you click a on a ow sprite the script should be a person event if you want the wild battle to start when you step on a tile then just a script event hope this help
          __________________
          ~There are those people who understand hex, F the rest
            #462    
          Old August 1st, 2009 (3:46 PM).
          Mkmaster2400 Mkmaster2400 is offline
             
            Join Date: Jul 2009
            Age: 32
            Gender: Male
            Nature: Quiet
            Posts: 13
            What do I put as the person ID?
            Ok this is what I did.
            1. Used the script generator to make the script.
            2. Hit f9
            3. put the script offset to 0x200. Now what?
              #463    
            Old August 1st, 2009 (4:27 PM).
            NarutoActor's Avatar
            NarutoActor NarutoActor is offline
            The rocks cry out to me
            • Silver Tier
             
            Join Date: Jan 2009
            Location: Brooklyn/Marlboro
            Age: 23
            Gender: Female
            Nature: Bashful
            Posts: 1,979
            Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
            yeah put pesone ID 0200
            okay did you get it yet
            __________________
            ~There are those people who understand hex, F the rest
              #464    
            Old August 1st, 2009 (4:39 PM).
            Mkmaster2400 Mkmaster2400 is offline
               
              Join Date: Jul 2009
              Age: 32
              Gender: Male
              Nature: Quiet
              Posts: 13
              wait so whats the script offset? this is the script
              #dyn 0x740000
              #org @start
              special 0x187
              compare LASTRESULT 2
              if == jump 0x81A7AE0
              special 0x188
              lock
              faceplayer
              checksound
              cry RAYQUAZA 2
              waitcry
              pause 0x14
              playsound 0x156 0x0
              battle RAYQUAZA 15 POTION
              setflag 0x807
              special 0x138
              waitspecial
              clearflag 0x807
              special2 0x800D 0xB4
              compare LASTRESULT 1
              if == jump 0x8162558
              compare LASTRESULT 4
              if == jump 0x8162561
              compare LASTRESULT 5
              if == jump 0x8162561
              setflag 0x200
              release
              end

              What number is the script offset? the 740000?
                #465    
              Old August 1st, 2009 (4:44 PM).
              score_under's Avatar
              score_under score_under is offline
              I program the *other* ASM.
              • Crystal Tier
               
              Join Date: Aug 2005
              Location: Hertfordshire, England
              Age: 24
              Nature: Rash
              Posts: 525
              Quote:
              Originally Posted by 0m3GA ARS3NAL View Post
              Yes, I am an XSE fanboy, but only because it teaches you things, not does everything for you.
              /discussion
              I have yet to see anything learned from XSE that can not be learned as easily, if not more easily, from PKSV.
              Having a script generator provides easy access to common scripts, and should not be relied on. However, you can still reverse-engineer the generated scripts and learn from them.

              Also, 0m3GA, try PKSV for a little while... you will like it. (See the Flag Skeleton 2 in the script generator for one of my favourite (from a programmer's PoV) features.)
              Quote:
              Originally Posted by narutoactor View Post
              yeah but for a quick script its oaky thats why they have generators
              And is also why I added, for example, the quick starter script for testing a hack, and the flag skeleton scripts. I take almost all script generator suggestions (rejecting only those that are just not common enough to warrant quick pasting everywhere).

              Quote:
              Originally Posted by techie775 View Post
              I tried doing script for entei now and I used the script generator, battle pokemon , but when I decomplie it all it says is a bunch of raw 0XFF lines and then crashes. Do I have to put #org @start in the first line in the decompling box

              Spoiler:
              #dyn 0x8750000
              #org @start
              special 0x187
              compare LASTRESULT 2
              if == jump 0x81A7AE0
              special 0x188
              lock
              faceplayer
              checksound
              cry ENTEI 2
              waitcry
              pause 0x14
              playsound 0x156 0x0
              battle ENTEI 50 NONE
              setflag 0x807
              special 0x138
              waitspecial
              clearflag 0x807
              special2 0x800D 0xB4
              compare LASTRESULT 1
              if == jump 0x8162558
              compare LASTRESULT 4
              if == jump 0x8162561
              compare LASTRESULT 5
              if == jump 0x8162561
              setflag 0x223
              release
              end


              this is all gone when you decompile it and gives a jump 0xFFFFFFFF I don't know if I'm doing something wrong with the dyn# in the offset box or what.
              You're most likely putting the number in "#dyn" in the offset box, judging by the sound of your post - you're meant to put the number given to you when you compile it, in a dialog box.
              Off the top of my head, it goes something like this:
              @start <-> 0xReal-offset (0x1234 bytes)

              Quote:
              Originally Posted by Mkmaster2400 View Post
              What do I put as the person ID?
              Ok this is what I did.
              1. Used the script generator to make the script.
              2. Hit f9
              3. put the script offset to 0x200. Now what?
              Eep, you were meant to set the person ID to 0200, not the script offset to 0x200... To get the real script offset of a dynamic script, see my last quote. The person event number (NOT person ID) should usually not be changed.
              __________________
              Plz not to PM me, I don't come here often enough. Email if you need me
                #466    
              Old August 1st, 2009 (4:53 PM). Edited August 1st, 2009 by Mkmaster2400.
              Mkmaster2400 Mkmaster2400 is offline
                 
                Join Date: Jul 2009
                Age: 32
                Gender: Male
                Nature: Quiet
                Posts: 13
                It just shows up as a person on my game and When I try to talkto it, the music stops and I can talk to it and run around at the same time. This is confusing. Its just getting me mad. I have no Idea what the problem is.

                Wait, would the script offset be 0x740000? if it is, do I put the 0x? or just the 740000?
                  #467    
                Old August 1st, 2009 (4:59 PM).
                NarutoActor's Avatar
                NarutoActor NarutoActor is offline
                The rocks cry out to me
                • Silver Tier
                 
                Join Date: Jan 2009
                Location: Brooklyn/Marlboro
                Age: 23
                Gender: Female
                Nature: Bashful
                Posts: 1,979
                Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
                yes its a pesone event... theres scipts lines like play music 0x
                if you can move then you didnt right the line lock all or lock player
                __________________
                ~There are those people who understand hex, F the rest
                  #468    
                Old August 1st, 2009 (5:24 PM).
                Mkmaster2400 Mkmaster2400 is offline
                   
                  Join Date: Jul 2009
                  Age: 32
                  Gender: Male
                  Nature: Quiet
                  Posts: 13
                  I guess I should just give up now. I still can't get it to work.
                    #469    
                  Old August 1st, 2009 (5:27 PM).
                  score_under's Avatar
                  score_under score_under is offline
                  I program the *other* ASM.
                  • Crystal Tier
                   
                  Join Date: Aug 2005
                  Location: Hertfordshire, England
                  Age: 24
                  Nature: Rash
                  Posts: 525
                  Quote:
                  Originally Posted by Mkmaster2400 View Post
                  It just shows up as a person on my game and When I try to talkto it, the music stops and I can talk to it and run around at the same time. This is confusing. Its just getting me mad. I have no Idea what the problem is.

                  Wait, would the script offset be 0x740000? if it is, do I put the 0x? or just the 740000?
                  This is your exact problem. You don't need the 0x, but that offset is wrong. #dyn does not put it at that offset, it puts it in free space after that offset and tells you where the real offset is when you compile it.
                  __________________
                  Plz not to PM me, I don't come here often enough. Email if you need me
                    #470    
                  Old August 1st, 2009 (5:33 PM).
                  Mkmaster2400 Mkmaster2400 is offline
                     
                    Join Date: Jul 2009
                    Age: 32
                    Gender: Male
                    Nature: Quiet
                    Posts: 13
                    Ok this the script after I hit f9

                    Opened file.
                    #DYN
                    -> 0x740000
                    #ORG
                    -> @start
                    SPECIAL
                    -> 0x187
                    COMPARE
                    -> lastresult
                    -> 0x800D
                    -> 0x2
                    IF
                    -> ==
                    -> 0x1
                    -> JUMP
                    -> 0x81A7AE0
                    SPECIAL
                    -> 0x188
                    CHECKSOUND
                    CRY
                    -> rayquaza
                    -> 0x196
                    -> 0x2
                    WAITCRY
                    PAUSE
                    -> 0x14
                    PLAYSOUND
                    -> 0x156
                    -> 0x0
                    BATTLE
                    -> rayquaza
                    -> 0x196
                    -> 0xF
                    -> potion
                    -> 0xD
                    SETFLAG
                    -> 0x807
                    SPECIAL
                    -> 0x138
                    CLEARFLAG
                    -> 0x807
                    SPECIAL2
                    -> 0x800D
                    -> 0xB4
                    COMPARE
                    -> lastresult
                    -> 0x800D
                    -> 0x1
                    IF
                    -> ==
                    -> 0x1
                    -> JUMP
                    -> 0x8162558
                    COMPARE
                    -> lastresult
                    -> 0x800D
                    -> 0x4
                    IF
                    -> ==
                    -> 0x1
                    -> JUMP
                    -> 0x8162561
                    COMPARE
                    -> lastresult
                    -> 0x800D
                    -> 0x5
                    IF
                    -> ==
                    -> 0x1
                    -> JUMP
                    -> 0x8162561
                    SETFLAG
                    -> 0x200
                    #ORG: data
                    -> @start <-> 0x7400DC (0x5C bytes)
                    So whats the offset?
                      #471    
                    Old August 1st, 2009 (5:38 PM).
                    NarutoActor's Avatar
                    NarutoActor NarutoActor is offline
                    The rocks cry out to me
                    • Silver Tier
                     
                    Join Date: Jan 2009
                    Location: Brooklyn/Marlboro
                    Age: 23
                    Gender: Female
                    Nature: Bashful
                    Posts: 1,979
                    Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
                    0x7400DC
                    thats the offset that starts the script
                    __________________
                    ~There are those people who understand hex, F the rest
                      #472    
                    Old August 1st, 2009 (5:46 PM). Edited August 1st, 2009 by Mkmaster2400.
                    Mkmaster2400 Mkmaster2400 is offline
                       
                      Join Date: Jul 2009
                      Age: 32
                      Gender: Male
                      Nature: Quiet
                      Posts: 13
                      Edit:

                      I finally got my first script working! Thanks for all the help guys!
                      Now to try harder stuff. What other scripts should I try?
                        #473    
                      Old August 1st, 2009 (6:47 PM).
                      NarutoActor's Avatar
                      NarutoActor NarutoActor is offline
                      The rocks cry out to me
                      • Silver Tier
                       
                      Join Date: Jan 2009
                      Location: Brooklyn/Marlboro
                      Age: 23
                      Gender: Female
                      Nature: Bashful
                      Posts: 1,979
                      Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
                      Quote:
                      Originally Posted by Mkmaster2400 View Post
                      Edit:

                      I finally got my first script working! Thanks for all the help guys!
                      Now to try harder stuff. What other scripts should I try?
                      great!! hope I was able to help try working on a movement script
                      __________________
                      ~There are those people who understand hex, F the rest
                        #474    
                      Old August 1st, 2009 (6:55 PM).
                      Rocket Grunt Kyle's Avatar
                      Rocket Grunt Kyle Rocket Grunt Kyle is offline
                         
                        Join Date: Aug 2009
                        Location: Western New York
                        Age: 29
                        Gender: Male
                        Nature: Gentle
                        Posts: 11
                        okay, im stuck again! I can't make those darn pokeballs disappear. I make the flag in the flag list, i add the flag in the script during the generator part, and i set the person id. The message that says i got the pokeball stays on the screen until something else comes up, and the pokeball stays there.
                          #475    
                        Old August 1st, 2009 (7:00 PM).
                        NarutoActor's Avatar
                        NarutoActor NarutoActor is offline
                        The rocks cry out to me
                        • Silver Tier
                         
                        Join Date: Jan 2009
                        Location: Brooklyn/Marlboro
                        Age: 23
                        Gender: Female
                        Nature: Bashful
                        Posts: 1,979
                        Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
                        Quote:
                        Originally Posted by Rocket Grunt Kyle View Post
                        okay, im stuck again! I can't make those darn pokeballs disappear. I make the flag in the flag list, i add the flag in the script during the generator part, and i set the person id. The message that says i got the pokeball stays on the screen until something else comes up, and the pokeball stays there.
                        it spunds like you didnt end the message try using insted mesage NO_CLOSE
                        __________________
                        ~There are those people who understand hex, F the rest
                        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:19 PM.