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

Closed Thread
 
Thread Tools
  #7626    
Old January 28th, 2013 (4:22 PM).
kj3400's Avatar
kj3400 kj3400 is offline
Wants a Magneton for a Charger
     
    Join Date: Mar 2012
    Gender: Male
    Nature: Lax
    Posts: 53
    Quote:
    Originally Posted by FBI agent View Post
    For running shoes if I just set the flag 0x82F does it give them to me? What to do?
    I don't see why it wouldn't.
      #7627    
    Old January 28th, 2013 (4:26 PM).
    thetripplenine's Avatar
    thetripplenine thetripplenine is offline
    tripple.
       
      Join Date: Jan 2013
      Location: California
      Age: 20
      Gender: Male
      Nature: Bold
      Posts: 98
      DrFuji I do not understand the new xse, it's so much more different...
        #7628    
      Old January 28th, 2013 (4:30 PM).
      karatekid552's Avatar
      karatekid552 karatekid552 is offline
      What happens if I push it?....
         
        Join Date: Nov 2012
        Location: Do you really want to know? Really?
        Gender: Male
        Nature: Bold
        Posts: 1,766
        Quote:
        Originally Posted by thetripplenine View Post
        DrFuji I do not understand the new xse, it's so much more different...
        I felt the same way, don't worry. As you practice and get used to it you willfind it much easier to use and more powerful. Donmt worry, it just takes a little time.
        __________________

        Paired with Simba
          #7629    
        Old January 28th, 2013 (4:45 PM).
        FBI's Avatar
        FBI FBI is offline
        Free supporter
         
        Join Date: Jan 2013
        Location: Unknown Island
        Gender: Male
        Posts: 1,867
        Not working D:
        The variable 0x5004 is just a variable I was using to keep track of gender btw. There were not problems with the script outside running shoe (everything would work in the order/way I wanted, but running shoes were never given). After the end of the script I tried it out and I just can't run :(

        This is FireRed.

        Spoiler:

        #dyn 0x740000
        #org @start
        lock
        faceplayer
        textcolor RED
        checkflag 0x2A
        if TRUE jump @got
        msgbox @text
        callstd MSG_NORMAL
        release
        end

        #org @got
        checkflag 0x82F
        if TRUE jump @GL
        compare 0x5004 0x1
        if == call @bfine
        compare 0x5004 0x0
        if == jump @gfine
        setflag FR_RUNNING_SHOES 'This is equivalent to setflag 0x82F
        textcolor GRAY
        fanfare 0x101
        waitfanfare
        msgbox @recieve
        callstd MSG_NORMAL
        end

        #org @gfine
        msgbox @fine
        callstd MSG_NORMAL
        return

        #org @bfine
        msgbox @boyfine
        callstd MSG_NORMAL
        return

        #org @GL
        textcolor BLUE
        msgbox @heal
        callstd MSG_NORMAL
        release
        end

        #org @heal
        = MOM: If you ever feel tired,\nyou can always rest in your bed.

        #org @recieve
        = \v\h01 recieved RUNNING SHOES!

        #org @boyfine
        = MOM: \v\h01 my dear son, I'm so\nproud of you. I remember when you\lused to get the lab chemicals all\lover your coat and when the PROF.-\pOh nevermind that, if you're going\lon a journey atleast take these\lwith you, they'll be helpful.

        #org @fine
        = MOM: \v\h01 my dear daughter, I'm so\nproud of you. I remember when you\lused to get the lab chemicals all\lover your coat and when the PROF.-\pOh nevermind that, if you're going\lon a journey atleast take these\lwith you, they'll be helpful.

        #org @text
        = MOM: PROF. CEDAR wanted to have a\nword with you, \v\h01. You should\lgo see what the kind man wants. He\lsaid he'd by near the storage room.
        __________________
        ...
          #7630    
        Old January 28th, 2013 (4:50 PM).
        PoisonEmeralds's Avatar
        PoisonEmeralds PoisonEmeralds is offline
        Rookie ROM Hacker
           
          Join Date: Jan 2013
          Location: United Kingdom
          Age: 23
          Gender: Male
          Nature: Calm
          Posts: 18
          If i'm using pokemon ruby and i've made events using poketronic and advance map how do I make it so the event dissapears from the map once you've battled or captured the pokemon?
          __________________
          The one and only.
          -PoisonEmeralds
            #7631    
          Old January 28th, 2013 (5:01 PM).
          FBI's Avatar
          FBI FBI is offline
          Free supporter
           
          Join Date: Jan 2013
          Location: Unknown Island
          Gender: Male
          Posts: 1,867
          Quote:
          Originally Posted by PoisonEmeralds View Post
          If i'm using pokemon ruby and i've made events using poketronic and advance map how do I make it so the event dissapears from the map once you've battled or captured the pokemon?
          You can't do it using Poketronic (I'm pretty sure). You gotta use a script editor.
          __________________
          ...
            #7632    
          Old January 28th, 2013 (5:15 PM).
          PoisonEmeralds's Avatar
          PoisonEmeralds PoisonEmeralds is offline
          Rookie ROM Hacker
             
            Join Date: Jan 2013
            Location: United Kingdom
            Age: 23
            Gender: Male
            Nature: Calm
            Posts: 18
            Quote:
            Originally Posted by FBI agent View Post
            You can't do it using Poketronic (I'm pretty sure). You gotta use a script editor.
            You can you just use the wild pokemon battle script inserter with poketronic then use free space finder
            __________________
            The one and only.
            -PoisonEmeralds
              #7633    
            Old January 28th, 2013 (5:17 PM).
            karatekid552's Avatar
            karatekid552 karatekid552 is offline
            What happens if I push it?....
               
              Join Date: Nov 2012
              Location: Do you really want to know? Really?
              Gender: Male
              Nature: Bold
              Posts: 1,766
              Actually, you can. In the bottom, where it says flag, enter the flag. Then compile. Now, open up your script in XSE and delete the line that says clearflag 0x_____. Now, compile it again. Then, go take that flag number and set it as the person I.D. In A-map.

              The person won't disappear right away, but you won't be able to battle again. Look about 5 posts above to find out how to make it dissapear on the spot. Remeber, if you add to a poketronic script, you must repoint.
              __________________

              Paired with Simba
                #7634    
              Old January 28th, 2013 (5:18 PM).
              PoisonEmeralds's Avatar
              PoisonEmeralds PoisonEmeralds is offline
              Rookie ROM Hacker
                 
                Join Date: Jan 2013
                Location: United Kingdom
                Age: 23
                Gender: Male
                Nature: Calm
                Posts: 18
                Quote:
                Originally Posted by karatekid552 View Post
                Actually, you can. In the bottom, where it says flag, enter the flag. Then compile. Now, open up your script in XSE and delete the line that says clearflag 0x_____. Now, compile it again. Then, go take that flag number and set it as the person I.D. In A-map.

                The person won't disappear right away, but you won't be able to battle again. Look about 5 posts above to find out how to make it dissapear on the spot. Remeber, if you add to a poketronic script, you must repoint.
                Okay cheers bro I'll keep that in mind :P
                __________________
                The one and only.
                -PoisonEmeralds
                  #7635    
                Old January 28th, 2013 (5:23 PM).
                karatekid552's Avatar
                karatekid552 karatekid552 is offline
                What happens if I push it?....
                   
                  Join Date: Nov 2012
                  Location: Do you really want to know? Really?
                  Gender: Male
                  Nature: Bold
                  Posts: 1,766
                  Quote:
                  Originally Posted by PoisonEmeralds View Post
                  Okay cheers bro I'll keep that in mind :P
                  Cool, but I just remebered that the post was on the other help thread.

                  Just add this after the battle to make it dissapear:

                  fadescreen 0x1
                  hidesprite 0xsprite#
                  fadescreen 0x0

                  Remember to repoint.
                  __________________

                  Paired with Simba
                    #7636    
                  Old January 28th, 2013 (5:25 PM).
                  PoisonEmeralds's Avatar
                  PoisonEmeralds PoisonEmeralds is offline
                  Rookie ROM Hacker
                     
                    Join Date: Jan 2013
                    Location: United Kingdom
                    Age: 23
                    Gender: Male
                    Nature: Calm
                    Posts: 18
                    Quote:
                    Originally Posted by karatekid552 View Post
                    Cool, but I just remebered that the post was on the other help thread.

                    Just add this after the battle to make it dissapear:

                    fadescreen 0x1
                    hidesprite 0xsprite#
                    fadescreen 0x0

                    Remember to repoint.
                    Thanks you're a legend <3 (No homo)
                    __________________
                    The one and only.
                    -PoisonEmeralds
                      #7637    
                    Old January 28th, 2013 (5:46 PM).
                    karatekid552's Avatar
                    karatekid552 karatekid552 is offline
                    What happens if I push it?....
                       
                      Join Date: Nov 2012
                      Location: Do you really want to know? Really?
                      Gender: Male
                      Nature: Bold
                      Posts: 1,766
                      Quote:
                      Originally Posted by FBI agent View Post
                      Not working D:
                      The variable 0x5004 is just a variable I was using to keep track of gender btw. There were not problems with the script outside running shoe (everything would work in the order/way I wanted, but running shoes were never given). After the end of the script I tried it out and I just can't run :(

                      This is FireRed.

                      Spoiler:

                      #dyn 0x740000
                      #org @start
                      lock
                      faceplayer
                      textcolor RED
                      checkflag 0x2A
                      if TRUE jump @got
                      msgbox @text
                      callstd MSG_NORMAL
                      release
                      end

                      #org @got
                      checkflag 0x82F
                      if TRUE jump @GL
                      compare 0x5004 0x1
                      if == call @bfine
                      compare 0x5004 0x0
                      if == jump @gfine
                      setflag FR_RUNNING_SHOES 'This is equivalent to setflag 0x82F
                      textcolor GRAY
                      fanfare 0x101
                      waitfanfare
                      msgbox @recieve
                      callstd MSG_NORMAL
                      end

                      #org @gfine
                      msgbox @fine
                      callstd MSG_NORMAL
                      return

                      #org @bfine
                      msgbox @boyfine
                      callstd MSG_NORMAL
                      return

                      #org @GL
                      textcolor BLUE
                      msgbox @heal
                      callstd MSG_NORMAL
                      release
                      end

                      #org @heal
                      = MOM: If you ever feel tired,\nyou can always rest in your bed.

                      #org @recieve
                      = \v\h01 recieved RUNNING SHOES!

                      #org @boyfine
                      = MOM: \v\h01 my dear son, I'm so\nproud of you. I remember when you\lused to get the lab chemicals all\lover your coat and when the PROF.-\pOh nevermind that, if you're going\lon a journey atleast take these\lwith you, they'll be helpful.

                      #org @fine
                      = MOM: \v\h01 my dear daughter, I'm so\nproud of you. I remember when you\lused to get the lab chemicals all\lover your coat and when the PROF.-\pOh nevermind that, if you're going\lon a journey atleast take these\lwith you, they'll be helpful.

                      #org @text
                      = MOM: PROF. CEDAR wanted to have a\nword with you, \v\h01. You should\lgo see what the kind man wants. He\lsaid he'd by near the storage room.
                      Simple misspelling. It's FR_RUNNINGSHOES on XSE v.1.1.1, and just RUNNINGSHOES on XSE v.1.0.0.
                      __________________

                      Paired with Simba
                        #7638    
                      Old January 28th, 2013 (6:29 PM).
                      FBI's Avatar
                      FBI FBI is offline
                      Free supporter
                       
                      Join Date: Jan 2013
                      Location: Unknown Island
                      Gender: Male
                      Posts: 1,867
                      Quote:
                      Originally Posted by karatekid552 View Post
                      Simple misspelling. It's FR_RUNNINGSHOES on XSE v.1.1.1, and just RUNNINGSHOES on XSE v.1.0.0.
                      I tried it in XSE and it didn't work :S
                      I even substituted to word for actual 0x82F :/
                      __________________
                      ...
                        #7639    
                      Old January 28th, 2013 (6:45 PM). Edited January 28th, 2013 by karatekid552.
                      karatekid552's Avatar
                      karatekid552 karatekid552 is offline
                      What happens if I push it?....
                         
                        Join Date: Nov 2012
                        Location: Do you really want to know? Really?
                        Gender: Male
                        Nature: Bold
                        Posts: 1,766
                        Have you made sure the B-button works?



                        Edit: I compiled your script exactly as is in PKSVUI only changing the setflag to 0x82F.
                        I also added a player that just clears 0x82F, to get rid of my running shoes, and sets the flag 0x2A for your script to run. After setting and clearing those flags. The origional script game me running shoes that work, however the @fine messages didn't run. I'll look into it more.
                        __________________

                        Paired with Simba
                          #7640    
                        Old January 28th, 2013 (7:39 PM).
                        FBI's Avatar
                        FBI FBI is offline
                        Free supporter
                         
                        Join Date: Jan 2013
                        Location: Unknown Island
                        Gender: Male
                        Posts: 1,867
                        Quote:
                        Originally Posted by karatekid552 View Post
                        Have you made sure the B-button works?



                        Edit: I compiled your script exactly as is in PKSVUI only changing the setflag to 0x82F.
                        I also added a player that just clears 0x82F, to get rid of my running shoes, and sets the flag 0x2A for your script to run. After setting and clearing those flags. The origional script game me running shoes that work, however the @fine messages didn't run. I'll look into it more.
                        You need to setvar 0x5004 to 0x0 for female and 0x1 for male, should work then. I'm gonna try it on a clean rom and see what happens :P
                        __________________
                        ...
                          #7641    
                        Old January 28th, 2013 (8:17 PM).
                        thetripplenine's Avatar
                        thetripplenine thetripplenine is offline
                        tripple.
                           
                          Join Date: Jan 2013
                          Location: California
                          Age: 20
                          Gender: Male
                          Nature: Bold
                          Posts: 98
                          Now I can't work this Xse... For example this script won't do anything, it just freezes the game.

                          Spoiler:
                          #dynamic 0x9C0000

                          #org @start
                          movesprite 0x215 0x6 0x2
                          faceplayer
                          msgbox @1 0x6
                          release
                          end

                          #org @1
                          = Hi [player]! Ignore some of what\nProfessor Birch said. Your mission\lis to infultrate Team Magma's\lheadquarters. Go north of this\lhouse, enter the cave, receive\lyour pokemon, and find the sailor\lwho will send you to the\lrecruitment training.


                          Btw it's supposed to move the mother in emerald
                            #7642    
                          Old January 28th, 2013 (8:30 PM).
                          FBI's Avatar
                          FBI FBI is offline
                          Free supporter
                           
                          Join Date: Jan 2013
                          Location: Unknown Island
                          Gender: Male
                          Posts: 1,867
                          Quote:
                          Originally Posted by thetripplenine View Post
                          Now I can't work this Xse... For example this script won't do anything, it just freezes the game.

                          Spoiler:
                          #dynamic 0x9C0000

                          #org @start
                          movesprite 0x215 0x6 0x2
                          faceplayer
                          msgbox @1 0x6
                          release
                          end

                          #org @1
                          = Hi [player]! Ignore some of what\nProfessor Birch said. Your mission\lis to infultrate Team Magma's\lheadquarters. Go north of this\lhouse, enter the cave, receive\lyour pokemon, and find the sailor\lwho will send you to the\lrecruitment training.


                          Btw it's supposed to move the mother in emerald
                          For your Dynamic offset I'd start somewhere lower, maybe 740000? There's a good chunk of free space there. Though the problem is you're using a talk script and you've got a movesprite command in it? I assume you want applymovement not movesprite.

                          Try to just run a talk script without moving. If that works then learn the applymovement command (there's more information on command help in the help tab of XSE).

                          If you're really having trouble, PKSV has a neat script generator and I personally learned a lot of that from it (and decompiling ingame scripts).
                          __________________
                          ...
                            #7643    
                          Old January 28th, 2013 (8:53 PM). Edited January 28th, 2013 by thetripplenine.
                          thetripplenine's Avatar
                          thetripplenine thetripplenine is offline
                          tripple.
                             
                            Join Date: Jan 2013
                            Location: California
                            Age: 20
                            Gender: Male
                            Nature: Bold
                            Posts: 98
                            Quote:
                            Originally Posted by FBI agent View Post
                            For your Dynamic offset I'd start somewhere lower, maybe 740000? There's a good chunk of free space there. Though the problem is you're using a talk script and you've got a movesprite command in it? I assume you want applymovement not movesprite.

                            Try to just run a talk script without moving. If that works then learn the applymovement command (there's more information on command help in the help tab of XSE).

                            If you're really having trouble, PKSV has a neat script generator and I personally learned a lot of that from it (and decompiling ingame scripts).

                            No I'm trying to use movesprite because I want the mother to say that to the player...

                            Btw I just tried to use PKSVU and it came up with this... Game still freezes, nothing happens...

                            Spoiler:
                            '---------------
                            #org 0x74673B
                            lockall
                            checkflag 0x828
                            if 0x1 goto 0x886989B
                            preparemsg 0x8869867 '"You cannot enter without picking a..."
                            waitmsg
                            waitkeypress
                            releaseall
                            end

                            '---------------
                            #org 0x86989B
                            preparemsg 0x88699CE '"Oh, I'm sorry I didn't realize you..."
                            waitmsg
                            waitkeypress
                            fadescreen 0x3
                            closeonkeypress
                            hidesprite 0x3
                            setflag 0x828
                            fadescreen 0x2
                            releaseall
                            end


                            '---------
                            ' Strings
                            '---------
                            #org 0x869867
                            = You cannot enter without picking a\nPokémon.

                            #org 0x8699CE
                            = Oh, I'm sorry I didn't realize you\nwere the new recruit!
                              #7644    
                            Old January 29th, 2013 (3:36 AM). Edited January 29th, 2013 by karatekid552.
                            karatekid552's Avatar
                            karatekid552 karatekid552 is offline
                            What happens if I push it?....
                               
                              Join Date: Nov 2012
                              Location: Do you really want to know? Really?
                              Gender: Male
                              Nature: Bold
                              Posts: 1,766
                              Quote:
                              Originally Posted by FBI agent View Post
                              You need to setvar 0x5004 to 0x0 for female and 0x1 for male, should work then. I'm gonna try it on a clean rom and see what happens :P
                              I did and vars always start off set to 0 anways. Why not just use the checkgender command, btw?

                              Quote:
                              Originally Posted by thetripplenine View Post
                              No I'm trying to use movesprite because I want the mother to say that to the player...

                              Btw I just tried to use PKSVU and it came up with this... Game still freezes, nothing happens...

                              Spoiler:
                              '---------------
                              #org 0x74673B
                              lockall
                              checkflag 0x828
                              if 0x1 goto 0x886989B
                              preparemsg 0x8869867 '"You cannot enter without picking a..."
                              waitmsg
                              waitkeypress
                              releaseall
                              end

                              '---------------
                              #org 0x86989B
                              preparemsg 0x88699CE '"Oh, I'm sorry I didn't realize you..."
                              waitmsg
                              waitkeypress
                              fadescreen 0x3
                              closeonkeypress
                              hidesprite 0x3
                              setflag 0x828
                              fadescreen 0x2
                              releaseall
                              end


                              '---------
                              ' Strings
                              '---------
                              #org 0x869867
                              = You cannot enter without picking a\nPokémon.

                              #org 0x8699CE
                              = Oh, I'm sorry I didn't realize you\nwere the new recruit!
                              Flags in the 800's are often used by the game and may be set behind the scenes. Not always nest to use them. The flags in the 1000's are very good to use though.

                              In PKSVUI, have you tried changeing the 'preparemsgbox and waitmsgbox' to;

                              Msgbox @msg
                              Callstd MSG_NORMAL

                              ?

                              I remember reading comething about the preparemsgbox command and I don't think it is your best choice. Also, it this a person script or an S-tile script? The more information we have, the better.
                              __________________

                              Paired with Simba
                                #7645    
                              Old January 29th, 2013 (3:55 AM).
                              FBI's Avatar
                              FBI FBI is offline
                              Free supporter
                               
                              Join Date: Jan 2013
                              Location: Unknown Island
                              Gender: Male
                              Posts: 1,867
                              Quote:
                              Originally Posted by karatekid552 View Post
                              I did and vars always start off set to 0 anways. Why not just use the checkgender command, btw?



                              Flags in the 800's are often used by the game and may be set behind the scenes. Not always nest to use them. The flags in the 1000's are very good to use though.

                              In PKSVUI, have you tried changeing the 'preparemsgbox and waitmsgbox' to;

                              Msgbox @msg
                              Callstd MSG_NORMAL

                              ?

                              I remember reading comething about the preparemsgbox command and I don't think it is your best choice. Also, it this a person script or an S-tile script? The more information we have, the better.
                              Because I needed it for another script earlier :D
                              That's pretty wierd though, I'm getting all the @fine messages. I also know the running shoes flag i being set since I get the @GL message.
                              __________________
                              ...
                                #7646    
                              Old January 29th, 2013 (4:44 AM). Edited January 29th, 2013 by tajaros.
                              tajaros's Avatar
                              tajaros tajaros is offline
                              Hi I'm dawg
                                 
                                Join Date: Apr 2012
                                Location: Philippines
                                Age: 19
                                Gender: Male
                                Nature: Timid
                                Posts: 857
                                Quote:
                                Originally Posted by karatekid552 View Post
                                Cool, but I just remebered that the post was on the other help thread.

                                Just add this after the battle to make it dissapear:

                                fadescreen 0x1
                                hidesprite 0xsprite#
                                fadescreen 0x0
                                Remember to repoint.
                                Not sprite # but person event no. This might confuse some people to use the sprite # seen on A-map.


                                Quote:
                                Originally Posted by thetripplenine View Post
                                Now I can't work this Xse... For example this script won't do anything, it just freezes the game.

                                Spoiler:
                                #dynamic 0x9C0000

                                #org @start
                                movesprite 0x215 0x6 0x2
                                faceplayer
                                msgbox @1 0x6
                                release
                                end

                                #org @1
                                = Hi [player]! Ignore some of what\nProfessor Birch said. Your mission\lis to infultrate Team Magma's\lheadquarters. Go north of this\lhouse, enter the cave, receive\lyour pokemon, and find the sailor\lwho will send you to the\lrecruitment training.


                                Btw it's supposed to move the mother in emerald
                                Who in the world is person event no. 533???????? (that's 215 in hex) I'm pretty sure that's what is causing your game to freeze not the dynamic offset. Remember XSE does things in hex...

                                If you're trying to move the player it should be 0xFF (255 in dec) but I don't think that would be a good idea since the center of the screen would be off and you would be trapped in the game.

                                So if you're trying to do that just use a warp command and make a warp using A-map. Please do not change into PKSV keep on using XSE it's the best script editor for GBA Pokemon Games... :)

                                Quote:
                                Originally Posted by thetripplenine View Post
                                No I'm trying to use movesprite because I want the mother to say that to the player...

                                Btw I just tried to use PKSVU and it came up with this... Game still freezes, nothing happens...

                                Spoiler:
                                '---------------
                                #org 0x74673B
                                lockall
                                checkflag 0x828
                                if 0x1 goto 0x886989B
                                preparemsg 0x8869867 '"You cannot enter without picking a..."
                                waitmsg
                                waitkeypress
                                releaseall
                                end

                                '---------------
                                #org 0x86989B
                                preparemsg 0x88699CE '"Oh, I'm sorry I didn't realize you..."
                                waitmsg
                                waitkeypress
                                fadescreen 0x3
                                closeonkeypress
                                hidesprite 0x3
                                setflag 0x828
                                fadescreen 0x2
                                releaseall
                                end


                                '---------
                                ' Strings
                                '---------
                                #org 0x869867
                                = You cannot enter without picking a\nPokémon.

                                #org 0x8699CE
                                = Oh, I'm sorry I didn't realize you\nwere the new recruit!
                                ? You already are checking if the flag 0x828 is already set (which is the pokemon menu) so why set it again?

                                Use another flag probably 0x200 if you haven't used that up.
                                Quote:
                                Originally Posted by karatekid552 View Post
                                I did and vars always start off set to 0 anways. Why not just use the checkgender command, btw?



                                Flags in the 800's are often used by the game and may be set behind the scenes. Not always nest to use them. The flags in the 1000's are very good to use though.

                                In PKSVUI, have you tried changeing the 'preparemsgbox and waitmsgbox' to;

                                Msgbox @msg
                                Callstd MSG_NORMAL

                                ?

                                I remember reading comething about the preparemsgbox command and I don't think it is your best choice. Also, it this a person script or an S-tile script? The more information we have, the better.
                                NO, NO, NO, NO, NO.

                                Do not use flags greater than 0x900 cause they will be overwriting with variables from 0x4000 and up and might be the cause of your game having bad eggs and such. And will also be the cause of already set variables which will be a hassle.

                                I recommend using flags from 0x200-0x2FF since those are used for stories in FR.
                                __________________
                                  #7647    
                                Old January 29th, 2013 (5:25 AM).
                                karatekid552's Avatar
                                karatekid552 karatekid552 is offline
                                What happens if I push it?....
                                   
                                  Join Date: Nov 2012
                                  Location: Do you really want to know? Really?
                                  Gender: Male
                                  Nature: Bold
                                  Posts: 1,766
                                  Quote:
                                  Originally Posted by tajaros View Post
                                  Not sprite # but person event no. This might confuse some people to use the sprite # seen on A-map.



                                  Who in the world is person event no. 533???????? (that's 215 in hex) I'm pretty sure that's what is causing your game to freeze not the dynamic offset. Remember XSE does things in hex...

                                  If you're trying to move the player it should be 0xFF (255 in dec) but I don't think that would be a good idea since the center of the screen would be off and you would be trapped in the game.

                                  So if you're trying to do that just use a warp command and make a warp using A-map. Please do not change into PKSV keep on using XSE it's the best script editor for GBA Pokemon Games... :)



                                  ? You already are checking if the flag 0x828 is already set (which is the pokemon menu) so why set it again?

                                  Use another flag probably 0x200 if you haven't used that up.


                                  NO, NO, NO, NO, NO.

                                  Do not use flags greater than 0x900 cause they will be overwriting with variables from 0x4000 and up and might be the cause of your game having bad eggs and such. And will also be the cause of already set variables which will be a hassle.

                                  I recommend using flags from 0x200-0x2FF since those are used for stories in FR.

                                  ummm... If you're planning on leaving scripts that were already a part of the game, be carefull in the 200's, almost half of them are used:

                                  Used flags in FR/LG from Diegoisawesome's tutorial:
                                  Quote:
                                  Fire Red/Leaf Green:
                                  Spoiler:

                                  0x1
                                  0x2
                                  0x3
                                  0x4
                                  0x5
                                  0x6
                                  0x2B
                                  0x2C
                                  0x2E
                                  0x2F
                                  0x30
                                  0x31
                                  0x32
                                  0x33
                                  0x34
                                  0x35
                                  0x36
                                  0x37
                                  0x39
                                  0x3D
                                  0x3E
                                  0x3F
                                  0x40
                                  0x41
                                  0x42
                                  0x43
                                  0x44
                                  0x45
                                  0x46
                                  0x47
                                  0x48
                                  0x49
                                  0x4A
                                  0x4B
                                  0x4C
                                  0x4D
                                  0x50
                                  0x52
                                  0x54
                                  0x58
                                  0x59
                                  0x5C
                                  0x5D
                                  0x5F
                                  0x62
                                  0x63
                                  0x64
                                  0x65
                                  0x66
                                  0x67
                                  0x68
                                  0x69
                                  0x6A
                                  0x6B
                                  0x72
                                  0x75
                                  0x7A
                                  0x7B
                                  0x7C
                                  0x7D
                                  0x7E
                                  0x80
                                  0x81
                                  0x82
                                  0x84
                                  0x85
                                  0x86
                                  0x88
                                  0x8B
                                  0x8C
                                  0x8D
                                  0x8E
                                  0x91
                                  0x92
                                  0x93
                                  0x94
                                  0x95
                                  0x96
                                  0x97
                                  0x98
                                  0x99
                                  0x9A
                                  0x9B
                                  0x9C
                                  0x9E
                                  0x9F
                                  0xA0
                                  0xA1
                                  0xA2
                                  0xAA
                                  0xAD
                                  0xAE
                                  0xB1
                                  0xB2
                                  0xB3
                                  0xB4
                                  0xD5
                                  0xD6
                                  0xD7
                                  0xDC
                                  0xEA
                                  0x109
                                  0x10A
                                  0x10B
                                  0x118
                                  0x119
                                  0x11A
                                  0x11B
                                  0x120
                                  0x121
                                  0x124
                                  0x125
                                  0x126
                                  0x127
                                  0x128
                                  0x129
                                  0x142
                                  0x143
                                  0x144
                                  0x163
                                  0x16A
                                  0x16E
                                  0x16F
                                  0x188
                                  0x189
                                  0x190
                                  0x191
                                  0x192
                                  0x1A7
                                  0x1A8
                                  0x1B6
                                  0x1B7
                                  0x1B8
                                  0x1CE
                                  0x1CF
                                  0x1D0
                                  0x219
                                  0x21A
                                  0x21F
                                  0x230
                                  0x231
                                  0x232
                                  0x233
                                  0x234
                                  0x235
                                  0x236
                                  0x237
                                  0x238
                                  0x239
                                  0x23A
                                  0x23B
                                  0x23C
                                  0x23D
                                  0x23F
                                  0x240
                                  0x241
                                  0x243
                                  0x244
                                  0x245
                                  0x246
                                  0x247
                                  0x248
                                  0x249
                                  0x24A
                                  0x24B
                                  0x24D
                                  0x24E
                                  0x24F
                                  0x250
                                  0x251
                                  0x252
                                  0x253
                                  0x254
                                  0x255
                                  0x256
                                  0x257
                                  0x258
                                  0x259
                                  0x25B
                                  0x25E
                                  0x263
                                  0x264
                                  0x265
                                  0x266
                                  0x267
                                  0x268
                                  0x269
                                  0x26A
                                  0x26B
                                  0x26C
                                  0x26D
                                  0x26E
                                  0x26F
                                  0x270
                                  0x271
                                  0x272
                                  0x273
                                  0x274
                                  0x275
                                  0x276
                                  0x278
                                  0x27A
                                  0x27B
                                  0x27C
                                  0x27D
                                  0x27E
                                  0x27F
                                  0x280
                                  0x281
                                  0x282
                                  0x283
                                  0x284
                                  0x285
                                  0x286
                                  0x287
                                  0x288
                                  0x289
                                  0x28A
                                  0x28B
                                  0x28C
                                  0x28D
                                  0x290
                                  0x291
                                  0x292
                                  0x293
                                  0x294
                                  0x295
                                  0x296
                                  0x297
                                  0x298
                                  0x29A
                                  0x29B
                                  0x29C
                                  0x29D
                                  0x29E
                                  0x29F
                                  0x2A0
                                  0x2A1
                                  0x2A2
                                  0x2A3
                                  0x2A5
                                  0x2A6
                                  0x2BB
                                  0x2BC
                                  0x2BD
                                  0x2BE
                                  0x2BF
                                  0x2C0
                                  0x2C1
                                  0x2C2
                                  0x2C3
                                  0x2C4
                                  0x2C5
                                  0x2C6
                                  0x2C7
                                  0x2C8
                                  0x2C9
                                  0x2CA
                                  0x2CB
                                  0x2CC
                                  0x2CD
                                  0x2CE
                                  0x2CF
                                  0x2D0
                                  0x2D1
                                  0x2D2
                                  0x2D3
                                  0x2D4
                                  0x2D5
                                  0x2D6
                                  0x2D7
                                  0x2D8
                                  0x2D9
                                  0x2DA
                                  0x2DB
                                  0x2DC
                                  0x2DD
                                  0x2E1
                                  0x2E2
                                  0x2E3
                                  0x2E4
                                  0x2E5
                                  0x2EC
                                  0x2ED
                                  0x2EE
                                  0x2EF
                                  0x2F0
                                  0x2F1
                                  0x2F2
                                  0x2F3
                                  0x2F4
                                  0x2F5
                                  0x2F6
                                  0x2F7
                                  0x2F8
                                  0x2F9
                                  0x2FA
                                  0x2FB
                                  0x2FC
                                  0x2FD
                                  0x2FE
                                  0x2FF
                                  0x4B0
                                  0x4B1
                                  0x4B2
                                  0x4B3
                                  0x4B4
                                  0x4B5
                                  0x4B6
                                  0x4B7
                                  0x4B8
                                  0x4B9
                                  0x4BA
                                  0x4BB
                                  0x4BC
                                  0x805
                                  0x807
                                  0x820
                                  0x821
                                  0x822
                                  0x823
                                  0x824
                                  0x825
                                  0x826
                                  0x827
                                  0x828
                                  0x829
                                  0x82C
                                  0x82D
                                  0x82F
                                  0x830
                                  0x834
                                  0x83E
                                  0x841
                                  0x842
                                  0x844
                                  0x845
                                  0x846
                                  0x847
                                  0x848
                                  0x849
                                  0x84A
                                  0x84B
                                  0x890
                                  0x891
                                  0x892
                                  0x893
                                  0x894
                                  0x895
                                  0x896
                                  0x897
                                  0x898
                                  0x899
                                  0x89A
                                  0x89B
                                  0x89C
                                  0x89D
                                  0x89E
                                  0x89F
                                  0x8A0
                                  0x8A1
                                  0x8A2
                                  0x8A3
                                  0x8A4
                                  0x8A5
                                  0x8A6
                                  0x8A7
                                  0x8A8
                                  0x8A9
                                  0x8AA
                                  0x8AB
                                  0x8AC
                                  0x8AD
                                  0x8AE
                                  0x8AF
                                  0x8B0
                                  0x8B1
                                  0x8B2
                                  0x8B3
                                  0x8B4
                                  0x8B5
                                  0x8B6
                                  0x8B7
                                  0x8B8
                                  0x8B9
                                  0x8BA
                                  0x8BB
                                  0x8BC
                                  0x8BD
                                  0x8BE
                                  0x8BF
                                  0x8C0
                                  0x8C1
                                  0x8C2


                                  I'm sorry about the whole 1000's thing, I have always used them and never had a problem. I could of sworn I saw them on a list of safe flags, that I can't conveniently find at the moment. The 900's are good though, right? They don't appear on any of the lists.
                                  __________________

                                  Paired with Simba
                                    #7648    
                                  Old January 29th, 2013 (12:28 PM).
                                  thetripplenine's Avatar
                                  thetripplenine thetripplenine is offline
                                  tripple.
                                     
                                    Join Date: Jan 2013
                                    Location: California
                                    Age: 20
                                    Gender: Male
                                    Nature: Bold
                                    Posts: 98
                                    Quote:
                                    Who in the world is person event no. 533???????? (that's 215 in hex) I'm pretty sure that's what is causing your game to freeze not the dynamic offset. Remember XSE does things in hex...

                                    If you're trying to move the player it should be 0xFF (255 in dec) but I don't think that would be a good idea since the center of the screen would be off and you would be trapped in the game.

                                    So if you're trying to do that just use a warp command and make a warp using A-map. Please do not change into PKSV keep on using XSE it's the best script editor for GBA Pokemon Games... :)
                                    So ya i changed it, btw i'm trying to move the mother not the player and the game still freezes... Do I have to give the mother a person ID?

                                    Spoiler:
                                    #dynamic 0x9C0000

                                    #org @start
                                    movesprite 0xD7 0x6 0x2
                                    faceplayer
                                    msgbox @1 0x6
                                    release
                                    end

                                    #org @1
                                    = Hi [player]! Ignore some of what\nProfessor Birch said. Your mission\lis to infultrate Team Magma's\lheadquarters. Go north of this\lhouse, enter the cave, receive\lyour pokemon, and find the sailor\lwho will send you to the\lrecruitment training.
                                      #7649    
                                    Old January 29th, 2013 (1:21 PM).
                                    karatekid552's Avatar
                                    karatekid552 karatekid552 is offline
                                    What happens if I push it?....
                                       
                                      Join Date: Nov 2012
                                      Location: Do you really want to know? Really?
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 1,766
                                      Quote:
                                      Originally Posted by thetripplenine View Post
                                      So ya i changed it, btw i'm trying to move the mother not the player and the game still freezes... Do I have to give the mother a person ID?

                                      Spoiler:
                                      #dynamic 0x9C0000

                                      #org @start
                                      movesprite 0xD7 0x6 0x2
                                      faceplayer
                                      msgbox @1 0x6
                                      release
                                      end

                                      #org @1
                                      = Hi [player]! Ignore some of what\nProfessor Birch said. Your mission\lis to infultrate Team Magma's\lheadquarters. Go north of this\lhouse, enter the cave, receive\lyour pokemon, and find the sailor\lwho will send you to the\lrecruitment training.
                                      The sprite number must match be the corresponding hex number for the decimal number placed in the person event number box (the one that you can change easily). The person I.D. Is used for showing an hiding ows based on a given flag.
                                      __________________

                                      Paired with Simba
                                        #7650    
                                      Old January 29th, 2013 (1:28 PM). Edited January 29th, 2013 by butterflye.
                                      butterflye's Avatar
                                      butterflye butterflye is offline
                                      Dancing on the rainbow lane
                                         
                                        Join Date: Nov 2012
                                        Age: 23
                                        Gender: Female
                                        Nature: Calm
                                        Posts: 8
                                        Quote:
                                        Originally Posted by karatekid552 View Post
                                        It's var 0x800D, that is LASTRESULT. It's on line 10, you're checking the wrong var.
                                        Corrected for your indication. Perhaps in a moment of anger, I throw the mouse out of the window, but it still doesn't work. Still no matter what I click, the game interprets as No. I really do not know what I'm doing wrong or what is the reason ;/ Maybe someone could check the operation of this script on his rom? Maybe it's the fault of my rom.
                                        I would be grateful and obliged.

                                        Spoiler:
                                        #dynamic 0xD00523

                                        #org @start
                                        lock
                                        faceplayer
                                        checkflag 0x828
                                        if 0x1 goto @done
                                        msgbox @1 0x5
                                        compare LASTRESULT 0x800D
                                        if 0x1 goto @givepokemon
                                        msgbox @no 0x6
                                        release
                                        end

                                        #org @givepokemon
                                        msgbox @thanks 0x6
                                        givepokemon 0x376 0x5 0x0 0x0 0x0 0x0
                                        fanfare 0x13E
                                        msgbox @received 0x6
                                        waitfanfare
                                        setflag 0x828
                                        release
                                        end

                                        #org @done
                                        msgbox @endie 0x6
                                        release
                                        end

                                        #org @1
                                        = You! Come here. Remember, what I\nsaid. Here, take this Absol. He\lseems to loved you, but I don't\lknow, how he can make it.

                                        #org @no
                                        = Humph. You have no heart.

                                        #org @endie
                                        = I hope Absol is fine.

                                        #org @thanks
                                        = Here you go.

                                        #org @received
                                        = [red_rs]Absol is now your friend!
                                        __________________
                                        Yes, I'm Polish.:paranoid:

                                        Supports:
                                        Spoiler:
                                        | |

                                        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
                                        Thread Tools

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

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

                                        Forum Jump


                                        All times are GMT -8. The time now is 12:31 PM.