Lufiastyle event mover

i doesnt know it will be destroy anything but its bug fixing some important stuff for me that

Code:
Game_Event.prototype.refresh = function() {

Frysning_EventMover.Game_Event_refresh.call(this);

this.PageClear();

this.PageSetup();

};

delete the line
this.PageClear();

and you can fix that the events move like speed 6
so if you set an event with normal movement and no comment
the event moves normally so you can trigger the lufia event movement via comments 😉
all other stuffs working fine with this edit i doesnt know if this do other thinks with the plugin
i will tested it and edit something
if i found some

it fixed this bug that i found in the plugin!

I think I was trying to use it for Roguelike combat - where you "bump" into a monster to fight it. Since the script didn't count a blocked move as a "move" it made problems.

I ended up creating my own setup to do this, but it could help others who want to do Roguelike style movement with on-map combat.
Several years late to the party, but do you happen to remember what setup you used?
This plugin is really awesome, but I can't for the life of me figure out how to modify it and have enemies move when your movement is blocked.
Several years late to the party, but do you happen to remember what setup you used?
This plugin is really awesome, but I can't for the life of me figure out how to modify it and have enemies move when your movement is blocked.

I believe you can just make a script call "$gamePlayer.increaseSteps()" to trigger a movement as part of whatever event process handles your attacking.
I believe you can just make a script call "$gamePlayer.increaseSteps()" to trigger a movement as part of whatever event process handles your attacking.
That'll be super useful once I get the dungeon tools working, thanks.
What I'm after at the moment though is getting the enemy movement to trigger when the player is walking into a wall, for example.
That'll be super useful once I get the dungeon tools working, thanks.
What I'm after at the moment though is getting the enemy movement to trigger when the player is walking into a wall, for example.

Well, literally nothing happens when you try to walk into a wall. Most roguelikes and other turn-based-movement games don't count that as movement either, since it's not a possible action- you need to actually do something for it to count.
Well, literally nothing happens when you try to walk into a wall. Most roguelikes and other turn-based-movement games don't count that as movement either, since it's not a possible action- you need to actually do something for it to count.
Well in the case of Lufia 2 the character would continue playing the walk animation and enemies would also move when you walked against a wall.
I wonder if I can replicate that behaviour without breaking everything.

I got it working with the following:

Code:
var MonMove = Game_Player.prototype.moveStraight;
Game_Player.prototype.moveStraight = function(d) {
    if (!this.canPass(this.x, this.y, d)) {
        $gamePlayer.increaseSteps();
    }
    MonMove.call(this, d);
};

Only thing to figure out now is how to put the right delay in so that the monster doesn't suddenly jump 10 tiles because you're still colliding with the wall.
Seens like comment like:
<Move_With_Player 4>

isn't working :\
Comments like | <Move_With_Player m2> or <Move_With_Player s3>
works fine, but if i want to make the event wair for more than 1 tiles before moving, the event won't move. Does anyone have the same issue ?

I've made a Video of the issue:

Original thread: https://forums.rpgmakerweb.com/threads/lufiastyle-event-mover.64947/