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
  #6651    
Old October 20th, 2008 (12:31 PM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is offline
  • Crystal Tier
 
Join Date: Nov 2007
Location: Bristol, UK
Age: 19
Posts: 5,240
But mine was originally FireRed ROM, I made the hacking, no code-base editing involved, and it works w/ AM!
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.

Relevant Advertising!

  #6652    
Old October 20th, 2008 (12:35 PM).
Lady Berlitz's Avatar
Lady Berlitz Lady Berlitz is offline
Cinnamon ♪
     
    Join Date: May 2007
    Location: An igloo in Canada
    Nature: Adamant
    Posts: 1,774
    Quote:
    Originally Posted by Zaangoose View Post
    But mine was originally FireRed ROM, I made the hacking, no code-base editing involved, and it works w/ AM!
    Well, do you have the 'comctl32.ocx' file?
    __________________
    _█████████_
    _█▄█████▄█_
    _█▼▼▼▼▼▼▼█_
    ██_______██
    _█▲▲▲▲▲▲▲█_
    _█████████_
    _██_____██_
      #6653    
    Old October 20th, 2008 (12:47 PM).
    Spherical Ice's Avatar
    Spherical Ice Spherical Ice is offline
    • Crystal Tier
     
    Join Date: Nov 2007
    Location: Bristol, UK
    Age: 19
    Posts: 5,240
    Yes, infact I do.

    Please, help!
    __________________

    A Pokemon that is discriminated!
    Support squirtle and make it everyone's favourite.
      #6654    
    Old October 20th, 2008 (1:32 PM).
    Soulweaver's Avatar
    Soulweaver Soulweaver is offline
    a mirage
       
      Join Date: Nov 2007
      Location: Finland
      Age: 26
      Gender: Male
      Nature: Modest
      Posts: 47
      Any hint about the location of the tilemap for world maps (in FireRed)? I know already where the tileset is (offset 003F0580 / unLZ #911 w/ deep scan), but as opposed to the title screen images, the tilemap was not right after the tileset.

      I systematically checked nearly 500 raw data files (I skipped sprites which actually are images, and also skipped junk chunks looking too large to be a correct raw) and none of them matched.

      This question has not been answered yet.
      __________________
      My home forum is Bulbagarden Forums (profile), though I visit this place sometimes too.
        #6655    
      Old October 20th, 2008 (3:59 PM).
      Champion Victoria Champion Victoria is offline
      Puella docta
         
        Join Date: Oct 2008
        Nature: Sassy
        Posts: 36
        Hi, my question involves switching animations for moves. I have FireRed 1.0 and would like to use the "Dragon Rage" animation with the move "Dragonbreath." I have hex editing software and all that but wouldn't know where to begin--is there a simple address that needs to be changed, and if so, what's that?
          #6656    
        Old October 20th, 2008 (9:28 PM).
        GoldFlareon's Avatar
        GoldFlareon GoldFlareon is offline
        Biotic Flareon
           
          Join Date: Oct 2008
          Location: The world of pokemon.
          Age: 23
          Gender: Female
          Nature: Naive
          Posts: 53
          I have two problems/questions needing to be answered.

          1. How (if it is possible) can you edit Emerald's sprites? (Not the OWs.)
          2. How do I figure out the Hex numbers of all Pokemon's cries? (So I can edit the script and put in cries)

          Thanks.
            #6657    
          Old October 20th, 2008 (9:51 PM). Edited October 20th, 2008 by Thrace.
          Thrace's Avatar
          Thrace Thrace is offline
          @tion
          • Gold Tier
           
          Join Date: Jun 2007
          Age: 27
          Gender: Male
          Posts: 1,048
          Quote:
          Originally Posted by UltimateSephiroth View Post
          Any hint about the location of the tilemap for world maps (in FireRed)? I know already where the tileset is (offset 003F0580 / unLZ #911 w/ deep scan), but as opposed to the title screen images, the tilemap was not right after the tileset.

          I systematically checked nearly 500 raw data files (I skipped sprites which actually are images, and also skipped junk chunks looking too large to be a correct raw) and none of them matched. :(

          This question has not been answered yet.
          If you know where the tileset is the tilemap is usually the one after it. If not zel has uploaded one in M_X's World Map tutorial thread.

          Quote:
          Originally Posted by Champion Victoria View Post
          Hi, my question involves switching animations for moves. I have FireRed 1.0 and would like to use the "Dragon Rage" animation with the move "Dragonbreath." I have hex editing software and all that but wouldn't know where to begin--is there a simple address that needs to be changed, and if so, what's that?
          No, the animation data pointers are not in the Attack Data table.

          The only way I can think of doing it in an easy way is to give Dragonbreath all the properties of Dragon Rage and vice versa. Then you'll have swapped both attacks.

          Quote:
          Originally Posted by GoldFlareon View Post
          I have two problems/questions needing to be answered.

          1. How (if it is possible) can you edit Emerald's sprites? (Not the OWs.)
          2. How do I figure out the Hex numbers of all Pokemon's cries? (So I can edit the script and put in cries)

          Thanks.
          1. The same way you edit any sprite. Index it, load it in UNLZ, repoint and insert the image and pallete.
          2. The cry numbers are the same as the Pokemon numbers.

          EDIT: One more

          Quote:
          Originally Posted by Zaangoose View Post
          Yes, infact I do.

          Please, help!
          You are trying to load an unsupported rom. Make sure that the rom has not been edited in anyway. If you can't figure it out yourself, reply with what rom it is that you are attempting to open.
          __________________
            #6658    
          Old October 21st, 2008 (7:39 AM).
          TB Pro's Avatar
          TB Pro TB Pro is offline
          Old-timer
             
            Join Date: Nov 2004
            Location: Midwestern USA
            Age: 23
            Gender: Male
            Posts: 2,739
            Is it possible to make a character from one map move to another without a level script?
            __________________
            --I'm a creepin'..
              #6659    
            Old October 21st, 2008 (12:34 PM).
            finleymon3000's Avatar
            finleymon3000 finleymon3000 is offline
            i liek mudkipz and darkness
               
              Join Date: May 2008
              Location: Scatman's World
              Gender:
              Nature: Jolly
              Posts: 13
              How do I edit the tiles in my ROM? Does anyone know any premade ones? I see a lot of similar tiles throughout ROM hacks...
                #6660    
              Old October 21st, 2008 (12:55 PM).
              Mages4ever's Avatar
              Mages4ever Mages4ever is offline
              Looking for a Challenge!
                 
                Join Date: May 2008
                Gender: Male
                Nature: Jolly
                Posts: 380
                Umm...
                How do you make a script with multiple people moving at the same time?
                I want to know how to.
                __________________

                ►Waiting for LBP2.




                  #6661    
                Old October 21st, 2008 (1:25 PM).
                Thrace's Avatar
                Thrace Thrace is offline
                @tion
                • Gold Tier
                 
                Join Date: Jun 2007
                Age: 27
                Gender: Male
                Posts: 1,048
                Quote:
                Originally Posted by finleymon3000 View Post
                How do I edit the tiles in my ROM? Does anyone know any premade ones? I see a lot of similar tiles throughout ROM hacks...
                You are referring to rom bases which can be found here and various other forums.
                Otherwise here is a good tutorial for inserting tiles yourself.

                Quote:
                Originally Posted by Mages4ever View Post
                Umm...
                How do you make a script with multiple people moving at the same time?
                I want to know how to.
                applymovement 0x[person1] [movement1]
                applymovement 0x[person2] [movement2]
                pausemove 0

                If you are using XSE it would be waitmovement not pausemove. The person who has the longest number of movements needs to be placed last. You can also put as many as you want.
                __________________
                  #6662    
                Old October 21st, 2008 (3:48 PM).
                Mages4ever's Avatar
                Mages4ever Mages4ever is offline
                Looking for a Challenge!
                   
                  Join Date: May 2008
                  Gender: Male
                  Nature: Jolly
                  Posts: 380
                  Thanks, so I think I'll be old school and use the old way.
                  Where do you put that script though?
                  __________________

                  ►Waiting for LBP2.




                    #6663    
                  Old October 21st, 2008 (7:22 PM).
                  McCree's Avatar
                  McCree McCree is online now
                  yes they change
                  • Discord Moderoid
                  • Platinum Tier
                   
                  Join Date: Dec 2006
                  Location: canadiadanada
                  Gender: Male
                  Nature: Calm
                  Posts: 5,906
                  Okay, this question was asked a while back, and it was answered, and I did what the answer was and it didn't work. So I have to ask again.

                  When I try to run A-Mart, I get a pop-up saying: "Component COMCTL32.OCX or one of its dependencies not correctly registered: a file is missing or invalid."

                  When this was last asked, the answer was to download the missing file. So I did that. I downloaded COMCTL32.OCX and put it in the directory of A-Mart, and it didn't work, so I tried putting it in the inis folder and that didn't work either.

                  So if that doesn't work, what can I do to make A-Mart work?
                  __________________
                    #6664    
                  Old October 21st, 2008 (7:26 PM).
                  Thrace's Avatar
                  Thrace Thrace is offline
                  @tion
                  • Gold Tier
                   
                  Join Date: Jun 2007
                  Age: 27
                  Gender: Male
                  Posts: 1,048
                  Quote:
                  Originally Posted by Mages4ever View Post
                  Thanks, so I think I'll be old school and use the old way.
                  Where do you put that script though?
                  Uh, where ever you want it to go obviously.

                  Quote:
                  Originally Posted by Cex View Post
                  Okay, this question was asked a while back, and it was answered, and I did what the answer was and it didn't work. So I have to ask again.

                  When I try to run A-Mart, I get a pop-up saying: "Component COMCTL32.OCX or one of its dependencies not correctly registered: a file is missing or invalid."

                  When this was last asked, the answer was to download the missing file. So I did that. I downloaded COMCTL32.OCX and put it in the directory of A-Mart, and it didn't work, so I tried putting it in the inis folder and that didn't work either.

                  So if that doesn't work, what can I do to make A-Mart work?
                  You need to make sure that it is in your System32 folder. If that doesn't work try this tutorial on how to manually register the file.
                  __________________
                    #6665    
                  Old October 21st, 2008 (11:23 PM).
                  0m3GA ARS3NAL's Avatar
                  0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                  Im comin' home...
                  • Silver Tier
                   
                  Join Date: Jan 2008
                  Location: Superjail Penitentiary
                  Age: 25
                  Gender: Male
                  Nature: Gentle
                  Posts: 1,816
                  just to put it out there... there is not a cyclont/ntme tilemap for the fire-red version game, so far as I know. If anyone can show otherwise, please do, cause this is something I wwould like to know the location of as well. ^-^
                  __________________
                  >Boot Jailbot
                  >Pass *****
                  .
                  .
                  Jailbot OS Ver 1.1.2
                  Greetings Warden
                  of Superjail Penitentiary
                  Awaiting user input...

                  >Display User_Info
                  ╠══User Info══╣
                  Username:
                  0m3GA ARS3NAL
                  Age: 18
                  Sex: Male ♂
                  Race: Caucasian
                  Quote:
                  "What is this
                  I don't even..."

                  M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                  ╠══End of File══╣
                  Awaiting user input...

                  >
                    #6666    
                  Old October 22nd, 2008 (12:36 AM).
                  Thrace's Avatar
                  Thrace Thrace is offline
                  @tion
                  • Gold Tier
                   
                  Join Date: Jun 2007
                  Age: 27
                  Gender: Male
                  Posts: 1,048
                  Quote:
                  Originally Posted by 0m3GA AR$3NAL View Post
                  just to put it out there... there is not a cyclont/ntme tilemap for the fire-red version game, so far as I know. If anyone can show otherwise, please do, cause this is something I wwould like to know the location of as well. ^-^
                  I'm not sure exactly what you are asking. Which tilemap are you referring to?
                  __________________
                    #6667    
                  Old October 22nd, 2008 (1:37 AM).
                  0m3GA ARS3NAL's Avatar
                  0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                  Im comin' home...
                  • Silver Tier
                   
                  Join Date: Jan 2008
                  Location: Superjail Penitentiary
                  Age: 25
                  Gender: Male
                  Nature: Gentle
                  Posts: 1,816
                  Quote:
                  Originally Posted by dshayabusa View Post
                  I'm not sure exactly what you are asking. Which tilemap are you referring to?
                  Sorry, let me re-word this...
                  I do not think that there is a TileMap for the world Map from Pokemon Firered Version.
                  If there is, will some one please tell me where to find it, in unLZgba, deep-scan.
                  __________________
                  >Boot Jailbot
                  >Pass *****
                  .
                  .
                  Jailbot OS Ver 1.1.2
                  Greetings Warden
                  of Superjail Penitentiary
                  Awaiting user input...

                  >Display User_Info
                  ╠══User Info══╣
                  Username:
                  0m3GA ARS3NAL
                  Age: 18
                  Sex: Male ♂
                  Race: Caucasian
                  Quote:
                  "What is this
                  I don't even..."

                  M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                  ╠══End of File══╣
                  Awaiting user input...

                  >
                    #6668    
                  Old October 22nd, 2008 (2:50 AM).
                  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,988
                    O.o I swear there is one. Either it's there somewhere or I was using a different thing.
                    __________________
                    Brony represent.
                      #6669    
                    Old October 22nd, 2008 (4:44 AM). Edited October 22nd, 2008 by linkandzelda.
                    linkandzelda's Avatar
                    linkandzelda linkandzelda is offline
                    n00b desu ka?
                       
                      Join Date: Dec 2006
                      Location: Hastings, England
                      Gender: Male
                      Nature: Careful
                      Posts: 776
                      there is one. its a prototype program called hurricane. i used it to do my world map on FR. it was canceled and then turned into NTME.

                      thanks in advance
                      link
                      __________________
                        #6670    
                      Old October 22nd, 2008 (6:38 AM). Edited October 22nd, 2008 by Spherical Ice.
                      Spherical Ice's Avatar
                      Spherical Ice Spherical Ice is offline
                      • Crystal Tier
                       
                      Join Date: Nov 2007
                      Location: Bristol, UK
                      Age: 19
                      Posts: 5,240
                      What's wrong with this script?

                      Spoiler:
                      #dynamic 0x7219D0

                      #org @begin
                      lock
                      faceplayer
                      checkflag 0x200
                      if b_true goto @done
                      message @tutorial
                      boxset 0x5
                      compare LASTRESULT 1
                      if b_true goto @yes
                      else goto @no
                      release
                      end

                      #org @tutorial
                      = Hi!\nCould you please do me\pa favor?

                      #org @done
                      checkitemamount 0xC 0x1
                      if b_true goto @haven'tdonetask
                      else goto @donetask
                      setflag 0x200
                      release
                      end

                      #org @donetask
                      giveitem 0x155 0x1 0x0 0x0 0x0
                      message @thereugo
                      boxset 0x6
                      release
                      end

                      #org @yes
                      message @pressyes
                      giveitem 0xC 0x1 0x0 0x0 0x0
                      boxset 6
                      release
                      end

                      #org @no
                      message @pressno
                      boxset 6
                      release
                      end

                      #org @pressyes
                      = Great!\pI'd like you to give out\nthese \c\h01\h04flyers\c\h01\h02to a group\pof people called "The Mechamen". You can find them in Lightam City.\pNevermind why!\pYou shall be rewarded!

                      #org @pressno
                      = Okay, your loss[...]

                      #org @haven'tdonetask
                      = So, have you given "The\nMechamen" the flyers?\pNo?\p Well, hurry up, then!

                      #org @thereugo
                      = Why, thanks!\pTake HM03 - Surf, as a reward!\pYou can't use it outside of\nbattle, however, unless you have the badge\pgiven away at ??? Town when you defeat\nthe Gym Leader!


                      When I click OPEN SCRIPT on A-Map, it comes up with:

                      Spoiler:
                      '-----------------------
                      #org 0x7219D0


                      Help!
                      __________________

                      A Pokemon that is discriminated!
                      Support squirtle and make it everyone's favourite.
                        #6671    
                      Old October 22nd, 2008 (9:13 AM).
                      HackMew's Avatar
                      HackMew HackMew is offline
                      Mewtwo Strikes Back
                      • Crystal Tier
                       
                      Join Date: Jun 2006
                      Posts: 1,314
                      Quote:
                      Originally Posted by [email protected] View Post
                      What is the problem if I want to open a ROM that I am hacking in overworld editor RE and is says: Error loading INI settings for this game
                      ???
                      1. Make sure you're using latest version. If not, redownload it.
                      2. Extract all the files from the zipped archive.
                      3. Try again.

                      Quote:
                      Originally Posted by Infernal Contraption View Post
                      Well, do you have the 'comctl32.ocx' file?
                      If that file was needed, the program wouldn't even start.
                      And no, none of my tools needs any .ocx files.


                      Quote:
                      Originally Posted by ¿TB Pro™ View Post
                      Is it possible to make a character from one map move to another without a level script?
                      The only other way I could think of right now is the Mr. Briney script.


                      Quote:
                      Originally Posted by Zaangoose View Post
                      What's wrong with this script?

                      Spoiler:
                      #dynamic 0x7219D0

                      #org @begin
                      lock
                      faceplayer
                      checkflag 0x200
                      if b_true goto @done
                      message @tutorial
                      boxset 0x5
                      compare LASTRESULT 1
                      if b_true goto @yes
                      else goto @no
                      release
                      end

                      #org @tutorial
                      = Hi!\nCould you please do me\pa favor?

                      #org @done
                      checkitemamount 0xC 0x1
                      if b_true goto @haven'tdonetask
                      else goto @donetask
                      setflag 0x200
                      release
                      end

                      #org @donetask
                      giveitem 0x155 0x1 0x0 0x0 0x0
                      message @thereugo
                      boxset 0x6
                      release
                      end

                      #org @yes
                      message @pressyes
                      giveitem 0xC 0x1 0x0 0x0 0x0
                      boxset 6
                      release
                      end

                      #org @no
                      message @pressno
                      boxset 6
                      release
                      end

                      #org @pressyes
                      = Great!\pI'd like you to give out\nthese \c\h01\h04flyers\c\h01\h02to a group\pof people called "The Mechamen". You can find them in Lightam City.\pNevermind why!\pYou shall be rewarded!

                      #org @pressno
                      = Okay, your loss[...]

                      #org @haven'tdonetask
                      = So, have you given "The\nMechamen" the flyers?\pNo?\p Well, hurry up, then!

                      #org @thereugo
                      = Why, thanks!\pTake HM03 - Surf, as a reward!\pYou can't use it outside of\nbattle, however, unless you have the badge\pgiven away at ??? Town when you defeat\nthe Gym Leader!
                      Almost nothing, except you better use a flag like 0x1001 or higher. Also, the setflag command is in a wrong position.
                      It would be never executed where it is now. Move it right before the checkitemamount command.

                      The main "problem" is that you misunderstood the #dynamic directive.
                      The offset you type there just tells XSE where to start looking for free space.
                      And of couse that means the actual offset where the script is compiled will usually differ from the #dynamic one you used.
                      In short: you end up with a different offset.
                      After the script gets compiled, though, XSE will show you a log containing all the right, ready to use offsets.
                      __________________
                        #6672    
                      Old October 22nd, 2008 (9:33 AM). Edited October 22nd, 2008 by Spherical Ice.
                      Spherical Ice's Avatar
                      Spherical Ice Spherical Ice is offline
                      • Crystal Tier
                       
                      Join Date: Nov 2007
                      Location: Bristol, UK
                      Age: 19
                      Posts: 5,240
                      Aaaaah! I thought you got an offset from a free space finder, then when you get a free offset you paste it in XSE! So, it does the free space finding for you? Well, it's more helpful than I thought! Thanks!

                      So the correct script should be:

                      Spoiler:
                      #dynamic 0x8000000

                      #org @begin
                      lock
                      faceplayer
                      checkflag 0x1002
                      if b_true goto @done
                      message @tutorial
                      boxset 0x5
                      compare LASTRESULT 1
                      if b_true goto @yes
                      else goto @no
                      release
                      end

                      #org @tutorial
                      = Hi!\nCould you please do me\pa favor?

                      #org @done
                      setflag 0x1002
                      checkitemamount 0xC 0x1
                      if b_true goto @haven'tdonetask
                      else goto @donetask
                      release
                      end

                      #org @donetask
                      giveitem 0x155 0x1 0x0 0x0 0x0
                      message @thereugo
                      boxset 0x6
                      release
                      end

                      #org @yes
                      message @pressyes
                      giveitem 0xC 0x1 0x0 0x0 0x0
                      boxset 6
                      release
                      end

                      #org @no
                      message @pressno
                      boxset 6
                      release
                      end

                      #org @pressyes
                      = Great!\pI'd like you to give out\nthese \c\h01\h04flyers\c\h01\h02to a group\pof people called "The Mechamen". You can find them in Lightam City.\pNevermind why!\pYou shall be rewarded!

                      #org @pressno
                      = Okay, your loss[...]

                      #org @haven'tdonetask
                      = So, have you given "The\nMechamen" the flyers?\pNo?\p Well, hurry up, then!

                      #org @thereugo
                      = Why, thanks!\pTake HM03 - Surf, as a reward!\pYou can't use it outside of\nbattle, however, unless you have the badge\pgiven away at ??? Town when you defeat\nthe Gym Leader!


                      Right?

                      I'll test it, now...

                      Edit:
                      Okay, the script executes, but doesn't completely work. Here is what happens:
                      I walk up to the guy.
                      Talk to him.
                      He says the:
                      Hi, could you please do me a favor?
                      The YES/NO thing appears.
                      (In the script, I put:
                      Hi,\ncould you please do me a\pfavor)
                      If I say NO, I can walk away and the text box doesn't disappear.
                      If I say YES, it says I received a Potion, instead of Advertisements (the item). No prob, I can edit that (and I still get the advertisements in the end).

                      However, when I talk to him again, he doesn't say what I want him to, and instead repeats it again! So, I get the same problem as above, but repeatedly happening!

                      Help!
                      __________________

                      A Pokemon that is discriminated!
                      Support squirtle and make it everyone's favourite.
                        #6673    
                      Old October 22nd, 2008 (10:16 AM). Edited October 22nd, 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 Zaangoose View Post
                      Aaaaah! I thought you got an offset from a free space finder, then when you get a free offset you paste it in XSE! So, it does the free space finding for you? Well, it's more helpful than I thought! Thanks!

                      So the correct script should be:

                      Spoiler:
                      #dynamic 0x8000000

                      #org @begin
                      lock
                      faceplayer
                      checkflag 0x1002
                      if b_true goto @done
                      message @tutorial
                      boxset 0x5
                      compare LASTRESULT 1
                      if b_true goto @yes
                      else goto @no
                      release
                      end

                      #org @tutorial
                      = Hi!\nCould you please do me\pa favor?

                      #org @done
                      setflag 0x1002
                      checkitemamount 0xC 0x1
                      if b_true goto @haven'tdonetask
                      else goto @donetask
                      release
                      end

                      #org @donetask
                      giveitem 0x155 0x1 0x0 0x0 0x0
                      message @thereugo
                      boxset 0x6
                      release
                      end

                      #org @yes
                      message @pressyes
                      giveitem 0xC 0x1 0x0 0x0 0x0
                      boxset 6
                      release
                      end

                      #org @no
                      message @pressno
                      boxset 6
                      release
                      end

                      #org @pressyes
                      = Great!\pI'd like you to give out\nthese \c\h01\h04flyers\c\h01\h02to a group\pof people called "The Mechamen". You can find them in Lightam City.\pNevermind why!\pYou shall be rewarded!

                      #org @pressno
                      = Okay, your loss[...]

                      #org @haven'tdonetask
                      = So, have you given "The\nMechamen" the flyers?\pNo?\p Well, hurry up, then!

                      #org @thereugo
                      = Why, thanks!\pTake HM03 - Surf, as a reward!\pYou can't use it outside of\nbattle, however, unless you have the badge\pgiven away at ??? Town when you defeat\nthe Gym Leader!


                      Right?

                      I'll test it, now...

                      Edit:
                      Okay, the script executes, but doesn't completely work. Here is what happens:
                      I walk up to the guy.
                      Talk to him.
                      He says the:
                      Hi, could you please do me a favor?
                      The YES/NO thing appears.
                      (In the script, I put:
                      Hi,\ncould you please do me a\pfavor)
                      If I say NO, I can walk away and the text box doesn't disappear.
                      If I say YES, it says I received a Potion, instead of Advertisements (the item). No prob, I can edit that (and I still get the advertisements in the end).

                      However, when I talk to him again, he doesn't say what I want him to, and instead repeats it again! So, I get the same problem as above, but repeatedly happening!

                      Help!
                      Yes, you do get an offset from FSF. But then you don't really need to change it basically ever as long as you still hacking the same ROM.
                      Changin the dynamic offset may speed up compiling a little, though.

                      Anyway... my fault! :P
                      Okay, I checked again you're script and here's the fixed, improved and optimized version.
                      The changes I made are in bold. Just copy and paste:

                      Spoiler:

                      #dynamic 0x800000

                      #org @begin
                      lock
                      faceplayer
                      checkflag 0x1002
                      if b_true goto @done
                      setflag 0x1002
                      message @tutorial
                      boxset 0x5
                      compare LASTRESULT 1
                      if b_true call @yes
                      else call @no
                      release
                      end

                      #org @tutorial
                      = Hi!\nCould you please do me\pa favor?

                      #org @done
                      checkitemamount 0xC 0x1
                      if b_true call @haven'tdonetask
                      else call @donetask
                      release
                      end

                      #org @haven'tdonetask
                      message @hurryup
                      boxset 6
                      return


                      #org @donetask
                      additem 0x155 0x1
                      message @thereugo
                      boxset 0x6
                      return

                      #org @yes
                      releaseall
                      additem 0xC 0x1
                      message @pressyes

                      boxset 6
                      return

                      #org @no
                      releaseall
                      message @pressno
                      boxset 6
                      return

                      #org @pressyes
                      = Great!\pI'd like you to give out\nthese \c\h01\h04flyers\c\h01\h02to a group\pof people called "The Mechamen". You can find them in Lightam City.\pNevermind why!\pYou shall be rewarded!

                      #org @pressno
                      = Okay, your loss[.]

                      #org @hurryup
                      = So, have you given "The\nMechamen" the flyers?\pNo?\pWell, hurry up, then!


                      #org @thereugo
                      = Why, thanks!\pTake HM03 - Surf, as a reward!\pYou can't use it outside of\nbattle, however, unless you have the badge\pgiven away at ??? Town when you defeat\nthe Gym Leader!
                      __________________
                        #6674    
                      Old October 22nd, 2008 (10:26 AM).
                      Spherical Ice's Avatar
                      Spherical Ice Spherical Ice is offline
                      • Crystal Tier
                       
                      Join Date: Nov 2007
                      Location: Bristol, UK
                      Age: 19
                      Posts: 5,240
                      w00t! Thanks! It works!

                      *gives cookie*
                      *gives another cookie*
                      *gives another cookie*

                      Wanna cookie?

                      Honestly, if there's ANYTHING you need from me, I'll (try) to help you.

                      I cannot eplauin my gratitude. I feel so dumb, not being able to do it and having to look up to other professional people to help em instead of me working it out myself. Dam I feel bad... I'm pretty danged useless! [/selfpity]

                      *gives another cookie*
                      __________________

                      A Pokemon that is discriminated!
                      Support squirtle and make it everyone's favourite.
                        #6675    
                      Old October 22nd, 2008 (12:14 PM). Edited October 22nd, 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 Zaangoose View Post
                      w00t! Thanks! It works!

                      *gives cookie*
                      *gives another cookie*
                      *gives another cookie*

                      Wanna cookie?

                      Honestly, if there's ANYTHING you need from me, I'll (try) to help you.

                      I cannot eplauin my gratitude. I feel so dumb, not being able to do it and having to look up to other professional people to help em instead of me working it out myself. Dam I feel bad... I'm pretty danged useless! [/selfpity]

                      *gives another cookie*
                      You're welcome. I like cookies XD
                      I'm glad to see the script is working fine now. Tip: next time ask such questions in the proper thread (that is, the Script Help, Scrapbox).
                      No need to feel useless... next time you'll find out the problem by yourself, hoprefully. Asking isn't that bad.
                      Yet another minor thing. The proper way of using quotes is the following:

                      Code:
                      = Say ["]Hello".
                      Now, a little explanation.
                      releaseall is always needed after a boxset 0x5.
                      additem, as opposed to giveitem, is a simple command. Which means it will just add an item to the player's bag, nothing else. Giveitem, being a construct, will display a standard message etc. So additem is useful in those situations where you want to display a custom message.
                      And what about the call/return?
                      Before you used goto/release/end. While it's totally right, it's a waste of space to use release many times. In fact, when you use return, the instruction after the call is executed. In our case, it's return indeed.
                      The fact you're using the pseudo-command else is a good thing, anyway since that's sure better than using an if command 2 times.


                      Edit: I guess I have something you could do for me. Check your PMs.
                      __________________
                      Closed Thread

                      Quick Reply

                      Join the conversation!

                      Create an account to post a reply in this thread, participate in other discussions, and more!

                      Create a PokéCommunity Account

                      Sponsored Links
                      Thread Tools

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

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

                      Forum Jump


                      All times are GMT -8. The time now is 10:29 AM.