Fix Gaga Rescue (#350)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getEvents().getGagaRescue().fallAndGet() > 3) {
|
||||
if (pi.getPlayer().getEvents().get("rescueGaga").fallAndGet() > 3) {
|
||||
pi.playPortalSound(); pi.warp(922240200, 0);
|
||||
pi.getPlayer().cancelEffect(2360002);
|
||||
} else
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getEvents().getGagaRescue().fallAndGet() > 3) {
|
||||
if (pi.getPlayer().getEvents().get("rescueGaga").fallAndGet() > 3) {
|
||||
pi.playPortalSound(); pi.warp(922240200, 0);
|
||||
pi.getPlayer().cancelEffect(2360002);
|
||||
} else
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getEvents().getGagaRescue().fallAndGet() > 3) {
|
||||
if (pi.getPlayer().getEvents().get("rescueGaga").fallAndGet() > 3) {
|
||||
pi.playPortalSound(); pi.warp(922240200, 0);
|
||||
pi.getPlayer().cancelEffect(2360002);
|
||||
} else
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getEvents().getGagaRescue().fallAndGet() > 3) {
|
||||
if (pi.getPlayer().getEvents().get("rescueGaga").fallAndGet() > 3) {
|
||||
pi.playPortalSound(); pi.warp(922240200, 0);
|
||||
pi.getPlayer().cancelEffect(2360002);
|
||||
} else
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//Author: kevintjuh93
|
||||
|
||||
function enter(pi) {
|
||||
pi.getPlayer().getEvents().getGagaRescue().complete();
|
||||
pi.getPlayer().getEvents().get("rescueGaga").complete();
|
||||
pi.playPortalSound(); pi.warp(922240100 + (pi.getPlayer().getMapId() - 922240000));
|
||||
pi.getPlayer().cancelEffect(2360002);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user