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

TrollandToad.com
Closed Thread
 
Thread Tools
  #21126    
Old April 29th, 2012 (3:37 AM).
jabberjabber8's Avatar
jabberjabber8 jabberjabber8 is offline
../\..
     
    Join Date: Mar 2011
    Location: England
    Gender: Male
    Nature: Rash
    Posts: 213
    We are trying to insert a world map into fire red, however we need it to have two regions. this will require a tile limit of 512 or better still 1024, but as of current the fire red map only contains 256 tiles. Does any one know how to go about increasing the limit?
    __________________


    Rumble rock is back, expect a BETA soon.

    Relevant Advertising!

      #21127    
    Old April 29th, 2012 (6:36 AM).
    Capitalist Ness's Avatar
    Capitalist Ness Capitalist Ness is offline
    can't stump the trump
       
      Join Date: Jul 2008
      Location: Poland
      Gender: Male
      Nature: Adamant
      Posts: 67
      Coming back to the subject of Chatot.
      I thought that no one will notice that Chatot has 1 hp when he's obtained, but...
      Well, max HP is ok, he doesn't die from single move.
      But, when he gains a level, or is put to the box, Chatot's HP goes down to 1.
      His max HP is still ok, he just loses his whole health.
        #21128    
      Old April 29th, 2012 (9:36 AM).
      dragonlolz's Avatar
      dragonlolz dragonlolz is offline
      Legendary Hunter
         
        Join Date: Apr 2012
        Location: the netherlands
        Gender: Male
        Nature: Relaxed
        Posts: 13
        i want to make a hack that req 6 "pokemon".
        but how do i add the pokemon to the inventory based on events.
        i also want to disable ANY pokeballs.
        thank you if you helped my out with this
        ps. no i dont want users in my hacking team i work alone on this hack.
        __________________
        My team( around 100 hours of gameplay and 15 games to get this team)


        this will be the slogan of my new HACK
          #21129    
        Old April 29th, 2012 (9:52 AM).
        Mickey` Mickey` is offline
           
          Join Date: May 2011
          Posts: 86
          I have a question, is it possible to make transparent tiles ?
            #21130    
          Old April 29th, 2012 (10:04 AM).
          JustTheAverageJoe JustTheAverageJoe is offline
             
            Join Date: Apr 2012
            Gender: Male
            Posts: 2
            Quote:
            Originally Posted by Mickey` View Post
            I have a question, is it possible to make transparent tiles ?
            Why would you want to make a transparent tile?
              #21131    
            Old April 29th, 2012 (10:10 AM).
            Mickey` Mickey` is offline
               
              Join Date: May 2011
              Posts: 86
              For example to give an effect "crystal"
                #21132    
              Old April 29th, 2012 (10:16 AM).
              JustTheAverageJoe JustTheAverageJoe is offline
                 
                Join Date: Apr 2012
                Gender: Male
                Posts: 2
                Quote:
                Originally Posted by Mickey` View Post
                For example to give an effect "crystal"
                But it's transparent...? It wouldn't give off any effect at all?
                  #21133    
                Old April 29th, 2012 (10:20 AM).
                Mickey` Mickey` is offline
                   
                  Join Date: May 2011
                  Posts: 86
                  It would be half transparent... We could see sprites through.
                    #21134    
                  Old April 29th, 2012 (1:17 PM).
                  Banjora Marxvile's Avatar
                  Banjora Marxvile Banjora Marxvile is offline
                  hOI!!!!!! i'm tEMMIE!!
                     
                    Join Date: May 2008
                    Age: 23
                    Gender: Male
                    Nature: Bashful
                    Posts: 3,487
                    Quote:
                    Originally Posted by Mickey` View Post
                    It would be half transparent... We could see sprites through.
                    In short, both yes and no.

                    Yes, one can make a tile transparent (where we can see through like glass), but not perhaps like you want, as in there is a tint of colour but we can see through it (eg green glass and everything behind looks green but visible)? That cannot be achieved at the moment, as far as I know. Who knows what may come in time though...
                    __________________


                    Temmie vibrates intensely.

                    awwAwa cute!! (pets u)

                    OMG!! humans TOO CUTE (dies)

                    can't blame a BARK for tryin'...

                    RATED TEM OUTTA TEM.

                      #21135    
                    Old April 29th, 2012 (1:20 PM).
                    jabberjabber8's Avatar
                    jabberjabber8 jabberjabber8 is offline
                    ../\..
                       
                      Join Date: Mar 2011
                      Location: England
                      Gender: Male
                      Nature: Rash
                      Posts: 213
                      Quote:
                      Originally Posted by jabberjabber8 View Post
                      We are trying to insert a world map into fire red, however we need it to have two regions. this will require a tile limit of 512 or better still 1024, but as of current the fire red map only contains 256 tiles. Does any one know how to go about increasing the limit?
                      bumping this really need a answer.
                      __________________


                      Rumble rock is back, expect a BETA soon.
                        #21136    
                      Old April 30th, 2012 (1:58 PM).
                      Mickey` Mickey` is offline
                         
                        Join Date: May 2011
                        Posts: 86
                        Quote:
                        Originally Posted by Banjora Marxvile View Post
                        In short, both yes and no.

                        Yes, one can make a tile transparent (where we can see through like glass), but not perhaps like you want, as in there is a tint of colour but we can see through it (eg green glass and everything behind looks green but visible)? That cannot be achieved at the moment, as far as I know. Who knows what may come in time though...
                        And, how can I make this ?
                          #21137    
                        Old April 30th, 2012 (5:05 PM).
                        myrrhman's Avatar
                        myrrhman myrrhman is offline
                        Challenge God
                           
                          Join Date: Feb 2010
                          Location: Knoxville, TN
                          Age: 26
                          Gender: Male
                          Nature: Sassy
                          Posts: 1,824
                          I tried looking for Pokemon Gold hacking stuff, and can't find anything. I saw ONE thing that said use something called Gold Finger, but I don't really have any experience with pre-3rd gen hacking.

                          All I want to do is go into Pokemon Gold/Silver and edit the levels of other trainer Pokemon so that halfway through the game I'm not fighting a level 20 Zubat. What would be the easiest way to go about this?
                            #21138    
                          Old April 30th, 2012 (5:40 PM).
                          redriders180's Avatar
                          redriders180 redriders180 is offline
                          Mastermind of Pokemon Glazed
                             
                            Join Date: Jun 2010
                            Location: Path of Victory, Tunod
                            Gender: Male
                            Nature: Quirky
                            Posts: 540
                            First, my question. I'm editing the World Maps in my game, and I'm using Nameless Tile Map Editor. I've already noticed that the .raws it produces are slightly glitchy. I've edited three of the four World Maps in Firered, and each of them has a small bar of transparency, about five tiles long, at the very bottom. Additionally, my last map has a random 3x3 square of tiles that won't go away. I'd try Cyclone if I could, except it refuses to run on my computer. Does anyone know how to hex edit the raws of these maps? Any help would be appreciated. And...

                            Quote:
                            Originally Posted by Mickey` View Post
                            And, how can I make this ?
                            Quote:
                            In short, both yes and no.

                            Yes, one can make a tile transparent (where we can see through like glass), but not perhaps like you want, as in there is a tint of colour but we can see through it (eg green glass and everything behind looks green but visible)? That cannot be achieved at the moment, as far as I know. Who knows what may come in time though...
                            Technically, there's something called "alpha blending", which the GBA can do. It'll change transparency and colors of the different layers in-game. But I don't know how to do it...consult the GBATEK if you want more info. And if you don't know what the GBATEK is, then it's above you.
                            __________________


                            I think I'm done with ROM hacking. I'll still pop in and visit, though.


                              #21139    
                            Old April 30th, 2012 (11:02 PM).
                            miksy91's Avatar
                            miksy91 miksy91 is offline
                            Dark Energy is back in action! ;)
                               
                              Join Date: Oct 2008
                              Location: A small country in the North
                              Gender: Male
                              Nature: Relaxed
                              Posts: 1,435
                              Quote:
                              Originally Posted by myrrhman View Post
                              I tried looking for Pokemon Gold hacking stuff, and can't find anything. I saw ONE thing that said use something called Gold Finger, but I don't really have any experience with pre-3rd gen hacking.

                              All I want to do is go into Pokemon Gold/Silver and edit the levels of other trainer Pokemon so that halfway through the game I'm not fighting a level 20 Zubat. What would be the easiest way to go about this?
                              There plenty of different tutorials for hacking RBY and GSC in Skeetendo Inc.
                              __________________
                              My Rom Hack



                              Fixing bugs in a ROM hack
                              CP of encountered pokemon in GO

                              Learn how to hack GB/C games:

                              Check my GameBoy/Color hacking videos in Youtube
                              -The video set uses Pokemon Silver (U) rom for demonstrations
                                #21140    
                              Old April 30th, 2012 (11:20 PM).
                              chrunch chrunch is offline
                              • Gold Tier
                               
                              Join Date: Oct 2009
                              Gender: Male
                              Posts: 1,349
                              Can I have a link to a tool that changes the start location of the player in FR? I'm sure I've seen one before. :x
                                #21141    
                              Old May 1st, 2012 (1:44 AM).
                              Mickey` Mickey` is offline
                                 
                                Join Date: May 2011
                                Posts: 86
                                I don't know GBATek :s



                                Quote:
                                Originally Posted by chrunch View Post
                                Can I have a link to a tool that changes the start location of the player in FR? I'm sure I've seen one before. :x
                                Use Start Map Chooser
                                  #21142    
                                Old May 1st, 2012 (11:07 AM).
                                Spherical Ice's Avatar
                                Spherical Ice Spherical Ice is online now
                                • Crystal Tier
                                 
                                Join Date: Nov 2007
                                Location: Bristol, UK
                                Age: 19
                                Posts: 5,221
                                Is there a way to define a message for a mail item (such as Harbor Mail or Orange Mail) in FireRed?
                                __________________

                                A Pokemon that is discriminated!
                                Support squirtle and make it everyone's favourite.
                                  #21143    
                                Old May 1st, 2012 (10:36 PM).
                                glory13 glory13 is offline
                                   
                                  Join Date: May 2012
                                  Gender: Male
                                  Posts: 1
                                  Hey, how can i solve this problem?
                                  I edited Groudon into Palkia
                                  Sapphire_03.png

                                  But, i cannot change groudon into palkia in my pokemon party
                                  Sapphire_01.png

                                  Somebody Help Mee!! Thanks
                                    #21144    
                                  Old May 1st, 2012 (11:47 PM).
                                  DrFuji's Avatar
                                  DrFuji DrFuji is offline
                                  Heiki Hecchara‌‌
                                  • Crystal Tier
                                   
                                  Join Date: Sep 2009
                                  Location: Downia-upside
                                  Age: 24
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 1,328
                                  Quote:
                                  Originally Posted by glory13 View Post
                                  Hey, how can i solve this problem?
                                  I edited Groudon into Palkia
                                  Attachment 64316

                                  But, i cannot change groudon into palkia in my pokemon party
                                  Attachment 64317

                                  Somebody Help Mee!! Thanks
                                  That's because Groudon's icon is separate from its sprite. You can use a tool like Wichu's Icon Editor to change it to that of Palkia.
                                  __________________
                                    #21145    
                                  Old May 2nd, 2012 (3:49 PM).
                                  Dieachu's Avatar
                                  Dieachu Dieachu is offline
                                     
                                    Join Date: Apr 2012
                                    Gender: Male
                                    Posts: 11
                                    Hey, how do you create a custom item? Also how can I insert a charmander/squirtle/bulbasaur sprite onto a map, like a legendary battle?
                                      #21146    
                                    Old May 2nd, 2012 (6:17 PM).
                                    TempixTL's Avatar
                                    TempixTL TempixTL is offline
                                       
                                      Join Date: Feb 2012
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 15
                                      I AM USING XSE AS MY SCRIPT EDITOR!

                                      So, I'm trying to create just a regular script block in Advanced map.
                                      Like this:
                                      ___
                                      | S |

                                      (Pretend it's green and NOT a signpost block)

                                      All I want it to do is say simple text, here is my XSE script:


                                      Spoiler:
                                      #dynamic 0xoffset

                                      #org @start
                                      lock
                                      msgbox @hey 0x6
                                      release
                                      end

                                      #org @hey
                                      = hey


                                      But whenever I step on that block in the game, everything freezes. Only the music keeps playing...

                                      Any idea on how to fix this? Is it my rom? My script?
                                      __________________
                                      Pokemon Jade. It's coming.
                                        #21147    
                                      Old May 2nd, 2012 (6:24 PM). Edited May 2nd, 2012 by droomph.
                                      droomph's Avatar
                                      droomph droomph is offline
                                      weeb
                                      • Crystal Tier
                                       
                                      Join Date: Sep 2011
                                      Location: nowhere spectacular
                                      Age: 20
                                      Gender: Male
                                      Nature: Impish
                                      Posts: 4,291
                                      Quote:
                                      Originally Posted by TempixTL View Post
                                      I AM USING XSE AS MY SCRIPT EDITOR!

                                      So, I'm trying to create just a regular script block in Advanced map.
                                      Like this:
                                      ___
                                      | S |

                                      (Pretend it's green and NOT a signpost block)

                                      All I want it to do is say simple text, here is my XSE script:


                                      Spoiler:
                                      #dynamic 0xoffset

                                      #org @start
                                      lock
                                      msgbox @hey 0x6
                                      release
                                      end

                                      #org @hey
                                      = hey


                                      But whenever I step on that block in the game, everything freezes. Only the music keeps playing...

                                      Any idea on how to fix this? Is it my rom? My script?
                                      Try removing the lock part. Here's an example ground script from the actual game:
                                      Spoiler:
                                      Code:
                                      #org 0x81E81F9
                                      '-----------------------------------
                                      lockall
                                      setvar 0x8008 0x4
                                      jump 0x81E8211
                                      
                                      #org 0x81E8211
                                      '-----------------------------------
                                      checkgender
                                      compare LASTRESULT BOY
                                      if == call 0x81E8297 ' Equal To
                                      compare LASTRESULT 0x1
                                      if == call 0x81E82A2 ' Equal To
                                      checkgender
                                      compare LASTRESULT BOY
                                      if == call 0x81E8281 ' Equal To
                                      compare LASTRESULT 0x1
                                      if == call 0x81E828C ' Equal To
                                      msgbox 0x81E87E1 ' MOM: Wait, \v\h01!
                                      callstd MSG_NOCLOSE ' Non-closing message
                                      closemsg
                                      checkgender
                                      compare LASTRESULT BOY
                                      if == call 0x81E82AD ' Equal To
                                      compare LASTRESULT 0x1
                                      if == call 0x81E82F0 ' Equal To
                                      call 0x81E8693
                                      checkgender
                                      compare LASTRESULT BOY
                                      if == call 0x81E8405 ' Equal To
                                      compare LASTRESULT 0x1
                                      if == call 0x81E8448 ' Equal To
                                      jump 0x81E8686
                                      
                                      #org 0x81E8297
                                      '-----------------------------------
                                      applymovement 0x4 0x82725A8 ' onspot_right end
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E82A2
                                      '-----------------------------------
                                      applymovement 0x4 0x82725A4 ' onspot_left end
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8281
                                      '-----------------------------------
                                      setvar 0x8009 0x5
                                      setvar 0x800A 0x8
                                      return
                                      
                                      #org 0x81E828C
                                      '-----------------------------------
                                      setvar 0x8009 0xE
                                      setvar 0x800A 0x8
                                      return
                                      
                                      #org 0x81E82AD
                                      '-----------------------------------
                                      compare 0x8008 0x0
                                      if == call 0x81E8333 ' Equal To
                                      compare 0x8008 0x1
                                      if == call 0x81E8348 ' Equal To
                                      compare 0x8008 0x2
                                      if == call 0x81E835D ' Equal To
                                      compare 0x8008 0x3
                                      if == call 0x81E8372 ' Equal To
                                      compare 0x8008 0x4
                                      if == call 0x81E8387 ' Equal To
                                      compare 0x8008 0x5
                                      if == call 0x81E839C ' Equal To
                                      return
                                      
                                      #org 0x81E8333
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725AA ' onspot_down end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85D1 ' walk_up_vslow walk_u...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8348
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725AA ' onspot_down end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85D8 ' walk_up_vslow walk_u...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E835D
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A4 ' onspot_left end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85DF ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8372
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A4 ' onspot_left end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85E4 ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8387
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A4 ' onspot_left end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85EA ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E82F0
                                      '-----------------------------------
                                      compare 0x8008 0x0
                                      if == call 0x81E8333 ' Equal To
                                      compare 0x8008 0x1
                                      if == call 0x81E8348 ' Equal To
                                      compare 0x8008 0x2
                                      if == call 0x81E83B1 ' Equal To
                                      compare 0x8008 0x3
                                      if == call 0x81E83C6 ' Equal To
                                      compare 0x8008 0x4
                                      if == call 0x81E83DB ' Equal To
                                      compare 0x8008 0x5
                                      if == call 0x81E83F0 ' Equal To
                                      return
                                      
                                      #org 0x81E83B1
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A8 ' onspot_right end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85F1 ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E83C6
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A8 ' onspot_right end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85F5 ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E83DB
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A8 ' onspot_right end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85F8 ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E83F0
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A8 ' onspot_right end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85FE ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8693
                                      '-----------------------------------
                                      msgbox 0x81E87F0 ' MOM: \v\h01! \v\h01!...
                                      callstd MSG_NOCLOSE ' Non-closing message
                                      fanfare 0x172
                                      message 0x81E8925 ' \v\h01 switched shoe...
                                      waitfanfare
                                      setflag 0x112
                                      msgbox 0x81E894F ' MOM: \v\h01, those s...
                                      callstd MSG_NOCLOSE ' Non-closing message
                                      msgbox 0x81E8A03 ' [.] [.] [.] [.] [.] ...
                                      callstd MSG_NOCLOSE ' Non-closing message
                                      closemsg
                                      pause 0x1E
                                      return
                                      
                                      #org 0x81E8405
                                      '-----------------------------------
                                      compare 0x8008 0x0
                                      if == call 0x81E848B ' Equal To
                                      compare 0x8008 0x1
                                      if == call 0x81E8496 ' Equal To
                                      compare 0x8008 0x2
                                      if == call 0x81E84A1 ' Equal To
                                      compare 0x8008 0x3
                                      if == call 0x81E84C7 ' Equal To
                                      compare 0x8008 0x4
                                      if == call 0x81E84ED ' Equal To
                                      compare 0x8008 0x5
                                      if == call 0x81E8513 ' Equal To
                                      return
                                      
                                      #org 0x81E848B
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8603 ' walk_down_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E8496
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8609 ' walk_down_vslow walk...
                                      pauseevent 0x0
                                      return
                                      
                                      #org 0x81E84A1
                                      '-----------------------------------
                                      applymovement 0x4 0x81E860F ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E84C7
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8615 ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E84ED
                                      '-----------------------------------
                                      applymovement 0x4 0x81E861C ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E8513
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8620 ' walk_left_vslow walk...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E8448
                                      '-----------------------------------
                                      compare 0x8008 0x0
                                      if == call 0x81E848B ' Equal To
                                      compare 0x8008 0x1
                                      if == call 0x81E8496 ' Equal To
                                      compare 0x8008 0x2
                                      if == call 0x81E8539 ' Equal To
                                      compare 0x8008 0x3
                                      if == call 0x81E855F ' Equal To
                                      compare 0x8008 0x4
                                      if == call 0x81E8585 ' Equal To
                                      compare 0x8008 0x5
                                      if == call 0x81E85AB ' Equal To
                                      return
                                      
                                      #org 0x81E8539
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8625 ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E855F
                                      '-----------------------------------
                                      applymovement 0x4 0x81E862A ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E8585
                                      '-----------------------------------
                                      applymovement 0x4 0x81E862E ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E85AB
                                      '-----------------------------------
                                      applymovement 0x4 0x81E8635 ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      setdooropened 0x8009 0x800A
                                      doorchange
                                      applymovement 0x4 0x81E863B ' walk_up_vslow end
                                      pauseevent 0x0
                                      fardisappear 0x4 0x0 0x9
                                      setdoorclosed 0x8009 0x800A
                                      doorchange
                                      return
                                      
                                      #org 0x81E8686
                                      '-----------------------------------
                                      disappear 0x4
                                      setflag 0x8C0
                                      setvar 0x4050 0x4
                                      release
                                      end
                                      
                                      #org 0x81E839C
                                      '-----------------------------------
                                      applymovement PLAYER 0x82725A4 ' onspot_left end
                                      pauseevent 0x0
                                      applymovement 0x4 0x81E85ED ' walk_right_vslow wal...
                                      pauseevent 0x0
                                      return
                                      
                                      
                                      #org 0x81E87E1
                                      = MOM: Wait, \v\h01!
                                      
                                      #org 0x81E87F0
                                      = MOM: \v\h01! \v\h01! Did you\nintroduce yourself to PROF. BIRCH?\pOh! What an adorable POK\eMON!\nYou got it from PROF. BIRCH. How nice!\pYou're your father's child, all right.\nYou look good together with POK\eMON!\pHere, honey! If you're going out on an\nadventure, wear these RUNNING SHOES.\pThey'll put a zip in your step!
                                      
                                      #org 0x81E8925
                                      = \v\h01 switched shoes with the\nRUNNING SHOES.
                                      
                                      #org 0x81E894F
                                      = MOM: \v\h01, those shoes came with\ninstructions.\p"Press the B Button while wearing these\nRUNNING SHOES to run extra-fast!\p"Slip on these RUNNING SHOES and race\nin the great outdoors!["]
                                      
                                      #org 0x81E8A03
                                      = [.] [.] [.] [.] [.] [.] [.] [.]\n[.] [.] [.] [.] [.] [.] [.] [.]\pTo think that you have your very own\nPOK\eMON now[.]\lYour father will be overjoyed.\p[.]But please be careful.\nIf anything happens, you can come home.\pGo on, go get them, honey!
                                      
                                      #org 0x82725A8
                                      M onspot_right end
                                      
                                      #org 0x82725A4
                                      M onspot_left end
                                      
                                      #org 0x82725AA
                                      M onspot_down end
                                      
                                      #org 0x81E85D1
                                      M walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow end
                                      
                                      #org 0x81E85D8
                                      M walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow end
                                      
                                      #org 0x81E85DF
                                      M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow end
                                      
                                      #org 0x81E85E4
                                      M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow end
                                      
                                      #org 0x81E85EA
                                      M walk_right_vslow walk_right_vslow end
                                      
                                      #org 0x81E85F1
                                      M walk_left_vslow walk_left_vslow walk_left_vslow end
                                      
                                      #org 0x81E85F5
                                      M walk_left_vslow walk_left_vslow end
                                      
                                      #org 0x81E85F8
                                      M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow end
                                      
                                      #org 0x81E85FE
                                      M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow end
                                      
                                      #org 0x81E8603
                                      M walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow end
                                      
                                      #org 0x81E8609
                                      M walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow end
                                      
                                      #org 0x81E860F
                                      M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                      
                                      #org 0x81E863B
                                      M walk_up_vslow end
                                      
                                      #org 0x81E8615
                                      M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                      
                                      #org 0x81E861C
                                      M walk_left_vslow walk_left_vslow onspot_up end
                                      
                                      #org 0x81E8620
                                      M walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                      
                                      #org 0x81E8625
                                      M walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                      
                                      #org 0x81E862A
                                      M walk_right_vslow walk_right_vslow onspot_up end
                                      
                                      #org 0x81E862E
                                      M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                      
                                      #org 0x81E8635
                                      M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                      
                                      #org 0x81E85ED
                                      M walk_right_vslow walk_right_vslow walk_right_vslow end
                                      (by the way, look at examples first before giving up!)

                                      Basically, what you need to do is add this:
                                      Code:
                                      #org @start
                                      '-----------------------------------
                                      lockall
                                      setvar variable number 'if this script is meant to happen over and over you can just skip this part
                                      jump @beginningOfScript
                                      and I think you'll be okay.

                                      Quote:
                                      Originally Posted by Dieachu View Post
                                      Hey, how do you create a custom item?
                                      Here's a nice tutorial.
                                      Quote:
                                      Originally Posted by Dieachu View Post
                                      Also how can I insert a charmander/squirtle/bulbasaur sprite onto a map, like a legendary battle?
                                      If you want to sacrifice any chance of using anything other than FireRed, here's a tutorial. Otherwise, we don't know yet, you could search it up.

                                      Good luck!
                                      __________________
                                      did u no there r 21 letters in the alphabet
                                      o i forgot 5
                                      uraqt


                                        #21148    
                                      Old May 2nd, 2012 (7:21 PM).
                                      TempixTL's Avatar
                                      TempixTL TempixTL is offline
                                         
                                        Join Date: Feb 2012
                                        Gender: Male
                                        Nature: Relaxed
                                        Posts: 15
                                        Quote:
                                        Originally Posted by droomph View Post
                                        Try removing the lock part. Here's an example ground script from the actual game:
                                        Spoiler:
                                        Code:
                                        #org 0x81E81F9
                                        '-----------------------------------
                                        lockall
                                        setvar 0x8008 0x4
                                        jump 0x81E8211
                                        
                                        #org 0x81E8211
                                        '-----------------------------------
                                        checkgender
                                        compare LASTRESULT BOY
                                        if == call 0x81E8297 ' Equal To
                                        compare LASTRESULT 0x1
                                        if == call 0x81E82A2 ' Equal To
                                        checkgender
                                        compare LASTRESULT BOY
                                        if == call 0x81E8281 ' Equal To
                                        compare LASTRESULT 0x1
                                        if == call 0x81E828C ' Equal To
                                        msgbox 0x81E87E1 ' MOM: Wait, \v\h01!
                                        callstd MSG_NOCLOSE ' Non-closing message
                                        closemsg
                                        checkgender
                                        compare LASTRESULT BOY
                                        if == call 0x81E82AD ' Equal To
                                        compare LASTRESULT 0x1
                                        if == call 0x81E82F0 ' Equal To
                                        call 0x81E8693
                                        checkgender
                                        compare LASTRESULT BOY
                                        if == call 0x81E8405 ' Equal To
                                        compare LASTRESULT 0x1
                                        if == call 0x81E8448 ' Equal To
                                        jump 0x81E8686
                                        
                                        #org 0x81E8297
                                        '-----------------------------------
                                        applymovement 0x4 0x82725A8 ' onspot_right end
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E82A2
                                        '-----------------------------------
                                        applymovement 0x4 0x82725A4 ' onspot_left end
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8281
                                        '-----------------------------------
                                        setvar 0x8009 0x5
                                        setvar 0x800A 0x8
                                        return
                                        
                                        #org 0x81E828C
                                        '-----------------------------------
                                        setvar 0x8009 0xE
                                        setvar 0x800A 0x8
                                        return
                                        
                                        #org 0x81E82AD
                                        '-----------------------------------
                                        compare 0x8008 0x0
                                        if == call 0x81E8333 ' Equal To
                                        compare 0x8008 0x1
                                        if == call 0x81E8348 ' Equal To
                                        compare 0x8008 0x2
                                        if == call 0x81E835D ' Equal To
                                        compare 0x8008 0x3
                                        if == call 0x81E8372 ' Equal To
                                        compare 0x8008 0x4
                                        if == call 0x81E8387 ' Equal To
                                        compare 0x8008 0x5
                                        if == call 0x81E839C ' Equal To
                                        return
                                        
                                        #org 0x81E8333
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725AA ' onspot_down end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85D1 ' walk_up_vslow walk_u...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8348
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725AA ' onspot_down end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85D8 ' walk_up_vslow walk_u...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E835D
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A4 ' onspot_left end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85DF ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8372
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A4 ' onspot_left end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85E4 ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8387
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A4 ' onspot_left end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85EA ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E82F0
                                        '-----------------------------------
                                        compare 0x8008 0x0
                                        if == call 0x81E8333 ' Equal To
                                        compare 0x8008 0x1
                                        if == call 0x81E8348 ' Equal To
                                        compare 0x8008 0x2
                                        if == call 0x81E83B1 ' Equal To
                                        compare 0x8008 0x3
                                        if == call 0x81E83C6 ' Equal To
                                        compare 0x8008 0x4
                                        if == call 0x81E83DB ' Equal To
                                        compare 0x8008 0x5
                                        if == call 0x81E83F0 ' Equal To
                                        return
                                        
                                        #org 0x81E83B1
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A8 ' onspot_right end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85F1 ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E83C6
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A8 ' onspot_right end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85F5 ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E83DB
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A8 ' onspot_right end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85F8 ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E83F0
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A8 ' onspot_right end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85FE ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8693
                                        '-----------------------------------
                                        msgbox 0x81E87F0 ' MOM: \v\h01! \v\h01!...
                                        callstd MSG_NOCLOSE ' Non-closing message
                                        fanfare 0x172
                                        message 0x81E8925 ' \v\h01 switched shoe...
                                        waitfanfare
                                        setflag 0x112
                                        msgbox 0x81E894F ' MOM: \v\h01, those s...
                                        callstd MSG_NOCLOSE ' Non-closing message
                                        msgbox 0x81E8A03 ' [.] [.] [.] [.] [.] ...
                                        callstd MSG_NOCLOSE ' Non-closing message
                                        closemsg
                                        pause 0x1E
                                        return
                                        
                                        #org 0x81E8405
                                        '-----------------------------------
                                        compare 0x8008 0x0
                                        if == call 0x81E848B ' Equal To
                                        compare 0x8008 0x1
                                        if == call 0x81E8496 ' Equal To
                                        compare 0x8008 0x2
                                        if == call 0x81E84A1 ' Equal To
                                        compare 0x8008 0x3
                                        if == call 0x81E84C7 ' Equal To
                                        compare 0x8008 0x4
                                        if == call 0x81E84ED ' Equal To
                                        compare 0x8008 0x5
                                        if == call 0x81E8513 ' Equal To
                                        return
                                        
                                        #org 0x81E848B
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8603 ' walk_down_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E8496
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8609 ' walk_down_vslow walk...
                                        pauseevent 0x0
                                        return
                                        
                                        #org 0x81E84A1
                                        '-----------------------------------
                                        applymovement 0x4 0x81E860F ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E84C7
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8615 ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E84ED
                                        '-----------------------------------
                                        applymovement 0x4 0x81E861C ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E8513
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8620 ' walk_left_vslow walk...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E8448
                                        '-----------------------------------
                                        compare 0x8008 0x0
                                        if == call 0x81E848B ' Equal To
                                        compare 0x8008 0x1
                                        if == call 0x81E8496 ' Equal To
                                        compare 0x8008 0x2
                                        if == call 0x81E8539 ' Equal To
                                        compare 0x8008 0x3
                                        if == call 0x81E855F ' Equal To
                                        compare 0x8008 0x4
                                        if == call 0x81E8585 ' Equal To
                                        compare 0x8008 0x5
                                        if == call 0x81E85AB ' Equal To
                                        return
                                        
                                        #org 0x81E8539
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8625 ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E855F
                                        '-----------------------------------
                                        applymovement 0x4 0x81E862A ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E8585
                                        '-----------------------------------
                                        applymovement 0x4 0x81E862E ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E85AB
                                        '-----------------------------------
                                        applymovement 0x4 0x81E8635 ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        setdooropened 0x8009 0x800A
                                        doorchange
                                        applymovement 0x4 0x81E863B ' walk_up_vslow end
                                        pauseevent 0x0
                                        fardisappear 0x4 0x0 0x9
                                        setdoorclosed 0x8009 0x800A
                                        doorchange
                                        return
                                        
                                        #org 0x81E8686
                                        '-----------------------------------
                                        disappear 0x4
                                        setflag 0x8C0
                                        setvar 0x4050 0x4
                                        release
                                        end
                                        
                                        #org 0x81E839C
                                        '-----------------------------------
                                        applymovement PLAYER 0x82725A4 ' onspot_left end
                                        pauseevent 0x0
                                        applymovement 0x4 0x81E85ED ' walk_right_vslow wal...
                                        pauseevent 0x0
                                        return
                                        
                                        
                                        #org 0x81E87E1
                                        = MOM: Wait, \v\h01!
                                        
                                        #org 0x81E87F0
                                        = MOM: \v\h01! \v\h01! Did you\nintroduce yourself to PROF. BIRCH?\pOh! What an adorable POK\eMON!\nYou got it from PROF. BIRCH. How nice!\pYou're your father's child, all right.\nYou look good together with POK\eMON!\pHere, honey! If you're going out on an\nadventure, wear these RUNNING SHOES.\pThey'll put a zip in your step!
                                        
                                        #org 0x81E8925
                                        = \v\h01 switched shoes with the\nRUNNING SHOES.
                                        
                                        #org 0x81E894F
                                        = MOM: \v\h01, those shoes came with\ninstructions.\p"Press the B Button while wearing these\nRUNNING SHOES to run extra-fast!\p"Slip on these RUNNING SHOES and race\nin the great outdoors!["]
                                        
                                        #org 0x81E8A03
                                        = [.] [.] [.] [.] [.] [.] [.] [.]\n[.] [.] [.] [.] [.] [.] [.] [.]\pTo think that you have your very own\nPOK\eMON now[.]\lYour father will be overjoyed.\p[.]But please be careful.\nIf anything happens, you can come home.\pGo on, go get them, honey!
                                        
                                        #org 0x82725A8
                                        M onspot_right end
                                        
                                        #org 0x82725A4
                                        M onspot_left end
                                        
                                        #org 0x82725AA
                                        M onspot_down end
                                        
                                        #org 0x81E85D1
                                        M walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow end
                                        
                                        #org 0x81E85D8
                                        M walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow walk_up_vslow end
                                        
                                        #org 0x81E85DF
                                        M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow end
                                        
                                        #org 0x81E85E4
                                        M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow end
                                        
                                        #org 0x81E85EA
                                        M walk_right_vslow walk_right_vslow end
                                        
                                        #org 0x81E85F1
                                        M walk_left_vslow walk_left_vslow walk_left_vslow end
                                        
                                        #org 0x81E85F5
                                        M walk_left_vslow walk_left_vslow end
                                        
                                        #org 0x81E85F8
                                        M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow end
                                        
                                        #org 0x81E85FE
                                        M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow end
                                        
                                        #org 0x81E8603
                                        M walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow end
                                        
                                        #org 0x81E8609
                                        M walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow walk_down_vslow end
                                        
                                        #org 0x81E860F
                                        M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                        
                                        #org 0x81E863B
                                        M walk_up_vslow end
                                        
                                        #org 0x81E8615
                                        M walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                        
                                        #org 0x81E861C
                                        M walk_left_vslow walk_left_vslow onspot_up end
                                        
                                        #org 0x81E8620
                                        M walk_left_vslow walk_left_vslow walk_left_vslow onspot_up end
                                        
                                        #org 0x81E8625
                                        M walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                        
                                        #org 0x81E862A
                                        M walk_right_vslow walk_right_vslow onspot_up end
                                        
                                        #org 0x81E862E
                                        M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                        
                                        #org 0x81E8635
                                        M walk_right_vslow walk_right_vslow walk_right_vslow walk_right_vslow onspot_up end
                                        
                                        #org 0x81E85ED
                                        M walk_right_vslow walk_right_vslow walk_right_vslow end
                                        (by the way, look at examples first before giving up!)

                                        Basically, what you need to do is add this:
                                        Code:
                                        #org @start
                                        '-----------------------------------
                                        lockall
                                        setvar variable number 'if this script is meant to happen over and over you can just skip this part
                                        jump @beginningOfScript
                                        and I think you'll be okay.

                                        First, thanks a lot for helping me! Unfortunately, though, there were no positive results from what I tried...

                                        So, these are some different things I did...

                                        1. I took lock out of my script - didn't work
                                        2. I replaced lock with lockall and release with releaseall - didn't work
                                        3. Looked at other scripts and tried to mimic them - didn't work

                                        :/

                                        But, I'm also not the most advanced scripter... So I don't exactly understand the setvar and jump commands you told me to try. I've avoided the regular script block the entire progress of my hack because I can only really script people and signs...

                                        So could it be 'setvar' or 'jump' that could make the difference? If so, a short explanation or tutorial link?
                                        __________________
                                        Pokemon Jade. It's coming.
                                          #21149    
                                        Old May 2nd, 2012 (7:51 PM).
                                        Teomat Teomat is offline
                                           
                                          Join Date: Jan 2010
                                          Gender: Male
                                          Posts: 36
                                          Two more stupid questions - can I add attack without removing existed one? For example I'm inserting lucario in FR rom and I want it to have aura sphere. But I don't want to remove any of existed attacks... Is that possible?

                                          And can I expend number of attacks that all pokemons have and extend pokedex entried? Sound a bit stupid, I know>.< But I'm not sure how to tell this correctly in English...
                                            #21150    
                                          Old May 2nd, 2012 (9:08 PM).
                                          redriders180's Avatar
                                          redriders180 redriders180 is offline
                                          Mastermind of Pokemon Glazed
                                             
                                            Join Date: Jun 2010
                                            Location: Path of Victory, Tunod
                                            Gender: Male
                                            Nature: Quirky
                                            Posts: 540
                                            Quote:
                                            Originally Posted by TempixTL View Post
                                            First, thanks a lot for helping me! Unfortunately, though, there were no positive results from what I tried...

                                            So, these are some different things I did...

                                            1. I took lock out of my script - didn't work
                                            2. I replaced lock with lockall and release with releaseall - didn't work
                                            3. Looked at other scripts and tried to mimic them - didn't work

                                            :/

                                            But, I'm also not the most advanced scripter... So I don't exactly understand the setvar and jump commands you told me to try. I've avoided the regular script block the entire progress of my hack because I can only really script people and signs...

                                            So could it be 'setvar' or 'jump' that could make the difference? If so, a short explanation or tutorial link?
                                            Scripts are designed to work in conjunction with variables. When you click on a green script, the script menu in A-map appears on the right. Focus on these three values:

                                            In Firered, the top one generally does nothing, from what I hear. In RSE, you have to set it to 03 for applymovement scripts. I hack Firered, but I use 03 partly out of habit, and partly to be safe.
                                            The middle one is a variable number (pause for a second: If you don't know variables, go learn about it now. Or you won't get very far in Rom Hacking). In this case, it's variable 0x4066. Explanation to follow.
                                            The last one is a variable value. In this example, it's 0000. Explanation Below.

                                            Explanation!
                                            When you walk over a script tile, the script will automatically compare the value at the variable you specified earlier with the value that you also specified. In my case, it compares variable 0x4066 to 0x0. If they are EQUAL, the script executes. If they are UNEQUAL, the script doesn't. Pretty useful...Instead of a flag for every event, you can use a single variable, and that variable is good for 65,535 seperate events.
                                            In my example, the script is intended to run only once. So, when you step on it initially, variable 0x4066 is equal to 0x0, and the script runs. Somewhere in the script it runs, I set variable 0x4066 to 0x1. Now, every subsequent time I step on it, variable 0x4066 is NOT equal to 0x0, and doesn't run.

                                            But how is this relevant? Well, I could've just said how to fix it, but then you wouldn't have learned anything . Most scripts that do noticeable things, i.e. applymovement, movesprite, msgbox, require a variable must be specified, or the game freezes. For this purpose, I always have a "blank" variable, or a variable always equal to 0x0. Any scripts that need to activate anytime you step on it get that variable, and the scripts don't include any setvars. Basically, give the script a variable, and it'll be fine.

                                            PS: Generally, scripts that don't do noticeable things, i.e. set flags or variables and nothing else, don't need a variable in the script.

                                            Hope this isn't too long and/or not helpful
                                            __________________


                                            I think I'm done with ROM hacking. I'll still pop in and visit, though.


                                            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 5:17 AM.