Identify wCrystalData's content and rename memory locations accordingly (#1191)

This commit is contained in:
Brianum
2025-06-30 17:37:37 +02:00
committed by GitHub
parent 36fdf1a1fc
commit 8f5a8c5b5b
7 changed files with 92 additions and 91 deletions

View File

@@ -199,6 +199,8 @@ SECTION "Boxes 8-14", SRAM
SECTION "SRAM Mobile 1", SRAM
sCrystalDataJP::
; location of sCrystalData in the japanese version, relocated in international releases
ds $7
sEZChatMessages::
@@ -215,10 +217,9 @@ s4_a03b:: ds 37 * 40
s4_a603:: ds 8
s4_a60b:: db
s4_a60c:: db
s4_a60d:: db
s4_a60c:: dw
s4_a60e:: dw
sCrystalFlags:: ds 2
ds $1f0

View File

@@ -2868,15 +2868,15 @@ wPlayerGender::
; 0 male
; 1 female
db
wd473:: ds 1
wd474:: ds 1
wd475:: ds 1
wd476:: ds 1
wd477:: ds 1
wd478:: ds 1
; mobile profile
wPlayerAge:: ds 1
wPlayerPrefecture:: ds 1
wPlayerPostalCode:: ds 4
wCrystalDataEnd::
wd479:: ds 2
wCrystalFlags::
; flags related to mobile profile
flag_array 16
wGameData::
wPlayerData::