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)
|
# 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
|
the same number of Pokémon left, total HP remaining breaks the tie. If both HP
|
||||||
totals are identical, the battle is a draw.
|
totals are identical, the battle is a draw.
|
||||||
|
|
||||||
|
|||||||
@@ -61,10 +61,11 @@ def pbPrintException(e)
|
|||||||
errorlog = RTP.getSaveFileName("errorlog.txt")
|
errorlog = RTP.getSaveFileName("errorlog.txt")
|
||||||
end
|
end
|
||||||
File.open(errorlog,"ab") { |f| f.write(premessage); f.write(message) }
|
File.open(errorlog,"ab") { |f| f.write(premessage); f.write(message) }
|
||||||
errorlogline = errorlog.sub(Dir.pwd+"\\","")
|
errorlogline = errorlog.sub("/", "\\")
|
||||||
errorlogline = errorlogline.sub(Dir.pwd+"/","")
|
errorlogline.sub!(Dir.pwd + "\\", "")
|
||||||
errorlogline = errorlogline.gsub("/","\\")
|
errorlogline.sub!(pbGetUserName, "USERNAME")
|
||||||
errorlogline = "\r\n"+errorlogline if errorlogline.length>20
|
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.")
|
print("#{message}\r\nThis exception was logged in #{errorlogline}.\r\nPress Ctrl+C to copy this message to the clipboard.")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user