override analog cam while left stick is active in deku flower

This commit is contained in:
thecozies 2024-05-29 10:30:08 -05:00 committed by Reonu
parent 7e1134dc17
commit fa8e10ac4c
1 changed files with 6 additions and 3 deletions

View File

@ -1884,8 +1884,11 @@ bool get_analog_cam_active() {
return analog_cam_active; return analog_cam_active;
} }
void set_analog_cam_active(bool is_active) { // Calling this will avoid analog cam taking over for the following game loop.
analog_cam_active = is_active; // E.g. using left stick inputs while in a deku flower taking priority over right stick.
void skip_analog_cam_once() {
analog_cam_skip_once = true;
analog_cam_active = false;
} }
// Calling this will avoid analog cam taking over for the following game loop. // Calling this will avoid analog cam taking over for the following game loop.