Handle the repositioning in the new map of a mocked player object after going through a map connection (#29)

This commit is contained in:
xCrystal
2024-01-05 20:57:35 +01:00
parent 67e20e454e
commit 98b04522e1
10 changed files with 336 additions and 8 deletions

View File

@@ -1715,6 +1715,7 @@ wViewMapModeDisplacementX:: db
; coords and map backup to know where to spawn after returning from View Map mode
wBeforeViewMapYCoord:: db
wBeforeViewMapXCoord:: db
wBeforeViewMapDirection:: db
wBeforeViewMapMapGroup:: db
wBeforeViewMapMapNumber:: db
ENDU
@@ -1724,12 +1725,20 @@ wStartMenuLastCursorPosition::
wBoardMenuLastCursorPosition::
db
UNION
wCurBattleMon::
; index of the player's mon currently in battle (0-5)
db
wCurMoveNum:: db
NEXTU
; temp variables used within MockPlayerObject during View Map mode
wPlayerMockYCoord:: db
wPlayerMockXCoord:: db
ENDU
wLastPocket:: db
wPCItemsCursor:: db