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
  #76    
Old December 26th, 2008 (3:07 PM).
BananasGoMoo's Avatar
BananasGoMoo BananasGoMoo is offline
Pokemon Electrum
     
    Join Date: Dec 2008
    Location: Richmond, California
    Age: 26
    Gender:
    Nature: Lax
    Posts: 149
    ok well I updated XSE. whats new in this version? and how did you know I had an old version?
    __________________
    This signature has been disabled.
    Images in the spoiler tags still count; remove the images in the spoiler tags -- too tall.
    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.

    Relevant Advertising!

      #77    
    Old December 26th, 2008 (3:12 PM).
    12345's Avatar
    12345 12345 is offline
    Sky
       
      Join Date: Aug 2007
      Gender: Male
      Nature: Calm
      Posts: 410
      can you explan me how to use "callasm" in Ruby?
      And when I use "showpokepic", the color of Pokemon is changed?
        #78    
      Old December 26th, 2008 (5:06 PM).
      Ninja Caterpie's Avatar
      Ninja Caterpie Ninja Caterpie is offline
      Sitting by the back window
         
        Join Date: Mar 2008
        Location: Best City OCE
        Age: 21
        Gender: Male
        Nature: Bold
        Posts: 5,988
        Quote:
        Originally Posted by BananasGoMoo View Post
        ok well I updated XSE. whats new in this version? and how did you know I had an old version?
        Because you used "boxset 6". In the new version, it's just
        Code:
        message  0x
        Anyway...
        Quote:
        can you explan me how to use "callasm" in Ruby?
        Callasm is used to call some special thing that you've inserted into the ROM, like with that Shiny Creator program thing. :\
        __________________
        Brony represent.
          #79    
        Old December 26th, 2008 (5:33 PM).
        ShakawBR ShakawBR is offline
           
          Join Date: May 2008
          Gender:
          Posts: 18
          Can someone show me an example of a Wildbattle script (legendary) for Emerald Version...

          Thanks in advance
            #80    
          Old December 26th, 2008 (6:39 PM).
          Ninja Caterpie's Avatar
          Ninja Caterpie Ninja Caterpie is offline
          Sitting by the back window
             
            Join Date: Mar 2008
            Location: Best City OCE
            Age: 21
            Gender: Male
            Nature: Bold
            Posts: 5,988
            Quote:
            Originally Posted by ShakawBR View Post
            Can someone show me an example of a Wildbattle script (legendary) for Emerald Version...

            Thanks in advance
            Go to the Groudon Script and open it. There's your example right in the game.
            __________________
            Brony represent.
              #81    
            Old December 26th, 2008 (6:57 PM). Edited December 26th, 2008 by ShakawBR.
            ShakawBR ShakawBR is offline
               
              Join Date: May 2008
              Gender:
              Posts: 18
              Quote:
              Originally Posted by Ninja Caterpie View Post
              Go to the Groudon Script and open it. There's your example right in the game.
              I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

              thanks anyway...

              here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

              Spoiler:
              #org 0x86B46BC
              '-----------------------------------
              cry 0x96 0x0
              message 0x8E3D01F ' Mewtwo: GRRR!
              waitcry
              playsound 0x0 0x0
              waitbutton
              battle 0x96 0x46 0x0
              fadescreen 0x1 ' Fade screen to black
              setflag 0x1001
              fadescreen 0x0 ' Fade back into the action from black
              release
              end


              #org 0x8E3D01F
              = Mewtwo: GRRR!
                #82    
              Old December 26th, 2008 (8:33 PM).
              Vrai's Avatar
              Vrai Vrai is offline
              can you feel my heart?
              • Crystal Tier
               
              Join Date: Jun 2008
              Age: 23
              Gender: Male
              Nature: Adamant
              Posts: 2,898
              The command "battle" doesn't exist in XSE. Try "wildbattle".
              __________________
                #83    
              Old December 27th, 2008 (1:06 AM).
              Hiche.. Hiche.. is offline
               
                 
                Join Date: Apr 2008
                Posts: 981
                Quote:
                Originally Posted by ShakawBR View Post
                I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

                thanks anyway...

                here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

                Spoiler:
                #org 0x86B46BC
                '-----------------------------------
                cry 0x96 0x0
                message 0x8E3D01F ' Mewtwo: GRRR!
                waitcry
                playsound 0x0 0x0
                waitbutton
                battle 0x96 0x46 0x0
                fadescreen 0x1 ' Fade screen to black
                setflag 0x1001
                fadescreen 0x0 ' Fade back into the action from black
                release
                end


                #org 0x8E3D01F
                = Mewtwo: GRRR!
                I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.
                  #84    
                Old December 27th, 2008 (1:26 AM).
                Madridista's Avatar
                Madridista Madridista is offline
                -#666
                   
                  Join Date: Nov 2008
                  Location: Sydney, Australia
                  Age: 21
                  Gender:
                  Posts: 40
                  Game: Fire Red
                  Type: Trigger
                  Editor: eXtreme Script Editor
                  Problem: The script won't even start and the game freezes.
                  Script:
                  Spoiler:
                  #dynamic 0x800000

                  #org @main
                  lock
                  checkflag 0x200
                  if 0x1 goto @yes
                  if 0x0 goto @no
                  end

                  #org @yes
                  end

                  #org @no
                  fadescreen 0x1
                  msgbox @help
                  callstd 0x6
                  msgbox @mum
                  callstd 0x6
                  msgbox @help2
                  callstd 0x6
                  fadescreen 0x0
                  msgbox @mum2
                  callstd 0x6
                  release
                  end

                  #org @help
                  = Mum: \v\h01, help!

                  #org @mum
                  = \v\h01: Mum?!\pWhere are you?!

                  #org @help2
                  = Mum: Help!

                  #org @mum2
                  = \v\h01: Mum!
                    #85    
                  Old December 27th, 2008 (1:35 AM).
                  Hiche.. Hiche.. is offline
                   
                     
                    Join Date: Apr 2008
                    Posts: 981
                    Quote:
                    Originally Posted by Madridista View Post
                    Game: Fire Red
                    Type: Trigger
                    Editor: eXtreme Script Editor
                    Problem: The script won't even start and the game freezes.
                    Script:
                    Spoiler:
                    #dynamic 0x800000

                    #org @main
                    lock
                    checkflag 0x200
                    if 0x1 goto @yes
                    if 0x0 goto @no
                    end

                    #org @yes
                    end

                    #org @no
                    fadescreen 0x1
                    msgbox @help
                    callstd 0x6
                    msgbox @mum
                    callstd 0x6
                    msgbox @help2
                    callstd 0x6
                    fadescreen 0x0
                    msgbox @mum2
                    callstd 0x6
                    release
                    end

                    #org @help
                    = Mum: \v\h01, help!

                    #org @mum
                    = \v\h01: Mum?!\pWhere are you?!

                    #org @help2
                    = Mum: Help!

                    #org @mum2
                    = \v\h01: Mum!
                    Did you set the Unknown to 0003, and var number to 5040, or 4050 in Advance Map? Also, are you using the new version of XSE, or old one?
                      #86    
                    Old December 27th, 2008 (3:23 AM).
                    HackMew's Avatar
                    HackMew HackMew is offline
                    Mewtwo Strikes Back
                    • Crystal Tier
                     
                    Join Date: Jun 2006
                    Posts: 1,314
                    Quote:
                    Originally Posted by ShakawBR View Post
                    I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

                    thanks anyway...

                    here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

                    Spoiler:
                    #org 0x86B46BC
                    '-----------------------------------
                    cry 0x96 0x0
                    message 0x8E3D01F ' Mewtwo: GRRR!
                    waitcry
                    playsound 0x0 0x0
                    waitbutton
                    battle 0x96 0x46 0x0
                    fadescreen 0x1 ' Fade screen to black
                    setflag 0x1001
                    fadescreen 0x0 ' Fade back into the action from black
                    release
                    end


                    #org 0x8E3D01F
                    = Mewtwo: GRRR!
                    Using the new XSE there are two wildbattle constructs: wildbattle and wildbattle2. The latter is the one which includes a special. The first one instead is the one which is a "common" battle.

                    Note: since I don't know what the people # is on AM (the Mewtwo one) I just used 0x1 as a matter of example. Change it eventually.

                    Spoiler:
                    #dynamic 0x86B46BC

                    #org @start
                    cry 0x96 0x0
                    message @grr
                    waitcry
                    wildbattle 0x96 0x46 0x0
                    fadescreen 0x1
                    hidesprite 0x1
                    setflag 0x1001
                    fadescreen 0x0
                    release
                    end

                    #org @grr
                    = Mewtwo: GRRR!


                    Quote:
                    Originally Posted by Hiche View Post
                    I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.
                    The fact is wildbattle wasn't a command earlier. It was a construct and still is, with a new companion, that is wildbattle2. Explanation above or in the Command Help.


                    Quote:
                    Originally Posted by Madridista View Post
                    Game: Fire Red
                    Type: Trigger
                    Editor: eXtreme Script Editor
                    Problem: The script won't even start and the game freezes.
                    Script:
                    Spoiler:
                    #dynamic 0x800000

                    #org @main
                    lock
                    checkflag 0x200
                    if 0x1 goto @yes
                    if 0x0 goto @no
                    end

                    #org @yes
                    end

                    #org @no
                    fadescreen 0x1
                    msgbox @help
                    callstd 0x6
                    msgbox @mum
                    callstd 0x6
                    msgbox @help2
                    callstd 0x6
                    fadescreen 0x0
                    msgbox @mum2
                    callstd 0x6
                    release
                    end

                    #org @help
                    = Mum: \v\h01, help!

                    #org @mum
                    = \v\h01: Mum?!\pWhere are you?!

                    #org @help2
                    = Mum: Help!

                    #org @mum2
                    = \v\h01: Mum!
                    Pretty screwed up...
                    Please update your copy of XSE and read the new guide as well.
                    Don't forget to se up the trigger like this:




                    Spoiler:
                    #dynamic 0x800000

                    #org @main
                    lock
                    checkflag 0x1000
                    if 0x1 goto @yes
                    fadescreen 0x1
                    msgbox @help 0x6
                    msgbox @mum 0x6
                    msgbox @help2 0x6
                    fadescreen 0x0
                    msgbox @mum2 0x6
                    setflag 0x1000
                    release
                    end

                    #org @yes
                    release
                    end

                    #org @help
                    = Mum: \v\h01, help!

                    #org @mum
                    = \v\h01: Mum?!\pWhere are you?!

                    #org @help2
                    = Mum: Help!

                    #org @mum2
                    = \v\h01: Mum!



                    EDIT: Proving a proper example for the use of the [SOLVED] tag.
                    __________________
                      #87    
                    Old December 27th, 2008 (5:50 AM).
                    ShakawBR ShakawBR is offline
                       
                      Join Date: May 2008
                      Gender:
                      Posts: 18
                      Quote:
                      Originally Posted by Vrai View Post
                      The command "battle" doesn't exist in XSE. Try "wildbattle".
                      I tried it now but I get a mismatch error on "wildbattle" line
                        #88    
                      Old December 27th, 2008 (6:26 AM).
                      HackMew's Avatar
                      HackMew HackMew is offline
                      Mewtwo Strikes Back
                      • Crystal Tier
                       
                      Join Date: Jun 2006
                      Posts: 1,314
                      Quote:
                      Originally Posted by ShakawBR View Post
                      I tried it now but I get a mismatch error on "wildbattle" line
                      I just noticed your #dynamic was wrong.
                      And that I was missing a param for message. The rest is perfect though.
                      See the script below:

                      Spoiler:
                      #dynamic 0x6B46BC

                      #org @start
                      cry 0x96 0x0
                      message @grr 0x6
                      waitcry
                      wildbattle 0x96 0x46 0x0
                      fadescreen 0x1
                      hidesprite 0x1
                      setflag 0x1001
                      fadescreen 0x0
                      release
                      end

                      #org @grr
                      = Mewtwo: GRRR!
                      __________________
                        #89    
                      Old December 27th, 2008 (8:31 AM).
                      Hoshiko Aki's Avatar
                      Hoshiko Aki Hoshiko Aki is offline
                      Avatar rules
                         
                        Join Date: Oct 2008
                        Posts: 109
                        Help with this give away script using XSE

                        Whats wrong with it?

                        He say's something wrong on line 5

                        Code:
                        #dynamic 0x800000
                        #org @start
                        checkflag 0x828
                        if 0x1 goto @done
                        msgbox @1
                        boxset 0x5
                        compare LASTRESULT 0x1
                        if 0x1 goto @take
                        msgbox @2
                        boxset 0x6
                        release
                        end
                        
                        #org @take
                        givepokemon 0x98 0x4 0x0 0x0 0x0 0x0
                        fanfare 0x13E
                        msgbox @3
                        boxset 0x4
                        waitfanfare
                        closeonkeypress
                        setflag 0x828
                        msgbox @4
                        boxset 0x5
                        compare LASTRESULT 0x1
                        if 0x1 gosub @name
                        msgbox @5
                        boxset 0x6
                        release
                        end
                        
                        #org @name
                        call 0x1A74EB
                        return
                        
                        #org @done
                        msgbox @6
                        boxset 0x6
                        release
                        end
                        
                        #org @1
                        = Hello.\nSorry to trouble you.\nI can't take care\nof my Krabby.\pCan you take care of\nit for me?
                        
                        #org @2
                        = That's okay.\pI'm sure someone else will\ntake it.
                        
                        #org @3
                        = \c\h01\h02You received a Krabby!
                        
                        #org @4
                        = \c\h01\h02Would you like to give a\nnickname to Krabby?
                        
                        #org @5
                        = Please take care of\nKrabby.
                        
                        #org @6
                        = Are you taking good care\nof krabby?
                          #90    
                        Old December 27th, 2008 (8:33 AM).
                        Vrai's Avatar
                        Vrai Vrai is offline
                        can you feel my heart?
                        • Crystal Tier
                         
                        Join Date: Jun 2008
                        Age: 23
                        Gender: Male
                        Nature: Adamant
                        Posts: 2,898
                        You have the new XSE, right?

                        You have to move the boxset type up to the msgbox line now. So, it'd be:

                        Code:
                        msgbox @1 0x5
                        That goes for all of the msgbox commands.
                        __________________
                          #91    
                        Old December 27th, 2008 (8:38 AM).
                        Hoshiko Aki's Avatar
                        Hoshiko Aki Hoshiko Aki is offline
                        Avatar rules
                           
                          Join Date: Oct 2008
                          Posts: 109
                          @vrai :

                          I must change the

                          Code:
                          msgbox @1
                          to
                          Code:
                          msgbox @1 0x5
                          And yes I'm using the new XSE
                            #92    
                          Old December 27th, 2008 (8:40 AM).
                          Vrai's Avatar
                          Vrai Vrai is offline
                          can you feel my heart?
                          • Crystal Tier
                           
                          Join Date: Jun 2008
                          Age: 23
                          Gender: Male
                          Nature: Adamant
                          Posts: 2,898
                          Yes, do that. And remove the "boxset 0x5" line. :D
                          __________________
                            #93    
                          Old December 27th, 2008 (8:43 AM).
                          Hiche.. Hiche.. is offline
                           
                             
                            Join Date: Apr 2008
                            Posts: 981
                            Ichiro, I fixed your script

                            Spoiler:
                            #dynamic 0x800000

                            #org @start
                            checkflag 0x828
                            if 0x1 goto @done
                            msgbox @1 0x5
                            compare LASTRESULT 0x1
                            if 0x1 goto @take
                            msgbox @2 0x6
                            release
                            end

                            #org @take
                            givepokemon 0x98 0x4 0x0 0x0 0x0 0x0
                            fanfare 0x13E
                            msgbox @3 0x4
                            waitfanfare
                            closeonkeypress
                            setflag 0x828
                            msgbox @4 0x5
                            compare LASTRESULT 0x1
                            if 0x1 gosub @name
                            msgbox @5 0x6
                            release
                            end

                            #org @name
                            setvar 0x8004 0x00
                            call 0x1A74EB
                            return

                            #org @done
                            msgbox @6 0x6
                            release
                            end

                            #org @1
                            = Hello.\nSorry to trouble you.\nI can't take care\nof my Krabby.\pCan you take care of\nit for me?

                            #org @2
                            = That's okay.\pI'm sure someone else will\ntake it.

                            #org @3
                            = \c\h01\h02You received a Krabby!

                            #org @4
                            = \c\h01\h02Would you like to give a\nnickname to Krabby?

                            #org @5
                            = Please take care of\nKrabby.

                            #org @6
                            = Are you taking good care\nof krabby?


                            Also, read the new XSE guide. It's very helpful.
                              #94    
                            Old December 27th, 2008 (8:45 AM).
                            Hoshiko Aki's Avatar
                            Hoshiko Aki Hoshiko Aki is offline
                            Avatar rules
                               
                              Join Date: Oct 2008
                              Posts: 109
                              Thanks a lot both of you.

                              Can somebuddy tell me how to make a give away script with no trainer? i mean you walk on one spot en then you get that pokemon
                                #95    
                              Old December 27th, 2008 (8:48 AM).
                              Konekodemon's Avatar
                              Konekodemon Konekodemon is offline
                              The Master of Pokemon Breeding
                              • Crystal Tier
                               
                              Join Date: Mar 2007
                              Location: NC
                              Age: 33
                              Gender: Female
                              Nature: Gentle
                              Posts: 1,974
                              how do I change the title screen, you know the title screen that pops up after the intro with the name of the game on it, how do I change the picture on it
                              __________________

                              Please check out my InuYasha fanfiction and tell me what you think.
                              Sign up for Vizzard to play free Retro Games online: http://www.vizzed.com/boards/profile.php?id=231549&ref=61528
                              Get a Free PS3, this is no joke: http://www.YourPS34free.com/index.php?ref=5580831
                                #96    
                              Old December 27th, 2008 (8:50 AM).
                              ShakawBR ShakawBR is offline
                                 
                                Join Date: May 2008
                                Gender:
                                Posts: 18
                                I DID IT!! =D

                                and here's the script:
                                Spoiler:
                                '---------------
                                #org 0x6D1596
                                cry 0x96 0x0
                                msgbox 0x86D15B8 MSG_NORMAL '"Mewtwo: GRRR!"
                                waitcry
                                wildbattle 0x96 0x46 0x0
                                fadescreen 0x1
                                hidesprite LASTTALKED
                                setflag 0x1001
                                fadescreen 0x0
                                release
                                end


                                '---------
                                ' Strings
                                '---------
                                #org 0x6D15B8
                                = Mewtwo: GRRR!


                                but how do I change the background and the music

                                by the way... the battle music is strange...
                                  #97    
                                Old December 27th, 2008 (8:52 AM).
                                Konekodemon's Avatar
                                Konekodemon Konekodemon is offline
                                The Master of Pokemon Breeding
                                • Crystal Tier
                                 
                                Join Date: Mar 2007
                                Location: NC
                                Age: 33
                                Gender: Female
                                Nature: Gentle
                                Posts: 1,974
                                what does that have to do with my question
                                __________________

                                Please check out my InuYasha fanfiction and tell me what you think.
                                Sign up for Vizzard to play free Retro Games online: http://www.vizzed.com/boards/profile.php?id=231549&ref=61528
                                Get a Free PS3, this is no joke: http://www.YourPS34free.com/index.php?ref=5580831
                                  #98    
                                Old December 27th, 2008 (8:54 AM).
                                Hiche.. Hiche.. is offline
                                 
                                   
                                  Join Date: Apr 2008
                                  Posts: 981
                                  Quote:
                                  Originally Posted by Konekodemon View Post
                                  how do I change the title screen, you know the title screen that pops up after the intro with the name of the game on it, how do I change the picture on it
                                  Quote:
                                  Originally Posted by Konekodemon View Post
                                  what does that have to do with my question
                                  This is not really the place to be asking how to change the title screen. Read some tutorials, or ask in the Simple question thread.
                                    #99    
                                  Old December 27th, 2008 (8:57 AM).
                                  Vrai's Avatar
                                  Vrai Vrai is offline
                                  can you feel my heart?
                                  • Crystal Tier
                                   
                                  Join Date: Jun 2008
                                  Age: 23
                                  Gender: Male
                                  Nature: Adamant
                                  Posts: 2,898
                                  Quote:
                                  Originally Posted by Konekodemon View Post
                                  what does that have to do with my question
                                  Also, please don't be rude. Not everybody who posts here is entirely concerned with your problem.

                                  We're starting to get out of the correct format. Everyone else who needs help with a problem here needs to post in the format specified in this post.

                                  If you don't, you probably won't get help. :D
                                  __________________
                                    #100    
                                  Old December 27th, 2008 (9:16 AM).
                                  HackMew's Avatar
                                  HackMew HackMew is offline
                                  Mewtwo Strikes Back
                                  • Crystal Tier
                                   
                                  Join Date: Jun 2006
                                  Posts: 1,314
                                  Quote:
                                  Originally Posted by ShakawBR View Post
                                  and here's the script:
                                  Spoiler:
                                  '---------------
                                  #org 0x6D1596
                                  cry 0x96 0x0
                                  msgbox 0x86D15B8 MSG_NORMAL '"Mewtwo: GRRR!"
                                  waitcry
                                  wildbattle 0x96 0x46 0x0
                                  fadescreen 0x1
                                  hidesprite LASTTALKED
                                  setflag 0x1001
                                  fadescreen 0x0
                                  release
                                  end


                                  '---------
                                  ' Strings
                                  '---------
                                  #org 0x6D15B8
                                  = Mewtwo: GRRR!


                                  but how do I change the background and the music

                                  by the way... the battle music is strange...
                                  Don't forget the [SOLVED] tag, okay? Anyways, the battle music isn't that strange. But after all you aren't supposed to battle Pokémon in Littleroot Town :P You may want to try wildbattle2. It has an extra param that can be useful to get the "legend" style.


                                  Quote:
                                  Originally Posted by Ichiro Kazuki View Post
                                  Help with this give away script using XSE

                                  Whats wrong with it?

                                  He say's something wrong on line 5 [...]
                                  Actually it doesn't say so. It says there are too less parameters. And if you checked the Command Help (or even better the guide) you would have understood how to fix it. I improved the error messages for a reason. You should care more about them.
                                  __________________
                                  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 12:57 PM.