summaryrefslogtreecommitdiff
path: root/engine/overworld
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-02-09 18:03:07 -0500
committerGitHub <noreply@github.com>2019-02-09 18:03:07 -0500
commitb791198f74e55ff6a96d33784d9661854dbca113 (patch)
tree17c78e5808c557144605884de2cdc99ddfdd0ebd /engine/overworld
parent4fe0d93d4c0536b3517ba4b58822e5f6b1019382 (diff)
parent349664ec15995b40151378bbfc405930d47a3c5c (diff)
Merge pull request #596 from Rangi42/master
Remove the nested UNION within battle WRAM
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/overworld.asm2
-rw-r--r--engine/overworld/warp_connection.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/overworld.asm b/engine/overworld/overworld.asm
index ab9770ee5..e47645f2c 100644
--- a/engine/overworld/overworld.asm
+++ b/engine/overworld/overworld.asm
@@ -594,7 +594,7 @@ endr
jr c, .done
ld a, h
- add $8
+ add HIGH(vTiles1 - vTiles0)
ld h, a
call .CopyToVram
diff --git a/engine/overworld/warp_connection.asm b/engine/overworld/warp_connection.asm
index b39d424a7..2630ad913 100644
--- a/engine/overworld/warp_connection.asm
+++ b/engine/overworld/warp_connection.asm
@@ -1,6 +1,6 @@
HandleNewMap:
- call Clearwc7e8
+ call ClearUnusedC7E8
call ResetMapBufferEventFlags
call ResetFlashIfOutOfCave
call GetCurrentMapSceneID