This commit is contained in:
dazedanon 2025-12-20 11:52:34 -06:00
parent 32552ee6ff
commit eb31cf9407

View file

@ -3,7 +3,7 @@
//=============================================================================
/*:
* @plugindesc Adds a minimap/zoom-out feature. Press O to toggle a zoomed-out view of the entire map.
* @plugindesc Adds a minimap/zoom-out feature. Press M to toggle a zoomed-out view of the entire map.
* @author Dazed Translations
*
* @param Toggle Key
@ -11,10 +11,10 @@
* @default 79
*
* @help
* Press the O key while on the map to toggle a zoomed-out minimap view.
* Press the M key while on the map to toggle a zoomed-out minimap view.
* Shows the entire map scaled to fit the screen.
* Character sprites are hidden, and a marker shows your position.
* Press O again to return to normal view.
* Press M again to return to normal view.
*/
(function() {
@ -151,7 +151,7 @@
this._minimapOverlay.bitmap.textColor = '#FFFFFF';
this._minimapOverlay.bitmap.outlineColor = '#000000';
this._minimapOverlay.bitmap.outlineWidth = 4;
this._minimapOverlay.bitmap.drawText('MAP VIEW - Press O to close', 0, 10, Graphics.width, 30, 'center');
this._minimapOverlay.bitmap.drawText('MAP VIEW - Press M to close', 0, 10, Graphics.width, 30, 'center');
// Add map name
const mapName = $gameMap.displayName() || ('Map ' + $gameMap.mapId());