2 * This program is free software: you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation, either version 3 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
29 proc: game_jump_animation
30 locals: .ptr, .dx, .dy
31 set [spr_num], PSPR_JUMPING
32 set [.ptr], prof_jump_coords
49 set [spr_num], PSPR_STANDING
52 add [pos_x], [prof_dir]
56 ; returns only on succesfull landing
59 endp: game_jump_animation
63 bsr prof_allowed_move_in_dir
67 bsr game_do_down_brick
68 bsr game_jump_animation
70 bsr game_check_do_slide