FSM (Finite State Machine) is a method of implementing artificial intelligence that is applied to make a decision on NPC (Non Player Character). The application of FSM that is often encountered is to form an NPC with intelligence, so that the NPC can respond to the player's character so that the NPC seems to be able to think. Games have various types (genres) and are increasingly varied in line with the development of hardware and software technology. Writing will focus on games with the Role Playing Game genre or often called RPG. Games in general use Artifical Intelligence in their systems to make the game more interesting to play. Artifical Intelligence is usually applied to NPC (Non Player Character) / Enemy in the game or opponents who must be defeated, one of the applications of Artifical Intelligence in the game to be used in this research is the Finite State Machine (FSM) method.