Get Item

MP2 Get Item

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

These four events are designed to give the player an item, but they vary in how they act if the player already has an item. The item given is determined by the parameter "ItemIndex", which is a number from 0 to 9. 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

After the player receives an item, they will play their happy voice and animation.

Get Item (None If Full) will not give an item if the player already has an item.
Get Item (Coins If Full) will give the player coins if they already have an item. The number of coins is determined by the parameter "CoinsGained".
Get Item (Replace Current Item) will overwrite the player's current item with the new item.
Get Item (Choose to Replace) will bring up a prompt and let the player choose between getting the new item or keeping their current item.

Special thanks to Rain and PP64 for their MP2 documentations and to Spongyoshi for testing the event!

These events should be Everdrive-compatible. If there are any issues, please do not hesitate to let me know!

NOTE: If there are multiple Bowser Bombs at play, the game will softlock.

Edit Log:

EDIT (v1.3):
-Get Item (Choose to Replace): Now uses the "GetRandPromptSelection" function from the board overlay.

EDIT (v1.2):
-Get Item (Choose to Replace): Reduced file size by replacing the mini function "WaitOnCursor" with the in-game function.

EDIT (v1.1):
-Get Item (Choose to Replace): Added the option to view the map. Special thanks to PartyPlanner64 for providing the function!
  • 394_17_11_20_3_44_56_3.png
    394_17_11_20_3_44_56_3.png
    48 KB · Views: 12
  • 394_17_11_20_3_44_56_2.png
    394_17_11_20_3_44_56_2.png
    46.7 KB · Views: 15
  • 394_17_11_20_3_44_55_1.png
    394_17_11_20_3_44_55_1.png
    45.1 KB · Views: 12
  • 394_17_11_20_3_44_55_0.png
    394_17_11_20_3_44_55_0.png
    41.1 KB · Views: 15
Downloads
51
Views
94
Rating
0.00 star(s) 0 ratings
Creator
MarioComix
Version
1.3
First release
Last update

More from MarioComix:

Back
Top