Kamek's Cauldron

MP2 Kamek's Cauldron

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

This event is designed to force the player to trade an item for coins. The coins given for each item are determined by the Item Price Table in the event code and can be freely adjusted. During the event, the player will face the space designated by the parameter "SpaceToFace". If the player does not have an item, nothing happens.

The event will also check the Multiple Item Slots Flag in board RAM and, if turned ON, will check the player's reserve item slots for items. When this occurs, the player will be given a prompt to choose which item to trade. For CPU players, the cursor will not appear during the prompt as it allows for the event to accommodate custom AI logic to choose an item.

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

Edit Log:

EDIT (v1.11):
-Removes the parameter "MultipleSlots" which was never used in the event itself.

EDIT (v1.1):
-Now uses the "GetRandPromptSelection" function from the board overlay.
  • 394_09_05_21_1_23_45_3.png
    394_09_05_21_1_23_45_3.png
    42.7 KB · Views: 101
  • 394_09_05_21_1_23_45_2.png
    394_09_05_21_1_23_45_2.png
    43 KB · Views: 103
  • 394_09_05_21_1_23_44_0.png
    394_09_05_21_1_23_44_0.png
    43 KB · Views: 99
Downloads
206
Views
464
Rating
0.00 star(s) 0 ratings
Creator
MarioComix
Version
1.11
First release
Last update

More from MarioComix:

Back
Top