I'm trying to create an item that replaces itself with another item when used. The issue is that I don't know to target the user using script.
The item triggers a common event with the code above when used but I need to replace $gameActors.actor(1) with code that targets the item user instead, but I haven't figured out how to do that.
Code:
$gameActors.actor(1).equipActorItemSlot(-1,27,1,true);