Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //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.
- function Tidus() {
- Phaser.PIXI.game.prodigy.player.kennel.add(131,10977,100,100);
- }
- function ChillChar() {
- Phaser.PIXI.game.prodigy.player.kennel.add(130,10400,100,100);
- }
- function Magmischief() {
- Phaser.PIXI.game.prodigy.player.kennel.add(129,8320,100,100);
- }
- function Arctursus() {
- Phaser.PIXI.game.prodigy.player.kennel.add(127,9303,100,100);
- }
- function Diveodile() {
- Phaser.PIXI.game.prodigy.player.kennel.add(128,9836,100,100);
- }
- function Luma() {
- Phaser.PIXI.game.prodigy.player.kennel.add(132,8798,100,100);
- }
- function Eclipse() {
- Phaser.PIXI.game.prodigy.player.kennel.add(133,12295,100,100);
- }
- /* 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>"});
- var dragObj = null;
- function draggable(id)
- {
- var obj = document.getElementById(id);
- obj.style.position = "absolute";
- obj.onmousedown = function(){
- dragObj = obj;
- }
- }
- document.onmouseup = function(e){
- dragObj = null;
- };
- document.onmousemove = function(e){
- var x = e.pageX;
- var y = e.pageY;
- if(dragObj == null)
- return;
- dragObj.style.left = x +"px";
- dragObj.style.top= y +"px";
- };
- draggable('dialog');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement