[s2776] Update and improve script for quest 1249

(based on commit SD2[2991] - e193a03)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>