• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Gen 5 Fateful Encounter Event Scripts

  • 22
    Posts
    6
    Years
    • Seen Nov 14, 2020
    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
     
    Back
    Top