Skip to content

Instantly share code, notes, and snippets.

@kanzure
Created March 1, 2013 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kanzure/5061452 to your computer and use it in GitHub Desktop.
Save kanzure/5061452 to your computer and use it in GitHub Desktop.
vba-tilemap
import vba
vba.load_rom()
vba.set_state(vba.load_state("talking-with-npc"))
vba.step()
tiles = vba.get_memory_range(0xc4a0, 1000)
from chars import chars
output = ""
for each in tiles:
if each in chars.keys():
output += chars[each]
print output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment