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

Closed Thread
 
Thread Tools
  #7576    
Old January 22nd, 2013 (6:26 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 Noossab Blue View Post
    Well, if it works in 1.1.1, then I guess I should upgrade...thanks for checking into it. It totally baffled me!
    It still bafles me, after comparing the hex code, it was exactly the same! I don't get it. But yeah, once you get through the slightly different commands, it is very good. My favorite new feature is the pop up while your typeing to let you know what parameters go with each command. No more hitting F1 all the time!xD
    __________________

    Paired with Simba
      #7577    
    Old January 22nd, 2013 (6:30 PM).
    Noossab Blue's Avatar
    Noossab Blue Noossab Blue is offline
       
      Join Date: Dec 2012
      Location: USA
      Gender: Female
      Nature: Quirky
      Posts: 240
      @nintendork- can you post the script again, please? That is really strange...

      @karatekid- I found a download, and I'm getting the suscript error everyone does...but I don't have a readme file to fix. Do you know what I can do?
      __________________
      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!

        #7578    
      Old January 22nd, 2013 (6:31 PM). Edited January 22nd, 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 Nintendork15 View Post
        This is really odd now.
        She moves after the 2nd Speech.
        But moves left once. and then it freezes.
        But nowhere in the script does it tell her to move left.

        Are you recompiling this dynamically each time? Or editing what is already in the rom? If you are just editing what is in the rom, anything that takes up more room, such as a new commad, is going to overwrite and affect more data.

        When I'm compiling a script, I will make a back-up copy of my rom, then continually recompile it dynamically until it is finally right. I will then save that script, delete my current rom and open the back-up and the insert the saved script. This saves me the wasted space of testing a script over and over while also preventing me from overwriting data.

        Quote:
        Originally Posted by Noossab Blue View Post
        @nintendork- can you post the script again, please? That is really strange...

        @karatekid- I found a download, and I'm getting the suscript error everyone does...but I don't have a readme file to fix. Do you know what I can do?
        Let me email you my exact working copy that has worked in even the most extreme problem cases. Like the one my friend had a couple of pages ago that I asked DrFuji about. If you don't allow vCard download, could you pm me your email? You already have the program, so there is no harm in me emailing it you.
        __________________

        Paired with Simba
          #7579    
        Old January 22nd, 2013 (6:36 PM).
        Lord Varion's Avatar
        Lord Varion Lord Varion is offline
        Guess who's back?
           
          Join Date: Feb 2009
          Age: 24
          Gender: Other
          Nature: Naughty
          Posts: 2,643
          Quote:
          Originally Posted by Noossab Blue View Post
          @nintendork- can you post the script again, please? That is really strange...

          @karatekid- I found a download, and I'm getting the suscript error everyone does...but I don't have a readme file to fix. Do you know what I can do?
          '-----------------------
          #org 0x800C00
          setvar 0x7000 0x1
          checkflag 0x7
          if 0x1 goto 0x8800338
          applymovement 0x1 0x880033B
          waitmovement 0x0
          msgbox 0x880033E '"Mum: Oh [player]!\nYou're up!"
          callstd 0x6
          applymovement 0x1 0x880035C
          waitmovement 0x0
          msgbox 0x8800361 '"Mum: A letter came for you today.\n..."
          callstd 0x6
          applymovement 0x1 0x6C8004C2
          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


          '---------
          ' 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 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.

          Quote:
          Originally Posted by karatekid552 View Post
          Are you recompiling this dynamically each time? Or editing what is already in the rom? If you are just editing what is in the rom, anything that takes up more room, such as a new commad, is going to overwrite and affect more data.

          When I'm compiling a script, I will make a back-up copy of my rom, then continually recompile it dynamically until it is finally right. I will then save that script, delete my current rom and open the back-up and the insert the saved script. This saves me the wasted space of testing a script over and over while also preventing me from overwriting data.



          Let me email you my exact working copy that has worked in even the most extreme problem cases. Like the one my friend had a couple of pages ago that I asked DrFuji about. If you don't allow vCard download, could you pm me your email? You already have the program, so there is no harm in me emailing it you.
          Tried that.
          She still goes the wrong way.
          __________________
          gone.
            #7580    
          Old January 22nd, 2013 (6:41 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 Nintendork15 View Post
            '-----------------------
            #org 0x800C00
            setvar 0x7000 0x1
            checkflag 0x7
            if 0x1 goto 0x8800338
            applymovement 0x1 0x880033B
            waitmovement 0x0
            msgbox 0x880033E '"Mum: Oh [player]!\nYou're up!"
            callstd 0x6
            applymovement 0x1 0x880035C
            waitmovement 0x0
            msgbox 0x8800361 '"Mum: A letter came for you today.\n..."
            callstd 0x6
            applymovement 0x1 0x6C8004C2
            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


            '---------
            ' 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 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.



            Tried that.
            She still goes the wrong way.
            Where is your third apply movement? If it just wasn't accidentally not posted, that could be the problem. It's pointing to random numbers that it's reading as movements.
            __________________

            Paired with Simba
              #7581    
            Old January 22nd, 2013 (6:45 PM).
            Noossab Blue's Avatar
            Noossab Blue Noossab Blue is offline
               
              Join Date: Dec 2012
              Location: USA
              Gender: Female
              Nature: Quirky
              Posts: 240
              Also, still no lock at the beginning. I don't know how big of a deal that is, but at the very least you don't want to be able to wakl away in the middle of it...
              __________________
              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!

                #7582    
              Old January 22nd, 2013 (6:56 PM).
              Lord Varion's Avatar
              Lord Varion Lord Varion is offline
              Guess who's back?
                 
                Join Date: Feb 2009
                Age: 24
                Gender: Other
                Nature: Naughty
                Posts: 2,643
                Quote:
                Originally Posted by karatekid552 View Post
                Where is your third apply movement? If it just wasn't accidentally not posted, that could be the problem. It's pointing to random numbers that it's reading as movements.
                Oh my yes.

                Re wrote it, compiled it, closed window, re opened, and it's deleted itself.

                I don't know why ?
                __________________
                gone.
                  #7583    
                Old January 22nd, 2013 (7:08 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
                  This is the weirdest series of errors I've seen on one script. Could you send us the dynamically labeled one? I hope you saved, which you always should.
                  __________________

                  Paired with Simba
                    #7584    
                  Old January 22nd, 2013 (7:37 PM).
                  FBI's Avatar
                  FBI FBI is offline
                  Free supporter
                   
                  Join Date: Jan 2013
                  Location: Unknown Island
                  Gender: Male
                  Posts: 1,867
                  Quote:
                  Originally Posted by Nintendork15 View Post
                  Oh my yes.

                  Re wrote it, compiled it, closed window, re opened, and it's deleted itself.

                  I don't know why ?
                  I don't know if this is related, but the move up in fire red and leaf green are different (In LG it moves you right I think). If you're not using fire red perhaps those move up and move down raws are mixed up. Could be wrong, but worth a shot :D
                    #7585    
                  Old January 23rd, 2013 (7:10 AM). Edited January 23rd, 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
                    Quote:
                    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...

                    Spoiler:
                    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!
                    Back again...I tried recompiling with xse 1.1.1, to no avail. Some of the time I can make it work still and other times I can't. The last time I made it work, it was displaying "Please come again!" twice...which is weird...but then again this whole thing is very strange.

                    Any help would be appreciated.
                    _____________________________________________________

                    EDIT: Funny story guys. I got frustrated and decided to start the marts over again using one of my backups. Besides using XSE 1.1.1, everything I did was the same. Admittedly, I told A-Map to use later offsets on the off chance that had anything to do with it. I also noticed that when you create a person event behind the counter, the movement permission changes to 0 (no idea if that matters either, just an observation). Annnnnnnd...

                    It works. Or so it seems. WEIRD. Anyway, with my luck I'll be back in 5 minutes saying it doesn't work after all, but for now...thanks for the help.
                    __________________
                    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!

                      #7586    
                    Old January 24th, 2013 (7:20 PM).
                    machomuu's Avatar
                    machomuu machomuu is offline
                    Yo
                     
                    Join Date: Apr 2008
                    Location: Americalanavania
                    Gender: Male
                    Nature: Relaxed
                    Posts: 10,381
                    I can't seem to compile this, I keep getting the error "Unknown keyword "" at line 129" Any ideas?

                    In XSE, line 129 is empty.

                    This is a script for Fire Red.

                    Spoiler:
                    #dynamic 0x800000

                    #org @start
                    lock
                    applymovement 0x1 @Oh
                    msgbox @Og 0x6
                    waitmovement 0x1
                    applymovement 0xFF @Wall
                    waitmovement 0xFF
                    applymovement 0x1 @Pall
                    waitmovement 0x0
                    msgbox @Fae 0x6
                    applymovement 0x1 @Have
                    waitmovement 0x0
                    applymovement 0x1 @Moe
                    applymovement 0xFF @Moe
                    waitmovement 0x0
                    applymovement 0x1 @Prof
                    waitmovement 0x0
                    msgbox @Rap 0x6
                    applymovement 0x1 @Mall
                    waitmovement 0x0
                    applymovement 0x11 @Dall
                    waitmovement 0x0
                    msgbox @Ae 0x6
                    applymovement 0x11 @Fall
                    msgbox @Mark 0x6
                    applymovement 0x11 @Ad
                    msgbox @Tae 0x6
                    applymovement 0x11 @Bad
                    waitmovement 0x0
                    msgbox @Sar 0x6
                    applymovement 0x11 @Ad
                    waitmovement 0x0
                    msgbox @Thar 0x6
                    applymovement 0x11 @Bad
                    waitmovement 0x0
                    msgbox @Far 0x6
                    msgbox @Far2 0x6
                    msgbox @Yer 0x6
                    release
                    end

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

                    #org @Og
                    = Oh!

                    #org @Wall
                    #raw 0x2
                    #raw 0xFE

                    #org @Pall
                    #raw 0x13
                    #raw 0x13
                    #raw 0xFE

                    #org @Fae
                    = AIDE: Welcome to Professor Oak's\nlab.\p[Player]: You mean CERN, right?\pAIDE: For the last time, this\nisn't CERN.\p[PLAYER]: Yeah, yeah. Anyway, I'm here\nto see the professor.\pAIDE: ...Right this way.

                    #org @Have
                    #raw 0x11
                    #raw 0x13
                    #raw 0x1
                    #raw 0xFE

                    #org @Moe
                    #raw 0x11
                    #raw 0x11
                    #raw 0xFE

                    #org @Prof
                    #raw 0x63
                    #raw 0xFE

                    #org @Rap
                    = AIDE: Professor? Are you heading\nout?\pOAK: Yes. Do you need something?\pAIDE: [PLAYER] is here to see you.\pOAK: I see. You can go.\pAIDE: Yes, sir.

                    #org @Mall
                    #raw 0x12
                    #raw 0x10
                    #raw 0x10
                    #raw 0x10
                    #raw 0x10
                    #raw 0x13
                    #raw 0x12
                    #raw 0x60
                    #raw 0xFE

                    #org @Dall
                    #raw 0x10
                    #raw 0xFE

                    #org @Ae
                    = OAK: To what do I owe this\npleasure, [PLAYER]?\p[Player]: Well, I came to learn more\nabout time travel, and I thought\lyou, of all people, would know.\pOAK: What about it do you want to\nknow?\p[PLAYER]: Well, [RIVAL] mentioned that\n"Extra-Dimensional\lTravel"...whatever that is, is not\lpossible via time travel. Is this\ltrue?\pOAK: Well, yes. You have to think\nof time travel as more restricted\lthan that...

                    #org @Fall
                    #raw 0x2
                    #raw 0x3
                    #raw 0x1
                    #raw 0x62
                    #raw 0xFE

                    #org @Mark
                    = Take those three pokeballs, for\nexample.

                    #org @Ad
                    #raw 0x1
                    #raw 0xFE

                    #org @Bad
                    #raw 0x0
                    #raw 0xFE

                    #org @Tae
                    = In those pokeballs are three\npokemon.\pOne thing to note,\nhowever, is that those pokemon\lcannot escape the pokeballs of\ltheir volition.\p[Player]: So how does this relate to\ntime travel?\pOAK: Let us use the pokeballs as\nan example for a universe. So-\p[Player]: Hold on, hold on.

                    #org @Sar
                    = [Player]: You said "a universe", are you\nimplying that there is more than\lone universe out there?\pOAK: For the sake of your line of\nquestioning, yes.\pBack to the example.

                    #org @Thar
                    = The pokemon in those pokeballs\ncannot move freely between their\lpokeballs.\lIf they try to, it\lwill be a futile effort because\lthe distance between them and the\lborders of the pokeball is, for\ldiscussion's sake,
                    infinte.\p[PLAYER]: Isn't that why so many people\nbelieve that there is only one\luniverse?\lIt is in the name, after all.

                    #org @Far
                    = OAK: Yes. The idea of multiple\n'uni'verses, and infinite ones at\lthat, is almost inconceivable.\pHowever, one thing to note about\nthose pokeballs is that they are\lsealed.\lThey have their own unique pokemon\ljust as our universes supposedly\lhave their own unique laws of\lspace and time.\lWe do not share the same, what we\lcall 'facets of reality', as other\luniverses do.\pBut what if there were to be a\ncrack in the universe?\p[PLAYER]: You mean like a wormhole or a\nblack hole?\pOAK: Right on the money.\pThough, I
                    should note that black\nholes are not 'rips in the\lspace-time continuum', but are\linstead the result of stars\lcollapsing into themselves and\lcreating a compressed area called\la 'singularity' where only gravity\lexists.\p[Player]: ...This...this is too much...\pOAK: Stay with me. Now, one can\ntechnically 'travel through time'\lif they were somehow able to sail\lon the event horizon of a black\lhole.\p[Player]: Wouldn't they get sucked in?

                    #org @Far2
                    = OAK: Now you understand why time\ntravel is but a dream.\pIf one were to sail close to the\nevent horizon, they would\lperceive, and even feel the\leffects of time progression at a\lmuch slower rate than normal due\lto the gravitational field.\p[PLAYER]: In other words, time is slower\nfor them?\pOAK: Exactly.\pNow, the reason people suspect\nthat one can travel to other\ldimensions, though not necessarily\luniverses, with a black hole is\lbecause a black hole is a\lsingularity.\pIn other words, it is an infinite\npoint, and inside that point, the\llaws of physics do not apply.\p[PLAYER]: So this goes back to not\ncontaining our "facets of\lreality"?\pOAK: Yes.\pA wormhole, on the other hand, is\nlike the "crack" that I mentioned\learlier.\lIt is, supposedly, a rip in the\lspace-time continuum that works as\la tunnel to other universes.\lThe problem with wormholes,\lhowever, is that they have not\lbeen proven to exist.\pDoes that answer your question?

                    #org @Yer
                    = [PLAYER]: Well, I guess my real question\nwould be this:\lIs it possible to go back into the\lpast without becoming incredibly\lcompressed, unusable, or\lrecognizable?\pOAK: No, sadly. There is no such\nmethod to do so.\pOne could time travel, if only for\nan astronomically short time from\lour perspective, if they were to\lgo close to the event horizon of a\lblack hole.\lHowever, they would no doubt be\lsucked in.\p[PLAYER]: Is it possible with the LHC?\pOAK: Hm...I see that you are\nreferring to the mini-black hole\lthat the LHC can produce.\p...\p...\pI would speculate that, if someone\nwere able to reverse the effects\lof one's sailing close to the\levent horizon...yes, we could.\lThough I do not feel that it will\lbe for a long time.\p[PLAYER]: Well thank you for your time,\nprofessor. I really appreciate\lit.\pOAK: The pleasure is all mine.\pTake care.
                    __________________
                    Paired to and madly in love with a literal Symphony of legs.


                    I also watch anime sometimes. Just a little.
                      #7587    
                    Old January 24th, 2013 (7:36 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,489
                    Quote:
                    Originally Posted by machomuu View Post
                    I can't seem to compile this, I keep getting the error "Unknown keyword "" at line 129" Any ideas?

                    In XSE, line 129 is empty.

                    This is a script for Fire Red.

                    Spoiler:
                    #dynamic 0x800000

                    #org @start
                    lock
                    applymovement 0x1 @Oh
                    msgbox @Og 0x6
                    waitmovement 0x1
                    applymovement 0xFF @Wall
                    waitmovement 0xFF
                    applymovement 0x1 @Pall
                    waitmovement 0x0
                    msgbox @Fae 0x6
                    applymovement 0x1 @Have
                    waitmovement 0x0
                    applymovement 0x1 @Moe
                    applymovement 0xFF @Moe
                    waitmovement 0x0
                    applymovement 0x1 @Prof
                    waitmovement 0x0
                    msgbox @Rap 0x6
                    applymovement 0x1 @Mall
                    waitmovement 0x0
                    applymovement 0x11 @Dall
                    waitmovement 0x0
                    msgbox @Ae 0x6
                    applymovement 0x11 @Fall
                    msgbox @Mark 0x6
                    applymovement 0x11 @Ad
                    msgbox @Tae 0x6
                    applymovement 0x11 @Bad
                    waitmovement 0x0
                    msgbox @Sar 0x6
                    applymovement 0x11 @Ad
                    waitmovement 0x0
                    msgbox @Thar 0x6
                    applymovement 0x11 @Bad
                    waitmovement 0x0
                    msgbox @Far 0x6
                    msgbox @Far2 0x6
                    msgbox @Yer 0x6
                    release
                    end

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

                    #org @Og
                    = Oh!

                    #org @Wall
                    #raw 0x2
                    #raw 0xFE

                    #org @Pall
                    #raw 0x13
                    #raw 0x13
                    #raw 0xFE

                    #org @Fae
                    = AIDE: Welcome to Professor Oak's\nlab.\p[Player]: You mean CERN, right?\pAIDE: For the last time, this\nisn't CERN.\p[PLAYER]: Yeah, yeah. Anyway, I'm here\nto see the professor.\pAIDE: ...Right this way.

                    #org @Have
                    #raw 0x11
                    #raw 0x13
                    #raw 0x1
                    #raw 0xFE

                    #org @Moe
                    #raw 0x11
                    #raw 0x11
                    #raw 0xFE

                    #org @Prof
                    #raw 0x63
                    #raw 0xFE

                    #org @Rap
                    = AIDE: Professor? Are you heading\nout?\pOAK: Yes. Do you need something?\pAIDE: [PLAYER] is here to see you.\pOAK: I see. You can go.\pAIDE: Yes, sir.

                    #org @Mall
                    #raw 0x12
                    #raw 0x10
                    #raw 0x10
                    #raw 0x10
                    #raw 0x10
                    #raw 0x13
                    #raw 0x12
                    #raw 0x60
                    #raw 0xFE

                    #org @Dall
                    #raw 0x10
                    #raw 0xFE

                    #org @Ae
                    = OAK: To what do I owe this\npleasure, [PLAYER]?\p[Player]: Well, I came to learn more\nabout time travel, and I thought\lyou, of all people, would know.\pOAK: What about it do you want to\nknow?\p[PLAYER]: Well, [RIVAL] mentioned that\n"Extra-Dimensional\lTravel"...whatever that is, is not\lpossible via time travel. Is this\ltrue?\pOAK: Well, yes. You have to think\nof time travel as more restricted\lthan that...

                    #org @Fall
                    #raw 0x2
                    #raw 0x3
                    #raw 0x1
                    #raw 0x62
                    #raw 0xFE

                    #org @Mark
                    = Take those three pokeballs, for\nexample.

                    #org @Ad
                    #raw 0x1
                    #raw 0xFE

                    #org @Bad
                    #raw 0x0
                    #raw 0xFE

                    #org @Tae
                    = In those pokeballs are three\npokemon.\pOne thing to note,\nhowever, is that those pokemon\lcannot escape the pokeballs of\ltheir volition.\p[Player]: So how does this relate to\ntime travel?\pOAK: Let us use the pokeballs as\nan example for a universe. So-\p[Player]: Hold on, hold on.

                    #org @Sar
                    = [Player]: You said "a universe", are you\nimplying that there is more than\lone universe out there?\pOAK: For the sake of your line of\nquestioning, yes.\pBack to the example.

                    #org @Thar
                    = The pokemon in those pokeballs\ncannot move freely between their\lpokeballs.\lIf they try to, it\lwill be a futile effort because\lthe distance between them and the\lborders of the pokeball is, for\ldiscussion's sake,
                    infinte.\p[PLAYER]: Isn't that why so many people\nbelieve that there is only one\luniverse?\lIt is in the name, after all.

                    #org @Far
                    = OAK: Yes. The idea of multiple\n'uni'verses, and infinite ones at\lthat, is almost inconceivable.\pHowever, one thing to note about\nthose pokeballs is that they are\lsealed.\lThey have their own unique pokemon\ljust as our universes supposedly\lhave their own unique laws of\lspace and time.\lWe do not share the same, what we\lcall 'facets of reality', as other\luniverses do.\pBut what if there were to be a\ncrack in the universe?\p[PLAYER]: You mean like a wormhole or a\nblack hole?\pOAK: Right on the money.\pThough, I
                    should note that black\nholes are not 'rips in the\lspace-time continuum', but are\linstead the result of stars\lcollapsing into themselves and\lcreating a compressed area called\la 'singularity' where only gravity\lexists.\p[Player]: ...This...this is too much...\pOAK: Stay with me. Now, one can\ntechnically 'travel through time'\lif they were somehow able to sail\lon the event horizon of a black\lhole.\p[Player]: Wouldn't they get sucked in?

                    #org @Far2
                    = OAK: Now you understand why time\ntravel is but a dream.\pIf one were to sail close to the\nevent horizon, they would\lperceive, and even feel the\leffects of time progression at a\lmuch slower rate than normal due\lto the gravitational field.\p[PLAYER]: In other words, time is slower\nfor them?\pOAK: Exactly.\pNow, the reason people suspect\nthat one can travel to other\ldimensions, though not necessarily\luniverses, with a black hole is\lbecause a black hole is a\lsingularity.\pIn other words, it is an infinite\npoint, and inside that point, the\llaws of physics do not apply.\p[PLAYER]: So this goes back to not\ncontaining our "facets of\lreality"?\pOAK: Yes.\pA wormhole, on the other hand, is\nlike the "crack" that I mentioned\learlier.\lIt is, supposedly, a rip in the\lspace-time continuum that works as\la tunnel to other universes.\lThe problem with wormholes,\lhowever, is that they have not\lbeen proven to exist.\pDoes that answer your question?

                    #org @Yer
                    = [PLAYER]: Well, I guess my real question\nwould be this:\lIs it possible to go back into the\lpast without becoming incredibly\lcompressed, unusable, or\lrecognizable?\pOAK: No, sadly. There is no such\nmethod to do so.\pOne could time travel, if only for\nan astronomically short time from\lour perspective, if they were to\lgo close to the event horizon of a\lblack hole.\lHowever, they would no doubt be\lsucked in.\p[PLAYER]: Is it possible with the LHC?\pOAK: Hm...I see that you are\nreferring to the mini-black hole\lthat the LHC can produce.\p...\p...\pI would speculate that, if someone\nwere able to reverse the effects\lof one's sailing close to the\levent horizon...yes, we could.\lThough I do not feel that it will\lbe for a long time.\p[PLAYER]: Well thank you for your time,\nprofessor. I really appreciate\lit.\pOAK: The pleasure is all mine.\pTake care.
                    I can't replicate that error and I can't ever recall something like this happening. I'd suggest shifting the parts of your script around and see if you can fill line 129 with something. The easiest thing to do this is probably putting your big block of applymovements/ msgboxes at the end of the script.

                    Hopefully that stops XSE from glitching out but I'm really not sure what caused this in the first place :/
                    __________________
                      #7588    
                    Old January 25th, 2013 (6:05 AM).
                    machomuu's Avatar
                    machomuu machomuu is offline
                    Yo
                     
                    Join Date: Apr 2008
                    Location: Americalanavania
                    Gender: Male
                    Nature: Relaxed
                    Posts: 10,381
                    Quote:
                    Originally Posted by DrFuji View Post
                    I can't replicate that error and I can't ever recall something like this happening. I'd suggest shifting the parts of your script around and see if you can fill line 129 with something. The easiest thing to do this is probably putting your big block of applymovements/ msgboxes at the end of the script.

                    Hopefully that stops XSE from glitching out but I'm really not sure what caused this in the first place :/
                    Thanks for the help, Fuji.

                    I tried it out, but sadly, it didn't work. However, one thing I did notice is that where @Far went, the error always followed. For instance, say the following lines were 127 (the pointer), 128 (the text), and 129 (the blank line):
                    Spoiler:
                    #org @Far
                    = OAK: Yes. The idea of multiple\n'uni'verses, and infinite ones at\lthat, is almost inconceivable.\p*snip*


                    The error would occur on 129. If I moved those same 3 lines (or even just the two containing the pointer and text) to a different location, regardless of what is in the following line, it would give me the same error.

                    I then tried removing @Far, and low and behold, it compiled...which is a problem, since that's one of my most important text strings.

                    Any idea on why this is happening?
                    __________________
                    Paired to and madly in love with a literal Symphony of legs.


                    I also watch anime sometimes. Just a little.
                      #7589    
                    Old January 25th, 2013 (10:12 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 machomuu View Post
                      Thanks for the help, Fuji.

                      I tried it out, but sadly, it didn't work. However, one thing I did notice is that where @Far went, the error always followed. For instance, say the following lines were 127 (the pointer), 128 (the text), and 129 (the blank line):
                      Spoiler:
                      #org @Far
                      = OAK: Yes. The idea of multiple\n'uni'verses, and infinite ones at\lthat, is almost inconceivable.\p*snip*


                      The error would occur on 129. If I moved those same 3 lines (or even just the two containing the pointer and text) to a different location, regardless of what is in the following line, it would give me the same error.

                      I then tried removing @Far, and low and behold, it compiled...which is a problem, since that's one of my most important text strings.

                      Any idea on why this is happening?
                      I noticed that when I attempted to compile it, there were points at which the enter/return (depending on your keyboard) had been hit to go to the next line in the middle of a text. These caused errors in similar areas. Are you sure that every single set of text is just on one line?

                      Other than that, it compiled just fine.
                      __________________

                      Paired with Simba
                        #7590    
                      Old January 25th, 2013 (10:36 AM).
                      SpadeEdge16's Avatar
                      SpadeEdge16 SpadeEdge16 is offline
                         
                        Join Date: May 2012
                        Gender: Male
                        Posts: 154
                        Quote:
                        Originally Posted by machomuu View Post
                        Thanks for the help, Fuji.

                        I tried it out, but sadly, it didn't work. However, one thing I did notice is that where @Far went, the error always followed. For instance, say the following lines were 127 (the pointer), 128 (the text), and 129 (the blank line):
                        Spoiler:
                        #org @Far
                        = OAK: Yes. The idea of multiple\n'uni'verses, and infinite ones at\lthat, is almost inconceivable.\p*snip*


                        The error would occur on 129. If I moved those same 3 lines (or even just the two containing the pointer and text) to a different location, regardless of what is in the following line, it would give me the same error.

                        I then tried removing @Far, and low and behold, it compiled...which is a problem, since that's one of my most important text strings.

                        Any idea on why this is happening?
                        I've also had this same problem happen to me, basically if I have some kind of small mistake with the text, I'll go back and fix it, but then when I compile it, the unknown keyword will show up like it did for you. I've even tried deleting the line with the error, then it'll just go to the next line with the redone text. I've tried copy and pasting it into a new script, same problem. Basically all you can really do is just make the whole script over again. At least that's what worked for me. I don't know any technical reasons as to what causes it though.
                          #7591    
                        Old January 26th, 2013 (6:14 PM).
                        thetripplenine's Avatar
                        thetripplenine thetripplenine is offline
                        tripple.
                           
                          Join Date: Jan 2013
                          Location: California
                          Age: 20
                          Gender: Male
                          Nature: Bold
                          Posts: 98
                          Spoiler:
                          '-----------------------
                          #org 0x9C0B77
                          checkflag 0x800
                          if 0x1 goto 0x88000B2
                          msgbox 0x8845E7E '"A Riolu is in a Pokéball.\pDo you w..."
                          callstd 0x5
                          compare LASTRESULT 0x1
                          if 0x1 goto 0x8845D18
                          msgbox 0x88000E9 '"Well it doesn't seem right, is this..."
                          callstd 0x6
                          release
                          end

                          '-----------------------
                          #org 0x8000B2
                          msgbox 0x8800154 '"Really you want another one!"
                          callstd 0x6
                          release
                          end

                          '-----------------------
                          #org 0x845D18
                          givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                          fanfare 0x13E
                          msgbox 0x8845D4D '"\c\h01ÊFound a RIOLU!"
                          callstd 0x4
                          waitfanfare
                          closeonkeypress
                          setflag 0x800
                          msgbox 0x8845D62 '"\c\h01ÊNickname this RIOLU?"
                          callstd 0x5
                          compare LASTRESULT 0x1
                          if 0x1 goto 0x88000AB
                          release
                          end

                          '-----------------------
                          #org 0x8000AB
                          call 0x81A0678
                          return

                          '-----------------------
                          #org 0x1A0678
                          fadescreen 0x1
                          special 0x9E
                          waitstate
                          return


                          '---------
                          ' Strings
                          '---------
                          #org 0x845E7E
                          = A Riolu is in a Pokéball.\pDo you want a Riolu?

                          #org 0x8000E9
                          = Well it doesn't seem right, is this\nan initiation?

                          #org 0x800154
                          = Really you want another one!

                          #org 0x845D4D
                          = \c\h01ÊFound a RIOLU!

                          #org 0x845D62
                          = \c\h01ÊNickname this RIOLU?



                          Whenever I say yes to nickname it goes to the image of a clock. Help please...
                            #7592    
                          Old January 26th, 2013 (6:25 PM).
                          machomuu's Avatar
                          machomuu machomuu is offline
                          Yo
                           
                          Join Date: Apr 2008
                          Location: Americalanavania
                          Gender: Male
                          Nature: Relaxed
                          Posts: 10,381
                          Quote:
                          Originally Posted by thetripplenine View Post
                          Spoiler:
                          '-----------------------
                          #org 0x9C0B77
                          checkflag 0x800
                          if 0x1 goto 0x88000B2
                          msgbox 0x8845E7E '"A Riolu is in a Pokéball.\pDo you w..."
                          callstd 0x5
                          compare LASTRESULT 0x1
                          if 0x1 goto 0x8845D18
                          msgbox 0x88000E9 '"Well it doesn't seem right, is this..."
                          callstd 0x6
                          release
                          end

                          '-----------------------
                          #org 0x8000B2
                          msgbox 0x8800154 '"Really you want another one!"
                          callstd 0x6
                          release
                          end

                          '-----------------------
                          #org 0x845D18
                          givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                          fanfare 0x13E
                          msgbox 0x8845D4D '"\c\h01ÊFound a RIOLU!"
                          callstd 0x4
                          waitfanfare
                          closeonkeypress
                          setflag 0x800
                          msgbox 0x8845D62 '"\c\h01ÊNickname this RIOLU?"
                          callstd 0x5
                          compare LASTRESULT 0x1
                          if 0x1 goto 0x88000AB
                          release
                          end

                          '-----------------------
                          #org 0x8000AB
                          call 0x81A0678
                          return

                          '-----------------------
                          #org 0x1A0678
                          fadescreen 0x1
                          special 0x9E
                          waitstate
                          return


                          '---------
                          ' Strings
                          '---------
                          #org 0x845E7E
                          = A Riolu is in a Pokéball.\pDo you want a Riolu?

                          #org 0x8000E9
                          = Well it doesn't seem right, is this\nan initiation?

                          #org 0x800154
                          = Really you want another one!

                          #org 0x845D4D
                          = \c\h01ÊFound a RIOLU!

                          #org 0x845D62
                          = \c\h01ÊNickname this RIOLU?



                          Whenever I say yes to nickname it goes to the image of a clock. Help please...
                          What game are you hacking?
                          __________________
                          Paired to and madly in love with a literal Symphony of legs.


                          I also watch anime sometimes. Just a little.
                            #7593    
                          Old January 26th, 2013 (6:29 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 machomuu View Post
                            What game are you hacking?
                            He must be hacking Ruby because no special in FireRed documented by JPAN brings up a clock, and there is no clock in FireRed to begin with.
                            __________________

                            Paired with Simba
                              #7594    
                            Old January 26th, 2013 (6:33 PM).
                            thetripplenine's Avatar
                            thetripplenine thetripplenine is offline
                            tripple.
                               
                              Join Date: Jan 2013
                              Location: California
                              Age: 20
                              Gender: Male
                              Nature: Bold
                              Posts: 98
                              The game i'm hacking is emerald.
                                #7595    
                              Old January 26th, 2013 (6:53 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 thetripplenine View Post
                                The game i'm hacking is emerald.
                                So close... Many of the specials are different on Emerald. Special 0xA1 will nickname a pokemon for you. Try looking at scripts which you know contain the given special to find their new numbers.
                                __________________

                                Paired with Simba
                                  #7596    
                                Old January 26th, 2013 (7:31 PM).
                                FBI's Avatar
                                FBI FBI is offline
                                Free supporter
                                 
                                Join Date: Jan 2013
                                Location: Unknown Island
                                Gender: Male
                                Posts: 1,867
                                Quote:
                                Originally Posted by karatekid552 View Post
                                So close... Many of the specials are different on Emerald. Special 0xA1 will nickname a pokemon for you. Try looking at scripts which you know contain the given special to find their new numbers.
                                Even in Fire Red I found my nickname special only works sometimes. Any idea why that is? Like it works I'd say half the time and randomly. Script doesn't crash or anything but it doesn't name the Pokemon (the nick name screen comes up with a ??? rather than the Pokemon mini-sprite-overworld thing). I can only assume I'm supposed to do more in the script than just calling the nickname special.

                                Any idea why that is?
                                __________________
                                ...
                                  #7597    
                                Old January 26th, 2013 (7:46 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
                                  The nickname special read the pokemon position from var 0x8004, where 0x0 is your first slot. If this is set to a slot where there is no pokemon, it will still try to name it. This is all I can think is happening.
                                  __________________

                                  Paired with Simba
                                    #7598    
                                  Old January 26th, 2013 (10:34 PM). Edited January 26th, 2013 by DrFuji.
                                  thetripplenine's Avatar
                                  thetripplenine thetripplenine is offline
                                  tripple.
                                     
                                    Join Date: Jan 2013
                                    Location: California
                                    Age: 20
                                    Gender: Male
                                    Nature: Bold
                                    Posts: 98
                                    And now it's not even letting me receive the Pokemon, fun..

                                    Spoiler:
                                    '-----------------------
                                    #org 0x9C0B77
                                    checkflag 0x800
                                    if 0x1 goto 0x88000B2
                                    msgbox 0x8845E7E '"A Riolu is in a Pokéball.\pDo you w..."
                                    callstd 0x5
                                    compare LASTRESULT 0x1
                                    if 0x1 goto 0x8845D18
                                    msgbox 0x88000E9 '"Well it doesn't seem right, is this..."
                                    callstd 0x6
                                    release
                                    end

                                    '-----------------------
                                    #org 0x8000B2
                                    msgbox 0x8800154 '"Really you want another one!"
                                    callstd 0x6
                                    release
                                    end

                                    '-----------------------
                                    #org 0x845D18
                                    givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                                    fanfare 0x13E
                                    msgbox 0x8845D4D '"\c\h01ÊFound a RIOLU!"
                                    callstd 0x4
                                    waitfanfare
                                    closeonkeypress
                                    setflag 0x800
                                    msgbox 0x8845D62 '"\c\h01ÊNickname this RIOLU?"
                                    special 0xA1
                                    compare LASTRESULT 0x1
                                    if 0x1 goto 0x88000AB
                                    bufferitem 0x8 0x1FC
                                    if 0xC0 call 0xD8E2E9E3
                                    nop
                                    cmdD5 0xCC00
                                    cmdC3 0xC9
                                    bufferboxname 0xCF 0xFFAB
                                    checkcoins 0xC64B

                                    '-----------------------
                                    #org 0x8000AB
                                    call 0x81A0678
                                    '-----------------------
                                    #org 0x1A0678
                                    fadescreen 0x1

                                    '---------
                                    ' Strings
                                    '---------
                                    #org 0x845E7E
                                    = A Riolu is in a Pokéball.\pDo you want a Riolu?

                                    #org 0x8000E9
                                    = Well it doesn't seem right, is this\nan initiation?

                                    #org 0x800154
                                    = Really you want another one!

                                    #org 0x845D4D
                                    = \c\h01ÊFound a RIOLU!

                                    #org 0x845D62
                                    = \c\h01ÊNickname this RIOLU?




                                    Proof that this doesn't let me get the actual pokemon, it's actually really small, click it to make it bigger...
                                    Lol MB
                                      #7599    
                                    Old January 27th, 2013 (12:22 AM).
                                    DrFuji's Avatar
                                    DrFuji DrFuji is online now
                                    Heiki Hecchara‌‌
                                     
                                    Join Date: Sep 2009
                                    Location: Aussie
                                    Age: 25
                                    Gender: Male
                                    Nature: Jolly
                                    Posts: 1,489
                                    Quote:
                                    Originally Posted by thetripplenine View Post
                                    And now it's not even letting me receive the Pokemon, fun..

                                    Spoiler:
                                    '-----------------------
                                    #org 0x9C0B77
                                    checkflag 0x800
                                    if 0x1 goto 0x88000B2
                                    msgbox 0x8845E7E '"A Riolu is in a Pokéball.\pDo you w..."
                                    callstd 0x5
                                    compare LASTRESULT 0x1
                                    if 0x1 goto 0x8845D18
                                    msgbox 0x88000E9 '"Well it doesn't seem right, is this..."
                                    callstd 0x6
                                    release
                                    end

                                    '-----------------------
                                    #org 0x8000B2
                                    msgbox 0x8800154 '"Really you want another one!"
                                    callstd 0x6
                                    release
                                    end

                                    '-----------------------
                                    #org 0x845D18
                                    givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                                    fanfare 0x13E
                                    msgbox 0x8845D4D '"\c\h01ÊFound a RIOLU!"
                                    callstd 0x4
                                    waitfanfare
                                    closeonkeypress
                                    setflag 0x800
                                    msgbox 0x8845D62 '"\c\h01ÊNickname this RIOLU?"
                                    special 0xA1
                                    compare LASTRESULT 0x1
                                    if 0x1 goto 0x88000AB
                                    bufferitem 0x8 0x1FC
                                    if 0xC0 call 0xD8E2E9E3
                                    nop
                                    cmdD5 0xCC00
                                    cmdC3 0xC9
                                    bufferboxname 0xCF 0xFFAB
                                    checkcoins 0xC64B

                                    '-----------------------
                                    #org 0x8000AB
                                    call 0x81A0678
                                    '-----------------------
                                    #org 0x1A0678
                                    fadescreen 0x1

                                    '---------
                                    ' Strings
                                    '---------
                                    #org 0x845E7E
                                    = A Riolu is in a Pokéball.\pDo you want a Riolu?

                                    #org 0x8000E9
                                    = Well it doesn't seem right, is this\nan initiation?

                                    #org 0x800154
                                    = Really you want another one!

                                    #org 0x845D4D
                                    = \c\h01ÊFound a RIOLU!

                                    #org 0x845D62
                                    = \c\h01ÊNickname this RIOLU?




                                    Proof that this doesn't let me get the actual pokemon, it's actually really small, click it to make it bigger...
                                    Lol MB
                                    It looks like you've overwritten your initial script without re-pointing the parts of it which you have expanded in this revised version. This is because your offsets haven't changed (your scripts both start at the offset 0x9C0B77) and has led to your script becoming garbled later on. Unless you're doing minor edits (that don't increase the overall length) to an already inserted script then you should be using dynamic offsets like how you originally inserted the script rather than using the decompiled version.

                                    Also, you seem to be using an early version of XSE. Here's a link to XSE 1.1.1 which is far less buggy and alters a few things such as the msgbox commands.

                                    With that, try inserting this with the new version of XSE:

                                    Code:
                                    #dynamic 0x9C0000
                                    
                                    #org @start
                                    checkflag 0x800
                                    if 0x1 goto @AnotherPokemon
                                    msgbox @WantRiolu? 0x5
                                    compare 0x800D 0x1
                                    if 0x1 goto @TakeRiolu
                                    msgbox @Initiation 0x2
                                    release
                                    end
                                    
                                    #org @AnotherPokemon
                                    msgbox @WantAnother? 0x2
                                    release
                                    end
                                    
                                    #org @TakeRiolu
                                    givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                                    fanfare 0x13E
                                    msgbox @FoundRiolu 0x4
                                    waitfanfare
                                    closeonkeypress
                                    setflag 0x800
                                    msgbox @NicknameRiolu? 0x5
                                    compare 0x800D 0x1
                                    if 0x1 call @Nickname
                                    release
                                    end
                                    
                                    #org @Nickname
                                    fadescreen 0x1
                                    special 0xA1
                                    waitstate
                                    return
                                    
                                    #org @WantRiolu?
                                    = A Riolu is in a Pokéball.\pDo you want a Riolu?
                                    
                                    #org @Initiation
                                    = Well it doesn't seem right, is this\nan initiation?
                                    
                                    #org @WantAnother?
                                    = Really you want another one!
                                    
                                    #org @FoundRilolu
                                    = \c\h01ÊFound a RIOLU!
                                    
                                    #org @NicknameRiolu?
                                    = \c\h01ÊNickname this RIOLU?
                                    __________________
                                      #7600    
                                    Old January 27th, 2013 (10:20 AM). Edited January 27th, 2013 by thetripplenine.
                                    thetripplenine's Avatar
                                    thetripplenine thetripplenine is offline
                                    tripple.
                                       
                                      Join Date: Jan 2013
                                      Location: California
                                      Age: 20
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 98
                                      Quote:
                                      Originally Posted by DrFuji View Post
                                      It looks like you've overwritten your initial script without re-pointing the parts of it which you have expanded in this revised version. This is because your offsets haven't changed (your scripts both start at the offset 0x9C0B77) and has led to your script becoming garbled later on. Unless you're doing minor edits (that don't increase the overall length) to an already inserted script then you should be using dynamic offsets like how you originally inserted the script rather than using the decompiled version.


                                      With that, try inserting this with the new version of XSE:

                                      Code:
                                      #dynamic 0x9C0000
                                      
                                      #org @start
                                      checkflag 0x800
                                      if 0x1 goto @AnotherPokemon
                                      msgbox @WantRiolu? 0x5
                                      compare 0x800D 0x1
                                      if 0x1 goto @TakeRiolu
                                      msgbox @Initiation 0x2
                                      release
                                      end
                                      
                                      #org @AnotherPokemon
                                      msgbox @WantAnother? 0x2
                                      release
                                      end
                                      
                                      #org @TakeRiolu
                                      givepokemon 0x27 0x5 0x8B 0x0 0x0 0x0
                                      fanfare 0x13E
                                      msgbox @FoundRiolu 0x4
                                      waitfanfare
                                      closeonkeypress
                                      setflag 0x800
                                      msgbox @NicknameRiolu? 0x5
                                      compare 0x800D 0x1
                                      if 0x1 call @Nickname
                                      release
                                      end
                                      
                                      #org @Nickname
                                      fadescreen 0x1
                                      special 0xA1
                                      waitstate
                                      return
                                      
                                      #org @WantRiolu?
                                      = A Riolu is in a Pokéball.\pDo you want a Riolu?
                                      
                                      #org @Initiation
                                      = Well it doesn't seem right, is this\nan initiation?
                                      
                                      #org @WantAnother?
                                      = Really you want another one!
                                      
                                      #org @FoundRilolu
                                      = \c\h01ÊFound a RIOLU!
                                      
                                      #org @NicknameRiolu?
                                      = \c\h01ÊNickname this RIOLU?
                                      Now it just doesnt work, but i think it's because there has to be three of them for three different 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
                                      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 10:53 AM.