Skip to content
Bug Fables internal docs
EventDialogue
Initializing search
GitHub
Bug Fables internal docs
GitHub
Welcome to the Bug Fables Internal Docs
Bug Fables files structure
Battle system
Battle system
ActionCommands
ApplyBadges
ApplyStatBonus
Battle state
BattleControl
DoCommand
RefreshSkills
StartBattle
StartUpData
playerdata addressing
Action commands
Action commands
Crosshairs
HoldKeyCountdown
LongRandomBar
MultiPressBar
PressKey
PressKeyTimer
RandomPressBar
RandomPressKeyTimer
RandomTappingBar
SequentialKeys
TappingKey
Actors states
Actors states
BattleData
BattlePosition
CenterPos
Conditions
Delayed condition
Delayed projectile
Enemy features
Heal
IsStopped
RefreshEntities
BattleCondition
BattleCondition
AttackDown
AttackUp
DefenseDown
DefenseUp
Eaten
EventStop
Fire
Flipped
Freeze
GradualHP
GradualTP
Inked
Numb
Poison
Reflection
Shield
Sleep
Sticky
Sturdy
Taunted
Topple
Conditions methods
Conditions methods
ClearStatus
HasCondition
HealConditions
RemoveCondition
SetCondition
StatusEffect
Enemy party members
Enemy party members
AddNewEnemy
DropItem
NewEnemy
ReorganizeEnemies
SummonEnemy
Player party members
Player party members
GetFreePlayerAmmount
RevivePlayer
Targetting
Targetting
GetAvaliableTargets
GetRandomAvaliablePlayer
SetTargets
Battle flow
Battle flow
AdvanceTurnEntity
EndEnemyTurn
EndPlayerTurn
EventDialogue
GetBlock
LevelUpMessage
Main turn life cycle
PlayerTurn
Retry
Update
UseCharm
Action coroutines
Action coroutines
AIAttack
AdvanceMainTurn
CheckDead
Chompy
DoAction
Relay
SwitchParty
SwitchPos
Tattle
TryFlee
UseItem
Terminal coroutines
Terminal coroutines
AddExperience
DeadParty
GameOver
ReturnToOverworld
Terminal wrappers
Terminal wrappers
EndBattleWon
ExitBattle
Update flows
Update flows
Controlled flow
Terminal flow
Uncontrolled flow
Damage pipeline
Damage pipeline
AttackProperty
CalculateBaseDamage
DamageOverride
DoDamage
HardMode
Player UI
Player UI
Actions
AttackArea
CancelList
GetChoiceInput
GotoSelect
Pick
SetItem
SetMaxOptions
Confirmation handling
Confirmation handling
BaseAction ChoiceInput logic
SelectEnemy ChoiceInput logic
SelectPlayer ChoiceInput logic
ItemList confirmation handling
ItemList confirmation handling
Battle strategy list type confirmation handling
Skills list type confirmation handling
Standard items list type confirmation handling
StartBattle phases
StartBattle phases
StartBattle - Post halfload
StartBattle - Post haltbattleload
StartBattle - Pre haltbattleload
Visual rendering
Visual rendering
CreateHelpBox
DoDamageAnim
FixedUpdate
LateUpdate
RefreshEXP
RefreshEnemyHP
SetDefaultCamera
ShowDamageCounter
ShowSuccessWord
StatEffect
UpdateAnim
UpdateEntities
UpdateText
Entities
Entities
Entity
EntityControl
EntityControl
MapControl's CreateEntities
EntityControl Creation
EntityControl Fields
EntityControl Methods
EntityControl
Item entity
Modifiers
Start
Animations
Animations
AnimSpecific
SetAnim
Animstate
Notable methods
Notable methods
AddModel
CheckSpecialID
Death
Drop
Follow
FreezeHandling
LateStart
Move
Special animid startup
Update process
Update process
RefreshShadow
RefreshTrail
UpdateAirAnim
UpdateCollider
UpdateEmoticon
UpdateFlip
UpdateGeneralAnim
UpdateGround
UpdateHeight
UpdateItem
UpdateMoveSmoke
UpdateSound
UpdateSprite
UpdateStatusIcons
UpdateVelocity
Unity events
Unity events
FixedUpdate
LateUpdate
OnTriggerExit
OnTriggerStay
Update
NPCControl
NPCControl
ActionBehaviors
Enemy
Interaction
LateUpdate
NPC
NPCControl
NPCType
Object
Setup
Shop system
Start
Update
ActionBehaviors
ActionBehaviors
AlwaysWander
ChangeSpriteInRandius
ChargeAndAttack
ChargeAtPlayer
ChargeAtPlayerFlipSprite
ChargeAttackUnderground
ChaseOnWater
ChasePlayer
ChaseWhenAnim
Disguise
DisguiseOnce
DisguiseOnceJumpForward
FaceAhead
FaceAwayFromPlayer
FaceBehind
FaceDown
FacePlayer
FaceUp
FleeFromPlayer
None
SetPath
SetPathJump
ShootProjectile
ShootProjectilePredict
StealthAI
TurnFixedInterval
TurnRandomly
Unmoveable
WalkAwayFromPlayer
WalkWhenAnim
Wander
WanderNoWarp
WanderOffscreen
WanderOnWater
WaterUnderground
Interaction
Interaction
CaravanBadge
Check
Event
LockedDoor
QuestBoard
SavePoint
Shop
ShopKeeper
StorageAnt
Talk
TalkReturnToOriginalFlip
VenusHeal
Notable methods
Notable methods
AddPusher
CheckEmoteFlag
CreateDescWindow
Dizzy
DoBehaviour
GetDialogue
GravityFix
HasHiddenItem
Interact
RespawnEnemy
SetInitialBehavior
NPCControl.StartBattle
StopForceBehavior
SwitchSound
ObjectTypes
ObjectTypes
ANDBlock
ANDGate
BattleMapChange
Beemerang
BeetleGrass
BreakableRock
CameraChange
CoiledObject
DialogueTrigger
DigSpot
DoorOtherMap
DoorSameMap
Dropplet
EnemySpawner
EventTrigger
FixedAnim
Geizer
Item
JumpSpring
MusicRange
PathPlatform
PressurePlate
PushRock
ResetCamera
RollingRock
RotatingPlatform
SavePoint
ScrewSwitch
SetPlayerRespawn
SencilSwitch
Switch
TempPlatform
TriggerSwitch
WaterSwitch
WindPusher
Enums and IDs
Enums and IDs
AnimIDs
BattleMaps
BoardQuests
Enemies
Events
Items
Maps
Medal / badge
Musics
Skills
Crystalbflags
Librarystuff
Librarystuff
Areas
Bestiary entry
Discovery entry
Recipe entry
Record entry
External data format
External data format
Bug Fables Save Format
Flags arrays
Flags arrays
Regionalflags
Flags
Flagstring
Flagvar
ItemList
ItemList
ItemList State Machine
ItemList
ShowItemList Life Cycle
ShowItemList
inlist issue
listtype
List Types Group Details
List Types Group Details
B.O.S.S Battles list type
Battle Strategy list type
Caravan prize medals list type
Chompy Ribbons list type
Controller Bindings list type
Enum list type
Equipped Medals list type
Items list type
Key Bindings list type
Languages list type
Library list type
Lore book list type
Medals list type
Overall BoardQuests list type
BoardQuests board list type
Samira Musics list type
Settings list type
Skills list type
Spy Cards list type
Stat Bonuses List Type
Termacade prizes list type
ShowItemList Life Cycle
ShowItemList Life Cycle
Description box rendering
Rerendering after scroll
SetText
SetText
SetText Commands Sorted By Enum Value
SetText Commands
Dialogue mode
SetText Entry Points
SetText lifecycle
Notable states
SetText
languageid
Common commands id schemes
Common commands id schemes
Dialogue line ID
Entity ID
Individual commands
Individual commands
Activateselectedquest
Addboard
Addfollower
AddItem
AddItemToss
Addprize
Addquest
Addstat
Addvar
Align
Alwaysactive
Anim
Anstring
Area
Backbox
Backline
Battle
Battlesize
Battlewon
BeeGame
Blank
Bleep
Boxspeed
Boxstyle
Break
Breakend
Breakflag
Button
Call
Camangle
Camlimit
Camoffset
Camspeed
Camtarget
Cancelaction
Caravanmedal
Cardbattle
Cberrytotal
Center
Chapterinto
Checkallquests
Checkanim
Checkflag
Checkinvqtd
Checkmapflag
Checkminibubble
Checkmoney
Checkpos
Checkregional
Checksum
Checktrue
Checkvar
Choicewave
Conestring
Color
Common
Completequest
Copyvar
Createitem
Currency
Deathsmoke
Define
Destroydescbox
Destroyminibubble
Discovery
Dropshadow
DungeonGame
Emoticon
End
Entityalive
Event
Exitgame
Exp
Face
FadeIn
FadeOut
Fadeletter
Fademusic
Faketail
Fixchompy
Flag
Flagvalue
Flip
Follow
Font
Forcewait
Fwait
GetFromMap
Getstorage
Gettail
Giveitem
Glitchy
Goto
Halfline
Halt
Heal
Hide
Hidemoney
Hidespeed
Icon
Igcolmove
Ignorenext
Innsleep
Itemname
Itemvalue
Jump
Kill
Kinematicplayer
LetterPrompt
Level
Librarybook
Libraryline
Librarysize
Limit
Line
Listsize
Loadcamera
Loadmap
Lock
Lockbacktrack
Lockmovement
Lore
Mapflag
Mapsize
Maxmedals
Medaltotal
Menu
Minibubble
Money
Mothfly
Move
Moveahead
Movewait
Music
Next
Noskip
NumberPrompt
Openpause
Optionvar
Overfollower
Parent
Particle
PartyGame
Pauseline
Pausesize
PickItem
Position
Prompt
Quarterline
Questbreak
Questprompt
Questsize
Rainbow
Regionalflag
Removebadgeshop
Removefollower
Removeitem
Removeitemat
Removemaplimits
Removestat
Rerollshops
Resetcamera
Resetmaplimits
Resetregion
Save
Savecamera
Scorecheck
Setbreak
Setprize
Setvar
Shakecamera
Shaky
Shopline
Shoppool
Showmoney
Showtokens
Single
Singlebreak
Sizemulti
Sort
Sound
Spd
Speed
Sstring
Stars
Stopskip
String
Switch
Tab
Tail
Tailextra
Takeopenquests
Teleportparty
Termacadecheck
Testdiag
Textangle
Transfert
Transitionsort
Triui
Unpauseline
Unpausesize
Updateanim
Var
Wait
Waitcn
Waitminibubble
Warp
Wavy
Size
Letter Rendering Methods
Letter Rendering Methods
Regular Letter Rendering
Single Letter Rendering
Related Systems
Related Systems
Backtracking
FontEffects
GlobalCommands
Text advances
Automatic Line Breaks
Automatic Line Breaks
Automatic Line Breaking
OrganiseLines known issues
OrganiseLines
TextAsset Data
TextAsset Data
BoardQuests
Cave Of Trials data
Dialogue data
Discoveries data
Enemies
Entity data
Fortune teller data
Items
Lore Books data
Medals
Miscellaneous global data
Miscellaneous language specific data
Musics data
Rank data
Recipes data
Records data
Skills data
Spy Cards
Termacade Prizes data
EventDialogue
¶
TODO, this will be documented in part 3