Post subject: Atomic Robo-Kid
Editor, Expert player (2479)
Joined: 4/8/2005
Posts: 1573
Location: Gone for a year, just for varietyyyyyyyyy!!
Surprisingly, a good game for TASing. Requires some luck manipulation for item drops and even glitching through walls. Here are a couple of levels done: http://dehacked.2y.net/microstorage.php/info/235187198/atomic29.gmv Here's level 2 improved by going through a wall, but it can probably be improved further: http://dehacked.2y.net/microstorage.php/info/1914543429/atomic30.gmv Here's some Lua:
gui.register( function ()
	
	screenx = memory.readword(0xff8046)
	screeny = memory.readword(0xff804a)
	playerx = memory.readword(0xff83b2)
	playery = memory.readword(0xff83b8)
	velocityx = memory.readbytesigned(0xff83d1)
	velocityy = memory.readbytesigned(0xff83d3)

	-- Screen X-position 
	message3 = string.format("x:%d", screenx) 
	gui.text(128, 128, message3, "blue", "black") 
	
	--Screen Y-position
	message4 = string.format("y:%d", screeny) 
	gui.text(128, 144, message4, "blue", "black")

	-- Player X-position relative to the screen
	message5 = string.format("x:%d", playerx) 
	gui.text(152, 128, message5, "green", "black") 

	-- Player Y-position relative to the screen
	message6 = string.format("y:%d", playery) 
	gui.text(152, 144, message6, "green", "black") 

	-- Player X-axis velocity
	message7 = string.format("%d", velocityx)
	gui.text(152, 114, message7/16, "red", "black")

	-- Player Y-axis velocity
	message8 = string.format("%d", velocityy)
	gui.text(152, 106, message8/16, "red", "black") 

end)


-- BOSS1 TURRET MONITOR
gens.registerafter(function()
	if gens.framecount() > 2600 and
	gens.framecount() < 3100 then
	bosshp = memory.readbyte(0xff8895)
	message9 = string.format("BOSS:%d", bosshp)
	gui.text(128, 92, message9, "white", "black")
		turret1 = memory.readword(0xff8f0a) 
		turret2 = memory.readword(0xff8f6a)
			if turret1 == 0 then
			message10 = string.format("1ST TURRET DESTROYED!")
			gui.text(128, 100, message10, "white", "black")
			end
			if turret2 == 0 then
			message11 = string.format("2ND TURRET DESTROYED!")
			gui.text(128, 100, message11, "white", "black")
			end
	end
end)
I'm probably not continuing it, so feel free to grab it and finish it!