add optional param for <daycare.canbreed>
bool for if it should calc multipliers or not
This commit is contained in:
parent
114a73168a
commit
9ac68d809f
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue