The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Script Help [ANSWERED]

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 May 3rd, 2014 (6:04 PM). Edited May 3rd, 2014 by wetroz.
wetroz wetroz is offline
 
Join Date: Apr 2014
Gender: Other
Posts: 3
Hello guys! I'm pretty new to scripting, and I've ran into some trouble.

My question is about a pretty basic script that you can find here:
Quote:
#dynamic 0x8007DC

#org @start
checkflag 0x1337
if 0x1 goto @moveaway
msgbox @talk1 0x6
release
end

#org @moveaway
msgbox @talk2 0x6
playsong 0x012E 0x0
applymovement 1 @walk1
waitmovement 1
hidesprite 1
setflag 0x1336
fadesong 0x0132
release
end



#org @talk1
= Don't you have a lesson to\nattend to?\pChuong is waiting for you in\nEsteraden.

#org @talk2
= Oh, I see you've finished your\nlesson. Go ahead and walk through.

#org @walk1
#raw 0x66
#raw 0x13
#raw 0xFE
As you can see in the end of the script, I want the person to move a step right and then disappear for good. However, when I take another step he reappears. How do I make him disappear permanently?

Thanks in advance
Wetroz
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old May 3rd, 2014 (7:06 PM).
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
Quote:
Originally Posted by wetroz View Post
Hello guys! I'm pretty new to scripting, and I've ran into some trouble.

My question is about a pretty basic script that you can find here:


As you can see in the end of the script, I want the person to move a step right and then disappear for good. However, when I take another step he reappears. How do I make him disappear permanently?

Thanks in advance
Wetroz
You can stop the OW reappearing by placing the flag number you set into the OW's 'Person ID' in Advance Map.

Also, you shouldn't be using flags as high as 0x1336 or 0x1337. There are safer flags that are readily avaliable. Read this thread for more information.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old May 3rd, 2014 (7:12 PM).
wetroz wetroz is offline
 
Join Date: Apr 2014
Gender: Other
Posts: 3
Quote:
Originally Posted by DrFuji View Post
You can stop the OW reappearing by placing the flag number you set into the OW's 'Person ID' in Advance Map.
Thanks alot for the reply, it solved my problem!
Also, I'll try to use lower flags in the future
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:12 AM.