Namespace in reactor_battle_events.js
RoomEvent
24 public functions in 5 groups · show internal (_) functions
Quick Reference
Setup & Creation 1
| initialize() | Sets up a new instance. |
Checks (True / False) 7
| isOnLadder() | Whether it is on ladder. |
| isOnBush() | Whether it is on bush. |
| isNearTheScreen() | Whether it is near the screen. |
| isTile() | Whether it is tile. |
| isObjectCharacter() | Whether it is object character. |
| isStarting() | Whether it is starting. |
| canPass() | Whether it can pass. |
Actions 2
| moveStraight() | Move straight. |
| moveDiagonally() | Move diagonally. |
Updating & Drawing 3
| refreshBushDepth() | Redraws the bush depth. |
| updateJump() | Updates the jump each frame. |
| refresh() | Refresh. |
Other 11
| deltaXFrom() | Delta x from. |
| deltaYFrom() | Delta y from. |
| regionId() | Region id. |
| terrainTag() | Terrain tag. |
| eventId() | Event id. |
| event() | Event. |
| page() | Page. |
| screenX() | Screen x. |
| screenY() | Screen y. |
| screenZ() | Screen z. |
| erase() | Erase. |
Setup & Creation
initialize
method sourceRoomEvent.prototype.initialize(room,data)
Sets up a new instance.
Checks (True / False)
isOnLadder
method sourceRoomEvent.prototype.isOnLadder()
Whether it is on ladder.
isOnBush
method sourceRoomEvent.prototype.isOnBush()
Whether it is on bush.
isNearTheScreen
method sourceRoomEvent.prototype.isNearTheScreen()
Whether it is near the screen.
isTile
method sourceRoomEvent.prototype.isTile()
Whether it is tile.
isObjectCharacter
method sourceRoomEvent.prototype.isObjectCharacter()
Whether it is object character.
isStarting
method sourceRoomEvent.prototype.isStarting()
Whether it is starting.
canPass
method sourceRoomEvent.prototype.canPass(x,y,d)
Whether it can pass.
Actions
moveStraight
method sourceRoomEvent.prototype.moveStraight(d)
Move straight.
moveDiagonally
method sourceRoomEvent.prototype.moveDiagonally(h,v)
Move diagonally.
Updating & Drawing
refreshBushDepth
method sourceRoomEvent.prototype.refreshBushDepth()
Redraws the bush depth.
updateJump
method sourceRoomEvent.prototype.updateJump()
Updates the jump each frame.
refresh
method sourceRoomEvent.prototype.refresh()
Refresh.
Other
deltaXFrom
method sourceRoomEvent.prototype.deltaXFrom(x)
Delta x from.
deltaYFrom
method sourceRoomEvent.prototype.deltaYFrom(y)
Delta y from.
regionId
method sourceRoomEvent.prototype.regionId()
Region id.
terrainTag
method sourceRoomEvent.prototype.terrainTag()
Terrain tag.
eventId
method sourceRoomEvent.prototype.eventId()
Event id.
event
method sourceRoomEvent.prototype.event()
Event.
page
method sourceRoomEvent.prototype.page()
Page.
screenX
method sourceRoomEvent.prototype.screenX()
Screen x.
screenY
method sourceRoomEvent.prototype.screenY()
Screen y.
screenZ
method sourceRoomEvent.prototype.screenZ()
Screen z.
erase
method sourceRoomEvent.prototype.erase()
Erase.