The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Running on spot (https://www.pokecommunity.com/showthread.php?t=386731)

-Piccolo- January 2nd, 2017 5:52 AM

Running on spot
 
Hello PC! I was just wondering, i'm making a sprite, currently has 14 frames, standard walking and the last two are the running ones, except they're replaced by Groudon screaming.

I was wondering how I would go about making him scream while standing still. Because if I add the run movement in the script he starts running while screaming, I want him to stand still.
Is there a ''run on spot'' command for applymovement? Or is there another trick?

I also tried making a new OW with just the scream frames but that messes up the sprite, showing a big box.
Don't know if it has anything to do with the script, putting hidesprite and showsprite next to each other.
I tried just making the OW look up and down outside the script, which I used for the scream frames and it worked perfect outside the script.

Also how do you make new movements? I know it's possible just not how.

Thanks!

esperance January 2nd, 2017 6:14 AM

There are a few different "step on spot" movements that can be used with applymovement to use a walking animation in a direction without actually moving. I'm not sure if they would use the running frames but they're worth giving a look I'd say.

For RSE:
Spoiler:
#raw 0x19 = Step on the Spot Down (Slow)
#raw 0x1A = Step on the Spot Up (Slow)
#raw 0x1B = Step on the Spot Left (Slow)
#raw 0x1C = Step on the Spot Right (Slow)
#raw 0x1D = Step on the Spot Down (Normal)
#raw 0x1E = Step on the Spot Up (Normal)
#raw 0x1F = Step on the Spot Left (Normal)
#raw 0x20 = Step on the Spot Right (Normal)
#raw 0x21 = Step on the Spot Down (Faster)
#raw 0x22 = Step on the Spot Up (Faster)
#raw 0x23 = Step on the Spot Left (Faster)
#raw 0x24 = Step on the Spot Right (Faster)
#raw 0x25 = Step on the Spot Down (Fastest)
#raw 0x26 = Step on the Spot Up (Fastest)
#raw 0x27 = Step on the Spot Left (Fastest)
#raw 0x28 = Step on the Spot Right (Fastest)


For FRLG:
Spoiler:
#raw 0x21 = Step on the Spot Down (Normal)
#raw 0x22 = Step on the Spot Up (Normal)
#raw 0x23 = Step on the Spot Left (Normal)
#raw 0x24 = Step on the Spot Right (Normal)
#raw 0x25 = Step on the Spot Down (Faster)
#raw 0x26 = Step on the Spot Up (Faster)
#raw 0x27 = Step on the Spot Left (Faster)
#raw 0x28 = Step on the Spot Right (Faster)
#raw 0x29 = Step on the Spot Down (Fastest)
#raw 0x2A = Step on the Spot Up (Fastest)
#raw 0x2B = Step on the Spot Left (Fastest)
#raw 0x2C = Step on the Spot Right (Fastest)

-Piccolo- January 4th, 2017 6:46 AM

Thank you, although I think I will have to use 2 different OW's. I got it to work perfectly in the end, it's just very time consuming and a pain in the butt to get it working.

Also, are the ''Fastest'' step on the spot still considered walking? or is it running?


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


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.