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

Closed Thread
 
Thread Tools
  #26    
Old December 21st, 2008 (11:31 AM).
Hiche.. Hiche.. is offline
 
     
    Join Date: Apr 2008
    Posts: 979
    You forgot a 0x0 at the end of the giveitem command.

    Relevant Advertising!

      #27    
    Old December 21st, 2008 (12:25 PM).
    treecko99 treecko99 is offline
    The one and only
       
      Join Date: Nov 2007
      Location: I'm not that much of a n00b.
      Age: 23
      Gender:
      Nature: Quirky
      Posts: 9
      When I use this Script and talk to the person the game just freezes and the message box does not show up.

      Game: FireRed
      Type: Person Event
      Editor: Xse
      Script:
      Spoiler:
      #dynamic 0x71BD78

      #org @start
      lock
      faceplayer
      checkgender
      if 0x0 goto @boy
      if 0x1 goto @girl
      release
      end

      #org @boy
      = You are a boy.\nAren't You?

      #org @girl
      = You are a girl.\n Tell it to the judge.
      __________________
      So this a signature....its so blank. Time to fix that.


      Click here to feed me. Don't let me starve!
      This link is a lie!

        #28    
      Old December 21st, 2008 (12:37 PM).
      Hiche.. Hiche.. is offline
       
         
        Join Date: Apr 2008
        Posts: 979
        Quote:
        Originally Posted by treecko99 View Post
        When I use this Script and talk to the person the game just freezes and the message box does not show up.

        Game: FireRed
        Type: Person Event
        Editor: Xse
        Script:
        Spoiler:
        #dynamic 0x71BD78

        #org @start
        lock
        faceplayer
        checkgender
        if 0x0 goto @boy
        if 0x1 goto @girl
        release
        end

        #org @boy
        message @1
        boxset 6
        end

        #org @girl
        message @2
        boxset 6
        end


        #org @1
        = You are a boy.\nAren't You?

        #org @2
        = You are a girl.\n Tell it to the judge.
        The fixes are in Bold. I hope that helps.
          #29    
        Old December 21st, 2008 (12:40 PM).
        treecko99 treecko99 is offline
        The one and only
           
          Join Date: Nov 2007
          Location: I'm not that much of a n00b.
          Age: 23
          Gender:
          Nature: Quirky
          Posts: 9
          Thanks. Now its working properly.
          __________________
          So this a signature....its so blank. Time to fix that.


          Click here to feed me. Don't let me starve!
          This link is a lie!

            #30    
          Old December 21st, 2008 (1:49 PM).
          Madridista's Avatar
          Madridista Madridista is offline
          -#666
             
            Join Date: Nov 2008
            Location: Sydney, Australia
            Age: 21
            Gender:
            Posts: 40
            I just want to say, that there should be a new rule added to the first post.

            "If you want to thank somebody, do it via PM instead of spamming this thread"

            or something like that.
              #31    
            Old December 21st, 2008 (2:53 PM). Edited December 21st, 2008 by HackMew.
            HackMew's Avatar
            HackMew HackMew is offline
            Mewtwo Strikes Back
            • Crystal Tier
             
            Join Date: Jun 2006
            Posts: 1,314
            Quote:
            Originally Posted by Hiche View Post
            Can someone show me an example of the trainerbattle 0x6 and 0x7? Thanks in advance.
            Did you check some scripts in the original games? If you want you can check the scripting dumps I made a while ago. See my thread in the Toolbox.


            Quote:
            Originally Posted by Madridista View Post
            I just want to say, that there should be a new rule added to the first post.

            "If you want to thank somebody, do it via PM instead of spamming this thread"

            or something like that.
            Yeah, that's a good idea. I'll add it right now.

            EDIT: Rules updated, everyone! Make sure to read them once more, no matter if you did already.
            __________________
              #32    
            Old December 21st, 2008 (6:28 PM).
            Semblance Semblance is offline
               
              Join Date: Aug 2008
              Posts: 152
              Gameokemon Dawn of Oblivion
              Type:FireRed
              Editor:XSE
              Script:
              Spoiler:
              '-----------------------
              #org 0x3B4D85
              lock
              checkflag 0x828
              if 0x0 goto 0x83B4D90
              end

              '-----------------------
              #org 0x3B4D90
              lock
              applymovement MOVE_PLAYER 0x83B4DAE
              msgbox 0x83B4DBB '"I have the results!\nThe student th..."
              applymovement MOVE_PLAYER 0x83B4DB2
              msgbox 0x83B4E0E '"Go find Professor Johnson for your ..."
              release
              end


              '-----------
              ' Movements
              '-----------
              #org 0x3B4DAE
              #raw 11 'Step Up (Normal)
              #raw 11 'Step Up (Normal)
              #raw 11 'Step Up (Normal)

              #org 0x3B4DB2
              #raw 62 'Exclamation Mark (!)
              #raw 20 'Step Right (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)


              '---------
              ' Strings
              '---------
              #org 0x3B4DBB
              = I have the results!\nThe student that will embark on the journey is\p...\n[player]!

              #org 0x3B4E0E
              = Go find Professor Johnson for your Pokemon!

              Screenshots and/or Videos: None

              This script is supposed to be a one time only, sorta of like the Oak script that stops you from going out onto the grass without Pokemon. All it's doing now is freezing up the game, and it does that when it's not even on the correct tile. Help would be appreciated greatly; it's the first time I've done a script as complex as this.
                #33    
              Old December 21st, 2008 (6:49 PM). Edited December 21st, 2008 by HackMew.
              HackMew's Avatar
              HackMew HackMew is offline
              Mewtwo Strikes Back
              • Crystal Tier
               
              Join Date: Jun 2006
              Posts: 1,314
              Quote:
              Originally Posted by Semblance View Post
              Game:Pokemon Dawn of Oblivion
              Type:FireRed
              Editor:XSE
              Script:
              Spoiler:
              '-----------------------
              #org 0x3B4D85
              lock
              checkflag 0x828
              if 0x0 goto 0x83B4D90
              end

              '-----------------------
              #org 0x3B4D90
              lock
              applymovement MOVE_PLAYER 0x83B4DAE
              msgbox 0x83B4DBB '"I have the results!\nThe student th..."
              applymovement MOVE_PLAYER 0x83B4DB2
              msgbox 0x83B4E0E '"Go find Professor Johnson for your ..."
              release
              end


              '-----------
              ' Movements
              '-----------
              #org 0x3B4DAE
              #raw 11 'Step Up (Normal)
              #raw 11 'Step Up (Normal)
              #raw 11 'Step Up (Normal)

              #org 0x3B4DB2
              #raw 62 'Exclamation Mark (!)
              #raw 20 'Step Right (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)
              #raw 1E 'Step Up (Fast)


              '---------
              ' Strings
              '---------
              #org 0x3B4DBB
              = I have the results!\nThe student that will embark on the journey is\p...\n[player]!

              #org 0x3B4E0E
              = Go find Professor Johnson for your Pokemon!

              Screenshots and/or Videos: None

              This script is supposed to be a one time only, sorta of like the Oak script that stops you from going out onto the grass without Pokemon. All it's doing now is freezing up the game, and it does that when it's not even on the correct tile. Help would be appreciated greatly; it's the first time I've done a script as complex as this.
              Make sure to read better the rules next time because you mixed up thing a little :P

              Anyway...
              You're missing a release in the first part of the script and you're missing the End of Movements (0xFE) too.
              Also, you're missing the callstd/boxset as well.

              Spoiler:
              #dynamic 0x3B4D85

              #org @start
              lock
              checkflag 0x828
              if 0x0 goto @continue
              release
              end

              #org @continue
              lock
              applymovement MOVE_PLAYER @move1
              msgbox @results
              callstd 0x6
              applymovement MOVE_PLAYER @move2
              msgbox @gofind
              callstd 0x6
              release
              end

              #org @move1
              #raw 0x11
              #raw 0x11
              #raw 0x11
              #raw 0xFE

              #org @move2
              #raw 0x62
              #raw 0x20
              #raw 0x1E
              #raw 0x1E
              #raw 0x1E
              #raw 0x1E
              #raw 0x1E
              #raw 0x1E
              #raw 0xFE

              #org @results
              = I have the results!\nThe student that will embark on the journey is\p...\n[player]!

              #org @gofind
              = Go find Professor Johnson for your Pokemon!
              __________________
                #34    
              Old December 22nd, 2008 (4:10 AM).
              Pokepal17's Avatar
              Pokepal17 Pokepal17 is offline
              More cowbell~
              • Silver Tier
               
              Join Date: Oct 2008
              Location: Steeltown
              Age: 22
              Gender: Male
              Nature: Modest
              Posts: 1,511
              ROM: Fire Red
              Version: 1.0
              Script Editor: XSE
              Script Type: Person Event
              Event pictures: See attachments
              Script

              Spoiler:

              #dynamic 0x800000
              #org @begin
              lock
              faceplayer
              message @cry
              boxset 0x6
              cry 0xA1 0xF5
              nop
              nop
              wildbattle 0xF5 0x32 0x0 0x0
              fadescreen 0x0
              hidesprite 0x201
              release
              end

              #org @cry
              = GRRRR!


              This should be a simple wildbattle with a Suicune. When I talk to the Suicune, the screen turns black (I think that's the fadescreen command happening too early) and then the battle happens. When ever the battle finishes, the screen doesn't fade and the hidesprite command doesn't happen.

              A-map settings

              Spoiler:

              No.= 3
              Person Event No.= 4
              Movement type= Look around
              Person ID= 201
              Unknown= 00


              Thanks in advance!
              __________________
              Pokémon Stardrop
                #35    
              Old December 22nd, 2008 (4:18 AM).
              Konekodemon's Avatar
              Konekodemon Konekodemon is offline
              The Master of Pokemon Breeding
              • Crystal Tier
               
              Join Date: Mar 2007
              Location: NC
              Age: 32
              Gender: Female
              Nature: Gentle
              Posts: 1,953
              don't know if this is a script problem or not but what gameboy colors do I use if I want red and blue to look like the colors from yellow
              __________________

              Please check out my InuYasha fanfiction and tell me what you think.
              Sign up for Vizzard to play free Retro Games online: http://www.vizzed.com/boards/profile.php?id=231549&ref=61528
              Get a Free PS3, this is no joke: http://www.YourPS34free.com/index.php?ref=5580831
                #36    
              Old December 22nd, 2008 (4:32 AM). Edited December 22nd, 2008 by пзо.
              пзо's Avatar
              пзо пзо is offline
              zzirRusty
                 
                Join Date: Dec 2008
                Nature: Quiet
                Posts: 222
                Spoiler:

                ROM: Fire Red
                Version: 1.0
                Script Editor: XSE
                Script Type: [s] Event apply movment.
                Event pictures: Nothing to take pictures of..

                I never thought i would be doing this! This script works fine.. but the running shoes dont
                activate. Im not sure why.
                --
                #dynamic 0x71B140

                #org @start
                checkflag 0x82F
                if b_true goto @end
                msgbox @something
                boxset 0x2
                applymovement 0x01 @move
                waitmovement 0x0
                msgbox @something2
                boxset 0x2
                setflag 0x82F
                fanfare 0x13E
                msgbox @youreceived
                boxset 0x4
                waitfanfare
                #raw 0x68
                applymovement 0x01 @move2
                waitmovement 0x0
                release
                end

                #org @end
                release
                end

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

                #org @move2
                #raw 0x13 0x13 0x13 0x11 0x11 0x11 0x11 0xFE

                #org @something
                = \c\h01\h04Oh! I forgot something!

                #org @something2
                = \c\h01\h04Here. These should help you.

                #org @youreceived
                = You received \c\h01\h08Running Shoes\c\h01\h02!

                The script is outdated i got a update here.. with the movments and stuff.. dont even think about stealing it!
                If you want a vid say so.

                Weird its only this script that dont work!


                [Solved]
                __________________
                | Pokémon Obsidian | Pokémon Mystical Glacier |
                Yeah, I said it, Pokémon Mystical Glacier..
                Its comming back.. Better than ever.
                Along side Pokémon Obsidian.
                  #37    
                Old December 22nd, 2008 (5:36 AM).
                Hiche.. Hiche.. is offline
                 
                   
                  Join Date: Apr 2008
                  Posts: 979
                  Quote:
                  Originally Posted by Pokepal17 View Post
                  ROM: Fire Red
                  Version: 1.0
                  Script Editor: XSE
                  Script Type: Person Event
                  Event pictures: See attachments
                  Script

                  Spoiler:

                  #dynamic 0x800000

                  #org @begin
                  message @cry
                  boxset 0x2
                  cry 0xA1 0xF5
                  nop
                  nop
                  wildbattle 245 32 0 0
                  fadescreen 0x1
                  hidesprite 0x4
                  fadescreen 0x0
                  release
                  end

                  #org @cry
                  = GRRRR!


                  This should be a simple wildbattle with a Suicune. When I talk to the Suicune, the screen turns black (I think that's the fadescreen command happening too early) and then the battle happens. When ever the battle finishes, the screen doesn't fade and the hidesprite command doesn't happen.

                  A-map settings

                  Spoiler:

                  No.= 3
                  Person Event No.= 4
                  Movement type= Look around
                  Person ID= 201
                  Unknown= 00


                  Thanks in advance!
                  Try this. Also, why did you write hidesprite 0x201? The person event number is 4. :\ I fixed it.
                    #38    
                  Old December 22nd, 2008 (10:07 AM).
                  HackMew's Avatar
                  HackMew HackMew is offline
                  Mewtwo Strikes Back
                  • Crystal Tier
                   
                  Join Date: Jun 2006
                  Posts: 1,314
                  Quote:
                  Originally Posted by пзо View Post
                  ROM: Fire Red
                  Version: 1.0
                  Script Editor: XSE
                  Script Type: [S] Event apply movment.
                  Event pictures: Nothing to take pictures of..


                  I never thought i would be doing this! This script works fine.. but the running shoes dont
                  activate. Im not sure why.
                  --
                  Spoiler:
                  #dynamic 0x71B140

                  #org @start
                  checkflag 0x82F
                  if b_true goto @end
                  msgbox @something
                  boxset 0x2
                  applymovement 0x01 @move
                  waitmovement 0x0
                  msgbox @something2
                  boxset 0x2
                  setflag 0x82F
                  fanfare 0x13E
                  msgbox @youreceived
                  boxset 0x4
                  waitfanfare
                  closeonkeypress
                  applymovement 0x01 @move2
                  waitmovement 0x0
                  release
                  end

                  #org @end
                  release
                  end

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

                  #org @move2
                  #raw 0x13 0x13 0x13 0x11 0x11 0x11 0x11 0xFE

                  #org @something
                  = \c\h01\h04Oh! I forgot something!

                  #org @something2
                  = \c\h01\h04Here. These should help you.

                  #org @youreceived
                  = You received \c\h01\h08Running Shoes\c\h01\h02!


                  The script is outdated i got a update here.. with the movments and stuff.. dont even think about stealing it!
                  If you want a vid say so.

                  Weird its only this script that dont work!
                  There's nothing wrong there, indeed. Did you try it on a clean ROM?
                  BTW, #raw 0x68 is closeonkeypress. Don't forget to use spoilers, okay?
                  __________________
                    #39    
                  Old December 22nd, 2008 (12:05 PM).
                  Likewise Likewise is offline
                  Bye.
                     
                    Join Date: Mar 2008
                    Location: Twilight Town
                    Posts: 743
                    Quote:
                    #dynamic 0x71A29C

                    #org @start
                    lock
                    faceplayer
                    checkflag 0x1005
                    if 0x1 goto @milk
                    msgbox @get
                    boxset 0x6
                    msgbox @milky
                    boxset 0x6
                    release
                    end

                    #org @get
                    = Mom:Hurry and get the milk honey!

                    #org @done
                    release
                    end

                    #org @milk
                    = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.

                    #org @done2
                    release
                    end
                    A kinda noobish question....
                    When the flag is set, it just ends, it doesn't go to the message @milk thing (don't ask its a very weird script......)
                    __________________
                    Bye.
                    I'm sick of all the prepubecent n00bs running around.
                    It's like no one has anymore morals anymore.
                    Bye to all my friends, I'll still be talking to you on msn.
                      #40    
                    Old December 22nd, 2008 (12:33 PM).
                    Vrai's Avatar
                    Vrai Vrai is offline
                    can you feel my heart?
                    • Crystal Tier
                     
                    Join Date: Jun 2008
                    Age: 23
                    Gender: Male
                    Nature: Adamant
                    Posts: 2,893
                    Quote:
                    Originally Posted by .Phones View Post
                    A kinda noobish question....
                    When the flag is set, it just ends, it doesn't go to the message @milk thing (don't ask its a very weird script......)

                    Spoiler:
                    #dynamic 0x71A29C

                    #org @start
                    lock
                    faceplayer
                    checkflag 0x1005
                    if 0x1 goto @milk
                    checkflag 0x1006
                    if 0x1 goto @done

                    msgbox @get
                    boxset 0x6
                    msgbox @milky
                    boxset 0x6
                    release
                    end

                    #org @get
                    = Mom:Hurry and get the milk honey!

                    #org @done
                    release
                    end

                    #org @milk
                    msgbox @milk2
                    boxset 0x6
                    setflag 0x1006
                    release
                    end

                    #org @milk2
                    = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.

                    #org @done2
                    release
                    end
                    I think I fixed it in the spoiler. Also, if this is a trigger event, you may want to put in what I added in italics and in green, unless you want that message (milk2) repeating over and over again. I can't assume that this is a person or trigger event 'cause you didn't use the correct form.. Please do, in the future.
                    __________________
                      #41    
                    Old December 22nd, 2008 (1:23 PM). Edited December 22nd, 2008 by пзо.
                    пзо's Avatar
                    пзо пзо is offline
                    zzirRusty
                       
                      Join Date: Dec 2008
                      Nature: Quiet
                      Posts: 222
                      Spoiler:

                      Originally Posted by пзо
                      ROM: Fire Red
                      Version: 1.0
                      Script Editor: XSE
                      Script Type: [s] Event apply movment.
                      Event pictures: Nothing to take pictures of..

                      I never thought i would be doing this! This script works fine.. but the running shoes dont
                      activate. Im not sure why.
                      --
                      Spoiler:
                      #dynamic 0x71B140
                      Spoiler:


                      #org @start
                      checkflag 0x82F
                      if b_true goto @end
                      msgbox @something
                      boxset 0x2
                      applymovement 0x01 @move
                      waitmovement 0x0
                      msgbox @something2
                      boxset 0x2
                      setflag 0x82F
                      fanfare 0x13E
                      msgbox @youreceived
                      boxset 0x4
                      waitfanfare
                      closeonkeypress
                      applymovement 0x01 @move2
                      waitmovement 0x0
                      release
                      end

                      #org @end
                      release
                      end

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

                      #org @move2
                      #raw 0x13 0x13 0x13 0x11 0x11 0x11 0x11 0xFE

                      #org @something
                      = \c\h01\h04Oh! I forgot something!

                      #org @something2
                      = \c\h01\h04Here. These should help you.

                      #org @youreceived
                      = You received \c\h01\h08Running Shoes\c\h01\h02!

                      The script is outdated i got a update here.. with the movments and stuff.. dont even think about stealing it!
                      If you want a vid say so.

                      Weird its only this script that dont work


                      ---
                      This script is Haunting me.. It still dont go away. All it is is the running shoes dont work outside.. nothing else.. I've never had trouble like this before..

                      Please Help.. (This Time) It may look like it has no errors, but wow!

                      I've even tried the outside map to be "Village" and re-arangin it..
                      Somthings wrong!

                      [Solved]
                      __________________
                      | Pokémon Obsidian | Pokémon Mystical Glacier |
                      Yeah, I said it, Pokémon Mystical Glacier..
                      Its comming back.. Better than ever.
                      Along side Pokémon Obsidian.
                        #42    
                      Old December 22nd, 2008 (1:26 PM). Edited December 23rd, 2008 by Pokepal17.
                      Pokepal17's Avatar
                      Pokepal17 Pokepal17 is offline
                      More cowbell~
                      • Silver Tier
                       
                      Join Date: Oct 2008
                      Location: Steeltown
                      Age: 22
                      Gender: Male
                      Nature: Modest
                      Posts: 1,511
                      This script was fixed but it stiil doesn't work th way I want it to.

                      ROM: Pokemon Fire Red
                      Version: 1.0
                      Script Editor: XSE
                      Script type: Person

                      Spoiler:

                      #dynamic 0x800000

                      #org @begin
                      message @cry
                      boxset 0x2
                      cry 0xA1 0xF5
                      nop
                      nop
                      wildbattle 0xF5 0x32 0x0 0x0
                      fadescreen 0x1
                      hidesprite 0x4
                      fadescreen 0x0
                      release
                      end

                      #org @cry
                      = GRRRR!


                      A-map settings

                      Spoiler:




                      This is a wildbattle with a Suicune. Firstly, the fadescreen command happens before the battle ends, it happesn when I talk to the Suicune. Secondly, the Suicune temporarily disappears after the battle and then returns when I move. If I put in a random ID code, it disappears permanently. Please help me. Thanks in advance!

                      Pictures

                      Spoiler:


                      __________________
                      Pokémon Stardrop
                        #43    
                      Old December 22nd, 2008 (1:33 PM).
                      Likewise Likewise is offline
                      Bye.
                         
                        Join Date: Mar 2008
                        Location: Twilight Town
                        Posts: 743
                        lol sorry,
                        Game: Pokemon Fire red
                        Type: Person
                        Editor: XSE
                        Script:
                        Spoiler:
                        #dynamic 0x71A29C

                        #org @start
                        lock
                        faceplayer
                        checkflag 0x1005
                        if 0x1 goto @milk
                        msgbox @get
                        boxset 0x6
                        msgbox @milky
                        boxset 0x6
                        release
                        end

                        #org @get
                        = Mom:Hurry and get the milk honey!

                        #org @done
                        release
                        end

                        #org @milk
                        = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.

                        #org @done2
                        release
                        end


                        A kinda noobish question....
                        When the flag is set, it just ends, it doesn't go to the message @milk thing (don't ask its a very weird script......)
                        __________________
                        Bye.
                        I'm sick of all the prepubecent n00bs running around.
                        It's like no one has anymore morals anymore.
                        Bye to all my friends, I'll still be talking to you on msn.
                          #44    
                        Old December 22nd, 2008 (1:46 PM).
                        Pokepal17's Avatar
                        Pokepal17 Pokepal17 is offline
                        More cowbell~
                        • Silver Tier
                         
                        Join Date: Oct 2008
                        Location: Steeltown
                        Age: 22
                        Gender: Male
                        Nature: Modest
                        Posts: 1,511
                        Quote:
                        lol sorry,
                        Game: Pokemon Fire red
                        Type: Person
                        Editor: XSE
                        Script:
                        Content hidden:
                        Click here to view.
                        #dynamic 0x71A29C

                        #org @start
                        lock
                        faceplayer
                        checkflag 0x1005
                        if 0x1 goto @milk
                        msgbox @get
                        boxset 0x6
                        msgbox @milky
                        boxset 0x6
                        release
                        end

                        #org @get
                        = Mom:Hurry and get the milk honey!

                        #org @done
                        release
                        end

                        #org @milk
                        = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.

                        #org @done2
                        release
                        end






                        A kinda noobish question....
                        When the flag is set, it just ends, it doesn't go to the message @milk thing (don't ask its a very weird script......)
                        Erm this script will not work because you have pointers that don't lead to anything and you've got pieces of script which have no pointers leading to them.

                        Judging by what your script says, this should be the solution:

                        Quote:
                        #dynamic 0x800000

                        #org @start
                        lock
                        faceplayer
                        checkflag 0x1005
                        if 0x1 goto @ milk
                        msgbox @get
                        release
                        end

                        #org @get
                        = Mom:Hurry and get the milk honey!


                        #org @milk
                        = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.
                        This may be right but non of us will know until you give us all the script info.
                        __________________
                        Pokémon Stardrop
                          #45    
                        Old December 22nd, 2008 (3:18 PM).
                        Ninja Caterpie's Avatar
                        Ninja Caterpie Ninja Caterpie is offline
                        Sitting by the back window
                           
                          Join Date: Mar 2008
                          Location: Best City OCE
                          Age: 21
                          Gender: Male
                          Nature: Bold
                          Posts: 5,945
                          Spoiler:
                          #dynamic 0x71A29C

                          #org @start
                          lock
                          faceplayer
                          checkflag 0x1005
                          if 0x1 goto @milk
                          msgbox @get
                          boxset 0x6
                          msgbox @milky
                          boxset 0x6
                          setflag 0x1005
                          release
                          end

                          #org @get
                          = Mom:Hurry and get the milk honey!

                          #org @done
                          release
                          end

                          #org @milk
                          = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.

                          #org @done2
                          release
                          end


                          A kinda noobish question....
                          When the flag is set, it just ends, it doesn't go to the message @milk thing (don't ask its a very weird script......)[/QUOTE]

                          The script is kinda screwed up pretty bad.
                          Spoiler:
                          #dynamic 0x71A29C

                          #org @start
                          checkflag 0x1005
                          if 0x1 goto @milk
                          msgbox @get
                          boxset 0x2
                          msgbox @milky 'lolwut? Where's the milky thning?
                          boxset 0x2
                          setflag 0x1005
                          end

                          #org @get
                          = Mom:Hurry and get the milk honey!

                          #org @milk
                          message 0x2 @milk
                          end

                          #org @milk
                          = Mom:Oh you're here!\pMom:While you were out we found\nsome milk in the fridge, but now\lthat you've bought it....Keep it!\pMom:You can go outside to play now.


                          Oh, N3O, try running on a different map. :\
                          __________________
                          Brony represent.
                            #46    
                          Old December 22nd, 2008 (6:40 PM).
                          wolverfrog's Avatar
                          wolverfrog wolverfrog is offline
                          Working on a Hack
                             
                            Join Date: Feb 2008
                            Location: England
                            Age: 22
                            Gender:
                            Nature: Adamant
                            Posts: 119
                            The actual give pokemon script works fine. Don't giet me wrong, it gives you a lv 5 Growlithe if you talk to the right guy. The problem is, i want it to be my starter pokemon. So, how do I get the Pokemon menu to appear when i talk to the guy? Because the pokemon shows up in battle, but not in the start menu. Here is the script, can someone edit it so it also makes the pokemon menu show up and highlight the changes?

                            Thanks

                            #ORG $begin
                            lock
                            faceplayer
                            checkflag 0x202
                            if B_true goto $done
                            message $here
                            boxset 6
                            givepokemon 58 5 0xD
                            setflag 0x202
                            release
                            end
                            #ORG $done
                            message $nomore
                            boxset 6
                            release
                            end
                            #ORG $here
                            $here 1 = (Text Here)
                            $ORG $nomore
                            $nomore 1 = (Text Here)
                            __________________
                            hacks i support-
                            My own Hack- Pokemon Law Enforcement



                            my favourate hackers-
                            zel, destinedjagold, earthvisitor-make a great hack and you'll be on this list too!

                            hack i'm working on-

                            Making my own Hack-Pokemon Law Enforcement
                            Status-Pre-Beta stage


                              #47    
                            Old December 22nd, 2008 (6:58 PM).
                            пзо's Avatar
                            пзо пзо is offline
                            zzirRusty
                               
                              Join Date: Dec 2008
                              Nature: Quiet
                              Posts: 222
                              Quote:
                              Originally Posted by wolverfrog View Post
                              The actual give pokemon script works fine. Don't giet me wrong, it gives you a lv 5 Growlithe if you talk to the right guy. The problem is, i want it to be my starter pokemon. So, how do I get the Pokemon menu to appear when i talk to the guy? Because the pokemon shows up in battle, but not in the start menu. Here is the script, can someone edit it so it also makes the pokemon menu show up and highlight the changes?

                              Thanks

                              #ORG $begin
                              lock
                              faceplayer
                              checkflag 0x828
                              if B_true goto $done
                              message $here
                              boxset 6
                              givepokemon 58 5 0xD
                              setflag 0x828
                              release
                              end
                              #ORG $done
                              message $nomore
                              boxset 6
                              release
                              end
                              #ORG $here
                              $here 1 = (Text Here)

                              $ORG $nomore
                              $nomore 1 = (Text Here)
                              Try the Pokemon Menu flag.. Which is Setflag 828 or Chechflag 828.
                              I changed them both for you in the quote above, I just wanted to tell you your mistakes..
                              And nextime.. remember to add a spoiler. If you need Any scripting assistance , come to me when im online.
                              Ill help you.(Ill help you Fast as i can)
                              __________________
                              | Pokémon Obsidian | Pokémon Mystical Glacier |
                              Yeah, I said it, Pokémon Mystical Glacier..
                              Its comming back.. Better than ever.
                              Along side Pokémon Obsidian.
                                #48    
                              Old December 22nd, 2008 (7:20 PM).
                              wolverfrog's Avatar
                              wolverfrog wolverfrog is offline
                              Working on a Hack
                                 
                                Join Date: Feb 2008
                                Location: England
                                Age: 22
                                Gender:
                                Nature: Adamant
                                Posts: 119
                                Wow, thanks so much, i really appreciate it
                                __________________
                                hacks i support-
                                My own Hack- Pokemon Law Enforcement



                                my favourate hackers-
                                zel, destinedjagold, earthvisitor-make a great hack and you'll be on this list too!

                                hack i'm working on-

                                Making my own Hack-Pokemon Law Enforcement
                                Status-Pre-Beta stage


                                  #49    
                                Old December 22nd, 2008 (8:26 PM).
                                Quickster's Avatar
                                Quickster Quickster is offline
                                Dream or Drop?
                                   
                                  Join Date: Oct 2007
                                  Gender: Male
                                  Nature: Quiet
                                  Posts: 351
                                  Game:Fire Red
                                  Editor:XSE
                                  Type:person event

                                  When i talk to the person,the game freezes with not message box appearing.
                                  Spoiler:
                                  #dynamic 0x26D44C

                                  #org @start
                                  lock
                                  faceplayer
                                  msgbox @talk
                                  boxset 0x6
                                  release
                                  end

                                  #org @talk
                                  = Wow, your pokegear is impressive!\nDid your mom get it for you?
                                  __________________
                                  I laugh looking at this.

                                  But sometimes I want to come back to it...

                                    #50    
                                  Old December 22nd, 2008 (10:11 PM).
                                  Ninja Caterpie's Avatar
                                  Ninja Caterpie Ninja Caterpie is offline
                                  Sitting by the back window
                                     
                                    Join Date: Mar 2008
                                    Location: Best City OCE
                                    Age: 21
                                    Gender: Male
                                    Nature: Bold
                                    Posts: 5,945
                                    Having trouble with a rather troublesome script.

                                    Script type: Person Script
                                    ROM:FR
                                    Script Editor:XSE
                                    Spoiler:
                                    '---------------
                                    #org 0x2E6168
                                    msgbox 0x82E6025 MSG_NORMAL '"It's a Spearow[.]\pCould it be tha..."
                                    applymovement MOVE_PLAYER 0x82E60A6
                                    waitmovement 0x0
                                    applymovement 0x12 0x82E60AE
                                    waitmovement 0x0
                                    applymovement MOVE_PLAYER 0x82E60B4
                                    applymovement 0x12 0x82E60D4
                                    waitmovement 0x0
                                    applymovement 0x1 0x82E60F4
                                    applymovement MOVE_PLAYER 0x82E60FC
                                    waitmovement 0x0
                                    msgbox 0x82E6100 MSG_NORMAL '"Thank you!\pI[.]How can I pay you ..."
                                    loadpointer 0x0 0x819F8C0 '"[player] received HM02\nfrom the b..."
                                    giveitem2 0x154 0x1 0x101
                                    msgbox 0x819F8E0 MSG_KEEPOPEN '"HM02 is FLY.\nIt's a wonderfully c..."
                                    closeonkeypress
                                    msgbox 0x82E6146 MSG_NORMAL '"Thanks again!\pGoodbye!"
                                    hidesprite 0x12
                                    applymovement 0x15 0x82E615F
                                    hidesprite 0x1
                                    setflag 0x1001
                                    end


                                    '---------
                                    ' Strings
                                    '---------
                                    #org 0x2E6025
                                    = It's a Spearow[.]\pCould it be that trainer's?\p[.]\pHere, birdy...

                                    #org 0x2E6100
                                    = Thank you!\pI[.]How can I pay you back[.]?\pI know! Take this HM!

                                    #org 0x19F8C0
                                    = [player] received HM02\nfrom the boy.

                                    #org 0x19F8E0
                                    = HM02 is FLY.\nIt's a wonderfully convenient move.\pPlease, put it to good use.

                                    #org 0x2E6146
                                    = Thanks again!\pGoodbye!


                                    '-----------
                                    ' Movements
                                    '-----------
                                    #org 0x2E60A6
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 2E 'Face Up (Delayed)
                                    #raw 64 'Cross (X)
                                    #raw 53 'Jump in Place (Facing Up)
                                    #raw FE 'End of Movements

                                    #org 0x2E60AE
                                    #raw 62 'Exclamation Mark (!)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw FE 'End of Movements

                                    #org 0x2E60B4
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 20 'Step Right (Fast)
                                    #raw FE 'End of Movements

                                    #org 0x2E60D4
                                    #raw 10 'Step Down (Normal)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1F 'Step Left (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw 1D 'Step Down (Fast)
                                    #raw FE 'End of Movements

                                    #org 0x2E60F4
                                    #raw 62 'Exclamation Mark (!)
                                    #raw 20 'Step Right (Fast)
                                    #raw 20 'Step Right (Fast)
                                    #raw 1C 'Delay5
                                    #raw 1C 'Delay5
                                    #raw 0 'Face Down
                                    #raw FE 'End of Movements

                                    #org 0x2E60FC
                                    #raw 10 'Step Down (Normal)
                                    #raw 1 'Face Up
                                    #raw FE 'End of Movements

                                    #org 0x2E615F
                                    #raw 13 'Step Right (Normal)
                                    #raw 13 'Step Right (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw FE 'End of Movements

                                    When I talk to it, the message appears and I move, but the Spearow doesn't, :\ Then the boy talks but doesn't move. He then just disappears.
                                    __________________
                                    Brony represent.
                                    Closed Thread
                                    Quick Reply

                                    Sponsored Links
                                    Thread Tools

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

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

                                    Forum Jump


                                    All times are GMT -8. The time now is 7:19 AM.