Updated functions to match the SRB2 2.1.9 update

Just updating the changes that were done in the SRB2 2.1.9 update that added and changed some Lua functions.