Class in reactor_objects_battlers.js
Game_Party
74 public functions in 7 groups · show internal (_) functions
Familiar territory. Game_Party 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 8
| initialize() | Sets up a new instance. |
| initAllItems() | Initializes the all items. |
| setupStartingMembers() | Setup starting members. |
| setupBattleTest() | Setup battle test. |
| setupBattleTestMembers() | Setup battle test members. |
| setupBattleTestItems() | Setup battle test items. |
| makeMenuActorNext() | Makes the menu actor next. |
| makeMenuActorPrevious() | Makes the menu actor previous. |
Getting Information 6
| size() | Size. |
| maxBattleMembers() | The maximum battle members. |
| itemContainer() | Item container. |
| name() | Name. |
| maxGold() | The maximum gold. |
| maxItems() | The maximum items. |
Checks (True / False) 14
| isEmpty() | Whether it is empty. |
| hasMaxItems() | Whether it has the max items. |
| hasItem() | Whether it has the item. |
| isAnyMemberEquipped() | Whether it is any member equipped. |
| canUse() | Whether it can use. |
| canInput() | Whether it can input. |
| isAllDead() | Whether it is all dead. |
| isEscaped() | Whether it is escaped. |
| hasEncounterHalf() | Whether it has the encounter half. |
| hasEncounterNone() | Whether it has the encounter none. |
| hasCancelSurprise() | Whether it has the cancel surprise. |
| hasRaisePreemptive() | Whether it has the raise preemptive. |
| hasGoldDouble() | Whether it has the gold double. |
| hasDropItemDouble() | Whether it has the drop item double. |
Actions 17
| removeInvalidMembers() | Removes the invalid members. |
| reviveBattleMembers() | Revive battle members. |
| equipItems() | Equip items. |
| addActor() | Adds the actor. |
| removeActor() | Removes the actor. |
| gainGold() | Gains the gold. |
| loseGold() | Loses the gold. |
| gainItem() | Gains the item. |
| loseItem() | Loses the item. |
| setMenuActor() | Sets the menu actor. |
| setTargetActor() | Sets the target actor. |
| setLastItem() | Sets the last item. |
| swapOrder() | Swap order. |
| performVictory() | Plays the victory effect. |
| performEscape() | Plays the escape effect. |
| removeBattleStates() | Removes the battle states. |
| requestMotionRefresh() | Requests the motion refresh. |
Events, Commands & Input 2
| onPlayerWalk() | Called when player walk happens. |
| onEscapeFailure() | Called when escape failure happens. |
Updating & Drawing 1
| steps() | Steps. |
Other 26
| exists() | Exists. |
| members() | Members. |
| allMembers() | All members. |
| battleMembers() | Battle members. |
| hiddenBattleMembers() | Hidden battle members. |
| allBattleMembers() | All battle members. |
| leader() | Leader. |
| items() | Items. |
| weapons() | Weapons. |
| armors() | Armors. |
| allItems() | All items. |
| highestLevel() | Highest level. |
| gold() | Gold. |
| rrHigherLimits() | Rr higher limits. |
| increaseSteps() | Increase steps. |
| numItems() | Num items. |
| discardMembersEquip() | Discard members equip. |
| consumeItem() | Consume item. |
| menuActor() | Menu actor. |
| targetActor() | Target actor. |
| lastItem() | Last item. |
| charactersForSavefile() | Characters for savefile. |
| facesForSavefile() | Faces for savefile. |
| partyAbility() | Party ability. |
| ratePreemptive() | Rate preemptive. |
| rateSurprise() | Rate surprise. |
Setup & Creation
initialize
method sourceGame_Party.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initAllItems
method sourceGame_Party.prototype.initAllItems()
Initializes the all items. (Same as the RPG Maker MZ method of this name.)
setupStartingMembers
method sourceGame_Party.prototype.setupStartingMembers()
Setup starting members. (Same as the RPG Maker MZ method of this name.)
setupBattleTest
method sourceGame_Party.prototype.setupBattleTest()
Setup battle test. (Same as the RPG Maker MZ method of this name.)
setupBattleTestMembers
method sourceGame_Party.prototype.setupBattleTestMembers()
Setup battle test members. (Same as the RPG Maker MZ method of this name.)
setupBattleTestItems
method sourceGame_Party.prototype.setupBattleTestItems()
Setup battle test items. (Same as the RPG Maker MZ method of this name.)
makeMenuActorNext
method sourceGame_Party.prototype.makeMenuActorNext()
Makes the menu actor next. (Same as the RPG Maker MZ method of this name.)
makeMenuActorPrevious
method sourceGame_Party.prototype.makeMenuActorPrevious()
Makes the menu actor previous. (Same as the RPG Maker MZ method of this name.)
Getting Information
size
method sourceGame_Party.prototype.size()
Size. (Same as the RPG Maker MZ method of this name.)
maxBattleMembers
method sourceGame_Party.prototype.maxBattleMembers()
The maximum battle members. (Same as the RPG Maker MZ method of this name.)
itemContainer
method sourceGame_Party.prototype.itemContainer(item)
Item container. (Same as the RPG Maker MZ method of this name.)
name
method sourceGame_Party.prototype.name()
Name. (Same as the RPG Maker MZ method of this name.)
maxGold
method sourceGame_Party.prototype.maxGold()
The maximum gold. (Same as the RPG Maker MZ method of this name.)
maxItems
method sourceGame_Party.prototype.maxItems(/*item*/)
The maximum items. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isEmpty
method sourceGame_Party.prototype.isEmpty()
Whether it is empty. (Same as the RPG Maker MZ method of this name.)
hasMaxItems
method sourceGame_Party.prototype.hasMaxItems(item)
Whether it has the max items. (Same as the RPG Maker MZ method of this name.)
hasItem
method sourceGame_Party.prototype.hasItem(item, includeEquip)
Whether it has the item. (Same as the RPG Maker MZ method of this name.)
isAnyMemberEquipped
method sourceGame_Party.prototype.isAnyMemberEquipped(item)
Whether it is any member equipped. (Same as the RPG Maker MZ method of this name.)
canUse
method sourceGame_Party.prototype.canUse(item)
Whether it can use. (Same as the RPG Maker MZ method of this name.)
canInput
method sourceGame_Party.prototype.canInput()
Whether it can input. (Same as the RPG Maker MZ method of this name.)
isAllDead
method sourceGame_Party.prototype.isAllDead()
Whether it is all dead. (Same as the RPG Maker MZ method of this name.)
isEscaped
method sourceGame_Party.prototype.isEscaped()
Whether it is escaped. (Same as the RPG Maker MZ method of this name.)
hasEncounterHalf
method sourceGame_Party.prototype.hasEncounterHalf()
Whether it has the encounter half. (Same as the RPG Maker MZ method of this name.)
hasEncounterNone
method sourceGame_Party.prototype.hasEncounterNone()
Whether it has the encounter none. (Same as the RPG Maker MZ method of this name.)
hasCancelSurprise
method sourceGame_Party.prototype.hasCancelSurprise()
Whether it has the cancel surprise. (Same as the RPG Maker MZ method of this name.)
hasRaisePreemptive
method sourceGame_Party.prototype.hasRaisePreemptive()
Whether it has the raise preemptive. (Same as the RPG Maker MZ method of this name.)
hasGoldDouble
method sourceGame_Party.prototype.hasGoldDouble()
Whether it has the gold double. (Same as the RPG Maker MZ method of this name.)
hasDropItemDouble
method sourceGame_Party.prototype.hasDropItemDouble()
Whether it has the drop item double. (Same as the RPG Maker MZ method of this name.)
Actions
removeInvalidMembers
method sourceGame_Party.prototype.removeInvalidMembers()
Removes the invalid members. (Same as the RPG Maker MZ method of this name.)
reviveBattleMembers
method sourceGame_Party.prototype.reviveBattleMembers()
Revive battle members. (Same as the RPG Maker MZ method of this name.)
equipItems
method sourceGame_Party.prototype.equipItems()
Equip items. (Same as the RPG Maker MZ method of this name.)
addActor
method sourceGame_Party.prototype.addActor(actorId)
Adds the actor. (Same as the RPG Maker MZ method of this name.)
removeActor
method sourceGame_Party.prototype.removeActor(actorId)
Removes the actor. (Same as the RPG Maker MZ method of this name.)
gainGold
method sourceGame_Party.prototype.gainGold(amount)
Gains the gold. (Same as the RPG Maker MZ method of this name.)
loseGold
method sourceGame_Party.prototype.loseGold(amount)
Loses the gold. (Same as the RPG Maker MZ method of this name.)
gainItem
method sourceGame_Party.prototype.gainItem(item, amount, includeEquip)
Gains the item. (Same as the RPG Maker MZ method of this name.)
loseItem
method sourceGame_Party.prototype.loseItem(item, amount, includeEquip)
Loses the item. (Same as the RPG Maker MZ method of this name.)
setMenuActor
method sourceGame_Party.prototype.setMenuActor(actor)
Sets the menu actor. (Same as the RPG Maker MZ method of this name.)
setTargetActor
method sourceGame_Party.prototype.setTargetActor(actor)
Sets the target actor. (Same as the RPG Maker MZ method of this name.)
setLastItem
method sourceGame_Party.prototype.setLastItem(item)
Sets the last item. (Same as the RPG Maker MZ method of this name.)
swapOrder
method sourceGame_Party.prototype.swapOrder(index1, index2)
Swap order. (Same as the RPG Maker MZ method of this name.)
performVictory
method sourceGame_Party.prototype.performVictory()
Plays the victory effect. (Same as the RPG Maker MZ method of this name.)
performEscape
method sourceGame_Party.prototype.performEscape()
Plays the escape effect. (Same as the RPG Maker MZ method of this name.)
removeBattleStates
method sourceGame_Party.prototype.removeBattleStates()
Removes the battle states. (Same as the RPG Maker MZ method of this name.)
requestMotionRefresh
method sourceGame_Party.prototype.requestMotionRefresh()
Requests the motion refresh. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onPlayerWalk
method sourceGame_Party.prototype.onPlayerWalk()
Called when player walk happens. (Same as the RPG Maker MZ method of this name.)
onEscapeFailure
method sourceGame_Party.prototype.onEscapeFailure()
Called when escape failure happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
steps
method sourceGame_Party.prototype.steps()
Steps. (Same as the RPG Maker MZ method of this name.)
Other
exists
method sourceGame_Party.prototype.exists()
Exists. (Same as the RPG Maker MZ method of this name.)
members
method sourceGame_Party.prototype.members()
Members. (Same as the RPG Maker MZ method of this name.)
allMembers
method sourceGame_Party.prototype.allMembers()
All members. (Same as the RPG Maker MZ method of this name.)
battleMembers
method sourceGame_Party.prototype.battleMembers()
Battle members. (Same as the RPG Maker MZ method of this name.)
allBattleMembers
method sourceGame_Party.prototype.allBattleMembers()
All battle members. (Same as the RPG Maker MZ method of this name.)
leader
method sourceGame_Party.prototype.leader()
Leader. (Same as the RPG Maker MZ method of this name.)
items
method sourceGame_Party.prototype.items()
Items. (Same as the RPG Maker MZ method of this name.)
weapons
method sourceGame_Party.prototype.weapons()
Weapons. (Same as the RPG Maker MZ method of this name.)
armors
method sourceGame_Party.prototype.armors()
Armors. (Same as the RPG Maker MZ method of this name.)
allItems
method sourceGame_Party.prototype.allItems()
All items. (Same as the RPG Maker MZ method of this name.)
highestLevel
method sourceGame_Party.prototype.highestLevel()
Highest level. (Same as the RPG Maker MZ method of this name.)
gold
method sourceGame_Party.prototype.gold()
Gold. (Same as the RPG Maker MZ method of this name.)
rrHigherLimits
static sourceGame_Party.rrHigherLimits()
Rr higher limits. (Same as the RPG Maker MZ method of this name.)
increaseSteps
method sourceGame_Party.prototype.increaseSteps()
Increase steps. (Same as the RPG Maker MZ method of this name.)
numItems
method sourceGame_Party.prototype.numItems(item)
Num items. (Same as the RPG Maker MZ method of this name.)
discardMembersEquip
method sourceGame_Party.prototype.discardMembersEquip(item, amount)
Discard members equip. (Same as the RPG Maker MZ method of this name.)
consumeItem
method sourceGame_Party.prototype.consumeItem(item)
Consume item. (Same as the RPG Maker MZ method of this name.)
targetActor
method sourceGame_Party.prototype.targetActor()
Target actor. (Same as the RPG Maker MZ method of this name.)
lastItem
method sourceGame_Party.prototype.lastItem()
Last item. (Same as the RPG Maker MZ method of this name.)
charactersForSavefile
method sourceGame_Party.prototype.charactersForSavefile()
Characters for savefile. (Same as the RPG Maker MZ method of this name.)
facesForSavefile
method sourceGame_Party.prototype.facesForSavefile()
Faces for savefile. (Same as the RPG Maker MZ method of this name.)
partyAbility
method sourceGame_Party.prototype.partyAbility(abilityId)
Party ability. (Same as the RPG Maker MZ method of this name.)
ratePreemptive
method sourceGame_Party.prototype.ratePreemptive(troopAgi)
Rate preemptive. (Same as the RPG Maker MZ method of this name.)
rateSurprise
method sourceGame_Party.prototype.rateSurprise(troopAgi)
Rate surprise. (Same as the RPG Maker MZ method of this name.)