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

Closed Thread
 
Thread Tools
  #26    
Old July 16th, 2007 (11:14 PM).
exedissolve's Avatar
exedissolve exedissolve is offline
Straight-edge
     
    Join Date: Jul 2007
    Gender:
    Nature: Lax
    Posts: 40
    you know, it's crazy, i understand scripting, pretty well, but, and when i say but, it's a big but. how do i give a character or event the script???
    __________________

    Dissolve's PokePet

    Bunsin the level 53 Flareon!

    Relevant Advertising!

      #27    
    Old July 17th, 2007 (2:13 AM).
    Ivysaur's Avatar
    Ivysaur Ivysaur is offline
    You found a heart!
    • Crystal Tier
     
    Join Date: Mar 2007
    Location: Madrid
    Age: 26
    Gender: Male
    Posts: 20,639
    Quote:
    Originally Posted by exedissolve View Post
    you know, it's crazy, i understand scripting, pretty well, but, and when i say but, it's a big but. how do i give a character or event the script???
    In Advance Map, select Event view, click on the guy you want to give the script, and write the offset in the "script offset" box.
    If you want to create a event, in the event view again, create a script in the bottom boxes (near people, warps and posts number) and, again, click on the script and put the offset in the box.
    __________________
    Oh, we've made a mistake
    We've lost our minds
    We've lost our memory
    Oh, what's it gonna take?
    There's always something else
    So occupy yourself



    Yes kids, once upon a time I was an admin
      #28    
    Old July 17th, 2007 (2:15 AM).
    trialbymagic's Avatar
    trialbymagic trialbymagic is offline
       
      Join Date: Jul 2007
      Location: Australia
      Gender:
      Nature: Adamant
      Posts: 20
      Wow! Great tutorial. I'm a little dumb though, the script is written on the computer right? So how do you get it onto the game?
        #29    
      Old July 17th, 2007 (2:16 AM). Edited July 17th, 2007 by <~F.M.P~>.
      <~F.M.P~>'s Avatar
      <~F.M.P~> <~F.M.P~> is offline
      I got you whistling Blue Box!
      • Silver Tier
       
      Join Date: Jul 2006
      Location: Germany
      Age: 25
      Gender: Male
      Nature: Mild
      Posts: 640
      I WAS ABLE TO CREATE an applymovement ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

      $done
      $aidwalk1
      $aidtalk

      I used pokescript for it so yeah.
        #30    
      Old July 17th, 2007 (2:33 AM).
      Ivysaur's Avatar
      Ivysaur Ivysaur is offline
      You found a heart!
      • Crystal Tier
       
      Join Date: Mar 2007
      Location: Madrid
      Age: 26
      Gender: Male
      Posts: 20,639
      Quote:
      Originally Posted by iCAM View Post
      Wow! Great tutorial. I'm a little dumb though, the script is written on the computer right? So how do you get it onto the game?
      At the bottom of the second post in this thread that is explained.
      __________________
      Oh, we've made a mistake
      We've lost our minds
      We've lost our memory
      Oh, what's it gonna take?
      There's always something else
      So occupy yourself



      Yes kids, once upon a time I was an admin
        #31    
      Old July 17th, 2007 (2:51 AM).
      exedissolve's Avatar
      exedissolve exedissolve is offline
      Straight-edge
         
        Join Date: Jul 2007
        Gender:
        Nature: Lax
        Posts: 40
        Quote:
        Originally Posted by Went View Post
        In Advance Map, select Event view, click on the guy you want to give the script, and write the offset in the "script offset" box.
        If you want to create a event, in the event view again, create a script in the bottom boxes (near people, warps and posts number) and, again, click on the script and put the offset in the box.
        oh, no wonder i struggled(<---sarcasm)*head2desk*HARD!

        thanx alot
        __________________

        Dissolve's PokePet

        Bunsin the level 53 Flareon!
          #32    
        Old July 17th, 2007 (7:48 AM).
        foullump's Avatar
        foullump foullump is offline
        Rom Hacking Guru
           
          Join Date: Mar 2007
          Location: United States
          Nature: Calm
          Posts: 220
          Quote:
          Originally Posted by sumin90210 View Post
          so how do i make the guy just come to me if i don't mark the trainer box to i add the givepokemon i with a movement script or something?

          HERE LOOK AT THIS VID. IT WILL EXPLAIN WHAT IT IS http://www.megaupload.com/?d=47S224XP

          P.S. THANX TO YOUR APPLYMOVEMENT SCRIPTS I WAS ABLE TO CREATE ONE BUT THE THING IS I HAVE TO CLICK ON THE CHARACTER FOR IT TO WORK AND THAT WORKS FINE BUT WHEN I PUT IT IN A SCRIPT BOX [THE GREEN BOX WITH THE S ON IT RIGHT]? WELL IT JUST FREEZES ON ME SO WHAT DO I DO? WHAT SCRIPT DO I USE?

          $done
          $aidwalk1
          $aidtalk

          I used pokescript for it so yeah.
          Okay look, this would work as a givepokemon script.
          Spoiler:

          #org $go
          checkflag 0x200
          if B_true goto $done
          applymovement [person number] $walktoplayer
          pause 0x[amount of steps]
          message $text
          boxset 6
          givepokemon [pkmn] [level] [hold item]
          setflag 0x200
          release
          end


          Make sure to fill in the spaces by putting the
          #org $walktoplayer
          $walktoplayer 1 ; #binary 0x--------------------0xFE

          #org $text
          $text 1 = ------------------------
          __________________
            #33    
          Old July 17th, 2007 (12:18 PM).
          <~F.M.P~>'s Avatar
          <~F.M.P~> <~F.M.P~> is offline
          I got you whistling Blue Box!
          • Silver Tier
           
          Join Date: Jul 2006
          Location: Germany
          Age: 25
          Gender: Male
          Nature: Mild
          Posts: 640
          I'm sorry please have patience with me because im new here i may have created an account in 06 but I'm just recently using it sorry.

          this is what my script looks like. Is this right?

          org $go
          checkflag 0x200
          if B_true goto $done
          applymovement 0x8 $walktoplayer
          pause 0x1
          message $text
          boxset 6
          givepokemon 0x6 35 1
          setflag 0x200
          release
          end

          $walktoplayer 1 ; #binary 0x0A 0xFE

          #org $text
          $text 1= Hey before u go take this.



          and the BUF RITE looks like this

          #PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:2 for read
          ------------------------------------------------------------------------------------------------
          - Pushed apmovement.$go to 800000
          - Pushed apmovement.$walktoplayer to 80003F
          #PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:3 for read
          ------------------------------------------------------------------------------------------------
          - Adjusting apmovement.$done in 0 at 8013884
          - Adjusting apmovement.$walktoplayer in 0 at 880003F
          - Adjusting apmovement.$text in 0 at 80C350C
          - Putting [+
          - Putting [
          þ] at 80003F
          |
          \- Processed 0 Lines


          It told me to it had floating pointers so i had to create random offsets for them.
            #34    
          Old July 17th, 2007 (2:44 PM).
          jack276 jack276 is offline
             
            Join Date: May 2007
            Gender:
            Nature: Adamant
            Posts: 36
            Quote:
            Originally Posted by sumin90210 View Post
            this is what my script looks like. Is this right?

            org $go
            checkflag 0x200
            if B_true goto $done
            applymovement 0x8 $walktoplayer
            pause 0x1
            message $text
            boxset 6
            givepokemon 0x6 35 1
            setflag 0x200
            release
            end

            $walktoplayer 1 ; #binary 0x0A 0xFE

            #org $text
            $text 1= Hey before u go take this.
            I am not to sure but I think you need to add a #org $done "script" at the end as you told the script to goto $done after the checkflag
            __________________
              #35    
            Old July 17th, 2007 (4:21 PM). Edited July 17th, 2007 by foullump.
            foullump's Avatar
            foullump foullump is offline
            Rom Hacking Guru
               
              Join Date: Mar 2007
              Location: United States
              Nature: Calm
              Posts: 220
              --------Void post----------
                #36    
              Old July 17th, 2007 (4:21 PM). Edited July 17th, 2007 by foullump.
              foullump's Avatar
              foullump foullump is offline
              Rom Hacking Guru
                 
                Join Date: Mar 2007
                Location: United States
                Nature: Calm
                Posts: 220
                ----------Void Post----------
                  #37    
                Old July 17th, 2007 (4:24 PM). Edited July 17th, 2007 by foullump.
                foullump's Avatar
                foullump foullump is offline
                Rom Hacking Guru
                   
                  Join Date: Mar 2007
                  Location: United States
                  Nature: Calm
                  Posts: 220
                  Quote:
                  Originally Posted by sumin90210 View Post
                  I'm sorry please have patience with me because im new here i may have created an account in 06 but I'm just recently using it sorry.

                  this is what my script looks like. Is this right?

                  org $go
                  checkflag 0x200
                  if B_true goto $done
                  applymovement 0x8 $walktoplayer
                  pause 0x1
                  message $text
                  boxset 6
                  givepokemon 0x6 35 1
                  setflag 0x200
                  release
                  end

                  $walktoplayer 1 ; #binary 0x0A 0xFE

                  #org $text
                  $text 1= Hey before u go take this.



                  and the BUF RITE looks like this

                  #PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:2 for read
                  ------------------------------------------------------------------------------------------------
                  - Pushed apmovement.$go to 800000
                  - Pushed apmovement.$walktoplayer to 80003F
                  #PROCESS: C:\Documents and Settings\HP_Owner\Desktop\EliteMap\Pokemon - Fire Red.gba F:3 for read
                  ------------------------------------------------------------------------------------------------
                  - Adjusting apmovement.$done in 0 at 8013884
                  - Adjusting apmovement.$walktoplayer in 0 at 880003F
                  - Adjusting apmovement.$text in 0 at 80C350C
                  - Putting [+
                  - Putting [
                  þ] at 80003F
                  |
                  \- Processed 0 Lines


                  It told me to it had floating pointers so i had to create random offsets for them.
                  Missing a few things.
                  Code:
                  org $go
                  checkflag 0x200
                  if B_true goto $done
                  applymovement 8 $walktoplayer
                  pause 0x10
                  message $text
                  boxset 6
                  givepokemon  6 35 1
                  setflag 0x200
                  release
                  end
                  
                  #org $done
                  release
                  end
                  
                  #org $walktoplayer
                  $walktoplayer 1 ; #binary 0x0A 0xFE
                  
                  #org $text
                  $text 1 = Hey before u go take this.
                  Sorry for tripple post, my computer did some wierd thing and posted 3 times!
                  __________________
                    #38    
                  Old July 17th, 2007 (6:19 PM).
                  <~F.M.P~>'s Avatar
                  <~F.M.P~> <~F.M.P~> is offline
                  I got you whistling Blue Box!
                  • Silver Tier
                   
                  Join Date: Jul 2006
                  Location: Germany
                  Age: 25
                  Gender: Male
                  Nature: Mild
                  Posts: 640
                  Oh okay and do i put this on a character or one of the green scripts?
                    #39    
                  Old July 18th, 2007 (8:42 AM).
                  foullump's Avatar
                  foullump foullump is offline
                  Rom Hacking Guru
                     
                    Join Date: Mar 2007
                    Location: United States
                    Nature: Calm
                    Posts: 220
                    Quote:
                    Originally Posted by sumin90210 View Post
                    Oh okay and do i put this on a character or one of the green scripts?
                    A green script. set the vars as
                    Unknown: [03] [00]
                    Var Number: [50] [40]
                    and everything else 0
                    except your script.
                    __________________
                      #40    
                    Old July 18th, 2007 (9:21 AM).
                    <~F.M.P~>'s Avatar
                    <~F.M.P~> <~F.M.P~> is offline
                    I got you whistling Blue Box!
                    • Silver Tier
                     
                    Join Date: Jul 2006
                    Location: Germany
                    Age: 25
                    Gender: Male
                    Nature: Mild
                    Posts: 640
                    I'm about to try it now thank u so much man.
                      #41    
                    Old July 20th, 2007 (1:54 AM). Edited July 20th, 2007 by <~F.M.P~>.
                    <~F.M.P~>'s Avatar
                    <~F.M.P~> <~F.M.P~> is offline
                    I got you whistling Blue Box!
                    • Silver Tier
                     
                    Join Date: Jul 2006
                    Location: Germany
                    Age: 25
                    Gender: Male
                    Nature: Mild
                    Posts: 640
                    HA HA! YES It finally works thanks foullump not only have you helped create my script u furthered my progress in my work and ironically i learned how to make movement scripts using the script you helped me make! Ur help is greatly appreciated...Now for my final question. How do you get the person to say what they have to say without moving back to there original spot while the scripts sdill in effect? Do i just increase the pause part by whatever i want?
                      #42    
                    Old July 20th, 2007 (8:48 AM).
                    foullump's Avatar
                    foullump foullump is offline
                    Rom Hacking Guru
                       
                      Join Date: Mar 2007
                      Location: United States
                      Nature: Calm
                      Posts: 220
                      Quote:
                      Originally Posted by sumin90210 View Post
                      HA HA! YES It finally works thanks foullump not only have you helped create my script u furthered my progress in my work and ironically i learned how to make movement scripts using the script you helped me make! Ur help is greatly appreciated...Now for my final question. How do you get the person to say what they have to say without moving back to there original spot while the scripts sdill in effect? Do i just increase the pause part by whatever i want?
                      Could you be a little more clear, please? I don't really understand what you're talking about...
                      __________________
                        #43    
                      Old July 20th, 2007 (8:58 AM).
                      jack276 jack276 is offline
                         
                        Join Date: May 2007
                        Gender:
                        Nature: Adamant
                        Posts: 36
                        Is it possible to make a trainer OW speak straight after a battle?
                        __________________
                          #44    
                        Old July 20th, 2007 (11:10 AM).
                        foullump's Avatar
                        foullump foullump is offline
                        Rom Hacking Guru
                           
                          Join Date: Mar 2007
                          Location: United States
                          Nature: Calm
                          Posts: 220
                          Quote:
                          Originally Posted by jack276 View Post
                          Is it possible to make a trainer OW speak straight after a battle?
                          Like how it is in white version? Yes. Just make an after script for him.
                          __________________
                            #45    
                          Old July 20th, 2007 (11:19 AM).
                          jack276 jack276 is offline
                             
                            Join Date: May 2007
                            Gender:
                            Nature: Adamant
                            Posts: 36
                            white version? I mean the after you battle him and the battle screen goes away and your back in the overworld the trainer talks to you straight after the battle i.e. you have to talk to him.
                            __________________
                              #46    
                            Old July 20th, 2007 (1:06 PM).
                            foullump's Avatar
                            foullump foullump is offline
                            Rom Hacking Guru
                               
                              Join Date: Mar 2007
                              Location: United States
                              Nature: Calm
                              Posts: 220
                              Yeah, just put it like this

                              #org $go
                              trainerbattle 1 0x001 $before $after $further
                              message $win
                              boxset 6
                              release
                              end

                              #org $further
                              message $win
                              boxset 6
                              release
                              end
                              __________________
                                #47    
                              Old July 20th, 2007 (4:12 PM).
                              <~F.M.P~>'s Avatar
                              <~F.M.P~> <~F.M.P~> is offline
                              I got you whistling Blue Box!
                              • Silver Tier
                               
                              Join Date: Jul 2006
                              Location: Germany
                              Age: 25
                              Gender: Male
                              Nature: Mild
                              Posts: 640
                              I'll post a video when im on a real computer and not the WII.
                                #48    
                              Old July 20th, 2007 (4:22 PM).
                              Darkrai64's Avatar
                              Darkrai64 Darkrai64 is offline
                              Pokemon expert trainer
                                 
                                Join Date: Jul 2007
                                Gender:
                                Nature: Adamant
                                Posts: 35
                                When I made a script to make a police officier talk and went to that area and talked to him, the whole screen turned purple! What's going on?
                                  #49    
                                Old July 20th, 2007 (5:36 PM).
                                foullump's Avatar
                                foullump foullump is offline
                                Rom Hacking Guru
                                   
                                  Join Date: Mar 2007
                                  Location: United States
                                  Nature: Calm
                                  Posts: 220
                                  Quote:
                                  Originally Posted by Darkrai64 View Post
                                  When I made a script to make a police officier talk and went to that area and talked to him, the whole screen turned purple! What's going on?
                                  Sigh... Show me the script...
                                  __________________
                                    #50    
                                  Old July 20th, 2007 (6:46 PM). Edited July 20th, 2007 by Darkrai64.
                                  Darkrai64's Avatar
                                  Darkrai64 Darkrai64 is offline
                                  Pokemon expert trainer
                                     
                                    Join Date: Jul 2007
                                    Gender:
                                    Nature: Adamant
                                    Posts: 35
                                    I think what I did wrong was maybe I was writing in the wrong area. I was writing in the log area.
                                    But maybe I didn't download pokescript, maybe it's somethingelse. Where do I download it?
                                    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:28 AM.