![]() |
Applymovement [Step on the Spot]
Hi there,
How can I retrieve the current orientation of the player? For instance: player is facing up, down, left, or right. Unfortunately there isn't a #raw 0x[step on the spot] command that references the current orientation. |
Use the byte at 02036E50.
if it's 0x11, then the player is looking down. if it's 0x22, then the player is looking up. if it's 0x33, then the player is looking left. if it's 0x44, then the player is looking right. Use a script to copy that byte, compare it, and then do a separate movement for each possibility. Unfortunately, scripting isn't versatile enough to do something like "#raw var". |
Quote:
|
| All times are GMT -8. The time now is 9:10 AM. |
![]()
© 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.