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

@@ -3484,8 +3484,8 @@ IsThePlayerPkmnTypesEffectiveAgainstOTPkmn: ; 3d618
add hl, bc
ld a, [hl]
dec a
ld hl, BaseData + 7 ; type
ld bc, BaseData1 - BaseData0
ld hl, BaseData + BASE_TYPES
ld bc, BASE_DATA_SIZE
call AddNTimes
ld de, EnemyMonType
ld bc, 2