Sushi's Secret Passageway

MP2 Sushi's Secret Passageway

Event Type
  1. Landing Event
  2. Passing Event
Input Required
Yes (Parameter)
Programming Language
MIPS (Assembly)
Source
Custom-Made
394_08_05_21_12_08_31_0.png

This event is designed to allow the player to access a different path if they have enough coins or a certain item; these are decided by the parameters "CoinPrice" and "ItemPrice" respectively. The item indexes are as follows:
  • Mushroom - 00
  • Skeleton Key - 01
  • Plunder Chest - 02
  • Bowser Bomb - 03
  • Dueling Glove - 04
  • Warp Block - 05
  • Golden Mushroom - 06
  • Boo Bell - 07
  • Bowser Suit - 08
  • Magic Lamp - 09

If the player provides either coins or an item, they will be warped to the space parameter "SecretPath". The parameter "SecretNext" should be the first space that they walk towards. If the do not go this path, they will instead walk toward the parameter "NormalPath". During the event, the player will face the space designated by the parameter "SpaceToFace".

CPUs are coded to always take the secret path if they have the required item. If not, they have a 50/50 chance of doing so. Note: since the CPUs are using custom AI logic to make their decision, the cursor will not appear during the prompt for them.

The event is also compatible with my multiple item slots events. By setting the parameter "MultipleSlots" to true, the event will also check the player's reserve item slots for the required item.

This event should be Everdrive-compatible. If there are any issues, please feel free to let me know!

Edit Log:

EDIT (v1.1):
-Now uses the "GetRandPromptSelection" function from the board overlay.
  • 394_08_05_21_12_08_32_3.png
    394_08_05_21_12_08_32_3.png
    50.2 KB · Views: 51
  • 394_08_05_21_12_08_32_2.png
    394_08_05_21_12_08_32_2.png
    50.3 KB · Views: 49
  • 394_08_05_21_12_08_32_1.png
    394_08_05_21_12_08_32_1.png
    50 KB · Views: 49
Downloads
107
Views
307
Rating
0.00 star(s) 0 ratings
Creator
MarioComix
Version
1.1
First release
Last update

More from MarioComix:

Back
Top