Jump to content

Editing Lucius' Item Event In FE7 HHM Chapter 17


Seven Deadly Sins
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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 by Seven Deadly Sins
Link to comment
Share on other sites

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 by Luffy
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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~)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...