Namespace in reactor_battle_events.js

RoomEvent

24 functions in 5 groups · hide internal

A Battle Room: a classic battle staged in 3D.

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 source
RoomEvent.prototype.initialize(room,data)

Sets up a new instance.

Checks (True / False)

isOnLadder

method source
RoomEvent.prototype.isOnLadder()

Whether it is on ladder.

isOnBush

method source
RoomEvent.prototype.isOnBush()

Whether it is on bush.

isNearTheScreen

method source
RoomEvent.prototype.isNearTheScreen()

Whether it is near the screen.

isTile

method source
RoomEvent.prototype.isTile()

Whether it is tile.

isObjectCharacter

method source
RoomEvent.prototype.isObjectCharacter()

Whether it is object character.

isStarting

method source
RoomEvent.prototype.isStarting()

Whether it is starting.

canPass

method source
RoomEvent.prototype.canPass(x,y,d)

Whether it can pass.

Actions

moveStraight

method source
RoomEvent.prototype.moveStraight(d)

Move straight.

moveDiagonally

method source
RoomEvent.prototype.moveDiagonally(h,v)

Move diagonally.

Updating & Drawing

refreshBushDepth

method source
RoomEvent.prototype.refreshBushDepth()

Redraws the bush depth.

updateJump

method source
RoomEvent.prototype.updateJump()

Updates the jump each frame.

refresh

method source
RoomEvent.prototype.refresh()

Refresh.

Other

deltaXFrom

method source
RoomEvent.prototype.deltaXFrom(x)

Delta x from.

deltaYFrom

method source
RoomEvent.prototype.deltaYFrom(y)

Delta y from.

regionId

method source
RoomEvent.prototype.regionId()

Region id.

terrainTag

method source
RoomEvent.prototype.terrainTag()

Terrain tag.

eventId

method source
RoomEvent.prototype.eventId()

Event id.

event

method source
RoomEvent.prototype.event()

Event.

page

method source
RoomEvent.prototype.page()

Page.

screenX

method source
RoomEvent.prototype.screenX()

Screen x.

screenY

method source
RoomEvent.prototype.screenY()

Screen y.

screenZ

method source
RoomEvent.prototype.screenZ()

Screen z.

erase

method source
RoomEvent.prototype.erase()

Erase.