User File #31589376833395813

Upload All User Files

#31589376833395813 - Final Fantasy VI (J) - event pointer lua

ff6_lsnes_printglitch_jap.lua
1084 downloads
Uploaded 6/14/2016 2:51 PM by keylie (see all 119)
Prints the value of $630 that will be used as the returned event pointer
check=function()

v1=memory2.WRAM:read(0x630)
v2=memory2.WRAM:read(0x631)
v3=memory2.WRAM:read(0x632)

vstring=string.format("%2x%2x%2x",v3,v2,v1)

print(vstring)
end

memory2.ROM:registerexec(0x00B80C, check)