Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Super Street Fighter II: The New Challengers (Genesis)/RAM map: Difference between revisions
Jump to navigation
Jump to search
Mariofan2468 (talk | contribs) (lua) |
Mariofan2468 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
snes9x Lua "Clumsy Shits" | snes9x Lua "Clumsy Shits" | ||
while(true) do | |||
if math.random() < 0.004 then | |||
memory.writebyte(0x7E0530, 0); --P1 trip | |||
if math.random() < 0.05 then | |||
memory.writebyte(0x7E0531, -1); --P1 death | |||
memory.writebyte(0x7E0636, 0); --P1 death | |||
end; | |||
end; | |||
if math.random() < 0.004 then | |||
memory.writebyte(0x7E0770, 0); --P2 trip | |||
if math.random() < 0.05 then | |||
memory.writebyte(0x7E0771, -1); --P2 death | |||
memory.writebyte(0x7E0876, 0); --P2 death | |||
end; | |||
end; | |||
emu.frameadvance(); | |||
end; |
Revision as of 21:05, 24 November 2018
snes9x Lua "Clumsy Shits"
while(true) do if math.random() < 0.004 then memory.writebyte(0x7E0530, 0); --P1 trip if math.random() < 0.05 then memory.writebyte(0x7E0531, -1); --P1 death memory.writebyte(0x7E0636, 0); --P1 death end; end; if math.random() < 0.004 then memory.writebyte(0x7E0770, 0); --P2 trip if math.random() < 0.05 then memory.writebyte(0x7E0771, -1); --P2 death memory.writebyte(0x7E0876, 0); --P2 death end; end; emu.frameadvance(); end;