The PokéCommunity Forums Fan Games ROM Hacking Research & Development
Research Quick command overview (194/213)

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

Reply
 
Thread Tools
  #1    
Old February 17th, 2008 (2:20 PM).
Mastermind_X's Avatar
Mastermind_X Mastermind_X is offline
ASM-Hacker
     
    Join Date: Feb 2007
    Location: Germany
    Gender:
    Nature: Adamant
    Posts: 92
    Send a message via ICQ to Mastermind_X
    No documentation for the moment, but used as quick reference, you'll find "all" posssible scripting commands here:

    http://sfc.pokemon-inside.net/news-334
    Reply With Quote

    Relevant Advertising!

      #2    
    Old February 18th, 2008 (3:13 PM).
    destinedjagold's Avatar
    destinedjagold destinedjagold is offline
    Oh Hai Thar~
    • Silver Tier
     
    Join Date: May 2007
    Location: Philippines
    Age: 26
    Gender: Male
    Nature: Careful
    Posts: 8,507
    I think you should make it clear for what ROMS these are for, but meh, it's for FireRed and LeafGreen, and I think it's quite useful for the hackers of those ROMs.

    Nicely done~
    __________________


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

    Reply With Quote
      #3    
    Old February 18th, 2008 (3:36 PM).
    SerenadeDS's Avatar
    SerenadeDS SerenadeDS is offline
    Trainer
       
      Join Date: Feb 2007
      Posts: 283
      Quote:
      Originally Posted by Mastermind_X View Post
      you'll find "all" posssible scripting commands
      So does that mean you hope that you found "ALL" of them

      Whooz, that is a nice list. Thankz Mastermind_X! I am sure scripiters will use it to there advantage. I know I will.
      Reply With Quote
        #4    
      Old February 18th, 2008 (4:14 PM).
      Keyrin Keyrin is offline
         
        Join Date: Jan 2008
        Posts: 51
        This is useful. Thanks, Mastermind! I still haven't gotten a hang of scripting much, but I am practicing to become a master! :D
        Reply With Quote
          #5    
        Old February 18th, 2008 (4:25 PM).
        cooley's Avatar
        cooley cooley is offline
        ///Keepin' it simple
        • Silver Tier
         
        Join Date: Feb 2007
        Location: United States
        Age: 22
        Gender: Male
        Nature: Impish
        Posts: 1,147
        Send a message via Windows Live Messenger to cooley
        Awesome, now If someone can add them to pokescript!
        __________________

        Reply With Quote
          #6    
        Old February 19th, 2008 (1:24 AM).
        loadingNOW loadingNOW is offline
           
          Join Date: Jan 2008
          Gender:
          Posts: 39
          they are in this
          www pokecommunity.com/showthread.php?t=127326
          also the normal scripting is compatible between rs/fl/e with a few exeptions later games have more commands and a few rs commands were dropped. But the differences are really minor
          Reply With Quote
            #7    
          Old February 19th, 2008 (2:29 AM).
          thethethethe thethethethe is offline
             
            Join Date: Jun 2007
            Location: Melbourne, Australia
            Gender: Male
            Posts: 1,104
            WOW. I don't think I have too much more to say. I'll have to mess around with all these and see how many I can get to work.
            __________________
            Gone.
            Reply With Quote
              #8    
            Old March 21st, 2008 (8:42 AM). Edited March 21st, 2008 by Teh Baro.
            Teh Baro's Avatar
            Teh Baro Teh Baro is offline
            In my times...!
               
              Join Date: Mar 2006
              Location: Spain
              Gender: Male
              Nature: Quiet
              Posts: 522
              I've just copied all those commands to my rubikon.dat using the rubikon2Keditor.

              So, it'd be cool to make a more complete rubikon.dat and a manual on it (with the commands it has and its parameters with the info on what do they do) (and its equivalent for pokescript, if it exists AND is doable, else the authors could just port it)... It'd be great if we all collaborate with stuff we discover by ourselves, specially on the uncommon commands. Right now I'm trying to discover how does the 0xAA command work (creates a sprite). I don't even know how many parameters it has, but I already got the picture, the X and y coords, the behaviour (but it doesn't follow the usual values, gotta test that).

              With a powerful and comprehensible command database, more powerful scripts can be done!


              EDIT
              So I'm done with 0xAA, which creates a sprite on the map.
              6 parameters:
              BYTE: sprite picture
              BYTE: ???
              WORD: X coordinates
              WORD: Y coordinates
              BYTE: ??? Values higher than 0F cause every sprite to be invisible
              BYTE: behaviour
              Looks like no matter what, you can walk over the sprite and it has no script attached (


              So, that, if anyone discovers new stuff through testing, it'd be cool to share, or is mastermind_X already doing it?

              EDIT 2
              The behaviours for createsprite:
              00 - look down
              02 - look up
              03 - look left
              04 - look right
              09 - walk on the spot down
              0B - walk on the spot up
              0C - walk on the spot left
              0D - walk on the spot right
              12 - walk+ on the spot down
              14 - walk+ on the spot up
              15 - walk+ on the spot left
              16 - walk+ on the spot right
              1B - walk++ on the spot down
              1D - walk++ on the spot up
              1E - walk++ on the spot left
              1F - walk++ on the spot right
              24 - walk+++ on the spot down
              26 - walk+++ on the spot up
              27 - walk+++ on the spot left
              28 - walk+++ on the spot right
              2D - run on the spot (hero) down
              2F - run on the spot (hero) up
              30 - run on the spot (hero) left
              31 - run on the spot (hero) right
              3F - spin and stop left
              41 - spin and stop right
              42 - spin and stop down
              43 - spin and stop up
              48 - four slow steps down on spot

              Walk+++ is really fun to watch. Got to say, I tried to load walk+++ left, right and down at the same time and they didn't load correctly (lol, overflow?)
              __________________
              what the fudge
              Reply With Quote
                #9    
              Old March 21st, 2008 (11:30 AM).
              ZodiacDaGreat's Avatar
              ZodiacDaGreat ZodiacDaGreat is offline
              Working on a Mobile System
                 
                Join Date: Feb 2007
                Location: South Pacific
                Age: 24
                Gender: Male
                Nature: Relaxed
                Posts: 429
                Send a message via ICQ to ZodiacDaGreat
                Another good news, theres no need to port it to other games, as XSE's almost complete, nearly all those commands are included, with alot of new functions.
                __________________
                Reply With Quote
                  #10    
                Old March 22nd, 2008 (12:15 AM).
                Binary's Avatar
                Binary Binary is offline
                え?
                   
                  Join Date: Aug 2007
                  Age: 22
                  Posts: 3,993
                  Wow, good to see some commands, they'll be really helpful to me.
                  Nice work!
                  __________________
                  Reply With Quote
                    #11    
                  Old March 22nd, 2008 (3:44 PM). Edited March 23rd, 2008 by Teh Baro.
                  Teh Baro's Avatar
                  Teh Baro Teh Baro is offline
                  In my times...!
                     
                    Join Date: Mar 2006
                    Location: Spain
                    Gender: Male
                    Nature: Quiet
                    Posts: 522
                    Hmmm
                    ROM:0815FB58 DCD sh_69_jingle+1
                    Not.
                    I've always knew that it's not "jingle", but I've just realized that what this command does is freezing everyone.
                    For example, if you have people with a behaviour that implies movement (running on the spot, or walking around) they'd just freeze until the end of the script.

                    Like lock, but it should be caled "lockall"
                    __________________
                    what the fudge
                    Reply With Quote
                    Reply
                    Quick Reply

                    Sponsored Links
                    Thread Tools

                    Posting Rules
                    You may not post new threads
                    You may not post replies
                    You may not post attachments
                    You may not edit your posts

                    BB code is On
                    Smilies are On
                    [IMG] code is On
                    HTML code is Off

                    Forum Jump


                    All times are GMT -8. The time now is 8:04 AM.