if sm.hasQuest(31258): sm.warpInstanceIn(301070010, 4) sm.spawnMob(8148012, 138, 38, False) else: sm.warp(301070000, 4)