The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Gen 5 Fateful Encounter Event Scripts

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 25th, 2020 (3:46 PM).
Monty3540 Monty3540 is offline
 
Join Date: Apr 2019
Posts: 22
Hi there

Has anyone had any experience of modifying the two codes that declare the Pokemon species involved in Fateful Encounter events in BW1 and B2W2 (Keldeo, Meloetta etc.)?

The code varies between the two, being 0x220 and 0x20D respectively. in BW1 and B2W2.
Which is then displayed in script in an example like below:


Meloetta Castelia Cafe Script: (Script #106 in both BW1 & B2W2 versions) - I can send full script + hex if required.

Offset: 91 0x20D
Offset: 93 0x288 0 0x8022 0x8010
Offset: 101 StoreVar 0x8010
Offset: 105 CompareTo 1
Offset: 109 Condition EQUAL


Hex for this portion of script is:

0D 02
88 02 01 00 22 80 23 80
09 00 23 80
08 00 00 00
11 00 01 00



Basically I am just trying to work out how does this script call that specific Pokemon to be a Fateful Encounter / Event Pokemon.

And/or how then to edit that so I can change it so that Pokemon specific does NOT have to be an Event Pokemon. Which would fit nicely into a ROM Hack such as Drayano's Volt White 2 & Blaze Black 2.

I have seen the Pastebin from the BW Scripting thread HERE
https://pastebin.com/raw/vrkp0SN8?fbclid=IwAR1eeUscYuAPujQ31fwAs0sn1UT-_vdnGy663ZyjQl_TYb_BnsBolPO5DJQ

- Kaphotics filled this with all the scripts a few years ago (Which has been a god send to learn from!)

I just can't work out how the command sets the Pokemon species to be 'Event Only', and then how to alter it so it works for non-event Pokemon

Any help would be much appreciated :)

Thanks
Monty3540
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:15 AM.