Replace hardcoded wMonType constants (#1011)

This commit is contained in:
Idain 2022-09-28 20:51:39 -04:00 committed by GitHub
parent bceeea8e3b
commit a9869f1896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ CheckOppositeGender:
ld [wTempMonDVs], a
ld a, [hl]
ld [wTempMonDVs + 1], a
ld a, 3
ld a, TEMPMON
ld [wMonType], a
farcall GetGender
pop bc

View File

@ -562,7 +562,7 @@ DayCare_InitBreeding:
ld [wTempMonDVs + 1], a
ld a, [wBreedMon1Species]
ld [wCurPartySpecies], a
ld a, $3
ld a, TEMPMON
ld [wMonType], a
ld a, [wBreedMon1Species]
cp DITTO

View File

@ -1079,7 +1079,7 @@ PCMonInfo:
hlcoord 1, 12
call PrintLevel
ld a, $3
ld a, TEMPMON
ld [wMonType], a
farcall GetGender
jr c, .skip_gender