add: static npcs taken into account even if not in RAM
add: script std functions, and new instructions