The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script My hidesprite command doesn't work properly

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 14th, 2019 (4:55 AM).
ShinypikachuX's Avatar
ShinypikachuX ShinypikachuX is offline
 
Join Date: Sep 2017
Posts: 44
I tried a script with hidesprite command but.... As soon as I step aside the sprite reappear any comments or suggestions here's what I did

#dynamic 0x720000
#org @start
Msgbox 0x6 @t1
Hidesprite lasttalked
Release
End

#org @t1
= Hi!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 14th, 2019 (5:02 AM).
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
 
Join Date: Sep 2009
Location: Aussie
Age: 30
Gender: Male
Nature: Jolly
Posts: 1,693
You need to set a flag in the script and put that same flag in the OW's 'Person ID' box in Advance Map. Here's an example of what your script could look like if you put 200 in the Person ID box:

Spoiler:
#dynamic 0x720000

#org @start
msgbox @talk 0x6
hidesprite 0x800F
setflag 0x200
release
end

#org @talk
= Hi!


Additionally, if you're using FR, check out this thread to learn which flags are safe to use and which aren't.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 14th, 2019 (10:10 AM). Edited August 14th, 2019 by DrFuji.
ShinypikachuX's Avatar
ShinypikachuX ShinypikachuX is offline
 
Join Date: Sep 2017
Posts: 44
Yeah but I want it for custom cut events

Thanks btw
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old August 14th, 2019 (2:08 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
In that case, you should be using the temporary flags (0x11 - 0x1F). These flags reset after you leave the map and are what destructible OWs in game like Cut trees and Rock Smash rocks use.
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old August 16th, 2019 (9:56 AM).
ShinypikachuX's Avatar
ShinypikachuX ShinypikachuX is offline
 
Join Date: Sep 2017
Posts: 44
Thanks a lot ! 😁😁😁😁
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.