1
Maps In Progress / Diamond Rush
« on: April 01, 2017, 08:48:03 am »
This was started 2 years ago, but making such maps is somewhat hard, so I got bored quickly. But here are the 4 maps that I completed back then.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
-- feos, 2012, for Gens-rr
-- Sonic position hacking for mapping levels
-- May be recorded to emulator movie
emu.registerbefore(function()
keys = input.get()
buttons = joypad.get()
-- Uncomment that if you use Sonic 1
--xAddress, yAddress = 0xFFD008, 0xFFD00C
-- Uncomment that if you use Sonic 2
--xAddress, yAddress = 0xFFB008, 0xFFB00C
-- Uncomment that if you use Sonic 3 & Knuckles
--xAddress, yAddress = 0xFFB010, 0xFFB014
memory.writebyte(0xFFFE25, 50)
x = memory.readword(xAddress)
y = memory.readword(yAddress)
if buttons.X then memory.writeword(xAddress, x-3) end -- Right
if buttons.Z then memory.writeword(xAddress, x+3) end -- Left
if buttons.mode then memory.writeword(yAddress, y-3) end -- Up
if buttons.Y then memory.writeword(yAddress, y+3) end -- Down
-- Color zero layer to pink
p, t=vdp.readpalette(3,1)
c=pal.getcolor(t[1],1)
c.R=255
c.G=0
c.B=255
c.A=255
pal.setcolor(t[1],1,c)
vdp.writepalette(3,t[1])
end)