You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Effects of branch space [Commit 1] (#28)
This commit is contained in:
11
home/map.asm
11
home/map.asm
@@ -2318,3 +2318,14 @@ LoadSpaceData::
|
||||
pop de
|
||||
ld a, [wMapScriptsBank]
|
||||
jp FarCopyBytes
|
||||
|
||||
; load the branch data of the space at wCurSpaceStruct to wTempSpaceBranchStruct
|
||||
LoadTempSpaceBranchData::
|
||||
ld hl, wCurSpaceBranchStructPtr
|
||||
ld a, [hli]
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
ld de, wTempSpaceBranchStruct
|
||||
ld bc, wTempSpaceBranchStructEnd - wTempSpaceBranchStruct
|
||||
ld a, [wMapScriptsBank]
|
||||
jp FarCopyBytes
|
||||
|
Reference in New Issue
Block a user