Ensure anchor points are applied when landing after warp by creating a new setup script

This commit is contained in:
xCrystal
2023-12-14 17:11:15 +01:00
parent 429aad6798
commit af9ab166c4
6 changed files with 28 additions and 3 deletions

View File

@@ -1807,7 +1807,7 @@ CheckAndApplyAnchorPoint::
; e = [wYCoord]
; hl = [wCurMapAnchorEventsPointer]
; if currently at coords of any anchor point, copy its next space byte to wCurSpaceNextSpace.
; return carry if anchor point matched, nc otherwise.
; return nc if anchor point matched, carry otherwise.
ldh a, [hROMBank]
push af
call SwitchToMapScriptsBank