hit tracker

Bravely Default--Revisited

Discussion in 'Game Cheat Codes Discussion' started by guymelef, Jun 16, 2016.

  1. 908
    79
    28
    guymelef

    guymelef Loyal Member

    Joined:
    Dec 17, 2013
    Since I still haven't found another 3DS game that interests me, I decided to go back to BD and get it to where I have Bravely Second. I am building on the experience and tools from my work with Bravely Second. Still more to come; hopefully.

    Code:
    <!DOCTYPE html>
    <html>
        <!--
        Use this as you will. 
        Don't make any money off of this work, or I will come after you.  
        Try and drop my name if possible; Guymelef.
        -->
        <head>
            <title>guymelef's BS</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <style type="text/css">
                .wrapper {
                    width: 500px;
                    margin: auto;
                    padding: 10px;
                }
                .first {
                    width: 50%;
                    float: left;
                }
                .second {
                    margin-left: 15%;
                }
                #itemcount{
                    width: 100%;
                    margin: 0 auto 0 auto;
                    text-align: center;
                }
            </style>
        </head>
        <body>
            <div class="wrapper" >
                <div id="itemcount"></div>
            </div>
            <div class="wrapper">
                <div id="counter" class="first"></div>
                <div id='counterloop' class="second"></div>
            </div>
            <div class="wrapper">
                <div id="linearBtnDiv" class="first">
                   <button id="linearBtn" onClick="CopyHTMLToClipboard('display');">
                        Select And Copy To Clipboard
                   </button>
                  </div>
                <div id="loopBtnDiv" class="second"> 
                  <button id="loopBtn" onClick="CopyHTMLToClipboard('displayloop');">
                      Select And Copy To Clipboard
                  </button>
                </div>
            </div>
            <div class="wrapper">
                <div id="display" class="first"></div>
                <div id="displayloop" class="second"></div>
            </div>
    
    
            <script type='text/javascript'>
                var addressStart = "080895c0";
                var quantity = "00000062";
                var maxQuantity = "00000063";
                var minQuantity = "00000001";
                var quantityStepping = false;
                var textHolder = "";
                var output = document.getElementById("display");
                var outputloop = document.getElementById("displayloop");
                var lineCount = document.getElementById("counter");
                var lineCountLoop = document.getElementById("counterloop");
                var doGrouping = false;
                var groupQuantity = 25;
                var groupTitle = "Item Set";
                if (!doGrouping) {
                    output.innerHTML = "[items]<br/>";
                }
                function generateCustomItemList() {
                    arraySort();
                    var address = addressStart;
                    for (var i = 0; i < itemlist.length; i++) {
                        textHolder = "";
                        if (doGrouping && i % groupQuantity === 0) {
                            textHolder = "[" + groupTitle + i + "]" + "<br/>";
                        }
                        textHolder = textHolder + address +
                                " " + itemlist[i] + "<br/>";
                        address = addHex(address, 4);
                        textHolder = textHolder + address +
                                " " + quantity + "<br/>";
                        address = addHex(address, 4);
                        if (quantityStepping) {
                            if (quantity === maxQuantity) {
                                quantity = minQuantity;
                            } else {
                                quantity = addHex(quantity, 1);
                            }
                        }
                        output.innerHTML =
                                output.innerHTML + textHolder.toUpperCase();
                    }
                    lineCount.innerHTML =
                            output.getElementsByTagName('br').length - 1 + " Lines";
                }
                function generateCustomItemListLoop() {
                    var address = addressStart;
                    arraySort();
                    var previous = "00000000";
                    var count = "00000000";
                    outputloop.innerHTML = "[items loops]<br/>" +
                            "D3000000 " + address + "<br/>";
                    for (var i = 0; i < itemlist.length; i++) {
                        if (itemlist[i] !== addHex(previous, 1)) {
                            if (previous !== "00000000") {
                                if (count !== "00000000") {
                                    outputloop.innerHTML = outputloop.innerHTML +
                                            "C0000000 " + addHex(count, 1) +
                                            "<br/>" +
                                            "D6000000 00000000 <br/>" +
                                            "D4000000 00000001 <br/>" +
                                            "00000000 " + quantity + " <br/>" +
                                            "DC000000 00000004 <br/>" +
                                            "D1000000 00000000 <br/>" +
                                            "D5000000 " + itemlist[i] + "<br/>";
    
    
                                } else {
                                    outputloop.innerHTML = outputloop.innerHTML +
                                            "D6000000 00000000 <br/>" +
                                            "D4000000 00000001 <br/>" +
                                            "00000000 " + quantity + " <br/>" +
                                            "DC000000 00000004 <br/>" +
                                            "D5000000 " + itemlist[i] + "<br/>";
    
    
                                }
                            } else {
                                outputloop.innerHTML = outputloop.innerHTML +
                                        "D5000000 " + itemlist[i] + "<br/>";
                            }
                            count = "00000000";
                        } else {
                            count = addHex(count, 1);
                        }
                        previous = itemlist[i];
                    }
                    if (count !== "00000000") {
                        outputloop.innerHTML = outputloop.innerHTML +
                                "C0000000 " + addHex(count, 1) + "<br/>" +
                                "D6000000 00000000 <br/>" +
                                "D4000000 00000001 <br/>" +
                                "00000000 " + quantity + " <br/>" +
                                "DC000000 00000004 <br/>" +
                                "D1000000 00000000 <br/>" +
                                "D2000000 00000000 <br/>";
                    } else {
                        outputloop.innerHTML = outputloop.innerHTML +
                                "D6000000 00000000 <br/>" +
                                "D4000000 00000001 <br/>" +
                                "00000000 " + quantity + " <br/>" +
                                "DC000000 00000004 <br/>" +
                                "D2000000 00000000 <br/>";
                    }
                    lineCountLoop.innerHTML =
                            outputloop.getElementsByTagName('br').length - 1 +
                            " Lines";
    
    
                }
                //stolen from stackoverflow
                function addHex(c1, c2) {
                    var hexStr = (parseInt(c1, 16) + parseInt(c2, 16)).toString(16);
                    while (hexStr.length < 8) {
                        hexStr = '0' + hexStr;
                    } // Zero pad.
                    return hexStr.toUpperCase();
                }
                /**
                 * Sorts the itemlist so cheat loops can be
                 * more effictively utilized.
                 * @returns {nothing}
                 */
                function arraySort() {
                    itemlist.sort(function (hex1, hex2) {
                        return parseInt(hex1, 16) - parseInt(hex2, 16)
                    });
                }
    
    
                //stolen from stackoverflow
                function CopyHTMLToClipboard(divId) {
                    //Before we copy, we are going to select the text.
                    var text = document.getElementById(divId);
                    var selection = window.getSelection();
                    var range = document.createRange();
                    range.selectNodeContents(text);
                    selection.removeAllRanges();
                    selection.addRange(range);
                    //add to clipboard.
                    document.execCommand('copy');
                }
                /**
                 * Fill this with what you want.
                 * Don't forget to set the starting address especially if you're
                 * adding to an existing inventory.
                 * @type Array
                 */
                var itemlist = [
                ];
                var swords = [
                    "00002710", //Broadsword
                    "00002711", //Long Sword
                    "00002712", //Zweihander
                    "00002713", //Scimitar
                    "00002714", //Claymore
                    "00002715", //Defender
                    "00002716", //Mythril Sword
                    "00002717", //Flametongue
                    "00002718", //Ice Brand
                    "00002719", //Blood Blade
                    "0000271A", //Sleep Blade
                    "0000271B", //Rune Blade
                    "0000271C", //Excalibur
                    "0000271D", //Chaos Blade
                    "0000271E", //Durandal
                    "0000271F", //Night Emperor
                    "00002720", //Silver Sword,not in list
                    "00002721", //Golden Sword,not in list
                    "00002722", //Soaring V Blade,not in list, debug weak
                    "00002723", //Sword of T, not in list, debug weak
                    "00002724", //Sword of R, not in list, debug weak
                ];
                var axes = [
                    "00002774", //Tomahawk
                    "00002775", //Mythril Axe
                    "00002776", //Viking Axe
                    "00002777", //War Axe
                    "00002778", //Heavy Axe
                    "00002779", //Flare Hatchet
                    "0000277A", //Death Axe
                    "0000277B", //Cross Axe
                    "0000277C", //Giant Axe
                    "0000277D", //Earthbreaker
                    "0000277E", //Grinder Axe
                    "0000277F", //Silver Axe
                    "00002780", //Golden Axe
                    "00002781", //Fox Tail
                    "00002782", //Labrys
                ];
                /*
                 * why bother?
                 "00002783", //Axe Dummy5
                 */
                var spears = [
                    "000027D8", //Spear
                    "000027D9", //Glaive
                    "000027DA", //Halberd
                    "000027DB", //Valkyrie Halberd
                    "000027DC", //Mythril Spear
                    "000027DD", //Holy Lance
                    "000027DE", //Cross Spear
                    "000027DF", //Crimson Spear
                    "000027E0", //Trident
                    "000027E1", //Longinus
                    "000027E2", //Gungnir
                    "000027E3", //Lu Bu's Spear
                    "000027E4", //Silver Lance
                    "000027E5", //Golden Spear
                    "000027E6", //Donnerschlag
                    "000027E7", //Silver Glaive
                ];
                var rodmace = [
                    "0000283C", //Rod
                    "0000283D", //Wizard's Rod
                    "0000283E", //Mythril Rod
                    "0000283F", //Rod of Fire
                    "00002840", //Rod of Ice
                    "00002841", //Demon's Rod
                    "00002842", //Lilith's Rod
                    "00002843", //Poison Rod
                    "00002844", //Wonder Rod
                    "00002845", //Mace
                    "00002846", //Battle Mace
                    "00002847", //Hammer Mace
                    "00002848", //Ogre's Club
                    "00002849", //Silver Rod
                    "0000284A", //Golden Rod
                ];
                /*
                 * why bother?
                 "0000284B", //Rod Dummy 3
                 "0000284C", //Rod Dummy 4
                 "0000284D", //Rod Dummy 5
                 */
                var staves = [
                    "000028A0", //Staff
                    "000028A1", //Mythril Staff
                    "000028A2", //Jade Crosier
                    "000028A3", //Staff of Life
                    "000028A4", //Gale Staff
                    "000028A5", //Yggdrasil Staff
                    "000028A6", //Sage's Staff
                    "000028A7", //Demon's Staff
                    "000028A8", //Oaken Pole
                    "000028A9", //Iron Pole
                    "000028AA", //Diamond Staff
                    "000028AB", //Simian Staff
                    "000028AC", //Silver Staff
                    "000028AD", //Golden Staff
                ];
                /*
                 * why bother?
                 "000028AE", //Staff Dummy 3
                 "000028AF", //Staff Dummy 4
                 "000028B0", //Staff Dummy 5
                 */
                var daggers = [
                    "00002904", //Dagger
                    "00002905", //Mage Masher
                    "00002906", //Kukri
                    "00002907", //Frenzy Dagger
                    "00002908", //Mythril Dagger
                    "00002909", //Orichal Dagger
                    "0000290A", //Main-Gauche
                    "0000290B", //Thief's Knife
                    "0000290C", //Ripper
                    "0000290D", //Assassin Dagger
                    "0000290E", //Gladius
                    "0000290F", //Kunai
                    "00002910", //Air Knife
                    "00002911", //Yatagarasu
                    "00002912", //Carving Knife
                    "00002913", //Silver Dagger
                    "00002914", //Golden Dagger
                    "00002915", //Falcon Knife
                    "00002916", //Magic Knife
                    "00002917", //Foxbite
                ];
                var bows = [
                    "00002968", //Birch Bow
                    "00002969", //Iron Bow
                    "0000296A", //Composite Bow,
                    "0000296B", //Ancient Bow
                    "0000296C", //Mythril Bow
                    "0000296D", //Aeolian Bow
                    "0000296E", //Gale Bow
                    "0000296F", //Killer Bow
                    "00002970", //Yoichi's Bow
                    "00002971", //Elven Bow
                    "00002972", //Artemis's Bow
                    "00002973", //Angel's Bow
                    "00002974", //Silver Bow
                    "00002975", //Golden Bow
                    "00002976", //Donnerjager
                ];
                /*
                 * why bother?
                 "00002977", //Bow Dummy 4
                 "00002978", //Bow Dummy 5
                 */
                var katanas = [
                    "000029CC", //Nodachi
                    "000029CD", //Osafune
                    "000029CE", //Kotetsu
                    "000029CF", //Kiku-Ichimonji
                    "000029D0", //Masamune
                    "000029D1", //Raikiri
                    "000029D2", //Muramasa
                    "000029D3", //Mutsu-no-Kami
                    "000029D4", //Ama-no-Murakumo
                    "000029D5", //Ise-no-Kami
                    "000029D6", //Silver Katana
                    "000029D7", //Golden Katana
                    "000029D8", //Katana of Victory
                ];
                /*
                 * why bother?
                 "000029D9", //Katana Dummy 4
                 "000029DA", //Katana Dummy 5
                 */
                var knuckles = [
                    "00002A30", //Iron Knuckles
                    "00002A31", //Spiked Knuckles
                    "00002A32", //Hammer Knuckles
                    "00002A33", //Mythril Knuckles
                    "00002A34", //Divine Fists
                    "00002A35", //Hadean Claws
                    "00002A36", //Toxic Claws
                    "00002A37", //Thumbing Claws
                    "00002A38", //Kaiser Knuckles
                    "00002A39", //Bastet Claws
                    "00002A3A", //Silver Knuckles
                    "00002A3B", //Golden Knuckles
                ];
                /*
                 * why bother?
                 "00002A3C", //Knuckle Dummy 3
                 "00002A3D", //Knuckle Dummy 4
                 "00002A3E", //Knuckle Dummy 5
                 
                 */
                var shields = [
                    "00004E20", //Buckler
                    "00004E21", //Round Shield
                    "00004E22", //Large Shield
                    "00004E23", //Spiked Shield
                    "00004E24", //Cross Shield
                    "00004E25", //Mythril Shield
                    "00004E26", //Adamant Shield
                    "00004E27", //Iceflame Shield
                    "00004E28", //Lustrous Shield
                    "00004E29", //Dark Shield
                    "00004E2A", //Blessed Shield
                    "00004E2B", //Aegis Shield
                    "00004E2C", //Bloddy Shield
                    "00004E2D", //Donnershutz
                ];
                var accesories1 = [
                    "00007530", //Bronze Gauntlets
                    "00007531", //Gauntlets
                    "00007532", //Mythril Gloves
                    "00007533", //Giant's Gloves
                    "00007534", //Adamant Gauntlets
                    "00007535", //Thief Gloves
                    "00007536", //Genji Gloves
                    "00007537", //Heike Gloves
                ];
                var accesories2 = [
                    "00007594", //Bronze Bangle
                    "00007595", //Iron Bangle
                    "00007596", //Mythril Bangle
                    "00007597", //Adamant Bangle
                    "00007598", //Power Bracers
                    "00007599", //Hyper Bracers
                    "0000759A", //Heart Ring
                    "0000759B", //Life Ring
                    "0000759C", //Amulet
                    "0000759D", //Soul of Thamasa
                    "0000759E", //Force Armlets
                    "0000759F", //Magic Armlets
                    "000075A0", //Hermes Sandals
                    "000075A1", //Hermes Shoes
                    "000075A2", //Artisan Gloves
                    "000075A3", //Dwarven Gloves
                    "000075A4", //Flame Charm
                    "000075A5", //Ice Charm
                    "000075A6", //Thunder Charm
                    "000075A7", //Wind Charm
                    "000075A8", //Earth Charm
                    "000075A9", //Light Charm
                    "000075AA", //Dark Charm
                    "000075AB", //Mage Shell
                    "000075AC", //Barrier Shroud
                    "000075AD", //Black Belt
                    "000075AE", //Star Pendant
                    "000075AF", //Silver Glasses
                    "000075B0", //White Cape
                    "000075B1", //Clothespin
                    "000075B2", //Earthing Rod
                    "000075B3", //Peace Ring
                    "000075B4", //Rebuff Locket
                    "000075B5", //Safety Ring
                    "000075B6", //Courage Ring
                    "000075B7", //Ward Bangle
                    "000075B8", //Taunt Bangle
                    "000075B9", //Growth Egg
                    "000075BA", //Golden Egg
                    "000075BB", //Red Muleta
                    "000075BC", //Smiley Badge
                    "000075BD", //Gale Hairpin
                    "000075BE", //Reflect Ring
                    "000075BF", //Alarm Earrings
                    "000075C0", //Venture Badge
                    "000075C1", //Normalizer
                ];
                /*
                 * why bother?
                 "000075C2", //Acc. Dummy 1
                 "000075C3", //Acc. Dummy 2
                 "000075C4", //Acc. Dummy 3
                 "000075C5", //Acc. Dummy 4
                 "000075C6", //Acc. Dummy 5
                 */
                var hats = [
                    "000075F8", //Leather Cap
                    "000075F9", //Feather Hat
                    "000075FA", //Tiger Mask
                    "000075FB", //Acorn Hat
                    "000075FC", //Headband
                    "000075FD", //Black Cowl
                    "000075FE", //Adamant Hat
                    "000075FF", //Red Cap
                    "00007600", //Ribbon
                    "00007601", //Royal Crown
                    "00007602", //Pointy hat
                    "00007603", //Tricorne
                    "00007604", //Cat-Ear Hood
                    "00007605", //Laurel Wreath
                    "00007606", //Mage's Hat
                    "00007607", //Holy Miter
                    "00007608", //Circlet
                    "00007609", //Lambent Hat
                    "0000760A", //Lamia's Tiara
                    "0000760B", //Gold Hairpin
                ];
                /*
                 * why bother?
                 "0000760C", //Hat Dummy 1
                 "0000760D", //Hat Dummy 2
                 "0000760E", //Hat Dummy 3
                 "0000760F", //Hat Dummy 4
                 "00007610", //Hat Dummy 5
                 */
                var helms = [
                    "0000765C", //Bronze Helm
                    "0000765D", //Iron Helm
                    "0000765E", //Mythril Helm
                    "0000765F", //Yggdrasil Helm
                    "00007660", //Orichalcum Helm
                    "00007661", //Adamant Helm
                    "00007662", //Genji Helm
                    "00007663", //Heike Helm
                    "00007664", //Crystal Helm
                ];
                /*
                 * why bother?
                 "00007665", //Helm Dummy 1
                 "00007666", //Helm Dummy 2
                 "00007667", //Helm Dummy 3
                 "00007668", //Helm Dummy 4
                 "00007669", //Helm Dummy 5
                 */
                var lightarmor = [
                    "000076C0", //Linen Cuirass
                    "000076C1", //Kenpo Gi
                    "000076C2", //Bronze Breastplate
                    "000076C3", //Mythril Plate
                    "000076C4", //Mirage Vest
                    "000076C5", //Power Sash
                    "000076C6", //Brigandine
                    "000076C7", //Viking Coat
                    "000076C8", //Adamant Vest
                    "000076C9", //Star Coslet
                    "000076CA", //Brave Suit
                    "000076CB", //Crystal Vest
                    "000076CC", //Hempen Tunic
                    "000076CD", //Silk Robe
                    "000076CE", //Tabby Suit
                    "000076CF", //Floral Robe
                    "000076D0", //Black Robe
                    "000076D1", //White Robe
                    "000076D2", //Gaia Gear
                    "000076D3", //Luminous Robe
                    "000076D4", //Rainbow Dress
                    "000076D5", //Lordly Robes
                ];
                var outfits1 = [
                    "000076D6", //Vestal Garb
                    "000076D7", //Bravo Bikini
                    "000076D8", //Onion Shirt
                    "000076D9", //Melodist's Shirt
                    "000076DA", //Knight's Tunic
                    "000076DB", //Edea's Garb
                    "000076DC", //Plain Tunic
                ];
                var heavyArmor = [
                    "00007724", //Leather Armor
                    "00007725", //Bronze Armor
                    "00007726", //Iron Armor
                    "00007727", //Mythril Armor
                    "00007728", //Yggdrasil Armor
                    "00007729", //Orichalcum Mail
                    "0000772A", //Adamant Armor
                    "0000772B", //Genji Armor
                    "0000772C", //Heike Armor
                    "0000772D", //Crystal Mail
                ];
                var outfits2 = [
                    "0000772E", //Dimensional Garb
                    "0000772F", //Bravo Bunny
                    "00007730", //Eastern War Garb
                    "00007731", //Cadet Uniform
                    "00007732", //Bravo Bikini, Another?
                ];
                var items1 = [
                    "00009C40", //Potion
                    "00009C41", //Ether
                    "00009C42", //Antidote
                    "00009C43", //Phoenix Down
                    "00009C44", //Remedy
                    "00009C45", //Eye Drops
                    "00009C46", //Echo Herbs
                    "00009C47", //Wakeup Bell
                    "00009C48", //Balsam
                    "00009C49", //Hi-Potion
                    "00009C4A", //X-Potion
                    "00009C4B", //Turbo Ether
                    "00009C4C", //Elixir
                    "00009C4D", //Megalixir
                    "00009C4E", //Teleport
                ];
                var attackItems = [
                    "00009C4F", //Bomb Fragment
                    "00009C50", //Bomb Arm
                    "00009C51", //Antarctic Wind
                    "00009C52", //Arctic Wind
                    "00009C53", //Zeus's Wrath
                    "00009C54", //Pantheon's Wrath
                    "00009C55", //Tengu Yawn
                    "00009C56", //Tengu Sneeze
                    "00009C57", //Earth Drum
                    "00009C58", //Earth Mallet
                    "00009C59", //Gold Hourglass
                    "00009C5A", //Stardust
                    "00009C5B", //Light Curtain
                    "00009C5C", //Lilith's Kiss
                    "00009C5D", //Bacchus's Wine
                ];
                var compoundItems = [
                    "00009C5E", //Beast Liver
                    "00009C5F", //Hard Scale
                    "00009C60", //Insect Antenna
                    "00009C61", //Monster Fiber
                    "00009C62", //Spirit Bone
                    "00009C63", //Demon Tail
                    "00009C64", //Dragon Fang
                    "00009C65", //Phlogiston
                    "00009C66", //Permacrystal
                    "00009C67", //Fairy Wing
                    "00009C68", //Fulmen Shard
                    "00009C69", //Desert Rose
                    "00009C6A", //Glitterbug
                    "00009C6B", //Dark Matter
                ];
    
    
                /**
                 * These are absolutely uselss and will do 
                 * no good except to take up inventory space.
                 * @type Array
                 */
                var compoundEDItems = [
                    "00009C72", //Cure Poison
                    "00009C73", //Resurrect
                    "00009C74", //Reincarnate
                    "00009C75", //Cure Blind
                    "00009C76", //Cure Silence
                    "00009C77", //Cure Sleep
                    "00009C78", //Cure Dread
                    "00009C79", //Water of Life
                    "00009C7A", //Font of Life
                    "00009C7B", //Rage Orb
                    "00009C7C", //Resist Poison
                    "00009C7D", //Resist Blind
                    "00009C7E", //Resist Silence
                    "00009C7F", //Resist Sleep
                    "00009C80", //Resist Dread
                    "00009C81", //Quarter Elixir
                    "00009C82", //Half Elixir
                    "00009C83", //Dry Ether
                    "00009C84", //Smelling Salts
                    "00009C85", //Beast Vim
                    "00009C86", //Aqua Vim
                    "00009C87", //Bug Vim
                    "00009C88", //Plant Vim
                    "00009C89", //Ghost Vim
                    "00009C8A", //Demon Vim
                    "00009C8B", //Dragon Vim
                    "00009C8C", //Beast Aura
                    "00009C8D", //Aqua Aura
                    "00009C8E", //Bug Aura
                    "00009C8F", //Plant Aura
                    "00009C90", //Ghost Aura
                    "00009C91", //Demon Aura
                    "00009C92", //Dragon Aura
                    "00009C93", //Beast Coat
                    "00009C94", //Aqua Coat
                    "00009C95", //Bug Coat
                    "00009C96", //Plant Coat
                    "00009C97", //Ghost Coat
                    "00009C98", //Demon Coat
                    "00009C99", //Dragon Coat
                    "00009C9A", //Beast Soul
                    "00009C9B", //Aqua Soul
                    "00009C9C", //Bug Soul
                    "00009C9D", //Plant Soul
                    "00009C9E", //Ghost Soul
                    "00009C9F", //Demon Soul
                    "00009CA0", //Dragon Soul
                    "00009CA1", //Fire Bane
                    "00009CA2", //Water Bane
                    "00009CA3", //Wind Bane
                    "00009CA4", //Lightening Bane
                    "00009CA5", //Earth Bane
                    "00009CA6", //Light Bane
                    "00009CA7", //Dark Bane
                    "00009CA8", //Resist Fire
                    "00009CA9", //Resist Water
                    "00009CAA", //Resist Wind
                    "00009CAB", //Resist Lightning
                    "00009CAC", //Resist Earth
                    "00009CAD", //Resist Light
                    "00009CAE", //Resist Dark
                    "00009CAF", //Giant's Draft
                    "00009CB0", //Turtle Split
                    "00009CB1", //Haste Brew
                    "00009CB2", //Element Boost
                    "00009CB3", //Dark Breath
                    "00009CB4", //Shadowflare
                    "00009CB5", //Dragon Breath
                    "00009CB6", //Divine Rain
                    "00009CB7", //Dark Sigh
                ];
                var items2 = [
                    "00009CB8", //Small BP Drink
                    "00009CB9", //Medium BP Drink
                    "00009CBA", //Large BP Drink
                    "00009CBB", //Unearthly Bun
                ];
                /*
                 * No need for these unless you want
                 * 
                 "00009CBC", //SP drink ticket, dummy no value
                 "00009CBD", //Consm. Dummy 2
                 "00009CBE", //Consm. Dummy 3
                 "00009CBF", //Consm. Dummy 4
                 "00009CC0", //Consm. Dummy 5
                 */
                var justskipthesedumbassrepeats = [
                    "00009CC1", //Potion???????
                    "00009CC2", //Ethier???????                
                    "00009CC3", //Antidote?????
                    "00009CC4", //Phoenix Down?
                    "00009CC5", //Remedy???????
                    "00009CC6", //Eye Drops????
                    "00009CC7", //Echo Herbs???
                    "00009CC8", //Wakeup Bell??
                    "00009CC9", //Balsam???????
                    "00009CCA", //Hi-Potion????
                    "00009CCB", //X-Potion?????
                    "00009CCC", //Turbo Ether??                
                    "00009CCD", //Elixer???????
                    "00009CCE", //Megalixir????
                    "00009CCF", //Bomb Arm?????
                    "00009CD0", //Arctic Wind??
                    "00009CD1", //Pantheon's Wrath??
                    "00009CD2", //Tengu Sneeze?
                    "00009CD3", //Earth Mallet?
                ];
                var items3 = [
                    "00009CD4", //HP Booster Bun
                    "00009CD5", //MP Booster Bun
                    "00009CD6", //Strength Bun
                    "00009CD7", //Vitality Bun
                    "00009CD8", //Intelligence Bun
                    "00009CD9", //Mind Bun
                    "00009CDA", //Agility Bun                
                    "00009CDB", //Dexterity Bun
                ];
                /*
                 * If you didn't acquire these in the game,
                 * they will actually hinder you from obtaining
                 * them legitimately.
                 */
                var magics = [
                    "0000C350", //Cure
                    "0000C352", //Poisona
                    "0000C353", //Silence
                    "0000C354", //Protect
                    "0000C355", //Aero
                    "0000C356", //Cura
                    "0000C357", //Raise
                    "0000C359", //Aerora
                    "0000C35A", //Shell
                    "0000C35B", //Esuna
                    "0000C35C", //Curaga
                    "0000C35D", //Reflect
                    "0000C35E", //Aeroga
                    "0000C35F", //Arise
                    "0000C360", //Holy
                    "0000C361", //Dispel
                    "0000C362", //Blindna
                    "0000C363", //Curada
                    "0000C364", //Esunaga
                    "0000C3B4", //Fire
                    "0000C3B5", //Blizzard
                    "0000C3B6", //Thunder
                    "0000C3B7", //Poison
                    "0000C3B8", //Sleep
                    "0000C3B9", //Quake
                    "0000C3BA", //Fira
                    "0000C3BB", //Blizzara
                    "0000C3BC", //Thundara
                    "0000C3BD", //Drain
                    "0000C3BE", //Fear
                    "0000C3BF", //Quara
                    "0000C3C0", //Firaga
                    "0000C3C1", //Blizzaga
                    "0000C3C2", //Thundaga
                    "0000C3C4", //Death
                    "0000C3C5", //Quaga
                    "0000C3C6", //Aspir
                    "0000C3C7", //Dark
                    "0000C3C8", //Kill
                    "0000C418", //Slow
                    "0000C419", //Regen
                    "0000C41B", //Haste
                    "0000C41C", //Teleport
                    "0000C41E", //Gravity
                    "0000C41F", //Veil
                    "0000C420", //Slowga
                    "0000C421", //Hastega
                    "0000C422", //Veilga
                    "0000C423", //Comet
                    "0000C424", //Quicken
                    "0000C425", //Stop
                    "0000C427", //Graviga
                    "0000C428", //Reraise
                    "0000C429", //Meteor
                    "0000C42A", //Promethean Fire
                    "0000C42B", //Ziusudra's Sin
                    "0000C42C", //Girtablulu
                    "0000C42D", //Deus Ex
                    "0000C42E", //Hresvelgr
                    "0000C42F", //Susano-o
                ];
                /*
                 * If you didn't acquire the asterisks in the game,
                 * they will actually hinder you from obtaining
                 * them legitimately.
                 * 
                 * Best not to add things that you didn't acquire.
                 * Two notable exceptions though.
                 * 1. The Blue Key.
                 * 2. The Summoner Asterisk.
                 * 
                 * These will keep you from backtracking a little bit.
                 * Be warned however that you will need to change
                 * these to potions or something before you face the 
                 * summoner/obtain the key or you won't be able to 
                 * legitimately obtain the summoner job or 
                 * clear the quest book.
                 */
                var keyItemsAsterisks = [
                    "00015F90", //D'S JOURNAL
                    "00015F91", //STRANGE HOURGLASS
                    "00015F92", //RAINBOW THREAD
                    "00015F93", //AGNES'S PENDANT
                    "00015F94", //VESTAL GARB
                    "00015F95", //MERCHANTRY ORDERS
                    "00015F96", //MYSTERIOUS NOTE
                    "00015F97", //BRAVO BIKINI
                    "00015F98", //ORICHALCUM
                    "00015F99", //LEGENDARY BATON
                    "00015F9A", //ALTERNIS'S JOURNAL
                    "00015F9B", //FIRE KEYSTONE
                    "00015F9C", //WATER KEYSTONE
                    "00015F9D", //WIND KEYSTONE
                    "00015F9E", //EARTH KEYSTONE
                    "00015F9F", //LIGHT KEYSTONE
                    "00015FA0", //DARK KEYSTONE
                    "00015FA1", //CHEST KEY!!!!
                    "00015FA2", //KNIGHT ASTERISK
                    "00015FA3", //BLACK MAGE ASTERISK
                    "00015FA4", //WHITE MAGE ASTERISK
                    "00015FA5", //MONK ASTERISK
                    "00015FA6", //RANGER ASTERISK
                    "00015FA7", //NINJA ASTERISK
                    "00015FA8", //TIME MAGE ASTERISK
                    "00015FA9", //SPELL FENCER ASTERISK
                    "00015FAA", //SWORDMASTER ASTERISK
                    "00015FAB", //PIRATE ASTERISK
                    "00015FAC", //DARK KNIGHT ASTERISK
                    "00015FAD", //TEMPLAR ASTERISK
                    "00015FAE", //VAMPIRE ASTERISK
                    "00015FAF", //ARCANIST ASTERISK
                    "00015FB0", //SUMMONER ASTERISK!!!
                    "00015FB1", //CONJURER ASTERISK
                    "00015FB2", //VALYKYRIE ASTERISK
                    "00015FB3", //SPIRITMASTER ASTERISK
                    "00015FB4", //SALVE-MAKER ASTERISK
                    "00015FB5", //RED MAGE ASTERISK
                    "00015FB6", //THIEF ASTERISK
                    "00015FB7", //MERCHANT ASTERISK
                    "00015FB8", //PERFORMER ASTERISK
                    "00015FB9", //ADVENTURER'S MARK
                    "00015FBA", //KEY ITEM DUMMY 2
                    "00015FBB", //KEY ITEM DUMMY 3
                    "00015FBC", //KEY ITEM DUMMY 4
                    "00015FBD", //KEY ITEM DUMMY 5
                    "00015FBE", //KEY ITEM DUMMY 6
                    "00015FBF", //KEY ITEM DUMMY 7
                    "00015FC0", //KEY ITEM DUMMY 8
                    "00015FC1", //KEY ITEM DUMMY 9
                    "00015FC2", //KEY ITEM DUMMY 10
                ];
    
    
                //debug methods and easy gotos.
                function allArrays() {
                    itemlist = swords.concat(axes, spears, rodmace, staves, daggers,
                            bows, katanas, knuckles, shields, accesories1, accesories2,
                            hats, helms, lightarmor, outfits1, heavyArmor, outfits2, items1,
                            attackItems, compoundItems, items2, items3,
                            magics, keyItemsAsterisks);
                }
                function startingArray() {
                    itemlist = swords.concat(axes, spears, rodmace, staves, daggers,
                            bows, katanas, knuckles, shields, accesories1, accesories2,
                            hats, helms, lightarmor, outfits1, heavyArmor, outfits2,
                            items1, attackItems, compoundItems, items2,
                            items3);
                }
                function itemListTestBuildSort() {
                    itemlist = rodmace.concat(items1, axes, outfits1);
                    arraySort();
                    console.log(itemlist);
                }
                function testloop() {
                    allArrays();
                    generateCustomItemListLoop();
                }
                function newGameLoop() {
                    startingArray();
                    generateCustomItemListLoop();
                }
    
    
                function start() {
                    startingArray();
                    var itemcount = document.getElementById("itemcount");
                    itemcount.innerHTML = itemlist.length + " Items";
                    generateCustomItemList();
                    generateCustomItemListLoop();
    
    
                }
                start();
            </script>
        </body>
    </html>
    
    
    
    
    The inventory memory address seems to jump around a lot. Please use caution. These codes are only lightly tested. As in, I just tried them once.

    Code:
    [Have 98 if you have more than 0]
    D3000000 FIND WHERE YOUR INVENTORY QUANTITY STARTS //08080b94
    C0000000 000002BB
    80000000 00000000
    20000000 00000062
    D0000000 00000000
    DC000000 00000008
    D1000000 00000000
    [TIZ JOB POINTS]
    D3000000 FIND TIZ FREELANCER JOB POINTS //080A7FEC
    C0000000 00000018
    10000000 0000FFFF
    DC000000 0000026C
    D1000000 00000000
    D2000000 00000000
    [AGNES JOB POINTS]
    D3000000 FIND AGNES FREELANCER JOB POINTS //080ABED8
    C0000000 00000018
    10000000 0000FFFF
    DC000000 0000026C
    D1000000 00000000
    D2000000 00000000
    [RINGABEL JOB POINTS]
    D3000000 FIND RINGABEL FREELANCER JOB POINTS //080AFDC4
    C0000000 00000018
    10000000 0000FFFF
    DC000000 0000026C
    D1000000 00000000
    D2000000 00000000
    [EDEA JOB POINTS]
    D3000000 FIND EDEA FREELANCER JOB POINTS //080B3CB0
    C0000000 00000018
    10000000 0000FFFF
    DC000000 0000026C
    D1000000 00000000
    D2000000 00000000
    
    //this code won't work because we can't nest C0000000 iterators.
    //I've been thinking of other ways to tackle this one though.
    [EVERYBODY JOB POINTS ALL JOBS???UNTESTED]
    D3000000 FIND TIZ FREELANCER JOB POINTS //080A7FEC
    C0000000 00000004
    C0000000 00000018
    10000000 0000FFFF
    DC000000 0000026C
    D1000000 00000000
    DC000000 000004CC
    D1000000 00000000
    D2000000 00000000
    
     
    Last edited by a moderator: Jun 22, 2016
  2. 908
    79
    28
    guymelef

    guymelef Loyal Member

    Joined:
    Dec 17, 2013
    Updated!!!!!!
     
  3. 908
    79
    28
    guymelef

    guymelef Loyal Member

    Joined:
    Dec 17, 2013
    UGH. I can't find the codes for the bestiary or the encyclopedia item list. Can someone else look into to those for me? As it stands, I'll finish the magic list and be done with this. Hopefully I find another game worth playing.
     
  4. 908
    79
    28
    guymelef

    guymelef Loyal Member

    Joined:
    Dec 17, 2013
    Magic updated and some other fiddly-bits in the javascript. Fuck it I'm done. Well maybe. At some point before I die I might come back and start looking for pointers. Don't count on it.
     
  5. 908
    79
    28
    guymelef

    guymelef Loyal Member

    Joined:
    Dec 17, 2013
    bump for people looking for this. sorry for the necromancy
     

Share This Page