Download deckdump.luaLanguage: lua
Max = 255;
printcards =true;
Cards = {"Geezard","Funguar","BiteBug","RedBat","Blobra","Gayla","Gesper","Fastitocalon-F","BloodSoul","Caterchipillar","Cockatrice",
"Grat","Buel","Mesmerize","GlacialEye","Belhelmel","Thrustaevis","Anacondaur","Creeps","Grendel","Jelleye","GrandMantis","Forbidden",
"Armadodo","Tri-Face","Fastitocalon","SnowLion","Ochu","SAM08G","DeathClaw","Cactuar","Tonberry","AbyssWorm","Turtapod","Vysage","T-Rexaur",
"Bomb","Blitz","Wendigo","Torama","Imp","BlueDragon","Adamantoise","Hexadragon","IronGiant","Behemoth","Chimera","PuPu","Elastoid","GIM47N",
"Malboro","RubyDragon","Elnoyle","TonberryKing","Wedge,Biggs","Fuujin,Raijin","Elvoret","X-ATM092","Granaldo","Gerogero","Iguion","Abadon",
"Trauma","Oilboyle","ShumiTribe","Krysta","Propagator","JumboCactuar","Tri-Point","Gargantua","MobileType8","Sphinxara","Tiamat","BGH251F2",
"RedGiant","Catoblepas","UltimaWeapon","ChubbyChocobo","Angelo","Gilgamesh","MiniMog","Chicobo","Quezacotl","Shiva","Ifrit","Siren","Sacred",
"Minotaur","Carbuncle","Diablos","Leviathan","Odin","Pandemona","Cerberus","Alexander","Phoenix","Bahamut","Doomtrain","Eden","Ward","Kiros",
"Laguna","Selphie","Quistis","Irvine","Zell","Rinoa","Edea","Seifer","Squall"};
X = savestate.create();
savestate.save(X);
pass = false;
c = 0;
while not pass do
savestate.load(X);
for i = 0,c,1 do
emu.frameadvance()
end;
joypad.set(1,{["x"]=true})
for i = 0,20,1 do
emu.frameadvance()
end;
if printcards then
print(string.format("%s %s %s %s %s", Cards[memory.readbyte(0x001A2C48)+1], Cards[memory.readbyte(0x001A2C49)+1],
Cards[memory.readbyte(0x001A2C4A)+1], Cards[memory.readbyte(0x001A2C4B)+1], Cards[memory.readbyte(0x001A2C4C)+1]));
else
print(string.format("%d %d %d %d %d", memory.readbyte(0x001A2C48), memory.readbyte(0x001A2C49), memory.readbyte(0x001A2C4A), memory.readbyte(0x001A2C4B),memory.readbyte(0x001A2C4C)));
end;
if c >= Max then
pass = true;
end;
c = c + 1;
end;