Fixed nullpo calls in script.c mismatching new macro return type

Thanks to Kisuka.

Signed-off-by: shennetsind <ind@henn.et>