/ speed correction
hero-sx * .75
if triged <> 1
hero-sy + .25
end if
if triged = 1
hero-sy * .75
end if
if hero-sx < -5
hero-sx = -5
end if
if hero-sx > 5
hero-sx = 5
end if
if hero-sy < -4
hero-sy = -4
end if
if hero-sy > 3
hero-sy = 3
end if