Class in reactor_objects.js

Game_System

57 public functions in 5 groups · show internal (_) functions

Everything here is tracked by Game Objects: the party, the map, its events.

Familiar territory. Game_System keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.

Quick Reference

Setup & Creation 1

initialize() Sets up a new instance.

Checks (True / False) 11

isJapanese() Whether it is japanese.
isChinese() Whether it is chinese.
isKorean() Whether it is korean.
isCJK() Whether it is cjk.
isRussian() Whether it is russian.
isSideView() Whether it is side view.
isAutosaveEnabled() Whether it is autosave enabled.
isSaveEnabled() Whether it is save enabled.
isMenuEnabled() Whether it is menu enabled.
isEncounterEnabled() Whether it is encounter enabled.
isFormationEnabled() Whether it is formation enabled.

Actions 17

disableSave() Disables the save.
enableSave() Enables the save.
disableMenu() Disables the menu.
enableMenu() Enables the menu.
disableEncounter() Disables the encounter.
enableEncounter() Enables the encounter.
disableFormation() Disables the formation.
enableFormation() Enables the formation.
saveCount() Saves the count.
setSavefileId() Sets the savefile id.
setWindowTone() Sets the window tone.
setBattleBgm() Sets the battle bgm.
setVictoryMe() Sets the victory me.
setDefeatMe() Sets the defeat me.
saveBgm() Saves the bgm.
saveWalkingBgm() Saves the walking bgm.
saveWalkingBgm2() Saves the walking bgm2.

Events, Commands & Input 5

onBattleStart() Called when battle start happens.
onBattleWin() Called when battle win happens.
onBattleEscape() Called when battle escape happens.
onBeforeSave() Called when before save happens.
onAfterLoad() Called when after load happens.

Other 23

battleCount() Battle count.
winCount() Win count.
escapeCount() Escape count.
versionId() Version id.
savefileId() Savefile id.
windowTone() Window tone.
battleBgm() Battle bgm.
victoryMe() Victory me.
defeatMe() Defeat me.
playtime() Playtime.
playtimeText() Playtime text.
replayBgm() Replay bgm.
replayWalkingBgm() Replay walking bgm.
mainFontFace() Main font face.
numberFontFace() Number font face.
legacyFontId() Legacy font id.
legacyFontInfo() Legacy font info.
mainFontSize() Main font size.
windowPadding() Window padding.
lineHeight() Line height.
windowOpacity() Window opacity.
windowSkinName() Saved 2000/2003 Change System Graphics selection; ordinary projects use Window.
windowBackgroundMode() Window background mode.

Setup & Creation

initialize

method source
Game_System.prototype.initialize()

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

isJapanese

method source
Game_System.prototype.isJapanese()

Whether it is japanese. (Same as the RPG Maker MZ method of this name.)

isChinese

method source
Game_System.prototype.isChinese()

Whether it is chinese. (Same as the RPG Maker MZ method of this name.)

isKorean

method source
Game_System.prototype.isKorean()

Whether it is korean. (Same as the RPG Maker MZ method of this name.)

isCJK

method source
Game_System.prototype.isCJK()

Whether it is cjk. (Same as the RPG Maker MZ method of this name.)

isRussian

method source
Game_System.prototype.isRussian()

Whether it is russian. (Same as the RPG Maker MZ method of this name.)

isSideView

method source
Game_System.prototype.isSideView()

Whether it is side view. (Same as the RPG Maker MZ method of this name.)

isAutosaveEnabled

method source
Game_System.prototype.isAutosaveEnabled()

Whether it is autosave enabled. (Same as the RPG Maker MZ method of this name.)

isSaveEnabled

method source
Game_System.prototype.isSaveEnabled()

Whether it is save enabled. (Same as the RPG Maker MZ method of this name.)

isMenuEnabled

method source
Game_System.prototype.isMenuEnabled()

Whether it is menu enabled. (Same as the RPG Maker MZ method of this name.)

isEncounterEnabled

method source
Game_System.prototype.isEncounterEnabled()

Whether it is encounter enabled. (Same as the RPG Maker MZ method of this name.)

isFormationEnabled

method source
Game_System.prototype.isFormationEnabled()

Whether it is formation enabled. (Same as the RPG Maker MZ method of this name.)

Actions

disableSave

method source
Game_System.prototype.disableSave()

Disables the save. (Same as the RPG Maker MZ method of this name.)

enableSave

method source
Game_System.prototype.enableSave()

Enables the save. (Same as the RPG Maker MZ method of this name.)

disableMenu

method source
Game_System.prototype.disableMenu()

Disables the menu. (Same as the RPG Maker MZ method of this name.)

enableMenu

method source
Game_System.prototype.enableMenu()

Enables the menu. (Same as the RPG Maker MZ method of this name.)

disableEncounter

method source
Game_System.prototype.disableEncounter()

Disables the encounter. (Same as the RPG Maker MZ method of this name.)

enableEncounter

method source
Game_System.prototype.enableEncounter()

Enables the encounter. (Same as the RPG Maker MZ method of this name.)

disableFormation

method source
Game_System.prototype.disableFormation()

Disables the formation. (Same as the RPG Maker MZ method of this name.)

enableFormation

method source
Game_System.prototype.enableFormation()

Enables the formation. (Same as the RPG Maker MZ method of this name.)

saveCount

method source
Game_System.prototype.saveCount()

Saves the count. (Same as the RPG Maker MZ method of this name.)

setSavefileId

method source
Game_System.prototype.setSavefileId(savefileId)

Sets the savefile id. (Same as the RPG Maker MZ method of this name.)

setWindowTone

method source
Game_System.prototype.setWindowTone(value)

Sets the window tone. (Same as the RPG Maker MZ method of this name.)

setBattleBgm

method source
Game_System.prototype.setBattleBgm(value)

Sets the battle bgm. (Same as the RPG Maker MZ method of this name.)

setVictoryMe

method source
Game_System.prototype.setVictoryMe(value)

Sets the victory me. (Same as the RPG Maker MZ method of this name.)

setDefeatMe

method source
Game_System.prototype.setDefeatMe(value)

Sets the defeat me. (Same as the RPG Maker MZ method of this name.)

saveBgm

method source
Game_System.prototype.saveBgm()

Saves the bgm. (Same as the RPG Maker MZ method of this name.)

saveWalkingBgm

method source
Game_System.prototype.saveWalkingBgm()

Saves the walking bgm. (Same as the RPG Maker MZ method of this name.)

saveWalkingBgm2

method source
Game_System.prototype.saveWalkingBgm2()

Saves the walking bgm2. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

onBattleStart

method source
Game_System.prototype.onBattleStart()

Called when battle start happens. (Same as the RPG Maker MZ method of this name.)

onBattleWin

method source
Game_System.prototype.onBattleWin()

Called when battle win happens. (Same as the RPG Maker MZ method of this name.)

onBattleEscape

method source
Game_System.prototype.onBattleEscape()

Called when battle escape happens. (Same as the RPG Maker MZ method of this name.)

onBeforeSave

method source
Game_System.prototype.onBeforeSave()

Called when before save happens. (Same as the RPG Maker MZ method of this name.)

onAfterLoad

method source
Game_System.prototype.onAfterLoad()

Called when after load happens. (Same as the RPG Maker MZ method of this name.)

Other

battleCount

method source
Game_System.prototype.battleCount()

Battle count. (Same as the RPG Maker MZ method of this name.)

winCount

method source
Game_System.prototype.winCount()

Win count. (Same as the RPG Maker MZ method of this name.)

escapeCount

method source
Game_System.prototype.escapeCount()

Escape count. (Same as the RPG Maker MZ method of this name.)

versionId

method source
Game_System.prototype.versionId()

Version id. (Same as the RPG Maker MZ method of this name.)

savefileId

method source
Game_System.prototype.savefileId()

Savefile id. (Same as the RPG Maker MZ method of this name.)

windowTone

method source
Game_System.prototype.windowTone()

Window tone. (Same as the RPG Maker MZ method of this name.)

battleBgm

method source
Game_System.prototype.battleBgm()

Battle bgm. (Same as the RPG Maker MZ method of this name.)

victoryMe

method source
Game_System.prototype.victoryMe()

Victory me. (Same as the RPG Maker MZ method of this name.)

defeatMe

method source
Game_System.prototype.defeatMe()

Defeat me. (Same as the RPG Maker MZ method of this name.)

playtime

method source
Game_System.prototype.playtime()

Playtime. (Same as the RPG Maker MZ method of this name.)

playtimeText

method source
Game_System.prototype.playtimeText()

Playtime text. (Same as the RPG Maker MZ method of this name.)

replayBgm

method source
Game_System.prototype.replayBgm()

Replay bgm. (Same as the RPG Maker MZ method of this name.)

replayWalkingBgm

method source
Game_System.prototype.replayWalkingBgm()

Replay walking bgm. (Same as the RPG Maker MZ method of this name.)

mainFontFace

method source
Game_System.prototype.mainFontFace()

Main font face. (Same as the RPG Maker MZ method of this name.)

numberFontFace

method source
Game_System.prototype.numberFontFace()

Number font face. (Same as the RPG Maker MZ method of this name.)

legacyFontId

method source
Game_System.prototype.legacyFontId()

Legacy font id. (Same as the RPG Maker MZ method of this name.)

legacyFontInfo

method source
Game_System.prototype.legacyFontInfo()

Legacy font info. (Same as the RPG Maker MZ method of this name.)

mainFontSize

method source
Game_System.prototype.mainFontSize()

Main font size. (Same as the RPG Maker MZ method of this name.)

windowPadding

method source
Game_System.prototype.windowPadding()

Window padding. (Same as the RPG Maker MZ method of this name.)

lineHeight

method source
Game_System.prototype.lineHeight()

Line height. (Same as the RPG Maker MZ method of this name.)

windowOpacity

method source
Game_System.prototype.windowOpacity()

Window opacity. (Same as the RPG Maker MZ method of this name.)

windowSkinName

method source
Game_System.prototype.windowSkinName()

Saved 2000/2003 Change System Graphics selection; ordinary projects use Window.

windowBackgroundMode

method source
Game_System.prototype.windowBackgroundMode()

Window background mode. (Same as the RPG Maker MZ method of this name.)