Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Why THQ, why? (Use on Rocky and Bullwinkle)
-- put pointers to fun locations here
-- (I'm not convinced this is the only one)
pntrs = {0x051F};
val = math.random(1, 64);
while (true) do
if (emu.framecount() % 120 == 0) then
val = math.random(1, 64);
end
for key,pntr in pairs(pntrs) do
memory.writebyte(pntr, val);
end
emu.frameadvance();
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.