Skip to content

Commit

Permalink
added pokemon game + fixed pokemon name
Browse files Browse the repository at this point in the history
  • Loading branch information
IamChristianS committed Sep 30, 2023
1 parent 155b851 commit 3c83c4a
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pokemonblack.nds filter=lfs diff=lfs merge=lfs -text
12 changes: 9 additions & 3 deletions games.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,19 @@
<a href="./launcher.html#pokemonred" target="_blank">
<img src="games/img/pokemonfirered.png" alt="Pokemon: Fire Red">
</a>
<a href="./launcher.html#pokemonred" target="_blank"><strong>Pokemon: Fire Red</strong></a>
<a href="./launcher.html#pokemonred" target="_blank"><strong>Pokémon: Fire Red</strong></a>
</div>
<div class="game-item">
<a href="./launcher.html#pokemonemerald" target="_blank">
<img src="games/img/pokemonemerald.png" alt="Pokemon: Emerald">
<img src="games/img/pokemonemerald.png" alt="Pokémon: Emerald">
</a>
<a href="./launcher.html#pokemonemerald" target="_blank"><strong>Pokemon: Emerald</strong></a>
<a href="./launcher.html#pokemonemerald" target="_blank"><strong>Pokémon: Emerald</strong></a>
</div>
<div class="game-item">
<a href="games/pokemonblack/index.html" target="_blank">
<img src="games/img/placeholder.png" alt="Pokémon: Black">
</a>
<a href="games/pokemonblack/index.html" target="_blank"><strong>Pokémon: Black</strong></a>
</div>
<div class="game-item">
<a href="games/animalcrossingwildworld/index.html" target="_blank">
Expand Down
39 changes: 39 additions & 0 deletions games/pokemonblack/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<title>Pokemon: Black</title>
<!--Google Analytics-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M9KJ1XPKLF"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-M9KJ1XPKLF');
</script>
<!--Google Analytics-->
<style>
body {
background-color: #333333;
}
</style>
</head>
<body>
<desmond-player id="player"></desmond-player>
<script src="../../desmond/desmond.min.js"></script>
<script>
window.onload = function() {
document.querySelector("desmond-player").loadURL("pokemonblack.nds")
document.querySelector("desmond-player").shadowRoot.querySelector("#top").style = "position: fixed;transform: translate(-50%, -50%);width: 50%;left: 50%;top: 25%;height: 50%;";
document.querySelector("desmond-player").shadowRoot.querySelector("#bottom").style = "position: fixed;transform: translate(-50%, -50%);width: 50%;left: 50%;top: 75%;height: 50%;";
}
</script>
<!--Anchor Ad Start-->
<script>
var afg={};afg.u=6328;afg.s=31;
afg.anchor="bottom";
document.write("<sc"+"ript src='//js.adforgames.com/cd.js'></sc"+"ript>");
</script>
<!--Anchor Ad End-->
</body>
</html>

0 comments on commit 3c83c4a

Please sign in to comment.