update 6.7

This commit is contained in:
chardub
2025-09-28 15:53:01 -04:00
parent ef5e023ae0
commit 318ff90d8d
696 changed files with 111759 additions and 198230 deletions

View File

@@ -14,6 +14,8 @@ class Trainer
attr_accessor :lowest_difficulty
attr_accessor :selected_difficulty
attr_accessor :game_mode
attr_accessor :quest_points
attr_accessor :secretBase_uuid
def inspect
str = super.chop
@@ -23,7 +25,7 @@ class Trainer
end
def full_name
return _INTL("{1} {2}", trainer_type_name, @name)
return "#{trainer_type_name} #{@name}"
end
#=============================================================================
@@ -225,6 +227,7 @@ class Trainer
@lowest_difficulty=2 #On hard by default, lowered whenever the player selects another difficulty
@selected_difficulty=2 #On hard by default, lowered whenever the player selects another difficulty
@game_mode =0 #classic
@quest_points = 0
end
end

View File

@@ -38,8 +38,7 @@ def pbNewTrainer(tr_type, tr_name, tr_version, save_changes = true)
params = ChooseNumberParams.new
params.setRange(1, GameData::GrowthRate.max_level)
params.setDefaultValue(10)
level = pbMessageChooseNumber(_INTL("Set the level for {1} (max. #{params.maxNumber}).",
GameData::Species.get(species).name), params)
level = pbMessageChooseNumber(_INTL("Set the level for {1} (max. {2}).", GameData::Species.get(species).name, params.maxNumber), params)
party.push([species, level])
break
else
@@ -124,7 +123,7 @@ def pbMissingTrainer(tr_type, tr_name, tr_version)
raise _INTL("Trainer type {1} does not exist.", tr_type) if !tr_type_data
tr_type = tr_type_data.id
if !$DEBUG
#raise _INTL("Can't find trainer ({1}, {2}, ID {3})", tr_type.to_s, tr_name, tr_version)
#raise "Can't find trainer ({1}, {2}, ID {3})", tr_type.to_s, tr_name, tr_version
message = ""
if $game_switches[SWITCH_MODERN_MODE]
message << "[MODERN MODE] "

View File

@@ -17,7 +17,7 @@ class TrainerWalkingCharSprite < SpriteWrapper
@animbitmap.dispose if @animbitmap
@animbitmap = nil
outfit_bitmap = _INTL("Graphics/Characters/players/outfits/{1}_{2}",value,$Trainer.outfit) if $Trainer && $Trainer.outfit
outfit_bitmap = "Graphics/Characters/players/outfits/#{value}_#{$Trainer.outfit}" if $Trainer && $Trainer.outfit
@trainer = $Trainer if !@trainer
if $Trainer