Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Collect script for Magic Boss Key--works in a levels
- item script MagicBossKey
- {
- void run()
- {
- for ( int q = 0; q < 512; ++q )
- {
- Game->LItems[q] |= LI_BOSSKEY;
- }
- }
- }
- //Collect script for Magic Map--works in a levels
- item script MagicMap
- {
- void run()
- {
- for ( int q = 0; q < 512; ++q )
- {
- Game->LItems[q] |= LI_MAP;
- }
- }
- }
- //Collect script for Magic Compass-works in all levels
- item script MagicBossKey
- {
- void run()
- {
- for ( int q = 0; q < 512; ++q )
- {
- Game->LItems[q] |= LI_COMPASS;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement