1
2
3
4
5
6
7
8
9
10
11
12
13
{
		name = 'Abra', health = 100, image = 'gfx/weiwen/pokemon/63.png', scalex = 2, scaley = 2,
		atk = 0.6, def = 1.0, spd = 5, atkspd = 10, x = 0, y = 0, ang = 0, imgang = 0, spawnchance = 20, runat = 100, spawn1 = {0, 0}, spawn2 = {150, 150},
		exp = 10, money = 100, loot = {{chance = 5000, id = 105}},
		spc = {2500, function(self)
			radiusmsg("Abra uses teleport!", self.x, self.y)
			parse("effect \"colorsmoke\" " .. self.x .. " " .. self.y .. " 5 5 255 255 255")
			local dir = math.random(math.pi*2)
			if self:move(dir, 40) or self:move(dir, -40) then
				parse("effect \"colorsmoke\" " .. self.x .. " " .. self.y .. " 5 5 255 255 255")
			end
		end},
},