clearBattleRefreshRequest()
Clears battle refresh requests
clearCommonEventReservation()
Clears reserved common events
- Since:
Clears the destination
Clear the touch state
Get the x coordinate for the destination
Returns:
Type | Description |
---|
number | Destination x coordinate |
Get the y coordinate for the destination
Returns:
Type | Description |
---|
number | Destination y coordinate |
Initialize the object
isBattleRefreshRequested()boolean
Check if battle refresh is requested
Returns:
Type | Description |
---|
boolean | True if battle refresh is requested |
isCommonEventReserved()boolean
Check if there are any common events reserved
Returns:
Type | Description |
---|
boolean | True if any common events are reserved |
isDestinationValid()boolean
Check if the destination is valid
Returns:
Type | Description |
---|
boolean | True if valid |
Check if the game is in playtest mode
Returns:
Type | Description |
---|
boolean | True if playtesting |
lastActionData(type)number
Get the last action data
Name | Type | Description |
---|
type | number | The type of data |
Returns:
Type | Description |
---|
number | Last action data |
requestAnimation(targets, animationId, mirror)
Requests an animation
Name | Type | Default | Description |
---|
targets | Array | | The targets of the animation |
animationId | number | | The id of the animation to play |
mirror | boolean | false | optionalIf the animation request is mirror type |
requestBalloon(target, balloonId)
Requests a balloon
Name | Type | Description |
---|
target | Game_Character | The targets of the balloon |
balloonId | number | The id of the balloon |
Requests a battle refresh
reserveCommonEvent(commonEventId)
Reserves a common event by id
Name | Type | Description |
---|
commonEventId | number | The common event id to reserve |
retrieveAnimation()Object
Gets a requested animation
Returns:
Type | Description |
---|
Object | A requested animation |
Gets a requested balloon
Returns:
Type | Description |
---|
Object | A requested balloon |
retrieveCommonEvent()Object
Retrieves a common event from the reserved common events
Returns:
Type | Description |
---|
Object | The common event data object |
Set the destination x/y coordinates
Name | Type | Description |
---|
x | number | The x coordinate for the destination |
y | number | The y coordinate for the destination |
setLastActionData(type, value)
Set the last action data
Name | Type | Description |
---|
type | number | The type of data to set |
value | number | The value to set |
setLastSubjectActorId(actorID)
Set the last subject actor data
Name | Type | Description |
---|
actorID | number | The actor id |
setLastSubjectEnemyIndex(enemyIndex)
Set the last subject enemy index data
Name | Type | Description |
---|
enemyIndex | number | The enemy index |
setLastTargetActorId(actorID)
Set the last target actor data
Name | Type | Description |
---|
actorID | number | The actor id |
setLastTargetEnemyIndex(enemyIndex)
Set the last target enemy index data
Name | Type | Description |
---|
enemyIndex | number | The enemy index |
setLastUsedItemId(itemID)
Set the last item data
Name | Type | Description |
---|
itemID | number | The item id |
setLastUsedSkillId(skillID)
Set the last skill data
Name | Type | Description |
---|
skillID | number | The skill id |
setTouchState(target, state)
Sets the touch state
Name | Type | Description |
---|
target | Game_Battler | The target |
state | string | The touch state |
Get the touch state
Returns:
Type | Description |
---|
string | The touch state |
Get the touch target
Returns: