Fixed quote marks around LoseText in trainers.txt

This commit is contained in:
Maruno17
2021-10-03 22:42:18 +01:00
parent 929a039f04
commit 1f9ba94432
3 changed files with 22 additions and 22 deletions

View File

@@ -592,7 +592,7 @@ module Compiler
end
f.write(sprintf("Items = %s\r\n", trainer.items.join(","))) if trainer.items.length > 0
if trainer.real_lose_text && !trainer.real_lose_text.empty?
f.write(sprintf("LoseText = %s\r\n", csvQuoteAlways(trainer.real_lose_text)))
f.write(sprintf("LoseText = %s\r\n", trainer.real_lose_text))
end
trainer.pokemon.each do |pkmn|
f.write(sprintf("Pokemon = %s,%d\r\n", pkmn[:species], pkmn[:level]))