Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///mon_party_selecter
- if global.PartyMemberSelected = 1
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember1 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel1 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
- if global.PartyMemberSelected = 2
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember2 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel2 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
- if global.PartyMemberSelected = 3
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember3 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel3 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
- if global.PartyMemberSelected = 4
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember4 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel4 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
- if global.PartyMemberSelected = 5
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember5 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel5 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
- if global.PartyMemberSelected = 6
- switch(global.PartyMember) {
- case 1:
- SelectedId2 = global.aStoredPartyMember1;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember1 = SelectedId1;
- LevelId2 = global.aStoredLevel1;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel1 = LevelId1;
- break;
- case 2:
- SelectedId2 = global.aStoredPartyMember2;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember2 = SelectedId1;
- LevelId2 = global.aStoredLevel2;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel2 = LevelId1;
- break;
- case 3:
- SelectedId2 = global.aStoredPartyMember3;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember3 = SelectedId1;
- LevelId2 = global.aStoredLevel3;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel3 = LevelId1;
- break;
- case 4:
- SelectedId2 = global.aStoredPartyMember4;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember4 = SelectedId1;
- LevelId2 = global.aStoredLevel4;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel4 = LevelId1;
- break;
- case 5:
- SelectedId2 = global.aStoredPartyMember5;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember5 = SelectedId1;
- LevelId2 = global.aStoredLevel5;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel5 = LevelId1;
- break;
- case 6:
- SelectedId2 = global.aStoredPartyMember6;
- global.aStoredPartyMember6 = SelectedId2;
- global.aStoredPartyMember6 = SelectedId1;
- LevelId2 = global.aStoredLevel6;
- global.aStoredLevel6 = LevelId2;
- global.aStoredLevel6 = LevelId1;
- break;
- default:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement