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 [wTempMonDVs], a
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
ld [wTempMonDVs + 1], a
|
ld [wTempMonDVs + 1], a
|
||||||
ld a, 3
|
ld a, TEMPMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
farcall GetGender
|
farcall GetGender
|
||||||
pop bc
|
pop bc
|
||||||
|
@ -562,7 +562,7 @@ DayCare_InitBreeding:
|
|||||||
ld [wTempMonDVs + 1], a
|
ld [wTempMonDVs + 1], a
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
ld [wCurPartySpecies], a
|
ld [wCurPartySpecies], a
|
||||||
ld a, $3
|
ld a, TEMPMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
|
@ -1079,7 +1079,7 @@ PCMonInfo:
|
|||||||
hlcoord 1, 12
|
hlcoord 1, 12
|
||||||
call PrintLevel
|
call PrintLevel
|
||||||
|
|
||||||
ld a, $3
|
ld a, TEMPMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
farcall GetGender
|
farcall GetGender
|
||||||
jr c, .skip_gender
|
jr c, .skip_gender
|
||||||
|
Loading…
Reference in New Issue
Block a user