Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffc script cancelsidewarp
- {
- void run(int combo_id, int dir)
- {
- while(1)
- {
- for ( int q = 0; q < 176; ++q )
- {
- if ( Screen->ComboD[q] == combo_id )
- {
- Screen->SetSideWarp(dir, Screen->GetCurScreen(), Screen->GetCurDMap(), WT_NOWARP);
- this->Data = 0; Quit();
- }
- }
- Waitframe();
- }
- }
- }
- ffc script cancelsidewarps
- {
- void run(int combo_id, int num, bool sidewarp_a, bool sidewarp_b, bool sidewarp_c, bool sidewarp_d)
- {
- while(1)
- {
- for ( int q = 0; q < 176; ++q )
- {
- if ( Screen->ComboD[q] == combo_id )
- {
- if ( sidewarp_a )
- Screen->SetSideWarp(0, Screen->GetCurScreen(), Screen->GetCurDMap(), WT_NOWARP);
- if ( sidewarp_b )
- Screen->SetSideWarp(1, Screen->GetCurScreen(), Screen->GetCurDMap(), WT_NOWARP);
- if ( sidewarp_c )
- Screen->SetSideWarp(2, Screen->GetCurScreen(), Screen->GetCurDMap(), WT_NOWARP);
- if ( sidewarp_d )
- Screen->SetSideWarp(3, Screen->GetCurScreen(), Screen->GetCurDMap(), WT_NOWARP);
- this->Data = 0; Quit();
- }
- }
- Waitframe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement