region and regionalform envir constructs
This commit is contained in:
parent
56dff589e6
commit
a8920ab6fb
|
@ -53,6 +53,16 @@
|
|||
Return ReturnBoolean(Screen.Level.WildPokemonFloor)
|
||||
Case "isdark"
|
||||
Return ReturnBoolean(Screen.Level.IsDark)
|
||||
Case "region"
|
||||
If argument <> "" Then
|
||||
Return Screen.Level.CurrentRegion.Split(CChar(","))(int(argument))
|
||||
End If
|
||||
Return Screen.Level.CurrentRegion
|
||||
Case "regionalform"
|
||||
If argument <> "" Then
|
||||
Return Screen.Level.RegionalForm.Split(CChar(","))(int(argument))
|
||||
End If
|
||||
Return Screen.Level.RegionalForm
|
||||
End Select
|
||||
|
||||
Return DEFAULTNULL
|
||||
|
|
Loading…
Reference in New Issue