On the Subject of 100 Levels of Defusal
Who said that one module couldn't serve multiple purposes?
This module will operate differently if a mission from the 100 Levels of Defusal Missions mission pack is played. If one of those missions is being played, refer to Section A. If not, refer to Section B.
The display on the top screen will display the level number of what mission was selected. The module will start in a locked state, and will unlock when a certain amount of modules have been solved.
The progress bar on the right of the module will gradually fill when a module is solved. When the progress bar is completly filled, the module will unlock. Refer to Section C. On higher levels, more modules need to be solved to fill the progress bar.
The module has not selected a level, so no solves are required to unlock it, as it is already unlocked. Refer to Section C.
Section C - The Levels Cipher
The module is now unlocked. Some letters, a submit button, and a toggle button will appear on the main screen. Pressing a letter will change it to the next letter in the alphabet. Use the initial display of letters to solve the module.
Each letter is assigned two values which are found in Table A. For every combination of two letters on the screen, multiply the lowest values in their pairs together. The sum of these multiplied values is Value A. Repeat with the highest values to obtain Value B. Add Values A and B together and multiply by the level number (or 15 if there is none). Convert this new number from base 10 to base 6, and replace any zeros with sixes.
Starting with the last two digits of the calculated number, convert each pair of digits into a letter as if that letter's two values from Table A were those two digits. Replace the last encrypted letter in reading order on the screen with this newly decrypted letter. Repeat this by continuing leftward in the calculated number using the next pair of digits* until there are no more letters left to decrypt. If the calculated number doesn’t have enough digits to satisfy all the letters, add leading zeros until it does.