Update 3DSTownSquare to its current state

This commit is contained in:
HotPizzaYT 2022-05-11 11:03:19 -05:00
commit 2887a49ba1
10 changed files with 2191 additions and 15 deletions

View file

@ -1,8 +1,8 @@
<?php
$isDSi = false;
$width = "320";
$height1 = "208";
$height2 = "222";
$height1 = "218";
$height2 = "212";
if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
$width = "240";
$height1 = "176";
@ -13,7 +13,12 @@ if(strpos($_SERVER["HTTP_USER_AGENT"], "Nintendo DSi") !== false){
}
$cbp = (78.125 / 100) * intval($width);
$cbp1 = strval($cbp);
echo "<style>
body {
font-size: 10px !important;
}
</style>
<script>setTimeout(\"document.body.scrollTop = " . $height1 . ";\", 100);</script>";
if(count(get_included_files()) == 1 && count(get_required_files()) == 1){
echo "Top screen: ". $width . "x" . $height1 . ", bottom screen: " . $width . "x" . $height2;
}