The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script walking script partially working as intended

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 April 28th, 2019 (8:33 AM).
pulceilcane's Avatar
pulceilcane pulceilcane is offline
:)
 
Join Date: Apr 2019
Location: Sardinia
Age: 19
Gender: Other
Nature: Lonely
Posts: 8
Ok so guys, I created this script to take the player to a designed area with another NPC, the fact is that it works fine until a left turn, whic should be followed by 13 steps to the left by both the player and the npc, but the player is stopped, the npc keeps walking, and at the theorical end of the script the player is not released, so it is stuck
Can anybody help me please?

Here is the script (the highlited part is the one not working
Spoiler:
#dynamic 0x800000

#org @start
lock
spriteface 0x1 0xff
applymovement 0x1 @npc1
waitmovement 0x0
msgbox @t1 0x6
closeonkeypress
applymovement 0x1 @npc2
applymovement 0xff @player2
waitmovement 0x1
applymovement 0x1 @npc3
applymovement 0xff @player3
waitmovement 0x1
applymovement 0xff @player4
applymovement 0x1 @npc4
setvar 0x4014 0x1
release
end


#org @npc1
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE


#org @npc2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE

#org @npc3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2

#org @npc4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @player2
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0xFE

#org @player3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x2

#org @player4
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE







#org @t1
= Hi [player], follow me
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 28th, 2019 (1:01 PM).
kalarie kalarie is offline
 
Join Date: Jun 2008
Posts: 760
You forgot the add #raw 0xFE to end the player's movement twice;)
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

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:19 AM.