Seven Deadly Sins Posted January 18, 2011 Share Posted January 18, 2011 What the topic title says. How does one go about editing the event that gives the Vulnerary and Lightning Tome to give other items? I've used the Event Disassembler, and this appears to be the event in which the conversation occurs, but there's no item-related wizardry. label38: FADI 16 HIDEMAP BACG 0x1B FADU 16 SHOWMAP IFCA 0x1 0x2D IFCA 0x2 0x2F IFCA 0x3 0x30 IFCA 0x4 0x2E IFCA 0x5 0x31 MUSI TEX1 0xAE7 MUNO ELSE 0x9 ENIF 0x1 MUSI TEX1 0xAE2 MUNO ENUF 0x13 ELSE 0x9 ENIF 0x2 MUSI TEX1 0xAE3 MUNO ENUF 0x14 ELSE 0x9 ENIF 0x3 MUSI TEX1 0xAE4 MUNO ENUF 0x15 ELSE 0x9 ENIF 0x4 MUSI TEX1 0xAE5 MUNO ENUF 0x16 ELSE 0x9 ENIF 0x5 MUSI TEX1 0xAE6 MUNO ENUF 0x17 ENIF 0x6 ENIF 0x9 JUMP label53 ENDA label19: MUS1 0x8 FADI 16 HIDEMAP BACG 0x1B FADU 16 SHOWMAP TEX1 0xAE0 MUSI MORETEXT 0xAE1 MUNO JUMP label53 ENDA label53: IFEF 0x5 0x11 FADI 16 HIDEMAP BACG 0x1B FADU 16 SHOWMAP MUSI TEX1 0xAE8 MORETEXT 0xAE9 MORETEXT 0xAEA MUNO REMA ELSE 0x7 ENIF 0x5 MUSI MORETEXT 0xAE9 MORETEXT 0xAEB MUNO REMA STAL 30 SOUN 0xB1 MAC1 0x1 0x0 ENIF 0x7 IFTT 0x32 _0x8A STAL 8 TEX6 0x5 [0,0] 0xAEC _ASM0x42 0x83181 ENIF 0x32 CHAI 0x10 [0x6,0x3,0x0,0x0] ASMC 0x7D0B9 ENDA I get the strange feeling it has to do with the ASMC command at the bottom, but I'm not sure. I can provide the rest of the event if needed. Quote Link to comment Share on other sites More sharing options...
Chocolate Kitty Posted January 18, 2011 Share Posted January 18, 2011 Yeah post the rest if you don't mind. Quote Link to comment Share on other sites More sharing options...
Crimson Red Posted January 18, 2011 Share Posted January 18, 2011 Yeah, no. It's not there. Post the rest of it. It's been a long time since I've played FE7 but doesn't he get items during some turn event? So it should be one of the turn event labels, if that's true. ...Yeah, post the rest. Quote Link to comment Share on other sites More sharing options...
Chocolate Kitty Posted January 18, 2011 Share Posted January 18, 2011 I think you may be right, It's when those green soldiers get the door key and bust out of jail. He says he'll wait and they give him the items. Quote Link to comment Share on other sites More sharing options...
Seven Deadly Sins Posted January 18, 2011 Author Share Posted January 18, 2011 (edited) See, that's the weird thing. It's not an Item Give event- there are only 3 Item Give events in the chapter- the ones that happen at the end of the chapter for 1/2/3 living Soldiers. I assume it's a special event that gives the Iron Lances to the Soldiers and also gives the Vulnerary and Lightning Tome to Lucius. Either way, here's the entire chapter. http://pastebin.com/mtejbkH7 The reason I pasted the event that I did is because that's the event with the conversation where Lucius is given the items- 0AE9 is the conversation in question. Event38 occurs if you... talk to the Soldiers with Lyn / Florina / Kent / Sain / Wil, IIRC- at least that's what it looks like in the editor. I'm thinking it must be tied to Event53, but just can't see it. Edited January 18, 2011 by Seven Deadly Sins Quote Link to comment Share on other sites More sharing options...
Crimson Red Posted January 18, 2011 Share Posted January 18, 2011 (edited) I got it. Will update this post later with details. Alright, sorry. So, you were right, it is ASM. Sorry for not trusting you. I wasn't sure how much event experience you had and figured you searched the wrong code or something... First, the reason why it's ASM is because there's no message saying "YOU GOT X ITEM" for each weapon/item for each character, which makes a lot of sense when you think of the scene. Second, you're going to need a hex editor. If that scares you, well, nothing I can do. lol Go to offset 0x0807D0B9, the one mentioned in the post. Some odd bytes down, at 0x7D0C2 (doing shorthand offsets now) is the byte '3E'. This should be the byte for the Lightning tome, so if you want to change that, change it. At 0x7D0D8 is the byte '0x6B' for the vulnerary. Oh, 0x7D0BA might change the character (0x10 = Lucius but I didn't test, actually I didn't test any of this...). Hopefully you can kinda see a pattern in the hex (0x75, 0xB7, 0xC2 all happen to be values of Caelin soldiers... 0x1C = Javelin, 0x6B = vulnerary, etc.), but if you want to be clear on what to do you can always disassemble the instructions. Edited January 18, 2011 by Luffy Quote Link to comment Share on other sites More sharing options...
Seven Deadly Sins Posted January 19, 2011 Author Share Posted January 19, 2011 Thanks for the tips man, I think I can manage this now. I'll update this with details. As for event experience, I have very little, but I have a lot of vanilla (x86/MIPS) ASM experience, and I figured that since the item give event was non-standard, it was probably the custom ASM jump code. I can't exactly test it right now because I don't have a Ch. 17 save, but when I get there I'll give it a go. Quote Link to comment Share on other sites More sharing options...
Balcerzak Posted January 19, 2011 Share Posted January 19, 2011 In case you're impatient. Ch17.SAV.txt Quote Link to comment Share on other sites More sharing options...
Seven Deadly Sins Posted January 19, 2011 Author Share Posted January 19, 2011 (edited) DING DING DING DING DING victory Edited January 19, 2011 by Seven Deadly Sins Quote Link to comment Share on other sites More sharing options...
Crimson Red Posted January 19, 2011 Share Posted January 19, 2011 If you can disassemble events and search for the item giving code, you already have more experience and skill than at least 50% of hackers out there. :P Also, I'm glad to see it worked^. Quote Link to comment Share on other sites More sharing options...
Aleph Posted January 19, 2011 Share Posted January 19, 2011 Isn't knowing what you're actually doing fun? Also I don't care much for x86 but knowing MIPS is boss (notice the word "knowing" - MIPS itself is supar outdated, but the N64 uses it so it is <3~) Quote Link to comment Share on other sites More sharing options...
Radiant Dragon Posted January 23, 2011 Share Posted January 23, 2011 I believe the same thing happens when Jaffar's inventory in 28x too, for some reason. At least, I remember trying to edit his and not having much success. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.