Methods


Game:addFlag(flag: any, amount: any)

Arguments:

flag: any
amount: any

Returns:

1: unknown


Game:addFollower(chara: any, index: any)

Arguments:

chara: any
index: any


Game:addPartyMember(chara: any, index: any)

Arguments:

chara: any
index: any

Returns:

1: unknown


Game:checkPartyEquipped(item_id: any)

Arguments:

item_id: any

Returns:

1: boolean
2: integer










Game:encounter(encounter: any, transition: any, enemy: any, context: any)

Arguments:

encounter: any
transition: any
enemy: any
context: any


Game:enter(previous_state: any, save_id: any, save_name: any)

Arguments:

previous_state: any
save_id: any
save_name: any


Game:enterShop(shop: any, options: any)

Arguments:

shop: any
options: any


Game:gameOver(x: any, y: any)

Arguments:

x: any
y: any






Game:getBorder()

Returns:

1: string


Game:getConfig(key: any, merge: any, deep_merge: any)

Arguments:

key: any
merge: any
deep_merge: any

Returns:

1: table|unknown


Game:getFlag(flag: any, default: any)

Arguments:

flag: any
default: any

Returns:

1: unknown




Game:getPartyIndex(chara: any)

Arguments:

chara: any

Returns:

1: integer|nil


Game:getPartyMember(id: any)

Arguments:

id: any

Returns:

1: unknown










Game:giveTension(amount: any)

Arguments:

amount: any

Returns:

1: integer


Game:hasPartyMember(chara: any)

Arguments:

chara: any

Returns:

1: boolean




Game:isLight()

Returns:

1: boolean




Game:load(data: any, index: any, fade: any)

Arguments:

data: any
index: any
fade: any


Game:loadQuick(fade: any)

Arguments:

fade: any


Game:movePartyMember(chara: any, index: any)

Arguments:

chara: any
index: any

Returns:

1: unknown


Game:onKeyPressed(key: any, is_repeat: any)

Arguments:

key: any
is_repeat: any


Game:onKeyReleased(key: any)

Arguments:

key: any


Game:onWheelMoved(x: any, y: any)

Arguments:

x: any
y: any


Game:removeFollower(chara: any)

Arguments:

chara: any


Game:removePartyMember(chara: any)

Arguments:

chara: any

Returns:

1: unknown


Game:removeTension(amount: any)

Arguments:

amount: any

Returns:

1: integer




Game:save(x: any, y: any)

Arguments:

x: any
y: any

Returns:

1: table




Game:setBorder(border: any, time: any)

Arguments:

border: any
time: any


Game:setFlag(flag: any, value: any)

Arguments:

flag: any
value: any


Game:setLight(light: any)

Arguments:

light: any


Game:setMaxTension(amount: any)

Arguments:

amount: any




Game:setTension(amount: any, dont_clamp: any)

Arguments:

amount: any
dont_clamp: any


Game:setTensionPreview(amount: any)

Arguments:

amount: any


Game:setupShop(shop: any)

Arguments:

shop: any





Fields



Undocumented



























































































































Game.state: string

states: OVERWORLD, BATTLE, SHOP, GAMEOVER