[NDS] Refactor relative and absolute position related code.

Looks like the map loading and character position loading are ok!