summaryrefslogtreecommitdiff
path: root/data/maps/attributes.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-03-23 21:05:39 -0400
committerGitHub <noreply@github.com>2020-03-23 21:05:39 -0400
commit63798d56d05cf87ada77bd26727ea7725630b0b2 (patch)
treec90b2bebe86dffe78e6597d220f70196d3e69e25 /data/maps/attributes.asm
parent624864307e4e7a5055c01d7f06145feec35527a7 (diff)
parent0345e4fb0e3f39a038e9eced72380a5a1ab6694f (diff)
Merge pull request #699 from Rangi42/master
Resolve some miscellaneous issues
Diffstat (limited to 'data/maps/attributes.asm')
-rw-r--r--data/maps/attributes.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/attributes.asm b/data/maps/attributes.asm
index 0b49a351a..d149f59ce 100644
--- a/data/maps/attributes.asm
+++ b/data/maps/attributes.asm
@@ -38,7 +38,7 @@ _tgt = 0
endc
if "\1" == "north"
-_blk = \3_WIDTH * (\3_HEIGHT + -3) + _src
+_blk = \3_WIDTH * (\3_HEIGHT - 3) + _src
_map = _tgt
_win = (\3_WIDTH + 6) * \3_HEIGHT + 1
_y = \3_HEIGHT * 2 - 1
@@ -60,9 +60,9 @@ _len = \3_WIDTH
endc
elif "\1" == "west"
-_blk = (\3_WIDTH * _src) + \3_WIDTH + -3
+_blk = (\3_WIDTH * _src) + \3_WIDTH - 3
_map = (CURRENT_MAP_WIDTH + 6) * _tgt
-_win = (\3_WIDTH + 6) * 2 + -6
+_win = (\3_WIDTH + 6) * 2 - 6
_y = (\4) * -2
_x = \3_WIDTH * 2 - 1
_len = CURRENT_MAP_HEIGHT + 3 - (\4)