The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Triggering a script after wild battle sequence

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 January 14th, 2017 (3:09 PM).
Anthroyd's Avatar
Anthroyd Anthroyd is offline
Professor
 
Join Date: May 2016
Location: United States
Gender: Male
Posts: 210
Hi there,

Is there any known way to trigger a script after the player returns to the overworld from a wild battle sequence? I've tried each of the different named level script types in AdvancedMap, but unfortunately those don't relate.
__________________
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old January 15th, 2017 (1:30 PM).
Blah's Avatar
Blah Blah is offline
Free supporter
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,924
I answered this here: https://www.pokecommunity.com/showthread.php?t=385851

The key would be to make a short secondary routine that gets executed once per battle which sets the variable to the appropriate script ID. Then when the battle terminates, the script would run.
__________________
...
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:17 AM.