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
  #7551    
Old January 18th, 2013 (4:26 PM).
DrFuji's Avatar
DrFuji DrFuji is online now
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 25
Gender: Male
Nature: Jolly
Posts: 1,424
Quote:
Originally Posted by zap cannon View Post
i downloaded it and when i start it says, run time error 9. subscript out of range.
Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
__________________

Relevant Advertising!

  #7552    
Old January 18th, 2013 (4:34 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 DrFuji View Post
    Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
    Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

    I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
    __________________

    Paired with Simba
      #7553    
    Old January 18th, 2013 (5:09 PM).
    DrFuji's Avatar
    DrFuji DrFuji is online now
    Heiki Hecchara‌‌
     
    Join Date: Sep 2009
    Location: Aussie
    Age: 25
    Gender: Male
    Nature: Jolly
    Posts: 1,424
    Quote:
    Originally Posted by karatekid552 View Post
    Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

    I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
    Is he using a Mac? If he is then he will have to use Wine so it can emulate a Windows OS. If he is using a Windows OS then it will be more complicated. Does he receive any message about the crash when it happens, like a runtime error or something? If he is getting it some sort of information then I would try going on that. It could also be a permission error but frankly I have absolutely no idea :P

    I don't think it requires any specific .dll or .net since I can't remember XSE crashing for me since getting it years ago (apart from changing the AutoUpdate=1) even though it was one of the things I downloaded first. I'm not very experienced when it comes to dealing with a serious internal problem like that nor do I have an insight into what it needs to run - I'm just throwing ideas into the air right now haha.
    __________________
      #7554    
    Old January 18th, 2013 (5:16 PM). Edited January 18th, 2013 by karatekid552.
    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 DrFuji View Post
      Quote:
      Originally Posted by karatekid552 View Post
      Dr. Fuji, just wondering, I have a friend who's XSE constantly crashed on opening. I sent him my perfectly working .ini, which had auto-update off, and it still continued to crash. We even replaced his XSE.exe too. So, are there any specific things XSE requires, like .dll files or the .net framework?

      I ended up installing all the .dll's and .net frameworks associated with rom hacking before ever getting XSE so I have no idea whether having them or not changed anything.
      Is he using a Mac? If he is then he will have to use Wine so it can emulate a Windows OS. If he is using a Windows OS then it will be more complicated. Does he receive any message about the crash when it happens, like a runtime error or something? If he is getting it some sort of information then I would try going on that. It could also be a permission error but frankly I have absolutely no idea :P

      I don't think it requires any specific .dll or .net since I can't remember XSE crashing for me since getting it years ago (apart from changing the AutoUpdate=1) even though it was one of the things I downloaded first. I'm not very experienced when it comes to dealing with a serious internal problem like that nor do I have an insight into what it needs to run - I'm just throwing ideas into the air right now haha.
      He didn't say anything about an error, and he said he was going to try an emulate another pc on his, so he might be using a mac. I didn't even think to ask. I'll get some more info and post. Thanks.
      __________________

      Paired with Simba
        #7555    
      Old January 18th, 2013 (6:33 PM).
      zap cannon's Avatar
      zap cannon zap cannon is offline
         
        Join Date: Jan 2013
        Gender: Male
        Posts: 5
        Quote:
        Originally Posted by DrFuji View Post
        Open the Settings file in Notepad and change 'AutoUpdateCheck=1' to 'AutoUpdateCheck=0'.
        i don't have a settings file as i only got a .zip file and not a .rar file from tajaros' link so i only have the application and nothing else. any links to a xse folder and not just the application?
          #7556    
        Old January 18th, 2013 (6:42 PM).
        DrFuji's Avatar
        DrFuji DrFuji is online now
        Heiki Hecchara‌‌
         
        Join Date: Sep 2009
        Location: Aussie
        Age: 25
        Gender: Male
        Nature: Jolly
        Posts: 1,424
        Quote:
        Originally Posted by zap cannon View Post
        i don't have a settings file as i only got a .zip file and not a .rar file from tajaros' link so i only have the application and nothing else. any links to a xse folder and not just the application?
        Here's a link of what originally came with XSE - It has the .rbh files, guide and settings. The settings have already had the AutoUpdateCheck set to 0 so it should be in working condition as soon as its downloaded :D

        It is a compressed file though so you will need a program like 7Zip or WinRAR to open it.
        __________________
          #7557    
        Old January 18th, 2013 (10:15 PM).
        SpadeEdge16's Avatar
        SpadeEdge16 SpadeEdge16 is offline
           
          Join Date: May 2012
          Gender: Male
          Posts: 154
          Hey, can someone help me out really quick? I used this as the set healing place for the mothers house of FR and when i tested it after losing a battle, I ended up in the traderoom placeand then was stuck there. I set the script to 3 i believe, "on enter/menu close" or whatever. I'm sorry, if there's one thing I always mess up, it's level scripts.

          #dynamic 0x800000
          #org @start
          lock
          faceplayer
          setvar 0x405A 0x0004
          setvar 0x405B 0x05
          setvar 0x405C 0x05
          applymovement 0x1 @face2
          waitmovement 0x1
          applymovement 0xFF @face
          waitmovement 0xFF
          sethealingplace 0x1
          release
          end

          #org @face
          #raw 0x01
          #raw 0xFE

          #org @face2
          #raw 0x0
          #raw 0xFE
          __________________
            #7558    
          Old January 20th, 2013 (12:51 AM).
          TheUltimateG.J's Avatar
          TheUltimateG.J TheUltimateG.J is offline
             
            Join Date: Oct 2011
            Location: Bihar,Darbhanga
            Age: 19
            Gender: Male
            Nature: Jolly
            Posts: 105
            how can i make a shiny wild pokemon battle?
            __________________


            A lover of Pokemon and their Hacks this is no other than?

            Only he can be----->G.J
              #7559    
            Old January 20th, 2013 (8:04 AM). Edited January 20th, 2013 by karatekid552.
            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 Ganeshwar View Post
              how can i make a shiny wild pokemon battle?
              The good way or the easy way? Haha.

              If you want to do it the good way, just go into HackMew's knowledge and look for a link to making shinies near the top. This requires a good amount of ASM knowledge and time, however, it will make shinies that are completely unique in terms of PID stats and such.

              However, if you're not into ASM, use the tool Shinyzer on your rom. After you use it, just add "setvar 0x8003 0x#" to any script and the next # of Pokemon will be shiny (including trainer pokemon, not just wild!). This isn't the best way since I've heard the PID's tend to not be unique and the stats aren't perfect, but it does work, and I haven't had any problems with it.
              __________________

              Paired with Simba
                #7560    
              Old January 21st, 2013 (3:59 PM). Edited January 21st, 2013 by Noossab Blue.
              Noossab Blue's Avatar
              Noossab Blue Noossab Blue is offline
                 
                Join Date: Dec 2012
                Location: USA
                Gender: Female
                Nature: Quirky
                Posts: 240
                I used A-Mart to edit some of the marts in my FR Hack, and now Lavender's mart is glitchy. It shows a string of random letters instead of an image, if you try to buy anything it says you have no room, and when you exit the menu the game blacks out and never comes back.

                I went into the script and for some reason it had an extra checkflag and return added to the end of the script instead of release and end, so I removed those. But the problem was still there. So I went into a backup of the Hack and pulled up the script from that, and there seemed to be no difference except for the #raw word values, which are what I changed.

                Finally, I wrote a new script that looks almost identical to the old one but with new offsets. This ALMOST worked, except that when I have a 3-digit hex value as a #raw word (ex. #raw word 13F), it only reads the last two (the 3F part) and so displays the wrong item. I checked other mart scripts and that doesn't happen...

                Can anybody help me? I'll attach the most current script...

                EDIT: Apparently it wasn't just Lavender. Fucshia's is messed up too, and who knows how many others...

                Code:
                '-----------------------
                #org 0x802159
                special 0x187
                compare LASTRESULT 0x2
                if 0x1 goto 0x81A7AE0
                lock
                faceplayer
                msgbox2 0x81A6211 '"Hi, there!\nMay I help you?"
                waitmsgbox
                pokemart 0x880217F
                msgbox 0x81A5190 '"Please come again!"
                callstd 0x4
                release
                end
                
                '-----------------------
                #org 0x1A7AE0
                release
                end
                
                
                '-----------
                ' MartItems
                '-----------
                #org 0x80217F
                #raw word 16
                #raw word 3
                #raw word 18
                #raw word E
                #raw word 13F <-these are the problem three...
                #raw word 142 <-I don't know what's going on
                #raw word 148 <-with it...
                #raw word 55
                #raw word 53
                #raw word 0
                
                
                '---------
                ' Strings
                '---------
                #org 0x1A6211
                = Hi, there!\nMay I help you?
                
                #org 0x1A5190
                = Please come again!
                __________________
                IGN: Anna/Noossab Blue
                3DS FC: 3196 3609 8450

                Thanks to SilverGrey for the awesome banner! Click to see!
                Current as of 1/31/14: I updated again!

                  #7561    
                Old January 21st, 2013 (4:23 PM).
                DoesntKnowHowToPlay's Avatar
                DoesntKnowHowToPlay DoesntKnowHowToPlay is offline
                Tiny Umbrella with Lots and Lots of Good
                   
                  Join Date: Jan 2012
                  Posts: 258
                  The game doesn't support having TMs and regular items in the same shop's inventory- notice how the interface used for the TM merchant in the department store is very different from the regular merchant:



                  The simplest solution would be to have a separate NPC selling the TMs like the Celadon Department Store does.
                  __________________

                  Yet Another Fire Red Hack

                  Physical/Special Split
                    #7562    
                  Old January 21st, 2013 (4:29 PM). Edited January 21st, 2013 by karatekid552.
                  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 Noossab Blue View Post
                    I used A-Mart to edit some of the marts in my FR Hack, and now Lavender's mart is glitchy. It shows a string of random letters instead of an image, if you try to buy anything it says you have no room, and when you exit the menu the game blacks out and never comes back.

                    I went into the script and for some reason it had an extra checkflag and return added to the end of the script instead of release and end, so I removed those. But the problem was still there. So I went into a backup of the Hack and pulled up the script from that, and there seemed to be no difference except for the #raw word values, which are what I changed.

                    Finally, I wrote a new script that looks almost identical to the old one but with new offsets. This ALMOST worked, except that when I have a 3-digit hex value as a #raw word (ex. #raw word 13F), it only reads the last two (the 3F part) and so displays the wrong item. I checked other mart scripts and that doesn't happen...

                    Can anybody help me? I'll attach the most current script...

                    Code:
                    '-----------------------
                    #org 0x802159
                    special 0x187
                    compare LASTRESULT 0x2
                    if 0x1 goto 0x81A7AE0
                    lock
                    faceplayer
                    msgbox2 0x81A6211 '"Hi, there!nMay I help you?"
                    waitmsgbox
                    pokemart 0x880217F
                    msgbox 0x81A5190 '"Please come again!"
                    callstd 0x4
                    release
                    end
                    
                    '-----------------------
                    #org 0x1A7AE0
                    release
                    end
                    
                    
                    '-----------
                    ' MartItems
                    '-----------
                    #org 0x80217F
                    #raw word 16
                    #raw word 3
                    #raw word 18
                    #raw word E
                    #raw word 13F <-these are the problem three...
                    #raw word 142 <-I don't know what's going on
                    #raw word 148 <-with it...
                    #raw word 55
                    #raw word 53
                    #raw word 0
                    
                    
                    '---------
                    ' Strings
                    '---------
                    #org 0x1A6211
                    = Hi, there!nMay I help you?
                    
                    #org 0x1A5190
                    = Please come again!
                    Managed to replicate that exact result in my copy just by making those same changes. However, mine displays the correct items. Everything else is the same. Glitched text where pic should be, black screen on exit.

                    This same thing happened on all marts. Why? Have you ever seen tms and regular mechandise on sale together? No, I haven't either. The reason being because they have different displays. A tm shows just text, however an item shows a pic and text. This is your problem. The game is unable to load both types at once and therefore is overloaded by having both in the same pokemart.

                    So, just keep them seperate. Have two guys behind the counter. One selling regular stuff and the other selling tms.

                    Hope this helps!


                    Edit: I guess I took too long. DoesntKnowHowToPlay beat me to it, i'll put my text in a spoiler then.
                    __________________

                    Paired with Simba
                      #7563    
                    Old January 22nd, 2013 (7:38 AM).
                    TheUltimateG.J's Avatar
                    TheUltimateG.J TheUltimateG.J is offline
                       
                      Join Date: Oct 2011
                      Location: Bihar,Darbhanga
                      Age: 19
                      Gender: Male
                      Nature: Jolly
                      Posts: 105
                      #dynamic 0x800000
                      setvar 0x8003
                      #org @start
                      lock
                      faceplayer
                      cry 0x19 0x0
                      msgbox @roar 0x6
                      waitcry
                      wildbattle 0x19 0x5 0xCA
                      fadescreen 0x0
                      hidesprite 0x800F
                      fadescreen 0x1
                      setflag 0x300
                      release
                      end

                      #org @roar
                      = PIKACHU: PIKA!

                      can any1 tell me why this don't let me battle a shiny wild pikachu?
                      __________________


                      A lover of Pokemon and their Hacks this is no other than?

                      Only he can be----->G.J
                        #7564    
                      Old January 22nd, 2013 (7:43 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 Ganeshwar View Post
                        #dynamic 0x800000
                        setvar 0x8003
                        #org @start
                        lock
                        faceplayer
                        cry 0x19 0x0
                        msgbox @roar 0x6
                        waitcry
                        wildbattle 0x19 0x5 0xCA
                        fadescreen 0x0
                        hidesprite 0x800F
                        fadescreen 0x1
                        setflag 0x300
                        release
                        end

                        #org @roar
                        = PIKACHU: PIKA!

                        can any1 tell me why this don't let me battle a shiny wild pikachu?
                        Yes, you must set the var 0x8003 to a number, and it must be inside of the @start at least.


                        So, if you want 1 shiny pikachu:
                        setvar 0x8003 0x1

                        If you want the next 2 pokemon shiny:
                        setvar 0x8003 0x2
                        and so on and so forth...


                        And it requires Shinyizer, just for anyone else looking at this.
                        __________________

                        Paired with Simba
                          #7565    
                        Old January 22nd, 2013 (8:56 AM).
                        Lord Varion's Avatar
                        Lord Varion Lord Varion is offline
                        Guess who's back?
                           
                          Join Date: Feb 2009
                          Age: 23
                          Gender: Other
                          Nature: Naughty
                          Posts: 2,643
                          I'm trying to script, it's something I've never done before I got this:

                          #dynamic 0x801E60
                          #org @start
                          lock
                          faceplayer
                          msgbox @1 0x6
                          release
                          end

                          #org @1
                          = Hello \v\h01!\nIt sure is a cold day, eh?

                          When I copy and paste the Offest from XSE's compiler i get;
                          801EC0

                          But the game warps me to a strange black room with Celadon City music, and then it crashes. Halp!
                          __________________
                          gone.
                            #7566    
                          Old January 22nd, 2013 (9:34 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 Nintendork15 View Post
                            I'm trying to script, it's something I've never done before I got this:

                            #dynamic 0x801E60
                            #org @start
                            lock
                            faceplayer
                            msgbox @1 0x6
                            release
                            end

                            #org @1
                            = Hello \v\h01!\nIt sure is a cold day, eh?

                            When I copy and paste the Offest from XSE's compiler i get;
                            801EC0

                            But the game warps me to a strange black room with Celadon City music, and then it crashes. Halp!
                            It looks so simple.... How could this have happened? But I might have your problem. When you compiled it, did you take the @start offset or the @1 offset? The game won't like reading a message without the msgbox command, and will try to execute it as it's own command by instead of reading text, reading the hex numbers as raw commands.

                            This is what I think happened. Sometimes XSE will auto select other offsets besides @start. It can get confused if you have @start2 or @begin and won't know which one to auto select for copying. Just recompile it and make sure you take the @start offset.
                            __________________

                            Paired with Simba
                              #7567    
                            Old January 22nd, 2013 (4:04 PM).
                            Noossab Blue's Avatar
                            Noossab Blue Noossab Blue is offline
                               
                              Join Date: Dec 2012
                              Location: USA
                              Gender: Female
                              Nature: Quirky
                              Posts: 240
                              Thanks Doesnt and karatekid.

                              But now I'm having one small problem...

                              I'm copying the original mart text verbatim, only changing the beginning offset and the offset of the mart items (and of course, the mart items themselves). But now, when I test the marts in-game, some of them work and others don't bring up the buy menu, seemingly at random...

                              Here's an example of one that works:

                              Code:
                              '-----------------------
                              #org 0x8022B2
                              special 0x187
                              compare LASTRESULT 0x2
                              if 0x1 goto 0x81A7AE0
                              lock
                              faceplayer
                              msgbox2 0x81A6211 '"Hi, there!\nMay I help you?"
                              waitmsgbox
                              pokemart 0x88022DA
                              msgbox 0x81A5190 '"Please come again!"
                              callstd 0x4
                              release
                              end
                              
                              '-----------------------
                              #org 0x1A7AE0
                              release
                              end
                              
                              
                              '-----------
                              ' MartItems
                              '-----------
                              #org 0x8022DA
                              #raw word 12C
                              #raw word 14D
                              #raw word 142
                              #raw word 148
                              #raw word 129
                              #raw word 147
                              #raw word 0
                              
                              
                              '---------
                              ' Strings
                              '---------
                              #org 0x1A6211
                              = Hi, there!\nMay I help you?
                              
                              #org 0x1A5190
                              = Please come again!
                              And here is one that doesn't:

                              Code:
                              '-----------------------
                              #org 0x802337
                              special 0x187
                              compare LASTRESULT 0x2
                              if 0x1 goto 0x81A7AE0
                              lock
                              faceplayer
                              msgbox2 0x880236A '"Hi, there!\nMay I help you?"
                              waitmsgbox
                              pokemart 0x880235F
                              msgbox 0x81A5190 '"Please come again!"
                              callstd 0x4
                              release
                              end
                              
                              '-----------------------
                              #org 0x1A7AE0
                              release
                              end
                              
                              
                              '-----------
                              ' MartItems
                              '-----------
                              #org 0x80235F
                              #raw word 124
                              #raw word 128
                              #raw word 130
                              #raw word 141
                              #raw word 0
                              
                              
                              '---------
                              ' Strings
                              '---------
                              #org 0x80236A
                              = Hi, there!\nMay I help you?
                              
                              #org 0x1A5190
                              = Please come again!
                              __________________
                              IGN: Anna/Noossab Blue
                              3DS FC: 3196 3609 8450

                              Thanks to SilverGrey for the awesome banner! Click to see!
                              Current as of 1/31/14: I updated again!

                                #7568    
                              Old January 22nd, 2013 (4:24 PM).
                              Lord Varion's Avatar
                              Lord Varion Lord Varion is offline
                              Guess who's back?
                                 
                                Join Date: Feb 2009
                                Age: 23
                                Gender: Other
                                Nature: Naughty
                                Posts: 2,643
                                '-----------------------
                                #org 0x800200
                                lock
                                faceplayer
                                msgbox 0x826D3BD '"Have fun [player]!\nYour mother wil..."
                                release
                                end


                                '---------
                                ' Strings
                                '---------
                                #org 0x26D3BD
                                = Have fun [player]!\nYour mother will wait here at home.

                                This is a script that's been compiled I made.

                                Talking to the NPC does nothing.
                                __________________
                                gone.
                                  #7569    
                                Old January 22nd, 2013 (4:35 PM).
                                Noossab Blue's Avatar
                                Noossab Blue Noossab Blue is offline
                                   
                                  Join Date: Dec 2012
                                  Location: USA
                                  Gender: Female
                                  Nature: Quirky
                                  Posts: 240
                                  You need a callstd 0x__ (probably 4, maybe 6...I forget what each does) after the msgbox.

                                  Or msgbox @whatever 0x__ if you have an updated version...(i think)
                                  __________________
                                  IGN: Anna/Noossab Blue
                                  3DS FC: 3196 3609 8450

                                  Thanks to SilverGrey for the awesome banner! Click to see!
                                  Current as of 1/31/14: I updated again!

                                    #7570    
                                  Old January 22nd, 2013 (5:22 PM).
                                  Lord Varion's Avatar
                                  Lord Varion Lord Varion is offline
                                  Guess who's back?
                                     
                                    Join Date: Feb 2009
                                    Age: 23
                                    Gender: Other
                                    Nature: Naughty
                                    Posts: 2,643
                                    I'm back again.

                                    '-----------------------
                                    #org 0x800300
                                    checkflag 0x7
                                    if 0x1 goto 0x8800338
                                    lock
                                    applymovement 0x1 0x880033B
                                    callstd 0x6
                                    msgbox 0x880033E '"Mum: Oh [player]!\n You're up!"
                                    applymovement 0x1 0x880035C
                                    waitmovement 0x0
                                    msgbox 0x8800361 '"Mum: A letter came for you today.\n..."
                                    applymovement 0x1 0x88004C2
                                    release
                                    end

                                    '-----------------------
                                    #org 0x800338
                                    release
                                    end


                                    '-----------
                                    ' Movements
                                    '-----------
                                    #org 0x80033B
                                    #raw 1 'Face Up

                                    #org 0x80035C
                                    #raw 11 'Step Up (Normal)
                                    #raw 11 'Step Up (Normal)
                                    #raw 13 'Step Right (Normal)
                                    #raw 13 'Step Right (Normal)

                                    #org 0x8004C2
                                    #raw 12 'Step Left (Normal)
                                    #raw 12 'Step Left (Normal)
                                    #raw 10 'Step Down (Normal)
                                    #raw 10 'Step Down (Normal)


                                    '---------
                                    ' Strings
                                    '---------
                                    #org 0x80033E
                                    = Mum: Oh [player]!\n You're up!

                                    #org 0x800361
                                    = Mum: A letter came for you today.\nHere I'll read it:\p''Dear [player],\nWe've recieved a Parcel for you from Maxi,\pplease make haste and collect it\nFrom, Worseth Town PO.\pMum: Hmmm, A parcel huh?\nGo ask Maxi, he might help ya!\pBut ... I guess this means, you'll\nbe leaving on a journey.\pHuh, me?\nOh don't worry, I'll be fine.\pGo have some fun.

                                    just gives me this:

                                    __________________
                                    gone.
                                      #7571    
                                    Old January 22nd, 2013 (5:32 PM).
                                    Noossab Blue's Avatar
                                    Noossab Blue Noossab Blue is offline
                                       
                                      Join Date: Dec 2012
                                      Location: USA
                                      Gender: Female
                                      Nature: Quirky
                                      Posts: 240
                                      I'm not sure if this will fix everything, but callstd should come after the msgbox.

                                      EDIT: and make sure you have another callstd after the second msgbox.
                                      __________________
                                      IGN: Anna/Noossab Blue
                                      3DS FC: 3196 3609 8450

                                      Thanks to SilverGrey for the awesome banner! Click to see!
                                      Current as of 1/31/14: I updated again!

                                        #7572    
                                      Old January 22nd, 2013 (5:36 PM).
                                      Lord Varion's Avatar
                                      Lord Varion Lord Varion is offline
                                      Guess who's back?
                                         
                                        Join Date: Feb 2009
                                        Age: 23
                                        Gender: Other
                                        Nature: Naughty
                                        Posts: 2,643


                                        Making some form of progress doing that. :I
                                        __________________
                                        gone.
                                          #7573    
                                        Old January 22nd, 2013 (5:39 PM).
                                        Noossab Blue's Avatar
                                        Noossab Blue Noossab Blue is offline
                                           
                                          Join Date: Dec 2012
                                          Location: USA
                                          Gender: Female
                                          Nature: Quirky
                                          Posts: 240
                                          Why are you using checkflag 0x7? Unless it's specifically set earlier, you'll want to use an otherwise unused flag.

                                          http://www.pokecommunity.com/showpost.php?p=6829256&postcount=158

                                          Here is a list of already used flags.

                                          EDIT: Also, I believe you need a #Raw FE at the end of all your movements.
                                          __________________
                                          IGN: Anna/Noossab Blue
                                          3DS FC: 3196 3609 8450

                                          Thanks to SilverGrey for the awesome banner! Click to see!
                                          Current as of 1/31/14: I updated again!

                                            #7574    
                                          Old January 22nd, 2013 (5:57 PM).
                                          Lord Varion's Avatar
                                          Lord Varion Lord Varion is offline
                                          Guess who's back?
                                             
                                            Join Date: Feb 2009
                                            Age: 23
                                            Gender: Other
                                            Nature: Naughty
                                            Posts: 2,643
                                            It sort of work now.

                                            She walks up to the player, talks then stops like planned.
                                            But she does not walk back to her seat, and the script can happen again when re stepped on.

                                            '-----------------------
                                            #org 0x800300
                                            checkflag 0x7
                                            if 0x1 goto 0x8800338
                                            applymovement 0x1 0x880033B
                                            msgbox 0x880033E '"Mum: Oh [player]!\n You're up!"
                                            callstd 0x6
                                            applymovement 0x1 0x880035C
                                            msgbox 0x8800361 '"Mum: A letter came for you today.\n..."
                                            callstd 0x6
                                            applymovement 0x1 0x88004C2
                                            release
                                            end

                                            '-----------------------
                                            #org 0x800338
                                            release
                                            end


                                            '-----------
                                            ' Movements
                                            '-----------
                                            #org 0x80033B
                                            #raw 62 'Exclamation Mark (!)
                                            #raw 1 'Face Up
                                            #raw FE 'End of Movements

                                            #org 0x80035C
                                            #raw 11 'Step Up (Normal)
                                            #raw 11 'Step Up (Normal)
                                            #raw 3 'Face Right
                                            #raw FE 'End of Movements

                                            #org 0x8004C2
                                            #raw 10 'Step Down (Normal)
                                            #raw 10 'Step Down (Normal)
                                            #raw 2 'Face Left
                                            #raw FE 'End of Movements


                                            '---------
                                            ' Strings
                                            '---------
                                            #org 0x80033E
                                            = Mum: Oh [player]!\nYou're up!

                                            #org 0x800361
                                            = Mum: A letter came for you today.\nHere I'll read it:\p''Dear [player],\nWe've recieved a Parcel for you from\pMaxi, please make haste and collect it\nFrom, Worseth Town PO.\pMum: Hmmm, A parcel huh?\nGo ask Maxi, he might help ya!\pBut ... I guess this means, you'll\nbe leaving on a journey.\pHuh, me?\nOh don't worry, I'll be fine.\pGo have some fun.
                                            __________________
                                            gone.
                                              #7575    
                                            Old January 22nd, 2013 (6:02 PM).
                                            machomuu's Avatar
                                            machomuu machomuu is offline
                                             
                                            Join Date: Apr 2008
                                            Location: Americalanavania
                                            Gender: Male
                                            Nature: Relaxed
                                            Posts: 10,361
                                            @Nintendork - In the movements, it points to 0x8004C2. However, you have the applymovement pointing to 0x88004C2 in the actual script. Remove the duplicate "8" up top.
                                            __________________
                                            Paired to and madly in love with a literal Symphony of legs.


                                            I also watch anime sometimes. Just a little.
                                            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 6:20 AM.