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

Draconius GO
Closed Thread
 
Thread Tools
  #7326    
Old September 20th, 2012 (1:27 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,508
@passarby: Use of 3 flags is a good idea.
But... do it this way:

Let all 3 OWs have different flags and check them like this:
checkflag 0xflag of the OW
if 0x1 goto "How's my PKMN doing?"
checkflag 0xflag of the different OW
if 0x1 goto "I cannot give you mine"
checkflag 0xflag of the last OW
if 0x1 goto "I cannot give you mine"

By using this script will go to the right #org because the flags will be set differently
__________________
ROM hacking FAQ - Read before asking how to play a hack.

Anime List | PSN Trophy List

Relevant Advertising!

  #7327    
Old September 20th, 2012 (1:14 PM).
Darkrai87 Darkrai87 is offline
     
    Join Date: Dec 2010
    Gender: Male
    Posts: 20
    Quote:
    Originally Posted by Bilaterus View Post
    Hey this is quite a long script with some movement and a battle, I would like to find out what is inevitably wrong with it but it won't let me compile! I keep getting an error message saying 'run time error 13 type mismatch'. I've looked over it and I'm finding it difficult to find a/the mistake I have made. I'm still working on it but if it's saying errors now there's no point carrying on. :O

    Game:
    Fire Red (The best one! Lol)
    Type:
    Level Script
    Editor:
    PokeScript
    Script:
    Spoiler:
    #org $script
    message $hey
    $hey 1 = \c\h01\h08???: Hey!
    boxset 4
    applymovement 0xFF $gotcha
    $gotcha 1 ; #binary 0x10 0x10 0x10 0xFE
    applymovement 6 $gotchme
    $gotchme 1 ; #binary 0x61 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0x1E 0xFE
    pausemove 0x0000
    applymovement 6 $exclam
    $exclam 1 ; #binary 0x62 0xFE
    pausemove 0x0000
    message $hello
    $hello 1 = \c\h01\h08AIDE: Did PROF. OAK give you\nthat POKeMON?
    boxset 5
    compare 0x800D 0x0001
    if 0x01 goto $yes
    message $wah
    $wah 1 = \c\h01\h08WAH?!\pY...You...\pLet's see if you know\nhow to use it, THIEF!
    boxset 6
    fadescreen 1
    applymovement 4 $bye
    $bye 1 ; #binary 0x60 0xFE
    applymovement 5 $bye
    applymovement 7 $seven
    $seven 1 ; #binary 0x61 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE
    applymovement 8 $seven
    applymovement 9 $seven
    applymovement 10 $seven
    applymovement 11 $seven
    applymovement 12 $seven
    applymovement 13 $seven
    pausemove 0x0000
    pause 0x40
    fadescreen 0x00
    pause 0x40
    message $geddit
    $geddit 1 = \c\h01\h08For PROFESSOR OAK!
    boxset 6
    trainerbattle 0x09 0x01 $win $lose
    release
    end

    message $after
    $after 1 = You're tough!
    boxset 6
    release
    end

    #org $win
    applymovement 7 $exclam
    applymovement 8 $exclam
    applymovement 9 $exclam
    applymovement 10 $exclam
    applymovement 11 $exclam
    applymovement 12 $exclam
    applymovement 13 $exclam
    pausemove 0x0000
    message $woah
    $woah 1 = \c\h01\h08W... Wha... I lost?!
    boxset 6
    #raw 0xAC 0x11 0x00 0x0E 0x00
    #raw 0xAE
    message $ooak
    $ooak 1 = \c\h01\h08???:What is going on out here?
    boxset 6
    applymovement 14 $oakapp
    $oakapp 1 ; #binary 0x61 0x10 0xFE
    pausemove 0x0000
    #raw 0xAD 0x11 0x00 0x0E 0x00
    #raw 0xAE
    applymovement 7 $lookleft1
    $lookleft1 1 ; #binary 0x02 0x13 0x65 0xFE
    applymovement 10 $lookleft
    $lookleft 1 ; #binary 0x02 0x65 0xFE
    applymovement 11 $lookleft
    applymovement 13 $lookleft
    applymovement 8 $lookup
    $lookup 1 ; #binary 0x01 0x65 0xFE
    applymovement 9 $lookup
    applymovement 12 $lookup
    pausemove 0x0000
    pausemove 0x30
    applymovement 14 $oakent
    $oakent 1 ; #binary 0x08 0x0A 0x08 0x08 0xFE
    pausemove 0x0000
    message $ohak
    $ohak 1 = \c\h01\h08OAK: AIDEN!
    boxset 6
    applymovement 6 $aiden
    $aiden 1 ; #binary 0x03 0x03 0x02 0x02 0x01 0xFE
    pausemove 0x0000
    message $aidups
    $aidups 1 = Erm...\pSo...\pHow about that job?
    boxset 6
    message $uroak
    $uroak 1 = Leave PALLET TOWN now AIDEN...
    boxset 6
    setvar 0x6003 0x01
    release
    end

    #org $lose
    release
    end

    #org $yes
    message $oh
    $oh 1 = oh coolz
    boxset 6
    release
    end


    Thanks in advance for the help!

    EDIT: For all those with a similar problem I found out that I had too many movements in one offset (i.e
    $seven 1 ; #binary 0x61 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE
    should be cut down to
    $seven 1 ; #binary 0x61 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE
    $seven2 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE
    So yup
    For future reference PokeScript is really buggy and not really supported by many people anymore so be wary.
    __________________
    Currently playing through: Pokemon Flora Sky
      #7328    
    Old September 20th, 2012 (4:35 PM).
    awipe1's Avatar
    awipe1 awipe1 is offline
       
      Join Date: Aug 2012
      Gender: Male
      Posts: 215
      Hey I wrote a script for running shoes, but it doesn't work! Like everything is fine except the player does not recieve the running shoes, when they hold B they won't run! Can someone please tell me why this happens?

      I use XSE 1.1.1 and am moding pokemon fire red
      this is the script
      Spoiler:

      #dynamic 0x800000

      #org @start
      lock
      sound 0x15
      applymovement 0x1 @Move1
      waitmovement 0x0
      msgbox @Talk1 MSG_KEEPOPEN
      closeonkeypress
      pause 0x1E
      applymovement 0x1 @Move2
      waitmovement 0x0
      msgbox @Talk2 MSG_KEEPOPEN
      closeonkeypress
      special 0x171
      fanfare 0x13E
      msgbox @shoe 0x6
      waitfanfare
      msgbox @yay 0x6
      applymovement 0x1 @Move3
      waitmovement 0x0
      setvar 0x4033 0x1
      release
      end

      #org @Move1
      #raw 0x1
      #raw 0x62
      #raw 0xFE

      #org @Talk1
      = Hey! \v\h01!

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

      #org @Move3
      #raw 0x12
      #raw 0x10
      #raw 0x10
      #raw 0x2
      #raw 0xFE

      #org @shoe
      = [Player], received RUNNING SHOES!

      #org @yay
      = Hold the B button to run!\pYou can use these to get around\nfaster!\pProfessor Oak is waiting for you!\nGo outside and go to his lab!

      #org @Talk2
      = Your dad has still not come home\nyet ...\pI'm sure he will be home soon!\pProfessor Oak told me you are\nstarting your Pokemon adventure\ltoday! I think you will need these!
        #7329    
      Old September 20th, 2012 (6:13 PM).
      Alignment's Avatar
      Alignment Alignment is offline
      Revered with the stars
         
        Join Date: Mar 2010
        Gender: Male
        Nature: Lonely
        Posts: 308
        Quote:
        Originally Posted by awipe1 View Post
        Hey I wrote a script for running shoes, but it doesn't work! Like everything is fine except the player does not recieve the running shoes, when they hold B they won't run! Can someone please tell me why this happens?

        I use XSE 1.1.1 and am moding pokemon fire red
        this is the script
        Spoiler:

        #dynamic 0x800000

        #org @start
        lock
        sound 0x15
        applymovement 0x1 @Move1
        waitmovement 0x0
        msgbox @Talk1 MSG_KEEPOPEN
        closeonkeypress
        pause 0x1E
        applymovement 0x1 @Move2
        waitmovement 0x0
        msgbox @Talk2 MSG_KEEPOPEN
        closeonkeypress
        special 0x171
        fanfare 0x13E
        msgbox @shoe 0x6
        waitfanfare
        msgbox @yay 0x6
        applymovement 0x1 @Move3
        waitmovement 0x0
        setvar 0x4033 0x1
        release
        end

        #org @Move1
        #raw 0x1
        #raw 0x62
        #raw 0xFE

        #org @Talk1
        = Hey! \v\h01!

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

        #org @Move3
        #raw 0x12
        #raw 0x10
        #raw 0x10
        #raw 0x2
        #raw 0xFE

        #org @shoe
        = [Player], received RUNNING SHOES!

        #org @yay
        = Hold the B button to run!\pYou can use these to get around\nfaster!\pProfessor Oak is waiting for you!\nGo outside and go to his lab!

        #org @Talk2
        = Your dad has still not come home\nyet ...\pI'm sure he will be home soon!\pProfessor Oak told me you are\nstarting your Pokemon adventure\ltoday! I think you will need these!
        Assuming this is Fire Red, you must set flag 0x82F somewhere in the script.
          #7330    
        Old September 20th, 2012 (10:05 PM).
        firefur firefur is offline
           
          Join Date: Jul 2012
          Gender: Male
          Posts: 4
          I am a first timer on here so please be patiant with me. I am trying to get a simple message script to work for a pokemon hack of mine. I am using XSE. I wrote out my code, saved it as an rbc file, than went to compile it to my fire red ROM, and it said 'unknown keyword 'lock' on line 4.


          Heres the ode im using


          #dynamic 0x800000

          #org @speak
          lock
          faceplayer
          msgbox @blah 0x6
          release
          end

          #org @blah
          See you later -wink-
            #7331    
          Old September 20th, 2012 (10:49 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 firefur View Post
          I am a first timer on here so please be patiant with me. I am trying to get a simple message script to work for a pokemon hack of mine. I am using XSE. I wrote out my code, saved it as an rbc file, than went to compile it to my fire red ROM, and it said 'unknown keyword 'lock' on line 4.


          Heres the ode im using


          #dynamic 0x800000

          #org @speak
          lock
          faceplayer
          msgbox @blah 0x6
          release
          end

          #org @blah
          See you later -wink-
          It sounds like you're using XSE version 1.0 which is known to have problems recognising simple commands. Here's a link to XSE 1.1.1 that will be able to compile your scripts correctly.

          Also, your script can be altered to make it shorter yet still do everything you want it to. Use this script (Minus my explanations):

          Code:
          #dynamic 0x800000
          
          #org @speak
          msgbox @blah 0x2 // the 0x2 type msgbox automatically includes the lock and faceplayer commands
          release
          end
          
          #org @blah
          = See you later  -wink- // You forgot to include the equals sign which indicates that the following text is what should be said in-game
          __________________
            #7332    
          Old September 21st, 2012 (8:27 AM). Edited September 21st, 2012 by firefur.
          firefur firefur is offline
             
            Join Date: Jul 2012
            Gender: Male
            Posts: 4
            Thanks so much! The code you gave me worked without having to update (though I probably still will lol)

            Ran into another problem....

            The code compiles and it gives me the offsets. I click the player in Advancemap, put in the script offset, and save my changes, but when I loa the rom to test it, the NPC says nothing. Any ideas on how to fix this? I have tried with both offsets given (though im fairly sure you use the one on the top), and I still can't get them to speak.

            Thanks for your time in advance :D
              #7333    
            Old September 21st, 2012 (3:58 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 firefur View Post
            Thanks so much! The code you gave me worked without having to update (though I probably still will lol)

            Ran into another problem....

            The code compiles and it gives me the offsets. I click the player in Advancemap, put in the script offset, and save my changes, but when I loa the rom to test it, the NPC says nothing. Any ideas on how to fix this? I have tried with both offsets given (though im fairly sure you use the one on the top), and I still can't get them to speak.

            Thanks for your time in advance :D
            Once again, that has to do with having an outdated version of XSE :P
            __________________
              #7334    
            Old September 21st, 2012 (5:57 PM).
            Renegade's Avatar
            Renegade Renegade is offline
            Time for real life...
               
              Join Date: Nov 2011
              Location: United States
              Gender: Male
              Nature: Careful
              Posts: 998
              Quote:
              Originally Posted by firefur View Post
              Thanks so much! The code you gave me worked without having to update (though I probably still will lol)

              Ran into another problem....

              The code compiles and it gives me the offsets. I click the player in Advancemap, put in the script offset, and save my changes, but when I loa the rom to test it, the NPC says nothing. Any ideas on how to fix this? I have tried with both offsets given (though im fairly sure you use the one on the top), and I still can't get them to speak.

              Thanks for your time in advance :D
              As DrFuji said, you need a major update I have a link for you:
              http://www.mediafire.com/?1p31j337yes50io
                #7335    
              Old September 22nd, 2012 (2:21 PM).
              firefur firefur is offline
                 
                Join Date: Jul 2012
                Gender: Male
                Posts: 4
                Thanks guys, it's working great!
                  #7336    
                Old September 27th, 2012 (1:42 AM).
                BOH BOH is offline
                   
                  Join Date: Aug 2007
                  Posts: 31
                  Hi, i've two questions

                  1. Using PKSV, i've edited a signpost script inserted a checkflag:

                  #dynamic 0x814D7F6
                  #org @main
                  lockall
                  checkflag 0x51
                  if true call @text
                  releaseall
                  end

                  #org @text
                  msgbox 0x816AE50
                  callstd MSG_NOCLOSE ' Non-closing message
                  return

                  #org 0x816AE50
                  = my message

                  I've compiled all but when i reopen this script there are only four lines saying:

                  #org 0x814D7F6
                  '-----------------------------------
                  loadpointer 0xF 0x16AE5000
                  'Pointer not in ROM area
                  jumpstd 0x9

                  where is the error?

                  2. I wanna lock or open a door depending on a flag. If locked i want to display a message, else hero can enter normally. How can i do this?

                  Thanks a lot
                  __________________
                  Trucchi, Soluzioni, Guide, Cheats e Rom Pokemon Diamante e Perla, Hack roms complete e in costruzione, Hack rom tools, Videogames, Photoshop e tanto tanto altro....basta un click
                    #7337    
                  Old September 27th, 2012 (6:59 AM).
                  Avonly's Avatar
                  Avonly Avonly is offline
                     
                    Join Date: Sep 2012
                    Gender: Female
                    Posts: 4
                    I am a person, who don't know anything about rom editing.
                    I would like to ask you, users, for help.

                    What I am interested,
                    is a change boy
                    Spoiler:
                    oi45.tinypic.com/2r6yz2b.jpg
                    on a girl sprites.
                    Spoiler:
                    oi49.tinypic.com/2n1hvn6.jpg

                    There are many editing programs, but only Tile Layer Pro and Molester support R/B/Y versions.
                    Work in them is too complicated for someone like me, inexperienced.


                    Moderators don't want to accept a separate topic, so write it here.
                      #7338    
                    Old September 27th, 2012 (7:06 AM).
                    Nate VonGrimm's Avatar
                    Nate VonGrimm Nate VonGrimm is offline
                       
                      Join Date: Oct 2011
                      Location: Uxbridge
                      Age: 26
                      Gender: Male
                      Nature: Relaxed
                      Posts: 124
                      Quote:
                      Originally Posted by Avonly View Post
                      I am a person, who don't know anything about rom editing.
                      I would like to ask you, users, for help.

                      What I am interested,
                      is a change boy
                      Spoiler:
                      oi45.tinypic.com/2r6yz2b.jpg
                      on a girl sprites.
                      Spoiler:
                      oi49.tinypic.com/2n1hvn6.jpg

                      There are many editing programs, but only Tile Layer Pro and Molester support R/B/Y versions.
                      Work in them is too complicated for someone like me, inexperienced.


                      Moderators don't want to accept a separate topic, so write it here.
                      This question is best asked at the 'Simple Questions' thread.
                      This thread is for script help.

                      And the mods won't accept a new thread for it because there is already a couple a question threads around for people to ask these questions.
                      __________________
                      Currently working on a new Pokemon Hack with an in-depth story line!
                      That's about as much as you're going to get for now...


                        #7339    
                      Old September 27th, 2012 (8:33 AM).
                      Avonly's Avatar
                      Avonly Avonly is offline
                         
                        Join Date: Sep 2012
                        Gender: Female
                        Posts: 4
                        Okay, Nate VonGrimm. I write there too.
                        I hope it will not taken as spam (ask the same question).
                          #7340    
                        Old September 27th, 2012 (9:46 AM).
                        Alignment's Avatar
                        Alignment Alignment is offline
                        Revered with the stars
                           
                          Join Date: Mar 2010
                          Gender: Male
                          Nature: Lonely
                          Posts: 308
                          Quote:
                          Originally Posted by BOH View Post
                          Hi, i've two questions

                          1. Using PKSV, i've edited a signpost script inserted a checkflag:

                          #dynamic 0x814D7F6
                          #org @main
                          lockall
                          checkflag 0x51
                          if true call @text
                          releaseall
                          end

                          #org @text
                          msgbox 0x816AE50
                          callstd MSG_NOCLOSE ' Non-closing message
                          return

                          #org 0x816AE50
                          = my message

                          I've compiled all but when i reopen this script there are only four lines saying:

                          #org 0x814D7F6
                          '-----------------------------------
                          loadpointer 0xF 0x16AE5000
                          'Pointer not in ROM area
                          jumpstd 0x9

                          where is the error?

                          2. I wanna lock or open a door depending on a flag. If locked i want to display a message, else hero can enter normally. How can i do this?

                          Thanks a lot
                          Question 1) change your #dyn to something inside the ROM, i.e 0x740000

                          Question 2) You can do this two ways. A simple setmaptile checking a flag, or a walk_down if the flag isn't set. To so both of these you need the same skeleton as you made in question 1. Instead of else you have to just continue the script, there aren't anything like parameters in any scripting program (to my knowledge).

                          It's important to note that the flag being true or false is dependent on which situation you're going to use. For example the walk_down will require the flag to be unset, where as the setmaptile will require it to be set (to follow the same general skeleton atleast).

                          Spoiler:

                          #dyn 0x740000
                          #org @start
                          lockall
                          checkflag 0x[whatever the flag is]
                          if true jump @flag_set
                          msgbox @text
                          callstd MSG_NORMAL
                          release
                          end

                          #org @flag_set
                          'Here you either do the text message walk down or the setmaptile
                          'it's just appymovement PLAYER @walkdown
                          'for setmaptile the sytnax is:
                          'setmaptile X Y tile movement-permission
                          'followed by the special
                          releaseall
                          end


                          That's all in PKSV btw.
                            #7341    
                          Old September 28th, 2012 (12:29 AM).
                          BOH BOH is offline
                             
                            Join Date: Aug 2007
                            Posts: 31
                            Thanks for your reply.

                            I did not understand exacly the first point. What's the meaning of "something inside the rom"? The offset i've used #dynamic 0x814D7F6 is the same offset that previusly belonged to a signpost, so it should be in the rom.

                            Another question: i known how to use flag but i don't known how to known which one is to use...sorry for the pun with known :P
                            __________________
                            Trucchi, Soluzioni, Guide, Cheats e Rom Pokemon Diamante e Perla, Hack roms complete e in costruzione, Hack rom tools, Videogames, Photoshop e tanto tanto altro....basta un click
                              #7342    
                            Old September 28th, 2012 (6:11 AM).
                            Alignment's Avatar
                            Alignment Alignment is offline
                            Revered with the stars
                               
                              Join Date: Mar 2010
                              Gender: Male
                              Nature: Lonely
                              Posts: 308
                              Quote:
                              Originally Posted by BOH View Post
                              Thanks for your reply.

                              I did not understand exacly the first point. What's the meaning of "something inside the rom"? The offset i've used #dynamic 0x814D7F6 is the same offset that previusly belonged to a signpost, so it should be in the rom.

                              Another question: i known how to use flag but i don't known how to known which one is to use...sorry for the pun with known
                              I'm pretty sure when you decompile an offset it puts an 8 infront. So the offset is really 0x14D7F6. When you re-script the entire thing you take out the 8. It's also a better idea not to replace old text signs with larger scripts because it may overwrite something other than what you're trying to.

                              Your last statement sorta doesn't make grammatical sense so it's hard to decipher what you're trying to say. What I gather is that you're not sure what flags to use? Just use the same flag you use to makesure the player obtains the 'key' or whatever.
                                #7343    
                              Old October 2nd, 2012 (7:56 PM).
                              Rogue42's Avatar
                              Rogue42 Rogue42 is offline
                              Ninja
                                 
                                Join Date: Aug 2012
                                Gender: Female
                                Nature: Relaxed
                                Posts: 9
                                Game: Fire Red
                                System: XSE
                                Type: One time script

                                Ok I have been trying to figure out how to make a script happen only once and have had no luck. Can anyone explain how the script for oak happens only once?
                                __________________
                                  #7344    
                                Old October 2nd, 2012 (10:20 PM).
                                destinedjagold's Avatar
                                destinedjagold destinedjagold is offline
                                Oh Hai Thar~
                                • Silver Tier
                                 
                                Join Date: May 2007
                                Location: Philippines
                                Age: 27
                                Gender: Male
                                Nature: Careful
                                Posts: 8,574
                                Quote:
                                Originally Posted by Rogue42 View Post
                                Game: Fire Red
                                System: XSE
                                Type: One time script

                                Ok I have been trying to figure out how to make a script happen only once and have had no luck. Can anyone explain how the script for oak happens only once?
                                What you need are the ones called "flags".
                                For example...
                                Code:
                                #dynamic 0x800000
                                
                                #org @start
                                lock
                                faceplayer
                                checkflag 0x1000
                                if 0x1 goto @talked_already
                                message @1 6
                                setflag 0x1000
                                release
                                end
                                
                                #org @talked_already
                                message @2 6
                                release
                                end
                                
                                #org @1
                                = Hello. How are you?
                                
                                #org @2
                                = Um... You already talked to me.
                                There are tutorials explaining about flags in the scripting tutorials found in the Tutorials section.
                                I advice you to take a look there.
                                __________________


                                FC: 0061-1111-6462
                                TSV: 1364(X), 0790(OR)

                                  #7345    
                                Old October 3rd, 2012 (7:14 AM).
                                Pokeymaster1000's Avatar
                                Pokeymaster1000 Pokeymaster1000 is offline
                                   
                                  Join Date: Oct 2012
                                  Posts: 4
                                  Im working on making a hack of Fire Red im using XSE im working on a basic script I have even watched tutorials but it still wont work

                                  here's the script I used:

                                  #dynamic 0x456734

                                  #org @start
                                  lock
                                  faceplayer
                                  msgbox @talk 0x6
                                  release
                                  end
                                  #org @talk
                                  = Hi , this is my first script!
                                    #7346    
                                  Old October 3rd, 2012 (12:25 PM).
                                  Renegade's Avatar
                                  Renegade Renegade is offline
                                  Time for real life...
                                     
                                    Join Date: Nov 2011
                                    Location: United States
                                    Gender: Male
                                    Nature: Careful
                                    Posts: 998
                                    Quote:
                                    Originally Posted by Pokeymaster1000 View Post
                                    Im working on making a hack of Fire Red im using XSE im working on a basic script I have even watched tutorials but it still wont work

                                    here's the script I used:

                                    #dynamic 0x456734

                                    #org @start
                                    lock
                                    faceplayer
                                    msgbox @talk 0x6
                                    release
                                    end
                                    #org @talk
                                    = Hi , this is my first script!
                                    First off, you don't need to put in a custom #dynamic offset. XSE will find free space automatically, so just keep it as 0x800000. You also need to put a space between "end" and "#org @talk".
                                      #7347    
                                    Old October 3rd, 2012 (12:29 PM).
                                    Rise_of_Darkrai's Avatar
                                    Rise_of_Darkrai Rise_of_Darkrai is offline
                                       
                                      Join Date: Sep 2012
                                      Gender: Male
                                      Posts: 7
                                      I'm working on a hack right now and I'm wondering how to create a warp from a pokemon event, like if you engage a legendary, i want it to send me somewhere. Can anyone give me some advice?

                                      Also, does anyone know where I can find script and hex editing tutorials besides youtube, I'm better at reading than watching video. And I would like to know how to remove the Birch event so I can just access the bag.

                                      Another note, when I click the gears, it just compiles in the bottom left corner but the box to obtain the offsets doesn't show at all. Am I doing something wrong?
                                        #7348    
                                      Old October 3rd, 2012 (3:27 PM).
                                      shinyabsol1's Avatar
                                      shinyabsol1 shinyabsol1 is offline
                                      Pokemon DarkJasper!?
                                         
                                        Join Date: Aug 2010
                                        Gender: Male
                                        Nature: Calm
                                        Posts: 330
                                        Quote:
                                        Originally Posted by Rise_of_Darkrai
                                        I'm working on a hack right now and I'm wondering how to create a warp from a pokemon event, like if you engage a legendary, i want it to send me somewhere. Can anyone give me some advice?
                                        You use the warp command. Simple as that.

                                        Quote:
                                        Also, does anyone know where I can find script and hex editing tutorials besides youtube, I'm better at reading than watching video. And I would like to know how to remove the Birch event so I can just access the bag.
                                        Good scripting tutorial: http://www.pokecommunity.com/showthread.php?t=164276

                                        google to find a hex editing tut (or there might be one in the tutorial section, idk)

                                        Quote:
                                        Another note, when I click the gears, it just compiles in the bottom left corner but the box to obtain the offsets doesn't show at all. Am I doing something wrong?
                                        Sometimes this happens (to me, at least) after decompiling a script, then trying to compile a new script in another tab. Try closing xse, then opening it again before compiling. And if that's not the problem, then perhaps your xse isn't version 1.1.1. You'll want to update it if that's the case.
                                          #7349    
                                        Old October 4th, 2012 (5:48 PM).
                                        Rise_of_Darkrai's Avatar
                                        Rise_of_Darkrai Rise_of_Darkrai is offline
                                           
                                          Join Date: Sep 2012
                                          Gender: Male
                                          Posts: 7
                                          [QUOTE=shinyabsol1;7361165]You use the warp command. Simple as that.

                                          Thanks for that. How exactly does the warp command work in scripting?
                                            #7350    
                                          Old October 4th, 2012 (6:13 PM).
                                          Renegade's Avatar
                                          Renegade Renegade is offline
                                          Time for real life...
                                             
                                            Join Date: Nov 2011
                                            Location: United States
                                            Gender: Male
                                            Nature: Careful
                                            Posts: 998
                                            [QUOTE=Rise_of_Darkrai;7362075]
                                            Quote:
                                            Originally Posted by shinyabsol1 View Post
                                            You use the warp command. Simple as that.

                                            Thanks for that. How exactly does the warp command work in scripting?
                                            Check out this tutorial, you should find the warp command in it:
                                            http://www.pokecommunity.com/showthread.php?t=164276
                                            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 2:16 AM.