butts Posted February 21, 2016 Posted February 21, 2016 I'm trying to edit the species of the overworld encounters in Pokemon Black, but I'm not sure how to go about it. I've used luascript to find the overworld and script narc files of the maps they are located in, but the scripts files don't seem to contain the overworld encounters and the overworld narc files are pretty incomprehensible to me (and all the guides I can find are for BW2 only). All I'm interested in is editing the species of the encounter, nothing more. I assume there's just a single byte in some file somewhere that I have to edit in order to do that, but there's the issue of finding it first. : /
Kaphotics Posted February 22, 2016 Posted February 22, 2016 It's all scripts; look for the species dex # (in hex) in the map's script data.
butts Posted February 22, 2016 Author Posted February 22, 2016 Thanks for your reply! Searching for the index no. of the Pokemon in the script files worked for the musketeer trio, but searching for Foongus' on Route 6 doesn't seem to work.
Kaphotics Posted February 22, 2016 Posted February 22, 2016 You would have to look at the individual script that the overworld file assigns to that entity. If I had to guess, it'd be a callstd or another nonstandard wild encounter script in another script file.
butts Posted February 22, 2016 Author Posted February 22, 2016 Okay, after looking at the overworld file for the route and looking at this (and desperately hoping the file is structured the same way it is in bw as it is in bw2), I've found that both of the Foongus interactables have 0E 29 stored in their script called bytes (which I think translates to 0x290E or 10510?). Unfortunately that's much larger than the size of the script file of the map they're in and I don't know what else I could do with the information. Do you (or anyone else) have any ideas? (or am I going about this in entirely the wrong way?) Sorry for asking so many questions, but I'm very new to hacking the DS games and I'm feeling way in over my head here. : /
Kaphotics Posted February 23, 2016 Posted February 23, 2016 Well, you can always try changing that 2byte value and see if anything changes
butts Posted February 23, 2016 Author Posted February 23, 2016 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 Route 6 Foongus: 0F 00 D2 00 00 00 00 00 FF 02 0E 29 01 00 14 00 00 00 00 00 00 00 00 00 00 00 00 00 71 00 73 01 00 00 00 00 10 00 D2 00 00 00 00 00 00 03 0E 29 01 00 14 00 00 00 00 00 00 00 00 00 00 00 00 00 68 00 78 01 00 00 00 00 Route 10 Foongus: 09 00 D2 00 00 00 00 00 03 03 0E 29 01 00 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 B3 01 73 00 00 00 00 00 12 00 D2 00 00 00 00 00 04 03 0E 29 01 00 1E 00 00 00 00 00 00 00 00 00 00 00 00 00 AE 01 72 00 00 00 00 00 Route 10 Amoongus: 0F 00 D8 00 00 00 00 00 02 03 0F 29 01 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 CF 01 64 00 00 00 06 00 0E 00 D8 00 00 00 00 00 01 03 0F 29 01 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 D5 01 68 00 00 00 06 00 These are my findings so far. The 02 and 0A bytes are different for Foongus and Amoongus (as is byte 22, but I think that's just the z co-ord?), and byte 1E corresponds to the level of each. Unfortunately all my attempts at editing this stuff have just resulted in either the events becoming uninteractable or the game crashing (which may just be me being bad at using the tools or saving/save stating in awkward places because there doesn't seem to be a pattern to the crashes, and sometimes going back and undoing what I've changed doesn't help).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now