Dockalocker
| Dockalocker | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
- For the article on the Box Cartel member from Make a Good 48 Hour Mega Man Level, see Dockalocker (Box Cartel).
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 with the devkits for all games using it; the first of which was Make a Good Mega Man Level: Episode Zero, where Dockalocker appeared in the level Space Jam. As a minor enemy, it reappeared in the Make a Good 48 Hour Mega Man Level entry Toad Man's Underwater Sea Lab.
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).