https://drive.google.com/folderview?id=0B-2O13fpsnI4aWNBZzlxYUtOa1E&usp=sharing
All maps are done now. This also includes the original GIMP .xcf files for unlabeled maps.
Also here's a code for changing card deck on the fly as well as displaying how many cards you have:
Download carddisplay.luaLanguage: lua
memory.usememorydomain("WRAM")
--function for checking an input with how many frames to delay
function inputdelay(inputs, delay)
local is = input.get()
local start = false
if inputs ~= nil and (is[tostring(inputs)] ~=nil) then
--console.log(is) --debugging
while (delay > 0) do
emu.frameadvance()
delay = delay -1
end
start = true
return start
end
return start
end
local Deck = {'Gregory the Swarmy','Justus Pilliwickle','Merwyn the Malicious','Gulliver Pokeby'}
while true do
local CardAmount = 0
local CardUnique = 0 --Unique types; should be 101 total
local is = input.get()
local DeckID = memory.readbyte(0x0E03) -- Which deck for names
for i = 0x650A, 0x656E, 1 do
CardAmount = CardAmount + memory.readbyte(i)
if memory.readbyte(i) ~= 0 then
CardUnique = CardUnique + 1
end
end
gui.text(0,90,'Deck: '..Deck[(DeckID+1)%5]) --just in case it goes out of bounds; plus 1 since game is 0 indexed
gui.text(0,105,'Cards: '..CardAmount..', Unique: ('..CardUnique..' / 101)')
--[[display order for interface is
Justus Pilliwickle, Gulliver Pokeby, Gregory the Swarmy, Merwyn the Malicious
which is not the same as index
]]--
if inputdelay("C",30) then
memory.writebyte(0x0E03,(DeckID-1)%4) --% to prevent underflow
elseif inputdelay("V",30) then
memory.writebyte(0x0E03,(DeckID+1)%4) --% to prevent overflow
end
emu.frameadvance()
end
Please point out mistakes if any.