mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-10 21:17:43 +00:00
I misunderstood <FAC flags
This commit is contained in:
parent
e8337f14fb
commit
8973727b93
|
@ -465,8 +465,8 @@ impl GameScene {
|
|||
};
|
||||
let batch = state.texture_set.get_or_load_batch(ctx, &state.constants, tex_name)?;
|
||||
|
||||
// switch version uses +100 face offset to display a flipped version
|
||||
let flip = state.textscript_vm.face > 100;
|
||||
// switch version uses +1000 face offset to display a flipped version
|
||||
let flip = state.textscript_vm.face > 1000;
|
||||
let face_num = state.textscript_vm.face % 100;
|
||||
let (scale_x, scale_y) = batch.scale();
|
||||
|
||||
|
|
|
@ -103,8 +103,10 @@ pub enum OpCode {
|
|||
CLO,
|
||||
/// <CLR, Clears the text box
|
||||
CLR,
|
||||
/// <FACxxxx, Shows the face xxxx in text box, 0 to hide, add 100 to the
|
||||
/// number to display the face in opposite direction.
|
||||
/// <FACxxxx, Shows the face xxxx in text box, 0 to hide,
|
||||
/// CS+ Switch extensions:
|
||||
/// - add 0100 to display talking animation (requires faceanm.dat)
|
||||
/// - add 1000 to the number to display the face in opposite direction. (works on any CS, including freeware mods)
|
||||
FAC,
|
||||
/// <GITxxxx, Shows the item xxxx above text box, 0 to hide
|
||||
GIT,
|
||||
|
|
Loading…
Reference in a new issue