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
  #8051    
Old March 24th, 2013 (7:05 PM).
itman itman is offline
Back to ROM hacking. :D
     
    Join Date: May 2007
    Age: 24
    Nature: Adamant
    Posts: 100
    Quote:
    Originally Posted by newpick View Post
    First post straight to you guys! tried searching high and lo-tad for it.

    Here it is: I want to remove HM05 "Flash" from the game in favor of an item that Oak gives you at the start.

    I understand how to make an item given an empty space and have oak give it to you but don't know how to instigate an item into acting as a HM. Help? Thanks!

    edit: I could just not have caves :\
    I'm pretty sure if you use JPAN's hacked engine, it's a feature, and it's explained in the word document that comes with the patch.

    Relevant Advertising!

      #8052    
    Old March 25th, 2013 (2:51 AM).
    karatekid552's Avatar
    karatekid552 karatekid552 is offline
    What happens if I push it?....
       
      Join Date: Nov 2012
      Location: Do you really want to know? Really?
      Gender: Male
      Nature: Bold
      Posts: 1,766
      Quote:
      Originally Posted by newpick View Post
      First post straight to you guys! tried searching high and lo-tad for it.

      Here it is: I want to remove HM05 "Flash" from the game in favor of an item that Oak gives you at the start.

      I understand how to make an item given an empty space and have oak give it to you but don't know how to instigate an item into acting as a HM. Help? Thanks!

      edit: I could just not have caves :\
      I know how to make an item that would have the same effect as flash: ie A flashlight, if that is the type of thing you are referring to.

      As itman said, there is a way in JPAN's engine to create items that run scripts. However, this is not required to be used with JPAN's engine, as you are probably not using it already. In that case, see this thread for a routine which will run a script in an item: http://www.pokecommunity.com/showthread.php?t=281573

      Now, if you wanted to make an HM type item which teaches a pokemon Flash, that will be much more difficult.
      __________________

      Paired with Simba
        #8053    
      Old March 25th, 2013 (4:02 AM).
      newpick
      Guest
         
        Posts: n/a
        Thank you both! I could see why even complex searching wouldn't have yielded that. I could really see this more generalized hack being useful for more things than i could come up with right now!
          #8054    
        Old March 25th, 2013 (8:33 AM).
        TweenyTodd TweenyTodd is offline
        Quitting cuz i got a job
           
          Join Date: Feb 2013
          Location: NOYB
          Nature: Sassy
          Posts: 95
          Quote:
          Originally Posted by karatekid552 View Post
          The problem you had was the script crashing. Mine didn't crash, and I know it worked because the spritefacing command worked. This means that (most likely) the flags were set too, but I didn't actually check.

          The most important part here, is not the compile log, but the offsets given. Those settings in A-map: they are settings for my Map Script. Notice, they have the same offset as the compiler log. Those are what I was trying to show you. The only reason XSE was in the picture was so you could see how things lined up.
          I think the offsets line up right, and im sure of the script. But the spriteface script doesn't work.
          Spoiler:
            #8055    
          Old March 25th, 2013 (2:37 PM).
          Bolens's Avatar
          Bolens Bolens is offline
          Soul Hacker
           
          Join Date: Jan 2010
          Location: PA
          Age: 24
          Gender: Male
          Nature: Mild
          Posts: 359
          Game: Firered Type: Level Script Editor: XSE Script:
          Spoiler:
          #dynamic 0x745500

          #org @start
          lockall
          msgbox @1 0x6
          special 0x113
          applymovement 0x7F @move
          waitmovement 0x0
          setvar 0x7002 0x1
          msgbox @2 0x6
          applymovement 0x2 @3
          applymovement 0x3 @4
          applymovement 0x5 @5
          applymovement 0x7 @6
          applymovement 0x8 @7
          applymovement 0x9 @8
          waitmovement 0x0
          hidesprite 0x3
          hidesprite 0x2
          hidesprite 0x5
          hidesprite 0x7
          hidesprite 0x8
          hidesprite 0x9
          applymovement 0x7F @9
          waitmovement 0x0
          special 0x114
          setflag 0x1005
          releaseall
          end

          #org @1
          = Mom: Help!!!!

          #org @move
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0xFE

          #org @2
          = Mom: Somebody please help me!\pGrunt 1: Stop screaming, we run\nthis city so no one can help\lyou.\pGrunt 2: Alright everyone,\nlet’s move out. The boss wants us\lto be in Yann Town in a couple of\lhours.\pGrunts: Yes sir!

          #org @3
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

          #org @4
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

          #org @5
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

          #org @6
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

          #org @7
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

          #org @8
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE

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


          Problem: XSE crashes whenever I try to compile this into my ROM. Hopefully someone can help, thanks guys.

          ~Bolens
            #8056    
          Old March 25th, 2013 (2:45 PM).
          Spherical Ice's Avatar
          Spherical Ice Spherical Ice is online now
           
          Join Date: Nov 2007
          Location: Bristol, UK
          Age: 20
          Posts: 5,217
          Huh, I split up @2 into separate strings and now it compiles perfectly. I really dunno why, but here you go:

          Code:
          #dynamic 0x745500
          
          #org @start
          lockall
          msgbox @1 0x6
          special 0x113
          applymovement 0x7F @move
          waitmovement 0x0
          setvar 0x7002 0x1
          msgbox @2 0x6
          msgbox @string1 0x6
          msgbox @string3 0x6
          applymovement 0x2 @3
          applymovement 0x3 @4
          applymovement 0x5 @5
          applymovement 0x7 @6
          applymovement 0x8 @7 
          applymovement 0x9 @8
          waitmovement 0x0
          hidesprite 0x3
          hidesprite 0x2 
          hidesprite 0x5
          hidesprite 0x7
          hidesprite 0x8
          hidesprite 0x9
          applymovement 0x7F @9
          waitmovement 0x0
          special 0x114
          setflag 0x1005
          releaseall
          end
          
          #org @1
          = Mom: Help!!!!
          
          #org @move
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0xFE
          
          #org @2
          = Mom: Somebody please help me!
          
          #org @string1
          = Grunt 1: Stop screaming, we run\nthis city so no one can help you.
          
          #org @string3
          = Grunt 2: Alright everyone, let's\nmove out.\pThe boss wants us to be in Yann\nTown in a couple of hours.\pGrunts: Yes sir!
          
          #org @3
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @4
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @5
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @6
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @7
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @8
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @9
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
            #8057    
          Old March 25th, 2013 (3:03 PM).
          Bolens's Avatar
          Bolens Bolens is offline
          Soul Hacker
           
          Join Date: Jan 2010
          Location: PA
          Age: 24
          Gender: Male
          Nature: Mild
          Posts: 359
          Quote:
          Originally Posted by Spherical Ice View Post
          Huh, I split up @2 into separate strings and now it compiles perfectly. I really dunno why, but here you go:

          Code:
          #dynamic 0x745500
          
          #org @start
          lockall
          msgbox @1 0x6
          special 0x113
          applymovement 0x7F @move
          waitmovement 0x0
          setvar 0x7002 0x1
          msgbox @2 0x6
          msgbox @string1 0x6
          msgbox @string3 0x6
          applymovement 0x2 @3
          applymovement 0x3 @4
          applymovement 0x5 @5
          applymovement 0x7 @6
          applymovement 0x8 @7 
          applymovement 0x9 @8
          waitmovement 0x0
          hidesprite 0x3
          hidesprite 0x2 
          hidesprite 0x5
          hidesprite 0x7
          hidesprite 0x8
          hidesprite 0x9
          applymovement 0x7F @9
          waitmovement 0x0
          special 0x114
          setflag 0x1005
          releaseall
          end
          
          #org @1
          = Mom: Help!!!!
          
          #org @move
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x12
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0x10
          #raw 0xFE
          
          #org @2
          = Mom: Somebody please help me!
          
          #org @string1
          = Grunt 1: Stop screaming, we run\nthis city so no one can help you.
          
          #org @string3
          = Grunt 2: Alright everyone, let's\nmove out.\pThe boss wants us to be in Yann\nTown in a couple of hours.\pGrunts: Yes sir!
          
          #org @3
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @4
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @5
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @6
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @7
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @8
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          
          #org @9
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x11
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0x13
          #raw 0xFE
          Thanks so much! :) It is weird why XSE can be stubborn sometimes, many thanks.
            #8058    
          Old March 25th, 2013 (4:32 PM).
          Crocky's Avatar
          Crocky Crocky is offline
          SuperScarlet!
             
            Join Date: Feb 2009
            Posts: 95
            I wanted to add headbutt trees to my hack, and I found this script by google. It works until after you use headbutt, then the game just doesn't allow you to move, like it's missing somthing. How can this be fixed and actually produce a headbutt encounter?

            Spoiler:
            #dynamic 0x800000

            #org @headbutt
            checkattack 0x1D
            compare 0x800D 0x06
            if 0x1 jump @could
            setanimation 0x00 0x800D
            bufferpartypokemon 0x00 0x800D
            bufferattack 0x01 0x1D
            message @question MSG_YESNO
            compare 0x800D 0x00
            if 0x1 jump @end
            message @used MSG_NORMAL
            closeonkeypress
            doanimation 0x25
            waitstate
            goto 0x1Be06F

            #org @could
            message @you MSG_NORMAL
            release
            end

            #org @end
            release
            end

            #org @question
            = This tree could have a Pokemon\nin it. Use HEADBUTT?

            #org @used
            = [buffer1] used [buffer2]!

            #org @you
            = This tree could be HEADBUTTed!
              #8059    
            Old March 25th, 2013 (4:38 PM).
            karatekid552's Avatar
            karatekid552 karatekid552 is offline
            What happens if I push it?....
               
              Join Date: Nov 2012
              Location: Do you really want to know? Really?
              Gender: Male
              Nature: Bold
              Posts: 1,766
              Quote:
              Originally Posted by TweenyTodd View Post
              I think the offsets line up right, and im sure of the script. But the spriteface script doesn't work.
              Spoiler:
              It is perfect (except the image looks like it is setting flag 0x001 on the last line instead of 0x801, just an image problem I hope.) The only thing I can think of is you are not starting a new game when you test your script. This script will only run on a completely brand new game start because the variable is changed as soon as the game starts preventing the map script from running again.
              __________________

              Paired with Simba
                #8060    
              Old March 25th, 2013 (4:39 PM).
              Spherical Ice's Avatar
              Spherical Ice Spherical Ice is online now
               
              Join Date: Nov 2007
              Location: Bristol, UK
              Age: 20
              Posts: 5,217
              Quote:
              Originally Posted by Crocky View Post
              I wanted to add headbutt trees to my hack, and I found this script by google. It works until after you use headbutt, then the game just doesn't allow you to move, like it's missing somthing. How can this be fixed and actually produce a headbutt encounter?

              Spoiler:
              #dynamic 0x800000

              #org @headbutt
              checkattack 0x1D
              compare 0x800D 0x06
              if 0x1 jump @could
              setanimation 0x00 0x800D
              bufferpartypokemon 0x00 0x800D
              bufferattack 0x01 0x1D
              message @question MSG_YESNO
              compare 0x800D 0x00
              if 0x1 jump @end
              message @used MSG_NORMAL
              closeonkeypress
              doanimation 0x25
              waitstate
              goto 0x1Be06F

              #org @could
              message @you MSG_NORMAL
              release
              end

              #org @end
              release
              end

              #org @question
              = This tree could have a Pokemon\nin it. Use HEADBUTT?

              #org @used
              = [buffer1] used [buffer2]!

              #org @you
              = This tree could be HEADBUTTed!
              It says to go to 0x1be06f, but that might be corrupt in you ROM. Here's what the script meant to say:

              Code:
              #dynamic 0x800000
              
              #org @headbutt
              checkattack 0x1D
              compare 0x800D 0x06
              if 0x1 jump @could
              setanimation 0x00 0x800D
              bufferpartypokemon 0x00 0x800D
              bufferattack 0x01 0x1D
              message @question MSG_YESNO
              compare 0x800D 0x00
              if 0x1 jump @end
              message @used MSG_NORMAL
              closeonkeypress
              doanimation 0x25
              waitstate
              goto @snippet2
              
              #org @could
              message @you MSG_NORMAL
              release
              end
              
              #org @end
              release
              end
              
              #org @question
              = This tree could have a Pokemon\nin it. Use HEADBUTT?
              
              #org @used
              = [buffer1] used [buffer2]!
              
              #org @you
              = This tree could be HEADBUTTed!
              
              #org @snippet2
              applymovement LASTTALKED @move1
              waitmovement 0x0
              hidesprite LASTTALKED
              special 0xAB
              compare LASTRESULT 0x0
              if 0x1 goto @snippet2
              waitstate
              releaseall
              end
              
              //---------------
              #org @snippet2
              releaseall
              end
              
              
              //-----------
              // Movements
              //-----------
              #org @move1
              #raw 0x68 //mov68
              #raw 0xFE //End of Movements
              __________________

              A Pokemon that is discriminated!
              Support squirtle and make it everyone's favourite.
                #8061    
              Old March 25th, 2013 (4:43 PM).
              karatekid552's Avatar
              karatekid552 karatekid552 is offline
              What happens if I push it?....
                 
                Join Date: Nov 2012
                Location: Do you really want to know? Really?
                Gender: Male
                Nature: Bold
                Posts: 1,766
                Spoiler:
                Quote:
                Originally Posted by Crocky View Post
                I wanted to add headbutt trees to my hack, and I found this script by google. It works until after you use headbutt, then the game just doesn't allow you to move, like it's missing somthing. How can this be fixed and actually produce a headbutt encounter?

                Spoiler:
                #dynamic 0x800000

                #org @headbutt
                checkattack 0x1D
                compare 0x800D 0x06
                if 0x1 jump @could
                setanimation 0x00 0x800D
                bufferpartypokemon 0x00 0x800D
                bufferattack 0x01 0x1D
                message @question MSG_YESNO
                compare 0x800D 0x00
                if 0x1 jump @end
                message @used MSG_NORMAL
                closeonkeypress
                doanimation 0x25
                waitstate
                goto 0x1Be06F

                #org @could
                message @you MSG_NORMAL
                release
                end

                #org @end
                release
                end

                #org @question
                = This tree could have a Pokemon\nin it. Use HEADBUTT?

                #org @used
                = [buffer1] used [buffer2]!

                #org @you
                = This tree could be HEADBUTTed!
                Animation 0x25 is the rock smash animation.... Oh, that is how it calls the pokemon. Does it freeze after or before you call the pokemon?

                Also, could you post the script that is at 0x1Be06F? I have a feeling that is where your problem lies.


                Spherical Ice, why do you have to be so fast?:p
                __________________

                Paired with Simba
                  #8062    
                Old March 25th, 2013 (5:07 PM).
                Crocky's Avatar
                Crocky Crocky is offline
                SuperScarlet!
                   
                  Join Date: Feb 2009
                  Posts: 95
                  Quote:
                  Originally Posted by karatekid552 View Post
                  Spoiler:


                  Animation 0x25 is the rock smash animation.... Oh, that is how it calls the pokemon. Does it freeze after or before you call the pokemon?

                  Also, could you post the script that is at 0x1Be06F? I have a feeling that is where your problem lies.


                  Spherical Ice, why do you have to be so fast?:p
                  @Spherical Ice, i',m getting a duplicate dynamic label in XSE.

                  @karatekid552
                  Spoiler:
                  '---------------
                  #org 0x1BE06F
                  applymovement LASTTALKED 0x81BE08F
                  waitmovement 0x0
                  hidesprite LASTTALKED
                  special 0xAB
                  compare LASTRESULT 0x0
                  if 0x1 goto 0x81BE08D
                  waitstate
                  releaseall
                  end

                  '---------------
                  #org 0x1BE08D
                  releaseall
                  end


                  '-----------
                  ' Movements
                  '-----------
                  #org 0x1BE08F
                  #raw 0x68 'mov68
                  #raw 0xFE 'End of Movements
                    #8063    
                  Old March 25th, 2013 (5:12 PM).
                  karatekid552's Avatar
                  karatekid552 karatekid552 is offline
                  What happens if I push it?....
                     
                    Join Date: Nov 2012
                    Location: Do you really want to know? Really?
                    Gender: Male
                    Nature: Bold
                    Posts: 1,766
                    Quote:
                    Originally Posted by Crocky View Post
                    @Spherical Ice, i',m getting a duplicate dynamic label in XSE.

                    @karatekid552
                    Spoiler:
                    '---------------
                    #org 0x1BE06F
                    applymovement LASTTALKED 0x81BE08F
                    waitmovement 0x0
                    hidesprite LASTTALKED
                    special 0xAB
                    compare LASTRESULT 0x0
                    if 0x1 goto 0x81BE08D
                    waitstate
                    releaseall
                    end

                    '---------------
                    #org 0x1BE08D
                    releaseall
                    end


                    '-----------
                    ' Movements
                    '-----------
                    #org 0x1BE08F
                    #raw 0x68 'mov68
                    #raw 0xFE 'End of Movements
                    He used @snippit2 twice. Now, to compare his and the original scripts....

                    They are the same, it should have worked. Can you explain where exactly it freezes and what you have attached this script to?
                    __________________

                    Paired with Simba
                      #8064    
                    Old March 25th, 2013 (5:33 PM).
                    Crocky's Avatar
                    Crocky Crocky is offline
                    SuperScarlet!
                       
                      Join Date: Feb 2009
                      Posts: 95
                      Quote:
                      Originally Posted by karatekid552 View Post
                      He used @snippit2 twice. Now, to compare his and the original scripts....

                      They are the same, it should have worked. Can you explain where exactly it freezes and what you have attached this script to?
                      I found the fix haha. I had it on a sign instead of person event. I put it on a Cut Tree and now when I use the headbutt, it shows the cut animation and it looks kind of odd, but it works. Is there any way to change it/remove the cut animation altogether for headbutt trees?
                        #8065    
                      Old March 25th, 2013 (5:38 PM).
                      karatekid552's Avatar
                      karatekid552 karatekid552 is offline
                      What happens if I push it?....
                         
                        Join Date: Nov 2012
                        Location: Do you really want to know? Really?
                        Gender: Male
                        Nature: Bold
                        Posts: 1,766
                        Quote:
                        Originally Posted by Crocky View Post
                        I found the fix haha. I had it on a sign instead of person event. I put it on a Cut Tree and now when I use the headbutt, it shows the cut animation and it looks kind of odd, but it works. Is there any way to change it/remove the cut animation altogether for headbutt trees?
                        Yes, you could attach it to regular trees which won't be animated because they aren't OWs, but rather tiles. The best and most efficient way would be to create a new behavior byte. I recently saw a tut in the tutorials section for it, and I know that JPAN's Hacked Engine has it. I also remember a thread somewhere in R&D or in the tutorial section specifically pertaining to headbutt trees. This should help you find your answer.
                        __________________

                        Paired with Simba
                          #8066    
                        Old March 25th, 2013 (10:04 PM).
                        crystalmole crystalmole is offline
                           
                          Join Date: Nov 2012
                          Gender: Male
                          Posts: 8
                          This script should be a script that allows you to buy TMs from a NPC. Instead it freezes the game. Does anyone know what i did wrong? And also is there a tool that allows me to change the price of an item's in game worth, such as an ultra ball costing 600?


                          #dynamic 0x800000

                          #org @start
                          lock
                          faceplayer
                          msgbox @1 0x6
                          pokemart @values
                          release
                          end

                          @org @1
                          = I sell TMs.

                          #org @values
                          #raw word 0x14B
                          #raw word 0x14D
                          #raw word 0x13C
                          #raw word 0x13A
                          #raw word 0x14A
                          #raw word 0x0
                            #8067    
                          Old March 25th, 2013 (10:13 PM).
                          destinedjagold's Avatar
                          destinedjagold destinedjagold is offline
                          Oh Hai Thar~
                           
                          Join Date: May 2007
                          Location: Philippines
                          Age: 27
                          Gender: Male
                          Nature: Careful
                          Posts: 8,574
                          Quote:
                          Originally Posted by crystalmole View Post
                          This script should be a script that allows you to buy TMs from a NPC. Instead it freezes the game. Does anyone know what i did wrong? And also is there a tool that allows me to change the price of an item's in game worth, such as an ultra ball costing 600?


                          #dynamic 0x800000

                          #org @start
                          lock
                          faceplayer
                          msgbox @1 0x6
                          pokemart @values
                          release
                          end

                          @org @1
                          = I sell TMs.

                          #org @values
                          #raw word 0x14B
                          #raw word 0x14D
                          #raw word 0x13C
                          #raw word 0x13A
                          #raw word 0x14A
                          #raw word 0x0

                          Error in color red.
                          Also, I've heard that sometimes it glitches if you'll use a number as an address, which is colored blue.
                          Though I couldn't really be sure of that, since I've not yet encountered such problems.

                          Anyway, for your second question, I believe thethethethe's item editing tool can do that. Not sure though.
                          __________________


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

                            #8068    
                          Old March 26th, 2013 (5:13 PM).
                          Bolens's Avatar
                          Bolens Bolens is offline
                          Soul Hacker
                           
                          Join Date: Jan 2010
                          Location: PA
                          Age: 24
                          Gender: Male
                          Nature: Mild
                          Posts: 359
                          Game: Firered Type: Level Script Editor: XSE Script:
                          Spoiler:
                          #dynamic 0x745800

                          #org @start
                          lockall
                          applymovement 0xFF @4
                          waitmovement 0x0
                          applymovement 0x9 @1
                          applymovement 0xA @2
                          waitmovement 0x0
                          msgbox @3 0x6
                          msgbox @string1 0x6
                          applymovement 0x9 @5
                          waitmovement 0x0
                          trainerbattle 0x0 0x5C 0x0 @6 @7
                          applymovement 0xA @8
                          waitmovement 0x0
                          trainerbattle 0x0 0x5D 0x0 @9 @10
                          msgbox @string2 0x6
                          giveitem 0x44 0x2 MSG_OBTAIN
                          msgbox @12 0x6
                          applymovement 0x9 @13
                          waitmovement 0x0
                          applymovement 0xA @14
                          waitmovement 0x0
                          hidesprite 0x9
                          hidesprite 0xA
                          setflag 0x1006
                          setvar 0x7003 0x1
                          releaseall
                          end

                          #org @1
                          #raw 0x62
                          #raw 0x3
                          #raw 0xFE

                          #org @2
                          #raw 0x62
                          #raw 0x3
                          #raw 0xFE

                          #org @3
                          = Grunt 1: Well look what we have\nhere, a nosy boy in our affairs.

                          #org @string1
                          = Grunt 2: Let’s teach him a\nlesson.

                          #org @4
                          #raw 0x11
                          #raw 0x11
                          #raw 0x2
                          #raw 0xFE

                          #org @5
                          #raw 0x10
                          #raw 0x13
                          #raw 0x13
                          #raw 0x11
                          #raw 0x3
                          #raw 0xFE

                          #org @6
                          = Prepare to lose!

                          #org @7
                          = How could you possibly defeat\nme!!!!

                          #org @8
                          #raw 0x11
                          #raw 0x13
                          #raw 0x13
                          #raw 0x0
                          #raw 0xFE

                          #org @9
                          = I won't be easily beaten unlike\nmy team mate!

                          #org @10
                          = Me too!! ugh!!

                          #org @string2
                          = Grunt 1: You beat us fair and\nsquare. Take these Rare Candies\lthey’ll help your Pokemon get\lstronger.

                          #org @12
                          = Grunt 2: Alright, we’ll be on\nour way, let’s go.

                          #org @13
                          #raw 0x10
                          #raw 0x13
                          #raw 0x10
                          #raw 0xFE

                          #org @14
                          #raw 0x12
                          #raw 0x10
                          #raw 0x10
                          #raw 0x10
                          #raw 0x13
                          #raw 0x0
                          #raw 0xFE

                          Problem: XSE crashes whenever I try to compile this into my ROM. This keeps happening, IDK why. Hopefully someone can help, thanks guys.

                          ~Bolens
                            #8069    
                          Old March 26th, 2013 (5:32 PM).
                          karatekid552's Avatar
                          karatekid552 karatekid552 is offline
                          What happens if I push it?....
                             
                            Join Date: Nov 2012
                            Location: Do you really want to know? Really?
                            Gender: Male
                            Nature: Bold
                            Posts: 1,766
                            Quote:
                            Originally Posted by Bolens View Post
                            Game: Firered Type: Level Script Editor: XSE Script:
                            Spoiler:
                            #dynamic 0x745800

                            #org @start
                            lockall
                            applymovement 0xFF @4
                            waitmovement 0x0
                            applymovement 0x9 @1
                            applymovement 0xA @2
                            waitmovement 0x0
                            msgbox @3 0x6
                            msgbox @string1 0x6
                            applymovement 0x9 @5
                            waitmovement 0x0
                            trainerbattle 0x0 0x5C 0x0 @6 @7
                            applymovement 0xA @8
                            waitmovement 0x0
                            trainerbattle 0x0 0x5D 0x0 @9 @10
                            msgbox @string2 0x6
                            giveitem 0x44 0x2 MSG_OBTAIN
                            msgbox @12 0x6
                            applymovement 0x9 @13
                            waitmovement 0x0
                            applymovement 0xA @14
                            waitmovement 0x0
                            hidesprite 0x9
                            hidesprite 0xA
                            setflag 0x1006
                            setvar 0x7003 0x1
                            releaseall
                            end

                            #org @1
                            #raw 0x62
                            #raw 0x3
                            #raw 0xFE

                            #org @2
                            #raw 0x62
                            #raw 0x3
                            #raw 0xFE

                            #org @3
                            = Grunt 1: Well look what we have\nhere, a nosy boy in our affairs.

                            #org @string1
                            = Grunt 2: Let’s teach him a\nlesson.

                            #org @4
                            #raw 0x11
                            #raw 0x11
                            #raw 0x2
                            #raw 0xFE

                            #org @5
                            #raw 0x10
                            #raw 0x13
                            #raw 0x13
                            #raw 0x11
                            #raw 0x3
                            #raw 0xFE

                            #org @6
                            = Prepare to lose!

                            #org @7
                            = How could you possibly defeat\nme!!!!

                            #org @8
                            #raw 0x11
                            #raw 0x13
                            #raw 0x13
                            #raw 0x0
                            #raw 0xFE

                            #org @9
                            = I won't be easily beaten unlike\nmy team mate!

                            #org @10
                            = Me too!! ugh!!

                            #org @string2
                            = Grunt 1: You beat us fair and\nsquare. Take these Rare Candies\lthey’ll help your Pokemon get\lstronger.

                            #org @12
                            = Grunt 2: Alright, we’ll be on\nour way, let’s go.

                            #org @13
                            #raw 0x10
                            #raw 0x13
                            #raw 0x10
                            #raw 0xFE

                            #org @14
                            #raw 0x12
                            #raw 0x10
                            #raw 0x10
                            #raw 0x10
                            #raw 0x13
                            #raw 0x0
                            #raw 0xFE

                            Problem: XSE crashes whenever I try to compile this into my ROM. This keeps happening, IDK why. Hopefully someone can help, thanks guys.

                            ~Bolens
                            I see no reason why XSE should be crashing. Are you using v1.1.1? Also, I see that you are using flags over 0x900. You do know the potential consequences if you aren't careful, right? (I am assuming you have been around a while:p)

                            The only possibilies are you have a faulty copy of XSE, or it doesn't like your @# labels. Try using words; it may work. I have written scripts ten times longer than this with no problems, so it shouldn't be the volume of your script which is causeing it.
                            __________________

                            Paired with Simba
                              #8070    
                            Old March 26th, 2013 (6:02 PM).
                            tajaros's Avatar
                            tajaros tajaros is offline
                            Hi I'm dawg
                               
                              Join Date: Apr 2012
                              Location: Philippines
                              Age: 19
                              Gender: Male
                              Nature: Timid
                              Posts: 857
                              Quote:
                              Originally Posted by Bolens View Post
                              Game: Firered Type: Level Script Editor: XSE Script:
                              Spoiler:
                              #dynamic 0x745800

                              #org @start
                              lockall
                              applymovement 0xFF @4
                              waitmovement 0x0
                              applymovement 0x9 @1
                              applymovement 0xA @2
                              waitmovement 0x0
                              msgbox @3 0x6
                              msgbox @string1 0x6
                              applymovement 0x9 @5
                              waitmovement 0x0
                              trainerbattle 0x0 0x5C 0x0 @6 @7
                              applymovement 0xA @8
                              waitmovement 0x0
                              trainerbattle 0x0 0x5D 0x0 @9 @10
                              msgbox @string2 0x6
                              giveitem 0x44 0x2 MSG_OBTAIN
                              msgbox @12 0x6
                              applymovement 0x9 @13
                              waitmovement 0x0
                              applymovement 0xA @14
                              waitmovement 0x0
                              hidesprite 0x9
                              hidesprite 0xA
                              setflag 0x1006
                              setvar 0x7003 0x1
                              releaseall
                              end

                              #org @1
                              #raw 0x62
                              #raw 0x3
                              #raw 0xFE

                              #org @2
                              #raw 0x62
                              #raw 0x3
                              #raw 0xFE

                              #org @3
                              = Grunt 1: Well look what we have\nhere, a nosy boy in our affairs.

                              #org @string1
                              = Grunt 2: Let’s teach him a\nlesson.

                              #org @4
                              #raw 0x11
                              #raw 0x11
                              #raw 0x2
                              #raw 0xFE

                              #org @5
                              #raw 0x10
                              #raw 0x13
                              #raw 0x13
                              #raw 0x11
                              #raw 0x3
                              #raw 0xFE

                              #org @6
                              = Prepare to lose!

                              #org @7
                              = How could you possibly defeat\nme!!!!

                              #org @8
                              #raw 0x11
                              #raw 0x13
                              #raw 0x13
                              #raw 0x0
                              #raw 0xFE

                              #org @9
                              = I won't be easily beaten unlike\nmy team mate!

                              #org @10
                              = Me too!! ugh!!

                              #org @string2
                              = Grunt 1: You beat us fair and\nsquare. Take these Rare Candies\lthey’ll help your Pokemon get\lstronger.

                              #org @12
                              = Grunt 2: Alright, we’ll be on\nour way, let’s go.

                              #org @13
                              #raw 0x10
                              #raw 0x13
                              #raw 0x10
                              #raw 0xFE

                              #org @14
                              #raw 0x12
                              #raw 0x10
                              #raw 0x10
                              #raw 0x10
                              #raw 0x13
                              #raw 0x0
                              #raw 0xFE

                              Problem: XSE crashes whenever I try to compile this into my ROM. This keeps happening, IDK why. Hopefully someone can help, thanks guys.

                              ~Bolens
                              Nothing seems to be wrong by the script itself the only thing I noticed is that you used flags greater than 0x900 please refrain from using those, Instead use flags from 0x200-0x2FF since they are more storyline related flags.

                              Also do not use setvar 0x7000 change it to something else.

                              And as for the crashing must be your XSE or comp making problems for that. May I know what OS are you using?
                              __________________
                                #8071    
                              Old March 27th, 2013 (2:11 AM).
                              Spherical Ice's Avatar
                              Spherical Ice Spherical Ice is online now
                               
                              Join Date: Nov 2007
                              Location: Bristol, UK
                              Age: 20
                              Posts: 5,217
                              If you're unsure if you're using the right version of XSE, here's a download link for 1.1.1, with all the std files and more (stdspecials, stdsounds) added.
                              __________________

                              A Pokemon that is discriminated!
                              Support squirtle and make it everyone's favourite.
                                #8072    
                              Old March 27th, 2013 (2:05 PM).
                              Renegade's Avatar
                              Renegade Renegade is offline
                              Time for real life...
                                 
                                Join Date: Nov 2011
                                Location: United States
                                Gender: Male
                                Nature: Careful
                                Posts: 998
                                Hello, PokeCommunity. I am having some trouble with this script:

                                Code:
                                #dynamic 0x800000
                                
                                #org @start
                                lockall
                                applymovement 0xFF @m1
                                waitmovement 0x0
                                message @t1 6
                                applymovement 0xFF @m2
                                waitmovement 0x0
                                message @t2 6
                                applymovement 0x7 @m3
                                waitmovement 0x0
                                message @t3 6
                                fadesong 0x0000
                                message @t4 6
                                special 0x113
                                applymovement 0xFF @m4
                                applymovement 0x7 @m5
                                waitmovement 0x0
                                hidesprite 0x7
                                hidesprite 0xFF
                                pause 0x20
                                applymovement 0x7F @m6
                                waitmovement 0x0
                                setflag 0x502
                                setvar 0x5002 0x1
                                warpmuted 0x11 0x0 0xFF 0x5 0x5
                                releaseall
                                end
                                
                                #org @m6
                                #raw 0x17
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0x15
                                #raw 0xA
                                #raw 0xA
                                #raw 0xFE
                                
                                #org @m4
                                #raw 0x8
                                #raw 0x8
                                #raw 0x8
                                #raw 0x8
                                #raw 0xB
                                #raw 0x8
                                #raw 0xB
                                #raw 0x8
                                #raw 0x8
                                #raw 0x8
                                #raw 0xFE
                                
                                #org @m5
                                #raw 0x8
                                #raw 0x8
                                #raw 0x8
                                #raw 0xB
                                #raw 0x8
                                #raw 0xB
                                #raw 0x8
                                #raw 0x8
                                #raw 0x8
                                #raw 0xFE
                                
                                #org @t4
                                = \v\h01: (A... A dive?\nI don't remember that...)\p\v\h01: (Who is this man?)\pYou look kind of... lost.\nMaybe you should come to my\lplace for a while.\pWe can have some coffee or\nsomething.\pLet's go, I'll show you the way.
                                
                                #org @t3
                                = Excuse me, are you okay? You sure\ntook a dive to the ground!
                                
                                #org @t2
                                = \v\h01: (Somebody's coming this\nway!)
                                
                                #org @m3
                                #raw 0x9
                                #raw 0x9
                                #raw 0xA
                                #raw 0x9
                                #raw 0x10
                                #raw 0x56
                                #raw 0x14
                                #raw 0x9
                                #raw 0x9
                                #raw 0xA
                                #raw 0x9
                                #raw 0xFE
                                
                                #org @m2
                                #raw 0x56
                                #raw 0xFE
                                
                                #org @t1
                                = \v\h01: (Where am I, now?\nWhere did REGIROCK go?)
                                
                                #org @m1
                                #raw 0x3
                                #raw 0x14
                                #raw 0x14
                                #raw 0x2
                                #raw 0x14
                                #raw 0x14
                                #raw 0x1
                                #raw 0x14
                                #raw 0x14
                                #raw 0x0
                                #raw 0xFE
                                The script works exactly how I want it to, except when it gets to the "warpmuted" command at the end. It is supposed to warp the character to an interior (house), but the game freezes on a black screen when it tries to warp the character. Any ideas?
                                __________________
                                  #8073    
                                Old March 27th, 2013 (4:09 PM).
                                karatekid552's Avatar
                                karatekid552 karatekid552 is offline
                                What happens if I push it?....
                                   
                                  Join Date: Nov 2012
                                  Location: Do you really want to know? Really?
                                  Gender: Male
                                  Nature: Bold
                                  Posts: 1,766
                                  Quote:
                                  Originally Posted by CrystalStatic View Post
                                  Hello, PokeCommunity. I am having some trouble with this script:

                                  Code:
                                  #dynamic 0x800000
                                  
                                  #org @start
                                  lockall
                                  applymovement 0xFF @m1
                                  waitmovement 0x0
                                  message @t1 6
                                  applymovement 0xFF @m2
                                  waitmovement 0x0
                                  message @t2 6
                                  applymovement 0x7 @m3
                                  waitmovement 0x0
                                  message @t3 6
                                  fadesong 0x0000
                                  message @t4 6
                                  special 0x113
                                  applymovement 0xFF @m4
                                  applymovement 0x7 @m5
                                  waitmovement 0x0
                                  hidesprite 0x7
                                  hidesprite 0xFF
                                  pause 0x20
                                  applymovement 0x7F @m6
                                  waitmovement 0x0
                                  setflag 0x502
                                  setvar 0x5002 0x1
                                  warpmuted 0x11 0x0 0xFF 0x5 0x5
                                  releaseall
                                  end
                                  
                                  #org @m6
                                  #raw 0x17
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0x15
                                  #raw 0xA
                                  #raw 0xA
                                  #raw 0xFE
                                  
                                  #org @m4
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0xB
                                  #raw 0x8
                                  #raw 0xB
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0xFE
                                  
                                  #org @m5
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0xB
                                  #raw 0x8
                                  #raw 0xB
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0x8
                                  #raw 0xFE
                                  
                                  #org @t4
                                  = \v\h01: (A... A dive?\nI don't remember that...)\p\v\h01: (Who is this man?)\pYou look kind of... lost.\nMaybe you should come to my\lplace for a while.\pWe can have some coffee or\nsomething.\pLet's go, I'll show you the way.
                                  
                                  #org @t3
                                  = Excuse me, are you okay? You sure\ntook a dive to the ground!
                                  
                                  #org @t2
                                  = \v\h01: (Somebody's coming this\nway!)
                                  
                                  #org @m3
                                  #raw 0x9
                                  #raw 0x9
                                  #raw 0xA
                                  #raw 0x9
                                  #raw 0x10
                                  #raw 0x56
                                  #raw 0x14
                                  #raw 0x9
                                  #raw 0x9
                                  #raw 0xA
                                  #raw 0x9
                                  #raw 0xFE
                                  
                                  #org @m2
                                  #raw 0x56
                                  #raw 0xFE
                                  
                                  #org @t1
                                  = \v\h01: (Where am I, now?\nWhere did REGIROCK go?)
                                  
                                  #org @m1
                                  #raw 0x3
                                  #raw 0x14
                                  #raw 0x14
                                  #raw 0x2
                                  #raw 0x14
                                  #raw 0x14
                                  #raw 0x1
                                  #raw 0x14
                                  #raw 0x14
                                  #raw 0x0
                                  #raw 0xFE
                                  The script works exactly how I want it to, except when it gets to the "warpmuted" command at the end. It is supposed to warp the character to an interior (house), but the game freezes on a black screen when it tries to warp the character. Any ideas?
                                  There are only two reasons that come to mind:

                                  1) Your warpmuted command is broken. (Highly unlikely)
                                  2) You confused Hex and Dec. 0x11 = 17d. Make sure you didn't get confused, it is a common mistake.
                                  __________________

                                  Paired with Simba
                                    #8074    
                                  Old March 27th, 2013 (4:42 PM).
                                  Renegade's Avatar
                                  Renegade Renegade is offline
                                  Time for real life...
                                     
                                    Join Date: Nov 2011
                                    Location: United States
                                    Gender: Male
                                    Nature: Careful
                                    Posts: 998
                                    Quote:
                                    Originally Posted by karatekid552 View Post
                                    There are only two reasons that come to mind:

                                    1) Your warpmuted command is broken. (Highly unlikely)
                                    2) You confused Hex and Dec. 0x11 = 17d. Make sure you didn't get confused, it is a common mistake.
                                    Nah, I was just on my way to delete my question, haha. It turns out the map I was warping to is corrupted. I just have to warp to a different map.
                                      #8075    
                                    Old March 30th, 2013 (8:43 AM).
                                    Patrick Symus's Avatar
                                    Patrick Symus Patrick Symus is offline
                                       
                                      Join Date: Mar 2013
                                      Gender: Male
                                      Posts: 29
                                      I hope I am posting in the right thread, but I am trying to create a script for a selection...
                                      So, I want to give choices, like:
                                      Slowpoke
                                      Polywag
                                      Mew
                                      Choose a pokemon.
                                      __________________
                                      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 5:38 AM.