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

TrollandToad.com
Closed Thread
 
Thread Tools
  #326    
Old January 21st, 2009 (6:27 PM).
Surf's Avatar
Surf Surf is offline
...
     
    Join Date: Jul 2008
    Location: Rust
    Age: 22
    Gender: Male
    Nature: Relaxed
    Posts: 1,197
    Quote:
    Originally Posted by Editman View Post
    #dynamic 0x800000

    #org @main
    lock
    faceplayer
    msgbox @msg 0x6
    release
    end

    #org @Speak
    = Hayden:It's about time [Player]/nI was waiting on you/n[rival]'s mom was looking for you!

    I followed the Tutorial Perfectly how come this doesnt work?
    Don't captilize ORG or else it might not work
    what was wrong with it BTW
    __________________
    I'm looking for some good (When I say good,
    I mean you can hold your own by yourself)
    N**i Zombies players, to form a team or even a
    clan, to play with casually.
    Send me a PM with your Highest Level and your PSN,
    and I'll get back to you.

    Relevant Advertising!

      #327    
    Old January 21st, 2009 (6:30 PM).
    Editman's Avatar
    Editman Editman is offline
    Pokemon Collector
    • Crystal Tier
     
    Join Date: Jan 2009
    Posts: 346
    Well it keeps saying error 13 type mismatch on line 6
    Missing Dynamic label

    Oh Lowercasing ORG did'nt work V_V
    __________________






    "I don't use Legendary Pokemon, i prefer to make regular Pokemon Legendary"
      #328    
    Old January 21st, 2009 (6:32 PM).
    Surf's Avatar
    Surf Surf is offline
    ...
       
      Join Date: Jul 2008
      Location: Rust
      Age: 22
      Gender: Male
      Nature: Relaxed
      Posts: 1,197
      Quote:
      #dynamic 0x800000

      #org @main
      lock
      faceplayer
      msgbox @msg 0x6
      release
      end

      #org @msg
      = Hayden:It's about time [Player]/nI was waiting on you/n[rival]'s mom was looking for you!

      I followed the Tutorial Perfectly how come this doesnt work?
      Ahh you used two different Dynamic labels for the same msg
      the fix is in bold
      __________________
      I'm looking for some good (When I say good,
      I mean you can hold your own by yourself)
      N**i Zombies players, to form a team or even a
      clan, to play with casually.
      Send me a PM with your Highest Level and your PSN,
      and I'll get back to you.
        #329    
      Old January 21st, 2009 (6:41 PM).
      Editman's Avatar
      Editman Editman is offline
      Pokemon Collector
      • Crystal Tier
       
      Join Date: Jan 2009
      Posts: 346
      thanks, I guess i should have caught that!
      __________________






      "I don't use Legendary Pokemon, i prefer to make regular Pokemon Legendary"
        #330    
      Old January 22nd, 2009 (7:13 AM).
      gangstajoe gangstajoe is offline
         
        Join Date: Aug 2008
        Gender:
        Posts: 20
        Quote:
        Originally Posted by Mac_Mini View Post
        #dynamic 0x800000
        #org @start
        checkflag 0x
        if 0x0 (Means if not done) goto @move
        release
        end

        #org @move
        lock
        msgbox @talk 0x6
        applymovement 0xFF @move1
        waitmovement 0x0
        release
        end

        #org @move1
        #raw 0x10
        #raw 0xFE

        #talk
        = TEXT HERE

        Hope that helped
        i tried it, but it doesn't work. as first it sayd he can't reconize #talk, so i changed that in #org @talk, and then it works, but when i putted in the game it will freeze. Did i do something wrong?
          #331    
        Old January 23rd, 2009 (4:50 AM).
        NTHKP NTHKP is offline
           
          Join Date: Jul 2007
          Nature: Adamant
          Posts: 12
          Quote:
          Originally Posted by gangstajoe View Post
          i tried it, but it doesn't work. as first it sayd he can't reconize #talk, so i changed that in #org @talk, and then it works, but when i putted in the game it will freeze. Did i do something wrong? :(
          Change #talk to #org @talk and open up Advance Map, type in 4000 for the script's Var Number, 0003 for Unknown. That should work.
          Also, if you're using R/S/E roms, use 0x04 to walk down 1 step; if you're using FR/LG roms then use 0x08.
            #332    
          Old January 23rd, 2009 (6:12 AM).
          gangstajoe gangstajoe is offline
             
            Join Date: Aug 2008
            Gender:
            Posts: 20
            Quote:
            Originally Posted by NTHKP View Post
            Change #talk to #org @talk and open up Advance Map, type in 4000 for the script's Var Number, 0003 for Unknown. That should work.
            Also, if you're using R/S/E roms, use 0x04 to walk down 1 step; if you're using FR/LG roms then use 0x08.
            Thanks, he steps back now. But now there is a other problem . It don't say anything, if i step on it, it send me back without text.
            It's pretty funny, but if you know how to solve the problem, that would be awesome.
              #333    
            Old January 23rd, 2009 (7:23 AM).
            NTHKP NTHKP is offline
               
              Join Date: Jul 2007
              Nature: Adamant
              Posts: 12
              Quote:
              Originally Posted by gangstajoe View Post
              Thanks, he steps back now. But now there is a other problem :disappoin. It don't say anything, if i step on it, it send me back without text.
              It's pretty funny, but if you know how to solve the problem, that would be awesome.
              Since you didn't show me the script I can't figure out what was wrong with it. How about trying this script:

              #dynamic 0x800000

              #org @start
              checkflag 0x1008
              if 0x0 goto @move
              release
              end

              #org @move
              lock
              msgbox @e 0x6
              applymovement 0xFF @move1
              waitmovement 0x0
              release
              end

              #org @move1
              #raw 0x4
              #raw 0xfe

              #org @e
              = Back off!
                #334    
              Old January 23rd, 2009 (9:54 AM).
              gangstajoe gangstajoe is offline
                 
                Join Date: Aug 2008
                Gender:
                Posts: 20
                Quote:
                Originally Posted by NTHKP View Post
                Since you didn't show me the script I can't figure out what was wrong with it. How about trying this script:

                #dynamic 0x800000

                #org @start
                checkflag 0x1008
                if 0x0 goto @move
                release
                end

                #org @move
                lock
                msgbox @e 0x6
                applymovement 0xFF @move1
                waitmovement 0x0
                release
                end

                #org @move1
                #raw 0x4
                #raw 0xfe

                #org @e
                = Back off!
                It's the same problem.. and if you want the script:

                #dynamic 0x800000

                #org @start
                checkflag 0x200
                if 0x0 goto @move
                release
                end

                #org @move
                lock
                msgbox @talk 0x6
                applymovement 0xFF @move1
                waitmovement 0x0
                release
                end

                #org @move1
                #raw 0x04
                #raw 0xFE

                #org @talk
                = It isn't smart to go without a pokemon!
                  #335    
                Old January 23rd, 2009 (9:43 PM).
                NTHKP NTHKP is offline
                   
                  Join Date: Jul 2007
                  Nature: Adamant
                  Posts: 12
                  Quote:
                  Originally Posted by gangstajoe View Post
                  It's the same problem.. and if you want the script:

                  #dynamic 0x800000

                  #org @start
                  checkflag 0x200
                  if 0x0 goto @move
                  release
                  end

                  #org @move
                  lock
                  msgbox @talk 0x6
                  applymovement 0xFF @move1
                  waitmovement 0x0
                  release
                  end

                  #org @move1
                  #raw 0x04
                  #raw 0xFE

                  #org @talk
                  = It isn't smart to go without a pokemon!
                  That's really weird! I tried your script on my Emerald, Sapphire & Fire Red roms, and it worked just perfectly. I don't think there's any problem with the script. Perhaps there's some problem with the roms you use, or the hack tools.
                    #336    
                  Old January 24th, 2009 (2:09 AM). Edited January 24th, 2009 by gangstajoe.
                  gangstajoe gangstajoe is offline
                     
                    Join Date: Aug 2008
                    Gender:
                    Posts: 20
                    Quote:
                    Originally Posted by NTHKP View Post
                    That's really weird! I tried your script on my Emerald, Sapphire & Fire Red roms, and it worked just perfectly. I don't think there's any problem with the script. Perhaps there's some problem with the roms you use, or the hack tools.
                    It can't be the rom, because i use Sapphire, and you tried it. Maybe it's my XSE, i got version 1.0.0, i'll try to update it, and see if it works.

                    EDIT:
                    I update my XSE to 1.1.1, and now it's working :D Thanks for everything, i now have to find how i can let him step up, to the right or the left xD
                      #337    
                    Old January 24th, 2009 (3:50 AM).
                    NTHKP NTHKP is offline
                       
                      Join Date: Jul 2007
                      Nature: Adamant
                      Posts: 12
                      Quote:
                      Originally Posted by gangstajoe View Post
                      It can't be the rom, because i use Sapphire, and you tried it. Maybe it's my XSE, i got version 1.0.0, i'll try to update it, and see if it works.

                      EDIT:
                      I update my XSE to 1.1.1, and now it's working :D Thanks for everything, i now have to find how i can let him step up, to the right or the left xD
                      Then you should take a look at diegoisawesome's MEGA-HUGE XSE Scripting Tutorial. There's a part that shows lists of PKMN movement. Here:
                      http://www.pokecommunity.com/showthread.php?t=164276
                        #338    
                      Old January 24th, 2009 (5:23 AM).
                      Lukeyjohnno's Avatar
                      Lukeyjohnno Lukeyjohnno is offline
                      Hacker-In-Training ;)
                         
                        Join Date: Aug 2007
                        Gender:
                        Nature: Modest
                        Posts: 76
                        Right, I have a script that I'm using so that you go into the grass and talk to a pokemon sprite and go into battle. The only thing is, the pokemon comes out like this:

                        Spoiler:


                        Here is the script:
                        Spoiler:
                        '---------------
                        #org 0x800000
                        lock
                        faceplayer
                        msgbox 0x8800023 MSG_NORMAL '"???: Rio...lu..?"
                        cry 0x6 0x0
                        wildbattle 0x252 0x1E 0x8B
                        fadescreen 0x1
                        fadescreen 0x0
                        hidesprite LASTTALKED
                        setflag 0x200
                        release
                        end


                        '---------
                        ' Strings
                        '---------
                        #org 0x800023
                        = ???: Rio...lu..?


                        The pokémon is 0x252 because it is an added pokémon, can I get any help?
                        __________________
                        Banner Created By Me

                        Hacks I Support
                        Spoiler:
                        My Hack

                          #339    
                        Old January 24th, 2009 (6:54 AM).
                        NTHKP NTHKP is offline
                           
                          Join Date: Jul 2007
                          Nature: Adamant
                          Posts: 12
                          Quote:
                          Originally Posted by Lukeyjohnno View Post
                          Right, I have a script that I'm using so that you go into the grass and talk to a pokemon sprite and go into battle. The only thing is, the pokemon comes out like this:

                          Spoiler:


                          Here is the script:
                          Spoiler:
                          '---------------
                          #org 0x800000
                          lock
                          faceplayer
                          msgbox 0x8800023 MSG_NORMAL '"???: Rio...lu..?"
                          cry 0x6 0x0
                          wildbattle 0x252 0x1E 0x8B
                          fadescreen 0x1
                          fadescreen 0x0
                          hidesprite LASTTALKED
                          setflag 0x200
                          release
                          end


                          '---------
                          ' Strings
                          '---------
                          #org 0x800023
                          = ???: Rio...lu..?


                          The pokémon is 0x252 because it is an added pokémon, can I get any help?
                          I think you must've mistakenly put in 0x252 into the script. Since 252 in HEX equals 594 in DEC, and there are only 411 pokemon in the game (including the 25 unused ones). So fix that and it'll work.
                            #340    
                          Old January 24th, 2009 (11:08 AM).
                          gangstajoe gangstajoe is offline
                             
                            Join Date: Aug 2008
                            Gender:
                            Posts: 20
                            Quote:
                            Originally Posted by NTHKP View Post
                            Then you should take a look at diegoisawesome's MEGA-HUGE XSE Scripting Tutorial. There's a part that shows lists of PKMN movement. Here:
                            http://www.pokecommunity.com/showthread.php?t=164276
                            thank you so much for that link! that will help me for some time. it got lots of details :D.
                              #341    
                            Old January 24th, 2009 (11:18 AM). Edited January 24th, 2009 by Lukeyjohnno.
                            Lukeyjohnno's Avatar
                            Lukeyjohnno Lukeyjohnno is offline
                            Hacker-In-Training ;)
                               
                              Join Date: Aug 2007
                              Gender:
                              Nature: Modest
                              Posts: 76
                              Quote:
                              Originally Posted by NTHKP View Post
                              I think you must've mistakenly put in 0x252 into the script. Since 252 in HEX equals 594 in DEC, and there are only 411 pokemon in the game (including the 25 unused ones). So fix that and it'll work.
                              Oh! Thanks so much!!
                              Now, can anyone help me, lol, again?
                              Say after she's given the pokémon, make it so you can't see her sprite anymore?
                              I dunno where to put the hidesprite...
                              __________________
                              Banner Created By Me

                              Hacks I Support
                              Spoiler:
                              My Hack

                                #342    
                              Old January 24th, 2009 (6:17 PM).
                              NTHKP NTHKP is offline
                                 
                                Join Date: Jul 2007
                                Nature: Adamant
                                Posts: 12
                                Quote:
                                Originally Posted by Lukeyjohnno View Post
                                Oh! Thanks so much!!
                                Now, can anyone help me, lol, again?
                                Say after she's given the pokémon, make it so you can't see her sprite anymore?
                                I dunno where to put the hidesprite...
                                If your problem is: after fighting the pokemon, the spite did vanish, but if you take just one step then it will appear again, then open up Advance Map, type in 0200 for Person ID. (0200 is the value of the flag you used in the script, if you change this value, then change Person ID as well).
                                  #343    
                                Old January 25th, 2009 (1:37 AM).
                                Lukeyjohnno's Avatar
                                Lukeyjohnno Lukeyjohnno is offline
                                Hacker-In-Training ;)
                                   
                                  Join Date: Aug 2007
                                  Gender:
                                  Nature: Modest
                                  Posts: 76
                                  Quote:
                                  Originally Posted by NTHKP View Post
                                  If your problem is: after fighting the pokemon, the spite did vanish, but if you take just one step then it will appear again, then open up Advance Map, type in 0200 for Person ID. (0200 is the value of the flag you used in the script, if you change this value, then change Person ID as well).
                                  I put 0200 into the AMap, and it didn't change anything.
                                  What I really need is:
                                  Person to give the pokémon.
                                  Then say "I have to leave now."
                                  Then make it fade the screen, and the person is gone.
                                  __________________
                                  Banner Created By Me

                                  Hacks I Support
                                  Spoiler:
                                  My Hack

                                    #344    
                                  Old January 25th, 2009 (4:11 AM).
                                  NTHKP NTHKP is offline
                                     
                                    Join Date: Jul 2007
                                    Nature: Adamant
                                    Posts: 12
                                    Quote:
                                    Originally Posted by Lukeyjohnno View Post
                                    I put 0200 into the AMap, and it didn't change anything.
                                    What I really need is:
                                    Person to give the pokémon.
                                    Then say "I have to leave now."
                                    Then make it fade the screen, and the person is gone.
                                    OK, try this:

                                    #dynamic 0x800000

                                    #org @give
                                    lock
                                    faceplayer
                                    msgbox @poke 0x6
                                    givepokemon 0x192 0x1e 0x1 0x0 0x0 0x0
                                    msgbox @received 0x6
                                    fanfare 0x13e
                                    waitfanfare
                                    msgbox @leave 0x6
                                    fadescreen 0x1
                                    hidesprite LASTTALKED
                                    fadescreen 0x0
                                    setflag 0x1000
                                    release
                                    end

                                    #org @received
                                    = \v\h01 RECEIVED A POKEMON!

                                    #org @leave
                                    = I have to leave now.

                                    #org @poke
                                    = I've got something for you.

                                    I've already tested this on my FireRed rom, and it worked. Remember to change the Person ID into 1000.
                                      #345    
                                    Old January 25th, 2009 (10:10 AM). Edited January 25th, 2009 by Lukeyjohnno.
                                    Lukeyjohnno's Avatar
                                    Lukeyjohnno Lukeyjohnno is offline
                                    Hacker-In-Training ;)
                                       
                                      Join Date: Aug 2007
                                      Gender:
                                      Nature: Modest
                                      Posts: 76
                                      Quote:
                                      Originally Posted by NTHKP View Post
                                      OK, try this:

                                      #dynamic 0x800000

                                      #org @give
                                      lock
                                      faceplayer
                                      msgbox @poke 0x6
                                      givepokemon 0x192 0x1e 0x1 0x0 0x0 0x0
                                      msgbox @received 0x6
                                      fanfare 0x13e
                                      waitfanfare
                                      msgbox @leave 0x6
                                      fadescreen 0x1
                                      hidesprite LASTTALKED
                                      fadescreen 0x0
                                      setflag 0x1000
                                      release
                                      end

                                      #org @received
                                      = \v\h01 RECEIVED A POKEMON!

                                      #org @leave
                                      = I have to leave now.

                                      #org @poke
                                      = I've got something for you.

                                      I've already tested this on my FireRed rom, and it worked. Remember to change the Person ID into 1000.
                                      Thanks so much bro.
                                      You're helping me out alot, I'll just stick this into my ROM now..

                                      EDIT: Okay, so it worked, but I need it to activate the pokémon menu, how do I do this?

                                      EDIT2: Nevermind I sorted it, thanks a bunch ;D

                                      EDIT3: After testing it out completely. I left the house after obtaining the pokemon.
                                      I walked back in the house, and he was back there again...
                                      __________________
                                      Banner Created By Me

                                      Hacks I Support
                                      Spoiler:
                                      My Hack

                                        #346    
                                      Old January 25th, 2009 (8:27 PM). Edited January 25th, 2009 by NTHKP.
                                      NTHKP NTHKP is offline
                                         
                                        Join Date: Jul 2007
                                        Nature: Adamant
                                        Posts: 12
                                        Quote:
                                        Originally Posted by Lukeyjohnno View Post
                                        Thanks so much bro.
                                        You're helping me out alot, I'll just stick this into my ROM now..

                                        EDIT: Okay, so it worked, but I need it to activate the pokémon menu, how do I do this?

                                        EDIT2: Nevermind I sorted it, thanks a bunch ;D

                                        EDIT3: After testing it out completely. I left the house after obtaining the pokemon.
                                        I walked back in the house, and he was back there again...
                                        That can't be! When I first made a script of this hidesprite kind, I also had the same problem of the sprite reappearing like that. But then, I discovered that if I gave the sprite's PERSON ID the same value of the flag I used in the script (thanks to HackMew's built-in Guide in XSE), the problem would be solved.
                                        It's possible that you've got an older version of XSE. If so, update it and see if it works.

                                        EDIT: It's also possible that the flag you set in the script was already cleared. In that case just use another flag.
                                          #347    
                                        Old January 26th, 2009 (12:02 PM).
                                        Lukeyjohnno's Avatar
                                        Lukeyjohnno Lukeyjohnno is offline
                                        Hacker-In-Training ;)
                                           
                                          Join Date: Aug 2007
                                          Gender:
                                          Nature: Modest
                                          Posts: 76
                                          Quote:
                                          Originally Posted by NTHKP View Post
                                          That can't be! When I first made a script of this hidesprite kind, I also had the same problem of the sprite reappearing like that. But then, I discovered that if I gave the sprite's PERSON ID the same value of the flag I used in the script (thanks to HackMew's built-in Guide in XSE), the problem would be solved.
                                          It's possible that you've got an older version of XSE. If so, update it and see if it works.

                                          EDIT: It's also possible that the flag you set in the script was already cleared. In that case just use another flag.
                                          Well, what I have found out, is that i'll go back into the house, and he'll still be there, i'll take the pokémon off him and leave the house again. I go back in and he's gone for good.
                                          I did edit the script a little bit, to fit my needs. I'll repost it to see if I have change something I shouldn't have:
                                          Spoiler:
                                          '---------------
                                          #org 0x800988
                                          lock
                                          faceplayer
                                          msgbox 0x88009F2 MSG_NORMAL '"I've got something for you."
                                          givepokemon 0xFC 0x5 0x0 0x0 0x0 0x0
                                          fanfare 0x13E
                                          msgbox 0x88009C4 MSG_NORMAL '"[player] recieved a RIOLU!"
                                          setflag 0x828
                                          msgbox 0x88009DB MSG_NORMAL '"I have to leave now."
                                          fadescreen 0x1
                                          hidesprite LASTTALKED
                                          fadescreen 0x0
                                          setflag 0x1000
                                          release
                                          end


                                          '---------
                                          ' Strings
                                          '---------
                                          #org 0x8009F2
                                          = I've got something for you.

                                          #org 0x8009C4
                                          = vÀ recieved a RIOLU!

                                          #org 0x8009DB
                                          = I have to leave now.
                                          __________________
                                          Banner Created By Me

                                          Hacks I Support
                                          Spoiler:
                                          My Hack

                                            #348    
                                          Old March 1st, 2009 (12:15 PM).
                                          ninjaman's Avatar
                                          ninjaman ninjaman is offline
                                             
                                            Join Date: Feb 2009
                                            Gender:
                                            Posts: 35
                                            can some one give me a script for a 16,15 gym with 5 or 6 pokemon and sript for a in game clock or tut for these plz i need help
                                              #349    
                                            Old March 9th, 2009 (10:22 AM).
                                            Xatoku's Avatar
                                            Xatoku Xatoku is offline
                                            Game Developer
                                               
                                              Join Date: Feb 2009
                                              Location: Canada
                                              Gender: Male
                                              Posts: 451
                                              Umm whenever I click "compile" it says that "Too less paremeters on line 6. The correct number is 2"

                                              The script is,
                                              #Dynamic 0x800000

                                              #ORG @Main
                                              Lock
                                              FacePlayer
                                              Message @Speak
                                              BoxSet 0x6
                                              Release
                                              End

                                              #ORG @Speak
                                              = This is a message!

                                              What do I need to fix?
                                                #350    
                                              Old March 11th, 2009 (9:01 AM).
                                              chinchil123's Avatar
                                              chinchil123 chinchil123 is offline
                                                 
                                                Join Date: Mar 2009
                                                Age: 22
                                                Gender:
                                                Nature: Timid
                                                Posts: 3
                                                Thanks for this tut it really helped. ^-^
                                                Closed Thread

                                                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 12:25 AM.