Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int EASTER_EGG_SDI = 9;
- const int EASTER_EGG_FLAG = 0x00010000b;
- ffc script TriggerEasterEgg
- {
- void run(int dmap, int scr)
- {
- bool waiting = true;
- while(waiting)
- {
- //Spell out the conditions that trigger the easter egg.
- if ( conditions ) waiting = false;
- Waitframe();
- }
- SetScreenDBit(dmap, scr, EASTER_EGG_SDI, EASTER_EGG_FLAG, true);
- }
- }
- //Run on screen Init.
- ffc script EggScreenComboChange
- {
- void run(int combo_id)
- {
- if ( GetScreenDBit(Game->GetCurDMap(), Game->GetCurScreen(), EASTER_EGG_SDI, EASTER_EGG_FLAG )
- {
- for ( int q = 0; q < 176; q++ )
- {
- if ( ComboF[q] == 103 )
- {
- ComboD[q] = combo_id;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement