diff --git a/index.php b/index.php
index 27a2734..ab3a22f 100644
--- a/index.php
+++ b/index.php
@@ -87,6 +87,12 @@ else
$ponies["vinyl"]["hidden"] = TRUE;
}
+ if($from == "starlight2")
+ {
+ $ponies["starlight2"]["hidden"] = FALSE;
+ $ponies["starlight"]["hidden"] = TRUE;
+ }
+
foreach($ponies as $id => $properties)
{
if(strpos($id, "break") !== FALSE)
@@ -174,7 +180,7 @@ else
{
var twilicaneDiv = $('
');
$("#resultDiv").prepend(twilicaneDiv);
- $(' - http://fav.me/d6vlrbm').insertAfter("#sourceLink");
+ $(' - http://fav.me/d6vlrbm').insertAfter(".sourceLink");
}
else
{
@@ -334,6 +340,29 @@ else
event.preventDefault();
}
}
+
+ if(current == "starlight" || current == "starlight2")
+ {
+ var posX = event.pageX - $(this).offset().left
+ var posY = event.pageY - $(this).offset().top;
+
+ if(posX >= 190 && posX <= 230 && posY >= 380 && posY <= 460)
+ {
+ if(current == "starlight")
+ {
+ $("#from option[value='starlight']").val("starlight2");
+ $("#to option[value='starlight']").val("starlight2");
+ }
+ else
+ {
+ $("#from option[value='starlight2']").val("starlight");
+ $("#to option[value='starlight2']").val("starlight");
+ }
+
+ getNewFusion();
+ event.preventDefault();
+ }
+ }
});