The PokéCommunity Forums Fan Games ROM Hacking
Script Help Thread (DO NOT REQUEST SCRIPTS)

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


Closed Thread
 
Thread Tools
  #3801    
Old May 10th, 2010 (3:30 PM).
Collen Collen is offline
I have returned.
     
    Join Date: Jul 2009
    Posts: 71
    I'm having yet another problem.

    In this one, your rival doesn't move, so it appears that you are talking to nobody.

    Spoiler:
    '---------------
    #org 0x8066D1
    checkflag 0x910
    if 0x1 goto 0x609102B
    applymovement 0x2 0x8806713
    waitmovement 0x0
    applymovement MOVE_PLAYER 0x880672F
    waitmovement 0x0
    msgbox 0x8806732 MSG_NORMAL '"Thump! [blue_fr]Huh?! Oh... It's y..."
    trainerbattle 0x1 0x146 0x0 0x88067DC 0x88067FF 0x8806829
    end

    '---------------
    #org 0x806829
    msgbox 0x8806844 MSG_NORMAL '"[rival]: Huh? What item? I'll tell..."
    applymovement 0x2 0x8806882
    waitmovement 0x0
    hidesprite 0x2
    setflag 0x910
    release
    end


    '---------
    ' Strings
    '---------
    #org 0x806732
    = Thump! [blue_fr]Huh?! Oh... It's you!\nYou don't remember me?\lI'm [rival]!\p[rival]: At Pokémon School we\lwere rivals!\l[rival]: I always beat you!\p[rival]: Huh? You say you got better?\lYeah, right.

    #org 0x8067DC
    = You'll have to prove that to me!

    #org 0x8067FF
    = Snorunt... I'll find that item for you.

    #org 0x806844
    = [rival]: Huh? What item? I'll tell ya when\nI find it!\pEpic exit!


    '-----------
    ' Movements
    '-----------
    #org 0x806713
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x1D 'Step Down (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x20 'Step Right (Fast)
    #raw 0x1 'Face Up
    #raw 0xFE 'End of Movements

    #org 0x80672F
    #raw 0x0 'Face Down
    #raw 0xFE 'End of Movements

    #org 0x806882
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0x1F 'Step Left (Fast)
    #raw 0xFE 'End of Movements


    What am I doing wrong?!
    __________________


    Relevant Advertising!

      #3802    
    Old May 10th, 2010 (3:58 PM).
    Metroid_die Metroid_die is offline
       
      Join Date: May 2010
      Gender: Male
      Posts: 4
      Ok here's my problem.

      The script works fine and everything, however, when I go to the options to change the text speed, my player suddenly takes control of the sprite. It is completely random but I really need an answer to this.

      Here's the compiled script: (I took out faceplayer so that he would continue to look out over the water as he said this)

      '---------------
      #org 0x8000AF
      lock
      msgbox 0x88000BC 0x6 '"Ahh the sea...\pIt's so calm and b..."
      release
      end


      '---------
      ' Strings
      '---------
      #org 0x8000BC
      = Ahh the sea...\pIt's so calm and beautiful.


      I'm really new to this, so if anyone could help me I'd be thankful.
        #3803    
      Old May 10th, 2010 (4:29 PM).
      Mana's Avatar
      Mana Mana is online now
       
      Join Date: Jan 2009
      Location: UK
      Age: 26
      Gender: Male
      Posts: 9,983
      Quote:
      Originally Posted by Metroid_die View Post
      Ok here's my problem.

      The script works fine and everything, however, when I go to the options to change the text speed, my player suddenly takes control of the sprite. It is completely random but I really need an answer to this.

      Here's the compiled script: (I took out faceplayer so that he would continue to look out over the water as he said this)

      '---------------
      #org 0x8000AF
      lock
      msgbox 0x88000BC 0x6 '"Ahh the sea...\pIt's so calm and b..."
      release
      end


      '---------
      ' Strings
      '---------
      #org 0x8000BC
      = Ahh the sea...\pIt's so calm and beautiful.


      I'm really new to this, so if anyone could help me I'd be thankful.
      Sounds like a 'look down' glitch not a scripting problem, change the sprite's movement to 'no movement' and test again.

      ---


      Collen

      Is the sprite hidden? If so you need to show the sprite.
        #3804    
      Old May 10th, 2010 (11:32 PM).
      Nikolai Fox's Avatar
      Nikolai Fox Nikolai Fox is offline
         
        Join Date: Mar 2010
        Gender: Male
        Posts: 202
        Metroid Die.

        On the drop-down menu where you choose that person's OW, there are two "look down"s in the list. You want to make sure you use the first one on the list, as the second one causes this glitch.
          #3805    
        Old May 11th, 2010 (3:18 AM).
        Collen Collen is offline
        I have returned.
           
          Join Date: Jul 2009
          Posts: 71
          Quote:
          Originally Posted by SwiftSign View Post
          Sounds like a 'look down' glitch not a scripting problem, change the sprite's movement to 'no movement' and test again.

          ---


          Collen

          Is the sprite hidden? If so you need to show the sprite.
          It's not supposed to be.

          Am I supposed to uncheck the "active sprite" box?

          He's there... He just doesn't move.
          The applymovement code isn't working.
          __________________

            #3806    
          Old May 11th, 2010 (4:57 AM).
          metapod23's Avatar
          metapod23 metapod23 is offline
          Hardened Trainer
             
            Join Date: Mar 2009
            Gender: Male
            Nature: Timid
            Posts: 673
            Quote:
            Originally Posted by Collen View Post
            It's not supposed to be.

            Am I supposed to uncheck the "active sprite" box?

            He's there... He just doesn't move.
            The applymovement code isn't working.
            Try checking to see if any other sprites on the map have the same person ID #. Try changing the person ID # of the sprite you want to move and changing it in the script as well. Try deleting the sprite you want to move and reinserting it.
            __________________
              #3807    
            Old May 11th, 2010 (6:56 PM).
            Metroid Die Metroid Die is offline
               
              Join Date: Mar 2009
              Posts: 54
              Thanks for the help guys, fixed the problem.

              However, I have another question.

              As soon as I get past the second text box, the script stops working...

              #dynamic 0x800D65
              #org @start
              checkflag 0x323
              if 0x1 goto @fine
              msgbox @1 0x6
              applymovement 0x05 @move
              waitmovement 0x0
              msgbox @2 0x6
              applymovement 0x05 @move2
              applymovement 0xFF @move2
              release
              end
              #org @fine
              release
              end
              #org @1
              = Hey, wait up!
              #org @move
              #raw 0x13
              #raw 0x13
              #raw 0x13
              #raw 0x13
              #raw 0x13
              #raw 0x13
              #raw 0x13
              #raw 0xFE
              #org @2
              = I heard you moved here.\pMy name is James, nice to\nmeet you.\pProfessor Redbark asked me\nto find you.\pHere, follow me.
              #org @move2
              #raw 0x12
              #raw 0x12
              #raw 0x11
              #raw 0x12
              #raw 0x12
              #raw 0x12
              #raw 0x12
              #raw 0x12
              #raw 0x12
              #raw 0xFE

              The script isn't finished yet but I can't fins a solution to the problem >.>

              You guys have been a help so far, so thank you.

              I'm still trying to get the hang of scripting :P
                #3808    
              Old May 11th, 2010 (11:08 PM).
              Satoshi Ookami's Avatar
              Satoshi Ookami Satoshi Ookami is offline
              Memento Mori
               
              Join Date: Jul 2008
              Location: Abyss of Time, Great Seal
              Age: 25
              Gender: Male
              Nature: Calm
              Posts: 14,525
              Well you forgot waitmovement 0x0 after applymovement 0xFF @move2 that's why it isn't working =)
              __________________
              ROM hacking FAQ - Read before asking how to play a hack.

              Anime List | PSN Trophy List
                #3809    
              Old May 12th, 2010 (3:29 AM).
              Metroid Die Metroid Die is offline
                 
                Join Date: Mar 2009
                Posts: 54
                Quote:
                Originally Posted by Ash493 View Post
                Well you forgot waitmovement 0x0 after applymovement 0xFF @move2 that's why it isn't working =)
                Thanks so much! Got it to work :D
                  #3810    
                Old May 12th, 2010 (3:31 AM).
                Collen Collen is offline
                I have returned.
                   
                  Join Date: Jul 2009
                  Posts: 71
                  Quote:
                  Originally Posted by metapod23 View Post
                  Try checking to see if any other sprites on the map have the same person ID #. Try changing the person ID # of the sprite you want to move and changing it in the script as well. Try deleting the sprite you want to move and reinserting it.
                  I found out the problem.
                  The sprite was offscreen.
                  Now I need noobish help.

                  When the script is finished, your rival walks off and disappears, but when you reload the map (exit and enter) he's there again. How do I make him disappear forever? I set the person ID as 910, by the way.
                  __________________

                    #3811    
                  Old May 12th, 2010 (4:02 AM).
                  Zeffy's Avatar
                  Zeffy Zeffy is offline
                  blink and you're dead
                   
                  Join Date: Apr 2009
                  Gender: Male
                  Posts: 6,396
                  Quote:
                  Originally Posted by Collen View Post
                  I found out the problem.
                  The sprite was offscreen.
                  Now I need noobish help.

                  When the script is finished, your rival walks off and disappears, but when you reload the map (exit and enter) he's there again. How do I make him disappear forever? I set the person ID as 910, by the way.
                  In your script, remove the setflag 0x910. Just set the person ID and it'll be fine. :D
                  __________________
                    #3812    
                  Old May 12th, 2010 (4:26 AM).
                  pokev's Avatar
                  pokev pokev is offline
                     
                    Join Date: Apr 2007
                    Location: Sinnoh
                    Gender:
                    Nature: Quirky
                    Posts: 12
                    Hi,
                    I am using XSE on a Fire Red Rom and I was wondering how to go about creating an out of battle evolution sort of thing. I would like the event to happen in a way like when I talk to an NPC my Bulbasaur evolves into Ivysaur. I imagine this would be done with asm or at least by copying the exact pokemon data in the script but changing the species. Does anyone have any idea how to do this?

                    Thank You
                      #3813    
                    Old May 12th, 2010 (12:09 PM).
                    Metroid Die Metroid Die is offline
                       
                      Join Date: Mar 2009
                      Posts: 54
                      Hey, me once again.

                      Sorry If I'm a nuisance, but I can't find tutorials to my questions anywhere...

                      Alright, my problem is this: My script is set on the square right outside a door (your house when you start in it). However, when I leave my house, I want the script to trigger, but it doesn't work unless I walk away and then walk back on the square.

                      Also, a quick question, how do you script a sprite and/or the player enter a building through a door?

                      #dynamic 0x800D65
                      #org @start
                      checkflag 0x323
                      if 0x1 goto @fine
                      msgbox @1 0x6
                      applymovement 0x0FF @fce
                      applymovement 0x05 @move
                      waitmovement 0x0
                      msgbox @2 0x6
                      applymovement 0x05 @move2
                      applymovement 0xFF @move3
                      waitmovement 0x0
                      release
                      end
                      #org @fine
                      release
                      end
                      #org @1
                      = Hey, wait up!
                      #org @move
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0x13
                      #raw 0xFE
                      #org @2
                      = I heard you moved here.\pMy name is James, nice to\nmeet you.\pProfessor Redbark asked me\nto find you.\pHere, follow me.
                      #org @move2
                      #raw 0x12
                      #raw 0x12
                      #raw 0x11
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x11
                      #raw 0xFE
                      #org @move3
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x11
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x12
                      #raw 0x11
                      #raw 0xFE
                      #org @fce
                      #raw 0x02
                      #raw 0xFE

                      If any of you guys could help me out, once again I'd be so happy :)
                        #3814    
                      Old May 12th, 2010 (1:56 PM).
                      Teh Blazer's Avatar
                      Teh Blazer Teh Blazer is offline
                      Divider of Zero
                         
                        Join Date: Feb 2009
                        Location: 'MERICA
                        Age: 22
                        Gender: Male
                        Nature: Relaxed
                        Posts: 775
                        I have a simple and probably noobish problem: The text won't go to the next line. It would be on one line, run over, and read the /n and /l's! The comands are actually in the words! What am I doing wrong?

                        Spoiler:
                        '---------------
                        #org 0x1655ED
                        lockall
                        setvar 0x4001 0x0
                        goto 0x8165605

                        '---------------
                        #org 0x165605
                        setvar 0x8004 0x0
                        setvar 0x8005 0x2
                        special 0x174
                        textcolor 0x0
                        pause 0x1E
                        playsong 0x12E 0x0
                        preparemsg 0x817D72C '"Hey kid! Get to/nyour school!"
                        waitmsg
                        pause 0x55
                        closeonkeypress
                        applymovement 0xFF 0x81A75ED
                        waitmovement 0x0
                        sound 0x15
                        applymovement 0xFF 0x81A75DB
                        waitmovement 0x0
                        pause 0x1E
                        showsprite 0x3
                        compare 0x4001 0x0
                        if 0x1 call 0x81656B8
                        compare 0x4001 0x1
                        if 0x1 call 0x81656C3
                        pause 0x1E
                        msgbox 0x817D74A 0x4 '"Don't you know/nthat today is your..."
                        closeonkeypress
                        pause 0x1E
                        compare 0x4001 0x0
                        if 0x1 call 0x81656CE
                        compare 0x4001 0x1
                        if 0x1 call 0x81656E0
                        setdooropened 0x10 0xD
                        doorchange
                        applymovement 0x3 0x816572E
                        applymovement 0xFF 0x8165758
                        waitmovement 0x0
                        setdoorclosed 0x10 0xD
                        doorchange
                        setvar 0x4055 0x1
                        clearflag 0x2B
                        setvar 0x4050 0x1
                        setflag 0x2C
                        setflag 0x4001
                        warp 0x4 0x3 0xFF 0x6 0xC
                        waitstate
                        releaseall
                        end

                        '---------------
                        #org 0x1656B8
                        applymovement 0x3 0x81656F2
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656C3
                        applymovement 0x3 0x81656FB
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656CE
                        applymovement 0x3 0x8165705
                        applymovement 0xFF 0x8165731
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656E0
                        applymovement 0x3 0x8165719
                        applymovement 0xFF 0x8165744
                        waitmovement 0x0
                        return


                        '---------
                        ' Strings
                        '---------
                        #org 0x17D72C
                        = Hey kid! Get to/nyour school!

                        #org 0x17D74A
                        = Don't you know/nthat today is your/ltesting day for your/lTrainer's License? You/lhave to pass to/lbe a Pokémon Trainer!


                        '-----------
                        ' Movements
                        '-----------
                        #org 0x1A75ED
                        #raw 0x2D 'Face Down (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x1A75DB
                        #raw 0x62 'Exclamation Mark (!)
                        #raw 0xFE 'End of Movements

                        #org 0x16572E
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x60 'Hide
                        #raw 0xFE 'End of Movements

                        #org 0x165758
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x60 'Hide
                        #raw 0xFE 'End of Movements

                        #org 0x1656F2
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0xFE 'End of Movements

                        #org 0x1656FB
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0xFE 'End of Movements

                        #org 0x165705
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x2E 'Face Up (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x165731
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #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 0x165719
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x2E 'Face Up (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x165744
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #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
                        __________________
                        Being a hero is overrated anyways
                          #3815    
                        Old May 12th, 2010 (2:12 PM).
                        Mana's Avatar
                        Mana Mana is online now
                         
                        Join Date: Jan 2009
                        Location: UK
                        Age: 26
                        Gender: Male
                        Posts: 9,983
                        Quote:
                        Originally Posted by Teh Blazer View Post
                        I have a simple and probably noobish problem: The text won't go to the next line. It would be on one line, run over, and read the /n and /l's! The comands are actually in the words! What am I doing wrong?

                        Spoiler:
                        '---------------
                        #org 0x1655ED
                        lockall
                        setvar 0x4001 0x0
                        goto 0x8165605

                        '---------------
                        #org 0x165605
                        setvar 0x8004 0x0
                        setvar 0x8005 0x2
                        special 0x174
                        textcolor 0x0
                        pause 0x1E
                        playsong 0x12E 0x0
                        preparemsg 0x817D72C '"Hey kid! Get to/nyour school!"
                        waitmsg
                        pause 0x55
                        closeonkeypress
                        applymovement 0xFF 0x81A75ED
                        waitmovement 0x0
                        sound 0x15
                        applymovement 0xFF 0x81A75DB
                        waitmovement 0x0
                        pause 0x1E
                        showsprite 0x3
                        compare 0x4001 0x0
                        if 0x1 call 0x81656B8
                        compare 0x4001 0x1
                        if 0x1 call 0x81656C3
                        pause 0x1E
                        msgbox 0x817D74A 0x4 '"Don't you know/nthat today is your..."
                        closeonkeypress
                        pause 0x1E
                        compare 0x4001 0x0
                        if 0x1 call 0x81656CE
                        compare 0x4001 0x1
                        if 0x1 call 0x81656E0
                        setdooropened 0x10 0xD
                        doorchange
                        applymovement 0x3 0x816572E
                        applymovement 0xFF 0x8165758
                        waitmovement 0x0
                        setdoorclosed 0x10 0xD
                        doorchange
                        setvar 0x4055 0x1
                        clearflag 0x2B
                        setvar 0x4050 0x1
                        setflag 0x2C
                        setflag 0x4001
                        warp 0x4 0x3 0xFF 0x6 0xC
                        waitstate
                        releaseall
                        end

                        '---------------
                        #org 0x1656B8
                        applymovement 0x3 0x81656F2
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656C3
                        applymovement 0x3 0x81656FB
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656CE
                        applymovement 0x3 0x8165705
                        applymovement 0xFF 0x8165731
                        waitmovement 0x0
                        return

                        '---------------
                        #org 0x1656E0
                        applymovement 0x3 0x8165719
                        applymovement 0xFF 0x8165744
                        waitmovement 0x0
                        return


                        '---------
                        ' Strings
                        '---------
                        #org 0x17D72C
                        = Hey kid! Get to/nyour school!

                        #org 0x17D74A
                        = Don't you know/nthat today is your/ltesting day for your/lTrainer's License? You/lhave to pass to/lbe a Pokémon Trainer!


                        '-----------
                        ' Movements
                        '-----------
                        #org 0x1A75ED
                        #raw 0x2D 'Face Down (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x1A75DB
                        #raw 0x62 'Exclamation Mark (!)
                        #raw 0xFE 'End of Movements

                        #org 0x16572E
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x60 'Hide
                        #raw 0xFE 'End of Movements

                        #org 0x165758
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x60 'Hide
                        #raw 0xFE 'End of Movements

                        #org 0x1656F2
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0xFE 'End of Movements

                        #org 0x1656FB
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0x11 'Step Up (Normal)
                        #raw 0xFE 'End of Movements

                        #org 0x165705
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x2E 'Face Up (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x165731
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #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 0x165719
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x13 'Step Right (Normal)
                        #raw 0x2E 'Face Up (Delayed)
                        #raw 0xFE 'End of Movements

                        #org 0x165744
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x12 'Step Left (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #raw 0x10 'Step Down (Normal)
                        #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
                        You want \ not / >< a simple mistake


                        @metroid die

                        You need a level script if you want something to happen as soon as you walk out the door.

                        @pokev

                        Yep ASM is needed and as far as I know nobody has a trigger evolution coding yet.
                          #3816    
                        Old May 13th, 2010 (7:33 AM).
                        Nikolai Fox's Avatar
                        Nikolai Fox Nikolai Fox is offline
                           
                          Join Date: Mar 2010
                          Gender: Male
                          Posts: 202
                          Hey. I'm using the Fire Red Hacked Engine and I have two questions:

                          1. How do you use the Pokémon Center script? I can make a custom heal script, but I can't get it so you go to a Pokémon Center when you die, instead you end up in map 0.0. I tried copying the level scripts from a Pokémon Center in vanilla Fire Red, but nothing :/

                          2. How exactly do you use the Wild Pokémon level editor? Here's the script I used:
                          #dynamic 0x100000
                          #org @start
                          setvar 0x4051 0x202
                          release
                          end

                          According to the instruction manual, (i think) this should make it so wild pokemon will be the same level as my strongest pokemon + 2 levels, but nothing happens whether i put it in a level script or a floor script :/
                            #3817    
                          Old May 13th, 2010 (10:54 AM).
                          PeregrineFig's Avatar
                          PeregrineFig PeregrineFig is offline
                          Starting Pokémon Obsidian
                             
                            Join Date: Feb 2010
                            Location: Michigan, USA
                            Age: 23
                            Gender: Male
                            Nature: Hardy
                            Posts: 202
                            Quote:
                            Originally Posted by Nikolai Fox View Post
                            Hey. I'm using the Fire Red Hacked Engine and I have two questions:

                            1. How do you use the Pokémon Center script? I can make a custom heal script, but I can't get it so you go to a Pokémon Center when you die, instead you end up in map 0.0. I tried copying the level scripts from a Pokémon Center in vanilla Fire Red, but nothing :/

                            2. How exactly do you use the Wild Pokémon level editor? Here's the script I used:
                            #dynamic 0x100000
                            #org @start
                            setvar 0x4051 0x202
                            release
                            end

                            According to the instruction manual, (i think) this should make it so wild pokemon will be the same level as my strongest pokemon + 2 levels, but nothing happens whether i put it in a level script or a floor script :/
                            For your first question, set a certain variable to the map number and bank, but I forgot which variable or the format for the value :/ Just find the info about pokemon center changes in the engine's instruction manual, it's in there. You're going to need to tweak the healing scripts to add the setvariable command in when you talk to the nurse.
                            __________________
                            Current Projects:
                            POKéMON AQUA SAPPHIRE
                            POKéMON OBSIDIAN

                              #3818    
                            Old May 13th, 2010 (5:50 PM).
                            pokemon1412's Avatar
                            pokemon1412 pokemon1412 is offline
                               
                              Join Date: Aug 2006
                              Nature: Calm
                              Posts: 56
                              I have little problem with playing specific sound for trainer battle...

                              does anyone know how to use specific battle song in trainer battle...?

                              I can change wildbattle song, but trainerbattle... i cannot...

                              wildbattle, just like this (using pokemon emerald rom):

                              Spoiler:

                              #org 0xA00000
                              checksound
                              cry 0x199 0x2
                              pause 0x28
                              waitcry
                              setvar 0x8004 0x199 // Jirachi
                              setvar 0x8005 0x5 // lv 5
                              setvar 0x8006 0x0 // item none
                              special 0x1E2
                              setflag 0x8C1
                              special 0x139
                              playsong 0x1C8 0x27 //playing specific music while battle with pokemon
                              clearflag 0x8C1
                              setflag 0x1428
                              pause 0xA0
                              hidesprite LASTTALKED
                              fadescreen 0x2
                              end
                                #3819    
                              Old May 14th, 2010 (5:36 AM).
                              Jacusiek's Avatar
                              Jacusiek Jacusiek is offline
                                 
                                Join Date: Apr 2009
                                Location: Poland
                                Age: 23
                                Gender: Male
                                Nature: Quiet
                                Posts: 18
                                Hello! I'm new here (and I'm from Poland, so my english isn't so good). I need help.
                                I want to know, how can I delete experience gained by defeating pokemons in Elite
                                Four (with Wallace) in Emerald. I want to do, that even my pokemons are 10 lvl, that
                                won't get EXP. It may be script similar to Battle Frontier (when I defeat somebody
                                there, I don't get EXP). Can somebody explain how can I do it? Please help...
                                  #3820    
                                Old May 14th, 2010 (5:51 AM).
                                Shiny Quagsire's Avatar
                                Shiny Quagsire Shiny Quagsire is offline
                                I'm Still Alive, Elsewhere
                                   
                                  Join Date: May 2009
                                  Location: Hoenn Safari Zone
                                  Age: 20
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 700
                                  Quote:
                                  Originally Posted by Jacusiek View Post
                                  Hello! I'm new here (and I'm from Poland, so my english isn't so good). I need help.
                                  I want to know, how can I delete experience gained by defeating pokemons in Elite
                                  Four (with Wallace) in Emerald. I want to do, that even my pokemons are 10 lvl, that
                                  won't get EXP. It may be script similar to Battle Frontier (when I defeat somebody
                                  there, I don't get EXP). Can somebody explain how can I do it? Please help...
                                  Actually, that would most likely require ASM skill, which I'm assuming you don't have.
                                  __________________



                                    #3821    
                                  Old May 14th, 2010 (5:57 AM). Edited May 14th, 2010 by Jacusiek.
                                  Jacusiek's Avatar
                                  Jacusiek Jacusiek is offline
                                     
                                    Join Date: Apr 2009
                                    Location: Poland
                                    Age: 23
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 18
                                    Quote:
                                    Originally Posted by shiny quagsire View Post
                                    Actually, that would most likely require ASM skill, which I'm assuming you don't have.
                                    Maybe I don't have ASM skill (and I don't know what it is), but I learn really fast. Could somebody explain me how to do it, please?

                                    I found a script, but I don't know which part can delete EXP (It's from battle frontier):

                                    Spoiler:
                                    '---------------
                                    #org 0x16049E
                                    lock
                                    faceplayer
                                    setvar 0x8004 0x0
                                    special 0xEE
                                    compare 0x800D 0x6
                                    if 0x1 goto 0x8160342
                                    special 0x27
                                    msgbox 0x8199F2C 0x4 '"Welcome to the BATTLE TOWER!\pPlea..."
                                    preparemsg 0x8199F79 '"Would you like to make a BATTLE RO..."
                                    waitmsg
                                    multichoice 0xF 0x6 0x17 0x0
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x81604FA
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160600
                                    compare 0x8000 0x2
                                    if 0x1 goto 0x8160652
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x8160652
                                    preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
                                    waitmsg
                                    multichoice 0x12 0x6 0x18 0x0
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x2
                                    if 0x1 goto 0x8160652
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x8160652
                                    special 0xE9
                                    compare 0x8004 0x1
                                    if 0x1 goto 0x816060D
                                    setvar 0x8004 0x1
                                    copyvar 0x8005 0x800D
                                    copyvar 0x8006 0x800D
                                    special 0xED
                                    msgbox 0x819A07B 0x4 '"Please select the POKéMON you wish..."
                                    fadescreen 0x1
                                    special 0xF5
                                    waitstate
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x816064F
                                    msgbox 0x8199FDA 0x5 '"Before entering a BATTLE ROOM, you..."
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x816064F
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160587
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x816064F
                                    setvar 0x8004 0x5
                                    special 0xED
                                    setvar 0x4000 0x0
                                    setvar 0x8004 0xB
                                    special 0xED
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x1
                                    special 0xED
                                    setvar 0x8004 0x8
                                    setvar 0x8005 0x0
                                    special 0xED
                                    special 0x28
                                    closeonkeypress
                                    pause 0x2
                                    call 0x819F806
                                    setvar 0x4000 0x5
                                    hidebox 0x0 0x0 0xF 0xA
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x8160642
                                    cmdc3 0x1E
                                    special 0x27
                                    special 0xEF
                                    setvar 0x40BC 0x1
                                    msgbox 0x819A0A8 0x4 '"I'll direct you to your BATTLE ROO..."
                                    closeonkeypress
                                    call 0x8160664
                                    warp 0x1A 0x6 0xFF 0x1 0x6
                                    setvar 0x4000 0x0
                                    waitstate
                                    msgbox 0x819A0D1 0x4 '"The BATTLE TOWER is a facility mad..."
                                    goto 0x81604BE

                                    '---------------
                                    #org 0x160342
                                    lock
                                    faceplayer
                                    preparemsg 0x819A487 '"Congratulations!\nYou've beaten al..."
                                    waitmsg
                                    setvar 0x8004 0x0
                                    special 0xEE
                                    compare 0x800D 0x6
                                    if 0x1 goto 0x816037D
                                    special 0xF4
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x816037D
                                    preparemsg 0x819A6BE '"Here are some RIBBONS for beating\..."
                                    waitmsg
                                    fanfare 0x172
                                    waitfanfare
                                    msgbox 0x819A719 0x4 '"[player] put the RIBBONS on the\nc..."
                                    setvar 0x8004 0x8
                                    special 0xEE
                                    compare 0x800D 0x1
                                    if 0x1 goto 0x81603AD
                                    preparemsg 0x819A589 '"Your record will be saved.\nPlease..."
                                    waitmsg
                                    setvar 0x8004 0xD
                                    special 0xED
                                    special 0xF2
                                    setvar 0x8004 0x3
                                    special 0xF0
                                    sound 0x37
                                    checksound
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x3
                                    special 0xED
                                    preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
                                    waitmsg
                                    special 0xF3
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x8160408
                                    preparemsg 0x819A506 '"[player] received the prize\n[buff..."
                                    waitmsg
                                    fanfare 0x172
                                    waitfanfare
                                    setvar 0x8004 0x9
                                    special 0xEE
                                    compare 0x800D 0x31
                                    if 0x5 goto 0x81603F8
                                    msgbox 0x819A617 0x4 '"You're finally about to face the\n..."
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    closeonkeypress
                                    setvar 0x4000 0x5
                                    release
                                    end

                                    '---------------
                                    #org 0x1604FA
                                    preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
                                    waitmsg
                                    multichoice 0x12 0x6 0x18 0x0
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x2
                                    if 0x1 goto 0x8160652
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x8160652
                                    special 0xE9
                                    compare 0x8004 0x1
                                    if 0x1 goto 0x816060D
                                    setvar 0x8004 0x1
                                    copyvar 0x8005 0x800D
                                    copyvar 0x8006 0x800D
                                    special 0xED
                                    msgbox 0x819A07B 0x4 '"Please select the POKéMON you wish..."
                                    fadescreen 0x1
                                    special 0xF5
                                    waitstate
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x816064F
                                    msgbox 0x8199FDA 0x5 '"Before entering a BATTLE ROOM, you..."
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x816064F
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160587
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x816064F
                                    setvar 0x8004 0x5
                                    special 0xED
                                    setvar 0x4000 0x0
                                    setvar 0x8004 0xB
                                    special 0xED
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x1
                                    special 0xED
                                    setvar 0x8004 0x8
                                    setvar 0x8005 0x0
                                    special 0xED
                                    special 0x28
                                    closeonkeypress
                                    pause 0x2
                                    call 0x819F806
                                    setvar 0x4000 0x5
                                    hidebox 0x0 0x0 0xF 0xA
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x8160642
                                    cmdc3 0x1E
                                    special 0x27
                                    special 0xEF
                                    setvar 0x40BC 0x1
                                    msgbox 0x819A0A8 0x4 '"I'll direct you to your BATTLE ROO..."
                                    closeonkeypress
                                    call 0x8160664
                                    warp 0x1A 0x6 0xFF 0x1 0x6
                                    setvar 0x4000 0x0
                                    waitstate
                                    msgbox 0x819A0D1 0x4 '"The BATTLE TOWER is a facility mad..."
                                    goto 0x81604BE

                                    '---------------
                                    #org 0x160600
                                    msgbox 0x819A0D1 0x4 '"The BATTLE TOWER is a facility mad..."
                                    goto 0x81604BE

                                    '---------------
                                    #org 0x160652
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    setvar 0x8004 0xB
                                    special 0xED
                                    release
                                    end

                                    '---------------
                                    #org 0x16060D
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x8160628
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160635
                                    msgbox 0x819A249 0x4 '"Excuse me!\pYou don't have three e..."
                                    goto 0x8160662

                                    '---------------
                                    #org 0x16064F
                                    special 0x28
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    setvar 0x8004 0xB
                                    special 0xED
                                    release
                                    end

                                    '---------------
                                    #org 0x160587
                                    setvar 0x8004 0x5
                                    special 0xED
                                    setvar 0x4000 0x0
                                    setvar 0x8004 0xB
                                    special 0xED
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x1
                                    special 0xED
                                    setvar 0x8004 0x8
                                    setvar 0x8005 0x0
                                    special 0xED
                                    special 0x28
                                    closeonkeypress
                                    pause 0x2
                                    call 0x819F806
                                    setvar 0x4000 0x5
                                    hidebox 0x0 0x0 0xF 0xA
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x8160642
                                    cmdc3 0x1E
                                    special 0x27
                                    special 0xEF
                                    setvar 0x40BC 0x1
                                    msgbox 0x819A0A8 0x4 '"I'll direct you to your BATTLE ROO..."
                                    closeonkeypress
                                    call 0x8160664
                                    warp 0x1A 0x6 0xFF 0x1 0x6
                                    setvar 0x4000 0x0
                                    waitstate
                                    msgbox 0x819A0D1 0x4 '"The BATTLE TOWER is a facility mad..."
                                    goto 0x81604BE

                                    '---------------
                                    #org 0x19F806
                                    special 0x5D
                                    waitstate
                                    return

                                    '---------------
                                    #org 0x160642
                                    setvar 0x8004 0xC
                                    special 0xED
                                    goto 0x8160652

                                    '---------------
                                    #org 0x160664
                                    applymovement 0x1 0x8160693
                                    applymovement 0xFF 0x8160693
                                    waitmovement 0x0
                                    setdooropened 0x6 0x1
                                    doorchange
                                    applymovement 0x1 0x8160697
                                    applymovement 0xFF 0x816069A
                                    waitmovement 0x0
                                    setdoorclosed 0x6 0x1
                                    doorchange
                                    return

                                    '---------------
                                    #org 0x1604BE
                                    preparemsg 0x8199F79 '"Would you like to make a BATTLE RO..."
                                    waitmsg
                                    multichoice 0xF 0x6 0x17 0x0
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x81604FA
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160600
                                    compare 0x8000 0x2
                                    if 0x1 goto 0x8160652
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x8160652
                                    preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
                                    waitmsg
                                    multichoice 0x12 0x6 0x18 0x0
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x2
                                    if 0x1 goto 0x8160652
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x8160652
                                    special 0xE9
                                    compare 0x8004 0x1
                                    if 0x1 goto 0x816060D
                                    setvar 0x8004 0x1
                                    copyvar 0x8005 0x800D
                                    copyvar 0x8006 0x800D
                                    special 0xED
                                    msgbox 0x819A07B 0x4 '"Please select the POKéMON you wish..."
                                    fadescreen 0x1
                                    special 0xF5
                                    waitstate
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x816064F
                                    msgbox 0x8199FDA 0x5 '"Before entering a BATTLE ROOM, you..."
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x816064F
                                    compare 0x8000 0x1
                                    if 0x1 goto 0x8160587
                                    compare 0x8000 0x7F
                                    if 0x1 goto 0x816064F
                                    setvar 0x8004 0x5
                                    special 0xED
                                    setvar 0x4000 0x0
                                    setvar 0x8004 0xB
                                    special 0xED
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x1
                                    special 0xED
                                    setvar 0x8004 0x8
                                    setvar 0x8005 0x0
                                    special 0xED
                                    special 0x28
                                    closeonkeypress
                                    pause 0x2
                                    call 0x819F806
                                    setvar 0x4000 0x5
                                    hidebox 0x0 0x0 0xF 0xA
                                    compare 0x800D 0x0
                                    if 0x1 goto 0x8160642
                                    cmdc3 0x1E
                                    special 0x27
                                    special 0xEF
                                    setvar 0x40BC 0x1
                                    msgbox 0x819A0A8 0x4 '"I'll direct you to your BATTLE ROO..."
                                    closeonkeypress
                                    call 0x8160664
                                    warp 0x1A 0x6 0xFF 0x1 0x6
                                    setvar 0x4000 0x0
                                    waitstate
                                    msgbox 0x819A0D1 0x4 '"The BATTLE TOWER is a facility mad..."
                                    goto 0x81604BE

                                    '---------------
                                    #org 0x16037D
                                    setvar 0x8004 0x8
                                    special 0xEE
                                    compare 0x800D 0x1
                                    if 0x1 goto 0x81603AD
                                    preparemsg 0x819A589 '"Your record will be saved.\nPlease..."
                                    waitmsg
                                    setvar 0x8004 0xD
                                    special 0xED
                                    special 0xF2
                                    setvar 0x8004 0x3
                                    special 0xF0
                                    sound 0x37
                                    checksound
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x3
                                    special 0xED
                                    preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
                                    waitmsg
                                    special 0xF3
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x8160408
                                    preparemsg 0x819A506 '"[player] received the prize\n[buff..."
                                    waitmsg
                                    fanfare 0x172
                                    waitfanfare
                                    setvar 0x8004 0x9
                                    special 0xEE
                                    compare 0x800D 0x31
                                    if 0x5 goto 0x81603F8
                                    msgbox 0x819A617 0x4 '"You're finally about to face the\n..."
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    closeonkeypress
                                    setvar 0x4000 0x5
                                    release
                                    end

                                    '---------------
                                    #org 0x1603AD
                                    setvar 0x8004 0x0
                                    setvar 0x8005 0x3
                                    special 0xED
                                    preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
                                    waitmsg
                                    special 0xF3
                                    copyvar 0x8000 0x800D
                                    compare 0x8000 0x0
                                    if 0x1 goto 0x8160408
                                    preparemsg 0x819A506 '"[player] received the prize\n[buff..."
                                    waitmsg
                                    fanfare 0x172
                                    waitfanfare
                                    setvar 0x8004 0x9
                                    special 0xEE
                                    compare 0x800D 0x31
                                    if 0x5 goto 0x81603F8
                                    msgbox 0x819A617 0x4 '"You're finally about to face the\n..."
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    closeonkeypress
                                    setvar 0x4000 0x5
                                    release
                                    end

                                    '---------------
                                    #org 0x160408
                                    msgbox 0x819A520 0x4 '"Oh, your BAG appears to be full.\p..."
                                    waitmsg
                                    closeonkeypress
                                    setvar 0x4000 0x5
                                    release
                                    end

                                    '---------------
                                    #org 0x1603F8
                                    msgbox 0x8199FA9 0x4 '"We'll be looking forward to your\n..."
                                    closeonkeypress
                                    setvar 0x4000 0x5
                                    release
                                    end

                                    '---------------
                                    #org 0x160628
                                    msgbox 0x819A249 0x4 '"Excuse me!\pYou don't have three e..."
                                    goto 0x8160662

                                    '---------------
                                    #org 0x160635
                                    msgbox 0x819A32D 0x4 '"Excuse me!\pYou don't have three e..."
                                    goto 0x8160662

                                    '---------------
                                    #org 0x160662
                                    release
                                    end


                                    '---------
                                    ' Strings
                                    '---------
                                    #org 0x199F2C
                                    = Welcome to the BATTLE TOWER!\pPlease register with me to enter\na BATTLE ROOM.

                                    #org 0x199F79
                                    = Would you like to make a BATTLE ROOM\nchallenge?

                                    #org 0x19A024
                                    = There are two BATTLE ROOMS,\nLevel 50 and Level 100.\lWhich would you like to challenge?

                                    #org 0x19A07B
                                    = Please select the POKéMON you wish\nto enter.

                                    #org 0x199FDA
                                    = Before entering a BATTLE ROOM, your\nprogress must be saved. Is that okay?

                                    #org 0x19A0A8
                                    = I'll direct you to your BATTLE ROOM now.

                                    #org 0x19A0D1
                                    = The BATTLE TOWER is a facility made\nespecially for POKéMON battles.\pWithin the TOWER are many BATTLE ROOMS.\pIn each BATTLE ROOM, seven TRAINERS\nawait your challenge.\pBeat all seven, and you will be rewarded\nwith a fabulous prize.\pYou may also take a break from your\nchallenge by saving your progress.\pMake sure you save properly or you\nwon't be able to resume your challenge.

                                    #org 0x19A487
                                    = Congratulations!\nYou've beaten all seven TRAINERS!\p

                                    #org 0x19A6BE
                                    = Here are some RIBBONS for beating\nseven tough TRAINERS in a row.\p[player] received some RIBBONS!

                                    #org 0x19A719
                                    = [player] put the RIBBONS on the\nchallenger POKéMON.

                                    #org 0x19A589
                                    = Your record will be saved.\nPlease wait.

                                    #org 0x19A4BB
                                    = For beating seven TRAINERS in a row,\nyou have earned this fabulous prize!\p

                                    #org 0x19A506
                                    = [player] received the prize\n[buffer1].

                                    #org 0x19A617
                                    = You're finally about to face the\n50th TRAINER.\pFrom here on, every time you beat seven\nTRAINERS in a row, your POKéMON will\lreceive a commemorative RIBBON.\pGood luck!

                                    #org 0x199FA9
                                    = We'll be looking forward to your\nnext challenge.

                                    #org 0x19A249
                                    = Excuse me!\pYou don't have three eligible POKéMON.\pYou must have three different POKéMON\nof Level 50 or less to enter.\pThey also must be holding different\nkinds of items.\pEGGS[buffer1] ineligible.\pPlease come see me when you are ready.

                                    #org 0x19A520
                                    = Oh, your BAG appears to be full.\pPlease make room in your BAG, then come\nsee me.

                                    #org 0x19A32D
                                    = Excuse me!\pYou don't have three eligible POKéMON.\pYou must have three different POKéMON\nto enter.\pThey also must be holding different\nkinds of items.\pEGGS[buffer1] ineligible.\pPlease come see me when you are ready.


                                    '-----------
                                    ' Movements
                                    '-----------
                                    #org 0x160693
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0xFE 'End of Movements

                                    #org 0x160697
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0x54 'Hide
                                    #raw 0xFE 'End of Movements

                                    #org 0x16069A
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0x9 'Step Up (Normal)
                                    #raw 0x54 'Hide
                                    #raw 0xFE 'End of Movements
                                      #3822    
                                    Old May 14th, 2010 (11:56 AM).
                                    NarutoActor's Avatar
                                    NarutoActor NarutoActor is offline
                                    The rocks cry out to me
                                     
                                    Join Date: Jan 2009
                                    Location: Brooklyn/Marlboro
                                    Age: 24
                                    Gender: Female
                                    Nature: Bashful
                                    Posts: 1,979
                                    Quote:
                                    Originally Posted by Jacusiek View Post
                                    Hello! I'm new here (and I'm from Poland, so my english isn't so good). I need help.
                                    I want to know, how can I delete experience gained by defeating pokemons in Elite
                                    Four (with Wallace) in Emerald. I want to do, that even my pokemons are 10 lvl, that
                                    won't get EXP. It may be script similar to Battle Frontier (when I defeat somebody
                                    there, I don't get EXP). Can somebody explain how can I do it? Please help...
                                    Yeah you will need asm.
                                    Jpan made an exp gain, it should work to has a subtracter by switing add to sub, but I didn't test it.

                                    b507 push {r0-r2, lr}
                                    4804 ldr r0, 0x0203f408 ;Growth block data storage address
                                    6800 ldr r0, [r0]
                                    4904 ldr r1, 0x020370C2 ;var 0x8005 used for storing the exp value
                                    8809 ldrh r1, [r1]
                                    2280 mov r2, 0x80
                                    0912 lsl r2, 0x8
                                    418a cmp r1,r2 ; checks if exp is between "safe" values
                                    db02 blt add_exp
                                    bd07 pop {r0-r2, pc}
                                    6842 add_exp: ldr r2, [r0+0x4]
                                    ------ sub r2, r2, r1 ; subrtacts the experience
                                    6042 str r2, [r0+0x4]
                                    bd07 pop {r0-r2, pc}
                                    run it throw a complier. Then call it in a script, tell me if it works, or not xD
                                    __________________
                                    ~There are those people who understand hex, F the rest
                                      #3823    
                                    Old May 14th, 2010 (1:12 PM).
                                    Jacusiek's Avatar
                                    Jacusiek Jacusiek is offline
                                       
                                      Join Date: Apr 2009
                                      Location: Poland
                                      Age: 23
                                      Gender: Male
                                      Nature: Quiet
                                      Posts: 18
                                      Quote:
                                      Warning: Unknown command "b507"
                                      Warning: Unknown command "4804"
                                      Warning: Unknown command "6800"
                                      Warning: Unknown command "4904"
                                      Warning: Unknown command "8809"
                                      Warning: Unknown command "2280"
                                      Warning: Unknown command "0912"
                                      Warning: Unknown command "418a"
                                      Warning: Unknown command "db02"
                                      Warning: Unknown command "bd07"
                                      Warning: Unknown command "6842"
                                      Warning: Unknown command "sub"
                                      Warning: Unknown command "6042"
                                      Warning: Unknown command "bd07"
                                      I tried do it in XSE and PKSVUI, and it doesn't work... :(. Maybe I'm doing something wrong?
                                        #3824    
                                      Old May 14th, 2010 (4:25 PM).
                                      Buizark's Avatar
                                      Buizark Buizark is offline
                                      Always looking for an OU match
                                         
                                        Join Date: Dec 2009
                                        Gender: Male
                                        Nature: Calm
                                        Posts: 72
                                        ASM not scripting.Use Hackmew's thread for ASM
                                        __________________
                                          #3825    
                                        Old May 14th, 2010 (5:14 PM). Edited May 14th, 2010 by Shiny Quagsire.
                                        Shiny Quagsire's Avatar
                                        Shiny Quagsire Shiny Quagsire is offline
                                        I'm Still Alive, Elsewhere
                                           
                                          Join Date: May 2009
                                          Location: Hoenn Safari Zone
                                          Age: 20
                                          Gender: Male
                                          Nature: Jolly
                                          Posts: 700
                                          Quote:
                                          Originally Posted by Jacusiek View Post
                                          I tried do it in XSE and PKSVUI, and it doesn't work... :(. Maybe I'm doing something wrong?
                                          I could compile that for you. *edit* I tried to compile. Didn't work. :(
                                          After it's compiled, you get a binary fie. You just copy that code, paste it into an area in the rom, and use this command:

                                          callasm 0x"OFFSET YOU PASTED THE CODE HERE!"
                                          __________________



                                          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 11:05 PM.