Dockalocker
| Dockalocker | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Dockalocker is an enemy from Mega Man 10. It is a sports locker robot modified to shoot projectiles at passing targets.
Dockalocker was first made available with the Megamix Engine, and subsequently the devkits for Make a Good Mega Man Level 3 and Make a Good 48 Hour Mega Man Level. Make a Good Mega Man Level: Episode Zero was released before either game, however, and Dockalocker appeared in the level Space Jam.
Behavior
Dockalocker hides in the background, disguised as a locker. After a period of time, it will swing open to shoot a projectile at Mega Man, before swinging shut to avoid a counterattack. When a Dockalocker is still closed and inactive, Mega Man's shots will not affect it. Dockerlockers come with five template objects, with each one having a longer startup time the higher its number is.
Dockalockers have several creation code variables that affect their functionality (many of which it shares with Yoku Blocks):
- startup - Sets the number of frames it takes for a Dockalocker to swing outwards.
- active - Sets the number of frames a Dockalocker is exposed for before swinging back into hiding.
- wait - Sets the number of frames a Dockalocker waits for before swinging back outwards.
- sprite - Sets the sprite a Dockalocker uses.
- spriteBack - Sets the graphic for what appears in the spot a Dockalocker initially occupies, which persists even when the Dockalocker is destroyed.
- neverDespawn - Though set to true by default, if set to false a Dockalocker will only attack once before remaining in hiding forever.
- col - Sets the colour for a Dockalocker's default sprite (0 = blue (default), 1 = purple).