Skip to content

Instantly share code, notes, and snippets.

TurbulentEddie

Block or report user

Report or block TurbulentEddie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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;
@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);
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
You can’t perform that action at this time.