diff --git a/Admin/Templates/update.tpl b/Admin/Templates/update.tpl
index 915ddae2..30e8c91b 100644
--- a/Admin/Templates/update.tpl
+++ b/Admin/Templates/update.tpl
@@ -14,7 +14,7 @@ if(isset($_GET['u']))
$newfile = "update.zip";
if (!copy($file, $newfile))
{
- echo "Update Files of Version $dl were not found.";
+ echo "Update Files of Version $dl were not found.
";
}
else
{
@@ -24,11 +24,11 @@ if(isset($_GET['u']))
$zip->extractTo('../');
$zip->close();
unlink('update.zip');
- echo "Successfully Updated to Version $dl ";;
+ echo "Successfully Updated to Version $dl.
";;
}
else
{
- echo 'Failed to update to Version $dl';
+ echo 'Failed to update to Version $dl.
';
}
}
}
diff --git a/GameEngine/Battle.php b/GameEngine/Battle.php
index c04f848c..10bf4868 100644
--- a/GameEngine/Battle.php
+++ b/GameEngine/Battle.php
@@ -376,7 +376,7 @@ class Battle {
if($type == 1)
{
for($y=4;$y<=44;$y++) {
- if($y == 4 || $y == 14 || $y == 23)
+ if($y == 4 || $y == 14 || $y == 23 || $y == 44)
{
global ${'u'.$y};
if($y >= $start && $y <= ($end-2) && ${def_ab.$abcount} > 0) {