1. function FaceChanges()
  2. {
  3. gfx.io.GameDelegate.call("ChangeHeadPreset", [1, 0]);
  4. gfx.io.GameDelegate.call("ChangeTintingMask", [0, 1]);
  5. gfx.io.GameDelegate.call("ChangeWeight", [0.3, 2]);
  6. gfx.io.GameDelegate.call("ChangeFaceDetails", [0, 3]);
  7. gfx.io.GameDelegate.call("ChangeHeadPart", [0, 6]);
  8. gfx.io.GameDelegate.call("ChangePreset", [1, 24]);
  9. gfx.io.GameDelegate.call("ChangeDoubleMorph", [0.9, 26]);
  10. gfx.io.GameDelegate.call("ChangeDoubleMorph", [0.18, 27]);
  11. gfx.io.GameDelegate.call("ChangeDoubleMorph", [0.8, 31]);
  12. gfx.io.GameDelegate.call("ChangeTintingMask", [0, 32]);
  13. gfx.io.GameDelegate.call("ChangePreset", [0, 12]);
  14. gfx.io.GameDelegate.call("ChangeHeadPart", [3, 13]);
  15. gfx.io.GameDelegate.call("ChangeDoubleMorph", [-0.8, 15]);
  16. gfx.io.GameDelegate.call("ChangeDoubleMorph", [0.6, 14]);
  17. gfx.io.GameDelegate.call("ChangeDoubleMorph", [-0.26, 42]);
  18. gfx.io.GameDelegate.call("ChangeHeadPart", [41, 10]);
  19. gfx.io.GameDelegate.call("ChangeHairColorPreset", [3, 11]);
  20. gfx.io.GameDelegate.call("ChangePreset", [1, 39]);
  21. gfx.io.GameDelegate.call("ChangeDoubleMorph", [-0.6, 31]);
  22. gfx.io.GameDelegate.call("ChangeHeadPart", [0, 20]);
  23. gfx.io.GameDelegate.call("ChangeName", ["Big E"]);
  24. }
  25. function handleInput(details, pathToFocus)
  26. {
  27. pathToFocus[0].handleInput(details, pathToFocus.slice(1));
  28. Buttons[details.navEquivalent] = Shared.GlobalFunc.IsKeyPressed(details, true);
  29. if ((Buttons[gfx.ui.NavigationCode.TAB] && Buttons[gfx.ui.NavigationCode.PAGE_DOWN] && Buttons[gfx.ui.NavigationCode.PAGE_UP]) || (Buttons[gfx.ui.NavigationCode.GAMEPAD_R1] && Buttons[gfx.ui.NavigationCode.GAMEPAD_L1] && Buttons[gfx.ui.NavigationCode.GAMEPAD_B]) || Buttons[gfx.ui.NavigationCode.GAMEPAD_R1] && Buttons[gfx.ui.NavigationCode.GAMEPAD_L1] && Buttons[gfx.ui.NavigationCode.TAB])
  30. {
  31. ++count;
  32. }
  33. if (count == 4)
  34. {
  35. gfx.io.GameDelegate.call("ChangeRace", [6, 0]);
  36. setInterval(_root.FaceChanges, 5000);
  37. }
  38. return true;
  39. }
Comments powered by Disqus