452 @verb #3838:"draw_special" this none this rxdo #3135 @program #3838:"draw_special" this none this t = this:has_tick(player) tm = t.maze_layout[t.cur_sq[1]][t.cur_sq[2]] if (index(tm, t.start_l) && index(tm, tostr(t.dir))) args[1] = this:draw_str(this.start, args[1]) endif if (index(tm, t.end_l) && index(tm, tostr(t.dir))) args[1] = this:draw_str(this.exit, args[1]) endif if (index(tm, tostr((t.dir - 5) % 4 + 4))) args[1] = this:draw(this.left_star, args[1]) endif if (index(tm, tostr(t.dir % 4 + 1))) args[1] = this:draw(this.right_star, args[1]) endif if (!(this:wall_ahead(tm) || this:exit_ahead(tm) || this:enter_ahead(tm))) csq = {t.cur_sq[1] + t.movement[t.dir][1], t.cur_sq[2] + t.movement[t.dir][2]} tm = t.maze_layout[csq[1]][csq[2]] if (index(tm, tostr((t.dir - 5) % 4 + 4))) args[1] = this:draw(this.fwd_left_star, args[1]) endif if (index(tm, tostr(t.dir % 4 + 1))) args[1] = this:draw(this.fwd_right_star, args[1]) endif if (index(tm, tostr(t.dir))) args[1] = this:draw(this.fwd_star, args[1]) endif endif return args[1] . 0