From 47ad801645f7617d443894c8d7b70f4462f91a10 Mon Sep 17 00:00:00 2001 From: Maruno17 Date: Thu, 19 May 2022 19:42:16 +0100 Subject: [PATCH] Tidying up for v20 release --- Data/Scripts/001_Settings.rb | 4 ++-- Data/Scripts/002_Save data/005_Game_SaveConversions.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Data/Scripts/001_Settings.rb b/Data/Scripts/001_Settings.rb index d6f6f54b67..16e73e2f87 100644 --- a/Data/Scripts/001_Settings.rb +++ b/Data/Scripts/001_Settings.rb @@ -1,6 +1,6 @@ #==============================================================================# # Pokémon Essentials # -# Version 19.1.dev # +# Version 20 # # https://github.com/Maruno17/pokemon-essentials # #==============================================================================# @@ -433,6 +433,6 @@ def self.pokedex_names # DO NOT EDIT THESE! module Essentials - VERSION = "19.1.dev" + VERSION = "20" ERROR_TEXT = "" end diff --git a/Data/Scripts/002_Save data/005_Game_SaveConversions.rb b/Data/Scripts/002_Save data/005_Game_SaveConversions.rb index a07b846eb9..aa1c59f93e 100644 --- a/Data/Scripts/002_Save data/005_Game_SaveConversions.rb +++ b/Data/Scripts/002_Save data/005_Game_SaveConversions.rb @@ -7,8 +7,8 @@ # numerical IDs to symbolic IDs (for the berry planted and for mulch laid down). # Since item numerical IDs no longer exist, this conversion needs to have a list # of them in order to convert planted berry data properly. -SaveData.register_conversion(:v19_2_fix_planted_berry_numerical_ids) do - essentials_version 19.2 +SaveData.register_conversion(:v20_fix_planted_berry_numerical_ids) do + essentials_version 20 display_title "Fixing berry plant IDs data" to_value :global_metadata do |global| berry_conversion = { @@ -231,7 +231,7 @@ #=============================================================================== SaveData.register_conversion(:v20_increment_player_character_id) do - essentials_version 19.1 + essentials_version 20 display_title "Incrementing player character ID" to_value :player do |player| player.character_ID += 1