mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-04-30 21:41:25 +00:00
Binary file not shown.
@@ -1550,7 +1550,7 @@ PokemonChallengeRules.new
|
||||
|
||||
|
||||
# Battle Time (includes animations)
|
||||
If the time runs out, the team with the most Pokémon left wins. If both teams have
|
||||
If the time runs out, the team with the most Pok<EFBFBD>mon left wins. If both teams have
|
||||
the same number of Pokémon left, total HP remaining breaks the tie. If both HP
|
||||
totals are identical, the battle is a draw.
|
||||
|
||||
|
||||
@@ -61,10 +61,11 @@ def pbPrintException(e)
|
||||
errorlog = RTP.getSaveFileName("errorlog.txt")
|
||||
end
|
||||
File.open(errorlog,"ab") { |f| f.write(premessage); f.write(message) }
|
||||
errorlogline = errorlog.sub(Dir.pwd+"\\","")
|
||||
errorlogline = errorlogline.sub(Dir.pwd+"/","")
|
||||
errorlogline = errorlogline.gsub("/","\\")
|
||||
errorlogline = "\r\n"+errorlogline if errorlogline.length>20
|
||||
errorlogline = errorlog.sub("/", "\\")
|
||||
errorlogline.sub!(Dir.pwd + "\\", "")
|
||||
errorlogline.sub!(pbGetUserName, "USERNAME")
|
||||
errorlogline = "\r\n" + errorlogline if errorlogline.length > 20
|
||||
errorlogline.gsub!("/", "\\")
|
||||
print("#{message}\r\nThis exception was logged in #{errorlogline}.\r\nPress Ctrl+C to copy this message to the clipboard.")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user