Forgoten change from last commit

(based on commit 72da1ec)

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

(based on commit 23193ba)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
[z2128] Fix a typo in the DBScriptsEngine

(based on commit [12195] - f7269ef)

(based on commit [s1754] - b08f67e)
[z2129] Fix another type in DBScriptsEngine. Also improve COMMAND_PLAY_SOUND

(based on commit [12196] - 752e21d)

(based on commit [s1755] - e155128)
[z2130] Update the SET_FIELD, FLAG_SET and FLAG_REMOVE commands

They now will work in addition with the buddy system.
Also prevent typos like fixed in recent commits by restricting some variables to a smaller scope

(based on commit [12197] - 7d7c211)

(based on commit [s1756] - 45180df)
[z2131] Fix a typo

(based on commit [12199] - d68fdc9)

(based on commit [s1757] - e8d2713)