Jump to content
Sign in to follow this  
tcaud

How to prevent unit removal after death?

Recommended Posts

you would need an asm hack that makes characters go back to your undeployed units instead of dying when they run out of hp, and then a counter in ram for how many chapters they're not allowed to be selected(like oswin in kaim's level). not easy

Share this post


Link to post
Share on other sites

I'd just like to make the game less frustrating while maintaining the per-chapter difficulty. A counter doesn't seem necessary for that.

Key question: are the characters hard-coded into the game roster, or are they adopted from scenarios? If the former, then there is likely a status byte representing the "life" of the character loaded into RAM somewhere, probably in an ordered sequence (and likely mostly 0s or 255s at the beginning of the game). Thing to do then would be to create a cheat which prevents these writes back to the default. Another possibility is NOPing the character removing proc call. That call is made after the death quote, so its location should be documented, right?

If the characters are wholesale adopted into the roster by some means, then key thing would be NOPing the code which strikes them from the roster when deployed.

Share this post


Link to post
Share on other sites

in fe7, the scene code "UNCR [character_id] 0x2" (i think, you may have to check me on that) reverses the death of [character_id] if they died that chapter. i know somebody (markyjoe? arch?) managed to make a casual mode style approach by basically running this on every available character at the end of every map.

dead characters are cleared from RAM at the end of the map but it isn't as easy as clearing the "death flag" - that would put them right back into battle, zero health and all.

Share this post


Link to post
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...