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

TrollandToad.com
Reply
 
Thread Tools
  #1176    
Old July 29th, 2016 (8:34 PM).
waw waw is offline
     
    Join Date: Jan 2013
    Gender: Male
    Posts: 18
    Thanks. It was 1.95, my understanding was that was the current best. Thanks, sorry to derail this thread. Then again, it helps with the tutorial.
    Reply With Quote

    Relevant Advertising!

      #1177    
    Old July 29th, 2016 (8:46 PM). Edited July 29th, 2016 by LanceD.
    LanceD LanceD is offline
       
      Join Date: Feb 2014
      Gender: Male
      Posts: 82
      Quote:
      Originally Posted by waw View Post
      Thanks. It was 1.95, my understanding was that was the current best. Thanks, sorry to derail this thread. Then again, it helps with the tutorial.
      It's everything but lol The general consensus is to stay away from 1.95. I have no idea why the offsets behave like that though. Maybe someone else could shine some light on that. In the meantime, give it a try in 1.92, and don't forget to report back on whether it works this time.

      No worries though, your post was on topic with the thread.

      EDIT: This thread might be of help too if you ever get stuck at something.
      Reply With Quote
        #1178    
      Old July 29th, 2016 (9:15 PM). Edited July 29th, 2016 by waw.
      waw waw is offline
         
        Join Date: Jan 2013
        Gender: Male
        Posts: 18
        Huh, it's fixing the code that's in the offset box. It *looks* right.

        That said, the code isn't working. I may have messed something up. I'm going to try on a new base rom and see what happens from there.

        EDIT:

        Using this code:

        Quote:
        #dynamic 0x800000
        #org @start
        lock
        faceplayer
        msgbox @talk 0x6
        release
        end

        #org @talk
        = I'm an NPC.
        I'm not getting a message box to pop up. The other problem seems solved, however.
        Reply With Quote
          #1179    
        Old July 29th, 2016 (9:30 PM).
        LanceD LanceD is offline
           
          Join Date: Feb 2014
          Gender: Male
          Posts: 82
          Quote:
          Originally Posted by waw View Post
          Huh, it's fixing the code that's in the offset box. It *looks* right.

          That said, the code isn't working. I may have messed something up. I'm going to try on a new base rom and see what happens from there.

          EDIT:

          Using this code:



          I'm not getting a message box to pop up. The other problem seems solved, however.
          That code should work, really. Whatever is wrong it's not the code.
          Reply With Quote
            #1180    
          Old July 30th, 2016 (11:03 AM).
          waw waw is offline
             
            Join Date: Jan 2013
            Gender: Male
            Posts: 18
            So what am I doing wrong?

            I have a clean rom, XSE, Amap 1.92.

            Looking at opening scene, add a Sprite (i can see it). I can make them look around in A Map. So I put in this code:

            Quote:
            #dynamic 0x800000
            #org @start
            lock
            faceplayer
            msgbox @talk 0x6
            release
            end

            #org @talk
            = I'm an NPC.
            Into XSE. Save it. Compile it, looking at he ROM i'm using. It compiles, it gives me @talk and @start. I use @start 6 digit number (now, 800000).

            I then go to A Map, the new sprite I've inserted. I give him this script, save.

            Open the game, approach to talk to him. He looks at me, there's a beep for the message box, and nothing. He will always look my way when I click on him, but there's no dialogue.

            I'm using FireRed.

            I've seen several tutorials that do this thing and it all works.
            Reply With Quote
              #1181    
            Old July 30th, 2016 (11:15 AM).
            LanceD LanceD is offline
               
              Join Date: Feb 2014
              Gender: Male
              Posts: 82
              Maybe the script got messed up somehow. Do you have XSE attached to A-Map yet?

              If not, in A-Map, go to 'Settings -> Choose script editor', then browse to where you have XSE, and select the XSE exe file. A box might pop up where you have to pick yes or no, pick yes. Then select the sprite and click the 'Open script' button and it should open in XSE. See if it's not messed up or anything.
              Reply With Quote
                #1182    
              Old July 30th, 2016 (11:23 AM).
              waw waw is offline
                 
                Join Date: Jan 2013
                Gender: Male
                Posts: 18
                Quote:
                '-----------------------
                #org 0x8000A6
                lock
                faceplayer
                msgbox 0x88000B1 '"I'm an NPC."
                release
                end


                '---------
                ' Strings
                '---------
                #org 0x8000B1
                = I'm an NPC.
                This is what pops up in XSE after doing your steps.
                Reply With Quote
                  #1183    
                Old August 5th, 2016 (1:42 PM).
                LanceD LanceD is offline
                   
                  Join Date: Feb 2014
                  Gender: Male
                  Posts: 82
                  Quote:
                  Originally Posted by waw View Post
                  This is what pops up in XSE after doing your steps.
                  That seems right.
                  Reply With Quote
                    #1184    
                  Old September 5th, 2016 (7:50 AM).
                  VladTheBeast's Avatar
                  VladTheBeast VladTheBeast is offline
                     
                    Join Date: Jul 2016
                    Posts: 2
                    I need help !!!
                    #dynamic 0x71A9F8
                    #org @main
                    checkflag 0x1201
                    if 0x0 goto @done
                    applymovement 0xFF @move
                    waitmovement 0x0
                    release
                    end

                    #org @done
                    release
                    end

                    #org @move
                    #raw 0x10
                    #raw 0x10
                    #raw 0x12
                    #raw 0x12
                    #raw 0xFE

                    what is the problem when i get in game the the movement is not working but the game get stucked
                    Reply With Quote
                      #1185    
                    Old October 23rd, 2016 (2:39 PM).
                    W3S7 W3S7 is offline
                       
                      Join Date: May 2016
                      Gender: Male
                      Posts: 7
                      anyone tell me my problem?

                      heres my script




                      #dynamic 0x761474
                      #org @start
                      lock
                      faceplayer
                      msgbox @text1 0x6
                      Applymovement 0xff @heromove
                      waitmovement 0xff
                      applymovement 0x2 @rivalmove
                      waitmovement 0x2
                      msgbox @text2 0x6
                      trainerbattle 0x1 0x001 0x0 @before @after @later
                      end
                      end

                      #org @text1
                      = Hey \v\h01!\nWait up!

                      #org @text2
                      = \v\h06: Glad i finally caught up\nto you!\lI came as soon as I heard you got\lyour first Pokemon.

                      #org @Before
                      = Let's battle!

                      #org @after
                      = Oh wow you have grown already!

                      #org @later
                      msgbox @text3 0x6
                      giveitem 0x4 0x5 MSG_OBTAIN
                      msgbox @text4 0x6
                      applymovement 0x2 @rivalmove2
                      hidesprite 2
                      setvar 0x6001 0x1
                      setflag 0x1202
                      release

                      #org @text3
                      = Here take these!

                      #org @text4
                      = Those are Pokeballs!\nYou can use them to capture\lPokemon.\lFirst weaken the wild Pokemon\land/or inflict a status condition\lfor a much easier capture.\lAlright thats all I wanted.\lGood luck!



                      #org @heromove
                      #raw 0x6
                      #raw 0xfe

                      #org @rivalmove
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x11
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0xfe

                      #org @rivalmove2
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x10
                      #raw 0x10
                      #raw 0x10
                      #raw 0x10
                      #raw 0x10
                      #raw 0x10
                      #raw 0xfe

                      after the battle the screen stays black
                      Reply With Quote
                        #1186    
                      Old November 26th, 2016 (7:15 AM).
                      JenYU JenYU is offline
                         
                        Join Date: Aug 2013
                        Location: india
                        Age: 21
                        Gender: Male
                        Nature: Sassy
                        Posts: 14
                        Quote:
                        Originally Posted by Diegoisawesome View Post
                        For the Level Scripting Tutorial, click here.

                        diegoisawesome's MEGA-HUGE XSE Scripting Tutorial


                        (PokeScript tutorial originally by thethethethe)

                        [CENTER][SIZE=5]Don't Take Or Modify Without Permission


                        That was a very extensive and in-detail scripting tutorial. Hope you enjoyed it!
                        If you see any bugs, feel free to tell me about them.












                        can you make a offline tutorial , like vedio or pdf file???
                        Reply With Quote
                          #1187    
                        Old January 5th, 2017 (12:22 AM).
                        Ayonn-'s Avatar
                        Ayonn- Ayonn- is offline
                        The Unbelivable
                           
                          Join Date: May 2014
                          Location: FRANCE
                          Gender: Male
                          Nature: Jolly
                          Posts: 199
                          Need help! My game is freezing on the script, I can't see what I have to do to make it work because the img are broken....
                          __________________
                          In current project...
                          Reply With Quote
                            #1188    
                          Old February 18th, 2017 (2:13 PM). Edited February 18th, 2017 by PokeLuc247.
                          PokeLuc247's Avatar
                          PokeLuc247 PokeLuc247 is offline
                             
                            Join Date: Apr 2015
                            Location: Ontario, Canada
                            Age: 20
                            Gender: Male
                            Nature: Calm
                            Posts: 14
                            I'm not sure if this has come up in anyone else's comments yet, but I've been facing a problem that keeps me from being able to continue my work on my rom. Basically I want to keep most of the professor oak dialogue from the beginning of the game, but as a new professor with a few dialogue changes here and there and no rival in the lab. But each time I think I have it changed, it does this weird thing where it puts several lines of text in the same line when I compile it and still says the other parts when their supposed to be said afterward. I have this problem for both the outdoor and indoor scripts in the starting town and I can only guess this will happen even more as I try to work on more and more characters.


                            I didn't want to just remake his scripts only because there is a lot of movement and flagcheck commands that I don't know if I could remake properly. I'm not new to this, but I'm still only used to basic scripting. If I absolutely need to remake the script I will, but I may need some step by step help to redo all the check pokedex stuff. Any help could go a long way and would be very appreciated.
                            Reply With Quote
                              #1189    
                            Old April 15th, 2017 (9:29 AM).
                            JustIChristopher JustIChristopher is offline
                               
                              Join Date: Apr 2017
                              Posts: 8
                              This guide has been absolutely essential. Thank you!
                              Reply With Quote
                                #1190    
                              Old September 7th, 2017 (7:48 AM).
                              hjk321 hjk321 is offline
                                 
                                Join Date: Sep 2017
                                Posts: 11
                                Ugg, the spoiler that tells you how to unfreeze the applymovement script just says "change this... to this..." without any pictures or anything. I'm stuck please help
                                Reply With Quote
                                  #1191    
                                Old September 7th, 2017 (7:50 AM).
                                hjk321 hjk321 is offline
                                   
                                  Join Date: Sep 2017
                                  Posts: 11
                                  Quote:
                                  Originally Posted by Ayonn- View Post
                                  Need help! My game is freezing on the script, I can't see what I have to do to make it work because the img are broken....
                                  I know right I still haven't figured it out
                                  Reply With Quote
                                    #1192    
                                  Old September 14th, 2017 (1:08 PM).
                                  franceburga franceburga is offline
                                     
                                    Join Date: Jul 2017
                                    Posts: 1
                                    Hi! I know this thread is very old, but i have just one fast question, if anyone can answer me. In the applymovement section, at the end of it, there's a spoiler. That spoiler solves the freeze of the movement if I assign the script to a script tile and not to a person. Unfortunately, the images that were there are no more visible. Do someone of you remember which was the solution to the problem? Thanks for answering me.

                                    I'm new to this forum, so it's possible that i made something wrong with this post. Sorry if I did.
                                    Reply With Quote
                                      #1193    
                                    Old September 17th, 2017 (9:50 AM).
                                    megaman d's Avatar
                                    megaman d megaman d is offline
                                    novice scripter
                                       
                                      Join Date: May 2013
                                      Location: India
                                      Gender: Male
                                      Nature: Jolly
                                      Posts: 165
                                      Quote:
                                      Originally Posted by franceburga View Post
                                      one fast question
                                      It's probably freezing as there is no set variable. Put a setvar command in the script and change its value to 0x0 (the setvar command is given in the tut). The same variable must be put as varnumber in the advance map on the script tile.
                                      __________________
                                      JUST GET IN THE BAG NEBBY!!
                                      Reply With Quote
                                        #1194    
                                      Old October 1st, 2017 (7:23 AM).
                                      Ranzo Ranzo is offline
                                         
                                        Join Date: Oct 2017
                                        Posts: 1
                                        can you teach me a script to make the pokemon follow me, walk with the character all the time ?
                                        pls, that whould ne awesome
                                        Reply With Quote
                                          #1195    
                                        Old October 1st, 2017 (3:49 PM).
                                        Iria Animi's Avatar
                                        Iria Animi Iria Animi is offline
                                        Innocent Trainer
                                           
                                          Join Date: Feb 2017
                                          Location: New York, USA
                                          Gender: Other
                                          Nature: Gentle
                                          Posts: 59
                                          Quote:
                                          Originally Posted by Ranzo View Post
                                          can you teach me a script to make the pokemon follow me, walk with the character all the time ?
                                          pls, that whould ne awesome
                                          Just read the whole tutorial and you will find your answer.
                                          Reply With Quote
                                          Reply

                                          Quick Reply

                                          Join the conversation!

                                          Create an account to post a reply in this thread, participate in other discussions, and more!

                                          Create a PokéCommunity Account

                                          Sponsored Links
                                          Thread Tools

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

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

                                          Forum Jump


                                          All times are GMT -8. The time now is 11:22 AM.