[Resolved] FE6 "Mechanic" in FE7


#1

Here i am, again, and for another question! :smiley: haha, sorry guys.

In FE6, if you strike the final blow on Idenn (or idoun or how do you want to call her) using the Sword of Seals you unlock a different final in which happy things happen.
is this can be replicated in FE7? I think that an event that triggers after Character X kills character y would be cool (maybe special death quote? or chapter ending, or special item, or something). Thanks in advance!


#2

That’s actually already possible in FE7, I’ve actually done it in FE6A; let me find the events.

ORG $D3226C // This is what you'd put instead of the death quote's text pointer
ErikDead:
    IFCA 0x00 0x05 Roy // If Roy kills Erik
        TEX1 0x8E0
        REMA
        ENUT 0x0E // Trigger 0x0E
        ENUN
    ELSE 0x06 // If anyone other than Roy kills Erik
    ENIF 0x05
        TEX1 0x8E1
        REMA
    ENIF 0x06
ENDA

Then in my ending event I had this:

ORG $D322E8
Ending_event:
IFET 0x01 0x0E // If Roy killed Erik
    MUS1 0x34
    FADI 0x05
    BACG 0x17
    FADU 0x05
    TEX1 0x8E7
    REMA
    ITGC Roy Sybaris
    ENUN
ENIF 0x01

The way I have it set up, if you have Roy kill Erik, you get an exclusive item along with a different death quote and conversation afterwords. If anyone else kills Erik, you don’t get anything special.


#3

Wow, thanks a lot!

Is this possible to do with an item? I mean, if Character X is killed by any character that wields weapon Y (Or Character Z that wields weapon Y)


#4

Eh, I don’t think so; you’d need an asm condition checking for items as well, but I don’t think anyone has made one as of late.


#5

Ookay, thanks anyway! :slight_smile:


#6

cough request an asm condition from me that checks if some unit has some weapon equipped cough. Especially since the FE games have a built in branch for finding the equipped item of a unit.


The Crazycolorz5 Request Thread
#7

[Give this a whirl][1]. Replace the first 0xFF with the item ID you need to check for. Also be wary of the IFAT/IFAF issue. (If you don’t know what I’m talking about, search the forums) Let me know if it works. Or if it doesn’t.
[1]:https://dl.dropboxusercontent.com/u/92273434/FE%20Hacking%2C%20Public%20Files/Check%20For%20Equipped%20Item/Check%20For%20Equipped%20Item.dmp


#8

Wow, thanks, definitely will try this!
I’ll let you know if it works!


#9

… Looks like i can’t even insert it lol

My event is

Ending_event:
IFAT 0x50 0x1000001
TEX1 0x856
MNCH 0x01
ELSE 0x51
ENIF 0x50
MNCH 0x02
ENIF 0x51
ENDA

A simple thing (just for test) that triggers when all enemy units are defeated
(i used a clean rom and wrote the asm code in 0x1000000)… but it doesn’t work D: i’m doing something wrong, right?


#10

Maybe not? Did you change the 0xFF to the item ID you want to check for. (Also, none of my code works the first time so that’s quite possible ;P)

edit: also, be wsry of this

edit: Also, this does its check on the active character, so if you cleared the characters or something it might not work? It’ll work in a death quote though


#11

Uhhhhhh
Turns out I commented out something I shouldn’t have… uhhh

In any case, redownload it from the same link and give it a try.


#12

Redownloaded and just replaced the new code on the older one (Without touching the event), and it doesn’t seem to change nothing D: I think it’s my fault XD


#13

Mind sending me a ROM to play/debug with?


#14

Update: My code now works. Same link as before, for all who want it.


#15

Thanks for helping me and accepting my bad patch of a test mod hahaha


#16

I know this is necro, but the link to the code is 404, can you please update it? Thanks!


#17

Yeah, I can do that. Gimme like a day tho. (I’ll just update it to an EA installer since that’s how we do things now)