Stop n Swopping

Type: Programming
Level Difficulty: 1.5 (Mid-Easy)
Objectives: Putting a stop n swop feature in the game for integrating hidden items.

This tutorial is all about making a feature for stop n swopping known as Stop n Swop. This feature first appeared in a Nintendo 64 game known as Banjo Kazooie, Stop n Swop is made from several items such as these Mystery Eggs, Keys, etc. ANY ITEM! Today several games uses this cool feature in Clickteam games.

So you wanna put Stop n Swop in your game? Yes you can!

Let's begin with the begginer way! This program requires you have MMF1 (Express), MMF1.5 or MMF2, because it needs the file object.

Step 1: Pick the File Object from the object list and put it in the frame.
Step 2: With the file object, you need a condition to do it, there's some examples: If you have reached a frame where there's an big item, starting the frame, it saves the item with a file, but once returned just for another one, you cannot get another copy.
Do this condition for example:

Step 3: After the 2nd step, it can be used to unlock hidden features such as secret levels, easter eggs, etc. in some other frame such as the menu, it can unlock a feature like a level select.
Instead, we are gonna do a condition when you click a button, it does load to another frame if there's the file:

Conclusion: Tadaaa! Now you have a simple stop n swop feature!

Anyways here's a example found on SHPDMBGWL4 3 EX:

This is a hidden level which you have to reach the top, where there's a pillar with a egg above, once you collect, a file will save on the game's directory and will set a text "EGG GET!".