Created
August 12, 2015 23:19
-
-
Save TurbulentEddie/1edcef990424bffff808 to your computer and use it in GitHub Desktop.
Why THQ, why? (Use on Rocky and Bullwinkle)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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