[Code] The Legend of Zelda-8bit
Page 1 of 1
[Code] The Legend of Zelda-8bit
IFX Arena Modification [rpgDelta Included]
- The Legend of Zelda 8bit edt
Leave Copywrite intact
Preview:
Weapon Shop
Item Shop
Character Display
Battle Begins
Code:
<Javascript>
<% BOARD HEADER %>
<% COPYRIGHT %>
- The Legend of Zelda 8bit edt
Leave Copywrite intact
Preview:
Weapon Shop
Item Shop
Character Display
Battle Begins
Code:
<Javascript>
<script type="text/javascript">
<!--
function currLocation()
{
alert(window.location)
}
function newLocation()
{
window.location="http://zX.invisionfree.com/Your Board/index.php?act=Msg&CODE=03"
}
var battleText="<center><font color=yellow>A T T A C K !!</font></center>"
frmAddress="http://zX.invisionfree.com/Your Board/"
frmBattle1="index.php?act=SR&f=##"
frmBattle2="index.php?act=SR&f=##"
frmFinale="index.php?act=SR&f=##"
imgURL="http://npx.np.funpic.org/xsrptx/zelda/"
var postNeeded=[]
postNeeded[1]="100"
postNeeded[2]="75"
postNeeded[3]="50"
postNeeded[4]="25"
postNeeded[5]="10"
postNeeded[6]="0"
var Character=[]
Character[1]="R2Link"
Character[2]="RLink"
Character[3]="B2Link"
Character[4]="BLink"
Character[5]="G2Link"
Character[6]="GLink"
//-->
</script>
<script>//create battle info
function createCookie(name, value, days){
if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*
60*1000)); var expires = "; expires="+date.toGMTString(); }
else var expires = "";document·cookie = name+"="+value+expires+"; path=/";}
function readCookie(name){ var ca = document·cookie.split(';'); var nameEQ
= name + "="; for(var i=0; i < ca.length; i++) {
var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1, c.length);if (
c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); }return
null;
}function eraseCookie(name){createCookie(name, "", -1);}
</script>
<% BOARD HEADER %>
<% NAVIGATION %>
<div id="rpgUserBar" style="display:none" class="tableborder"><div class="maintitle">Session EXP:</div><div class="tablepad" id="rpgUserDiv"></div></div><BR />
<% COPYRIGHT %>
<script type="text/javascript">
/*
RPG Delta v1.0.7
Created by iFusion
8bit Zelda Edit by Nemesis Prime
Now Playing X - 2005 [http://www.npx.net.tc]
*/
var urlBoard = "http://zX.invisionfree.com/Your Board Name/index.php"
var urlWeapons = "http://npx.np.funpic.org/xsrptx/zelda/"
var urlItems = "http://npx.np.funpic.org/xsrptx/zelda/"
var urlElements = "http://209.85.48.8/1882/184/emo/"
var urlGender = "http://209.85.48.8/1882/184/emo/"
var rpgWeapons = []
rpgWeapons[0] = [ "WoodenSword.gif" , "Basic Weapon" , "10" , "A Wooden Sword" , 0 ]
rpgWeapons[1] = [ "MagicalBoomerang.gif" , "Enhanced Weapon" , "100" , "Magical Boomerang" , 3 ]
rpgWeapons[2] = [ "WhiteSword.gif" , "Enhanced Sword" , "200" , "White Magical Sword" , 5 ]
rpgWeapons[3] = [ "MagicalRod.gif" , "Magical Weapon" , "400" , "Magical Silver Rod" , 7 ]
rpgWeapons[4] = [ "SilverArrow.gif" , "Enhanced Arrow" , "250" , "Silver Arrow" , 5 ]
rpgWeapons[5] = [ "MagicalSword.gif" , "Magical Weapon" , "500" , "Its blade is Enchanted" , 9 ]
var rpgElements = []
rpgElements[0] = [ "Fire" , "fireball.gif" ]
rpgElements[1] = [ "Water" , "splash.gif" ]
rpgElements[2] = [ "Ice" , "iceball.gif" ]
rpgElements[3] = [ "Freeze" , "breeze.gif" ]
rpgElements[4] = [ "Steel" , "steel.gif" ]
//h = heal, l = luck, t = trading (0 = very common, 1 = common, 2 = average, 3 = rare, 4 = super rare, 5 = ultra rare, 6 = fiendish)
var rpgItems = []
rpgItems[0] = [ "Bow.gif" , "Basic Item" , "50" , "A Wooden Bow" , "t:0" ]
rpgItems[1] = [ "Book_of_Magic.gif" , "Basic Item" , "100" , "A Book of Magic" , "t:0" ]
rpgItems[2] = [ "Letter.gif" , "Mystery Item" , "25" , "Its a Letter ?" , "t:0" ]
rpgItems[3] = [ "Recorder.gif" , "Magical Item" , "200" , "Plays a nice melody" , "l:40%" ]
rpgItems[4] = [ "2ndPotion.gif" , "Healing Item" , "1000" , "Partial Potion" , "h:40%" ]
rpgItems[5] = [ "LifePotion.gif" , "Healing Item" , "2000" , "Full Potion" , "h:60%" ]
rpgItems[6] = [ "BlueCandle.gif" , "Magical Item" , "3000" , "Candle with Blue Magic Flame" , "t:3" ]
rpgItems[7] = [ "MagicalShield.gif" , "Magical Sheild" , "4000" , "Enhanced Magical Sheild" , "l:40%" ]
rpgItems[8] = [ "PowerBracelet.gif" , "Magical Item" , "5000" , "Gives Extra Strength" , "t:4" ]
rpgItems[9] = [ "RedRing.gif" , "Magical Item" , "6000" , "Ring of Red Magic" , "t:3" ]
rpgItems[10] = [ "Triforce1.gif" , "Key Item" , "7000" , "TriFoce" , "h:70%" ]
rpgItems[11] = [ "Triforce2.gif" , "Key Item" , "9000" , "2nd TriForce" , "h:90%" ]
rpgItems[12] = [ "TriforceGround1.gif" , "Rare Item" , "50000" , "TriForce with Stand" , "t:5" ]
rpgItems[13] = [ "TriforceGround2.gif" , "Rare Item" , "100000" , "2nd TriForce with Stand" , "t:5" ]
function getStats() {
stats = [];
TheStats = [];
var HP = [2];STR = [3];MAG = [4];DEF = [5];Merchant = [0];Warrior = [1];Mage = [2];Paladin = [3];Knight = [4];Princess = [5];Moblin = [6];Goriya = [7];Fairy = [8];
TheStats[2] = [ [] * [] ]
TheStats[HP][Merchant] = [ parseInt(PostCount) ]
TheStats[HP][Warrior] = [ parseInt(PostCount) * (1/2) ]
TheStats[HP][Mage] = [ parseInt(PostCount) ]
TheStats[HP][Paladin] = [ parseInt(PostCount) * (3) ]
TheStats[HP][Knight] = [ parseInt(PostCount) * (7) ]
TheStats[HP][Princess] = [ paresInt(PostCount) ]
TheStats[HP][Moblin] = [ parseInt(PostCount) * (3) ]
TheStats[HP][Goriya] = [ parseInt(PostCount) * (7) ]
TheStats[HP][Fairy] = [ parseInt(PostCount) ]
TheStats[3] = [ [] * [] ]
TheStats[STR][Merchant] = [ parseInt(PostCount) * (7) ]
TheStats[STR][Warrior] = [ parseInt(PostCount) * (6) ]
TheStats[STR][Mage] = [ parseInt(PostCount) * (6) ]
TheStats[STR][Paladin] = [ parseInt(PostCount) * (7) ]
TheStats[STR][Knight] = [paresInt(PostCount) * (9) ]
TheStats[STR][Princess] = [ paresInt(PostCount) ]
TheStats[STR][Moblin] = [ parseInt(PostCount) * (5) ]
TheStats[STR][Goriya] = [ parseInt(PostCount) * (9) ]
TheStats[STR][Fairy] = [ parseInt(PostCount) ]
TheStats[4] = [ [] * [] ]
TheStats[MAG][Merchant] = [ parseInt(PostCount) * (3/2) ]
TheStats[MAG][Warrior] = [ parseInt(PostCount) * (2) ]
TheStats[MAG][Mage] = [ parseInt(PostCount) * (2) ]
TheStats[MAG][Paladin] = [ parseInt(PostCount)]
TheStats[MAG][Knight] = [ parseInt(PostCount) * (1/2) ]
TheStats[MAG][Princess] = [ paresInt(PostCount) ]
TheStats[MAG][Moblin] = [ parseInt(PostCount) * (3) ]
TheStats[MAG][Goriya] = [ parseInt(PostCount) * (7) ]
TheStats[MAG][Fairy] = [ parseInt(PostCount) * (9) ]
TheStats[5] = [ [] * [] ]
TheStats[DEF][Merchant] = [ parseInt(PostCount) * (3) ]
TheStats[DEF][Warrior] = [ parseInt(PostCount) * (7) ]
TheStats[DEF][Mage] = [ parseInt(PostCount) * (5) ]
TheStats[DEF][Paladin] = [ parseInt(PostCount) * (9) ]
TheStats[DEF][Knight] = [ parseInt(PostCount) * (9) ]
TheStats[DEF][Princess] = [ paresInt(PostCount) ]
TheStats[DEF][Moblin] = [ parseInt(PostCount) * (5) ]
TheStats[DEF][Goriya] = [ parseInt(PostCount) * (9) ]
TheStats[DEF][Fairy] = [ parseInt(PostCount) ]
for (i=0;i<TheStats.length;i++){
if (rpgChars==""){
stats[i]=TheStats[i][1]
} else {
stats[i]=TheStats[i][rpgChars]
}}
for (i=0;i<stats.length;i++){
if (parseInt(stats[i]) >= parseInt(RPGHigh)) { stats[i]=RPGHigh; }
if (parseInt(stats[i]) < 0 ) { stats[i]=0 }
}
return stats
}
var rpgChars = []
rpgChars[0] = [ "Merchant", "http://npx.np.funpic.org/xsrptx/zelda/Merchant.gif" ]
rpgChars[1] = [ "Warrior" , "http://npx.np.funpic.org/xsrptx/zelda/Warrior.gif" ]
rpgChars[2] = [ "Mage" , "http://npx.np.funpic.org/xsrptx/zelda/Mage.gif" ]
rpgChars[3] = [ "Paladin" , "http://npx.np.funpic.org/xsrptx/zelda/Paladin.gif" ]
rpgChars[4] = [ "Knight" , "http://npx.np.funpic.org/xsrptx/zelda/Knight.gif" ]
rpgChars[5] = [ "Princess" ,"http://npx.np.funpic.org/xsrptx/zelda/Zelda.gif" ]
rpgChars[6] = [ "Moblin","http://npx.np.funpic.org/xsrptx/zelda/Moblin.gif" ]
rpgChars[7] = [ "Goriya","http://npx.np.funpic.org/xsrptx/zelda/Goriya.gif" ]
rpgChars[8] = [ "Fairy","http://npx.np.funpic.org/xsrptx/zelda/Fairy.gif" ]
var rpgWeight = [ 8 , 3 , 4 , 6, 0 ]
var rpgCurrency = "£"
var rpgBar = "Y"
var topicMoney = "25"
var replyMoney = "15"
var order = [ 11, 'BR', 1, 'BR', 2, 3, 4, 5, 6, 'BR', 8, 7, 'BR', 9, 10, 12, 13, 14, 15 ]
var rpgFields = ["Session EXP" , "Name" , "HP" , "STR" , "MAG" , "DEF" , "EXP" , "Weapons" , "Items" , "Level" , "Gender" ,"Image" , "Element" , "Allignment" , "HomeTown" ,"Motto" ]
document.write('<script src="http://209.85.48.8/1882/184/upload/p9976781.ibf"><\/script>');
</script>
<script src="http://npx.np.funpic.org/xsrptx/Ppoints.js"></script>
Bad Wolf- Designer GFX
-
Level : 46
Number of posts : 3391
Location : Satellite V
Rank : 7
Experience : 3014
Registration Date : 2006-12-24
Cprofile
Title: The Digital Alchemist
Luck:
(588/588)
Karma:
(530/777)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum