Boomerang quest updated.

This commit is contained in:
Storm Dragon
2026-02-14 02:04:09 -05:00
parent dc23ddabb2
commit c6e3036ced
2 changed files with 10 additions and 4 deletions

View File

@@ -432,11 +432,10 @@ void run_game()
{
int old_x = x;
// Check if trying to move left/right while in tree (not in mountain)
MountainRange@ current_mountain = get_mountain_at(x);
// Check if trying to move left/right while in a tree.
Tree@ current_tree = get_tree_at(x);
int ground_elevation = get_mountain_elevation_at(x);
if((left_active || right_active) && y > ground_elevation && !jumping && !falling && !rope_climbing && current_mountain is null && current_tree !is null) {
if((left_active || right_active) && y > ground_elevation && !jumping && !falling && !rope_climbing && current_tree !is null) {
// Fall out of tree
climbing = false;
start_falling();