Skip to content

Commit

Permalink
Fix "Text Draw Speed 4" when using "Set Text Animation Speed"
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Jul 29, 2024
1 parent 1f566df commit a1e084c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix spell check to use chosen application language where possible
- Fix stack error preventing use of rnd() within "if" statements
- Fix 'wait for input' text code responsiveness when using slower text speeds
- Fix "Text Draw Speed 4" when using "Set Text Animation Speed"

## [4.0.1] - 2024-07-22

Expand Down
2 changes: 1 addition & 1 deletion src/lib/compiler/scriptBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3523,7 +3523,7 @@ extern void __mute_mask_${symbol};
) => {
this._addComment("Text Set Animation Speed");
this._setConstMemInt8("text_ff_joypad", allowFastForward ? 1 : 0);
this._setConstMemInt8("text_draw_speed", textSpeedDec(textSpeed));
this._setConstMemInt8("text_draw_speed", textSpeed);
this._setConstMemInt8("text_out_speed", speedOut);
this._setConstMemInt8("text_in_speed", speedIn);
this._addNL();
Expand Down

0 comments on commit a1e084c

Please sign in to comment.