You should update your emulator, if using constant like NPC_MAP throw a "no character is attached" it may be because they are not defined (because you don't have an updated version of the emulator ) and so it tries to get a player variable with the name NPC_MAP (and so it throw an error).
You can't have a tomb with a monster spawn with the *monster command, because of they way its coded in the emulator. You need to make a permanent monster spawn using boss_monster, unless you specify this boss_monster, you won't have your tomb.
I looked to see if you could spawn it with a permanent monster spawn, but here the problem would be to spawn a "Bloody Dead Branch" mob since you can't put a "-3"
id for a permanent monster spawn.
You should go back to NPC_MAP and NPC_NAME_UNIQUE, this is recommended way of scripting.
Your error is just because of your main npc, the one which is duplicate. He also hit the OnInit label, so as you didn't set a map for this one you're getting your error
Just put something like this:
if(strnpcinfo(NPC_MAP) == "") end;
Just after the OnInit label.
You just forget to put some "
--ja--, is suppose to be a string, here you're trying to access the --ja-- player variable. That's why it throw you a "no player is attached"
Juste change --ja-- to "--ja--" and it will be ok