All files src/lib/events

52.9% Statements 1067/2017
32.49% Branches 129/397
33.6% Functions 83/247
54.18% Lines 1049/1936

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
eventActorActivate.js
0% 0/11 100% 0/0 0% 0/2 0% 0/11
eventActorCollisionsDisable.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorCollisionsEnable.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorDeactivate.js
0% 0/11 100% 0/0 0% 0/2 0% 0/11
eventActorEffects.js
0% 0/21 0% 0/9 0% 0/1 0% 0/21
eventActorEmote.js
91.67% 11/12 100% 0/0 50% 1/2 91.67% 11/12
eventActorGetDirection.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorGetPosition.js
91.67% 11/12 100% 0/0 50% 1/2 91.67% 11/12
eventActorHide.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventActorInvoke.js
91.67% 11/12 100% 0/0 50% 1/2 91.67% 11/12
eventActorMoveCancel.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorMoveRelative.js
83.33% 10/12 0% 0/2 50% 1/2 83.33% 10/12
eventActorMoveTo.js
84.62% 11/13 0% 0/2 50% 1/2 84.62% 11/13
eventActorMoveToVariables.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventActorPush.js
100% 11/11 100% 3/3 100% 1/1 100% 11/11
eventActorSetAnimate.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventActorSetAnimationSpeed.js
91.67% 11/12 100% 0/0 50% 1/2 91.67% 11/12
eventActorSetBoundingBox.js
0% 0/13 100% 0/0 0% 0/2 0% 0/13
eventActorSetCollisionBox.js
92.31% 12/13 100% 0/0 50% 1/2 92.31% 12/13
eventActorSetDirection.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventActorSetFrame.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventActorSetFrameToVariable.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventActorSetMovementSpeed.js
91.67% 11/12 100% 0/0 50% 1/2 91.67% 11/12
eventActorSetPosition.js
83.33% 10/12 0% 0/2 50% 1/2 83.33% 10/12
eventActorSetPositionRelative.js
83.33% 10/12 0% 0/2 50% 1/2 83.33% 10/12
eventActorSetPositionToVariables.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventActorSetSprite.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorSetState.js
91.67% 11/12 0% 0/2 50% 1/2 91.67% 11/12
eventActorShow.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventActorStartUpdateScript.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventActorStopUpdateScript.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventCallCustomEvent.js
0% 0/15 0% 0/3 0% 0/3 0% 0/15
eventCameraLock.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventCameraMoveTo.js
81.82% 9/11 0% 0/2 50% 1/2 81.82% 9/11
eventCameraPropertySet.js
0% 0/14 0% 0/4 0% 0/2 0% 0/14
eventCameraSetPosition.js
0% 0/11 0% 0/2 0% 0/2 0% 0/11
eventCameraShake.js
76.32% 29/38 53.33% 8/15 50% 1/2 76.32% 29/38
eventComment.js
0% 0/10 0% 0/2 0% 0/2 0% 0/10
eventDataClear.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventDataLoad.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventDataPeek.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventDataSave.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventEngineFieldSet.js
0% 0/17 0% 0/7 0% 0/3 0% 0/17
eventEngineFieldStore.js
0% 0/13 0% 0/3 0% 0/2 0% 0/13
eventFadeIn.js
100% 10/10 100% 0/0 100% 1/1 100% 10/10
eventFadeOut.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventGBVMScript.js
0% 0/11 0% 0/2 0% 0/1 0% 0/11
eventGroup.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventIdle.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventIf.js
0% 0/12 0% 0/2 0% 0/2 0% 0/12
eventIfActorAtPosition.js
85.71% 12/14 25% 1/4 50% 1/2 85.71% 12/14
eventIfActorDirection.js
92.31% 12/13 50% 1/2 50% 1/2 92.31% 12/13
eventIfActorDistanceFromActor.js
87.5% 14/16 50% 1/2 50% 1/2 87.5% 14/16
eventIfActorRelativeToActor.js
0% 0/22 0% 0/7 0% 0/2 0% 0/22
eventIfColorSupported.js
0% 0/11 0% 0/2 0% 0/1 0% 0/11
eventIfCurrentSceneIs.js
0% 0/13 0% 0/2 0% 0/2 0% 0/13
eventIfDataSaved.js
100% 11/11 50% 1/2 100% 1/1 100% 11/11
eventIfDeviceGBA.js
0% 0/11 0% 0/2 0% 0/1 0% 0/11
eventIfDeviceSGB.js
0% 0/11 0% 0/2 0% 0/1 0% 0/11
eventIfExpression.js
0% 0/14 0% 0/6 0% 0/2 0% 0/14
eventIfInput.js
92.31% 12/13 50% 1/2 50% 1/2 92.31% 12/13
eventIfVariableCompare.js
92.86% 13/14 50% 1/2 50% 1/2 92.86% 13/14
eventIfVariableFalse.js
91.67% 11/12 50% 1/2 50% 1/2 91.67% 11/12
eventIfVariableFlagsCompare.js
65.22% 30/46 11.11% 2/18 50% 1/2 96.67% 29/30
eventIfVariableTrue.js
91.67% 11/12 50% 1/2 50% 1/2 91.67% 11/12
eventIfVariableValue.js
92.86% 13/14 50% 2/4 50% 1/2 92.86% 13/14
eventInputAwait.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventInputScriptRemove.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventInputScriptSet.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventLabelDefine.js
100% 7/7 100% 0/0 100% 1/1 100% 7/7
eventLabelGoto.js
100% 7/7 100% 0/0 100% 1/1 100% 7/7
eventLaunchProjectile.js
0% 0/28 0% 0/14 0% 0/1 0% 0/28
eventLaunchProjectileSlot.js
0% 0/29 0% 0/14 0% 0/2 0% 0/29
eventLinkClose.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventLinkJoin.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventLinkStart.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventLinkTransfer.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventLoadProjectile.js
0% 0/12 100% 0/0 0% 0/2 0% 0/12
eventLoop.js
100% 11/11 100% 0/0 100% 1/1 100% 11/11
eventLoopFor.js
0% 0/20 100% 0/0 0% 0/3 0% 0/20
eventLoopWhile.js
0% 0/13 0% 0/2 0% 0/2 0% 0/13
eventMenu.js
75% 12/16 100% 0/0 50% 2/4 75% 12/16
eventMusicPlay.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventMusicRoutine.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventMusicStop.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventMuteChannel.js
0% 0/10 0% 0/2 0% 0/1 0% 0/10
eventOverlayHide.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventOverlayMoveTo.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventOverlaySetScanlineCutoff.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventOverlayShow.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventPaletteSetBackground.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventPaletteSetEmote.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventPaletteSetSprite.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventPaletteSetUI.js
0% 0/8 100% 0/0 0% 0/1 0% 0/8
eventPlayerBounce.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventPlayerSetSprite.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventPrint.js
0% 0/11 0% 0/2 0% 0/1 0% 0/11
eventReplaceTileXY.js
0% 0/11 100% 0/0 0% 0/2 0% 0/11
eventReplaceTileXYSequence.js
0% 0/25 0% 0/4 0% 0/4 0% 0/25
eventScenePopAllState.js
100% 10/10 100% 0/0 100% 1/1 100% 10/10
eventScenePopState.js
100% 10/10 100% 0/0 100% 1/1 100% 10/10
eventScenePushState.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventSceneResetState.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventSceneSwitch.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventScriptLock.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventScriptStop.js
100% 8/8 100% 0/0 100% 1/1 100% 8/8
eventScriptUnlock.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventSeedRng.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventSetDialogueFrame.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventSoundPlayEffect.js
85.71% 24/28 84.21% 16/19 100% 1/1 85.71% 24/28
eventSpritesHide.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventSpritesShow.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventSwitch.js
0% 0/16 0% 0/4 0% 0/3 0% 0/16
eventTextChoice.js
83.33% 10/12 100% 0/0 50% 1/2 83.33% 10/12
eventTextCloseNonModal.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventTextDialogue.js
76% 19/25 61.11% 33/54 66.67% 2/3 76% 19/25
eventTextDraw.js
0% 0/12 0% 0/4 0% 0/2 0% 0/12
eventTextSetAnimationSpeed.js
100% 11/11 50% 2/4 100% 1/1 100% 11/11
eventTextSetSound.js
85.71% 24/28 70% 14/20 50% 1/2 85.71% 24/28
eventThreadStart.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventThreadStop.js
0% 0/9 100% 0/0 0% 0/1 0% 0/9
eventTimerDisable.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventTimerRestart.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventTimerScriptSet.js
87.5% 14/16 33.33% 2/6 50% 1/2 87.5% 14/16
eventVariableAddFlags.js
60% 30/50 11.76% 2/17 40% 2/5 82.35% 28/34
eventVariableClearFlags.js
60% 30/50 11.76% 2/17 40% 2/5 82.35% 28/34
eventVariableDec.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventVariableInc.js
90.91% 10/11 100% 0/0 50% 1/2 90.91% 10/11
eventVariableMath.js
51.85% 28/54 52.63% 20/38 50% 1/2 51.85% 28/54
eventVariableMathEvaluate.js
0% 0/13 0% 0/4 0% 0/2 0% 0/13
eventVariableSetFlags.js
60% 30/50 11.76% 2/17 40% 2/5 82.35% 28/34
eventVariableSetToFalse.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventVariableSetToTrue.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventVariableSetToValue.js
90% 9/10 100% 0/0 50% 1/2 90% 9/10
eventVariablesReset.js
100% 9/9 100% 0/0 100% 1/1 100% 9/9
eventWait.js
76.92% 10/13 86.67% 13/15 50% 1/2 76.92% 10/13
eventWeaponAttack.js
0% 0/10 0% 0/5 0% 0/1 0% 0/10
helpers.js
28% 21/75 0% 0/9 0% 0/15 18.64% 11/59
scriptCommands.js
96.69% 117/121 0% 0/1 0% 0/1 96.67% 116/120