The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Probably a super n00b mistake, issue with Give Pokemon Script.

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 October 30th, 2015 (9:48 AM). Edited October 30th, 2015 by TheHeavenlyDemon.
TheHeavenlyDemon TheHeavenlyDemon is offline
 
Join Date: Oct 2015
Location: Springfield, Ohio, United States of America.
Gender: Male
Posts: 14
I have a serious issue with my Pokemon giving script.

I am using PKSV-UI and selecting the "Give Pokemon" from the script generator, which, absolutely freaking wonderful program, love it a lot so far, but there is one annoying issue. When I take my Cleffa, it goes into my party, but the Pokeball remains. It sets itself up as a person script, which seems to be how it always is, but I cannot find in any of the tutorials how to make the Pokeball vanish after I take the Pokemon. Thanks ahead of time!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 30th, 2015 (9:50 AM).
C me's Avatar
C me C me is offline
Creator of Pokemon League Of Legends
 
Join Date: Jan 2014
Age: 26
Gender: Male
Posts: 681
You need to set a flag in the script after you give the Pokemon and set the person ID in Amap to that flag.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 30th, 2015 (10:00 AM).
TheHeavenlyDemon TheHeavenlyDemon is offline
 
Join Date: Oct 2015
Location: Springfield, Ohio, United States of America.
Gender: Male
Posts: 14
I think I did that. I am not entirely sure what is going on.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 30th, 2015 (1:54 PM).
Syrex's Avatar
Syrex Syrex is offline
Hentai King
 
Join Date: Jul 2008
Location: Columbus, Ohio
Age: 32
Gender: Male
Nature: Adamant
Posts: 653
Couldn't you use hidesprite 0xXX?

I think they may be able to hide the pokemon sprite after its taken.
__________________
Jirachi's Versace


Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 30th, 2015 (1:57 PM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
You need to do both of the above things :).

1) Use "hidesprite" in the script to make it disappear momentaily
2) Set a flag that matches the Person ID of the pokeball event just afterwards to make the disappearance permenant.

Be careful with your flags, you may be using a temporary one. Check out this tutorial for more information and recommended flags to use.
__________________
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old October 30th, 2015 (4:58 PM).
TheHeavenlyDemon TheHeavenlyDemon is offline
 
Join Date: Oct 2015
Location: Springfield, Ohio, United States of America.
Gender: Male
Posts: 14
Right now you can only take the Cleffa once and the Pokeball vanishes once you leave the room, so I am assuming that means that I am close? And I am so bad I cannot even successfully save scripts most of the time. I just changed a bit of text in the mom conversation and now she for some reason hands you infinite Pokeballs and when I open that script it is empty.
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:10 AM.