- The two Set Movement Route: Player lines and the Wait: 30 frames in the ram’s hit had the same problem that 6 was about, so I only wrote the fix once, under 6. Your ram screenshot has it in, so that one’s done.
- That works. The Wait: 5 frames under the lock line can come out though. The lock replaces the whole Set Movement Route that had the Wait inside it. A Wait command on its own parks the enemy’s page the same way as in 6, just for 5 frames, and it makes the windup about 10 frames instead of 5. If you like it longer, SV: Windup = 10 gives you that without the page stopping.
The If: SV: Distance = 1 with the turnTowardPlayer() line, between the Distance line and ENEMY SWING, didn’t make it in either. I think you’d only notice it if you get around to another side of the enemy during the windup, which mostly happens with the speed boost on. The hit still lands since you’re still next to it, but the swing comes out pointing where you were.
- Both of those read right.
For the rest of the moves, here’s everything I can write from what I’ve seen so far. That’s the A for Forms 1, 2 and 7, and the S for Forms 1, 2, 4 and 6.
All the S moves work the same way. The enemy spawns a copy on its own tile like Enemy Swing, and the copy plays the blast and checks for you every frame by itself. That way the enemy goes straight back to its loop and can still be hit while its blast is out. Each copy hits you once, as soon as it’s more than halfway onto you, which is the same rule your attacks use on enemies. None of them push you.
In your roll, the SV: Atk Cooldown = 60 line moves up above the MOVESET calls so a MOVESET can set its own, and each form gets its own If:
: Else
◆Control Variables: #0269 SV: Atk Cooldown = 60
◆If: SV: Enemy moveset = 1
◆Common Event: MOVESET 1
◆End
◆If: SV: Enemy moveset = 2
◆Common Event: MOVESET 2
◆End
◆If: SV: Enemy moveset = 3
◆Common Event: MOVESET 3
◆End
◆If: SV: Enemy moveset = 4
◆Common Event: MOVESET 4
◆End
◆If: SV: Enemy moveset = 6
◆Common Event: MOVESET 6
◆End
◆If: SV: Enemy moveset = 7
◆Common Event: MOVESET 7
◆End
◆End
SV: Base ATK, SV: Base DEF and SV: Boost Timer are new self variables. These go next to each of your Max HP lines in the setup:
◆Control Variables: #0XXX SV: Base ATK = SV: This Event ATK
◆Control Variables: #0XXX SV: Base DEF = SV: This Event DEF
And this goes next to your other countdowns, so a boost wears off after its timer:
◆If: SV: Boost Timer > 0
◆Control Variables: #0XXX SV: Boost Timer -= 1
◆If: SV: Boost Timer = 0
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆End
◆End
Hazard ID, Hazard ATK, Hazard Damage and Hazard Def are new normal variables. Next come two new common events, both Trigger: None. ENEMY HAZARD spawns the copy and hands it the enemy’s ATK. XXX is Hazard ID’s variable number and YYY is Hazard ATK’s:
◆Script: const e = this.character(0);
Galv.SPAWN.event($gameVariables.value(XXX), 'xy', [e.x, e.y], 'all', false);
const s = $gameMap.event($gameMap._lastSpawnEventId);
s.setDirection(e.direction());
s._atk = $gameVariables.value(YYY);
HAZARD CHECK is what each copy runs every frame. The first Hazard Damage line has its operand set to Script, like your Distance line:
◆If: Script: !this.character(0)._hit && Math.abs($gamePlayer._realX - this.character(0)._realX) + Math.abs($gamePlayer._realY - this.character(0)._realY) < 0.5
◆Script: this.character(0)._hit = true;
◆Control Variables: #0XXX Hazard Damage = this.character(0)._atk
◆Control Variables: #0XXX Hazard Damage *= 130
◆Control Variables: #0XXX Hazard Def = Player DEF
◆Control Variables: #0XXX Hazard Def += 100
◆Control Variables: #0XXX Hazard Damage /= Hazard Def
◆Control Variables: #0228 Player HP -= Hazard Damage
◆Script: $gamePlayer.setBlendMode(1);
◆Control Variables: #0293 Player Flash = 30
◆Common Event: DAMAGE SFX
◆Common Event: SCREENSHAKE SMALL
◆End
Then on the SPAWN map:
- Make four new events right after Enemy Swing, so they get IDs 2, 3, 4 and 5
- All four get Through ON, Direction Fix OFF, Priority: Above characters and Trigger: Parallel, with the image set to the graphic that form’s blast uses. The Form 2 one also gets Stepping Animation ON
- All four get these same commands, and only the route at the top is different:
◆Set Movement Route: This Event (Skip)
(that blast's route, from the list below)
◆Loop
◆Common Event: HAZARD CHECK
◆If: Script: !this.character(0).isMoveRouteForcing()
◆Break Loop
◆End
◆Wait: 1 frame
◆Repeat Above
◆Script: Galv.SPAWN.unspawn(this);
Skip If Cannot Move is on and Wait for Completion is off on that route. That way the loop keeps checking for you while the blast plays, and it ends when the route does. The four routes:
ID 2, Form 1 blast
: SE: Maris Haven SFX/Fighting/BSFX SMACK (100, 100, 0)
: Speed: 6
: 1 Step Forward
: 1 Step Forward
ID 3, Form 2 blast
: Speed: 6
: 1 Step Forward
: SE: Maris Haven SFX/Fighting/BSFX BIG HIT 2 (100, 100, 0)
: Opacity: 200
: Wait: 60 frames
: Opacity: 150
: Wait: 5 frames
: Opacity: 100
: Wait: 5 frames
: Opacity: 50
: Wait: 5 frames
ID 4, Form 4 blast
: SE: Maris Haven SFX/Fighting/BSFX SMACK (100, 100, 0)
: Speed: 5
(the same number of 1 Step Forward lines as your Form 4 blast)
ID 5, Form 6 wander
: Speed: 5
(the seven Script lines from your Form 6 wander route)
: SE: Maris Haven SFX/Fighting/BSFX DING (90, 100, 0)
The MOVESETs are all Trigger: None, like MOVESET 3. In every one of them, the lock comes off at Atk Cooldown = 50 like it does for the Basic, so none of them need their own unlock line.
MOVESET 1:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event ATK *= 150
◆Control Variables: #0XXX SV: This Event ATK /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: SE: Maris Haven SFX/Fighting/BSFX QUICK HIT (100, 100, 0)
: Jump: +0, +0
: Blend Mode: Normal
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 2
◆Common Event: ENEMY HAZARD
◆End
MOVESET 2:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆Control Variables: #0XXX SV: This Event DEF *= 150
◆Control Variables: #0XXX SV: This Event DEF /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Control Variables: #0269 SV: Atk Cooldown = 140
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: SE: Maris Haven SFX/Fighting/BSFX RISING (100, 150, 0)
: 1 Step Backward
: Speed: 6
: 1 Step Forward
: Speed: 4
: Blend Mode: Normal
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 3
◆Common Event: ENEMY HAZARD
◆End
The 140 keeps it held about 90 frames after the blast comes out, roughly how long yours takes to fade, the same way you’re frozen during yours.
MOVESET 4:
◆If: SV: Pick = 2
◆Control Variables: #0277 SV: S Cooldown = 300
◆Script: this.character(0)._locked = true;
◆Set Movement Route: This Event (Skip, Wait)
: Blend Mode: Screen
: Wait: 10 frames
◆Control Variables: #0XXX Hazard ATK = SV: This Event ATK
◆Control Variables: #0XXX Hazard ID = 4
◆Common Event: ENEMY HAZARD
◆Set Movement Route: This Event (Skip, Wait)
: Speed: 6
: 1 Step Backward
: Blend Mode: Normal
: Speed: 4
◆End
MOVESET 6 is a copy of MOVESET 4 with Hazard ID = 5, plus a Play SE: Maris Haven SFX/Fighting/BSFX SHRILL right above the Common Event: ENEMY HAZARD. Yours fire instantly, but an enemy only rolls a special while it’s right next to you, so I gave both of these the ram’s 10 frame flash first. That gives you a moment to get out of the line.
MOVESET 7:
◆If: SV: Pick = 1
◆Show Balloon Icon: This Event, User-defined 1
◆Play SE: Maris Haven SFX/Fighting/BSFX GO UP (100, 100, 0)
◆Control Variables: #0XXX SV: This Event ATK = SV: Base ATK
◆Control Variables: #0XXX SV: This Event ATK *= 150
◆Control Variables: #0XXX SV: This Event ATK /= 100
◆Control Variables: #0XXX SV: This Event DEF = SV: Base DEF
◆Control Variables: #0XXX SV: This Event DEF *= 65
◆Control Variables: #0XXX SV: This Event DEF /= 100
◆Control Variables: #0XXX SV: Boost Timer = 300
◆Control Variables: #0276 SV: A Cooldown = 600
◆End
Could you post screenshots of Form 7 and Form 8’s S blocks? Those are the two I haven’t seen, and I think each one ends up as one more copy on the SPAWN map. What do Forms 4, 6 and 8’s A do? Until those are in, an enemy with one of those forms just skips the swing when it rolls an A, the same as before.
I don’t think I’ve seen what Form 5 is meant to do yet either. If you describe its A and S the way you did in your list of issues, I can write the player side and the enemy side together.