mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Replace hardcoded wMonType constants (#1011)
This commit is contained in:
parent
bceeea8e3b
commit
a9869f1896
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user