Commit 5efc726 1 parent ae51c93 commit 5efc726 Copy full SHA for 5efc726
File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*:
2
+ * @target MV
3
+ * @plugindesc This addon plugin allows you to remove the blur of background <RS_X_InputDialogNoBlur>.
4
+ * @author biud436
5
+ *
6
+ * @help
7
+ * ===================================================================
8
+ * Change Log
9
+ * ===================================================================
10
+ * 2024.10.24 (v1.0.0) - First Release.
11
+ */
12
+ var Imported = Imported || { } ;
13
+
14
+ ( ( ) => {
15
+ SceneManager . _backgroundBitmapWithoutBlur = null ;
16
+
17
+ SceneManager . snapForBackgroundWithout = function ( ) {
18
+ this . _backgroundBitmapWithoutBlur = this . snap ( ) ;
19
+ } ;
20
+
21
+ SceneManager . backgroundBitmapWithoutBlur = function ( ) {
22
+ return this . _backgroundBitmapWithoutBlur ;
23
+ } ;
24
+
25
+ const alias_Scene_Map_terminate = Scene_Map . prototype . terminate ;
26
+ Scene_Map . prototype . terminate = function ( ) {
27
+ if ( SceneManager . isNextScene ( Scene_InputDialog ) ) {
28
+ SceneManager . snapForBackgroundWithout ( ) ;
29
+ }
30
+ alias_Scene_Map_terminate . call ( this ) ;
31
+ } ;
32
+
33
+ Scene_InputDialog . prototype . createBackground = function ( ) {
34
+ if ( Imported . Irina_PerformanceUpgrade ) {
35
+ Scene_MenuBase . prototype . createBackground . call ( this ) ;
36
+ } else {
37
+ this . _backgroundSprite = new Sprite ( ) ;
38
+ this . _backgroundSprite . bitmap =
39
+ SceneManager . backgroundBitmapWithoutBlur ( ) ;
40
+ this . addChild ( this . _backgroundSprite ) ;
41
+ }
42
+ } ;
43
+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments