File tree Expand file tree Collapse file tree 14 files changed +20
-30
lines changed Expand file tree Collapse file tree 14 files changed +20
-30
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,6 @@ TouchInput.isPressed = function() {
100
100
return this . _mousePressed || this . _screenPressed ;
101
101
} ;
102
102
103
- TouchInput . isMousePressed = function ( ) {
104
- return this . _mousePressed ;
105
- } ;
106
-
107
103
/**
108
104
* Checks whether the left mouse button or touchscreen is just pressed.
109
105
*
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ Utils.RPGMAKER_NAME = 'MV';
26
26
* @type String
27
27
* @final
28
28
*/
29
- Utils . RPGMAKER_VERSION = "1.3.5 " ;
29
+ Utils . RPGMAKER_VERSION = "1.4.1 " ;
30
30
31
- Utils . RPGMAKER_ENGINE = "community-1.1b " ;
31
+ Utils . RPGMAKER_ENGINE = "community-1.2 " ;
32
32
33
33
/**
34
34
* Checks whether the option is in the query string.
Original file line number Diff line number Diff line change 1
1
//=============================================================================
2
- // rpg_core.js v1.3.5 (community-1.1b )
2
+ // rpg_core.js v1.4.1 (community-1.2 )
3
3
//=============================================================================
Original file line number Diff line number Diff line change 1
1
//=============================================================================
2
- // rpg_managers.js v1.3.5 (community-1.1b )
2
+ // rpg_managers.js v1.4.1 (community-1.2 )
3
3
//=============================================================================
Original file line number Diff line number Diff line change @@ -886,8 +886,8 @@ Game_Actor.prototype.testEscape = function(item) {
886
886
} ;
887
887
888
888
Game_Actor . prototype . meetsUsableItemConditions = function ( item ) {
889
- if ( $gameParty . inBattle ( ) && ! BattleManager . canEscape ( ) && this . testEscape ( item ) ) {
889
+ if ( $gameParty . inBattle ( ) && ! BattleManager . canEscape ( ) && this . testEscape ( item ) ) {
890
890
return false ;
891
891
}
892
- return this . canMove ( ) && this . isOccasionOk ( item ) ;
892
+ return Game_BattlerBase . prototype . meetsUsableItemConditions . call ( this , item ) ;
893
893
} ;
Original file line number Diff line number Diff line change @@ -393,7 +393,11 @@ Game_Map.prototype.canvasToMapY = function(y) {
393
393
394
394
Game_Map . prototype . autoplay = function ( ) {
395
395
if ( $dataMap . autoplayBgm ) {
396
- AudioManager . playBgm ( $dataMap . bgm ) ;
396
+ if ( $gamePlayer . isInVehicle ( ) ) {
397
+ $gameSystem . saveWalkingBgm2 ( ) ;
398
+ } else {
399
+ AudioManager . playBgm ( $dataMap . bgm ) ;
400
+ }
397
401
}
398
402
if ( $dataMap . autoplayBgs ) {
399
403
AudioManager . playBgs ( $dataMap . bgs ) ;
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ Game_Player.prototype.updateDashing = function() {
295
295
return ;
296
296
}
297
297
if ( this . canMove ( ) && ! this . isInVehicle ( ) && ! $gameMap . isDashDisabled ( ) ) {
298
- this . _dashing = $gameTemp . isMapTouched ( ) ? $gameTemp . isDestinationValid ( ) : this . isDashButtonPressed ( ) ; // || $gameTemp.isDestinationValid();
298
+ this . _dashing = this . isDashButtonPressed ( ) || $gameTemp . isDestinationValid ( ) ;
299
299
} else {
300
300
this . _dashing = false ;
301
301
}
Original file line number Diff line number Diff line change @@ -208,3 +208,7 @@ Game_System.prototype.replayWalkingBgm = function() {
208
208
AudioManager . playBgm ( this . _walkingBgm ) ;
209
209
}
210
210
} ;
211
+
212
+ Game_System . prototype . saveWalkingBgm2 = function ( ) {
213
+ this . _walkingBgm = $dataMap . bgm ;
214
+ } ;
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Game_Temp.prototype.initialize = function() {
12
12
this . _commonEventId = 0 ;
13
13
this . _destinationX = null ;
14
14
this . _destinationY = null ;
15
- this . _isMapTouch = false ;
16
15
} ;
17
16
18
17
Game_Temp . prototype . isPlaytest = function ( ) {
@@ -56,12 +55,3 @@ Game_Temp.prototype.destinationX = function() {
56
55
Game_Temp . prototype . destinationY = function ( ) {
57
56
return this . _destinationY ;
58
57
} ;
59
-
60
- //
61
- Game_Temp . prototype . isMapTouched = function ( ) {
62
- return this . _isMapTouch ;
63
- } ;
64
-
65
- Game_Temp . prototype . setIsMapTouched = function ( val ) {
66
- this . _isMapTouch = val ;
67
- } ;
Original file line number Diff line number Diff line change 1
1
//=============================================================================
2
- // rpg_objects.js v1.3.5 (community-1.1b )
2
+ // rpg_objects.js v1.4.1 (community-1.2 )
3
3
//=============================================================================
You can’t perform that action at this time.
0 commit comments