From: Lukas Krickl Date: Sat, 5 Jul 2025 04:34:18 +0000 (+0200) Subject: defs: Re-defined map exit goto x and y X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=45f600fe67fa03fd1a52eeb12aee4d79b55bb2fa;p=gbrg%2F.git defs: Re-defined map exit goto x and y --- diff --git a/src/defs.s b/src/defs.s index 28ed01a..dd648a2 100644 --- a/src/defs.s +++ b/src/defs.s @@ -288,15 +288,11 @@ ; map exit flags .se 1 - ; if set players Y/X position - ; to the opposite side of the - ; map upon entering -.de MAP_EXITF_FLIPY, 1 -.de MAP_EXITF_FLIPX, 2 - ; goto will set the actual position - ; based on the exit table entry -.de MAP_EXITF_GOTOY, 4 -.de MAP_EXITF_GOTOX, 8 + ; if these flags are set goto_y and + ; goto_x are treated as relative offsets + ; instead of absolute tile positions +.de MAP_EXITF_GOTOY_REL, 1 +.de MAP_EXITF_GOTOX_REL, 2 ; map exit table entry struct .se 0