aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
authorLinus Unnebäck <linus@folkdatorn.se>2023-11-17 19:50:27 +0100
committerGitHub <noreply@github.com>2023-11-17 12:50:27 -0600
commit83b373ad734fb0bf4b476b0f38dbeec8ea205f19 (patch)
treeb4178b8d993b12ec11fa5369c3f924e27fe2cfcb /engine
parentUse map object consts in data/maps/hide_show_data.asm (#432) (diff)
downloadpokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.tar.gz
pokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.tar.xz
pokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.zip
Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits * Apply Vulcandth and Rangi42 feedback --------- Co-authored-by: vulcandth <vulcandth@gmail.com>
Diffstat (limited to 'engine')
-rw-r--r--engine/menus/save.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/menus/save.asm b/engine/menus/save.asm
index b74b9058..1857d6f5 100644
--- a/engine/menus/save.asm
+++ b/engine/menus/save.asm
@@ -372,7 +372,7 @@ ChangeBox::
call GetBoxSRAMLocation
ld de, wBoxDataStart
call CopyBoxToOrFromSRAM ; copy new box from SRAM to WRAM
- ld hl, wMapTextPtr
+ ld hl, wCurMapTextPtr
ld de, wChangeBoxSavedMapTextPointer
ld a, [hli]
ld [de], a