Added and fixed tokens for main menu, inventory...

... and the title of the join server screen.
This commit is contained in:
JappaWakka 2024-12-09 18:46:02 +01:00
parent 052f32a5de
commit 787cd5358e
8 changed files with 145 additions and 48 deletions

View File

@ -71,7 +71,6 @@ global_pokemon_move_cut,Cut
global_pokemon_move_teleport,Teleport
global_pokemon_move_dig,Dig
global_used,Used
global_eggs_cannot_hold,Eggs cannot hold items.
---
General:
HP,KP
@ -144,6 +143,10 @@ main_menu_savefile_gamemode,GameMode
main_menu_savefile_badges,Badges
main_menu_savefile_playtime,Play time
main_menu_savefile_location,Location
main_menu_gamejolt_ChangeToMale,Change to male
main_menu_gamejolt_ChangeToFemale,Change to female
main_menu_gamejolt_ChangeToGenderless,Change to genderless
main_menu_gamejolt_ResetSave,Reset save
main_menu_error_gamemode_profile,The required GameMode does not exist!
main_menu_error_gamemode_message,The required GameMode does not exist.~Reaquire the GameMode to play on this profile.
main_menu_error_gamejolt_1,Download failed. Press Accept to try again.
@ -279,6 +282,22 @@ game_menu_options,Optionen
game_menu_exit,Menü schließen
game_menu_end_contest,Wettbewerb beenden
---
InventoryScreen:
inventory_screen_title,Inventory
inventory_screen_ItemSubtitle_HM,Hidden Machine
inventory_screen_ItemSubtitle_TM,Technical Machine
inventory_screen_ItemSubtitle_Standard_Suffix, Item
inventory_screen_ItemSubtitle_KeyItem,Key Item
inventory_screen_ItemSubtitle_PokeBall,Poké Ball
inventory_screen_ItemSubtitle_Plant,Plant
inventory_screen_ItemSubtitle_BattleItem,Battle Item
inventory_screen_ItemNotUsableInBattle,This item can't~be used in Battle.
inventory_screen_TossConfirmation,Are you sure you want to toss~this item?
inventory_screen_TossAmount,Select the amount to toss.
inventory_screen_GiveItem_Give,Gave <name> the <newitem>.
inventory_screen_GiveItem_Switch,Switched <name>'s <olditem> with the <newitem>.
inventory_screen_EggsCannotHold,Eggs cannot hold items.
---
NewGameScreen:
new_game_oak_1,Hello!~Sorry to keep~you waiting!*Welcome to the world~of Pokémon!*My name is Oak.~People call me~Pokémon Prof.*This world is inhabited~by creatures that~we call
new_game_oak_2,Pokémon.*People and Pokémon live~together by supporting~each other.~Some people play with~Pokémon,~some battle with them.*But we don't know~everything about~Pokémon yet.~There are still many~mysteries to solve.*That's why I study~Pokémon every day.*Now, what did you~say your name was?

View File

@ -71,7 +71,6 @@ global_pokemon_move_cut,Cut
global_pokemon_move_teleport,Teleport
global_pokemon_move_dig,Dig
global_used,Used
global_eggs_cannot_hold,Eggs cannot hold items.
---
General:
HP,HP
@ -144,6 +143,10 @@ main_menu_savefile_gamemode,GameMode
main_menu_savefile_badges,Badges
main_menu_savefile_playtime,Play time
main_menu_savefile_location,Location
main_menu_gamejolt_ChangeToMale,Change to male
main_menu_gamejolt_ChangeToFemale,Change to female
main_menu_gamejolt_ChangeToGenderless,Change to genderless
main_menu_gamejolt_ResetSave,Reset save
main_menu_error_gamemode_profile,The required GameMode does not exist!
main_menu_error_gamemode_message,The required GameMode does not exist.~Reaquire the GameMode to play on this profile.
main_menu_error_gamejolt_1,Download failed. Press Accept to try again.
@ -279,6 +282,22 @@ game_menu_options,Options
game_menu_exit,Exit Menu
game_menu_end_contest,End Contest
---
InventoryScreen:
inventory_screen_title,Inventory
inventory_screen_ItemSubtitle_HM,Hidden Machine
inventory_screen_ItemSubtitle_TM,Technical Machine
inventory_screen_ItemSubtitle_Standard_Suffix, Item
inventory_screen_ItemSubtitle_KeyItem,Key Item
inventory_screen_ItemSubtitle_PokeBall,Poké Ball
inventory_screen_ItemSubtitle_Plant,Plant
inventory_screen_ItemSubtitle_BattleItem,Battle Item
inventory_screen_ItemNotUsableInBattle,This item can't~be used in Battle.
inventory_screen_TossConfirmation,Are you sure you want to toss~this item?
inventory_screen_TossAmount,Select the amount to toss.
inventory_screen_GiveItem_Give,Gave <name> the <newitem>.
inventory_screen_GiveItem_Switch,Switched <name>'s <olditem> with the <newitem>.
inventory_screen_EggsCannotHold,Eggs cannot hold items.
---
NewGameScreen:
new_game_intro_1,Hello!~Sorry to keep~you waiting!*Welcome to the world~of Pokémon!*My name is Oak.~People call me~Pokémon Prof.*This world is inhabited~by creatures that~we call
new_game_intro_2,Pokémon.*People and Pokémon live~together by supporting~each other.~Some people play with~Pokémon,~some battle with them.*But we don't know~everything about~Pokémon yet.~There are still many~mysteries to solve.*That's why I study~Pokémon every day.*Now, what did you~say your name was?

View File

@ -71,7 +71,6 @@ global_pokemon_move_cut,Coupe
global_pokemon_move_teleport,Teleport
global_pokemon_move_dig,Tunnel
global_used,Utilisé
global_eggs_cannot_hold,Les œufs ne peuvent pas tenir d'objets.
---
General:
HP,HP
@ -144,6 +143,10 @@ main_menu_savefile_gamemode,Mode de Jeu
main_menu_savefile_badges,Badges
main_menu_savefile_playtime,Temps de jeu
main_menu_savefile_location,Localisation
main_menu_gamejolt_ChangeToMale,Change to male
main_menu_gamejolt_ChangeToFemale,Change to female
main_menu_gamejolt_ChangeToGenderless,Change to genderless
main_menu_gamejolt_ResetSave,Reset save
main_menu_error_gamemode_profile,Le Mode de Jeu requis n'éxiste pas!
main_menu_error_gamemode_message,Le Mode de Jeu requis n'existe pas.~Le Mode de Jeu est requis pour jouer sur ce profil.
main_menu_error_gamejolt_1,Le téléchargement a échoué. Appuie sur Accepter pour réessayer.
@ -279,6 +282,22 @@ game_menu_options,Options
game_menu_exit,Quitter le Menu
game_menu_end_contest,End Contest
---
InventoryScreen:
inventory_screen_title,Inventory
inventory_screen_ItemSubtitle_HM,Hidden Machine
inventory_screen_ItemSubtitle_TM,Technical Machine
inventory_screen_ItemSubtitle_Standard_Suffix, Item
inventory_screen_ItemSubtitle_KeyItem,Key Item
inventory_screen_ItemSubtitle_PokeBall,Poké Ball
inventory_screen_ItemSubtitle_Plant,Plant
inventory_screen_ItemSubtitle_BattleItem,Battle Item
inventory_screen_ItemNotUsableInBattle,This item can't~be used in Battle.
inventory_screen_TossConfirmation,Are you sure you want to toss~this item?
inventory_screen_TossAmount,Select the amount to toss.
inventory_screen_GiveItem_Give,Gave <name> the <newitem>.
inventory_screen_GiveItem_Switch,Switched <name>'s <olditem> with the <newitem>.
inventory_screen_EggsCannotHold,Les œufs ne peuvent pas tenir d'objets.
---
NewGameScreen:
new_game_intro_1,Bonjour!~Désolé de l'attente!*Bienvenue dans le monde~des POkéMON!*Mon nom est CHEN.~Mais on m'appelle le~PROF.POKéMON*Ce monde est peuplé de créature appelées POKéMON.
new_game_intro_2,*Humains et POKéMON vivent~en parfaite harmonie....~Certain jouent avec les~Pokémon,~d'autre font des combats~avec eux.*Mais il reste encore~beaucoup à apprendre sur~nos amis les POkéMON.~De nombreux mystères planent~à leur sujet.*Et c'est pourquoi j'étudie~les POKéMON tous les jours.*Heu....c'est quoi ton nom déjà?

View File

@ -71,7 +71,6 @@ global_pokemon_move_cut,Snijd
global_pokemon_move_teleport,Teleporteer
global_pokemon_move_dig,Graaf
global_used,Gebruikt
global_eggs_cannot_hold,Eieren kunnen niets vasthouden.
---
General:
HP,IP
@ -144,6 +143,10 @@ main_menu_savefile_gamemode,Spelmodus
main_menu_savefile_badges,Badges
main_menu_savefile_playtime,Speeltijd
main_menu_savefile_location,Locatie
main_menu_gamejolt_ChangeToMale,Verander naar man
main_menu_gamejolt_ChangeToFemale,Verander naar vrouw
main_menu_gamejolt_ChangeToGenderless,Verander naar neutraal
main_menu_gamejolt_ResetSave,Herstart opslagbestand
main_menu_error_gamemode_profile,De vereiste Spelmodus bestaat niet!
main_menu_error_gamemode_message,De vereiste Spelmodus bestaat niet.~Voeg de Spelmodus opnieuw toe om dit profiel te gebruiken.
main_menu_error_gamejolt_1,Download mislukt. Druk op "Bevestig" om opnieuw te proberen.
@ -279,6 +282,22 @@ game_menu_options,Opties
game_menu_exit,Menu Verlaten
game_menu_end_contest,Stop Wedstrijd
---
InventoryScreen:
inventory_screen_title,Inventaris
inventory_screen_ItemSubtitle_HM,Verborgen Machine
inventory_screen_ItemSubtitle_TM,Technische Machine
inventory_screen_ItemSubtitle_Standard_Suffix, Voorwerp
inventory_screen_ItemSubtitle_KeyItem,Belangrijk Voorwerp
inventory_screen_ItemSubtitle_PokeBall,PokéBal
inventory_screen_ItemSubtitle_Plant,Plant
inventory_screen_ItemSubtitle_BattleItem,Voorwerp voor Gevecht
inventory_screen_ItemNotUsableInBattle,Dit voorwerp kan niet tijdens~een gevecht gebruikt worden.
inventory_screen_TossConfirmation,Weet je zeker dat je dit~voorwerp wilt weggooien?
inventory_screen_TossAmount,Selecteer aantal om weg te gooien.
inventory_screen_GiveItem_Give,Gaf <name> een <newitem>.
inventory_screen_GiveItem_Switch,Wisselde <name>'s <olditem> met een <newitem>.
inventory_screen_EggsCannotHold,Eieren kunnen geen voorwerpen~vasthouden.
---
NewGameScreen:
new_game_intro_1,Hello!~Sorry to keep~you waiting!*Welcome to the world~of Pokémon!*My name is Oak.~People call me~Pokémon Prof.*This world is inhabited~by creatures that~we call
new_game_intro_2,Pokémon.*People and Pokémon live~together by supporting~each other.~Some people play with~Pokémon,~some battle with them.*But we don't know~everything about~Pokémon yet.~There are still many~mysteries to solve.*That's why I study~Pokémon every day.*Now, what did you~say your name was?
@ -1889,16 +1908,16 @@ item_name_480,TM 180
item_name_481,TM 181
Hidden Machines:
item_name_247,HM 01
item_name_244,HM 02
item_name_245,HM 03
item_name_246,HM 04
item_name_243,HM 05
item_name_248,HM 06
item_name_249,HM 07
item_name_250,HM 08
item_name_251,HM 09
item_name_252,HM 10
item_name_247,VM 01
item_name_244,VM 02
item_name_245,VM 03
item_name_246,VM 04
item_name_243,VM 05
item_name_248,VM 06
item_name_249,VM 07
item_name_250,VM 08
item_name_251,VM 09
item_name_252,VM 10
Medicine:
item_name_7,Lavakoekje

View File

@ -71,7 +71,6 @@ global_pokemon_move_cut,Cut
global_pokemon_move_teleport,Teleport
global_pokemon_move_dig,Dig
global_used,Usou
global_eggs_cannot_hold,Ovos não podem segurar itens.
---
General:
HP,HP
@ -113,8 +112,7 @@ fieldmove_dive_down_2,*Você deseja usar Dive?
fieldmove_dive_up_type1,Uma Luz está vindo~da superfície.*Você deseja usar Dive?
fieldmove_dive_up_type2,A sombra do barco aparece~no fundo do oceano.*Você deseja usar Dive?
fieldmove_dive_used,usou~Dive!
Essa árvore pode ter~um Pokémon em cima.*Você deseja usar Headbutt?
fieldmove_headbutt_question,This tree could have~a Pokémon in it.*Do you want to~use Headbutt?
fieldmove_headbutt_question,Essa árvore pode ter~um Pokémon em cima.*Você deseja usar Headbutt?
fieldmove_headbutt_used,usou~Headbutt!
fieldmove_waterfall_used,usou~Waterfall.
@ -145,6 +143,10 @@ main_menu_savefile_gamemode,Modo de Jogo
main_menu_savefile_badges,Insígnias
main_menu_savefile_playtime,Tempo de Jogo
main_menu_savefile_location,Local
main_menu_gamejolt_ChangeToMale,Change to male
main_menu_gamejolt_ChangeToFemale,Change to female
main_menu_gamejolt_ChangeToGenderless,Change to genderless
main_menu_gamejolt_ResetSave,Reset save
main_menu_error_gamemode_profile,O modo de jogo escolhido não existe!
main_menu_error_gamemode_message,O modo de jogo escolhido não existe.~Baixe novamente para jogar nesse Salve.
main_menu_error_gamejolt_1,Download falhou. Press Aceitar tentar denovo.
@ -267,7 +269,7 @@ pause_menu_disconnect,Desconectar
pause_menu_quit_to_menu,Sair para o Menu Principal
pause_menu_autosave_fail,Não da para criar AutoSalve.
pause_menu_yes,Sim
pause_menu_no,NÃÃÃÃÃÃÃÃOOOOO
pause_menu_no,Não
pause_menu_confirmation,Você deseja realmente sair? Não se esqueça de Salvar antes.
---
IngameMenu:
@ -281,6 +283,22 @@ game_menu_options,Opções
game_menu_exit,Sair do Menu
game_menu_end_contest,Terminar Concurso
---
InventoryScreen:
inventory_screen_title,Inventory
inventory_screen_ItemSubtitle_HM,Hidden Machine
inventory_screen_ItemSubtitle_TM,Technical Machine
inventory_screen_ItemSubtitle_Standard_Suffix, Item
inventory_screen_ItemSubtitle_KeyItem,Key Item
inventory_screen_ItemSubtitle_PokeBall,Poké Ball
inventory_screen_ItemSubtitle_Plant,Plant
inventory_screen_ItemSubtitle_BattleItem,Battle Item
inventory_screen_ItemNotUsableInBattle,This item can't~be used in Battle.
inventory_screen_TossConfirmation,Are you sure you want to toss~this item?
inventory_screen_TossAmount,Select the amount to toss.
inventory_screen_GiveItem_Give,Gave <name> the <newitem>.
inventory_screen_GiveItem_Switch,Switched <name>'s <olditem> with the <newitem>.
inventory_screen_EggsCannotHold,Ovos não podem segurar itens.
---
NewGameScreen:
new_game_intro_1,Olá!~Desculpe pela espera!*Bem vindo ao mundo~de Pokémon!*Meu nome é Oak.~As pessoas mm chamam de~Professor Pokémon.*Este mundo é habitado~por criaturas que~nós chamamos

View File

@ -351,7 +351,7 @@ Public Class NewInventoryScreen
SpriteBatch.Draw(_texture, New Rectangle(halfWidth - 140, halfHeight - 232, 16, 16), New Rectangle(80, 0, 16, 16), mainBackgroundColor)
SpriteBatch.Draw(_texture, New Rectangle(halfWidth - 124, halfHeight - 216, 16, 16), New Rectangle(80, 0, 16, 16), mainBackgroundColor)
SpriteBatch.DrawString(FontManager.ChatFont, "Inventory", New Vector2(halfWidth - 390, halfHeight - 228), mainBackgroundColor)
SpriteBatch.DrawString(FontManager.ChatFont, Localization.GetString("inventory_screen_title", "Inventory"), New Vector2(halfWidth - 390, halfHeight - 228), mainBackgroundColor)
'Draw background pattern:
For y = 0 To CInt(_enrollY) Step 16
@ -519,11 +519,11 @@ Public Class NewInventoryScreen
If CType(cItem, GameModeItem).gmIsHM = True Then
'JSON stuff
'itemSubTitle = _translation.HIDDEN_MACHINE_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Hidden Machine"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_HM", "Hidden Machine")
Else
'JSON stuff
'itemSubTitle = _translation.TECH_MACHINE_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Technical Machine"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_TM", "Technical Machine")
End If
End If
@ -533,14 +533,15 @@ Public Class NewInventoryScreen
itemTitle = techMachine.Attack.Name
If techMachine.IsTM Then
'JSON stuff
'itemSubTitle = _translation.TECH_MACHINE_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Technical Machine"
Else
If techMachine.IsTM = False Then
'JSON stuff
'itemSubTitle = _translation.HIDDEN_MACHINE_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Hidden Machine"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_HM", "Hidden Machine")
Else
'JSON stuff
'itemSubTitle = _translation.TECH_MACHINE_TITLE(cItem.ItemType.ToString())
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_TM", "Technical Machine")
End If
itemDescription &= Environment.NewLine & techMachine.Attack.Description
@ -548,23 +549,23 @@ Public Class NewInventoryScreen
Case Items.ItemTypes.Standard
'JSON stuff
'itemSubTitle = _translation.STANDARD_ITEM_TITLE(cItem.ItemType.ToString())
itemSubTitle = cItem.ItemType.ToString() & " Item"
itemSubTitle = cItem.ItemType.ToString() & Localization.GetString("inventory_screen_ItemSubtitle_Standard_Suffix", "Item")
Case Items.ItemTypes.KeyItems
'JSON stuff
'itemSubTitle = _translation.KEYITEM_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Key Item"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_KeyItem", "Key Item")
Case Items.ItemTypes.Pokéballs
'JSON stuff
'itemSubTitle = _translation.POKEBALL_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Poké Ball"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_PokeBall", "Poké Ball")
Case Items.ItemTypes.Plants
'JSON stuff
'itemSubTitle = _translation.PLANT_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Plant"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_Plant", "Plant")
Case Items.ItemTypes.BattleItems
'JSON stuff
'itemSubTitle = _translation.BATTLEITEM_TITLE(cItem.ItemType.ToString())
itemSubTitle = "Battle Item"
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_BattleItem", "Battle Item")
End Select
infoBatch.DrawString(FontManager.TextFont, itemTitle, New Vector2(80, 20), Color.White, 0F, Vector2.Zero, 2.0F, SpriteEffects.None, 0F)
@ -911,7 +912,7 @@ Public Class NewInventoryScreen
SetInfoSettings()
SetItemOptions()
Else
TextBox.Show("This item can't~be used in Battle.")
TextBox.Show(Localization.GetString("inventory_screen_ItemNotUsableInBattle", "This item can't~be used in Battle."))
End If
Else
_infoItemOptionSelection = 0
@ -1019,13 +1020,13 @@ Public Class NewInventoryScreen
End Sub
Private Sub TossItem(ByVal cItem As Item)
Dim text As String = "Are you sure you want to toss~this item?%Yes|No%"
Dim text As String = Localization.GetString("inventory_screen_TossConfirmation", "Are you sure you want to toss~this item?") & "%" & Localization.GetString("global_yes", "Yes") & "|" & Localization.GetString("global_no", "No") & "%"
TextBox.Show(text, AddressOf Me.TossManyItems, False, False, TextBox.DefaultColor)
End Sub
Private Sub TossManyItems(ByVal result As Integer)
If result = 0 Then
TextBox.Show("Select the amount to toss.", {})
TextBox.Show(Localization.GetString("inventory_screen_TossAmount", "Select the amount to toss."), {})
_tossingItems = True
End If
End Sub
@ -1067,11 +1068,13 @@ Public Class NewInventoryScreen
If reItem Is Nothing Then
'JSON Stuff
'ShowMessage(_translation.MESSAGE_GIVE_ITEM(Pokemon.GetDisplayName(), cItem.Name))
ShowMessage("Gave " & Pokemon.GetDisplayName() & " a " & cItem.OneLineName() & ".")
Dim giveString As String = Localization.GetString("inventory_screen_GiveItem_Give", "Gave <name> the <newitem>.").Replace("<name>", Pokemon.GetDisplayName()).Replace("<newitem>", cItem.OneLineName())
ShowMessage(giveString)
Else
'JSON Stuff
'ShowMessage(_translation.MESSAGE_SWITCH_ITEM(Pokemon.GetDisplayName(), reItem.Name, cItem.Name))
ShowMessage("Switched " & Pokemon.GetDisplayName() & "'s " & reItem.OneLineName() & " with a " & cItem.OneLineName() & ".")
Dim switchString As String = Localization.GetString("inventory_screen_GiveItem_Switch", "Switched <name>'s <olditem> with the <newitem>.").Replace("<name>", Pokemon.GetDisplayName()).Replace("<olditem>", reItem.OneLineName()).Replace("<newitem>", cItem.OneLineName())
ShowMessage(switchString)
End If
LoadItems()
@ -1083,7 +1086,7 @@ Public Class NewInventoryScreen
Else
'JSON Stuff
'ShowMessage(_translation.MESSAGE_EGG_ERROR)
ShowMessage("Eggs cannot hold items.")
ShowMessage(Localization.GetString("inventory_screen_EggsCannotHold", "Eggs cannot hold items."))
End If
End Sub
@ -1203,25 +1206,25 @@ Public Class NewInventoryScreen
If cItem.CanBeUsed Then
'JSON Stuff
'_infoItemOptions.Add(_translation.INFO_ITEM_OPTION_USE)
_infoItemOptions.Add("Use")
_infoItemOptions.Add(Localization.GetString("global_use", "Use"))
_infoItemOptionsNormal.Add(INFO_ITEM_OPTION_USE)
End If
If cItem.CanBeHeld Then
'JSON Stuff
' _infoItemOptions.Add(_translation.INFO_ITEM_OPTION_GIVE)
_infoItemOptions.Add("Give")
_infoItemOptions.Add(Localization.GetString("global_give", "Give"))
_infoItemOptionsNormal.Add(INFO_ITEM_OPTION_GIVE)
End If
If cItem.CanBeTossed Then
'JSON Stuff
'_infoItemOptions.Add(_translation.INFO_ITEM_OPTION_TOSS)
_infoItemOptions.Add("Toss")
_infoItemOptions.Add(Localization.GetString("global_toss", "Toss"))
_infoItemOptionsNormal.Add(INFO_ITEM_OPTION_TOSS)
End If
ElseIf _mode = ISelectionScreen.ScreenMode.Selection Then
'JSON Stuff
'_infoItemOptions.Add(_translation.INFO_ITEM_OPTION_SELECT)
_infoItemOptions.Add("Select")
_infoItemOptions.Add(Localization.GetString("global_select", "Select"))
_infoItemOptionsNormal.Add(INFO_ITEM_OPTION_SELECT)
End If
End Sub

View File

@ -88,8 +88,8 @@ Public Class JoinServerScreen
Canvas.DrawRectangle(New Rectangle(0, 72, Core.ScreenSize.Width, Core.ScreenSize.Height - 240), New Color(0, 0, 0, 128), True)
Core.SpriteBatch.DrawInterfaceString(FontManager.MainFont, "Join a server:", New Vector2(CInt(Core.ScreenSize.Width / 2 - FontManager.MainFont.MeasureString("Join A Server").X) + 4, 14 + 4), Color.Black, 0.0F, New Vector2(0), 2.0F, SpriteEffects.None, 0.0F)
Core.SpriteBatch.DrawInterfaceString(FontManager.MainFont, "Join a server:", New Vector2(CInt(Core.ScreenSize.Width / 2 - FontManager.MainFont.MeasureString("Join A Server").X), 14), Color.White, 0.0F, New Vector2(0), 2.0F, SpriteEffects.None, 0.0F)
Core.SpriteBatch.DrawInterfaceString(FontManager.MainFont, Localization.GetString("join_server_screen_title", "Join a Server:"), New Vector2(CInt(Core.ScreenSize.Width / 2 - FontManager.MainFont.MeasureString(Localization.GetString("join_server_screen_title", "Join a server:")).X) + 4, 14 + 4), Color.Black, 0.0F, New Vector2(0), 2.0F, SpriteEffects.None, 0.0F)
Core.SpriteBatch.DrawInterfaceString(FontManager.MainFont, Localization.GetString("join_server_screen_title", "Join a Server:"), New Vector2(CInt(Core.ScreenSize.Width / 2 - FontManager.MainFont.MeasureString(Localization.GetString("join_server_screen_title", "Join a server:")).X), 14), Color.White, 0.0F, New Vector2(0), 2.0F, SpriteEffects.None, 0.0F)
Dim endX As Integer = ServerList.Count - 1
endX = CInt(MathHelper.Clamp(endX, 0, ServersToDisplay - 1))

View File

@ -880,7 +880,7 @@ Public Class NewMainMenuScreen
If ScaleScreenRec(New Rectangle(r.X, r.Y, 32, 32)).Contains(MouseHandler.MousePosition) = True And GameInstance.IsMouseVisible OrElse Not GameInstance.IsMouseVisible And _GameJoltButtonIndex = 1 Then
y = 16
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, "Change to male", New Vector2(r.X + 64 + 4, r.Y + 4), fontColor)
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("main_menu_gamejolt_ChangeToMale", "Change to male"), New Vector2(r.X + 64 + 4, r.Y + 4), fontColor)
End If
SpriteBatch.DrawInterface(_oldMenuTexture, New Rectangle(r.X, r.Y, 32, 32), New Rectangle(144, 32 + y, 16, 16), Color.White)
@ -888,7 +888,7 @@ Public Class NewMainMenuScreen
If ScaleScreenRec(New Rectangle(r.X, r.Y + 48, 32, 32)).Contains(MouseHandler.MousePosition) = True And GameInstance.IsMouseVisible OrElse Not GameInstance.IsMouseVisible And _GameJoltButtonIndex = 2 Then
y = 16
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, "Change to female", New Vector2(r.X + 64 + 4, r.Y + 4 + 48), fontColor)
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("main_menu_gamejolt_ChangeToFemale", "Change to female"), New Vector2(r.X + 64 + 4, r.Y + 4 + 48), fontColor)
End If
SpriteBatch.DrawInterface(_oldMenuTexture, New Rectangle(r.X, r.Y + 48, 32, 32), New Rectangle(160, 32 + y, 16, 16), Color.White)
@ -896,7 +896,7 @@ Public Class NewMainMenuScreen
If ScaleScreenRec(New Rectangle(r.X, r.Y + 48 + 48, 32, 32)).Contains(MouseHandler.MousePosition) = True And GameInstance.IsMouseVisible OrElse Not GameInstance.IsMouseVisible And _GameJoltButtonIndex = 3 Then
y = 16
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, "Change to genderless", New Vector2(r.X + 64 + 4, r.Y + 4 + 48 + 48), fontColor)
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("main_menu_gamejolt_ChangeToGenderless", "Change to genderless"), New Vector2(r.X + 64 + 4, r.Y + 4 + 48 + 48), fontColor)
End If
SpriteBatch.DrawInterface(_oldMenuTexture, New Rectangle(r.X, r.Y + 48 + 48, 32, 32), New Rectangle(208, 32 + y, 16, 16), Color.White)
@ -904,7 +904,7 @@ Public Class NewMainMenuScreen
If ScaleScreenRec(New Rectangle(r.X, r.Y + 48 + 48 + 48, 32, 32)).Contains(MouseHandler.MousePosition) = True And GameInstance.IsMouseVisible OrElse Not GameInstance.IsMouseVisible And _GameJoltButtonIndex = 4 Then
y = 16
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, "Reset save", New Vector2(r.X + 64 + 4, r.Y + 4 + 48 + 48 + 48), fontColor)
SpriteBatch.DrawInterfaceString(FontManager.InGameFont, Localization.GetString("main_menu_gamejolt_ResetSave", "Reset save"), New Vector2(r.X + 64 + 4, r.Y + 4 + 48 + 48 + 48), fontColor)
End If
SpriteBatch.DrawInterface(_oldMenuTexture, New Rectangle(r.X, r.Y + 48 + 48 + 48, 32, 32), New Rectangle(176, 32 + y, 16, 16), Color.White)