Skip to content

Commit

Permalink
Fix character name
Browse files Browse the repository at this point in the history
Merge pull request #29 from haroldo-ok/fix-character-name

Due to a typo on the engine code, the selected character name wasn't being displayed, instead showing a fixed string. This was fixed.

Version number bumped to 0.2.5

This fixes #22
  • Loading branch information
haroldo-ok authored Jun 12, 2022
2 parents dfacda2 + 1bdb5d9 commit 93dba00
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 166 deletions.
2 changes: 1 addition & 1 deletion blockly/apps/blocklyduino/base-project/src/vn_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void vnText(char *text) {
bufferClear();
textToDisplay = bufferWrappedText(textToDisplay, 0, 0, MSG_COL_COUNT, MSG_LINE_COUNT);

ListBox(1, CHR_ROWS - MSG_LINE_COUNT - 4, MSG_COL_COUNT, MSG_LINE_COUNT + 2, "Character name", msgLines, MSG_LINE_COUNT);
ListBox(1, CHR_ROWS - MSG_LINE_COUNT - 4, MSG_COL_COUNT, MSG_LINE_COUNT + 2, characterName, msgLines, MSG_LINE_COUNT);

#ifdef __LYNX__
// Wait until the joystick button is pressed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BlocklyVN8bit",
"version": "0.2.4",
"version": "0.2.5",
"description": "Uses blockly to generate visual novels for 8bit-Unity",
"main": "main.js",
"scripts": {
Expand Down
Loading

0 comments on commit 93dba00

Please sign in to comment.