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
  #1526    
Old June 25th, 2009 (1:29 PM). Edited June 25th, 2009 by Doom Chaos.
Doom Chaos's Avatar
Doom Chaos Doom Chaos is offline
I don't have a title
     
    Join Date: Jun 2008
    Location: Canada
    Age: 23
    Nature: Calm
    Posts: 44
    Quote:
    Originally Posted by Pokepal17 View Post
    Set an unused flag as an ID.
    Unused flag? *n00b*
    I'm sorry I lack hacking knowledge...

    EDIT: I found how, I looked on another map with an item, I copied it's Person ID and everything worked fine. Thanks

    Relevant Advertising!

      #1527    
    Old June 25th, 2009 (9:05 PM).
    theswordbuggy's Avatar
    theswordbuggy theswordbuggy is offline
    Rom Hacker
       
      Join Date: May 2009
      Location: Australia, Queensland
      Gender: Male
      Posts: 21
      i need some help with a script. i need one thats like the one at the elite four the one of the two people in front of the door to get to the first elite. this is for pokemon emerald. i hope i can get some help.

      Thank You
      Sword Master
        #1528    
      Old June 25th, 2009 (10:07 PM). Edited June 26th, 2009 by Exon.
      Exon's Avatar
      Exon Exon is offline
      Hacker in Training
         
        Join Date: Jun 2009
        Age: 27
        Gender: Male
        Nature: Relaxed
        Posts: 64
        SOLVED

        Game: Pokemon Ruby

        Type: Person Event
        Editor: XSE
        Script: A script I was working on for randomly giving one of the *10* baby pokemons' egg. Can't figure out why the flag isn't being set.

        EDIT - Thanks liuyanghejerry, I completely spaced that I had set my setflag commands wrong, hadn't even looked at that! (don't think I should try to fix a script when it's 3 a.m. anymore lol)
        __________________
        ================


        Looking for some great shiny pokemon? Check my thread out and maybe we can make a deal.
        Thread -----> HERE
        ------------------------------
        I specialize in poke'radaring in the snow and sandstorm areas :-)

        Want to win free event pkmn? Go ----> HERE!!!
          #1529    
        Old June 25th, 2009 (10:29 PM).
        liuyanghejerry's Avatar
        liuyanghejerry liuyanghejerry is offline
           
          Join Date: Jan 2008
          Location: China,Xi'an
          Nature: Calm
          Posts: 219
          Send a message via ICQ to liuyanghejerry Send a message via Windows Live Messenger to liuyanghejerry Send a message via Yahoo to liuyanghejerry
          Quote:
          Originally Posted by Exon View Post
          Game: Pokemon Ruby
          Type: Person Event
          Editor: XSE
          Script: A script I was working on for randomly giving one of the *10* baby pokemons' egg. Can't figure out why the flag isn't being set.
          Spoiler:
          #dynamic 0x800621

          #org @eggman
          lock
          faceplayer
          checkflag 0x1050
          if 0x1 goto @gotegg
          msgbox @question 0x5
          compare 0x800d 0x1
          if 0x1 goto @randomegg
          msgbox @refuse 0x6
          release
          end

          #org @question
          = I'm the POK\h1bMON EGG fanatic!\nBreeding POK\h1bMON is my\lspeciality!\pSay, would you like an\nEGG?

          #org @randomegg
          countpokemon
          compare 0x800d 0x6
          if 0x1 goto @fullparty
          random 0x0a
          compare 0x800D 0x0
          if 0x1 goto @pichu
          compare 0x800D 0x1
          if 0x1 goto @cleffa
          compare 0x800D 0x2
          if 0x1 goto @igglybuff
          compare 0x800D 0x3
          if 0x1 goto @wynaut
          compare 0x800D 0x4
          if 0x1 goto @tyrogue
          compare 0x800D 0x5
          if 0x1 goto @togepi
          compare 0x800D 0x6
          if 0x1 goto @smoochum
          compare 0x800D 0x7
          if 0x1 goto @elekid
          compare 0x800D 0x8
          if 0x1 goto @magby
          compare 0x800D 0x9
          if 0x1 goto @azurill

          #org @gotegg
          msgbox @gotit 0x6
          release
          end

          #org @refuse
          = Really? That's too bad...
          release
          end

          #org @fullparty
          msgbox @noroom 0x6
          release
          end

          #org @pichu
          msgbox @giving 0x6
          giveegg 0xac
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @cleffa
          msgbox @giving 0x6
          giveegg 0xad
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @igglybuff
          msgbox @giving 0x6
          giveegg 0xae
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @wynaut
          msgbox @giving 0x6
          giveegg 0x168
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @tyrogue
          msgbox @giving 0x6
          giveegg 0xec
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @togepi
          msgbox @giving 0x6
          giveegg 0xaf
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @smoochum
          msgbox @giving 0x6
          giveegg 0xee
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @elekid
          msgbox @giving 0x6
          giveegg 0xef
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @magby
          msgbox @giving 0x6
          giveegg 0xf0
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @azurill
          msgbox @giving 0x6
          giveegg 0x15e
          msgbox @rightafter 0x6
          setflag 1050
          release
          end

          #org @noroom
          = Sorry, you don't have any space\nfor this EGG!

          #org @giving
          = Really? That's great!

          #org @rightafter
          = I don't remember what's in that\nEGG, but I'm sure you like it!

          #org @gotit
          = Take good care of that EGG!


          (No screenshots available)


          -I haven't added the fanfare yet, was going to do that last. Just wanted to test the main bulk of the script and then I found this problem.
          Because flag 0x1050 isn't flag 1050.Noticing that dec or hex.
          __________________
          Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D
            #1530    
          Old June 26th, 2009 (2:01 AM).
          onyx79's Avatar
          onyx79 onyx79 is offline
          Red Dead Revolver
             
            Join Date: Jan 2009
            Location: Orange Islands (=
            Gender: Male
            Nature: Modest
            Posts: 503
            I've got a script problem,I'm trying to use the use yes\no script with the warp script here's the script:

            '---------------
            #org 0xC3683
            #dynamic 0xC3683
            msgbox @1 0x4
            yesnobox 0x0 0x0
            closeonkeypress
            compare 0x800D 0x1
            if 0x1 goto @yes
            warp 0x1 0x5 0xFF 0x02 0x06
            end
            #org @1
            = would you like to go the ORANGE\nISLANDS now?

            I don't really know how to combine them -_____- when I click compile it says type mismatch on line 8 missing dynamic label can you help me please?
            __________________
            my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
              #1531    
            Old June 26th, 2009 (6:46 AM).
            Pokepal17's Avatar
            Pokepal17 Pokepal17 is offline
            More cowbell~
            • Silver Tier
             
            Join Date: Oct 2008
            Location: Steeltown
            Age: 22
            Gender: Male
            Nature: Modest
            Posts: 1,511
            Quote:
            Originally Posted by onyx79 View Post
            I've got a script problem,I'm trying to use the use yes\no script with the warp script here's the script:

            '---------------
            #org 0xC3683
            #dynamic 0xC3683
            msgbox @1 0x4
            yesnobox 0x0 0x0
            closeonkeypress
            compare 0x800D 0x1
            if 0x1 goto @yes
            warp 0x1 0x5 0xFF 0x02 0x06
            end
            #org @1
            = would you like to go the ORANGE\nISLANDS now?

            I don't really know how to combine them -_____- when I click compile it says type mismatch on line 8 missing dynamic label can you help me please?
            There's no script at @yes
            __________________
            Pokémon Stardrop
              #1532    
            Old June 26th, 2009 (8:33 AM).
            derrick 313 derrick 313 is offline
               
              Join Date: May 2009
              Posts: 9
              How do you make a lagendary pokemon battle become shiny???? you know like red gyrdos in shiny gold?
                #1533    
              Old June 26th, 2009 (8:48 AM).
              onyx79's Avatar
              onyx79 onyx79 is offline
              Red Dead Revolver
                 
                Join Date: Jan 2009
                Location: Orange Islands (=
                Gender: Male
                Nature: Modest
                Posts: 503
                Quote:
                Originally Posted by Pokepal17 View Post
                There's no script at @yes
                and that's all?also How can I fix this script?
                '---------------
                #org 0xC38EA
                checkflag 0x828
                if 0x1 goto 0x88001AC
                msgbox 0x8800219 MSG_YESNO '"Hello [player],I took care of your..."
                compare LASTRESULT 0x1
                if 0x1 goto 0x8800000
                msgbox 0x880027C MSG_NORMAL '"OK,maybe later."
                release
                end
                '---------------
                #org 0x8001AC
                '---------------
                #org 0x800000
                givepokemon 0x19 0x5 0x0 0x0 0x0 0x0
                givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
                givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
                fanfare 0x13E
                loadpointer 0x0 0x88002AF '"[player] recieved 3 POKEMON's!"
                call 0x81A74EB
                return
                '---------------
                #org 0x1A74EB
                fadescreen 0x1
                special 0x9E
                waitstate
                return

                '---------
                ' Strings
                '---------
                #org 0x800219
                = Hello [player],I took care of your\nPOKEMON's,do you want to\ptake them now?
                #org 0x80027C
                = OK,maybe later.
                #org 0x8002AF
                = [player] recieved 3 POKEMON's!

                I don't want the nickname option,because it destoyes the game,and how to change the pokemon levels?I put 35 but it doesn't gave me this level...
                __________________
                my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
                  #1534    
                Old June 26th, 2009 (9:08 AM). Edited June 26th, 2009 by GKS.
                GKS's Avatar
                GKS GKS is offline
                Retired Hacker
                   
                  Join Date: Aug 2007
                  Gender: Male
                  Nature: Calm
                  Posts: 1,319
                  Quote:
                  Originally Posted by onyx79 View Post
                  and that's all?also How can I fix this script?
                  '---------------
                  #org 0xC38EA
                  checkflag 0x828
                  if 0x1 goto 0x88001AC
                  msgbox 0x8800219 MSG_YESNO '"Hello [player],I took care of your..."
                  compare LASTRESULT 0x1
                  if 0x1 goto 0x8800000
                  msgbox 0x880027C MSG_NORMAL '"OK,maybe later."
                  release
                  end
                  '---------------
                  #org 0x8001AC
                  '---------------
                  #org 0x800000
                  givepokemon 0x19 0x5 0x0 0x0 0x0 0x0
                  givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
                  givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
                  fanfare 0x13E
                  loadpointer 0x0 0x88002AF '"[player] recieved 3 POKEMON's!"
                  call 0x81A74EB
                  return
                  '---------------
                  #org 0x1A74EB
                  fadescreen 0x1
                  special 0x9E
                  waitstate
                  return

                  '---------
                  ' Strings
                  '---------
                  #org 0x800219
                  = Hello [player],I took care of your\nPOKEMON's,do you want to\ptake them now?
                  #org 0x80027C
                  = OK,maybe later.
                  #org 0x8002AF
                  = [player] recieved 3 POKEMON's!

                  I don't want the nickname option,because it destoyes the game,and how to change the pokemon levels?I put 35 but it doesn't gave me this level...
                  Are you using XSE? If you are, could you decompile it then show us the script?

                  For the level, try this, put 0x__ what ever level it is in hex after the Pokemon number.
                    #1535    
                  Old June 26th, 2009 (9:10 AM).
                  onyx79's Avatar
                  onyx79 onyx79 is offline
                  Red Dead Revolver
                     
                    Join Date: Jan 2009
                    Location: Orange Islands (=
                    Gender: Male
                    Nature: Modest
                    Posts: 503
                    here:
                    '---------------
                    #org 0xC38EA
                    checkflag 0x828
                    if 0x1 goto 0x88001AC
                    msgbox 0x8800219 MSG_YESNO '"Hello [player],I took care of your..."
                    compare LASTRESULT 0x1
                    if 0x1 goto 0x8800000
                    msgbox 0x880027C MSG_NORMAL '"OK,maybe later."
                    release
                    end
                    '---------------
                    #org 0x8001AC
                    '---------------
                    #org 0x800000
                    givepokemon 0x19 0x5 0x0 0x0 0x0 0x0
                    givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
                    givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
                    fanfare 0x13E
                    loadpointer 0x0 0x88002AF '"[player] recieved 3 POKEMON's!"
                    call 0x81A74EB
                    return
                    '---------------
                    #org 0x1A74EB
                    fadescreen 0x1
                    special 0x9E
                    waitstate
                    return

                    '---------
                    ' Strings
                    '---------
                    #org 0x800219
                    = Hello [player],I took care of your\nPOKEMON's,do you want to\ptake them now?
                    #org 0x80027C
                    = OK,maybe later.
                    #org 0x8002AF
                    = [player] recieved 3 POKEMON's!
                    __________________
                    my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
                      #1536    
                    Old June 26th, 2009 (9:13 AM).
                    GKS's Avatar
                    GKS GKS is offline
                    Retired Hacker
                       
                      Join Date: Aug 2007
                      Gender: Male
                      Nature: Calm
                      Posts: 1,319
                      Quote:
                      Originally Posted by onyx79 View Post
                      here:
                      '---------------
                      #org 0xC38EA
                      checkflag 0x828
                      if 0x1 goto 0x88001AC
                      msgbox 0x8800219 MSG_YESNO '"Hello [player],I took care of your..."
                      compare LASTRESULT 0x1
                      if 0x1 goto 0x8800000
                      msgbox 0x880027C MSG_NORMAL '"OK,maybe later."
                      release
                      end
                      '---------------
                      #org 0x8001AC
                      '---------------
                      #org 0x800000
                      givepokemon 0x19 0x5 0x0 0x0 0x0 0x0
                      givepokemon 0x6 0x5 0x0 0x0 0x0 0x0
                      givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
                      fanfare 0x13E
                      loadpointer 0x0 0x88002AF '"[player] recieved 3 POKEMON's!"
                      call 0x81A74EB
                      return
                      '---------------
                      #org 0x1A74EB
                      fadescreen 0x1
                      special 0x9E
                      waitstate
                      return

                      '---------
                      ' Strings
                      '---------
                      #org 0x800219
                      = Hello [player],I took care of your\nPOKEMON's,do you want to\ptake them now?
                      #org 0x80027C
                      = OK,maybe later.
                      #org 0x8002AF
                      = [player] recieved 3 POKEMON's!
                      Is this how you wrote the script? I was asking for the original version before compiling it.
                        #1537    
                      Old June 26th, 2009 (9:22 AM).
                      onyx79's Avatar
                      onyx79 onyx79 is offline
                      Red Dead Revolver
                         
                        Join Date: Jan 2009
                        Location: Orange Islands (=
                        Gender: Male
                        Nature: Modest
                        Posts: 503
                        this is the original:
                        #dynamic 0x800000

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

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

                        #org @name
                        call 0x1A74EB
                        return

                        #org @done
                        msgbox @6 0x6
                        release
                        end

                        #org @1
                        = Hello.\nSorry to trouble you.\nI can't take care\nof my Charmander.\pCan you take care of\nit for me?

                        #org @2
                        = That's okay.\pI'm sure someone else will\ntake it.

                        #org @3
                        = [black_fr]You received a Charmander!

                        #org @4
                        = [black_fr]Would you like to give a\nnickname to Charmander?

                        #org @5
                        = Please take care of\nCharmander.

                        #org @6
                        = Are you taking good care\nof Charmander?

                        I took it from diego's tut
                        __________________
                        my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
                          #1538    
                        Old June 26th, 2009 (10:00 AM).
                        Pokepal17's Avatar
                        Pokepal17 Pokepal17 is offline
                        More cowbell~
                        • Silver Tier
                         
                        Join Date: Oct 2008
                        Location: Steeltown
                        Age: 22
                        Gender: Male
                        Nature: Modest
                        Posts: 1,511
                        Quote:
                        Originally Posted by onyx79 View Post
                        this is the original:
                        #dynamic 0x800000

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

                        #org @take
                        givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                        fanfare 0x13E
                        msgbox @3 0x4
                        waitfanfare
                        closeonkeypress
                        setflag 0x828
                        msgbox @5 0x6
                        release
                        end

                        #org @done
                        msgbox @6 0x6
                        release
                        end

                        #org @1
                        = Hello.\nSorry to trouble you.\nI can't take care\nof my Charmander.\pCan you take care of\nit for me?

                        #org @2
                        = That's okay.\pI'm sure someone else will\ntake it.

                        #org @3
                        = [black_fr]You received a Charmander!

                        #org @4
                        = [black_fr]Would you like to give a\nnickname to Charmander?

                        #org @5
                        = Please take care of\nCharmander.

                        #org @6
                        = Are you taking good care\nof Charmander?

                        I took it from diego's tut
                        Well then why didn't you make your own?
                        Tutorials aren't threads where you can just copy/paste examples.
                        Fixes in script.
                        __________________
                        Pokémon Stardrop
                          #1539    
                        Old June 26th, 2009 (10:16 AM).
                        onyx79's Avatar
                        onyx79 onyx79 is offline
                        Red Dead Revolver
                           
                          Join Date: Jan 2009
                          Location: Orange Islands (=
                          Gender: Male
                          Nature: Modest
                          Posts: 503
                          ohhh I didn't knew that -________- do you think that a noob like me can write his scripts alone?, I can't even change sprites in UNLZ -____-
                          __________________
                          my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
                            #1540    
                          Old June 26th, 2009 (10:21 AM).
                          Pokepal17's Avatar
                          Pokepal17 Pokepal17 is offline
                          More cowbell~
                          • Silver Tier
                           
                          Join Date: Oct 2008
                          Location: Steeltown
                          Age: 22
                          Gender: Male
                          Nature: Modest
                          Posts: 1,511
                          Quote:
                          Originally Posted by derrick 313 View Post
                          How do you make a lagendary pokemon battle become shiny???? you know like red gyrdos in shiny gold?
                          Either wait for HackMew to release his Shiny Hack tool or use Mastermind_X's ASM routine.

                          Quote:
                          Originally Posted by onyx79 View Post
                          ohhh I didn't knew that -________- do you think that a noob like me can write his scripts alone?, I can't even change sprites in UNLZ -____-
                          Well keep trying.
                          Do you think HackMew instantly figured out how to programme?
                          Do you think Mastermind_X instantly figured out ASM?
                          Do you think I learnt to script instantly.

                          WE ALL PRACTISED AND THAT'S WHY WE CAN DO IT.
                          If a 14 year old, normal person with no programming experience can do it, so can you.
                          PRACTISE!
                          __________________
                          Pokémon Stardrop
                            #1541    
                          Old June 26th, 2009 (10:26 AM).
                          GKS's Avatar
                          GKS GKS is offline
                          Retired Hacker
                             
                            Join Date: Aug 2007
                            Gender: Male
                            Nature: Calm
                            Posts: 1,319
                            Quote:
                            Originally Posted by onyx79 View Post
                            ohhh I didn't knew that -________- do you think that a noob like me can write his scripts alone?, I can't even change sprites in UNLZ -____-
                            Quit being lazy and actually read the thread. If you don't understand something ask us for help. Send me a PM if you need help understanding something. But please, just read the tutorials, people spend writing it for others so they could read and understand, not so you could copy paste it off, just like the person above me said. Just calling yourself a noob isn't an excuse, everyone starts out knowing little about something.


                            Make sure you have the latest version of XSE before continuing your scripting experience (also download Free Space Finder if you haven't already). Good luck.
                              #1542    
                            Old June 26th, 2009 (11:24 AM).
                            Baby Cynda's Avatar
                            Baby Cynda Baby Cynda is offline
                               
                              Join Date: Sep 2008
                              Posts: 58
                              I need help I have just started scripting today and when I have done the script to recieve a Pokemon or egg but I only want one and I can go back and get infinite Pokemon/eggs. What do I do to stop this?
                              __________________

                              Charmander the second best of em all

                              Diamond FC:
                              Name: KENNY
                              FC: 1462 0633 0206
                                #1543    
                              Old June 26th, 2009 (12:24 PM).
                              Samike360's Avatar
                              Samike360 Samike360 is offline
                              Lover of May
                                 
                                Join Date: Mar 2009
                                Location: ATL
                                Gender:
                                Nature: Bold
                                Posts: 396
                                ^put this after lock:

                                checkflag 0x200
                                if 0x1 goto @done

                                then after the script:

                                #org @done
                                release
                                end

                                Also put setflag 0x200 before release/end in the script.
                                __________________





                                Please warm my eggs...I'll be sure to return the favor

                                From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
                                  #1544    
                                Old June 26th, 2009 (2:35 PM).
                                theswordbuggy's Avatar
                                theswordbuggy theswordbuggy is offline
                                Rom Hacker
                                   
                                  Join Date: May 2009
                                  Location: Australia, Queensland
                                  Gender: Male
                                  Posts: 21
                                  I need some help with a script. I need one thats like the one at the elite four the one of the two people in front of the door to get to the first elite. This is for pokemon emerald. I hope i can get some help.

                                  Thank You
                                  Sword Master
                                    #1545    
                                  Old June 26th, 2009 (3:34 PM). Edited June 27th, 2009 by GKS.
                                  GKS's Avatar
                                  GKS GKS is offline
                                  Retired Hacker
                                     
                                    Join Date: Aug 2007
                                    Gender: Male
                                    Nature: Calm
                                    Posts: 1,319
                                    Quote:
                                    Originally Posted by theswordbuggy View Post
                                    I need some help with a script. I need one thats like the one at the elite four the one of the two people in front of the door to get to the first elite. This is for pokemon emerald. I hope i can get some help.

                                    Thank You
                                    Sword Master
                                    Spoiler:
                                    #dynamic 0x <-- Find a free offset using free space finder
                                    #org @start
                                    lock
                                    faceplayer
                                    msgbox @m1 0x6
                                    checkflag 0x <--Write in the flag number of emerald's last badge.
                                    if 0x1 goto @event1 The flag info could be found in the tutorial in my signature.
                                    msgbox @m2 0x6
                                    release
                                    end

                                    #org @event1
                                    applymovement 0x__ @move
                                    waitmovement 0x0
                                    msgbox @m3 0x6
                                    release
                                    end

                                    #org @m1
                                    = Do you have the last badge?\nLet me check.

                                    #org @m2
                                    = Go get the badge.

                                    #org @m3
                                    = Go in.

                                    #org @move
                                    #raw 0x <--Movement data could also be found in the tutorial.
                                    #raw 0x
                                    #raw 0xFE
                                      #1546    
                                    Old June 26th, 2009 (10:34 PM).
                                    destinedjagold's Avatar
                                    destinedjagold destinedjagold is offline
                                    Oh Hai Thar~
                                    • Silver Tier
                                     
                                    Join Date: May 2007
                                    Location: Philippines
                                    Age: 26
                                    Gender: Male
                                    Nature: Careful
                                    Posts: 8,507
                                    It would have seem that you guys forgot the First Post Rules...

                                    Quote:
                                    Originally Posted by destinedjagold View Post
                                    A warning to you all.
                                    Since this thread's stickied, you should follow the first post rules on how to post your scripts, e.g., putting your scripts inside the SPOILER tags.
                                    HTML Code:
                                    [SPOILER]#dynamic 0x123456
                                    
                                    #org @warning
                                    lock
                                    faceplayer
                                    message @1 6
                                    release
                                    end
                                    
                                    #org @1
                                    = A warning to you all.[/SPOILER]
                                    Spoiler:
                                    #dynamic 0x123456

                                    #org @warning
                                    lock
                                    faceplayer
                                    message @1 6
                                    release
                                    end

                                    #org @1
                                    = A warning to you all.


                                    Scripts unwrapped in SPOILER tags will be removed, k?
                                    Warning, onyx79.
                                    __________________


                                    FC: 0061-1111-6462
                                    TSV: 1364(X), 0790(OR)

                                      #1547    
                                    Old June 26th, 2009 (10:45 PM).
                                    DarkPrince304's Avatar
                                    DarkPrince304 DarkPrince304 is offline
                                    Back to Hacking after exams!!!
                                       
                                      Join Date: May 2009
                                      Location: PokeCommunity
                                      Gender: Male
                                      Nature: Calm
                                      Posts: 167
                                      Hey I have a script and there is a problem
                                      See this:
                                      Spoiler:

                                      '---------------
                                      #org 0x800050
                                      checkflag 0x1000
                                      if 0x1 goto 0x8818448
                                      applymovement MOVE_PLAYER 0x88000A0
                                      fadesong 0x116
                                      msgbox 0x88000A3 MSG_NORMAL '"ANNOUNCER:Ladies and Gentlemen!\nT..."
                                      fadesong 0x12C
                                      showsprite 0x1
                                      applymovement MOVE_PLAYER 0x8800280
                                      applymovement 0x1 0x8800284
                                      waitmovement 0x1
                                      msgbox 0x8800290 MSG_NORMAL '"MOM: [player]!\nGet to Bed.\lIts 1..."
                                      applymovement MOVE_PLAYER 0x8800346
                                      msgbox 0x880034A MSG_NORMAL '"PROF.OAK: Good evening Pallet.\nTo..."
                                      applymovement 0x1 0x8800497
                                      waitmovement 0x1
                                      setflag 0x1000
                                      release
                                      end

                                      #org 0x818448
                                      nop
                                      release
                                      end

                                      '---------
                                      ' Strings
                                      '---------
                                      #org 0x8000A3
                                      = ANNOUNCER:Ladies and Gentlemen!\nToday we show you an intense battle\lbetween Nidorino and Gengar!\lNidorino uses Horn Attack!\lGengar pulses it right back!\lNidorino faints and loses.\lThe trainer withdrew Nidorino and\lsends out Onix!\p[red_fr][player]: Yes.\nI am [player]!\lAnd now that I am 10 years old.\lI can finally become a POKéMON\lTrainer.\lI will journey to gain the wisdom\lof a POKéMON Trainer.\lAnd I hereby declare to the POKéMON\lof the world.\lI will be a POKéMON Master!

                                      #org 0x800290
                                      = MOM: [player]!\nGet to Bed.\lIts 11 O' Clock and you should\lbe asleep by now.\p[red_fr][player]: But Mom.\nTomorrow I begin my journey.\lHow can I sleep.\p[black_fr]MOM: Well if you can't sleep then\nwatch this.

                                      #org 0x80034A
                                      = PROF.OAK: Good evening Pallet.\nTomorrow is the day when new Trainers\lcan begin their POKéMON Journey.\lThey can choose one of the\lfollowing three POKéMON.\lThey are Bulbasaur,Charmander and\lSquirtle.\p[red_fr][player]: Oh wow!\nThis is amazing!\p[black_fr]MOM: Well sleep soon and don't\nforget to change into your Pajamas.\p[red_fr][player]: Alright Mom.


                                      '-----------
                                      ' Movements
                                      '-----------
                                      #org 0x8000A0
                                      #raw 0x1 'Face Up
                                      #raw 0xFE 'End of Movements

                                      #org 0x800280
                                      #raw 0x3 'Face Right
                                      #raw 0x62 'Exclamation Mark (!)
                                      #raw 0xFE 'End of Movements

                                      #org 0x800284
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x10 'Step Down (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0x12 'Step Left (Normal)
                                      #raw 0xFE 'End of Movements

                                      #org 0x800346
                                      #raw 0x1 'Face Up
                                      #raw 0x62 'Exclamation Mark (!)
                                      #raw 0xFE 'End of Movements

                                      #org 0x800497
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x13 'Step Right (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0x11 'Step Up (Normal)
                                      #raw 0x0 'Face Down
                                      #raw 0xFE 'End of Movements


                                      And here's what the Script should do:
                                      I stand infront of the TV Screen.Then I see a Pokemon Match then some comments come saying "blah blah etc" then Mom comes to me and tells me to sleep fast...And then she stands at the stairs till I sleep...So far it works perfectly
                                      But the problem is:
                                      Each time I stand infront of the TV the whole scripts repeats itself
                                      I need help
                                      __________________
                                      I am the creator of Pokemon Gotta Catch em' All! Game.







                                      Click on the Banner to go to main thread
                                        #1548    
                                      Old June 27th, 2009 (2:29 AM).
                                      onyx79's Avatar
                                      onyx79 onyx79 is offline
                                      Red Dead Revolver
                                         
                                        Join Date: Jan 2009
                                        Location: Orange Islands (=
                                        Gender: Male
                                        Nature: Modest
                                        Posts: 503
                                        I've got a problem with this script:
                                        Spoiler:


                                        '---------------
                                        #org 0xC3E06
                                        lock
                                        faceplayer
                                        msgbox 0x826DAAD MSG_NORMAL '"Here are you POKEMON's I took\ncar..."
                                        givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                        givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                        givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                        release
                                        end

                                        '---------
                                        ' Strings
                                        '---------
                                        #org 0x26DAAD
                                        = Here are you POKEMON's I took\ncare of them.

                                        the script works fine,he says the message and gives the pokemon,however I cannpt see [player] recieved 3 pokemon's and I don't have the pokemon tab at the menu,I really need this to continue my hack so please help....
                                        __________________
                                        my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64
                                          #1549    
                                        Old June 27th, 2009 (2:47 AM).
                                        DarkPrince304's Avatar
                                        DarkPrince304 DarkPrince304 is offline
                                        Back to Hacking after exams!!!
                                           
                                          Join Date: May 2009
                                          Location: PokeCommunity
                                          Gender: Male
                                          Nature: Calm
                                          Posts: 167
                                          Quote:
                                          Originally Posted by onyx79 View Post
                                          I've got a problem with this script:
                                          Spoiler:


                                          '---------------
                                          #org 0xC3E06
                                          lock
                                          faceplayer
                                          msgbox 0x826DAAD MSG_NORMAL '"Here are you POKEMON's I took\ncar..."
                                          givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                          givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                          givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
                                          setflag 0x828
                                          release
                                          end

                                          '---------
                                          ' Strings
                                          '---------
                                          #org 0x26DAAD
                                          = Here are your POKEMON's.I took\ncare of them.

                                          the script works fine,he says the message and gives the pokemon,however I cannpt see [player] recieved 3 pokemon's and I don't have the pokemon tab at the menu,I really need this to continue my hack so please help....
                                          Problem Solved
                                          Good luck on your hack
                                          Btw can anybody help me?
                                          See my post above
                                          __________________
                                          I am the creator of Pokemon Gotta Catch em' All! Game.







                                          Click on the Banner to go to main thread
                                            #1550    
                                          Old June 27th, 2009 (2:51 AM).
                                          Pokepal17's Avatar
                                          Pokepal17 Pokepal17 is offline
                                          More cowbell~
                                          • Silver Tier
                                           
                                          Join Date: Oct 2008
                                          Location: Steeltown
                                          Age: 22
                                          Gender: Male
                                          Nature: Modest
                                          Posts: 1,511
                                          Quote:
                                          Originally Posted by DarkPrince304 View Post
                                          Hey I have a script and there is a problem
                                          See this:
                                          Spoiler:

                                          '---------------
                                          #org 0x800050
                                          checkflag 0x1000
                                          if 0x1 goto 0x8818448
                                          applymovement MOVE_PLAYER 0x88000A0
                                          fadesong 0x116
                                          msgbox 0x88000A3 MSG_NORMAL '"ANNOUNCER:Ladies and Gentlemen!\nT..."
                                          fadesong 0x12C
                                          showsprite 0x1
                                          applymovement MOVE_PLAYER 0x8800280
                                          applymovement 0x1 0x8800284
                                          waitmovement 0x1
                                          msgbox 0x8800290 MSG_NORMAL '"MOM: [player]!\nGet to Bed.\lIts 1..."
                                          applymovement MOVE_PLAYER 0x8800346
                                          msgbox 0x880034A MSG_NORMAL '"PROF.OAK: Good evening Pallet.\nTo..."
                                          applymovement 0x1 0x8800497
                                          waitmovement 0x1
                                          setflag 0x1000
                                          release
                                          end

                                          #org 0x818448
                                          nop
                                          release
                                          end

                                          '---------
                                          ' Strings
                                          '---------
                                          #org 0x8000A3
                                          = ANNOUNCER:Ladies and Gentlemen!\nToday we show you an intense battle\lbetween Nidorino and Gengar!\lNidorino uses Horn Attack!\lGengar pulses it right back!\lNidorino faints and loses.\lThe trainer withdrew Nidorino and\lsends out Onix!\p[red_fr][player]: Yes.\nI am [player]!\lAnd now that I am 10 years old.\lI can finally become a POKéMON\lTrainer.\lI will journey to gain the wisdom\lof a POKéMON Trainer.\lAnd I hereby declare to the POKéMON\lof the world.\lI will be a POKéMON Master!

                                          #org 0x800290
                                          = MOM: [player]!\nGet to Bed.\lIts 11 O' Clock and you should\lbe asleep by now.\p[red_fr][player]: But Mom.\nTomorrow I begin my journey.\lHow can I sleep.\p[black_fr]MOM: Well if you can't sleep then\nwatch this.

                                          #org 0x80034A
                                          = PROF.OAK: Good evening Pallet.\nTomorrow is the day when new Trainers\lcan begin their POKéMON Journey.\lThey can choose one of the\lfollowing three POKéMON.\lThey are Bulbasaur,Charmander and\lSquirtle.\p[red_fr][player]: Oh wow!\nThis is amazing!\p[black_fr]MOM: Well sleep soon and don't\nforget to change into your Pajamas.\p[red_fr][player]: Alright Mom.


                                          '-----------
                                          ' Movements
                                          '-----------
                                          #org 0x8000A0
                                          #raw 0x1 'Face Up
                                          #raw 0xFE 'End of Movements

                                          #org 0x800280
                                          #raw 0x3 'Face Right
                                          #raw 0x62 'Exclamation Mark (!)
                                          #raw 0xFE 'End of Movements

                                          #org 0x800284
                                          #raw 0x13 'Step Right (Normal)
                                          #raw 0x10 'Step Down (Normal)
                                          #raw 0x10 'Step Down (Normal)
                                          #raw 0x10 'Step Down (Normal)
                                          #raw 0x10 'Step Down (Normal)
                                          #raw 0x12 'Step Left (Normal)
                                          #raw 0x12 'Step Left (Normal)
                                          #raw 0x12 'Step Left (Normal)
                                          #raw 0x12 'Step Left (Normal)
                                          #raw 0xFE 'End of Movements

                                          #org 0x800346
                                          #raw 0x1 'Face Up
                                          #raw 0x62 'Exclamation Mark (!)
                                          #raw 0xFE 'End of Movements

                                          #org 0x800497
                                          #raw 0x13 'Step Right (Normal)
                                          #raw 0x13 'Step Right (Normal)
                                          #raw 0x13 'Step Right (Normal)
                                          #raw 0x13 'Step Right (Normal)
                                          #raw 0x11 'Step Up (Normal)
                                          #raw 0x11 'Step Up (Normal)
                                          #raw 0x11 'Step Up (Normal)
                                          #raw 0x11 'Step Up (Normal)
                                          #raw 0x0 'Face Down
                                          #raw 0xFE 'End of Movements


                                          And here's what the Script should do:
                                          I stand infront of the TV Screen.Then I see a Pokemon Match then some comments come saying "blah blah etc" then Mom comes to me and tells me to sleep fast...And then she stands at the stairs till I sleep...So far it works perfectly
                                          But the problem is:
                                          Each time I stand infront of the TV the whole scripts repeats itself
                                          I need help
                                          Try with a different flag
                                          __________________
                                          Pokémon Stardrop
                                          Closed Thread
                                          Quick Reply

                                          Sponsored Links
                                          Thread Tools

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

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

                                          Forum Jump


                                          All times are GMT -8. The time now is 7:05 PM.