Teq's Minor Assembly Shenanigans

Eh man, personally I don’t find that as funny as some people might but at least you released the real version the day after so I can’t complain. Looks sick, thanks.

1 Like

Thanks to Zig on the discord, I found and fixed a problem with the mov getters in the FE7-QoL patch that caused the game to crash when enemy thieves attempted to move. You can either redownload the patch, or comment out lines 90-92 in FE7-Mov and Con Getters/Mov Getter/Mov Getter EA.txt, like thus:

//ORG $3993C
//SHORT 0x1C04 0xE002 //mov r4,r0; b
1 Like

Fixed an issue with FE7-QoL stuff where HP bars would crash the game if you had HP-boosting items (like Vaida’s uber spear).


I’m getting this issue with the bottom-right corner of a one-line textbubble in a battle-quote. Can you replicate this on your end?

He’s saying he’d like to see Teq try. So meta.

1 Like

Yeah, that’s an issue I don’t feel like fixing. It would require a new tile for the speech bubble graphics. Don’t use 1- or 3- line boxes for battle quotes.

Issue fixed with the FE8 Battle Animations by Character hack where the new function wasn’t called on the promotion selection and promotion animation screens. Thanks to @Devisian_Nights for finding it.

EDIT: And another update: If a unit has entries in the table for certain classes but isn’t in one of those classes, it will use the default class entries rather than not showing animations at all.


I think I found a bug in Text engine rework.

Because Text engine rework changes the value in r5 to 3 at 0x6848, tiles that were used for the lower UI on the promotion branch screen were cleared (I think they were misinterpreted as allocated text?)

Before clearing text vs after clearing text:

Fixed. Added the following to the main EA file:

ORG $CCC20; WORD 0x6003800; ORG $CCC0E; BYTE $8E

That should move the box graphics a bit further down.

I also edited DialogueInterpret.asm to not advance the text buffer when reaching the string terminator (0) so as to prevent text from sometimes not terminating. I hope. I didn’t actually test that.


This hack ignores the AI3 value in memory slot 1 and sets the unit’s AI3 to 0x0. In New_CHAI.asm lines 104-106 read:

lsl		r3,r1,#0x8
lsl		r3,#0x18
strb	r3,[r2]			@AI 3

Where r1 holds the AI in form 0x44332211.
r3 will hold 0 regardless of the value in r1. I’m guessing the intention was:

lsl		r3,r1,#0x8
lsr		r3,#0x18
strb	r3,[r2]			@AI 3
1 Like

Good catch. Fixed.

1 Like

I added Snek’s Gendered Text thing to the text engine rework. I figured I’d drop an example implementation here. I put the files I changed here.


I’ve been having some trouble with using convoy partitions alongside the modular save with 200 items.
Here’s my setup:

The first and third partitions work, but for the other three, if I withdraw from the supply, the game will softlock with the withdrawing unit running in place and not ending its turn. If I try this same setup in a new ROM that only had modular save installed, I get the same results, except the game crashes instead of softlocking. I’ve also had some odd results while experimenting with minor changes to the setup. Like if I make the first two convoys 80 items instead of 90, they both work, but the third won’t work if I make it the last 40 items. But if I leave the third as the last 20 items, all three work (with items 160-179 not used outside of the combined convoys). Anyway, I’d appreciate anything you might be able to offer as far as why this isn’t working. Thanks in advance.


I wanted to use the convoy combine asm just for the item merging. It functions just fine, but the palette of the menu element is messed up. This image is a vanilla rom with the convoy combine stuff inserted with event assembler. How could I fix the palette?

Never mind, I found an alternate solution. I switched the incbins and incexts at the end of the event file.

If you’re still having the issue, can you send me a patch please? It’s been quite a while since I did any hacking but I can take a look.

Gamma was able to help me out with the convoy partitions, but I appreciate you getting back to me.

if you’re using this with skill sys on febuilder:

#define gConvoyItemArray 0x203B200 // this is not the vanilla address 
#define _COMBINE_ITEMS_HACK_ // comment this out if you don't want item combining
//#define _CONVOY_PARTITION_SETUP_2_ //uncomment this if you're using setup2, detailed in the Readme

#define ConvoyPartition(start_slot, length, function) "BYTE start_slot length 0 0; POIN function"

ConvoyPartition(0, 150, 0) // for the party with 150 items, type 0 into ChapterEditor + 0x3D 
ConvoyPartition(150, 50, 0) // for the party with 50 items, type 1 into ChapterEditor + 0x3D 
ConvoyPartition(0, 200, 0) // for the combined party, type 2 into ChapterEditor + 0x3D 
WORD 0 //terminator



I wasn’t sure where I should ask this question, but since convoy shenanigans are being discussed right now, I’ll ask here.

Are there are patches out there that make it so a unit’s entire inventory is automatically sent to the convoy upon death like in FE11 and 12? Furthermore, if such a patch exists or can be made, I’d like for it to be compatible with FE6. FE6 for me is a very traditional FE game and definitely encourages ironman style play, but…it’s way too punishing when you lose a bunch of good items in addition to losing a unit you were probably trying to make good. Not to mention that dying while holding a legendary weapon instantly locks you out of the true ending.

Anyway, I, and I know many others, would appreciate it if consideration was put into making a convoy feature like this for GBA.

Yeah there’s a GiveAll / SendAll to convoy on unit death patch. Someone (eg. you) would have to port it from fe8 to fe6. It’s just a matter of replacing the addresses used. If they’re documented it’s easy, but if not, you’d need to find the pointers yourself. This hack is fairly simple so you probably wouldn’t have too much trouble porting it with some #advanced_help assistance.