Add member constants for the base data struct, same as most other structs

This commit is contained in:
Remy Oukaour
2017-12-11 17:35:35 -05:00
parent 8c2c9e91b5
commit 4afc2f01ef
9 changed files with 75 additions and 48 deletions

View File

@@ -1704,11 +1704,11 @@ GetBaseData:: ; 3856
; Get BaseData
dec a
ld bc, BaseData1 - BaseData0
ld bc, BASE_DATA_SIZE
ld hl, BaseData
call AddNTimes
ld de, CurBaseData
ld bc, BaseData1 - BaseData0
ld bc, BASE_DATA_SIZE
call CopyBytes
jr .end
@@ -1881,8 +1881,8 @@ Function392d:: ; 392d
dec a
ld b, 0
add hl, bc
ld hl, BaseData + 0
ld bc, BaseData1 - BaseData0
ld hl, BaseData + BASE_DEX_NO
ld bc, BASE_DATA_SIZE
call AddNTimes
ld a, BANK(BaseData)
call GetFarHalfword