This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
forked from Hudell/mv-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OrangeInstantMouseMovement.js
50 lines (47 loc) · 1.81 KB
/
OrangeInstantMouseMovement.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*=============================================================================
* Orange - Instant Mouse Movement
* By Hudell - www.hudell.com
* OrangeInstantMouseMovement.js
* Version: 1.0
* Free for commercial and non commercial use.
*=============================================================================*/
/*:
* @plugindesc This plugin will instantly teleport the player to the clicked position
* @author Hudell
*
* @help
* ============================================================================
* Latest Version
* ============================================================================
*
* Get the latest version of this script on
* http://link.hudell.com/instant-mouse-movement
*
*=============================================================================*/
/*:pt-br
* @plugindesc Este plugin vai teletransportar o jogador instantaneamente para a posição clicada
* @author Hudell
*
* @help
* ============================================================================
* Última Versão
* ============================================================================
*
* Baixe a última versão deste script em
* http://link.hudell.com/instant-mouse-movement
*
*=============================================================================*/
Game_Temp.prototype.setDestination = function(x, y) {
$gamePlayer.setPosition(x, y);
};
var Imported = Imported || {};
// If MVCommons is imported, register the plugin with it's PluginManager.
if (Imported['MVCommons'] !== undefined) {
PluginManager.register("OrangeInstantMouseMovement", "1.0.0", "This plugin will instantly teleport the player to the clicked position", {
email: "[email protected]",
name: "Hudell",
website: "http://www.hudell.com"
}, "2015-10-24");
} else {
Imported["OrangeInstantMouseMovement"] = true;
}