Skip to content

Instantly share code, notes, and snippets.

TurbulentEddie

View GitHub Profile
View nes_open_random_mode.lua
-- NES Open Random Mode
-- Written by Turbulent Eddie
----------------------------
------- Set options --------
----------------------------
randomize_aim = false; -- randomize aiming cursor
randomize_wind_speed = true; -- randomize wind speed
randomize_wind_dir = true; -- randomize wind direction
@TurbulentEddie
TurbulentEddie / rockyyyyyyy.lua
Created Aug 12, 2015
Why THQ, why? (Use on Rocky and Bullwinkle)
View rockyyyyyyy.lua
-- 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);
@TurbulentEddie
TurbulentEddie / nes_open_hardmode.lua
Created Aug 11, 2015
Add some extra RNG to your NES Open experience.
View nes_open_hardmode.lua
-- NES Open Hard Mode
-- Written by Turbulent Eddie
-- Randomly adjusts the aim, wind speed, and wind direction every few frames
-- Set the RAM pointers
pntrs = {};
pntrs['aim'] = 0x00B7;
pntrs['u_dir'] = 0x0096;
pntrs['u_mag'] = 0x0097;
pntrs['power'] = 0x00D6;
You can’t perform that action at this time.