Corrected a 32 bit warning

- Follow-up to 82b583b5ef4e729ad2c3c74b26adce16a145605a
- Committing on Ind's behalf

Signed-off-by: Haru <haru@dotalux.com>
Changed some void* to the correct data types where applicable

Signed-off-by: Haru <haru@dotalux.com>
Updated script engine self-test npc with array tests

Signed-off-by: Haru <haru@dotalux.com>