Jump to content

Code that Clears All Units


MarkyJoe1990
 Share

Recommended Posts

A while back, Nintenlord provided me with an ASMC code that clears every units from the map. It's perfect for stuff like cutscenes where you want to reload units.

Anyone have it?

EDIT: Whoops. I should probably put this in the event assembler questions thread. Please remove this, mods.

Edited by MarkyJoe1990
Link to comment
Share on other sites

It was in the EA Standard Library. That is, assuming you're hacking FE7.

#ifdef _FE7_

#define Rescue(char,rescuer) "DISA char; ENUN; UNCM rescuer 0x10; STAL 0x10"

#define MoveOff(char,X,Y) "MOVE char [X,Y]; ENUN; DISA char"

#define UnitsInvisible "ASMC 0x7A939; ASMC 0x7A9D5"

#define PromoteMainChar "ASMC 0x79AF5"

#define UnitClear "ASMC $7A8B9"

#define LevelMerlinus "ASMC 0x79B5D"

#define FancyAssasinEntry(X,Y) "_0xE3 0xCB401C [X*0x10-1,Y*0x10-1]; SOUN 0x2F6"

#define FancyThiefEntry(X,Y) "_0xE3 0xCAE5F8 [X*0x10-1,Y*0x10-1]; SOUN 0x2F6"

#endif

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...