The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Player Facing

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old August 5th, 2018 (3:19 AM). Edited August 6th, 2018 by Lance Koijer 2.0.
Lance Koijer 2.0 Lance Koijer 2.0 is offline
Lance Koijer
 
Join Date: Apr 2018
Location: Criscanto Town
Gender: Male
Nature: Adamant
Posts: 104
Good Day PC. I don't know if this has been documented before or not. Is there a RAM address or specific command that lets you check which position the player is facing?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 6th, 2018 (3:48 AM).
Blah's Avatar
Blah Blah is offline
Free supporter
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,924
Quote:
Originally Posted by Lance Koijer 2.0 View Post
Good Day PC. I don't know if this has been documented before or not. Is there a RAM address or specific command that lets you check which position the player is facing?
Variable 0800C is updated in FR what the player presses the A-button (so when they interact with an NPC). Otherwise, use the npc_states property to figure it out.
__________________
...
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 6th, 2018 (5:29 PM).
Lance Koijer 2.0 Lance Koijer 2.0 is offline
Lance Koijer
 
Join Date: Apr 2018
Location: Criscanto Town
Gender: Male
Nature: Adamant
Posts: 104
Quote:
Originally Posted by FBI View Post
Variable 0800C is updated in FR what the player presses the A-button (so when they interact with an NPC). Otherwise, use the npc_states property to figure it out.
I found it now!
It's in 0x2036e50.
Code:
0x11 - Down
0x22 - Up
0x33 - Left
0x44 - Right

Thanks for the advice!
Reply With Quote
Reply

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
Ad Content
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 9:13 AM.