1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-20 04:32:50 +00:00

fix Yes/No animation

This commit is contained in:
dawnDus 2022-01-01 17:20:06 -05:00
parent 75e05c5ca5
commit 9b4fd7d1a0

View file

@ -542,7 +542,7 @@ impl GameScene {
if let TextScriptExecutionState::WaitConfirmation(_, _, _, wait, selection) = state.textscript_vm.state { if let TextScriptExecutionState::WaitConfirmation(_, _, _, wait, selection) = state.textscript_vm.state {
let pos_y = if wait > 14 { let pos_y = if wait > 14 {
state.canvas_size.1 - off_bottom - 96.0 - (wait as f32 + 2.0) * 4.0 state.canvas_size.1 - off_bottom - 96.0 + (wait as f32 + 2.0)
} else { } else {
state.canvas_size.1 - off_bottom - 96.0 state.canvas_size.1 - off_bottom - 96.0
}; };