Get Item

MP2 Get Item

Event Type
  1. Landing Event
  2. Passing Event
Input Required
Yes (Parameter)
Programming Language
MIPS (Assembly)
Playable on N64 Hardware
Untested
Source
Custom-Made
394_17_11_20_3_44_55_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 (v2.1):
-All four events now check if the current player is Bowser (during Bowser Bomb) and exit the event if so.

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_14_12_20_11_05_52_0.png
    394_14_12_20_11_05_52_0.png
    41.9 KB · Views: 270
  • 394_17_11_20_3_44_56_3.png
    394_17_11_20_3_44_56_3.png
    48 KB · Views: 108
  • 394_17_11_20_3_44_56_2.png
    394_17_11_20_3_44_56_2.png
    46.7 KB · Views: 105
  • 394_17_11_20_3_44_55_1.png
    394_17_11_20_3_44_55_1.png
    45.1 KB · Views: 111
Downloads
425
Views
748
Rating
0.00 star(s) 0 ratings
Creator
MarioComix
Version
2.1
First release
Last update

More from MarioComix:

Latest updates

  1. Version 2.1 Update

    Now checks if the current player is Bowser (during Bowser Bomb) and exits the event if so.
Back
Top