Teq's Minor Assembly Shenanigans

Hoo boy I just KNOW what’s going into Mad Mode v1.8 :smiley:

Jesus, you outdid Brendor in every meaning of the word. I’m legitimately awestruck :o

2 Likes

Fixed a glitch with the Display Growths/Talk hack where longer names would run into the Cond label. It’s possible the fix might have some graphical glitches elsewhere, but I have no idea where, so let me know if you see such a thing.

In other news, the Staff/Range fix hack is blithely ignored by the AI (especially for staves, although I think 1-mag/2 range stuff might also cause issues), so don’t be surprised if you make the berserk staff a 1-3 range staff and you still get berserked from halfway across the map. No idea how long the fix will take, but it generally needs a complete overhaul. You can still use it, of course; it works fine for player-controlled units. There’s another minor glitch where if there’s a ballista, units that can move onto it will highlight the ballista’s range even if they can’t use it; don’t worry, they can’t use it. This has been fixed for FE8, but not 7.

1 Like

It’s a FEATURE! Enemies get, uh, free range boosts!

Yeah! You can just cross that off the ol’ fix-em-up list!

1 Like

Actually to be honest this sounds legitimately interesting; giving players and enemies different ranges on the same staff. :]

Since Bloodlines is out, I can now release this:

FE7 Str/Mag Split

This is my most ambitious hack so far. I recommend reading the readme (and not just because it says to); it’s long, but it should answer any questions you may have.

11 Likes

Actual minor assembly shenanigans: In vanilla FE7, Pent leaves if Louise dies, and vice versa. One workaround is to not use both of those character slots, but if you don’t want to do that, change 796E4 to 0A E0. This skips code that sets the dead+do not display flags for the other person.

5 Likes

A small quality-of-life modification, this hack changes the box that pops up when selecting a target to heal from this (current hp/max hp):

to this (current hp -> new hp; uses the green palette if maxed):


It was easier than trying to expand the box to show max hp, and I’m lazy. Download here. Shouldn’t need a readme or anything; just patch with EA as usual. FE8 version will be coming soon.

EDIT: FE8 version included. The EA file is the same for both 7 and 8; just make sure you select the right game, or you will probably break things.

16 Likes

Made a small edit; instead of a hyphen, it now uses hyphen and bracket to make an arrow:

You’ll need to make a new text id with those two symbols, then replace the appropriate definition in the EA file. Nothing complicated. Don’t change the vanilla one because other things use that text id.
Also, since edits probably don’t give you a ‘New Message’ alert, I want to point out once again that an FE8 version is available. Link’s in the above post.

10 Likes

I have a question about the Str/Mag split regarding the magic weapons.
Is it possible to have a magic weapon that uses Mag, targets Res and uses both close and ranged animations?
According to the readme, if 0x02 is set and 0x40 isn’t, the weapon will use Mag and will target Res, however, it only uses ranged animations, even if you attack at range 1 like a magic tome.
The same if you set both 0x02 and 0x40, but the weapon will target Def instead.
In the other hand, if you only set 0x40, animations will display as I want, but the weapon will use Str instead of Mag.

Is there a way to achieve what I want?

Sounds like you’d need to insert a check in the animation code; I personally have no idea. Perhaps look at how the light brand and runesword differ, since the former uses melee/magic for 1/2 range, respectively, whilst the latter uses magic for both?

IIRC the native magic weapons are hardcoded, because they can’t crit and use half of Str, and the Runesword only uses ranged animations.
All the magic swords have 0x40 set by default, so the differences are in how they are hardcoded.

I don’t know if this thread is still active but I have a question about magic swords as well.

I read the readme and it said that if you want a magic weapon to use the wielder’s magic you
just set the byte to 0x02 on the first weapon ability. However, that causes the magic sword to
always use magic, even if it is a range 1 attack.
Is it possible to make the weapon use strength at range 1 and magic at range 2 without
extensive ASM hacking, or is this something you have to get used to with the patch?

Yes.[quote=“Papilion, post:27, topic:1655”]
without extensive ASM hacking
[/quote]

No.

FE8-Capture. Because I know how much you all miss FE5’s capture mechanic. This isn’t exactly the same, but close enough.

Example gif

https://i.redd.it/4u6uhcdaepjy.gif

Readme contents:
FE8-Capture README
By Tequila

How to use:
Either assemble FE8-Capture Master EA File.txt directly with Event Assembler 10.1 or higher, or #include it in your buildfile. Update the necessary labels (Free_Space and Item_Table). You’ll also have to change the text ids for both Capture and its R-button description yourself; currently, they’re set to those for Secret.
’ Capture’ (the space in front is important!)
‘Strike a fatal blow with reduced
stats to capture an enemy.’

What does it do?
Allows someone to capture an enemy, similar to FE5, provided that

  1. The capturer would be able to rescue the capturee normally (Aid >= Con)
  2. The capturer isn’t currently rescuing anyone
  3. The capturer uses a weapon that can attack at 1 range (sorry archers).
  • For instance, a javelin or hand axe can only be used to capture at 1 range.
  • Drawbacks: All stats aside from HP, Con, and Mov are halved when capturing. This can be changed by opening FE8-Capture/FE8-Capture EA.txt, scrolling down to line 31, and commenting out the skills that you don’t want to halve (for instance, you might only want to halve offensive skills and leave defense and resistance alone).
  • After the battle, the enemy will flicker and die as normal, but will be rescued by the attacker. The only way to check the captured enemy’s stats/inventory is to open the stats page of the capturer and press A.
  • Any allied unit can trade with a captured unit (that is, after all, the entire point of this exercise).
  • While capturing, you will suffer the standard halved skill/speed penalty.
  • If you drop the unfortunate victim, they will disappear. THIS CANNOT BE REVERSED! Make sure you steal their stuff before dropping them.

Bugs:

  • When selecting Capture from the menu, the red squares that would normally highlight its range don’t appear. They do appear when selecting weapons, however. Just know that you can only capture in 1 range (currently).
  • It’s possible that there may be some glitches with saving enemy character data (although there shouldn’t be). I had to fiddle with the function that removes deceased non-player character data, so that may have consequences down the line. Let me know if this is the case.
  • (Not really a bug, more of a warning) This hack will either break or otherwise not play nice with other hacks that modify the stat getters (examples include debuffs from FE:SS or Venno’s passive item boost hack) or modify range stuff (my staff range hack).
  • (Not really a bug, more of a note) If you’ve ever used an enemy control glitch and had enemies trade each other, you’ve probably noticed that their portraits are garbage data (VBA) or make the game crash (no$). To get around this, I inserted a blank portrait over 0x1 (the question mark guy) and use that if the enemy doesn’t have a portrait. So…if you have your heart set on using the question mark guy, that may be a problem.

FAQ:

  • I don’t like the con/1-range restrictions. Can I modify your code?
    Yes, absolutely. All the source code is included here, and you can ask me if you’re confused about something.
  • I don’t like the con/1-range restrictions. Can you modify this to my specifications?
    Maybe, if I like you enough. Probably not, though.
  • Is there an FE7 version?
    No, and I don’t intend to make one, unless someone really really really wants it and has an fe7 project that’s already well-developed. If that’s not the case, switch to 8. It’s better. [/fe8_shilling]
  • Are you remaking FE5 in FE8?
    No.
10 Likes

Thanks Teq

I hate to asked this, but can you make a FE7 Version of it?

Do you have a well-developed FE7 project?

Well, you could say so. It’s a German hack with currently 12 chapters so far. I’ve been working on it for a couple of years now. The reason why I never presented it here, is basically because I think it’s not good enough to get a foreign release, but if you want to take a look on it, there is a small thread where you can take a look, the thread itself is very outdated though (Mainly because I don’t the forum anymore. It’s basically the German version of SF) .

Be honest here: do you need to have this in your project (ie, it’ll be an integral part of the gameplay, or you intended to have it all along since the beginning but never got around to asking anyone to make it for you), or was it just something you saw and said ‘oh, that looks neat, let’s insert it because it’s neat’? Because if it’s the latter, I’m going to have to decline.

1 Like