The PokéCommunity Forums Fan Games ROM Hacking
Script Help Thread (DO NOT REQUEST SCRIPTS)

ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.


Closed Thread
 
Thread Tools
  #4776    
Old October 8th, 2010 (8:50 AM).
jota_rdk's Avatar
jota_rdk jota_rdk is offline
Spanish hacker [Javi4315]
     
    Join Date: Jul 2010
    Location: Spain
    Gender: Male
    Nature: Timid
    Posts: 98
    Quote:
    Originally Posted by Crimson Stardust View Post
    what command is that?
    can demonstrate me the use,
    will it make the start black right after the intro without showing the normal map first?
    Sure, you should make a lvl script (On entering map/[not on|on] menu close). An example:

    #org 0xoffset
    darken 0x0
    checkflag 0x(flag)
    if 0x1 goto 0x(flag)
    release
    end

    #org 0xoffset
    darken 0x4
    return

    I hope I have helped. Greetings!
    __________________
    Pokémon Golden Legend // Pokémon Silver Legend


    My tutorials:

    __________________
    My english is very bad, I know. Sorry! xD

    Relevant Advertising!

      #4777    
    Old October 8th, 2010 (6:49 PM).
    DeathYu DeathYu is offline
       
      Join Date: Apr 2009
      Gender:
      Posts: 21
      Quote:
      Originally Posted by jota_rdk View Post
      I think to change battle music you should do it with P.E.T



      Try it changing



      by



      if you use old version. On the other hand, if you use new version, you should use this:



      I use pokescript, but i think so. Greetings!

      Could you tell me what is a P.E.T ???
        #4778    
      Old October 8th, 2010 (8:11 PM).
      Sloo's Avatar
      Sloo Sloo is offline
         
        Join Date: Feb 2010
        Age: 29
        Gender: Male
        Posts: 312
        Ok, so my script works fine when the offset is given to a person, but when i give the offset to a script box nothing will happen when the player walks over it :/
          #4779    
        Old October 8th, 2010 (11:47 PM).
        Crimson Stardust's Avatar
        Crimson Stardust Crimson Stardust is offline
        Anime Addiction
           
          Join Date: Mar 2009
          Location: It is for me to noe and all of you to find out
          Age: 25
          Gender: Male
          Nature: Relaxed
          Posts: 1,300
          Quote:
          Originally Posted by Sllew View Post
          Ok, so my script works fine when the offset is given to a person, but when i give the offset to a script box nothing will happen when the player walks over it :/
          what do you mean a script box?
          the tile script?the one with the S[green].if it is that.
          you need to put var number and the above it too..
          I forgot the name since i cant open my a-map now..lol,lazy to check
          __________________



            #4780    
          Old October 9th, 2010 (2:53 AM).
          jota_rdk's Avatar
          jota_rdk jota_rdk is offline
          Spanish hacker [Javi4315]
             
            Join Date: Jul 2010
            Location: Spain
            Gender: Male
            Nature: Timid
            Posts: 98
            Quote:
            Originally Posted by DeathYu View Post
            Could you tell me what is a P.E.T ???
            PET is a program for change trainer features. With this tool, you can change battle music. Is similar an Advance trainer.

            I think that's what you wanted to know. If not, you tell me.
            __________________
            Pokémon Golden Legend // Pokémon Silver Legend


            My tutorials:

            __________________
            My english is very bad, I know. Sorry! xD
              #4781    
            Old October 9th, 2010 (1:45 PM).
            Sloo's Avatar
            Sloo Sloo is offline
               
              Join Date: Feb 2010
              Age: 29
              Gender: Male
              Posts: 312
              Yes, the green S box.
              Also I do have the var number as 4050 and the unknown box right above it set to 0003
              Ive also tried putting the unknown to 0300 like in diegoisawesome's script tutorial.

              All of this would work fine back when i was hacking ruby, but these script boxes dont seem to want to work on fire red.
                #4782    
              Old October 9th, 2010 (1:56 PM).
              Binary's Avatar
              Binary Binary is offline
              え?
                 
                Join Date: Aug 2007
                Age: 23
                Posts: 3,992
                Quote:
                Originally Posted by Sllew View Post
                Yes, the green S box.
                Also I do have the var number as 4050 and the unknown box right above it set to 0003
                Ive also tried putting the unknown to 0300 like in diegoisawesome's script tutorial.

                All of this would work fine back when i was hacking ruby, but these script boxes dont seem to want to work on fire red.
                Maybe a problem with the script then?
                __________________
                  #4783    
                Old October 9th, 2010 (2:13 PM).
                jota_rdk's Avatar
                jota_rdk jota_rdk is offline
                Spanish hacker [Javi4315]
                   
                  Join Date: Jul 2010
                  Location: Spain
                  Gender: Male
                  Nature: Timid
                  Posts: 98
                  Quote:
                  Originally Posted by Binary View Post
                  Maybe a problem with the script then?
                  Yes, also could be a problem with the script. But I think in fire red, you must put 5000 or 50000 in var number.

                  Try it and tell me.
                  __________________
                  Pokémon Golden Legend // Pokémon Silver Legend


                  My tutorials:

                  __________________
                  My english is very bad, I know. Sorry! xD
                    #4784    
                  Old October 9th, 2010 (2:34 PM).
                  Sloo's Avatar
                  Sloo Sloo is offline
                     
                    Join Date: Feb 2010
                    Age: 29
                    Gender: Male
                    Posts: 312
                    YES! 5000 in the var number and it works perfectly!
                    Thank you jota and everyone else!
                      #4785    
                    Old October 9th, 2010 (3:09 PM).
                    nenekins nenekins is offline
                       
                      Join Date: Jun 2010
                      Posts: 5
                      Quote:
                      Originally Posted by nenekins View Post
                      Having a problem calling upon the change nickname to a pokemon. Here's part of my script:

                      Code:
                      #org @geteevee
                      msgbox @gotonbt 0x4
                      closeonkeypress
                      applymovement 0x1 @ex
                      sound 0x15
                      pause 0x20
                      msgbox @almostforgot 0x4
                      closeonkeypress
                      givepokemon 0x85 0x5 0x00 0x00 0x00 0x00
                      setflag 0x828
                      setflag 0x829
                      bufferpokemon 0x0 0x85
                      preparemsg @recieve
                      waitmsg
                      fanfare 0x13E
                      waitfanfare
                      msgbox @2 0x5
                      compare LASTRESULT 0x1
                      if 0x1 gosub @callnickname
                      msgbox @3 0x4
                      closeonkeypress
                      setflag 0x206
                      setflag 0x208
                      setflag 0x203
                      setflag 0x200
                      release
                      end
                      
                      #org @callnickname
                      call 0x81A74EB
                      return
                      
                      #org 0x1A74EB
                      fadescreen 0x1
                      special 0xFE
                      waitstate
                      return
                      As far as I know, the script should work properly... and it does, unless I hit "yes" for if I want to rename the pokemon. Instead of going to the change nickname screen, it goes to the Trade Pokemon screen and trades with a trainer "Reyley" with a missingno. pokemon named "Mimien." I've also tried:

                      Code:
                      countpokemon
                      subvar 0x800D 0x1
                      copyvar 0x8004 0x800D 
                      fadescreen 0x1
                      special 0x166
                      waitstate
                      return
                      But instead of heading to the pokemon trade screen, it sends me to rename a Missingno. And when I hit ok, it doesn't rename my Eevee. Any help? :S
                      Does anyone know the issue to my problem? :\
                        #4786    
                      Old October 9th, 2010 (3:18 PM).
                      jota_rdk's Avatar
                      jota_rdk jota_rdk is offline
                      Spanish hacker [Javi4315]
                         
                        Join Date: Jul 2010
                        Location: Spain
                        Gender: Male
                        Nature: Timid
                        Posts: 98
                        Quote:
                        Originally Posted by nenekins View Post
                        Does anyone know the issue to my problem? :\
                        mm... You use fire red or ruby? I need know it.
                        __________________
                        Pokémon Golden Legend // Pokémon Silver Legend


                        My tutorials:

                        __________________
                        My english is very bad, I know. Sorry! xD
                          #4787    
                        Old October 9th, 2010 (3:27 PM).
                        nenekins nenekins is offline
                           
                          Join Date: Jun 2010
                          Posts: 5
                          Quote:
                          Originally Posted by jota_rdk View Post
                          mm... You use fire red or ruby? I need know it.

                          Sorry. Forgot to post that. It's Fire Red.
                            #4788    
                          Old October 9th, 2010 (3:42 PM).
                          jota_rdk's Avatar
                          jota_rdk jota_rdk is offline
                          Spanish hacker [Javi4315]
                             
                            Join Date: Jul 2010
                            Location: Spain
                            Gender: Male
                            Nature: Timid
                            Posts: 98
                            Quote:
                            Originally Posted by nenekins View Post
                            Sorry. Forgot to post that. It's Fire Red.
                            Ok, try it changing call 0x81A74EB. Put this call 0x1A74EB, without the 8. Try it and tell me. Greetings!
                            __________________
                            Pokémon Golden Legend // Pokémon Silver Legend


                            My tutorials:

                            __________________
                            My english is very bad, I know. Sorry! xD
                              #4789    
                            Old October 9th, 2010 (3:48 PM).
                            nenekins nenekins is offline
                               
                              Join Date: Jun 2010
                              Posts: 5
                              Quote:
                              Originally Posted by jota_rdk View Post
                              Ok, try it changing call 0x81A74EB. Put this call 0x1A74EB, without the 8. Try it and tell me. Greetings!
                              Thanks for the help, but when XSE compiles it, it changes it back to 0x81A74EB.

                              PS. You can speak to me in Spanish if your English isn't very good.
                                #4790    
                              Old October 9th, 2010 (4:02 PM).
                              jota_rdk's Avatar
                              jota_rdk jota_rdk is offline
                              Spanish hacker [Javi4315]
                                 
                                Join Date: Jul 2010
                                Location: Spain
                                Gender: Male
                                Nature: Timid
                                Posts: 98
                                Quote:
                                Originally Posted by nenekins View Post
                                Thanks for the help, but when XSE compiles it, it changes it back to 0x81A74EB.

                                PS. You can speak to me in Spanish if your English isn't very good.
                                No, sorry, if I speak in spanish is spam xD

                                I don't know the reason. You changed it directly or you compile the script again?

                                I think it is the problem. Try change it.
                                __________________
                                Pokémon Golden Legend // Pokémon Silver Legend


                                My tutorials:

                                __________________
                                My english is very bad, I know. Sorry! xD
                                  #4791    
                                Old October 12th, 2010 (5:34 PM).
                                TB Pro's Avatar
                                TB Pro TB Pro is offline
                                Old-timer
                                   
                                  Join Date: Nov 2004
                                  Location: Midwestern USA
                                  Age: 23
                                  Gender: Male
                                  Posts: 2,739
                                  Okay, so I am having some trouble with the Pokepic commands in XSE. Fire Red base.
                                  Code:
                                  #org @part2
                                  showpokepic PKMN_TENTACOOL 0x1 0x1
                                  msgbox @ossincise 0x5
                                  compare 0x800D 0x1
                                  hidepokepic
                                  if 0x1 goto @ossincisechose
                                  showpokepic PKMN_SNORUNT 0x1 0x1
                                  msgbox @snorunt 0x5
                                  compare 0x800D 0x1
                                  hidepokepic
                                  if 0x1 goto @snoruntchose
                                  showpokepic PKMN_LUNATONE 0x1 0x1
                                  msgbox @birdawl 0x5
                                  compare 0x800D 0x1
                                  hidepokepic
                                  if 0x1 goto @birdawlchose
                                  msgbox @whichone 0x6
                                  goto @part2
                                  When I try to compile it says "unknown keyword '0x61 pokepic' on line 47" line 47 is the first showpokepic line. It also says "unknown keyword '0x60 pokepic' on line 51" line 51 is the first hidepokepic line.
                                  __________________
                                  --I'm a creepin'..
                                    #4792    
                                  Old October 12th, 2010 (8:52 PM).
                                  nenekins nenekins is offline
                                     
                                    Join Date: Jun 2010
                                    Posts: 5
                                    Quote:
                                    Originally Posted by TB Pro View Post
                                    Okay, so I am having some trouble with the Pokepic commands in XSE. Fire Red base.
                                    Code:
                                    #org @part2
                                    showpokepic PKMN_TENTACOOL 0x1 0x1
                                    msgbox @ossincise 0x5
                                    compare 0x800D 0x1
                                    hidepokepic
                                    if 0x1 goto @ossincisechose
                                    showpokepic PKMN_SNORUNT 0x1 0x1
                                    msgbox @snorunt 0x5
                                    compare 0x800D 0x1
                                    hidepokepic
                                    if 0x1 goto @snoruntchose
                                    showpokepic PKMN_LUNATONE 0x1 0x1
                                    msgbox @birdawl 0x5
                                    compare 0x800D 0x1
                                    hidepokepic
                                    if 0x1 goto @birdawlchose
                                    msgbox @whichone 0x6
                                    goto @part2
                                    When I try to compile it says "unknown keyword '0x61 pokepic' on line 47" line 47 is the first showpokepic line. It also says "unknown keyword '0x60 pokepic' on line 51" line 51 is the first hidepokepic line.
                                    Have you tried changing the PKMN_xxxxxx to the actual Pokedex number in hex? So tentacool = 0x48, snorunt = 0xAB, and lunatone = 0x7D?
                                      #4793    
                                    Old October 12th, 2010 (9:03 PM).
                                    Teh Blazer's Avatar
                                    Teh Blazer Teh Blazer is offline
                                    Divider of Zero
                                       
                                      Join Date: Feb 2009
                                      Location: 'MERICA
                                      Age: 22
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 775
                                      Quote:
                                      Originally Posted by TB Pro View Post
                                      Okay, so I am having some trouble with the Pokepic commands in XSE. Fire Red base.
                                      Code:
                                      #org @part2
                                      showpokepic PKMN_TENTACOOL 0x1 0x1
                                      msgbox @ossincise 0x5
                                      compare 0x800D 0x1
                                      hidepokepic
                                      if 0x1 goto @ossincisechose
                                      showpokepic PKMN_SNORUNT 0x1 0x1
                                      msgbox @snorunt 0x5
                                      compare 0x800D 0x1
                                      hidepokepic
                                      if 0x1 goto @snoruntchose
                                      showpokepic PKMN_LUNATONE 0x1 0x1
                                      msgbox @birdawl 0x5
                                      compare 0x800D 0x1
                                      hidepokepic
                                      if 0x1 goto @birdawlchose
                                      msgbox @whichone 0x6
                                      goto @part2
                                      When I try to compile it says "unknown keyword '0x61 pokepic' on line 47" line 47 is the first showpokepic line. It also says "unknown keyword '0x60 pokepic' on line 51" line 51 is the first hidepokepic line.
                                      Okay Mr. Pro, there is no showpokepic nor hidepokepic command in PKSV, only XSE (to my little knowledge).
                                      The way to show an image is to use : #raw 0x75
                                      followed by the pokemon,'s number, a buffer, then the coordinates.
                                      EX:
                                      #raw 0x75 0x93 0x0 0xA 0x3
                                      Would pop up Dratini (Me thinks, but is pretty sure I'm wrong) in (10,3) or the center.

                                      To close, use: #raw 0x76
                                      __________________
                                      Being a hero is overrated anyways
                                        #4794    
                                      Old October 13th, 2010 (2:03 AM). Edited October 13th, 2010 by Crimson Stardust.
                                      Crimson Stardust's Avatar
                                      Crimson Stardust Crimson Stardust is offline
                                      Anime Addiction
                                         
                                        Join Date: Mar 2009
                                        Location: It is for me to noe and all of you to find out
                                        Age: 25
                                        Gender: Male
                                        Nature: Relaxed
                                        Posts: 1,300
                                        anyway,i have a problem with this script,i want to warp to route 1 from one map to another,which is like from vermiilion to route 1 so i do this script,its a lvel script btw.
                                        Spoiler:
                                        #dynamic 0x800000
                                        #org @start
                                        playsong 0x118 0x0
                                        fadescreen 0x1
                                        msgbox @1 0x4
                                        warp 0x3 0x19 0xFF 0x8 0xE
                                        fadesong 0x123
                                        fadescreen 0x0
                                        setvar 0x5006 0x1
                                        release
                                        end

                                        but after the messge it warp me to route 7 intead which map is no 3:19 but 3:25..
                                        don't noe why


                                        __________________



                                          #4795    
                                        Old October 13th, 2010 (10:24 AM).
                                        Spherical Ice's Avatar
                                        Spherical Ice Spherical Ice is online now
                                         
                                        Join Date: Nov 2007
                                        Location: Bristol, UK
                                        Age: 20
                                        Posts: 5,214
                                        Quote:
                                        Originally Posted by Crimson Stardust View Post
                                        anyway,i have a problem with this script,i want to warp to route 1 from one map to another,which is like from vermiilion to route 1 so i do this script,its a lvel script btw.
                                        Spoiler:
                                        #dynamic 0x800000
                                        #org @start
                                        playsong 0x118 0x0
                                        fadescreen 0x1
                                        msgbox @1 0x4
                                        warp 0x3 0x19 0xFF 0x8 0xE
                                        fadesong 0x123
                                        fadescreen 0x0
                                        setvar 0x5006 0x1
                                        release
                                        end

                                        but after the messge it warp me to route 7 intead which map is no 3:19 but 3:25..
                                        don't noe why


                                        Spoiler:
                                        #dynamic 0x800000
                                        #org @start
                                        playsong 0x118 0x0
                                        fadescreen 0x1
                                        msgbox @1 0x4
                                        fadesong 0x123
                                        fadescreen 0x0
                                        setvar 0x5006 0x1

                                        warp 0x3 0x19 0x0* 0x8 0xE
                                        end

                                        Ammendments in bold. Okay, first off, everything after a warp is null, as the player is no longer in that map. Furthermore, you can't have Warp 0xFF, so the third parameter was incorrect. The asterisk (*) indicates that it changes depending on the warp number which you want to warp me to. I believe the 0xFF was the problem, however if not then please tell me.

                                        Quote:
                                        Originally Posted by Teh Blazer View Post
                                        Okay Mr. Pro, there is no showpokepic nor hidepokepic command in PKSV, only XSE (to my little knowledge).
                                        The way to show an image is to use : #raw 0x75
                                        followed by the pokemon,'s number, a buffer, then the coordinates.
                                        EX:
                                        #raw 0x75 0x93 0x0 0xA 0x3
                                        Would pop up Dratini (Me thinks, but is pretty sure I'm wrong) in (10,3) or the center.

                                        To close, use: #raw 0x76
                                        Um, he is using XSE...

                                        Quote:
                                        Originally Posted by TB Pro View Post
                                        Okay, so I am having some trouble with the Pokepic commands in XSE. Fire Red base.
                                        Code:
                                        #org @part2
                                        showpokepic PKMN_TENTACOOL 0x1 0x1
                                        msgbox @ossincise 0x5
                                        compare 0x800D 0x1
                                        hidepokepic
                                        if 0x1 goto @ossincisechose
                                        showpokepic PKMN_SNORUNT 0x1 0x1
                                        msgbox @snorunt 0x5
                                        compare 0x800D 0x1
                                        hidepokepic
                                        if 0x1 goto @snoruntchose
                                        showpokepic PKMN_LUNATONE 0x1 0x1
                                        msgbox @birdawl 0x5
                                        compare 0x800D 0x1
                                        hidepokepic
                                        if 0x1 goto @birdawlchose
                                        msgbox @whichone 0x6
                                        goto @part2
                                        When I try to compile it says "unknown keyword '0x61 pokepic' on line 47" line 47 is the first showpokepic line. It also says "unknown keyword '0x60 pokepic' on line 51" line 51 is the first hidepokepic line.
                                        Hm, I'm not sure.... Perhaps there's a conflict in one of the std files or something? Idk.
                                          #4796    
                                        Old October 13th, 2010 (10:39 AM).
                                        Andrut's Avatar
                                        Andrut Andrut is offline
                                        Collecting dust since 1898
                                           
                                          Join Date: Dec 2009
                                          Location: Warsaw, Poland
                                          Age: 19
                                          Posts: 286
                                          A thing:
                                          I want to start a hack without the stupid Oak script. In fact,i don't want Oak to appear.
                                          I edited the Eevee script.
                                          I have a script,however when i get the Meowth,there's still no "party" feature like i still have no pokemon:
                                          Spoiler:
                                          Quote:
                                          '---------------
                                          #org 0x16C46D
                                          lock
                                          faceplayer
                                          setvar 0x4001 0x85
                                          givepokemon 0x34 0x5 0x0 0x0 0x0 0x0
                                          compare LASTRESULT 0x0
                                          if 0x1 goto 0x816C4A6
                                          compare LASTRESULT 0x1
                                          if 0x1 goto 0x816C4DA
                                          compare LASTRESULT 0x2
                                          if 0x1 goto 0x81A927C
                                          release
                                          end
                                          '---------------
                                          #org 0x16C4A6
                                          hidesprite 0x2
                                          fanfare 0x101
                                          preparemsg 0x8196591 '"[player] obtained a MEOWTH!"
                                          waitmsg
                                          waitfanfare
                                          bufferpokemon 0x0 0x85
                                          msgbox 0x81A56A7 MSG_YESNO '"Do you want to give a nickname to\..."
                                          compare LASTRESULT 0x0
                                          if 0x1 goto 0x816C514
                                          call 0x81A8C27
                                          call 0x81A74EB
                                          goto 0x816C514
                                          '---------------
                                          #org 0x16C4DA
                                          hidesprite 0x2
                                          fanfare 0x101
                                          preparemsg 0x8196591 '"[player] obtained a MEOWTH!"
                                          waitmsg
                                          waitfanfare
                                          bufferpokemon 0x0 0x34
                                          msgbox 0x81A56A7 MSG_YESNO '"Do you want to give a nickname to\..."
                                          compare LASTRESULT 0x0
                                          if 0x1 goto 0x816C509
                                          call 0x81A8C33
                                          goto 0x816C509
                                          '---------------
                                          #org 0x1A927C
                                          textcolor 0x3
                                          msgbox 0x81A5E31 MSG_KEEPOPEN '"There's no more room for POKéMON!\..."
                                          release
                                          end
                                          '---------------
                                          #org 0x16C514
                                          setflag 0x263
                                          release
                                          end
                                          '---------------
                                          #org 0x1A8C27
                                          countpokemon
                                          subvar LASTRESULT 0x1
                                          copyvar 0x8004 LASTRESULT
                                          return
                                          '---------------
                                          #org 0x1A74EB
                                          fadescreen 0x1
                                          special 0x9E
                                          waitstate
                                          return
                                          '---------------
                                          #org 0x16C509
                                          call 0x81A8C3C
                                          goto 0x816C514
                                          '---------------
                                          #org 0x1A8C33
                                          fadescreen 0x1
                                          special 0x166
                                          waitstate
                                          lock
                                          faceplayer
                                          return
                                          '---------------
                                          #org 0x1A8C3C
                                          bufferboxname 0x0 0x4037
                                          bufferpokemon 0x1 0x4001
                                          checkflag 0x834
                                          if 0x0 call 0x81A8C57
                                          checkflag 0x834
                                          if 0x1 call 0x81A8C82
                                          return
                                          '---------------
                                          #org 0x1A8C57
                                          special2 LASTRESULT 0x165
                                          compare LASTRESULT 0x1
                                          if 0x1 goto 0x81A8C70
                                          msgbox 0x81A5CF1 MSG_KEEPOPEN '"[buffer2] was transferred to\nSome..."
                                          return
                                          '---------------
                                          #org 0x1A8C82
                                          special2 LASTRESULT 0x165
                                          compare LASTRESULT 0x1
                                          if 0x1 goto 0x81A8C9B
                                          msgbox 0x81A5D31 MSG_KEEPOPEN '"[buffer2] was transferred to\nBILL..."
                                          return
                                          '---------------
                                          #org 0x1A8C70
                                          special2 LASTRESULT 0x18A
                                          bufferboxname 0x2 LASTRESULT
                                          msgbox 0x81A5D6E MSG_KEEPOPEN '"BOX ["][buffer3]" on\nSomeone's PC..."
                                          return
                                          '---------------
                                          #org 0x1A8C9B
                                          special2 LASTRESULT 0x18A
                                          bufferboxname 0x2 LASTRESULT
                                          msgbox 0x81A5DB1 MSG_KEEPOPEN '"BOX ["][buffer3]" on\nBILL'S PC wa..."
                                          return

                                          '---------
                                          ' Strings
                                          '---------
                                          #org 0x196591
                                          = [player] obtained a MEOWTH!
                                          #org 0x1A56A7
                                          = Do you want to give a nickname to\nthis [buffer1]?
                                          #org 0x1A5E31
                                          = There's no more room for POKéMON!\pThe POKéMON BOXES are full and\ncan't accept any more!
                                          #org 0x1A5CF1
                                          = [buffer2] was transferred to\nSomeone's PC.\pIt was placed in \nBOX ["][buffer1]."
                                          #org 0x1A5D31
                                          = [buffer2] was transferred to\nBILL'S PC.\pIt was placed in \nBOX ["][buffer1]."
                                          #org 0x1A5D6E
                                          = BOX ["][buffer3]" on\nSomeone's PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."
                                          #org 0x1A5DB1
                                          = BOX ["][buffer3]" on\nBILL'S PC was full.\p[buffer2] was transferred to\nBOX ["][buffer1]."

                                          Could someone fix this script to make it avaliable even when not interacting in the game?
                                          Also,is there a thread where i can request scripts? I have no clue how to do one..
                                          __________________
                                          Quote:
                                          Originally Posted by anonymous
                                          Florges
                                          It's a forest guardian that pities how bad a type Grass is, so it gets moves to help out Grass-types, but is smart enough not to be Grass-type itself. The appearance is simply mimicry to hide from humans.
                                            #4797    
                                          Old October 13th, 2010 (10:41 AM).
                                          Spherical Ice's Avatar
                                          Spherical Ice Spherical Ice is online now
                                           
                                          Join Date: Nov 2007
                                          Location: Bristol, UK
                                          Age: 20
                                          Posts: 5,214
                                          You need to set the flag 0x828. And there is no thread for requesting scripts; just like there isn't one for requesting maps either.
                                            #4798    
                                          Old October 13th, 2010 (10:54 AM).
                                          Andrut's Avatar
                                          Andrut Andrut is offline
                                          Collecting dust since 1898
                                             
                                            Join Date: Dec 2009
                                            Location: Warsaw, Poland
                                            Age: 19
                                            Posts: 286
                                            Sorry for bothering,but how to make that person event disappear? It is still there...
                                            __________________
                                            Quote:
                                            Originally Posted by anonymous
                                            Florges
                                            It's a forest guardian that pities how bad a type Grass is, so it gets moves to help out Grass-types, but is smart enough not to be Grass-type itself. The appearance is simply mimicry to hide from humans.
                                              #4799    
                                            Old October 13th, 2010 (10:58 AM).
                                            Spherical Ice's Avatar
                                            Spherical Ice Spherical Ice is online now
                                             
                                            Join Date: Nov 2007
                                            Location: Bristol, UK
                                            Age: 20
                                            Posts: 5,214
                                            Not trying to be rude, but perhaps if you look at a scripting tutorial and make one from scratch you'll be able to grasp basics such as that? It'll be better for you, in the long run.
                                              #4800    
                                            Old October 13th, 2010 (12:52 PM). Edited October 13th, 2010 by TB Pro.
                                            TB Pro's Avatar
                                            TB Pro TB Pro is offline
                                            Old-timer
                                               
                                              Join Date: Nov 2004
                                              Location: Midwestern USA
                                              Age: 23
                                              Gender: Male
                                              Posts: 2,739
                                              Quote:
                                              Originally Posted by Teh Blazer View Post
                                              Okay Mr. Pro, there is no showpokepic nor hidepokepic command in PKSV, only XSE (to my little knowledge).
                                              The way to show an image is to use : #raw 0x75
                                              followed by the pokemon,'s number, a buffer, then the coordinates.
                                              EX:
                                              #raw 0x75 0x93 0x0 0xA 0x3
                                              Would pop up Dratini (Me thinks, but is pretty sure I'm wrong) in (10,3) or the center.

                                              To close, use: #raw 0x76
                                              Lol, I said that I am using XSE :P

                                              Quote:
                                              Originally Posted by Spherical Ice View Post
                                              Spoiler:
                                              #dynamic 0x800000
                                              #org @start
                                              playsong 0x118 0x0
                                              fadescreen 0x1
                                              msgbox @1 0x4
                                              fadesong 0x123
                                              fadescreen 0x0
                                              setvar 0x5006 0x1

                                              warp 0x3 0x19 0x0* 0x8 0xE
                                              end

                                              Ammendments in bold. Okay, first off, everything after a warp is null, as the player is no longer in that map. Furthermore, you can't have Warp 0xFF, so the third parameter was incorrect. The asterisk (*) indicates that it changes depending on the warp number which you want to warp me to. I believe the 0xFF was the problem, however if not then please tell me.


                                              Um, he is using XSE...


                                              Hm, I'm not sure.... Perhaps there's a conflict in one of the std files or something? Idk.
                                              I'm not sure, but I tried it with the hex numbers of the Pokemon as well, and it didn't work. :O

                                              EDIT:
                                              Okay, I just replaced them with their #raw counterparts, but when I try to compile it, everything goes wrong.

                                              Original Script:
                                              Code:
                                              #include stdmove.rbh
                                              #include stditems.rbh
                                              #include stdpoke.rbh
                                              #dynamic 0x800000
                                              #org @begin
                                              lock
                                              faceplayer
                                              checkflag 0x200
                                              compare 0x800D 0x1
                                              if 0x1 goto @done
                                              msgbox @sleep 0x6
                                              applymovement 0x0 @exe
                                              waitmovement 0
                                              playsong 0x11B 0x1
                                              msgbox @bedintrude 0x6
                                              applymovement 0xFF @x
                                              waitmovement 0
                                              msgbox @nointrude 0x6
                                              fadedefault
                                              applymovement 0x0 @walk2
                                              applymovement 0xFF @walk3
                                              waitmovement 0
                                              pause 0x14
                                              applymovement 0x0 @look
                                              waitmovement 0
                                              applymovement 0xFF @?
                                              waitmovement 0
                                              pause 0xA
                                              applymovement 0x0 @look2
                                              waitmovement 0
                                              pause 0xA
                                              msgbox @stolen 0x6
                                              pause 0xA
                                              applymovement 0x0 @look3
                                              waitmovement 0
                                              applymovement 0x0 @look4
                                              waitmovement 0
                                              pause 0x14
                                              applymovement 0x0 @look5
                                              waitmovement 0
                                              msgbox @talk2 0x6
                                              applymovement 0xFF @x2
                                              waitmovement 0
                                              setflag 0x828
                                              goto @part2
                                              
                                              #org @part2
                                              #raw 0x75 0x48 0xA 0x3
                                              msgbox @ossincise 0x5
                                              compare 0x800D 0x1
                                              #raw 0x76
                                              if 0x1 goto @ossincisechose
                                              #raw 0x75 0xAB 0xA 0x3
                                              msgbox @snorunt 0x5
                                              compare 0x800D 0x1
                                              #raw 0x76
                                              if 0x1 goto @snoruntchose
                                              #raw 0x75 0x7D 0xA 0x3
                                              msgbox @birdawl 0x5
                                              compare 0x800D 0x1
                                              #raw 0x76
                                              if 0x1 goto @birdawlchose
                                              msgbox @whichone 0x6
                                              goto @part2
                                              
                                              #org @ossincisechose
                                              givepokemon PKMN_TENTACOOL 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
                                              signmsg
                                              msgbox @ossincisegot 0x6
                                              normalmsg
                                              goto @part3
                                              
                                              #org @snoruntchose
                                              givepokemon PKMN_SNORUNT 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
                                              signmsg
                                              msgbox @snoruntgot 0x6
                                              normalmsg
                                              goto @part3
                                              
                                              #org @birdawlchose
                                              givepokemon PKMN_LUNATONE 0x5 ITEM_ORANBERRY 0x0 0x0 0x0
                                              signmsg
                                              msgbox @birdawlgot 0x6
                                              normalmsg
                                              goto @part3
                                              
                                              #org @part3
                                              msgbox @takecare 0x6
                                              applymovement 0xFF @^^
                                              waitmovement 0
                                              msgbox @talk5 0x6
                                              applymovement 0xFF @walk5
                                              applymovement 0x0 @walk6
                                              waitmovement 0
                                              setflag 0x200
                                              release
                                              end
                                              
                                              #org @done
                                              msgbox @talk 0x6
                                              release
                                              end
                                              
                                              #org @talk
                                              = [blue_fr]Wah? Huh?\nOh it's you.\pHow is that Pokémon of yours?
                                              
                                              #org @sleep
                                              = [blue_fr][small]Zzz\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02Zzz\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02Zz[small]z
                                              
                                              #org @exe
                                              #raw !_box 0x30 end_move
                                              
                                              #org @bedintrude
                                              =[blue_fr]Wah\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02huh?\nOh no, it's the bed intruder!\pHide ya kids, hide ya wife\c\h08\h02.\c\h08\h02.\c\h08\h02.
                                              
                                              #org @x
                                              #raw x_box end_move
                                              
                                              #org @nointrude
                                              =[blue_fr]Oh, you're [green_fr][player][blue_fr], aren't you?\p\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02\nAh, you wanted a Pokémon didn't\lyou?\p\c\h08\h02.\c\h08\h02.\c\h08\h02.\c\h08\h02\nRight, I keep the [lightgreen_fr]Pokéballs [blue_fr]in the\lcabinet behind me, let me go and\lget them.
                                              
                                              #org @walk2
                                              #raw step_right step_up step_up step_up step_left 0x2E end_move
                                              
                                              #org @walk3
                                              #raw step_right step_left step_up step_up step_up 0x2F end_move
                                              
                                              #org @look
                                              #raw 0x30 end_move
                                              
                                              #org @?
                                              #raw ?_box end_move
                                              
                                              #org @look2
                                              #raw 0x2E end_move
                                              
                                              #org @stolen
                                              = [blue_fr]Blasphemy!\nIt seems somebody made off with\lthe [lightgreen_fr]Pokéballs[blue_fr]!\p\c\h08\h02.\c\h08\h02.\c\h08\h02.
                                              
                                              #org @look3
                                              #raw 0x30 end_move
                                              
                                              #org @look4
                                              #raw 0x2E end_move
                                              
                                              #org @look5
                                              #raw 0x30 end_move
                                              
                                              #org @talk2
                                              = [blue_fr]Ah, here they are.\nI put them [black_fr]inside [blue_fr]the cabinet, who\lwould have guessed?
                                              
                                              #org @x2
                                              #raw x_box end_move
                                              
                                              #org @ossincise
                                              = [blue_fr]So you want the [black_fr]Fighting [blue_fr]Type\nPokémon, [darknavyblue_fr]Ossincise[blue_fr]?
                                              
                                              #org @snorunt
                                              = [blue_fr]So you want the [black_fr]Ice [blue_fr]type Pokémon,\n[darknavyblue_fr]Snorunt[blue_fr]?
                                              
                                              #org @birdawl
                                              = [blue_fr]So you want the [black_fr]Flying [blue_fr]type Pokémon,\n[darknavyblue_fr]Birdawl[blue_fr]?
                                              
                                              #org @whichone
                                              = [blue_fr]Which Pokémon do you want?
                                              
                                              #org @ossincisegot
                                              = [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Ossincise[black_fr]!
                                              
                                              #org @snoruntgot
                                              = [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Snorunt[black_fr]!
                                              
                                              #org @birdawlgot
                                              = [green_fr][PLAYER] [black_fr]recieved [darknavyblue_fr]Birdawl[black_fr]!
                                              
                                              #org @takecare
                                              = [green_fr][PLAYER] [blue_fr]take good care of that\nPokémon, now.
                                              
                                              #org @^^
                                              #raw ^^_box end_move
                                              
                                              #org @talk5
                                              = [blue_fr]I've held you up long enough, you\nbetter head down to [green_fr]Crater Town[blue_fr].\pTake care, [green_fr][PLAYER][blue_fr]!
                                              
                                              #org @walk5
                                              #raw step_down step_down step_down step_down 0x2E end_move
                                              
                                              #org @walk6
                                              #raw step_right step_down step_down step_down step_left 0x2D end_move
                                              Compiled Script:
                                              Code:
                                              '---------------
                                              #org 0x82614D
                                              lock
                                              faceplayer
                                              checkflag 0x200
                                              compare LASTRESULT 0x1
                                              if 0x1 goto 0x88262F1
                                              msgbox 0x8826336 MSG_NORMAL '"[blue_fr][small]Zzz\c\h08Á.\c\h08Á..."
                                              applymovement 0x0 0x8826369
                                              waitmovement 0x0
                                              playsong 0x11B 0x1
                                              msgbox 0x882636D MSG_NORMAL '"blue fr Wah\c\h08Á.\c\h08Á.\c\h08Á..."
                                              applymovement MOVE_PLAYER 0x88263D3
                                              waitmovement 0x0
                                              msgbox 0x88263D6 MSG_NORMAL '"blue fr Oh, you're  green fr  play..."
                                              fadedefault
                                              applymovement 0x0 0x88264BF
                                              applymovement MOVE_PLAYER 0x88264C7
                                              waitmovement 0x0
                                              pause 0x14
                                              applymovement 0x0 0x88264CF
                                              waitmovement 0x0
                                              applymovement MOVE_PLAYER 0x88264D2
                                              waitmovement 0x0
                                              pause 0xA
                                              applymovement 0x0 0x88264D5
                                              waitmovement 0x0
                                              pause 0xA
                                              msgbox 0x88264D8 MSG_NORMAL '"[blue_fr]Blasphemy!\nIt seems some..."
                                              pause 0xA
                                              applymovement 0x0 0x882652A
                                              waitmovement 0x0
                                              applymovement 0x0 0x882652D
                                              waitmovement 0x0
                                              pause 0x14
                                              applymovement 0x0 0x8826530
                                              waitmovement 0x0
                                              msgbox 0x8826533 MSG_NORMAL '"[blue_fr]Ah, here they are.\nI put..."
                                              applymovement MOVE_PLAYER 0x8826588
                                              waitmovement 0x0
                                              setflag 0x828
                                              goto 0x882620D
                                              
                                              '---------------
                                              #org 0x8262F1
                                              msgbox 0x88262FC MSG_NORMAL '"[blue_fr]Wah? Huh?\nOh it's you.\p..."
                                              release
                                              end
                                              
                                              '---------------
                                              #org 0x82620D
                                              showpokepic 0xA48 0x3 0xF
                                              nop
                                              choosecontestpkmn
                                              spritebehave 0x882 0x9
                                              goto 0x1800D21
                                              
                                              
                                              '---------
                                              ' Strings
                                              '---------
                                              #org 0x826336
                                              = [blue_fr][small]Zzz\c\h08Á.\c\h08Á.\c\h08Á.\c\h08ÁZzz\c\h08Á.\c\h08Á.\c\h08Á.\c\h08ÁZz[small]z
                                              
                                              #org 0x82636D
                                              = blue fr Wah\c\h08Á.\c\h08Á.\c\h08Á.\c\h08Áhuh?\nOh no, it's the bed intruder!\pHide ya kids, hide ya wife\c\h08Á.\c\h08Á.\c\h08Á.
                                              
                                              #org 0x8263D6
                                              = blue fr Oh, you're  green fr  player  blue fr , aren't you?\p\c\h08Á.\c\h08Á.\c\h08Á.\c\h08Á\nAh, you wanted a Pokémon didn't\lyou?\p\c\h08Á.\c\h08Á.\c\h08Á.\c\h08Á\nRight, I keep the  lightgreen fr Pokéballs  blue fr in the\lcabinet behind me, let me go and\lget them.
                                              
                                              #org 0x8264D8
                                              = [blue_fr]Blasphemy!\nIt seems somebody made off with\lthe [lightgreen_fr]Pokéballs[blue_fr]!\p\c\h08Á.\c\h08Á.\c\h08Á.
                                              
                                              #org 0x826533
                                              = [blue_fr]Ah, here they are.\nI put them [black_fr]inside [blue_fr]the cabinet, who\lwould have guessed?
                                              
                                              #org 0x8262FC
                                              = [blue_fr]Wah? Huh?\nOh it's you.\pHow is that Pokémon of yours?
                                              
                                              
                                              '-----------
                                              ' Movements
                                              '-----------
                                              #org 0x826369
                                              #raw 0x62 'Exclamation Mark (!)
                                              #raw 0x30 'Face Right (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8263D3
                                              #raw 0x64 'Cross (X)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8264BF
                                              #raw 0x13 'Step Right (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x12 'Step Left (Normal)
                                              #raw 0x2E 'Face Up (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8264C7
                                              #raw 0x13 'Step Right (Normal)
                                              #raw 0x12 'Step Left (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x11 'Step Up (Normal)
                                              #raw 0x2F 'Face Left (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8264CF
                                              #raw 0x30 'Face Right (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8264D2
                                              #raw 0x63 'Question Mark (?)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x8264D5
                                              #raw 0x2E 'Face Up (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x82652A
                                              #raw 0x30 'Face Right (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x82652D
                                              #raw 0x2E 'Face Up (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x826530
                                              #raw 0x30 'Face Right (Delayed)
                                              #raw 0xFE 'End of Movements
                                              
                                              #org 0x826588
                                              #raw 0x64 'Cross (X)
                                              #raw 0xFE 'End of Movements
                                              __________________
                                              --I'm a creepin'..
                                              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 4:17 AM.