The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tutorial diegoisawesome's MEGA-HUGE XSE Scripting Tutorial

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

Reply
 
Thread Tools
  #676    
Old August 7th, 2011 (8:28 AM).
rstar095's Avatar
rstar095 rstar095 is offline
Baby Seal Clubber
     
    Join Date: Jul 2008
    Location: NewFoundland
    Gender: Male
    Nature: Serious
    Posts: 24
    Ive done scripts before but I stopped hacking for a while and recently started again. Anyway here are two scripts Ive done.

    This one is very simple yet it keeps giving me "no dynamic start offset specified"
    Quote:
    #dynamic 0x80010080

    #org @start
    msgbox @sau 0x3
    end

    #org @sau
    = incomprehensible
    Quote:
    Here is another one.
    This one is a bit more complex but I can't see any problems with it. When I go into the game it doesn't do anything but another unedited sprite just dissapears.
    Quote:
    '---------------
    #org 0x720BE0
    lock
    faceplayer
    checkflag 0x828
    if 0x1 goto 0x8720C2C
    cry 0x173 0x0
    msgbox 0x8720C59 MSG_YESNO '"There is a BAGON in the\nPOKeBALL...."
    compare LASTRESULT 0x1
    if 0x1 goto 0x8720C86
    msgbox 0x8720C13 MSG_NORMAL '"The POKeBALL was left."
    release
    end

    '---------------
    #org 0x720C2C
    msgbox 0x8720C37 MSG_NORMAL '"The pokeball turned into stone."
    release
    end

    '---------------
    #org 0x720C86
    givepokemon 0x173 0x5 0x0 0x0 0x0 0x0
    fanfare 0x13E
    hidesprite LASTTALKED
    setflag 0x200
    msgbox 0x8720CAC MSG_NORMAL '"You recieved BAGON.\pThe\nrest\nof..."
    setflag 0x828
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x720C59
    = There is a BAGON in the\nPOKeBALL. Take it?

    #org 0x720C13
    = The POKeBALL was left.

    #org 0x720C37
    = The pokeball turned into stone.

    #org 0x720CAC
    = You recieved BAGON.\pThe\nrest\nof the POKeBALLs turned\nto\lstone.
    Quote:
    Quote:
    __________________
    This signature has been disabled.
    Too tall
    Please review and fix the issues by reading the signature rules.

    You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

    Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
    Reply With Quote

    Relevant Advertising!

      #677    
    Old August 7th, 2011 (10:02 AM).
    Fortunado Fortunado is offline
    Prof. Hemlock is busy now...
       
      Join Date: Jul 2011
      Age: 21
      Gender: Male
      Nature: Lax
      Posts: 30
      What is "trainerbattle 0x5"? I believe it's rematch, but I'm not sure.
      Reply With Quote
        #678    
      Old August 7th, 2011 (12:01 PM).
      Simmy93's Avatar
      Simmy93 Simmy93 is offline
      Aspiring Emulator
         
        Join Date: Aug 2011
        Location: Co. Down, Northern Ireland
        Age: 24
        Gender: Male
        Nature: Sassy
        Posts: 104
        Not sure if this is the place to seek help with this issue but it's holding me back from starting my hack. I've followed the fantastic map editing tutorial on this forum but no matter how many times I try I always end up with this result.

        Spoiler:


        Can anyone assist? Or point me in the direction where someone could? Thank you so, so much.
        __________________
        Challenges!


        Team:

        Pokemon Platinum
        Reply With Quote
          #679    
        Old August 8th, 2011 (2:01 AM).
        ZxC Mirai's Avatar
        ZxC Mirai ZxC Mirai is offline
        Huh?
           
          Join Date: Jun 2011
          Location: Pampanga Philippines
          Gender: Male
          Nature: Timid
          Posts: 267
          Quote:
          Originally Posted by UnForgiven* View Post
          W0o0o0o0o0o0o0oW Thanks for the if 0x1 goto @after
          i finally figure out that Hidesprite and Fixed it :D

          Another Question:

          How could i make a Script Like Gary?

          in mine i have 2 Pokemon two choose ratata and meowth

          what script if i choose ratata he will choose meowth
          if i choose meowth he will choose ratata.

          #dynamic 0x800000
          #org @start
          checkflag 0x350
          lock
          faceplayer
          msgbox @talk 0x6
          applymovement 0xFF @wew
          waitmovement 0x0
          applymovement 0x09 @wew2
          waitmovement 0x0
          msgbox @talk2 0x6
          msgbox @talk3
          applymovement 0x09 @wew3
          waitmovement 0x0
          setflag 0x350
          release
          end

          #org @talk
          = So?You have Finished Choosing Your\nPOKeMON? Alright i Choose mine\lnow!\pGet out of the Way!

          #org @wew
          #raw 0x10
          #raw 0xFE

          #org @wew2
          #raw 0x13
          #raw 0x13
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x2
          #raw 0xFE

          #org @talk2
          = Alright i take This one then!

          #org @talk3
          = I gotta go and see Aer in ???\nCity!\pYou must seee him too [player]!

          #org @wew3
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0xFE



          and lastly what is the command when i talk to hi/her for the First time he/she will says:
          blah blah blah was looking for you!

          then after you tak to the blah blah blah his text will change with my Script is it if 0x1 goto @after??

          Thanks to anyone who help me :D

          CAN SOMEONE ANSWER THIS QUESTION ????? PLEASE!! :D
          __________________
          This signature has been disabled.
          Too tall
          Please review and fix the issues by reading the signature rules.

          You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

          Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
          Reply With Quote
            #680    
          Old August 8th, 2011 (3:49 AM).
          Fortunado Fortunado is offline
          Prof. Hemlock is busy now...
             
            Join Date: Jul 2011
            Age: 21
            Gender: Male
            Nature: Lax
            Posts: 30
            Quote:
            Originally Posted by UnForgiven* View Post
            CAN SOMEONE ANSWER THIS QUESTION ????? PLEASE!! :D
            Code:
            #dynamic 0x800000
            
            #org @start
            lock
            checkflag 0x(flag) 'This would be your first Pokémon's Poké Ball sprite.
            if 0x1 goto @getfire
            checkflag 0x(flag) 'Second Pokémon
            if 0x1 goto @getwater
            checkflag 0x(flag) 'Third
            if 0x1 goto @getgrass
            release
            end
            
            #org @getfire
            applymovement 0x03 (Your rival's no. on screen) @walkfire
            waitmovement 0x0
            msgbox @illtake 0x2
            msgbox @rivalreceives 0x4
            closeonkeypress
            applymovement 0x?? (The poké ball he is getting) @disappear
            waitmovement (or play your fanfare)
            release
            end
            
            ...(just do the same as above, just edit it a bit)
            
            #dynamic 0x71A300
            msgbox @waitup 0x2
            applymovement 0x03 @catchup
            waitmovement 0x0
            trainerbattle 0x1 0x001 0x0 (or 0x3, I believe, for Oak's explanation) @before @win @after
            end
            
            #org @waitup
            =Hey, wait up, [player_name]!
            
            #org @catchup...
            Reply With Quote
              #681    
            Old August 8th, 2011 (4:04 AM).
            ZxC Mirai's Avatar
            ZxC Mirai ZxC Mirai is offline
            Huh?
               
              Join Date: Jun 2011
              Location: Pampanga Philippines
              Gender: Male
              Nature: Timid
              Posts: 267
              Quote:
              Originally Posted by Fortunado View Post
              Code:
              #dynamic 0x800000
              
              #org @start
              lock
              checkflag 0x(flag) 'This would be your first Pokémon's Poké Ball sprite.
              if 0x1 goto @getfire
              checkflag 0x(flag) 'Second Pokémon
              if 0x1 goto @getwater
              checkflag 0x(flag) 'Third
              if 0x1 goto @getgrass
              release
              end
              
              #org @getfire
              applymovement 0x03 (Your rival's no. on screen) @walkfire
              waitmovement 0x0
              msgbox @illtake 0x2
              msgbox @rivalreceives 0x4
              closeonkeypress
              applymovement 0x?? (The poké ball he is getting) @disappear
              waitmovement (or play your fanfare)
              release
              end
              
              ...(just do the same as above, just edit it a bit)
              
              #dynamic 0x71A300
              msgbox @waitup 0x2
              applymovement 0x03 @catchup
              waitmovement 0x0
              trainerbattle 0x1 0x001 0x0 (or 0x3, I believe, for Oak's explanation) @before @win @after
              end
              
              #org @waitup
              =Hey, wait up, [player_name]!
              
              #org @catchup...
              THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!VERY MUCH!!!!!!!!!!!!!!1
              __________________
              This signature has been disabled.
              Too tall
              Please review and fix the issues by reading the signature rules.

              You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

              Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
              Reply With Quote
                #682    
              Old August 8th, 2011 (12:17 PM).
              Fortunado Fortunado is offline
              Prof. Hemlock is busy now...
                 
                Join Date: Jul 2011
                Age: 21
                Gender: Male
                Nature: Lax
                Posts: 30
                Quote:
                Originally Posted by UnForgiven* View Post
                THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!VERY MUCH!!!!!!!!!!!!!!1
                It's no problem. Glad to help with your problem.
                Reply With Quote
                  #683    
                Old August 9th, 2011 (1:36 AM).
                ZxC Mirai's Avatar
                ZxC Mirai ZxC Mirai is offline
                Huh?
                   
                  Join Date: Jun 2011
                  Location: Pampanga Philippines
                  Gender: Male
                  Nature: Timid
                  Posts: 267
                  Quote:
                  Originally Posted by Fortunado View Post
                  It's no problem. Glad to help with your problem.
                  1 question what is the code for:

                  if you talk to him her or a a POKEBALL it will says:
                  it's the POKEBALL of Prof. ???
                  then when you talk to someone
                  it will chnage into:
                  ifyou talk to a POKEBALL it will let you choose

                  then the 3rd time it says:

                  it is the last POKEBALLS of Prof. ???

                  HOPE SOMEONE WILLL ANsWER :D
                  __________________
                  This signature has been disabled.
                  Too tall
                  Please review and fix the issues by reading the signature rules.

                  You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                  Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                  Reply With Quote
                    #684    
                  Old August 11th, 2011 (12:54 PM).
                  ruup20's Avatar
                  ruup20 ruup20 is offline
                  Gonna splash everybody!
                     
                    Join Date: Jan 2011
                    Location: Undella Town
                    Gender: Male
                    Nature: Jolly
                    Posts: 118
                    In the "Applymovement" section you can tell that if you do:
                    applymovement 0x7F
                    You can move the camera.
                    __________________

                    I really need a advanced scripter for my hack and a good storyline-guy,
                    Thank you.
                    Reply With Quote
                      #685    
                    Old August 13th, 2011 (6:00 PM).
                    ZxC Mirai's Avatar
                    ZxC Mirai ZxC Mirai is offline
                    Huh?
                       
                      Join Date: Jun 2011
                      Location: Pampanga Philippines
                      Gender: Male
                      Nature: Timid
                      Posts: 267
                      Can someone answer my questions????

                      Q1:How can i disable this PokedexScript???
                      Spoiler:
                      #dynamic 0x800000

                      #org @start
                      checkflag 0x829
                      if 0x1 goto @done
                      msgbox @waiit 0x6
                      applymovement 0x02 @wait
                      waitmovement 0x0
                      applymovement 0xFF @huh
                      waitmovement 0x0
                      msgbox @givepokedex 0x6
                      setflag 0x829
                      msgbox @receivedex 0x6
                      special 0x16F
                      msgbox @balls 0x6
                      giveitem 0x4 0x05 MSG_OBTAIN
                      msgbox @backto 0x6
                      applymovement 0x02 @backtolab
                      waitmovement 0x0
                      release
                      end

                      #org @waiit
                      = Waiiiiiiittt!

                      #org @wait
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0x1D
                      #raw 0xFE

                      #org @huh
                      #raw 0x62
                      #raw 0x1
                      #raw 0xFE

                      #org @givepokedex
                      = I have Forgotten to give you This!

                      #org @receivedex
                      = You have receive a PokeDex!

                      #org @balls
                      = It is an Item that Catches a\nPOKeMON!

                      #org @backto
                      = Well i must be back to LAB!\pSee you Later [PLAYER]!

                      #org @backtolab
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0xFE


                      #org @done
                      release
                      end


                      Q2:how can i enable the Pokedex Script when i finished this Script...
                      Spoiler:
                      #dynamic 0x800000

                      #org @start
                      checkflag 0x210
                      if 0x1 goto @done
                      lock
                      faceplayer
                      applymovement 0xFF @come
                      waitmovement 0x0
                      msgbox @whoareyou 0x6
                      applymovement 0xFF @yup
                      waitmovement 0x0
                      msgbox @ok 0x6
                      setflag 0x210
                      release
                      end

                      #org @come
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0xFE

                      #org @whoareyou
                      = Hmmmmm! Who are you?\n[...]\p[...]\p[...]\pOh! you must be [PLAYER]!

                      #org @yup
                      #raw 0x22
                      #raw 0x22
                      #raw 0xFE

                      #org @ok
                      = William: OK!\pHere I have 3 Pokeballs this\nPOKeMONS are Rarely Seen in\lGoldiea Region!\pYou are Lucky i have this\nPOKeMONS!\pGo on Choose ONE!

                      #org @done
                      release
                      end



                      and lastly how can i enable this script after i have my POKeMON...
                      Spoiler:
                      #dynamic 0x800000

                      #org @start
                      lock
                      faceplayer
                      msgbox @gotolab 0x6
                      compare LASTRESULT 1
                      if b_true goto @pokemon
                      release
                      end

                      #org @gotolab
                      = Go to Lab Now [PLAYER]

                      #org @pokemon
                      lock
                      faceplayer
                      msgbox @cutemon 0x6
                      closeonkeypress
                      fadescreen 0x1
                      fanfare 0x100
                      special 0x0
                      waitfanfare
                      fadescreen 0x0
                      msgbox @healed 0x6
                      release
                      end

                      #org @cutemon
                      = What a Cute POKeMON you have\nthere!\pYou should take a Quick Rest here!

                      #org @healed
                      = Hmmmmm! Much better!\pGoodLuck to your Adventure [PLAYER]



                      Thank you...

                      help will be greatly appreciated :D
                      __________________
                      This signature has been disabled.
                      Too tall
                      Please review and fix the issues by reading the signature rules.

                      You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                      Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                      Reply With Quote
                        #686    
                      Old August 28th, 2011 (6:15 AM).
                      mihir mihir is offline
                         
                        Join Date: May 2011
                        Gender: Male
                        Posts: 24
                        this is sooooooooooooooooooooooooo helpful
                        Reply With Quote
                          #687    
                        Old October 8th, 2011 (4:43 PM).
                        dt200's Avatar
                        dt200 dt200 is offline
                        Was and will be forever alone.
                           
                          Join Date: Sep 2010
                          Location: Malaysia
                          Gender: Male
                          Nature: Lonely
                          Posts: 18
                          excuse me diego, can you please show tutorials for script boxes with XSE? Have been finding on youtube but only found pksv and rubikon scripts. Please help me. Thanks. :D
                          __________________
                          I do something for a reason and the reason is the reason I do it for.


                          Pokémon games i own:
                          Pokémon Mystery Dungeon: Red Rescue Team
                          Pokemon Firered
                          Pokemon Emerald
                          Pokemon Crystal
                          Pokemon Yellow
                          Pokemon HG/SS
                          Pokemon Mystery Dungeon: Blue Rescue Team.

                          75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
                          -Started by SkittyLover77
                          Reply With Quote
                            #688    
                          Old October 8th, 2011 (8:36 PM).
                          Missingyep Missingyep is offline
                             
                            Join Date: Jul 2010
                            Posts: 275
                            Quote:
                            Originally Posted by dt200 View Post
                            excuse me diego, can you please show tutorials for script boxes with XSE? Have been finding on youtube but only found pksv and rubikon scripts. Please help me. Thanks. :D
                            Read the sections labeled "Message Scripts" and "Msgbox Numbers", in the OP.
                            Reply With Quote
                              #689    
                            Old October 9th, 2011 (9:10 PM).
                            dt200's Avatar
                            dt200 dt200 is offline
                            Was and will be forever alone.
                               
                              Join Date: Sep 2010
                              Location: Malaysia
                              Gender: Male
                              Nature: Lonely
                              Posts: 18
                              Quote:
                              Originally Posted by DavidJCobb View Post
                              Read the sections labeled "Message Scripts" and "Msgbox Numbers", in the OP.
                              I mean script boxes... like the PROF OAK script when going to route 1
                              __________________
                              I do something for a reason and the reason is the reason I do it for.


                              Pokémon games i own:
                              Pokémon Mystery Dungeon: Red Rescue Team
                              Pokemon Firered
                              Pokemon Emerald
                              Pokemon Crystal
                              Pokemon Yellow
                              Pokemon HG/SS
                              Pokemon Mystery Dungeon: Blue Rescue Team.

                              75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
                              -Started by SkittyLover77
                              Reply With Quote
                                #690    
                              Old October 10th, 2011 (12:11 AM).
                              Missingyep Missingyep is offline
                                 
                                Join Date: Jul 2010
                                Posts: 275
                                Quote:
                                Originally Posted by dt200 View Post
                                I mean script boxes... like the PROF OAK script when going to route 1
                                When he stops you from going out because you have no Pokemon?

                                Do some searching for information on "script events". You can set it up so that if someone steps on a certain part of a map while a script variable has a certain value, then a script runs.

                                (For example, you can run a script if someone steps on the exit to Pallet Town while 0x4055 is set to 0x0000 -- that's exactly what Game Freak did.)
                                Reply With Quote
                                  #691    
                                Old October 11th, 2011 (2:59 AM).
                                dt200's Avatar
                                dt200 dt200 is offline
                                Was and will be forever alone.
                                   
                                  Join Date: Sep 2010
                                  Location: Malaysia
                                  Gender: Male
                                  Nature: Lonely
                                  Posts: 18
                                  Quote:
                                  Originally Posted by DavidJCobb View Post
                                  When he stops you from going out because you have no Pokemon?

                                  Do some searching for information on "script events". You can set it up so that if someone steps on a certain part of a map while a script variable has a certain value, then a script runs.

                                  (For example, you can run a script if someone steps on the exit to Pallet Town while 0x4055 is set to 0x0000 -- that's exactly what Game Freak did.)
                                  U got my point. But can you show me an example of this script? I don't really know how to decompile and is there anything new to learn besides the flags and variables?
                                  __________________
                                  I do something for a reason and the reason is the reason I do it for.


                                  Pokémon games i own:
                                  Pokémon Mystery Dungeon: Red Rescue Team
                                  Pokemon Firered
                                  Pokemon Emerald
                                  Pokemon Crystal
                                  Pokemon Yellow
                                  Pokemon HG/SS
                                  Pokemon Mystery Dungeon: Blue Rescue Team.

                                  75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
                                  -Started by SkittyLover77
                                  Reply With Quote
                                    #692    
                                  Old October 11th, 2011 (1:53 PM).
                                  Missingyep Missingyep is offline
                                     
                                    Join Date: Jul 2010
                                    Posts: 275
                                    Quote:
                                    Originally Posted by dt200 View Post
                                    U got my point. But can you show me an example of this script? I don't really know how to decompile and is there anything new to learn besides the flags and variables?
                                    Go to Pallet Town and look at the events. The green "S" blocks are Script events.

                                    If you view their properties, you'll see fields for a "var number" and "var value". What this means is that if variable <number> is set to <value> and the player steps on the tile, the Script event activates.

                                    The script code itself has little to no differences from any other ordinary script, except for one thing: you need to set the variable used to activate the script to some other value. If you don't, then the script will usually run over and over again forever, with the player being unable to step off the tile.

                                    You can see the script code for yourself if you've set up AdvanceMap properly. You can give it the location of a script editor, like XSE, on your hard drive; once you do, you can click "Open script" in AMap to view the code for any event, including Script events. Click the button, and XSE decompiles the script so you can read it.

                                    If your Script event activates when 0x4001 is set to 0x0000, then at the end of your script, you need to use "setvar 0x4001 (anything other than zero)" to deactivate the Script event.
                                    Reply With Quote
                                      #693    
                                    Old November 10th, 2011 (6:55 AM).
                                    Crimson5M's Avatar
                                    Crimson5M Crimson5M is offline
                                    what
                                    • Crystal Tier
                                     
                                    Join Date: Feb 2011
                                    Location: Scotland
                                    Age: 21
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 1,099
                                    This is a very helpful tutorial, good job.
                                    __________________
                                    Youtube
                                    Reply With Quote
                                      #694    
                                    Old November 11th, 2011 (2:14 AM).
                                    C_r_e_a_m_p_u_f_f C_r_e_a_m_p_u_f_f is offline
                                    ...
                                       
                                      Join Date: May 2011
                                      Gender: Male
                                      Nature: Naive
                                      Posts: 297
                                      To tell you the truth, this is what made me into scripting. Then I learnt and learnt other stuff too. I really love this tutorial as it just taught me the function of vars (variables). This tutorial is as good as Shining Opal!

                                      Scripting help:
                                      I need to make a sprite already disappeared and in a certain script it appears for an event and then disappears again (like the PROF. OAK script when he stops us from going to ROUTE 1). I'm hacking FireRed. Please respond!
                                      Reply With Quote
                                        #695    
                                      Old November 11th, 2011 (12:59 PM).
                                      Missingyep Missingyep is offline
                                         
                                        Join Date: Jul 2010
                                        Posts: 275
                                        Quote:
                                        Originally Posted by C_r_e_a_m_p_u_f_f View Post
                                        Scripting help:
                                        I need to make a sprite already disappeared and in a certain script it appears for an event and then disappears again (like the PROF. OAK script when he stops us from going to ROUTE 1). I'm hacking FireRed. Please respond!
                                        In AdvanceMap, set the Person event's "Person ID" to a script flag number. In your script, set that flag to hide the Person and clear it to show the Person.
                                        Reply With Quote
                                          #696    
                                        Old November 11th, 2011 (9:44 PM).
                                        C_r_e_a_m_p_u_f_f C_r_e_a_m_p_u_f_f is offline
                                        ...
                                           
                                          Join Date: May 2011
                                          Gender: Male
                                          Nature: Naive
                                          Posts: 297
                                          Quote:
                                          Originally Posted by DavidJCobb View Post
                                          In AdvanceMap, set the Person event's "Person ID" to a script flag number. In your script, set that flag to hide the Person and clear it to show the Person.
                                          Thanks friend, I never thought of clearflag. Once again, thank you very much!
                                          Reply With Quote
                                            #697    
                                          Old November 26th, 2011 (6:15 PM).
                                          Epitaph93's Avatar
                                          Epitaph93 Epitaph93 is offline
                                          Intermediate Digidestined
                                             
                                            Join Date: Oct 2011
                                            Location: Texas
                                            Age: 24
                                            Gender: Male
                                            Nature: Calm
                                            Posts: 119
                                            What else is there to say than THANK YOU? This is by far the most comprehensive tutorial I've found on scripting. I've learned so much in the past few days thanks to you and this tutorial. An essential to any beginner.
                                            __________________
                                            I'm Epitaph and I plan on releasing the first full-fledged Digimon hack of Pokemon Fire Red. We're getting close to the first release so come check it out in the Progressing hacks, and see how you can help us with the project.
                                            Reply With Quote
                                              #698    
                                            Old December 2nd, 2011 (10:46 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
                                              Hello people! I have a BIG problem with XSE. You see, whenever I try to press compile, it gives me an error: "Unknown keyword "end" at line 5"....... i have tried everything and nothing seems to work. anyhelp?
                                              __________________
                                              I have left. Feel free to disable my account.
                                              Reply With Quote
                                                #699    
                                              Old December 18th, 2011 (1:24 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
                                                hello everybody! I fixed my XSE problem and I decided to try out a script box. however, in the game when I step on it nothing happens! can anyone help?
                                                Spoiler:
                                                #dynamic 0x6B0D88

                                                #org @start
                                                applymovement 0x3 @move
                                                waitmovement 0x0
                                                setflag 0x1201
                                                release
                                                end

                                                #org @move
                                                #raw 0x06
                                                #raw 0x06
                                                #raw 0xFE


                                                i also attached pics of my problem

                                                Var Number: 0405
                                                Var Value: 0000
                                                Unknown: 0300
                                                Attached Images
                                                File Type: jpg problem.jpg‎ (92.6 KB, 19 views) (Save to Dropbox)
                                                __________________
                                                I have left. Feel free to disable my account.
                                                Reply With Quote
                                                  #700    
                                                Old December 18th, 2011 (5:42 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 AustinWolff View Post
                                                hello everybody! I fixed my XSE problem and I decided to try out a script box. however, in the game when I step on it nothing happens! can anyone help?
                                                Spoiler:
                                                #dynamic 0x6B0D88

                                                #org @start
                                                applymovement 0x3 @move
                                                waitmovement 0x0
                                                setflag 0x1201
                                                release
                                                end

                                                #org @move
                                                #raw 0x06
                                                #raw 0x06
                                                #raw 0xFE


                                                i also attached pics of my problem

                                                Var Number: 0405
                                                Var Value: 0000
                                                Unknown: 0300
                                                Did you make sure that flag 0x405 is not set before stepping on the tile? Because if it's set, the script won't activate.
                                                __________________

                                                Brother of Vrai
                                                Reply With Quote
                                                Reply
                                                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 8:21 PM.