Files in zip.
items.spt    Definition for the cloak image.
items.bmp    Graphic with cloak image on it. (Not Mine)
Cloak.zes    Entity for cloak to use as a weapon.  watch your magic meter!

Add Cloak.zes and items.spt to Quest Designer.  Add Cloak entity to whatever
chest or enemy you want. Items.bmp was downloaded from Openzelda site as Chest Items.

Also open your _menulib.zes and go to this chunk and add these lines 
                     |                                            |
                    \ /                                           |
//----------------------------------------                        |
// Name: HandleMenu()                                             |
//----------------------------------------                        |
public HandleMenu()                                               | 
{                                                                 |
	// Return a result based on the menu state                |
	new res = 0;                                              |
	                                                          |
	// If the menu is active then draw it                     |
	if ( MenuGoingDown || MenuGoingUp || MenuDown )           |
	{                                                         |
		DrawMenu();                                       | 
		if(!isVisible("player1"));<-----------------------+
		    SetVisibleFlag("player1", true);<-------------+
		res = 1;
	}

Also, also:  Open _enemylib.zes and add these two lines to CheckforPlayer() and CheckforChase()
if(!isVisible("player1");
    return;
Be sure to add them to the beginning of the functions.


If you liked the magic Cloak in Zelda 3, you'll have fun with this.