MeroMero Posted March 28, 2015 Posted March 28, 2015 When you add new trainers to fight against, there's usually no text associated with them while fighting. The solution is found on narc a/0/5/7. The file itself, without the header, is 6868 bytes long. Each reference is 4 bytes long. 6868 / 4 = 1717 references. Each of these references points to its corresponding message on text file 728 from narc a/0/2/7. To add a new message on text file 728, use Spiky's DS Map Editor. Format is TT TT MM PP TT TT is the Trainer slot number (little endian, as always). MM is the condition for the text to display. PP is the padding (always 00). Conditions for the message to display (in hex): Single Battle: 00 Trainer text upon noticing you or if you talk to him/her (overworld) 01 Trainer text if you defeat him/her (fight) 02 Trainer text after you defeated him/her (overworld) 0F Trainer text if he sends in his/her last conscious Pokémon (fight) 10 Trainer text if his/her last conscious Pokémon is on critical health (fight) 14 Trainer text if you lose or draw (fight) Double Battle: 03 First trainer text upon noticing you or if you talk to him/her (overworld) 04 First trainer text if you defeat him/her (fight) 05 First trainer text after you defeated him/her (overworld) 06 First trainer text if you only have 1 conscious Pokémon before engaging the fight (overworld) 07 Second trainer text upon noticing you or if you talk to him/her (overworld) 08 Second trainer text if you defeat him/her (fight) 09 Second trainer text after you defeated him/her (overworld) 0A Second trainer text if you only have 1 conscious Pokémon before engaging the fight (overworld) I seem to run into some problems though when appointing new Trainers: _I only got condition 01 to work so far; _0F, 10 and 14 just don't trigger at all, so there must be something else still… To do: Test the rest.
Hiro TDK Posted January 16, 2017 Posted January 16, 2017 Do you intend on updating this with the fix you implemented in MindCrystal?
mikelan98 Posted February 11, 2019 Posted February 11, 2019 File a/1/3/1 is crucial in this case, too. It's a single binary file with the pointers, for each trainer, to the overworld's first text in a/0/5/7. By this, the little freeze in new trainers disappears when you talk to them.
Hiro TDK Posted March 5, 2019 Posted March 5, 2019 I'll look at that tomorrow and report back, but if I understand you correctly, that would be the equivalent of trtblofs.narc that I've been looking for.
YukinaMinato Posted August 7, 2019 Posted August 7, 2019 Sorry, I have been disturbing for so long...How can I modify this bin file?
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