Familiar territory. BattleManager 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
Events, Commands & Input 1
| processDefeat() | Handles the defeat. |
Events, Commands & Input
processDefeat
static sourceBattleManager.processDefeat()
Handles the defeat. (Same as the RPG Maker MZ method of this name.)