public void UDF_Audio_Sub() {
if (manager.getGPR(1)==1) {
if (manager.getCurrentAudioID()==2) {
manager.setGPR(1, 2);
manager.activateSegment("S:РM_Audio.animate1");
}
}
if (manager.getGPR(1)==2) {
if (manager.getCurrentAudioID()==3) {
manager.setGPR(1, 3);
manager.activateSegment("S:РM_Audio.animate1");
}
}
if (manager.getGPR(1)==3) {
if (manager.getCurrentAudioID()==4) {
manager.setGPR(1, 4);
manager.activateSegment("S:РM_Audio.animate1");
}
}
if (manager.getGPR(1)==4) {
if (manager.getCurrentAudioID()==5) {
manager.setGPR(1, 5);
manager.activateSegment("S:РM_Audio.animate1");
}
}
if (manager.getGPR(1)==5) {
if (manager.getCurrentAudioID()==1) {
manager.setGPR(1, 1);
manager.activateSegment("S:РM_Audio.animate1");
}
}
if (manager.getGPR(2)==0) {
if (manager.getCurrentSubID()==1) {
manager.setGPR(2, 1);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==1) {
if (manager.getCurrentSubID()==2) {
manager.setGPR(2, 2);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==2) {
if (manager.getCurrentSubID()==3) {
manager.setGPR(2, 3);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==3) {
if (manager.getCurrentSubID()==4) {
manager.setGPR(2, 4);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==4) {
if (manager.getCurrentSubID()==5) {
manager.setGPR(2, 5);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==5) {
if (manager.getCurrentSubID()==6) {
manager.setGPR(2, 6);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==6) {
if (manager.getCurrentSubID()==7) {
manager.setGPR(2, 7);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==7) {
if (manager.getCurrentSubID()==8) {
manager.setGPR(2, 8);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==8) {
if (manager.getCurrentSubID()==9) {
manager.setGPR(2, 9);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==9) {
if (manager.getCurrentSubID()==10) {
manager.setGPR(2, 10);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==10) {
if (manager.getCurrentSubID()==11) {
manager.setGPR(2, 11);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==11) {
if (manager.getCurrentSubID()==12) {
manager.setGPR(2, 12);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
if (manager.getGPR(2)==12) {
if (manager.getCurrentSubID()==0) {
manager.setGPR(2, 0);
manager.activateSegment("S:РM_Subtitles.animate1");
}
}
}
[свернуть]