Get Item (Coins If Full)

MP3 Get Item (Coins If Full)

Event Type
  1. Landing Event
  2. Passing Event
Input Required
Yes (Parameter)
Programming Language
MIPS (Assembly)
Playable on N64 Hardware
Yes
Source
Custom-Made
This event allows you to give out a specific item, or coins if the player has full inventory.

The item is decided by the parameter "Item", according to the following numbers:
  • Mushroom - 0
  • Skeleton Key - 1
  • Poison Mushroom - 2
  • Reverse Mushroom - 3
  • Cellular Shopper - 4
  • Warp Block - 5
  • Plunder Chest - 6
  • Bowser Phone - 7
  • Dueling Glove - 8
  • Lucky Lamp - 9
  • Golden Mushroom - 10
  • Boo Bell - 11
  • Boo Repellant - 12
  • Bowser Suit - 13
  • Magic Lamp - 14
  • Koopa Kard - 15
  • Barter Box - 16
  • Lucky Charm - 17
  • Wacky Watch - 18
The number of coins given is set as the parameter "Coins" and must be a positive number.

There are 2 message boxes, one each for receiving the item or coins. When receiving coins, the message box includes the number of coins given.

There is a sound effect for receiving the item, and will play the character's happy voice and animation at the end of the event.

This event was adapted from Airsola's event "Give Current Player Specific Item" and PP64's event "Adjust Current Player Coins".

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

Edit Log:
EDIT (v3):
-Improved coding overall.
-The item is now decided by a parameter and the item message is generated automatically.
-The number of coins must now be positive to avoid crashes if a negative number is set.
-Now hides the player's dice roll during the course of the event if set as a passing event.

EDIT (v2):
-Now includes 8-byte alignment of the stack to prevent N64 crashes on Everdrive, and improved MIPS coding.
-Now uses a string to show the number of coins given in a text box, and happy voice/animation.
  • Get Item (Coins If Full) 2.png
    Get Item (Coins If Full) 2.png
    73.3 KB · Views: 36
Downloads
377
Views
696
Rating
0.00 star(s) 0 ratings
Creator
MarioComix
Version
3
First release
Last update

More from MarioComix:

Latest updates

  1. V3 Update

    Improved coding and parameters. You can now chose the item using a parameter and the message...
Back
Top