add optional param for <daycare.canbreed>

bool for if it should calc multipliers or not
This commit is contained in:
darkfire006 2022-05-08 02:02:26 -05:00
parent 114a73168a
commit 9ac68d809f
6 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@ version=2
:when:1
@text.show(Glad you called!~Your <daycare.pokemonname(2,0)> is~doing just fine!)
:when:2
:select:<daycare.canbreed(2)>
:select:<daycare.canbreed(2,0)>
:when:70
@storage.set(string,breed_text,The two seem to get~along very well.)
:when:50

View File

@ -154,8 +154,12 @@
Next
Case "canbreed"
Dim dayCareID As Integer = int(argument.GetSplit(0))
Dim wmultiplier As Boolean = True
If argument.Contains(CChar(",")) Then
wmultiplier = CBool(argument.GetSplit(1))
End If
Return Daycare.CanBreed(dayCareID)
Return Daycare.CanBreed(dayCareID, wmultiplier)
End Select
Return DEFAULTNULL