Skip to content

Brokemia Helper Extra Features

Brokemia edited this page Sep 15, 2024 · 4 revisions

Brokemia Helper Extra Features

Decal Registry Tags

BrokemiaHelper_cassetteAnimated

Animates a decal until it reaches the frame for the current cassette color, then stops animating until the beat color changes, then repeat. This does mean that if your animation is too long, it might fall behind the actual beat.

Example:

<BrokemiaHelper_cassetteAnimated redFrame="0" blueFrame="1" yellowFrame="0" greenFrame="2" />

BrokemiaHelper_playerMotion

Plays an animation and sounds when the player moves into a hitbox of the decal while going above a certain speed. Comes with an example in the form of a windchime.

Example:

<BrokemiaHelper_playerMotion idle="0" active="1-8" delay="0.08" sfx="event:/brokemia/helper/chimes/1,event:/brokemia/helper/chimes/2,event:/brokemia/helper/chimes/3" hitboxHeight="16"/>

Dialog Extensions

{BH+OTHER_DIALOG_ID}

Works almost identically to the vanilla {+OTHER_DIALOG_ID} but the text string is inserted right before showing the dialog, rather than while initially loading the game. This is mainly useful for code mods to swap out parts of dialog dynamically.

{BH!10!TEXT|SEPARATED|BY|PIPES}

If you want to use this, please ask first, I looked through the code and this is more jank than I remember.

Lönn Scripts

Requires the Lönn Scripts mod

Use Copy Room to save the current room to your clipboard, then Paste Room to paste it into a map. Paste Room At Mouse will paste at wherever your mouse is located, rather than at the location the room was at in the map it was copied from