Conditional Pushblock
Overview
Creator:
Alucard648
Updated: 16 Feb 2025
Tags:
FFC
Downloads: 16
|
View Script
Download Package (972.21 KB) |
Information
A block that requires specific condition to be pushable.
Made on request by SkyFlare.
Made on request by SkyFlare.
Description Setup Reviews Comments
Set up solid combo with blank tile for CMB_COND_TALL_PUSHBLOCK_SOLID constant.
Effect Width and Height used. If TileHeight is greater than EffectHeight / 16, then the script calls CondTallPush Renderer, so FFC sprite rendering is aligned to bottom edge of FFC`s hitbox.
D0 - bracelet level requirement.
D1 - allowed push directions. Add together - 1-up, 2-down, 4-left, 8-right. 0 for all directions.
D2 - add together: 1 - gets stuck after 1 push, 2 - gets stuck when landing on trigger, 4 - icy block, continue moving in direction until hitting obstacle, 8 - ignore triggers, 16 - require triggers with same CSet as FFC`s Cset, 32 - animation on push (uses next combo in list)
D3 - Screen D register to track
D4 - Target screen D value.
P.S. If you want for support for combo-related puzzles, like Matrix Password Puzzle, place exactly similar-looking FFC with script on top of solid puzzle combos, such as blocks with letters inscribed on them.
//CondTallPushRender
Renderer for CondTallPush blocks
Place, gridsnap, and align on bottom with large pushblock.
D0 - ID of pushblock FFC
Effect Width and Height used. If TileHeight is greater than EffectHeight / 16, then the script calls CondTallPush Renderer, so FFC sprite rendering is aligned to bottom edge of FFC`s hitbox.
D0 - bracelet level requirement.
D1 - allowed push directions. Add together - 1-up, 2-down, 4-left, 8-right. 0 for all directions.
D2 - add together: 1 - gets stuck after 1 push, 2 - gets stuck when landing on trigger, 4 - icy block, continue moving in direction until hitting obstacle, 8 - ignore triggers, 16 - require triggers with same CSet as FFC`s Cset, 32 - animation on push (uses next combo in list)
D3 - Screen D register to track
D4 - Target screen D value.
P.S. If you want for support for combo-related puzzles, like Matrix Password Puzzle, place exactly similar-looking FFC with script on top of solid puzzle combos, such as blocks with letters inscribed on them.
//CondTallPushRender
Renderer for CondTallPush blocks
Place, gridsnap, and align on bottom with large pushblock.
D0 - ID of pushblock FFC



