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
  #2826    
Old January 5th, 2010 (7:18 PM).
Yusshin's Avatar
Yusshin Yusshin is offline
♪ Yggdrasil ♪
     
    Join Date: Jul 2009
    Location: Quebec, Canada
    Age: 25
    Nature: Brave
    Posts: 2,424
    Quote:
    Originally Posted by trebornosliw View Post
    Okay, so ignore the sub-blargh error when you start the rom, that's just a clock issue that won't affect your script. Your setflag needs to come right before the end of your script, after the pause 0x30 would be great. However, 0x200 isn't a good flag to use, are you aiming for a specific event flag? 0x1000 is a lot safer, as it isn't used by the game.
    I'm'a delete all events in the game at one point anyway, so 0x200 shouldn't matter much, nyaa? or should I still change it regardless?
    __________________


    Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
    "My scar makes me sassy, child!"
    The Big Bang Theory Fan Club - Click To Join!
    The French Club

    Relevant Advertising!

      #2827    
    Old January 5th, 2010 (7:40 PM).
    arpeejajo's Avatar
    arpeejajo arpeejajo is offline
    King Of Muay Thai
       
      Join Date: Mar 2008
      Location: Woodbridge, ON
      Gender: Male
      Nature: Jolly
      Posts: 36
      Quote:
      Originally Posted by NarutoActor View Post
      Think before you post, 4050 is not the only free var there are tons of them. The one I personally use is 5050.
      You can't use the same variable for other scripts can you? If not how do you find out the other variables?
        #2828    
      Old January 5th, 2010 (10:36 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
      Quote:
      Originally Posted by arpeejajo View Post
      You can't use the same variable for other scripts can you? If not how do you find out the other variables?
      Yes, you can use the same variable for every level.
      if you use 4050, you can use it for EVERY script.
      __________________
      >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...

      >
        #2829    
      Old January 5th, 2010 (10:49 PM).
      colcolstyles's Avatar
      colcolstyles colcolstyles is offline
      Yours truly
      • Crystal Tier
       
      Join Date: May 2008
      Location: The Bay Area
      Gender: Male
      Nature: Lonely
      Posts: 1,590
      Quote:
      Originally Posted by 0m3GA ARS3NAL View Post
      Yes, you can use the same variable for every level.
      if you use 4050, you can use it for EVERY script.
      Well, yeah you can but I'd recommend one that the game doesn't use. Even if you don't reuse any of the original scripts beyond the PokéCenters et al., it's probably a good idea to err on the safe side and use different variables.
      But yes, you can reuse variables. For example, I use 0x7000 as a general story progress meter.
      __________________

      Brother of Vrai
        #2830    
      Old January 5th, 2010 (10:57 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
      Quote:
      Originally Posted by colcolstyles View Post
      Well, yeah you can but I'd recommend one that the game doesn't use. Even if you don't reuse any of the original scripts beyond the PokéCenters et al., it's probably a good idea to err on the safe side and use different variables.
      But yes, you can reuse variables. For example, I use 0x7000 as a general story progress meter.
      That is a smart idea.
      if the game at any point changes the variable in a bad way for you many scrips could get turned off... I think I'll start doing that. (I've grown so accustomed to using 4050, lol)
      __________________
      >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...

      >
        #2831    
      Old January 5th, 2010 (11:40 PM).
      locoroco's Avatar
      locoroco locoroco is offline
      Ginga Densetsu Weed ANIME PWNS
         
        Join Date: Oct 2009
        Location: Manati, Puerto rico
        Age: 21
        Gender: Male
        Nature: Relaxed
        Posts: 251
        im learning how to script and each time i compile the script is not as i put it my game is fire red look

        #dynamic 0x800000
        #org @start
        lock
        faceplayer
        msgbox @1 0x6
        release
        end

        #org @1
        = Do you have any pokemon.\nCheck if PROF.OAK\lgives you one.


        and this is how it looks after i compile it and put it on a sprite in a-map

        '-----------------------
        #org 0x4567DE
        lock
        faceplayer
        msgbox 0x84567E9 '"Will you get any\npokemon check if\..."
        release
        end


        '---------
        ' Strings
        '---------
        #org 0x4567E9
        = Will you get any\npokemon check if\lPROF.OAK will give you\lany

        and i dont get it and then when i talk to the person it doesn't say anything i just hear the ping sound and nothing else help!!!
        __________________
        This signature has been disabled.
        Signature needs to be kept to a 600px x 400px area. Your long line of text pushes it over the limit. Put a few enters there and you will be able to get it inside the limits.
        Please review and fix the issues by reading the signature rules.

        You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

        Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
          #2832    
        Old January 5th, 2010 (11:48 PM).
        Omega Zero's Avatar
        Omega Zero Omega Zero is offline
        Is back...
        • Gold Tier
         
        Join Date: Dec 2009
        Location: I'm always living aren't I?
        Age: 19
        Gender: Male
        Nature: Relaxed
        Posts: 445
        Quote:
        Originally Posted by locoroco View Post
        im learning how to script and each time i compile the script is not as i put it my game is fire red look

        #dynamic 0x800000
        #org @start
        lock
        faceplayer
        msgbox @1 0x6
        release
        end

        #org @1
        = Do you have any pokemon.\nCheck if PROF.OAK\lgives you one.


        and this is how it looks after i compile it and put it on a sprite in a-map

        '-----------------------
        #org 0x4567DE
        lock
        faceplayer
        msgbox 0x84567E9 '"Will you get any\npokemon check if\..."
        release
        end


        '---------
        ' Strings
        '---------
        #org 0x4567E9
        = Will you get any\npokemon check if\lPROF.OAK will give you\lany

        and i dont get it and then when i talk to the person it doesn't say anything i just hear the ping sound and nothing else help!!!
        Well did you compile it to the right rom?
        __________________
          #2833    
        Old January 6th, 2010 (7:04 AM).
        arpeejajo's Avatar
        arpeejajo arpeejajo is offline
        King Of Muay Thai
           
          Join Date: Mar 2008
          Location: Woodbridge, ON
          Gender: Male
          Nature: Jolly
          Posts: 36
          Whenever I compile this code
          Code:
          '---------------
          #org 0x34EB8C
          lockall
          applymovement MOVE_PLAYER 0x834EBC6
          waitmovement 0x0
          applymovement MOVE_PLAYER 0x834EBFE
          waitmovement 0x0
          msgbox 0x834EC0E MSG_KEEPOPEN '"[player]: Hmm, where am I?"
          closeonkeypress
          applymovement 0x1 0x834EBCC
          waitmovement 0x0
          msgbox 0x834EBDC MSG_KEEPOPEN '"Julia: Hey! Where'd you come from?..."
          closeonkeypress
          msgbox 0x834EC59 MSG_KEEPOPEN '"[player]: I don't know."
          releaseall
          end
          
          '---------
          ' Strings
          '---------
          #org 0x34EC0E
          = [player]: Hmm, where am I?
          
          #org 0x34EBDC
          = Julia: Hey! Where'd you come from?
          
          #org 0x34EC59
          = [player]: I don't know.
          
          
          '-----------
          ' Movements
          '-----------
          #org 0x34EBC6
          #raw 0x62 'Exclamation Mark (!)
          #raw 0x1A 'Delay3
          #raw 0x2F 'Face Left (Delayed)
          #raw 0x1A 'Delay3
          #raw 0x30 'Face Right (Delayed)
          #raw 0xFE 'End of Movements
          
          #org 0x34EBFE
          #raw 0x1A 'Delay3
          #raw 0x2E 'Face Up (Delayed)
          #raw 0x1A 'Delay3
          #raw 0x2D 'Face Down (Delayed)
          #raw 0xFE 'End of Movements
          
          #org 0x34EBCC
          #raw 0x62 'Exclamation Mark (!)
          #raw 0x12 'Step Left (Normal)
          #raw 0x12 'Step Left (Normal)
          #raw 0x2E 'Face Up (Delayed)
          #raw 0xFE 'End of Movements
          and then close the editor and then open the script again, it changes to this
          Code:
          '---------------
          #org 0x34EB8C
          lockall
          applymovement MOVE_PLAYER 0x834EBC6
          waitmovement 0x0
          applymovement MOVE_PLAYER 0x834EBFE
          waitmovement 0x0
          msgbox 0x834EC0E MSG_KEEPOPEN '"[player]: Hmm, where am I?"
          closeonkeypress
          applymovement 0x1 0x834EBCC
          waitmovement 0x0
          msgbox 0x834EBDC MSG_KEEPOPEN '"Julia: Hey! Where'd you come from?..."
          closeonkeypress
          msgbox 0x834EC59 MSG_KEEPOPEN '"[player]: I don't know."
          releaseall
          settrainerflag 0x2F1A
          copyvarifnotzero 0xFE30 0x1262
          loadbytefrompointer 0x2E 0xFFFFFFFE
          
          '---------
          ' Strings
          '---------
          #org 0x34EC0E
          = [player]: Hmm, where am I?
          
          #org 0x34EBDC
          = Julia: Hey! Where'd you come from?è+è&\n
          
          #org 0x34EC59
          = [player]: I don't know.
          
          
          '-----------
          ' Movements
          '-----------
          #org 0x34EBC6
          #raw 0x62 'Exclamation Mark (!)
          #raw 0x1A 'Delay3
          #raw 0x2F 'Face Left (Delayed)
          #raw 0x1A 'Delay3
          #raw 0x30 'Face Right (Delayed)
          #raw 0xFE 'End of Movements
          
          #org 0x34EBFE
          #raw 0x1A 'Delay3
          #raw 0x2E 'Face Up (Delayed)
          #raw 0x1A 'Delay3
          #raw 0x2D 'Face Down (Delayed)
          #raw 0xFE 'End of Movements
          
          #org 0x34EBCC
          #raw 0x62 'Exclamation Mark (!)
          #raw 0x12 'Step Left (Normal)
          #raw 0x12 'Step Left (Normal)
          #raw 0x2E 'Face Up (Delayed)
          #raw 0xFE 'End of Movements
          I use XSE and open the editor through Advance Map 1.92
            #2834    
          Old January 6th, 2010 (11:31 AM).
          Satoshi Ookami's Avatar
          Satoshi Ookami Satoshi Ookami is offline
          Memento Mori
          • Gold Tier
           
          Join Date: Jul 2008
          Location: Abyss of Time, Great Seal
          Age: 25
          Gender: Male
          Nature: Calm
          Posts: 14,504
          You extended the offset 0x34EB8C.
          It's normal when you add something to old offset and don't delete something else.
          __________________
          ROM hacking FAQ - Read before asking how to play a hack.

          Anime List | PSN Trophy List
            #2835    
          Old January 6th, 2010 (11:57 AM). Edited January 6th, 2010 by Apollo-player.
          Apollo-player's Avatar
          Apollo-player Apollo-player is offline
             
            Join Date: Aug 2009
            Gender: Male
            Posts: 25
            does anyone know why this doesnt work? i kind of need help on the givepoemon line

            '-----------------------
            #org 0x1B1439
            msgbox 0x904734 "theres a note\pit reads: i cant do this, please\capture my pokemon"
            msgbox 0x904735 "will you accept the challenge?"
            boxset 6
            compare LASTRESULT 0x0
            if 0x1 goto 0x85FB257
            releaseall
            end
            #org 0x5FB257
            givepokemon 0x054 0x5 0x0
            return

            and it isnt the #dynamic
              #2836    
            Old January 6th, 2010 (1:13 PM).
            arpeejajo's Avatar
            arpeejajo arpeejajo is offline
            King Of Muay Thai
               
              Join Date: Mar 2008
              Location: Woodbridge, ON
              Gender: Male
              Nature: Jolly
              Posts: 36
              Quote:
              Originally Posted by Ash493 View Post
              You extended the offset 0x34EB8C.
              It's normal when you add something to old offset and don't delete something else.
              So what should I do to fix it? Give it a different offset or what?
                #2837    
              Old January 6th, 2010 (3:57 PM).
              trebornosliw's Avatar
              trebornosliw trebornosliw is offline
              Learning
                 
                Join Date: Jul 2009
                Age: 25
                Gender: Male
                Nature: Adamant
                Posts: 523
                Quote:
                Originally Posted by Yusshin View Post
                I'm'a delete all events in the game at one point anyway, so 0x200 shouldn't matter much, nyaa? or should I still change it regardless?
                Well, as far as I know, it's best to avoid flags used by the game either way, but it's your call. Also, certain flags already have set effects that I don't know how to edit (for instance, the gym badges, firstpokemon, and pokedex flags).
                @NarutoActor, chill out, seriously. I wasn't aware that any var could be used, I didn't realize that it was the same type of var that I'd use in a script . No need to be rude about it. Anyway, thanks for teaching me something new, I'll try messing with that a bit.
                __________________
                Credit for my avatar goes to the Lego company.
                  #2838    
                Old January 6th, 2010 (6:42 PM).
                Darthatron's Avatar
                Darthatron Darthatron is offline
                巨大なトロール。
                • Silver Tier
                 
                Join Date: Jan 2006
                Location: Melbourne, Australia
                Age: 26
                Gender: Male
                Nature: Modest
                Posts: 1,152
                Quote:
                Originally Posted by Apollo-player View Post
                does anyone know why this doesnt work? i kind of need help on the givepoemon line

                '-----------------------
                #org 0x1B1439
                msgbox 0x904734 0x6 "theres a note\pit reads: i cant do this, please\capture my pokemon"
                msgbox 0x904735 0x5 "will you accept the challenge?"
                compare LASTRESULT 0x0
                if 0x1 call 0x85FB257
                releaseall
                end
                #org 0x5FB257
                givepokemon 0x054 0x5 0x0 0x0 0x0 0x0
                return

                and it isnt the #dynamic
                5 problems...
                1. You were using boxset, that no longer exists.
                2. You were missing a 'boxset' command.
                3. You were missing some buffers in 'givepokemon'
                4. A 'goto' should have been a 'call'.
                5. One of those boxsets was a Yes/No box, right? That's boxset #5.

                Fixes are in bold.
                __________________
                あなた は しきしゃ です
                わたし は ばか です
                  #2839    
                Old January 7th, 2010 (3:45 AM).
                Apollo-player's Avatar
                Apollo-player Apollo-player is offline
                   
                  Join Date: Aug 2009
                  Gender: Male
                  Posts: 25
                  thanks darthatron... i am still learning and i am kind of used to pokescript.
                    #2840    
                  Old January 7th, 2010 (6:22 AM).
                  Satoshi Ookami's Avatar
                  Satoshi Ookami Satoshi Ookami is offline
                  Memento Mori
                  • Gold Tier
                   
                  Join Date: Jul 2008
                  Location: Abyss of Time, Great Seal
                  Age: 25
                  Gender: Male
                  Nature: Calm
                  Posts: 14,504
                  Quote:
                  Originally Posted by arpeejajo View Post
                  So what should I do to fix it? Give it a different offset or what?
                  Being you I'd start again with the new ROM.
                  Since if you corrupt some old scripts it might do something really bad to other offsets.
                  And yes you need different offset you can use #dynamic 0x700000/800000/etc...
                  __________________
                  ROM hacking FAQ - Read before asking how to play a hack.

                  Anime List | PSN Trophy List
                    #2841    
                  Old January 8th, 2010 (8:54 AM).
                  arpeejajo's Avatar
                  arpeejajo arpeejajo is offline
                  King Of Muay Thai
                     
                    Join Date: Mar 2008
                    Location: Woodbridge, ON
                    Gender: Male
                    Nature: Jolly
                    Posts: 36
                    I have a question about dynamic offsets. When I made the below code as dynamic and then compiled it and copied the first offset into the Advance Map, and opened it up again it changed to the code below. Is that supposed to happen?
                    Also, why is it when I walk into this script nothing happens?
                    Code:
                    '---------------
                    #org 0x800008
                    lock
                    msgbox 0x800027 MSG_NORMAL '"Hmm. Where am I?"
                    closeonkeypress
                    applymovement 0x1 0x880003A
                    waitmovement 0x0
                    applymovement 0x1 0x8800040
                    waitmovement 0x0
                    release
                    end
                    
                    
                    '---------
                    ' Strings
                    '---------
                    #org 0x800027
                    = Hmm. Where am I?
                    
                    
                    '-----------
                    ' Movements
                    '-----------
                    #org 0x80003A
                    #raw 0x13 'Step Right (Normal)
                    #raw 0x13 'Step Right (Normal)
                    #raw 0x13 'Step Right (Normal)
                    #raw 0x13 'Step Right (Normal)
                    #raw 0xFE 'End of Movements
                    
                    #org 0x800040
                    #raw 0x10 'Step Down (Normal)
                    #raw 0x10 'Step Down (Normal)
                    #raw 0x10 'Step Down (Normal)
                    #raw 0xFE 'End of Movements
                      #2842    
                    Old January 8th, 2010 (9:06 AM).
                    Quickster's Avatar
                    Quickster Quickster is offline
                    Dream or Drop?
                       
                      Join Date: Oct 2007
                      Gender: Male
                      Nature: Quiet
                      Posts: 351
                      Quote:
                      Originally Posted by arpeejajo View Post
                      I have a question about dynamic offsets. When I made the below code as dynamic and then compiled it and copied the first offset into the Advance Map, and opened it up again it changed to the code below. Is that supposed to happen?
                      Also, why is it when I walk into this script nothing happens?
                      Code:
                      '---------------
                      #org 0x800008
                      lock
                      msgbox 0x800027 0x4 '"Hmm. Where am I?"
                      closeonkeypress
                      applymovement 0x1 0x880003A
                      waitmovement 0x0
                      release
                      end
                      
                      
                      '---------
                      ' Strings
                      '---------
                      #org 0x800027
                      = Hmm. Where am I?
                      
                      
                      '-----------
                      ' Movements
                      '-----------
                      #org 0x80003A
                      #raw 0x13 'Step Right (Normal)
                      #raw 0x13 'Step Right (Normal)
                      #raw 0x13 'Step Right (Normal)
                      #raw 0x13 'Step Right (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0x10 'Step Down (Normal)
                      #raw 0xFE 'End of Movements

                      Hmm, what exactly are you talking about? I only see one problem with the script itself and make sure the unkown in amap is 0003 and the var is 4050. Changes in bold and removed some stuff. Also the script will keep happening unless you set a flag.
                      __________________
                      I laugh looking at this.

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

                        #2843    
                      Old January 8th, 2010 (9:23 AM).
                      arpeejajo's Avatar
                      arpeejajo arpeejajo is offline
                      King Of Muay Thai
                         
                        Join Date: Mar 2008
                        Location: Woodbridge, ON
                        Gender: Male
                        Nature: Jolly
                        Posts: 36
                        Is the text box 0x4 or 0x6? Either way I tried both and they didn't work.
                          #2844    
                        Old January 8th, 2010 (11:20 AM).
                        Shiny_Noctowl Shiny_Noctowl is offline
                           
                          Join Date: Dec 2008
                          Age: 23
                          Gender: Male
                          Posts: 39
                          This script is supposed to make a cave entrance appear when you press A on a signpost, but nothing happens.

                          '-----------------------
                          #org 0xE20000
                          setmaptile 0xE 0x4 0x28B 0x1
                          setmaptile 0xF 0x4 0x28C 0x1
                          setmaptile 0x10 0x4 0x28D 0x1
                          setmaptile 0xE 0x5 0x293 0x1
                          setmaptile 0xF 0x5 0x294 0x0
                          setmaptile 0x10 0x5 0x295 0x1
                          end
                            #2845    
                          Old January 8th, 2010 (12:14 PM).
                          Quickster's Avatar
                          Quickster Quickster is offline
                          Dream or Drop?
                             
                            Join Date: Oct 2007
                            Gender: Male
                            Nature: Quiet
                            Posts: 351
                            Quote:
                            Originally Posted by arpeejajo View Post
                            Is the text box 0x4 or 0x6? Either way I tried both and they didn't work.
                            0x4 is to be used with closeonkeypress but i dont know why its not working. What exactly is happening?
                            __________________
                            I laugh looking at this.

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

                              #2846    
                            Old January 8th, 2010 (12:23 PM).
                            arpeejajo's Avatar
                            arpeejajo arpeejajo is offline
                            King Of Muay Thai
                               
                              Join Date: Mar 2008
                              Location: Woodbridge, ON
                              Gender: Male
                              Nature: Jolly
                              Posts: 36
                              Quote:
                              Originally Posted by Quickster View Post
                              0x4 is to be used with closeonkeypress but i don't know why its not working. What exactly is happening?
                              From XSE it compiles just fine. But in game nothing happens, I walk right through the script.
                              The sprite that has the movements has an unknown of 03 and it's event number is 1.
                              The script offset is 800008, unknown 0003, and Var Number I use is 7000 (I also tried with 4050 and nothing happened).
                                #2847    
                              Old January 8th, 2010 (12:34 PM).
                              Quickster's Avatar
                              Quickster Quickster is offline
                              Dream or Drop?
                                 
                                Join Date: Oct 2007
                                Gender: Male
                                Nature: Quiet
                                Posts: 351
                                Quote:
                                Originally Posted by arpeejajo View Post
                                From XSE it compiles just fine. But in game nothing happens, I walk right through the script.
                                The sprite that has the movements has an unknown of 03 and it's event number is 1.
                                The script offset is 800008, unknown 0003, and Var Number I use is 7000 (I also tried with 4050 and nothing happened).
                                So the person event number is 1. The unknown for the script tile is 0003(the unknown above var number).The var number is 4050. The var value is 0000. If you use var number 7000 put 0001 in the var value and make a script like this.

                                Code:
                                #dynamic 0x??????
                                
                                #org @start
                                compare 0x7000 0x2
                                if 0x1 goto @end
                                setvar 0x7000 0x1
                                release
                                end
                                
                                #org @end
                                release
                                end
                                Then in your original script after its done setvar 0x7000 0x2 so it wont happen again.
                                __________________
                                I laugh looking at this.

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

                                  #2848    
                                Old January 8th, 2010 (12:43 PM).
                                arpeejajo's Avatar
                                arpeejajo arpeejajo is offline
                                King Of Muay Thai
                                   
                                  Join Date: Mar 2008
                                  Location: Woodbridge, ON
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 36
                                  Quote:
                                  Originally Posted by Quickster View Post
                                  So the person event number is 1. The unknown for the script tile is 0003(the unknown above var number).The var number is 4050. The var value is 0000. If you use var number 7000 put 0001 in the var value and make a script like this.

                                  Code:
                                  #dynamic 0x??????
                                  
                                  #org @start
                                  compare 0x7000 0x2
                                  if 0x1 goto @end
                                  setvar 0x7000 0x1
                                  release
                                  end
                                  
                                  #org @end
                                  release
                                  end
                                  Then in your original script after its done setvar 0x7000 0x2 so it wont happen again.
                                  So that code is in a separate offset right? I did that and added everything else, but it still doesn't work.
                                    #2849    
                                  Old January 8th, 2010 (12:48 PM).
                                  Quickster's Avatar
                                  Quickster Quickster is offline
                                  Dream or Drop?
                                     
                                    Join Date: Oct 2007
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 351
                                    Quote:
                                    Originally Posted by arpeejajo View Post
                                    So that code is in a separate offset right? I did that and added everything else, but it still doesn't work.
                                    Hmm,it is in a different offset.Can you tell me the steps you are doing everything in fot the original?
                                    __________________
                                    I laugh looking at this.

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

                                      #2850    
                                    Old January 8th, 2010 (12:55 PM).
                                    Congratulations, I Hate You's Avatar
                                    Congratulations, I Hate You Congratulations, I Hate You is offline
                                    Used to be itman1234...
                                       
                                      Join Date: Jan 2010
                                      Location: CT
                                      Age: 23
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 18
                                      Quote:
                                      Originally Posted by Shiny_Noctowl View Post
                                      This script is supposed to make a cave entrance appear when you press A on a signpost, but nothing happens.

                                      '-----------------------
                                      #org 0xE20000
                                      setmaptile 0xE 0x4 0x28B 0x1
                                      setmaptile 0xF 0x4 0x28C 0x1
                                      setmaptile 0x10 0x4 0x28D 0x1
                                      setmaptile 0xE 0x5 0x293 0x1
                                      setmaptile 0xF 0x5 0x294 0x0
                                      setmaptile 0x10 0x5 0x295 0x1
                                      special 0x8E
                                      end
                                      there. try that, special 0x8E resets the map for it to work.
                                      __________________
                                      And I feel, tonight, that I let you die.
                                      But you could have lived forever, it took smiles to keep you alive.
                                      But heroes die, and so did mine.
                                      But you go, and I stay, will it keep you at peace now.
                                      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 6:19 PM.