Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Reply
 
Thread Tools
  #26    
Old December 14th, 2012 (10:41 AM).
Zeoka Zeoka is offline
     
    Join Date: Dec 2012
    Gender: Male
    Posts: 1
    Man. I hate bothering people with noob questions. Anyway. My script completely works untill the end.
    When I talk with the trainer after the battle the messagebox with "Can you feel the despair" does not appear.
    This is my script:

    #dynamic 0x800000

    #org @start
    trainerbattle 0x0 0x001 0x0 @begin @what?
    msgbox @beaten 0x6
    release
    end

    #org @begin
    = We're back!!

    #org @what?
    = As if I'm alone..

    #org @beaten
    = Can you feel the despair?
    Reply With Quote

    Relevant Advertising!

      #27    
    Old February 10th, 2013 (9:00 AM).
    AriArk's Avatar
    AriArk AriArk is offline
    Survey Corps
       
      Join Date: Aug 2010
      Location: Somewhere.. Over the rainbow
      Age: 16
      Gender: Male
      Nature: Lonely
      Posts: 136
      How do I put text on the next line?
      __________________
      Reply With Quote
        #28    
      Old February 10th, 2013 (9:16 AM).
      .parado✗'s Avatar
      .parado✗ .parado✗ is offline
      paranormal user
         
        Join Date: Sep 2012
        Location: Ha✗land
        Age: 21
        Gender: Male
        Nature: Gentle
        Posts: 38
        @Zeoka
        Maybe you still use XSE 1.0.0.0
        If that is the case, instead of msgbox @pointer 0x6
        you write..

        msgbox @pointer
        callstd 6

        @AriArk
        with \L you can make a new line.
        with \p you can open a clear new msgbox.

        If you use \p once, you must use \n and then \l afterwards
        __________________
        If you are interested in a german romhacker forum, go to

        www.board.romresources.net

        I'm registered under the name: "Laz0r" there.
        Reply With Quote
          #29    
        Old February 10th, 2013 (10:40 AM).
        AriArk's Avatar
        AriArk AriArk is offline
        Survey Corps
           
          Join Date: Aug 2010
          Location: Somewhere.. Over the rainbow
          Age: 16
          Gender: Male
          Nature: Lonely
          Posts: 136
          Quote:
          Originally Posted by .parado✗ View Post
          @Zeoka
          Maybe you still use XSE 1.0.0.0
          If that is the case, instead of msgbox @pointer 0x6
          you write..

          msgbox @pointer
          callstd 6

          @AriArk
          with \L you can make a new line.
          with \p you can open a clear new msgbox.

          If you use \p once, you must use \n and then \l afterwards
          Thanks - that worked, if it doesn't take a huge amount of time, could you explain how flags work too. I go to prof.birch's lab to get Riolu but before that I could go onto the route and see Missingno (i'm not 100% sure if this is what flags are).
          Reply With Quote
            #30    
          Old February 10th, 2013 (11:54 AM).
          .parado✗'s Avatar
          .parado✗ .parado✗ is offline
          paranormal user
             
            Join Date: Sep 2012
            Location: Ha✗land
            Age: 21
            Gender: Male
            Nature: Gentle
            Posts: 38
            Flags are nothing else than "checkers" in a Pokémon Game.
            If someone gives you an item, you set a flag, that he can't give it to you twice, three times, endless.

            It works this way..

            #dynamic 0xXXXXX
            #org @start
            checkflag 0xyour_flag
            if 0x1 call @got_it <---- this checks if the flag 0xyour_flag is set. If 0x1 (yes), call a pointer.
            giveitem 0xItem 0xAmount 0x0 0x0 0x0
            waitfanfare
            closeonkeypress
            setflag 0xyour_flag <---- Sets a flag. I prefer starting at 0x450 up to 0x7FF and 0x900-0xFFF
            end

            #org @got_it
            end

            Well, if you click the person again, it will automatically jump to @got_it and the script ends.
            Attention! You can set every flag only once!
            If you set for example setflag 0x500, you can check this flag everytime, to remove it, type

            clearflag 0xyour_flag

            Hope I helped
            __________________
            If you are interested in a german romhacker forum, go to

            www.board.romresources.net

            I'm registered under the name: "Laz0r" there.
            Reply With Quote
              #31    
            Old February 12th, 2013 (4:34 PM).
            AriArk's Avatar
            AriArk AriArk is offline
            Survey Corps
               
              Join Date: Aug 2010
              Location: Somewhere.. Over the rainbow
              Age: 16
              Gender: Male
              Nature: Lonely
              Posts: 136
              I have one more question - how do you add the POKéMON tab on the menu if you don't have a starter that you chose from professor birch's case.
              __________________
              Reply With Quote
                #32    
              Old February 12th, 2013 (7:17 PM).
              destinedjagold's Avatar
              destinedjagold destinedjagold is offline
              Oh Hai Thar~
              • Silver Tier
               
              Join Date: May 2007
              Location: Philippines
              Age: 26
              Gender: Male
              Nature: Careful
              Posts: 8,507
              Quote:
              Originally Posted by AriArk View Post
              I have one more question - how do you add the POKéMON tab on the menu if you don't have a starter that you chose from professor birch's case.
              If I recall correctly, you would need to add the code...
              Code:
              setflag 0x800
              ...to your script.
              __________________


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

              Reply With Quote
                #33    
              Old May 16th, 2014 (10:09 AM).
              Taiji Dragon's Avatar
              Taiji Dragon Taiji Dragon is offline
              Original Dragon of Unova
                 
                Join Date: Mar 2014
                Age: 22
                Gender: Male
                Nature: Lonely
                Posts: 427
                I'm aiming to do something like events. I suppose I have to script. I want for example: to animate a Groudon sprite in a fire red cartridge. I suppose I need some OW sprites and do a script. I want for the main character to aquire the red orb from somewhere and then go to this place I will build and when he get's close to Groudon for the red orb to flash red. After that the Groudon sprite will turn from grey to red. It will aproach the player, roar and a battle will start. How can I achieve things like this?
                __________________
                Reply With Quote
                  #34    
                Old May 17th, 2014 (9:35 AM).
                DaisukE's Avatar
                DaisukE DaisukE is offline
                Just feel it burning ^^
                   
                  Join Date: May 2013
                  Location: Somewhere in this empty eternity
                  Gender: Male
                  Nature: Lonely
                  Posts: 124
                  Yah this is preety much basic....will surely help begginers
                  __________________
                  Búrñiñg Émøtiøn§
                  Reply With Quote
                  Reply
                  Quick Reply

                  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 4:14 PM.