Advertisement
Y_No_ThankU

Prodigy Epics Giver

Nov 8th, 2019
3,574
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //How to use: Login into prodigy. Once logged in, press CTRL + Shift + I all at the same time. Click onto "Console" and paste in this code.
  2.  
  3. function Tidus() {
  4.     Phaser.PIXI.game.prodigy.player.kennel.add(131,10977,100,100);
  5. }
  6.  
  7. function ChillChar() {
  8.     Phaser.PIXI.game.prodigy.player.kennel.add(130,10400,100,100);
  9. }
  10.  
  11. function Magmischief() {
  12.     Phaser.PIXI.game.prodigy.player.kennel.add(129,8320,100,100);
  13. }
  14.  
  15. function Arctursus() {
  16.     Phaser.PIXI.game.prodigy.player.kennel.add(127,9303,100,100);
  17. }
  18.  
  19. function Diveodile() {
  20.     Phaser.PIXI.game.prodigy.player.kennel.add(128,9836,100,100);
  21. }
  22.  
  23. function Luma() {
  24.     Phaser.PIXI.game.prodigy.player.kennel.add(132,8798,100,100);
  25. }
  26.  
  27. function Eclipse() {
  28.     Phaser.PIXI.game.prodigy.player.kennel.add(133,12295,100,100);
  29. }
  30.  
  31. /* Open the Epics giver dialog */sw.dialogManager.open({title:"<div> <button onclick='Tidus();'>Tidus</button> <br/> <button onclick='ChillChar();'>Chill & Char</button> <br/> <button onclick='Magmischief();'>Magmischief</button> <br/> <button onclick='Arctursus();'>Arctursus</button> <br/> <button onclick='Diveodile();'>Diveodile</button> <br/> <button onclick='Luma();'>Luma</button> <br/> <button onclick='Eclipse();'>Eclipse</button> <br/></div>  <br/><p id='dragme'>Note: you can drag this popup if it is taking up to much space on your screen.</p>"});
  32.  
  33.  
  34.  
  35.  
  36. var dragObj = null;
  37. function draggable(id)
  38. {
  39.     var obj = document.getElementById(id);
  40.     obj.style.position = "absolute";
  41.     obj.onmousedown = function(){
  42.             dragObj = obj;
  43.     }
  44. }
  45.  
  46. document.onmouseup = function(e){
  47.     dragObj = null;
  48. };
  49.  
  50. document.onmousemove = function(e){
  51.     var x = e.pageX;
  52.     var y = e.pageY;
  53.  
  54.     if(dragObj == null)
  55.         return;
  56.  
  57.     dragObj.style.left = x +"px";
  58.     dragObj.style.top= y +"px";
  59. };
  60.  
  61.  
  62. draggable('dialog');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement