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

Draconius GO
Reply
 
Thread Tools
  #26    
Old January 20th, 2009 (6:32 PM).
Diegoisawesome's Avatar
Diegoisawesome Diegoisawesome is offline
Oh god the bees
  • Silver Tier
 
Join Date: Dec 2007
Location: :noitacoL
Age: 20
Gender: Male
Nature: Naive
Posts: 1,039
Quote:
Originally Posted by Mac_Mini View Post
Diago you should've explained this more
do you even know half the scripts that your writing?
What do you mean by that?
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
The Secret Sauce: Triple-Layer Tiles
Reply With Quote

Relevant Advertising!

  #27    
Old January 20th, 2009 (7:17 PM).
GFS GFS is offline
Banned
     
    Join Date: Jan 2009
    Age: 22
    Gender:
    Posts: 38
    Quote:
    Originally Posted by diegoisawesome View Post
    What do you mean by that?
    I think that he means that you don't know what some of the scripts that you have on your tutorial you don't even understand
    It certainly looks that way
    Reply With Quote
      #28    
    Old January 24th, 2009 (8:59 AM).
    madarawolf's Avatar
    madarawolf madarawolf is offline
    Espada Cuarta
       
      Join Date: Nov 2008
      Gender:
      Posts: 56
      I am having problems scripting with xse. I made the script using this tutorial for a sign and when I go to compile it, it says that there is a missing parameter on line 5 [email protected] So I wondered what that was about.
      __________________
      why yes I am made of awsome
      Reply With Quote
        #29    
      Old January 26th, 2009 (12:30 PM).
      Full Metal's Avatar
      Full Metal Full Metal is offline
      C(++) Developer.
      • Silver Tier
       
      Join Date: Jan 2008
      Location: In my mind.
      Age: 22
      Gender: Male
      Nature: Timid
      Posts: 806
      how might one check the pokedex progress?
      __________________

      ★ full metal.

      I like to push it,
      and push it,
      until my luck is over.
      Reply With Quote
        #30    
      Old January 26th, 2009 (2:24 PM).
      Mourgrim's Avatar
      Mourgrim Mourgrim is offline
         
        Join Date: Nov 2008
        Age: 26
        Gender:
        Nature: Rash
        Posts: 19
        I must thank you for compiling this guide. I have just started my 'pursuit' in learning how to hack a pokemon game (A friend and I are starting with FireRed) and this tutorial will be a great help.

        Thanks to thethethethe, you, and of course HackMew.
        Reply With Quote
          #31    
        Old January 28th, 2009 (3:00 PM).
        Diegoisawesome's Avatar
        Diegoisawesome Diegoisawesome is offline
        Oh god the bees
        • Silver Tier
         
        Join Date: Dec 2007
        Location: :noitacoL
        Age: 20
        Gender: Male
        Nature: Naive
        Posts: 1,039
        Quote:
        Originally Posted by jimmyjoejohnson View Post
        how might one check the pokedex progress?
        Just inspect the Oak script in FR/LG or the Birch script in R/S/E.

        Quote:
        Originally Posted by Mourgrim View Post
        I must thank you for compiling this guide. I have just started my 'pursuit' in learning how to hack a pokemon game (A friend and I are starting with FireRed) and this tutorial will be a great help.

        Thanks to thethethethe, you, and of course HackMew.
        Quote:
        Originally Posted by blkmagic445 View Post
        wow this tutorial is incredible! i now understand how to script thank you! now if only i knew how to use connection points in advance map lol
        Quote:
        Originally Posted by night_demon View Post
        hey thanks bra, every one says use boxset but u had that other thing i dont wann look right now and now it works thanks man also the whole 0x0 at the end of the msgbox also helped so thanks alot good tutorial im book markign this **** cause no way ima remeber it all
        Quote:
        Originally Posted by sab View Post
        this is the biggst tut I've seen for xse!! It covers tons of stuff!!
        You're all welcome!

        Quote:
        Originally Posted by madarawolf View Post
        I am having problems scripting with xse. I made the script using this tutorial for a sign and when I go to compile it, it says that there is a missing parameter on line 5 [email protected] So I wondered what that was about.
        Replace that line with:
        Code:
        msgbox @sign 0x3
        And if you have a boxset under that, delete it.
        __________________


        My other resources:
        My Website
        diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
        diegoisawesome's Miscellaneous Finds
        The Ruins of Alph Puzzles
        Diego's Miscellaneous Patches
        GBA Intro Manager
        The Secret Sauce: Triple-Layer Tiles
        Reply With Quote
          #32    
        Old January 28th, 2009 (10:43 PM). Edited January 28th, 2009 by Lyzo.
        Lyzo's Avatar
        Lyzo Lyzo is offline
        On vacation
           
          Join Date: Mar 2007
          Location: The Netherlands
          Age: 22
          Gender: Male
          Nature: Bold
          Posts: 252
          First of all: Great that you compiled this :D

          But I have a question.... I set a flag in my script, 0x01. It's for a script that i'm testing. When you talk to someone you get something and if you talk to them again you won't get it. That's what the Flag is for. Now when I leave the room where the event happens and come back in, I get the item again... So that must mean that the flag is unchecked again. Why does this happen?

          Using FireRed.

          EDIT: Nvm... seems that using flag 0x01 doesn't work but other flags like 0x200 do work...
          __________________


          Thank you The Blueprint !!!
          Reply With Quote
            #33    
          Old January 29th, 2009 (2:19 PM).
          Mourgrim's Avatar
          Mourgrim Mourgrim is offline
             
            Join Date: Nov 2008
            Age: 26
            Gender:
            Nature: Rash
            Posts: 19
            Hello, I've been having some troubles with a script I wanted to start out with. What I want the script to do is:

            Yes or no ask if I would like a pokemon
            give the pokemon
            set flags so it doesn't repeat.

            I've tried various different circumstances for this, but everytime something goes wrong. One time, it was in a whole bunch of symbols. Another, it was all placed wrong (even though I used XSE's Text Adjuster) and wouldn't even give the pokemon.

            If anyone could offer some help or advice, it'd be greatly appreciated for my first script. Thank you.

            This is the one that seemed to come closest to working, but still failed.

            #dynamic 0x80000

            #org @start
            checkflag 0x1000
            if 0x1 call @given
            msgbox @yesno 0x5
            compare LASTRESULT 0x1
            if 0x1 goto @yes
            msgbox @no 0x2
            setflag 0x1000
            end

            #org @given
            msgbox @given2
            end

            #org @yes
            countpokemon
            compare LASTRESULT 0x6
            if 0x1 call @full
            givepokemon 0x4 0x4 0x0 0x0 0x0 0x0
            msgbox @thanks 0x2
            end

            #org @full
            msgbox @full2 0x2
            end

            #org @yesno
            = Yes or no?

            #org @given2
            = I gave you it already.

            #org @full2
            = Your party's full.

            #org @no
            = Okay.

            #org @thanks
            = Thanks.
            Reply With Quote
              #34    
            Old January 29th, 2009 (2:32 PM).
            Diegoisawesome's Avatar
            Diegoisawesome Diegoisawesome is offline
            Oh god the bees
            • Silver Tier
             
            Join Date: Dec 2007
            Location: :noitacoL
            Age: 20
            Gender: Male
            Nature: Naive
            Posts: 1,039
            Quote:
            Originally Posted by Mourgrim View Post
            Hello, I've been having some troubles with a script I wanted to start out with. What I want the script to do is:

            Yes or no ask if I would like a pokemon
            give the pokemon
            set flags so it doesn't repeat.

            I've tried various different circumstances for this, but everytime something goes wrong. One time, it was in a whole bunch of symbols. Another, it was all placed wrong (even though I used XSE's Text Adjuster) and wouldn't even give the pokemon.

            If anyone could offer some help or advice, it'd be greatly appreciated for my first script. Thank you.

            This is the one that seemed to come closest to working, but still failed.

            #dynamic 0x80000

            #org @start
            checkflag 0x1000
            if 0x1 goto @given
            msgbox @yesno 0x5
            compare LASTRESULT 0x1
            if 0x1 goto @yes
            msgbox @no 0x2
            setflag 0x1000
            end

            #org @given
            msgbox @given2
            end

            #org @yes
            countpokemon
            compare LASTRESULT 0x6
            if 0x1 goto @full
            givepokemon 0x4 0x4 0x0 0x0 0x0 0x0
            msgbox @thanks 0x2
            end

            #org @full
            msgbox @full2 0x2
            end

            #org @yesno
            = Yes or no?

            #org @given2
            = I gave you it already.

            #org @full2
            = Your party's full.

            #org @no
            = Okay.

            #org @thanks
            = Thanks.
            Changes in bold.
            filleritup!
            __________________


            My other resources:
            My Website
            diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
            diegoisawesome's Miscellaneous Finds
            The Ruins of Alph Puzzles
            Diego's Miscellaneous Patches
            GBA Intro Manager
            The Secret Sauce: Triple-Layer Tiles
            Reply With Quote
              #35    
            Old January 29th, 2009 (2:35 PM).
            Lyzo's Avatar
            Lyzo Lyzo is offline
            On vacation
               
              Join Date: Mar 2007
              Location: The Netherlands
              Age: 22
              Gender: Male
              Nature: Bold
              Posts: 252
              Quote:
              Originally Posted by Mourgrim View Post
              Hello, I've been having some troubles with a script I wanted to start out with. What I want the script to do is:

              Yes or no ask if I would like a pokemon
              give the pokemon
              set flags so it doesn't repeat.

              I've tried various different circumstances for this, but everytime something goes wrong. One time, it was in a whole bunch of symbols. Another, it was all placed wrong (even though I used XSE's Text Adjuster) and wouldn't even give the pokemon.

              If anyone could offer some help or advice, it'd be greatly appreciated for my first script. :) Thank you.

              This is the one that seemed to come closest to working, but still failed.

              #dynamic 0x80000

              #org @start
              checkflag 0x1000
              if 0x1 call @given
              msgbox @yesno 0x5
              compare LASTRESULT 0x1
              if 0x1 goto @yes
              msgbox @no 0x2
              setflag 0x1000
              end

              #org @given
              msgbox @given2
              end

              #org @yes
              countpokemon
              compare LASTRESULT 0x6
              if 0x1 call @full
              givepokemon 0x4 0x4 0x0 0x0 0x0 0x0
              msgbox @thanks 0x2
              end

              #org @full
              msgbox @full2 0x2
              end

              #org @yesno
              = Yes or no?

              #org @given2
              = I gave you it already.

              #org @full2
              = Your party's full.

              #org @no
              = Okay.

              #org @thanks
              = Thanks.
              Okay, nothing much wrong with this script.
              You missed a msgbox sort once:
              Code:
              #org @given
              msgbox @given2
              end
              But that's about all the mistakes I could find. I personally don't use call, but I only use goto.

              This is how I'd script it:

              Spoiler:
              #dynamic 0x80000

              #org @start
              lock
              faceplayer
              checkflag 0x200
              if 0x1 goto @given
              msgbox @yesno 0x5
              compare LASTRESULT 0x1
              if 0x1 goto @yes
              msgbox @no 0x6
              release
              end

              #org @given
              msgbox @given2 0x6
              release
              end

              #org @given2
              = I gave you it already.

              #org @yesno
              = Yes or no?

              #org @yes
              countpokemon
              compare LASTRESULT 0x6
              if 0x1 goto @full
              givepokemon 0x4 0x4 0x0 0x0 0x0 0x0
              setflag 0x200
              msgbox @thanks 0x6
              release
              end

              #org @full
              msgbox @full2 0x6
              release
              end

              #org @full2
              = Your party's full.

              #org @thanks
              = Thanks.

              #org @no
              = Okay.



              Anyway hope this helped ;)
              __________________


              Thank you The Blueprint !!!
              Reply With Quote
                #36    
              Old January 29th, 2009 (5:05 PM).
              Mourgrim's Avatar
              Mourgrim Mourgrim is offline
                 
                Join Date: Nov 2008
                Age: 26
                Gender:
                Nature: Rash
                Posts: 19
                Thank you both kindly. And yeah, I'm not completely surprised I missed the msgbox pointer. I typed it up fairly quickly. I'm glad to see everyone here is so helpful, though.

                So, is it better to use the 0x2 for messages or the 0x6?
                Reply With Quote
                  #37    
                Old January 30th, 2009 (1:48 AM).
                Lyzo's Avatar
                Lyzo Lyzo is offline
                On vacation
                   
                  Join Date: Mar 2007
                  Location: The Netherlands
                  Age: 22
                  Gender: Male
                  Nature: Bold
                  Posts: 252
                  Quote:
                  Originally Posted by Mourgrim View Post
                  Thank you both kindly. :) And yeah, I'm not completely surprised I missed the msgbox pointer. I typed it up fairly quickly. I'm glad to see everyone here is so helpful, though.

                  So, is it better to use the 0x2 for messages or the 0x6?
                  Nothing is better or worse. It's just what you like. I use 0x6 because I'm used to using it and I like seeing the lock and release command xD.
                  Also while using pokescript It didn't have the 0x2 so I was used to using the 0x6. But 0x2 is fine as well.
                  __________________


                  Thank you The Blueprint !!!
                  Reply With Quote
                    #38    
                  Old January 30th, 2009 (8:33 PM).
                  GuyNamedSean's Avatar
                  GuyNamedSean GuyNamedSean is offline
                  Cobalt Scizor
                     
                    Join Date: May 2008
                    Age: 22
                    Gender: Male
                    Nature: Calm
                    Posts: 18
                    I am having trouble making a trainerbattle.
                    Every time I click "Open Script" on A-Map, the srcipt that I made is gone.
                    This is the script, but I didn't see anything wrong with it.
                    Spoiler:
                    #dynamic 0x800000
                    #org @start
                    trainerbattle 0x0 0x2E7 0x0 @before @after
                    msgbox @beaten 0x6
                    release
                    end
                    #org @before
                    = Hey! \nYour not aloud here!
                    #org @after
                    = What! \I've been beat by \ia BLUE PHEONIX brat?!
                    #org @beaten
                    = Great... \nThanks to you, \ithe boss took away my \iHOUNDOUR...

                    PLEASE HELP!!!
                    And isn't the dynamic value the same as the script offset?
                    __________________

                    !!!SEANSCIZOR!!! YES! I HAVE EVOLVED!!!

                    Yes, the Scyther and Quilava are RED with BLUE highlights...
                    No, I'm not crazy... I think...



                    Reply With Quote
                      #39    
                    Old February 1st, 2009 (2:54 AM).
                    Lyzo's Avatar
                    Lyzo Lyzo is offline
                    On vacation
                       
                      Join Date: Mar 2007
                      Location: The Netherlands
                      Age: 22
                      Gender: Male
                      Nature: Bold
                      Posts: 252
                      I was wondering... You know how in Ruby/Saphire when you beat the elite 4, latios and latias are released into the game. I was wondering if someone could explain how to do that. I was looking at the script at the end of the elite 4 and there were lots of flags that have been set and there was also a special that I didn't see in this guide. special 0xA9. If someone could help me with this that would be great!
                      __________________


                      Thank you The Blueprint !!!
                      Reply With Quote
                        #40    
                      Old February 1st, 2009 (7:12 AM). Edited February 1st, 2009 by Diegoisawesome.
                      Diegoisawesome's Avatar
                      Diegoisawesome Diegoisawesome is offline
                      Oh god the bees
                      • Silver Tier
                       
                      Join Date: Dec 2007
                      Location: :noitacoL
                      Age: 20
                      Gender: Male
                      Nature: Naive
                      Posts: 1,039
                      Quote:
                      Originally Posted by Lyzo View Post
                      I was wondering... You know how in Ruby/Saphire when you beat the elite 4, latios and latias are released into the game. I was wondering if someone could explain how to do that. I was looking at the script at the end of the elite 4 and there were lots of flags that have been set and there was also a special that I didn't see in this guide. special 0xA9. If someone could help me with this that would be great!
                      I'm sorry, but I can't help you. Maybe you should go to the Simple Questions thread.

                      Quote:
                      Originally Posted by GuyNamedSean View Post
                      I am having trouble making a trainerbattle.
                      Every time I click "Open Script" on A-Map, the srcipt that I made is gone.
                      This is the script, but I didn't see anything wrong with it.
                      Spoiler:
                      #dynamic 0x800000

                      #org @start
                      trainerbattle 0x0 0x2E7 0x0 @before @after
                      msgbox @beaten 0x6
                      release
                      end

                      #org @before
                      = Hey!\nYou're not allowed here!

                      #org @after
                      = What!\nI've been beat by\la BLUE PHEONIX brat?!

                      #org @beaten
                      = Great...\nThanks to you,\lthe boss took away my \lHOUNDOUR...

                      PLEASE HELP!!!
                      And isn't the dynamic value the same as the script offset?
                      Sometimes, it's not. You know the box that pops up saying that the script got compiled? Well, use the offset next to @start for the script offset.
                      __________________


                      My other resources:
                      My Website
                      diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                      diegoisawesome's Miscellaneous Finds
                      The Ruins of Alph Puzzles
                      Diego's Miscellaneous Patches
                      GBA Intro Manager
                      The Secret Sauce: Triple-Layer Tiles
                      Reply With Quote
                        #41    
                      Old February 1st, 2009 (12:29 PM).
                      darkmewham2's Avatar
                      darkmewham2 darkmewham2 is offline
                      Cold's catch rate- 100%. D:
                         
                        Join Date: Jan 2009
                        Location: In a certain place in my mind I like to call "the creative part".
                        Gender:
                        Nature: Docile
                        Posts: 129
                        You might want to add how to trade onto this guide. I've looked everywhere and found it on the XSE tutorial on the program, lol... x3
                        Reply With Quote
                          #42    
                        Old February 1st, 2009 (6:06 PM).
                        Sonikku17's Avatar
                        Sonikku17 Sonikku17 is offline
                        Wanderer
                           
                          Join Date: Aug 2008
                          Age: 25
                          Nature: Impish
                          Posts: 18
                          Hey, thanks for the guide! I'm pretty much a rookie hacker, and this has been a huge help!

                          Here's a quick question:
                          I'm trying to make a givepokemon script. When I run it in-game, everything works perfectly...except for the nicknaming part. For some reason, when it gets to the part where I should be nicknaming the pokemon that was given, it makes me nickname the first pokemon in my party. Any ideas about why this may be happening?
                          Reply With Quote
                            #43    
                          Old February 2nd, 2009 (2:40 PM).
                          Mourgrim's Avatar
                          Mourgrim Mourgrim is offline
                             
                            Join Date: Nov 2008
                            Age: 26
                            Gender:
                            Nature: Rash
                            Posts: 19
                            Hello. I've been having troubles with yet another script that's confusing me quite a bit.

                            The script I'm trying to make has a man step forward twice, inform the player that they can't leave without a pokemon, have the player step to the right twice to where the pokeball is, have them take it, and leave without the man stopping them. Of course, there's a 'bit' more to it when you read the actual scripts, but that's the gist of it all. If anyone can help, again, I'd greatly appriecate it.

                            The Movement Script:
                            #dynamic 0x800000

                            #org @start
                            checkflag 0x1000
                            if 0x1 goto @done
                            if 0x0 goto @movement
                            release
                            end

                            #org @movement
                            msgbox @hey 0x2
                            applymovement 0x00 @move
                            waitmovement 0x0
                            applymovement 0xFF @move2
                            waitmovement 0x0
                            msgbox @take 0x2
                            applymovement 0x00 @move3
                            waitmovement 0x0
                            setflag 0x1001
                            release
                            end

                            #org @done
                            release
                            end

                            #org @move
                            #raw 0x1E
                            #raw 0x1E

                            #org @move2
                            #raw 0x13
                            #raw 0x13

                            #org @move3
                            #raw 0x13

                            #org @hey
                            = Hey, you can't leave\nwithout having something\lto protect you!

                            #org @take
                            = Take my EEVEE. Raise it\nwell, and let it evolve\linto whatever you wish it\lto become!

                            The Man's Script:
                            #dynamic 0x800010

                            #org @start
                            checkflag 0x1002
                            if 0x1 goto @good
                            if 0x0 goto @omg
                            release
                            end

                            #org @good
                            msgbox @leave 0x2
                            applymovement 0x00 @move
                            waitmovement 0x0
                            msgbox @goodluck 0x2
                            release
                            end

                            #org @omg
                            msgbox @takeit 0x2
                            release
                            end

                            #org @move
                            #raw 0x14
                            #raw 0x0C

                            #org @leave
                            = Okay, you may leave.

                            #org @goodluck
                            = Goodluck out there!

                            #org @takeit
                            = Would you just take it?

                            The Pokeball's Script:
                            #dynamic 0x800020

                            #org @start
                            checkflag 0x1001
                            if 0x1 goto @take
                            if 0x0 goto @done
                            release
                            end

                            #org @take
                            givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
                            fanfare 0x13E
                            msgbox @received 0x4
                            waitfanfare
                            closeonkeypress
                            fadescreen 0x1
                            fadescreen 0x0
                            hidesprite 0x800F
                            setflag 0x1000
                            setflag 0x1002
                            release
                            end

                            #org @done
                            release
                            end

                            #org @received
                            = You received EEVEE!

                            If you see any problems with other parts of what's going on, I'd appreciate it if that was mentioned as well.
                            Reply With Quote
                              #44    
                            Old February 3rd, 2009 (6:36 AM).
                            ¦Next Pro's Avatar
                            ¦Next Pro ¦Next Pro is offline
                            Restarting.
                               
                              Join Date: Feb 2009
                              Age: 21
                              Gender:
                              Nature: Jolly
                              Posts: 52
                              I think you should make your own level scripting sutorial and add it here. Because
                              Cooleys was hard to understand for me. (Still learned it )
                              __________________
                              The reason I've gone so quiet, Is because that I seem to have no
                              Friends here on the community. With all the people saying:
                              "Dont use the same Sig as me", and People I hate blaming me for
                              "Down Rep'ing them".. Well Im a hacker, nothing can change that.

                              I just hope people will soon like me again.
                              Heres a PM from Mac;
                              Hey ¦Next Pro I just want to tell you that I don't hate you.
                              I just get pissed when you call me a n00b when I can script better than you.
                              Jesse and Jake (Disturbed) Only hate you because you act like your better than all of us.
                              Just read it and think.


                              Lol thinks he can script better than I.
                              And I have never acted like im better than you, if i let people see my VM's
                              Then you would see all the times you called me N00b. Im just getting you back, N00b.

                              Disturbed is a n00b, and Jesse.. Well STFU if you think that.
                              Reply With Quote
                                #45    
                              Old February 5th, 2009 (2:28 PM).
                              nemesish's Avatar
                              nemesish nemesish is offline
                              Azure Trainer
                                 
                                Join Date: Jan 2008
                                Location: Lima, Perú
                                Gender:
                                Nature: Adamant
                                Posts: 359
                                Kinda curious.
                                When i did a give pokemon script. it just takes me to the last line "so, how´s my old TORCHIC?"

                                In first place the NPC NEVER gave a pokemon?
                                No talking or nothing, it just takes me to the last line

                                Even i tried copying the one in the tut, but the same results.

                                btw, in-game i´m oing to getm Oaks parcel, so I don´t have a Pokedex. In case you´re wondering if i used that flag
                                __________________
                                Games I support:

                                Pokemon Raptor - Pokemon Island - Pokemon Rejuvenation - Pokemon Zeta/Omicron/Insurgence

                                Hacks I support:
                                Eccentric Emerald - Emerald Omega - Fire Red 251+ - Pokemon Liquid Crystal
                                Reply With Quote
                                  #46    
                                Old February 5th, 2009 (4:54 PM).
                                Diegoisawesome's Avatar
                                Diegoisawesome Diegoisawesome is offline
                                Oh god the bees
                                • Silver Tier
                                 
                                Join Date: Dec 2007
                                Location: :noitacoL
                                Age: 20
                                Gender: Male
                                Nature: Naive
                                Posts: 1,039
                                Quote:
                                Originally Posted by Sonikku17 View Post
                                Hey, thanks for the guide! I'm pretty much a rookie hacker, and this has been a huge help!

                                Here's a quick question:
                                I'm trying to make a givepokemon script. When I run it in-game, everything works perfectly...except for the nicknaming part. For some reason, when it gets to the part where I should be nicknaming the pokemon that was given, it makes me nickname the first pokemon in my party. Any ideas about why this may be happening?
                                Quote:
                                Originally Posted by Mourgrim View Post
                                Hello. I've been having troubles with yet another script that's confusing me quite a bit.

                                The script I'm trying to make has a man step forward twice, inform the player that they can't leave without a pokemon, have the player step to the right twice to where the pokeball is, have them take it, and leave without the man stopping them. Of course, there's a 'bit' more to it when you read the actual scripts, but that's the gist of it all. If anyone can help, again, I'd greatly appriecate it.

                                The Movement Script:
                                #dynamic 0x800000

                                #org @start
                                checkflag 0x1000
                                if 0x1 goto @done
                                checkflag 0x1000
                                if 0x0 goto @movement
                                release
                                end

                                #org @movement
                                msgbox @hey 0x2
                                applymovement 0xThis should be the People Number of the man. @move
                                waitmovement 0x0
                                applymovement 0xFF @move2
                                waitmovement 0x0
                                msgbox @take 0x2
                                applymovement 0xAgain, this should be the People Number of the man. @move3
                                waitmovement 0x0
                                setflag 0x1001
                                release
                                end

                                #org @done
                                release
                                end

                                #org @move
                                #raw 0x1E
                                #raw 0x1E

                                #org @move2
                                #raw 0x13
                                #raw 0x13

                                #org @move3
                                #raw 0x13

                                #org @hey
                                = Hey, you can't leave\nwithout having something\lto protect you!

                                #org @take
                                = Take my EEVEE. Raise it\nwell, and let it evolve\linto whatever you wish it\lto become!

                                The Man's Script:
                                #dynamic 0x800010

                                #org @start
                                checkflag 0x1002
                                if 0x1 goto @good
                                checkflag 0x1002
                                if 0x0 goto @omg
                                release
                                end

                                #org @good
                                msgbox @leave 0x2
                                applymovement 0xAnd again, this should be the People Number of the man. @move
                                waitmovement 0x0
                                msgbox @goodluck 0x2
                                release
                                end

                                #org @omg
                                msgbox @takeit 0x2
                                release
                                end

                                #org @move
                                #raw 0x14
                                #raw 0x0C

                                #org @leave
                                = Okay, you may leave.

                                #org @goodluck
                                = Good luck out there!

                                #org @takeit
                                = Would you just take it?

                                The Pokeball's Script:
                                #dynamic 0x800020

                                #org @start
                                checkflag 0x1001
                                if 0x1 goto @take
                                checkflag 0x1001
                                if 0x0 goto @done
                                release
                                end

                                #org @take
                                givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
                                fanfare 0x13E
                                msgbox @received 0x4
                                waitfanfare
                                closeonkeypress
                                fadescreen 0x1
                                hidesprite 0x800F
                                setflag 0x1000
                                setflag 0x1002
                                fadescreen 0x0
                                release
                                end

                                #org @done
                                release
                                end

                                #org @received
                                = You received EEVEE!

                                If you see any problems with other parts of what's going on, I'd appreciate it if that was mentioned as well.
                                Done.

                                Quote:
                                Originally Posted by ¦Next Pro View Post
                                I think you should make your own level scripting sutorial and add it here. Because
                                Cooleys was hard to understand for me. (Still learned it )
                                I will, just haven't got around to it.

                                Quote:
                                Originally Posted by nemesish View Post
                                Kinda curious.
                                When i did a give pokemon script. it just takes me to the last line "so, how´s my old TORCHIC?"

                                In first place the NPC NEVER gave a pokemon?
                                No talking or nothing, it just takes me to the last line

                                Even i tried copying the one in the tut, but the same results.

                                btw, in-game i´m oing to getm Oaks parcel, so I don´t have a Pokedex. In case you´re wondering if i used that flag
                                Can you post the script here? And have you already set the Pokemon menu flag? If so, use another flag besides 0x828.
                                __________________


                                My other resources:
                                My Website
                                diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                                diegoisawesome's Miscellaneous Finds
                                The Ruins of Alph Puzzles
                                Diego's Miscellaneous Patches
                                GBA Intro Manager
                                The Secret Sauce: Triple-Layer Tiles
                                Reply With Quote
                                  #47    
                                Old February 5th, 2009 (5:34 PM).
                                Mourgrim's Avatar
                                Mourgrim Mourgrim is offline
                                   
                                  Join Date: Nov 2008
                                  Age: 26
                                  Gender:
                                  Nature: Rash
                                  Posts: 19
                                  I think I see...and that's what I thought was probably going to be the problem. But, with that, I'm slightly confused. The man's number is 00, because he's the only person on the map. Does that mean I should put 01 not 00?
                                  Reply With Quote
                                    #48    
                                  Old February 5th, 2009 (5:36 PM).
                                  Diegoisawesome's Avatar
                                  Diegoisawesome Diegoisawesome is offline
                                  Oh god the bees
                                  • Silver Tier
                                   
                                  Join Date: Dec 2007
                                  Location: :noitacoL
                                  Age: 20
                                  Gender: Male
                                  Nature: Naive
                                  Posts: 1,039
                                  Quote:
                                  Originally Posted by Mourgrim View Post
                                  I think I see...and that's what I thought was probably going to be the problem. But, with that, I'm slightly confused. The man's number is 00, because he's the only person on the map. Does that mean I should put 01 not 00?
                                  Exactly. You have to use the people number, not the event number.
                                  __________________


                                  My other resources:
                                  My Website
                                  diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                                  diegoisawesome's Miscellaneous Finds
                                  The Ruins of Alph Puzzles
                                  Diego's Miscellaneous Patches
                                  GBA Intro Manager
                                  The Secret Sauce: Triple-Layer Tiles
                                  Reply With Quote
                                    #49    
                                  Old February 5th, 2009 (5:45 PM). Edited February 5th, 2009 by Mourgrim.
                                  Mourgrim's Avatar
                                  Mourgrim Mourgrim is offline
                                     
                                    Join Date: Nov 2008
                                    Age: 26
                                    Gender:
                                    Nature: Rash
                                    Posts: 19
                                    (EDIT)
                                    The problem persists, but I think it may have something to do with the release/end commands. You see, the game freezes, but not the music. (I didn't notice this before because I usually have it muted)

                                    So, are any problems apparent with the way I used release/end etc.?
                                    Reply With Quote
                                      #50    
                                    Old February 6th, 2009 (1:34 PM).
                                    nemesish's Avatar
                                    nemesish nemesish is offline
                                    Azure Trainer
                                       
                                      Join Date: Jan 2008
                                      Location: Lima, Perú
                                      Gender:
                                      Nature: Adamant
                                      Posts: 359
                                      Quote:
                                      Originally Posted by diegoisawesome View Post
                                      Can you post the script here? And have you already set the Pokemon menu flag? If so, use another flag besides 0x828.
                                      #dynamic 0x71A290

                                      #org @start
                                      checkflag 0x828
                                      if 0x1 goto @nope
                                      msgbox @2 0x5
                                      compare LASTRESULT 0X1
                                      if 0x1 goto @take
                                      msgbox @2 0x6
                                      release
                                      end

                                      #org @take
                                      givepokemon 0x255 0x5 0x1 0x0 0x0 0x0
                                      fanfare 0x13e
                                      msgbox @3 0x4
                                      waitfanfare
                                      closeonkeypress
                                      setflag 0x828
                                      msgbox @4 0x5
                                      compare LASTRESULT 0x1
                                      if 0x1 gosub @name
                                      msgbox @5 0x6
                                      release
                                      end

                                      #org @name
                                      call 0x1A74EB
                                      return

                                      #org @nope
                                      msgbox @6 0x6
                                      release
                                      end

                                      #org @1
                                      = Hala!\nOye, no quieres este TORCHIC?\nEs la cria de mi BLAZIKEN.

                                      #org @2
                                      = No puedes?\nOh, bueno. Supongo que encontrare a alguien mas que pueda.

                                      #org @3
                                      = [red_fr]Recibiste un TORCHIC

                                      #org @4
                                      = Quieres darle un nombre?

                                      #org @5
                                      = Cuidalo bien por favor.

                                      #org @6
                                      = Como te está yendo con el TORCHIC?

                                      This is the script that´s giving me problem.
                                      I also tried with the one in your tutorial but the result is the same
                                      __________________
                                      Games I support:

                                      Pokemon Raptor - Pokemon Island - Pokemon Rejuvenation - Pokemon Zeta/Omicron/Insurgence

                                      Hacks I support:
                                      Eccentric Emerald - Emerald Omega - Fire Red 251+ - Pokemon Liquid Crystal
                                      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 2:46 PM.