Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
Started creating the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
agarie committed Oct 8, 2011
1 parent a592839 commit a8b821d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
40 changes: 40 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,46 @@
<title>IV Calculator | by Carlos Agarie</title>
</head>
<body>
<p>This calculator is a simple approach to IV calculation. You need to input the base stats, level and current stats of your pokémon, along with the nature. If you don't input EVs, they'll considered 0.</p>
<!-- I'll need every stat, level, EVs -->
<div id="parameters">
<form id="ivCalc">
<fieldset>
<legend>Parameters</legend>

hardy
docile
serious
bashful
quirky
lonely
adamant
naughty
brave
bold
impish
lax
relaxed
timid
hasty
jolly
naive
modest
mild
rash
quiet
calm
gentle
careful
sassy

</fieldset>

<fieldset>
<legend>Stats</legend>
</fieldset>
</form>
</div>

<script type="text/javascript" src="lib/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="src/ivcalc.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/ivcalc.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ var natures = (function () {
increase: "spd",
decrease: "atk"
},
hasty {
hasty: {
increase: "spd",
decrease: "def"
},
jolly {
jolly: {
increase: "spd",
decrease: "spatk"
},
Expand Down

0 comments on commit a8b821d

Please sign in to comment.