tokens get parsed for constructs
This commit is contained in:
parent
334e466bed
commit
c6e43df31c
|
@ -96,8 +96,8 @@ game_interaction_gamemenu,Game Menu
|
|||
game_interaction_pokegear,Pokégear
|
||||
game_interaction_pausemenu,Pause Menu
|
||||
game_interaction_notification,Notification
|
||||
game_notification_accept,Press <button.special> to accept.
|
||||
game_notification_dismiss,Press <button.special> to dismiss.
|
||||
game_notification_accept,Press <system.button(special)> to accept.
|
||||
game_notification_dismiss,Press <system.button(special)> to dismiss.
|
||||
---
|
||||
MainMenuScreen:
|
||||
main_menu_continue,Continue
|
||||
|
|
|
@ -112,9 +112,10 @@
|
|||
Dim result As String = resultToken.TokenContent
|
||||
If Core.Player IsNot Nothing Then
|
||||
result = result.Replace("<playername>", Core.Player.Name)
|
||||
result = result.Replace("<player.name>", Core.Player.Name)
|
||||
result = result.Replace("<rivalname>", Core.Player.RivalName)
|
||||
result = result.Replace("<player.name>", Core.Player.RivalName)
|
||||
If result.Contains("<") Then
|
||||
result = CStr(ScriptVersion2.ScriptComparer.EvaluateConstruct(result))
|
||||
End If
|
||||
End If
|
||||
Return result
|
||||
End If
|
||||
|
|
Loading…
Reference in New Issue