Started by nathmatt, April 08, 2009, 12:45:02 pm
class Game_Character def toward_event sx = @x - $game_events[$e_id].x sy = @y - $game_events[$e_id.y abs_sx = sx > 0 ? sx : -sx abs_sy = sy > 0 ? sy : -sy if sx + sy >= 20 move_random return end case rand(6) when 0..3 move_toward_event when 4 move_random when 5 move_forward end @move = [0, false] endend
Quote from: winkioI do not speak to bricks, either as individuals or in wall form.
Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.