Just figured out (in discord conversation) that it's probably a problem with Jenny's quest script settings.
...but instead of changing these settings I decided to provide an FFC version of the script.
(BTW... BigJoe, it's a really nice script.)
As an FFC it's a bit more flexible (no need to have a list of combos, for various X/Y destinations)
...and the FFC can be placed off-grid.
//
// FFC VERSION
//
// Will move the Hero sprite from one screen x-/y-position
// to another x-/y-position, if he steps on the FFC's Center.
.
// ...this version checks the distance (in pixel), between the hero's center x-/y-coordinates
// and the center x-/y-coordinates, of the ffc, which is running the script.
//
// The "trigger"-sensivity (distance (in pixel)) is variable
//
//
ffc script portal_cmb
////////////////////////////////
// >>SET UP<< //
// //
// D0 = Teleport SFX //
// D1 = Teleport GFX Sprite //
// D2 = X Destination //
// D3 = Y Destination //
// D4 = Teleport Sensivity //
// //
////////////////////////////////
{
void run(int sfx, int spr, int x_pos, int y_pos, int sens)
{
while(true){
if(Distance(CenterLinkX(), CenterLinkY(), CenterX(this), CenterY(this)) <= sens){
Game->PlaySound(sfx);
if(spr > 0){
lweapon Sparkles = CreateLWeaponAt(LW_SPARKLE,Link->X,Link->Y);
Sparkles->UseSprite(spr);
while(Sparkles->isValid()){
Screen->FastTile(6,Link->X,Link->Y, Sparkles->Tile,Sparkles->CSet, OP_OPAQUE);
NoInput();
Waitframe();
}
}
Link->X = x_pos;
Link->Y = y_pos;
Game->PlaySound(sfx);
if(spr > 0){
lweapon Sparkles = CreateLWeaponAt(LW_SPARKLE,Link->X,Link->Y);
Sparkles->UseSprite(spr);
while(Sparkles->isValid()){
Screen->FastTile(6,Link->X,Link->Y, Sparkles->Tile,Sparkles->CSet, OP_OPAQUE);
NoInput();
Waitframe();
}
}
}
Waitframe();
}
}
}
Edited by Bagu, 10 January 2022 - 02:34 AM.