Sharp Ocarina Tutorial:
Creating a Silver Rupee Challenge in Your OOT Rom Hack
The Silver Rupee Challenge is a classic puzzle mechanic in Ocarina of Time, where Link must collect all silver rupees in an area to trigger an event—like opening a chest or a door. This tutorial will guide you through setting it up using Sharp Ocarina.
Prerequisites
Before starting, make sure you’ve created a custom level using Sharp Ocarina. If you haven’t done that yet, follow our Getting Started with Ocarina of Time Modding tutorial first.
Step 1: Add Silver Rupees
- Open your map in Sharp Ocarina.
- Go to the Actors tab.
- Click Add, then click the database icon to open the actor list.
-
Search for Silver Rupee and select:
-
1000 – Silver Rupee
-
- Move the rupee to your desired location using the Position X, Y, Z fields.
- Make sure Simulate N64 Graphics is turned ON—you should now see a spinning silver rupee.
- Duplicate this rupee until you have the total number you want for your challenge (e.g. 5 silver rupees).
Step 2: Add the Rupee Counter
This step is crucial to make the challenge work.
- Add one more rupee, and change its actor to:
0000 – Rupee Chain
- This will appear as a green box rather than a rupee.
- Set counter flags & settings:
- Switch Flag to a unique value
(e.g. 4) Count to match the number of silver rupees you placed
- Switch Flag to a unique value
Step 3: Add a Reward – Treasure Chest
- Add another actor:
000A – Treasure Chest B000 (Large, Appears via Switch Flag)
- Position it wherever you’d like it to appear.
- Set counter flags & settings:
- Switch Flag to the same value used in the rupee counter (e.g.
4) - Contents to the item you want to reward the player with (e.g. small key, heart piece, etc.)
- Switch Flag to the same value used in the rupee counter (e.g.
Optional: Open a Door Instead
Want your rupee challenge to open a door instead?
- Go to the Transitions and Spawns tab.
- Click Add, then open the database icon.
- Select:
003E – Lifting Wooden Door0080 – Front Side, Attached to Switch
- Position the door in front of a wall, ideally where a passage will be revealed.
- Rotate the door (use middle mouse wheel or set Y-axis rotation).
- Set counter flags & settings:
- Switch Flag to the same value (
4) - Back Room to
1(Only if your scene has more than one room—if not, this will crash the game) Room counting starts with 0.
- Switch Flag to the same value (
Pro Tips:
Keep a log of switch flags you’ve used to avoid conflicts. If it dosn’t work try a different flag.
Test frequently to ensure everything works properly before adding more complexity.
You can combine silver rupee challenges with time-based events or enemies for added difficulty.
Be sure to save your project and test it thoroughly in your emulator. Stay tuned for more tutorials on puzzles, cutscenes, and advanced event scripting in Ocarina of Time modding.





