Relic Castle

so how do i make an NPC give the player a pokemon based on the players name.
i used pokemon essentials in rpgmaker XP
thanks.
Top