A Teraspark of Assembly

#1

Hello guys it’s about time that I’ve shared the asm I’ve done

Item Effect Revamp
Bitmap Allegience
Heal Staff Value Modifier
MapSpriteFix

12 Likes
#2

**Currently FE8 Only**
**Use EA v10.1 or above**

Item effect Revamp v1.8

Older Versions

Item Effect Revamp Package v1.6
Item Effect Revamp v1.7

You know that staff/use effect byte in item data that you’ve always ignored? Well now it does something!
Rather than have item effects be restricted to specific items by item you can now set the staff or use effect of an item by changing this byte in item data.

What this does is get rid of most of the previous limitations on custom items that bothered us before. Before if you wanted to give another item an existing effect you had to change 3 different pointers and make sure said item was below the heal staff in the item table. Now you can give any item/weapon an effect by changing a single byte in item data with a quick trip to nightmare(or nmm2csv).

I’ve also included a text file called Item Effect ID which tells you what each effect ID does. The source asm files are included as well

*Bonus Features*
  • Staves that heal based on a value a given value set in item data
  • A new version of the vulnerary that heals off a given value set in item data
  • master keys that can open both chests and doors
  • by default this will set the 5 use chest key (item 0x79) to be the master key you can change it back by setting the use effect byte from 0x26 to 0x1e to match the normal chest key
  • Status staves and dancer rings have been modified so that you can set the status inflicted and its duration in item data. This is stored in the effect value byte as 0xTS where S = status inflicted, T = turn duration (The effect value byte is the second unused byte at the end of item data by default)

Updates Log

v1.6

adds more AI support by having the AI check for effect ids rather than item ids, now you can have extra keys and lockpicks and the AI should know how to use them

Known Issues - For reasons currently unknown, the pure water effect sometimes hangs the game when used on items besides pure water
v1.7
  • This version is made to be more build file friendly; those tables that were previously in .dmp files have now been moved to nightmare csv files to make updating the tables less of a pain.
  • The item effect table, targeting table, usability table, and prep screen usability tables have been combined into one large table to make it easier to modify
  • a byte in item data has been reserved for item effects; it will be used for values of item effects that should be easily modified such as the amount healed by healing staves
v1.8
  • the major feature of this version is that now item effects animation have their spell association in a separate table. This means you can now do this such as the FE5 light brand(it can also be used as a vulnerary).

  • The promotion items has been redone so that the pointer to the list of classes that can be promoted is now part of the table. The table was also changed to go off of item id again so that you no longer need a separate item effect id for every promotion item.

  • Status staves and dancer rings have been modified so that you can set the status inflicted and its duration in item data. This is stored in the effect value byte as 0xTS where S = status inflicted, T = turn duration

  • The message displayed upon using stat boosters has been modified to me more modular; it now reads from a new table i’ve added in

  • I’ve optimized for space a bit more by using the free space where the item effect tables used to be before i merged them all into a new table. This means the item effect revamp core should take up a bit less space the space saved is probably evened out by the space taken up by all these new tables

8 Likes
[FE8] Question about changing the static base heal amount from staves
#3

Bitmap Allegience
This is still WIP and for FE8

What this does is it lets you change teams fight each other
It also influences which teams can pass through each other

This is still a work in progress but complete enough for people to mess around with because you can make enemies fight each other
The end goal is to be able to change how the teams interact with each other mid chapter through events.

Updates Now affects the player's team's ability to attack, steal, and use status staves. You can now attack green or blue units as well I just need to figure out how to store and load the team info into Suspend/Resume and the save files and it should be ready for an official release

Another Update:
The Allegiance bitmap is now saved over suspend data; that means that this should be usable once i’ve written some macros for it.

5 Likes
Enemies attacking other enemies
#4

Finally remembered to release version 1.6
Let me know if there are any errors.

#5

Heal Value Modifier
FE8 Only
I made an event file that lets you modify what the staff healing amount is
by default heal amount = [item might] + [character str/mag]
you change the item and unit stat used by changing the stat getter pointers in the event file

3 Likes
Changes staves to heal off res
#6

Map Sprite Fix
Here’s something I did to make moving map sprites go off the map sprite id in the class table like the standing map sprites do.
MapSpriteSetup.event is also included to repoint the map sprite tables and make editing them easier with macros.

5 Likes