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

TrollandToad.com
Closed Thread
 
Thread Tools
  #1351    
Old June 12th, 2009 (7:01 AM).
BOBcorevette BOBcorevette is offline
     
    Join Date: Dec 2008
    Gender:
    Posts: 9
    thanks adiktus it is working now, in amap it was correct yesterday(801000) but right before the pic i changed it, i changed it back this morning and it works for some reason oh well im just happy it works.

    Relevant Advertising!

      #1352    
    Old June 12th, 2009 (7:56 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
      Will anyone tell me is there a script to trade or release pokemon????
      __________________
      I am the creator of Pokemon Gotta Catch em' All! Game.







      Click on the Banner to go to main thread
        #1353    
      Old June 12th, 2009 (9:21 AM).
      Logan's Avatar
      Logan Logan is offline
      • Platinum Tier
       
      Join Date: Nov 2008
      Location: Salisbury, England
      Age: 22
      Gender: Male
      Nature: Sassy
      Posts: 10,034
      You can't ask for a script here. This is where you post your scripts and people fix your problems :\
      __________________
      Wait, I saw bare kicks, saw bare clothes
      Said psyduck that, I can't wear those
      I don't like them, they're not my ting
      They went silent, they're all weirdos
        #1354    
      Old June 12th, 2009 (10:08 AM).
      Teh_PingasYTP's Avatar
      Teh_PingasYTP Teh_PingasYTP is offline
      PINGAS!
         
        Join Date: May 2009
        Location: Valley Springs
        Gender:
        Nature: Relaxed
        Posts: 3
        Quote:
        Originally Posted by Quickster View Post
        The script below should work.You set the flag for the pokedex after you get the pokemon.Thats the flag it checks for inorder to give the pokemon.Just a small mistake.

        Spoiler:
        #dynamic 0x

        #org @start
        checkflag 0x829
        if 0x1 goto @give
        msgbox @sorry 0x2
        release
        end

        #org @give
        checkflag 0x1000
        if 0x1 goto @done
        givepokemon 0x7E 0x7 0x0 0x0 0x0 0x0
        fanfare 0x13E
        waitfanfare
        setflag 0x1000
        msgbox @yay 0x2
        release
        end

        #org @done
        msgbox @gave 0x2
        release
        end

        #org @sorry
        = Hello!\pMy name is Teh_PingasYTP!\pYou're in my hack!\pI'll tell you what.\pIf you come back to me\nafter you get the POK\h1BDEX,\pI'll give you something special!

        #org @yay
        = [player] obtained MAGMAR!\nCongradulations!\pIt's a very rare POK\h1BMON!\nTrain it well!

        #org @gave
        = text after recieve magmar
        THANK YOU!!!!!!!! =P
        also, i'm getting better at scripting! i've only learned 2 days ago!
          #1355    
        Old June 12th, 2009 (2:21 PM).
        kazakai kazakai is offline
           
          Join Date: Jun 2009
          Gender: Male
          Posts: 1
          hey i was wondering if theres anyway to open up scripts using advance map? like i want to look at scripts used in-game to learn more about how to script.. can anyone tell me if this is possible or if it's possible to look at scripts used in-game at all?
            #1356    
          Old June 12th, 2009 (2:28 PM).
          Logan's Avatar
          Logan Logan is offline
          • Platinum Tier
           
          Join Date: Nov 2008
          Location: Salisbury, England
          Age: 22
          Gender: Male
          Nature: Sassy
          Posts: 10,034
          This should probably be in the Simple questions thread :\

          Anyways, highlight the script you want to open in the events tab, then simply click Open Script.
          __________________
          Wait, I saw bare kicks, saw bare clothes
          Said psyduck that, I can't wear those
          I don't like them, they're not my ting
          They went silent, they're all weirdos
            #1357    
          Old June 12th, 2009 (7:24 PM). Edited June 12th, 2009 by Khan6195.
          Khan6195's Avatar
          Khan6195 Khan6195 is offline
          Michael Jackson Died. Parté!
             
            Join Date: May 2009
            Location: Canada
            Age: 22
            Gender: Male
            Nature: Adamant
            Posts: 24
            Hey, I need some help >.<
            1. When I batch compile, it says "Too less parameters on line 6 (sometimes 7). The correct number is 2.

            Help?
            __________________
            Khan6195's PokePet

            The Level 96 Entei!


            Hacks I support:
            Spoiler:


            Can you read this? Only 55% of people can!
            Spoiler:
            I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg.
            The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch
            at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a
            wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the
            rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit
            a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter
            by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot
            slpeling was ipmorantt!
            fi yuo cna raed tihs, palce it in yuor siantugre
            I feogrt who ollanirigy had tihs but wohveer did. TAHNKS
              #1358    
            Old June 13th, 2009 (3:22 AM).
            HackMew's Avatar
            HackMew HackMew is offline
            Mewtwo Strikes Back
            • Crystal Tier
             
            Join Date: Jun 2006
            Posts: 1,314
            Quote:
            Originally Posted by Khan6195 View Post
            Hey, I need some help >.<
            1. When I batch compile, it says "Too less parameters on line 6 (sometimes 7). The correct number is 2.

            Help? :)
            XSE tells you what the problem is and where is it. Before posting, have you bothered pressing F1 to see the parameters needed? Have you read the guide yet? I bet both answers are "no".
            __________________
              #1359    
            Old June 14th, 2009 (2:52 AM).
            -DarK- -DarK- is offline
            Hold Your Colour
               
              Join Date: Jun 2007
              Location: Belgium
              Age: 24
              Gender: Male
              Nature: Brave
              Posts: 185
              Is it possible to change wild pokemon data (doesn't matter if it's temporary or permanent) through a script? For instance, something like this:

              Spoiler:
              #org @start
              checkflag 0x200
              if b_true call @change
              end

              #org @change
              "changewildpkmnscriptgoeshere" "someparametersforthescript"
              setflag 0x200
              return
                #1360    
              Old June 14th, 2009 (12:18 PM).
              Laidjon*'s Avatar
              Laidjon* Laidjon* is offline
              An eternal equilibrium~
                 
                Join Date: Jan 2008
                Location: The Netherlands
                Gender: Male
                Nature: Relaxed
                Posts: 74
                What is wrong with these scripts?
                Code:
                #dynamic 0x800000
                #org @start
                lock
                checkflag 0x3e8
                if 0x1 goto @done
                message @introp 0x6
                release
                end
                
                #org @done
                release
                end
                
                #org @introp
                = Where's that package?
                Code:
                #dynamic 0x800000
                #org @start
                Lock
                checkflag 0x1022
                if 0x1 goto @done
                message @holdit 0x6
                applymovement 0xFF @volg1
                waitmovement 0x0
                release
                end
                
                #org @done
                release
                end
                
                #org @holdit 0x6
                = I can't leave yet. I have to get\nthe package for Dad.
                
                org @volg1
                #raw 0x12
                #raw 0xFE
                Code:
                #dynamic 0x800000
                
                #org @start
                lock
                faceplayer
                checkflag 0x1022
                if 0x1 goto @done
                message @package 0x6
                setflag 0x1022
                release
                end
                
                #org @done
                release
                end
                
                #org @package
                = This is the package that I have to\nbring Dad.\l[player] received the package!
                They are doing what is told, but the text isn't showing. Btw, the first and the second scripts are level scripts.
                Please help. Thanks in advance =)
                __________________
                Youtube: Check out my videos on Pokemon maps
                  #1361    
                Old June 14th, 2009 (12:32 PM). Edited June 14th, 2009 by [BlackEyedHacker].
                [BlackEyedHacker] [BlackEyedHacker] is offline
                Newb
                   
                  Join Date: Sep 2008
                  Location: New Zealand
                  Gender: Male
                  Nature: Hasty
                  Posts: 44
                  Alright, so I've been wrestling with XSE for a few hours, testing code, playing with it, and been having a lot of fun, however, I am always stuck with the flag actions. I know how to set flags and do the if statements, however, when I compile and save, the if statement dissapears from the code.

                  Here is the code I have been using:
                  Spoiler:

                  '---------------
                  #dynamic 0x16A094
                  #org @start
                  lock
                  faceplayer
                  checkflag 0x1000
                  if 0x1 call @recieve
                  msgbox 0x818FC2B MSG_KEEPOPEN '"Okay!\pBe sure to read what's on t..."
                  setflag 0x1001
                  release
                  end

                  #org @recieve
                  msgbox @msg1 0x2
                  givepokemon 0x85 0x5 0x0D 0x0 0x0 0x0
                  msgbox @msg2 0x2
                  release
                  end

                  #org @msg1
                  = Hey, [player]! I bet you must be\nexcited! [rival] was pretty pumped\ltoo. He just ran out of here.\lYou just missed him. Anyways, I\lthink you already noticed, I have\lno more pokemon left. But don't\lfret! Professor Oak from Pallet\lhas happily said he would supply\lyou with pokemon. Why don't you\ltake my Eevee with you. It's just\lbeen a pet for me for the last\lyear or so, but Eevee should be\lable to fight just fine. You'll\lneed Eevee for Route 1.

                  #org @msg2
                  = Recieved Eevee!/lGood Luck!

                  '---------
                  ' Strings
                  '---------
                  #org 0x18FC2B
                  = Check your mail!\pHurry or [rival] will have a big\lheadstart!


                  '-----------
                  ' Movements
                  '-----------
                  #org 0x1A75E5
                  #raw 0x5A 'mov5A
                  #raw 0xFE 'End of Movements


                  I know it looks sloppy, I am much more organized, but why put more effort into something that never stays?

                  That is how I write it and how it compiles, but when I re-open it it looks like this:
                  Spoiler:
                  '---------------
                  #org 0x16A094
                  lock
                  faceplayer
                  checkflag 0x1000
                  msgbox 0x818FC2B MSG_KEEPOPEN '"Check your mail!\pHurry or [rival]..."
                  closeonkeypress
                  applymovement 0x1 0x81A75E5
                  waitmovement 0x0
                  release
                  end


                  '---------
                  ' Strings
                  '---------
                  #org 0x18FC2B
                  = Check your mail!\pHurry or [rival] will have a big\lheadstart!


                  '-----------
                  ' Movements
                  '-----------
                  #org 0x1A75E5
                  #raw 0x5A 'mov5A
                  #raw 0xFE 'End of Movements


                  Any help or guidance would be a great help. I am probably missing something stupid. =\.

                  Moved from Simple Questions Thread.
                    #1362    
                  Old June 14th, 2009 (12:36 PM).
                  muzzyguy's Avatar
                  muzzyguy muzzyguy is offline
                  When disaster strikes!
                     
                    Join Date: May 2009
                    Posts: 58
                    right the pokedex one doesn't work theres probaly a lot of problems but this is my script

                    #dynamic 0x900000
                    #org @done
                    msgbox @done 0x6
                    = Proffeser WILLOW forgot to give you this.
                    clearflag 0x829
                    release
                    end

                    so whats wrong with it nd how do i change it so after he gives me it he says something diffrent
                      #1363    
                    Old June 14th, 2009 (12:50 PM).
                    Mana's Avatar
                    Mana Mana is offline
                    • Platinum Tier
                     
                    Join Date: Jan 2009
                    Location: UK
                    Gender: Female
                    Posts: 10,017
                    Quote:
                    Originally Posted by muzzyguy View Post
                    right the pokedex one doesn't work theres probaly a lot of problems but this is my script

                    #dynamic 0x900000
                    #org @done
                    msgbox @done 0x6
                    = Proffeser WILLOW forgot to give you this.
                    clearflag 0x829
                    release
                    end

                    so whats wrong with it nd how do i change it so after he gives me it he says something diffrent
                    Erm, set the flag don't clear it? Clearing the flag once it is set will in fact remove the Pokedex.

                    Also, start it with #org @start
                      #1364    
                    Old June 14th, 2009 (12:56 PM).
                    muzzyguy's Avatar
                    muzzyguy muzzyguy is offline
                    When disaster strikes!
                       
                      Join Date: May 2009
                      Posts: 58
                      so i change it to setflag to get the pokedex?

                      i want the person to give me the pokedex
                        #1365    
                      Old June 14th, 2009 (12:59 PM).
                      Mana's Avatar
                      Mana Mana is offline
                      • Platinum Tier
                       
                      Join Date: Jan 2009
                      Location: UK
                      Gender: Female
                      Posts: 10,017
                      Yes, setflag 0x829 gives the Pokedex menu option.
                        #1366    
                      Old June 14th, 2009 (1:13 PM).
                      muzzyguy's Avatar
                      muzzyguy muzzyguy is offline
                      When disaster strikes!
                         
                        Join Date: May 2009
                        Posts: 58
                        The whole script doesn't work the guy doesn't talk
                          #1367    
                        Old June 14th, 2009 (1:26 PM).
                        destinedjagold's Avatar
                        destinedjagold destinedjagold is offline
                        Oh Hai Thar~
                        • Silver Tier
                         
                        Join Date: May 2007
                        Location: Philippines
                        Age: 27
                        Gender: Male
                        Nature: Careful
                        Posts: 8,569
                        Quote:
                        Originally Posted by muzzyguy View Post
                        The whole script doesn't work the guy doesn't talk
                        here...
                        Spoiler:
                        #dynamic 0x900000

                        #org @start
                        message @done 0x6
                        clearflag 0x829
                        release
                        end

                        #org @done
                        = Proffeser WILLOW forgot to give you this.
                        __________________


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

                          #1368    
                        Old June 14th, 2009 (1:29 PM).
                        [BlackEyedHacker] [BlackEyedHacker] is offline
                        Newb
                           
                          Join Date: Sep 2008
                          Location: New Zealand
                          Gender: Male
                          Nature: Hasty
                          Posts: 44
                          Quote:
                          Originally Posted by muzzyguy View Post
                          The whole script doesn't work the guy doesn't talk
                          HTML Code:
                           #dynamic 0x900000
                          #org @done
                          msgbox @done 0x6
                          = Proffeser WILLOW forgot to give you this.
                          clearflag 0x829
                          release
                          end
                          I am obviously new at this too, and not too sure what you're trying to specifically achieve, however there are some things to check for the text to show:

                          Make sure your Dynamic is accurate to the offset.
                          Also msgbox @done 0x6 is a pointer/goto like command. So you have to make it it's own line of code like this:

                          HTML Code:
                          msgbox @done 0x6
                          clearflag 0x829
                          release end
                          
                          #org @done
                          = UR TEXT
                          Hope that helps a bit.
                            #1369    
                          Old June 14th, 2009 (1:39 PM).
                          muzzyguy's Avatar
                          muzzyguy muzzyguy is offline
                          When disaster strikes!
                             
                            Join Date: May 2009
                            Posts: 58
                            ok now its messed up he doesnt face player it fades screen and does the heal pokemon sound then says they look better good look(someone else says that but something before the fadescreen)

                            why?

                            why wont it do the give pokedex thingy
                              #1370    
                            Old June 14th, 2009 (2:55 PM). Edited June 15th, 2009 by ckret2.
                            ckret2's Avatar
                            ckret2 ckret2 is offline
                            usually pronounced "secret 2"
                               
                              Join Date: Dec 2008
                              Location: You Are Here
                              Age: 26
                              Gender:
                              Nature: Rash
                              Posts: 518
                              More a flag help question than a script help question, but still.

                              Is the trainer number that A-Trainer provides you also a flag? Like, if I did a script like this:

                              Quote:
                              #dynamic 0xOFFSET
                              #org @start
                              trainerbattle 0x0 0x1234 0x0 @before @after
                              msgbox @later 0x6
                              end
                              And if there's an NPC on another map with the People ID of 1234, after battling this trainer, would that NPC disappear? Or are the trainer numbers and normal flags different?

                              Edit: After experimenting to see for sure, HackMew's statement below holds true. Trainerbattle flags =/= regular flags. Oh well.
                              __________________

                              This one is my hack.


                              This one is the hack I part-time map for.

                              I got an Illumise?
                              Pretty awesome.
                              Glad I grabbed an egg I didn't recognize.
                                #1371    
                              Old June 14th, 2009 (3:16 PM).
                              HackChu's Avatar
                              HackChu HackChu is offline
                              I need a haircut...
                              • Silver Tier
                               
                              Join Date: Jan 2007
                              Location: Bankrupt Amerika
                              Age: 24
                              Gender: Male
                              Nature: Modest
                              Posts: 673
                              Well guys this script works fine,until the fadescreen occurs than the screen jacks up,crazy parts are everywhere,Ive done the other triggers to go with it...



                              Spoiler:
                              #dynamic 0x805946

                              #org @start
                              setvar 0x5020 0x0
                              goto @script
                              end

                              #org @script
                              checkflag 0x1018
                              if 0x1 goto @done
                              compare 0x5020 0x0
                              if 0x1 goto @left
                              compare 0x5020 0x1
                              if 0x1 goto @midleft
                              compare 0x5020 0x2
                              if 0x1 goto @right
                              compare 0x5020 0x3
                              if 0x1 goto @faright
                              end

                              #org @left
                              applymovement 0x08 @move
                              waitmovement 0x0
                              goto @cont
                              end

                              #org @midleft
                              applymovement 0x08 @move2
                              waitmovement 0x0
                              goto @cont
                              end

                              #org @right
                              applymovement 0x08 @move3
                              waitmovement 0x0
                              goto @cont
                              end

                              #org @faright
                              applymovement 0x08 @move4
                              waitmovement 0x0
                              goto @cont
                              end

                              #org @cont
                              msgbox @1 0x6
                              playsong 0x156 0x0
                              cry 0xFB 0x0
                              msgbox @2 0x6
                              wildbattle 0xFB 0x5 0x0
                              fadescreen 0x1
                              hidesprite 0x08
                              fadescreen 0x0
                              msgbox @3 0x6
                              goto @begin
                              end

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

                              #org @move2
                              #raw 0x10
                              #raw 0x10
                              #raw 0xFE

                              #org @move3
                              #raw 0x10
                              #raw 0x10
                              #raw 0x13
                              #raw 0xFE

                              #org @move4
                              #raw 0x10
                              #raw 0x10
                              #raw 0x13
                              #raw 0x13
                              #raw 0xFE

                              #org @1
                              = [green_fr]???:bii!

                              #org @2
                              = [blue_fr]The Pokedex doesn't seem\ncapable of reading that\pPokemon's data.

                              #org @3
                              = [blue_fr]The Pokemon vanished!

                              #org @begin
                              compare 0x5020 0x0
                              if 0x1 goto @left2
                              compare 0x5020 0x1
                              if 0x1 goto @midleft2
                              compare 0x5020 0x2
                              if 0x1 goto @right2
                              compare 0x5020 0x3
                              if 0x1 goto @faright2
                              end

                              #org @left2
                              applymovement 0x09 @move5
                              waitmovement 0x0
                              goto @last
                              end

                              #org @midleft2
                              applymovement 0x09 @move6
                              waitmovement 0x0
                              goto @last
                              end

                              #org @right2
                              applymovement 0x09 @move7
                              waitmovement 0x0
                              goto @last
                              end

                              #org @faright2
                              applymovement 0x09 @move8
                              waitmovement 0x0
                              goto @last
                              end

                              #org @move5
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x10
                              #raw 0x04
                              #raw 0xFE

                              #org @move6
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x10
                              #raw 0x04
                              #raw 0xFE

                              #org @move7
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x10
                              #raw 0x04
                              #raw 0xFE

                              #org @move8
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x12
                              #raw 0x12
                              #raw 0x12
                              #raw 0x10
                              #raw 0x04
                              #raw 0xFE

                              #org @last
                              msgbox @why 0x6
                              fadescreen 0x1
                              hidesprite 0x09
                              fadescreen 0x0
                              setflag 0x1018
                              release
                              end

                              #org @done
                              release
                              end

                              #org @why
                              = [blue_fr]???:You let CELEBI escape!\pMy name is Giovanni, and\nI own Team Rocket.\pGiovanni:CELEIBI is a\nLegendary Pokemon, and only a\lfew have whitnessed its power.\pGiovanni:That's Team Rockets\nonly objective, is to catch\lall the Legendary Pokemon!\pGiovanni:Hmm!\nWhat's your objective in\llife?\pTo become a Pokemon Master?\pGiovanni:Hmph! pathetic!\pGiovanni:Well I see I kept\nyou long enough.\pGiovanni:I'm sure we'll meet\nagain!


                              Yep there it is,fadescreen command jacks me up,and Ive even tried it with just the hidesprite command,and the screen still looks glitchy.Could it be because the sprite?Anyway people please don't leave me here for dead.I really need help,and thanks to those who help me out!
                              __________________
                              Join us!

                              My 'learning how to combine battle scripts' thread:
                              http://www.pokecommunity.com/showthread.php?t=183001

                              SoulSilver FC:1162 1864 5409
                              Name: Ethan

                              Black FC: 2666 1354 4379
                              Name: Ashton

                              White 2 FC: 1120 8065 3049
                              Name: Nate

                              3DS Friend Code: 1349-4646-2412
                              Name: tysonrss
                                #1372    
                              Old June 14th, 2009 (9:42 PM).
                              [BlackEyedHacker] [BlackEyedHacker] is offline
                              Newb
                                 
                                Join Date: Sep 2008
                                Location: New Zealand
                                Gender: Male
                                Nature: Hasty
                                Posts: 44
                                Okay, I am not even deep into my code and I am pushing through as much as I can, but I only run into problems.

                                My newest one is whenever I warp/enter the school room map (and only that warp)
                                It takes me to the map and then freezes with scrolling text. Sometimes it says "You recieve XXXXX(item, usually a pokeball of some sort), and then glitch-speak scrolling from left to right.

                                Anyone know about this?

                                I don't know what the problem could be.
                                  #1373    
                                Old June 15th, 2009 (12:35 AM).
                                HackMew's Avatar
                                HackMew HackMew is offline
                                Mewtwo Strikes Back
                                • Crystal Tier
                                 
                                Join Date: Jun 2006
                                Posts: 1,314
                                Quote:
                                Originally Posted by muzzyguy View Post
                                why wont it do the give pokedex thingy
                                The "give pokedex thingy" is setflag 0x829, for FR/LG. And you're using the opposite command, clearflag.


                                Quote:
                                Originally Posted by ckret2 View Post
                                More a flag help question than a script help question, but still. :P

                                Is the trainer number that A-Trainer provides you also a flag? Like, if I did a script like this:

                                [...]

                                And if there's an NPC on another map with the People ID of 1234, after battling this trainer, would that NPC disappear? Or are the trainer numbers and normal flags different?
                                Just because most people post their scripts so someone can fix them, it doesn't mean this thread can't be a place for general scripting discussion, too. Regarding your question... I highly doubt that. Trainers have their own flags.


                                Quote:
                                Originally Posted by tyson View Post
                                Well guys this script works fine,until the fadescreen occurs than the screen jacks up,crazy parts are everywhere,Ive done the other triggers to go with it...

                                Spoiler:
                                #dynamic 0x805946

                                #org @start
                                setvar 0x5020 0x0
                                goto @script
                                end

                                #org @script
                                checkflag 0x1018
                                if 0x1 goto @done
                                compare 0x5020 0x0
                                if 0x1 goto @left
                                compare 0x5020 0x1
                                if 0x1 goto @midleft
                                compare 0x5020 0x2
                                if 0x1 goto @right
                                compare 0x5020 0x3
                                if 0x1 goto @faright
                                end

                                #org @left
                                applymovement 0x08 @move
                                waitmovement 0x0
                                goto @cont
                                end

                                #org @midleft
                                applymovement 0x08 @move2
                                waitmovement 0x0
                                goto @cont
                                end

                                #org @right
                                applymovement 0x08 @move3
                                waitmovement 0x0
                                goto @cont
                                end

                                #org @faright
                                applymovement 0x08 @move4
                                waitmovement 0x0
                                goto @cont
                                end

                                #org @cont
                                msgbox @1 0x6
                                playsong 0x156 0x0
                                cry 0xFB 0x0
                                msgbox @2 0x6
                                wildbattle 0xFB 0x5 0x0
                                fadescreen 0x1
                                hidesprite 0x08
                                fadescreen 0x0
                                msgbox @3 0x6
                                goto @begin
                                end

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

                                #org @move2
                                #raw 0x10
                                #raw 0x10
                                #raw 0xFE

                                #org @move3
                                #raw 0x10
                                #raw 0x10
                                #raw 0x13
                                #raw 0xFE

                                #org @move4
                                #raw 0x10
                                #raw 0x10
                                #raw 0x13
                                #raw 0x13
                                #raw 0xFE

                                #org @1
                                = [green_fr]???:bii!

                                #org @2
                                = [blue_fr]The Pokedex doesn't seem\ncapable of reading that\pPokemon's data.

                                #org @3
                                = [blue_fr]The Pokemon vanished!

                                #org @begin
                                compare 0x5020 0x0
                                if 0x1 goto @left2
                                compare 0x5020 0x1
                                if 0x1 goto @midleft2
                                compare 0x5020 0x2
                                if 0x1 goto @right2
                                compare 0x5020 0x3
                                if 0x1 goto @faright2
                                end

                                #org @left2
                                applymovement 0x09 @move5
                                waitmovement 0x0
                                goto @last
                                end

                                #org @midleft2
                                applymovement 0x09 @move6
                                waitmovement 0x0
                                goto @last
                                end

                                #org @right2
                                applymovement 0x09 @move7
                                waitmovement 0x0
                                goto @last
                                end

                                #org @faright2
                                applymovement 0x09 @move8
                                waitmovement 0x0
                                goto @last
                                end

                                #org @move5
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x10
                                #raw 0x04
                                #raw 0xFE

                                #org @move6
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x10
                                #raw 0x04
                                #raw 0xFE

                                #org @move7
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x10
                                #raw 0x04
                                #raw 0xFE

                                #org @move8
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x10
                                #raw 0x12
                                #raw 0x12
                                #raw 0x12
                                #raw 0x10
                                #raw 0x04
                                #raw 0xFE

                                #org @last
                                msgbox @why 0x6
                                fadescreen 0x1
                                hidesprite 0x09
                                fadescreen 0x0
                                setflag 0x1018
                                release
                                end

                                #org @done
                                release
                                end

                                #org @why
                                = [blue_fr]???:You let CELEBI escape!\pMy name is Giovanni, and\nI own Team Rocket.\pGiovanni:CELEIBI is a\nLegendary Pokemon, and only a\lfew have whitnessed its power.\pGiovanni:That's Team Rockets\nonly objective, is to catch\lall the Legendary Pokemon!\pGiovanni:Hmm!\nWhat's your objective in\llife?\pTo become a Pokemon Master?\pGiovanni:Hmph! pathetic!\pGiovanni:Well I see I kept\nyou long enough.\pGiovanni:I'm sure we'll meet\nagain!
                                Didn't you know that hidesprite is just temporary? You need to set the flag assigned to the person as well.


                                Quote:
                                Originally Posted by Preyas View Post
                                Okay, I am not even deep into my code and I am pushing through as much as I can, but I only run into problems.

                                My newest one is whenever I warp/enter the school room map (and only that warp)
                                It takes me to the map and then freezes with scrolling text. Sometimes it says "You recieve XXXXX(item, usually a pokeball of some sort), and then glitch-speak scrolling from left to right.

                                Anyone know about this?

                                I don't know what the problem could be.
                                Looks like the level script got screwed up. Could be AM fault, and you might want to check the level script structure through XSE. To do that, enable the Professional Header View, and click on the Header tab. From there, copy the Map Script Offset and paste it into XSE. Enable the Level Script option (next to the decompile button) and then decompile. Probably it won't make a lot of sense to you, but feel free to post it.
                                __________________
                                  #1374    
                                Old June 15th, 2009 (6:12 AM).
                                Laidjon*'s Avatar
                                Laidjon* Laidjon* is offline
                                An eternal equilibrium~
                                   
                                  Join Date: Jan 2008
                                  Location: The Netherlands
                                  Gender: Male
                                  Nature: Relaxed
                                  Posts: 74
                                  Quote:
                                  Originally Posted by laidjon View Post
                                  What is wrong with these scripts?
                                  Code:
                                  #dynamic 0x800000
                                  #org @start
                                  lock
                                  checkflag 0x3e8
                                  if 0x1 goto @done
                                  message @introp 0x6
                                  release
                                  end
                                  
                                  #org @done
                                  release
                                  end
                                  
                                  #org @introp
                                  = Where's that package?
                                  Code:
                                  #dynamic 0x800000
                                  #org @start
                                  Lock
                                  checkflag 0x1022
                                  if 0x1 goto @done
                                  message @holdit 0x6
                                  applymovement 0xFF @volg1
                                  waitmovement 0x0
                                  release
                                  end
                                  
                                  #org @done
                                  release
                                  end
                                  
                                  #org @holdit 0x6
                                  = I can't leave yet. I have to get\nthe package for Dad.
                                  
                                  org @volg1
                                  #raw 0x12
                                  #raw 0xFE
                                  Code:
                                  #dynamic 0x800000
                                  
                                  #org @start
                                  lock
                                  faceplayer
                                  checkflag 0x1022
                                  if 0x1 goto @done
                                  message @package 0x6
                                  setflag 0x1022
                                  release
                                  end
                                  
                                  #org @done
                                  release
                                  end
                                  
                                  #org @package
                                  = This is the package that I have to\nbring Dad.\l[player] received the package!
                                  They are doing what is told, but the text isn't showing. Btw, the first and the second scripts are level scripts.
                                  Please help. Thanks in advance =)
                                  I have been skipt, so... Anyone?
                                  __________________
                                  Youtube: Check out my videos on Pokemon maps
                                    #1375    
                                  Old June 15th, 2009 (7:23 AM).
                                  HackChu's Avatar
                                  HackChu HackChu is offline
                                  I need a haircut...
                                  • Silver Tier
                                   
                                  Join Date: Jan 2007
                                  Location: Bankrupt Amerika
                                  Age: 24
                                  Gender: Male
                                  Nature: Modest
                                  Posts: 673
                                  oh thanks hackmew you've opened doors for future knowledge,unfortunally do l add another flag,because l gave it the flag as ppl id and nothing happened.
                                  __________________
                                  Join us!

                                  My 'learning how to combine battle scripts' thread:
                                  http://www.pokecommunity.com/showthread.php?t=183001

                                  SoulSilver FC:1162 1864 5409
                                  Name: Ethan

                                  Black FC: 2666 1354 4379
                                  Name: Ashton

                                  White 2 FC: 1120 8065 3049
                                  Name: Nate

                                  3DS Friend Code: 1349-4646-2412
                                  Name: tysonrss
                                  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 2:42 PM.