Skip to content

Commit 4adee11

Browse files
committed
refactor: fixed readability issues with some code.
1 parent c159ee7 commit 4adee11

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

RS_MessageSystem.js

+8-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//================================================================
99
/*:
1010
* RS_MessageSystem.js
11-
* @plugindesc (v0.1.8) Hangul Message System <RS_MessageSystem>
11+
* @plugindesc (v0.1.9) Hangul Message System <RS_MessageSystem>
1212
* @author biud436
1313
*
1414
* @param Font Size
@@ -671,7 +671,7 @@
671671
* ======================================================================================================
672672
* Change Log
673673
* =======================================================================================================
674-
* 2024.03.09 (v0.1.8) :
674+
* 2024.03.09 (v0.1.9) :
675675
* - Fixed readability issues with some code.
676676
* 2024.01.16 (v0.1.7) :
677677
* - fixed the issue that is not compatible with SRD_TranslationEngine.js
@@ -767,7 +767,7 @@
767767
*/
768768
/*:ko
769769
* RS_MessageSystem.js
770-
* @plugindesc (v0.1.8) 한글 메시지 시스템 <RS_MessageSystem>
770+
* @plugindesc (v0.1.9) 한글 메시지 시스템 <RS_MessageSystem>
771771
* @author 러닝은빛(biud436)
772772
*
773773
* @param 글꼴 크기
@@ -1446,8 +1446,8 @@
14461446
* =============================================================================
14471447
* 버전 로그(Version Log)
14481448
* =============================================================================
1449-
* 2024.03.09 (v0.1.8) :
1450-
* - 선택지를 기본 스타일로 초기화 할 때 플래그로 사용하는 변수 -2를 상수화하여 가독성을 높였습니다.
1449+
* 2024.03.09 (v0.1.9) :
1450+
* - fixed readability issues with some code.
14511451
* 2024.01.16 (v0.1.7) :
14521452
* - SRD_TranslationEngine 플러그인과 호환되지 않는 문제를 수정하였습니다.
14531453
* 2022.01.25 (v0.1.67) :
@@ -3981,7 +3981,9 @@ var Color = Color || {};
39813981
text = text.replace(
39823982
regGroup[tcGroup.BALLOON],
39833983
function () {
3984-
var value = Number(arguments[1] || -2);
3984+
var value = Number(
3985+
arguments[1] || RS.MessageSystem.Params.RESET_DEFAULT_STYLE
3986+
);
39853987
if ($gameParty.inBattle()) {
39863988
$gameMessage.setBalloon(
39873989
value < 0

0 commit comments

Comments
 (0)