Overworld combat attacks?

1, 2 and 6. Since these are all tied together, what if, instead of saving and restoring a BASE number, the player’s stats were rebuilt every frame from separate pieces? Each boost gets its own percent variable that sits at 100 when it’s off. Nothing ever has to be “put back”, so two boosts can’t cancel each other out, and a form change shows up right away.

New variables are Form ATK, Form DEF, Action ATK %, Action DEF %, Item ATK %, Item DEF % and Item Timer. The four % ones need to start at 100, so set them in whatever runs at the start of the game, or everything will multiply by 0. Then one parallel common event that’s always on:

◆If: VITAL SHAPE = 1
  ◆Control Variables: #0XXX Form ATK = 20
  ◆Control Variables: #0XXX Form DEF = 20
◆End
◆If: VITAL SHAPE = 2
  ◆Control Variables: #0XXX Form ATK = 25
  ◆Control Variables: #0XXX Form DEF = 15
◆End
(one branch per form, with your real numbers)
◆If: Item Timer > 0
  ◆Control Variables: #0XXX Item Timer -= 1
  ◆If: Item Timer = 0
    ◆Control Variables: #0XXX Item ATK % = 100
    ◆Control Variables: #0XXX Item DEF % = 100
  ◆End
◆End
◆Control Variables: #0226 Player ATK = Form ATK
◆Control Variables: #0226 Player ATK *= Action ATK %
◆Control Variables: #0226 Player ATK /= 100
◆Control Variables: #0226 Player ATK *= Item ATK %
◆Control Variables: #0226 Player ATK /= 100
◆Control Variables: #0227 Player DEF = Form DEF
◆Control Variables: #0227 Player DEF *= Action DEF %
◆Control Variables: #0227 Player DEF /= 100
◆Control Variables: #0227 Player DEF *= Item DEF %
◆Control Variables: #0227 Player DEF /= 100

So for 2, you were close with the parallel idea. It just doesn’t need a switch to turn it off, since the boosts get multiplied on top.

For Form 7’s A, the six lines that touch BASE, ATK and DEF become these two. Lowering by 35% means multiplying by 65:

◆Control Variables: #0XXX Action ATK % = 150
◆Control Variables: #0XXX Action DEF % = 65

And when ActionTimer hits 0, the two BASE lines become:

◆Control Variables: #0XXX Action ATK % = 100
◆Control Variables: #0XXX Action DEF % = 100

For 6, the item gets a common event in the database, set from the item’s Effects. The common event sets Item ATK % = 150 and Item Timer = 600, which is 10 seconds. Form boosts and item boosts each have their own % now, so one running out leaves the other alone. Anything else that still sets Player ATK or Player DEF directly would need to come out, or it’ll fight with this.

  1. Sounds good!
  2. The check says ≥ 2, so I think that’s meant to be ≥ 6. The bunching is probably the += 1 being at the very end. Every spawner waiting in the loop sees the count drop at the same moment, they all pass, and none of them count themselves until their random wait is over. What if the += 1 moved to the top of the Else, right under the check, so the spot gets taken the moment it passes? Then since the ENEMY AMOUNT SPAWNED roll can still decide not to spawn, that branch has to give the spot back:
◆Control Variables: #0188 ENEMIES WON AGAINST += 1
◆Control Variables: #0184 Enemies Onscreen RN? -= 1
◆Exit Event Processing

The += 1 at GO ONWARD THREE comes out.

  1. Since you’re using TurnInPlace, I’d check its plugin parameters first, in case it already has a switch for this. If not, I think a tiny plugin is the cleanest way, since an event can’t really stop the arrow keys from moving you without also stopping the turning. Swap 10 for the switch you want:
/*:
 * @target MZ
 * @plugindesc Turn only while a switch is ON.
 */
(() => {
    const _executeMove = Game_Player.prototype.executeMove;
    Game_Player.prototype.executeMove = function(direction) {
        if ($gameSwitches.value(10)) {
            this.setDirection(direction);
        } else {
            _executeMove.call(this, direction);
        }
    };
})();

Then the toggle is a parallel common event watching your button. If the switch is ON, turn it OFF, else turn it ON.

1/2 - Here is the part in the event that sets the variables at the start of the fight.

◆Control Variables:#0228 Player HP = 200
◆Control Variables:#0226 Player ATK = 75
◆Control Variables:#0227 Player DEF = 50
◆Control Variables:#0252 Action ATK % = 100
◆Control Variables:#0253 Action DEF % = 100
◆Control Variables:#0254 Item ATK % = 100
◆Control Variables:#0255 Item DEF % = 100

I made a new Parallel Process event that infinitely runs a Common Event called STATS HANDLER, consisting of what you showed.

Here are all the Variables at the bottom of that event, to make sure I didn’t mess up.

◆Control Variables:#0226 Player ATK = Form ATK
◆Control Variables:#0226 Player ATK *= Action ATK %
◆Control Variables:#0226 Player ATK /= 100
◆Control Variables:#0226 Player ATK *= Item ATK %
◆Control Variables:#0226 Player ATK /= 100
◆Control Variables:#0227 Player DEF = Form DEF
◆Control Variables:#0227 Player DEF *= Action DEF %
◆Control Variables:#0227 Player DEF /= 100
◆Control Variables:#0227 Player DEF *= Item DEF %
◆Control Variables:#0227 Player DEF /= 100

I noticed that the Form 7 stats changed from Player ATK and DEF to Action ATK and DEF %. Do all instances of Player ATK and DEF in the Attack Handlers need to become Action, or just this one? Also, is the new common event doing the work to transfer Action ATK/DEF % into lowered form defense and heightened form attack for the player?

6-Does every item have to get a common event? It was my idea that there’s an item “Altar,” and the player places an item from their bag on the altar (ATM there are several varieties of Heals, ATK boosts, and DEF boosts), waits for 30 seconds, and then the item becomes collectible on the Altar by pressing A, and the player will then gain an effect like x2 ATK for 10 seconds or x3 DEF for 5 seconds.

4-Can you format this into a list of actions to take? It’s a bit too broad for me to understand, I’m sorry. I did change the check of Enemies Onscreen RN to >_ 6.

5-TurnInPlace has no parameters for that, I checked. I added that mini plugin. So the toggle would be something like, in a Parallel Process event?

if input (CTRL) IsTriggered, and if InBattle=on, then call common event Arrow Toggle?
and inside Arrow Toggle the Common Event, it turns Toggle Arrows (188)=on?

To be totally honest, I don’t know how to make the same button do 2 different actions by the way.

1 and 2. Your bottom lines look right. Two things at the start of the fight, though. The STATS HANDLER now rewrites Player ATK and Player DEF every frame, so the 75 and 50 there get replaced right away. Those numbers should go in the Form ATK and Form DEF lines in the handler. If every form starts at 75 and 50 for now, each branch can just use those. I’d also add Item Timer = 0 next to your four % lines.

Only the places that change the player’s stats become the % variables, like Form 7’s A setting them to 150 and 65, and setting them back to 100. Anywhere that reads Player ATK or Player DEF, like the damage formula, stays the same. And yes, that’s what the handler is doing. Every frame it starts from the form’s numbers and multiplies the Action % and Item % on top. Player ATK BASE and Player DEF BASE aren’t needed anymore.

  1. No, the altar can set them itself, and no item needs its own common event. Here’s how I’d lay it out. Altar Item, Altar Timer and Altar State are new variables. The altar is an Action Button event:
◆If: Altar State = 0
  ◆Select Item: Altar Item, Regular Item
  ◆If: Altar Item > 0
    ◆Script: $gameParty.loseItem($dataItems[$gameVariables.value(XXX)], 1);
    ◆Control Variables: #0XXX Altar Timer = 1800
    ◆Control Variables: #0XXX Altar State = 1
  ◆End
: Else
  ◆If: Altar Timer = 0
    ◆If: Altar Item = (your x2 ATK item's ID)
      ◆Control Variables: #0254 Item ATK % = 200
      ◆Control Variables: #0XXX Item Timer = 600
    ◆End
    ◆If: Altar Item = (your x3 DEF item's ID)
      ◆Control Variables: #0255 Item DEF % = 300
      ◆Control Variables: #0XXX Item Timer = 300
    ◆End
    ◆If: Altar Item = (a heal's ID)
      ◆Control Variables: #0228 Player HP += 50
    ◆End
    ◆Control Variables: #0XXX Altar State = 0
  ◆End
◆End

The XXX in the script line is Altar Item’s variable number. 1800 is 30 seconds. Then in the STATS HANDLER, next to the Item Timer block:

◆If: Altar Timer > 0
  ◆Control Variables: #0XXX Altar Timer -= 1
◆End

If A is a different button from the one you talk to events with, let me know and I’ll change it.

  1. Sure, in the spawn event:
  2. Find the Else under If: Enemies Onscreen RN? ≥ 6.
  3. As the very first line inside that Else, above the How long do I wait? line, add Control Variables: #0184 Enemies Onscreen RN? += 1.
  4. Find the Else with ENEMIES WON AGAINST += 1. Between that line and Exit Event Processing, add Control Variables: #0184 Enemies Onscreen RN? -= 1.
  5. Delete the Enemies Onscreen RN? += 1 under Label: GO ONWARD THREE.
  6. Yes, close. First, change the 10 in the plugin to 188 so it watches your Toggle Arrows switch. Then the parallel does this:
◆If: Script: Input.isTriggered("control")
  ◆If: InBattle is ON
    ◆Common Event: Arrow Toggle
  ◆End
◆End

The same button doing two things is just an If inside Arrow Toggle that checks what the switch is right now:

◆If: Toggle Arrows is ON
  ◆Control Switches: #0188 Toggle Arrows = OFF
: Else
  ◆Control Switches: #0188 Toggle Arrows = ON
◆End

One thing about Ctrl: like we found earlier, holding it in test play lets you walk through walls. It won’t affect the real game, but it might make testing the toggle confusing.

1/2-Ok, I removed the ATK and DEF lines from the fight starter, and added Item Timer=0.

I take it I should do the same stat replacement as Form 7, with Form 1 and 2? They boost their own ATK and DEF with their A Actions too. Those are the only ones who boost their own stats.

4-This seems functional actually! Wasn’t sure for a second because I set the stats wrong, but it seems okay!

5-It’s not working. Here’s every part.
(Also, unless CTRL affects something after being pressed, it’s fine; in normal gameplay, it is an accessible and convenient button for this purpose, I’ll make do.)

(I did change 10 to 188, by the way.)

6-I genuinely don’t know how to make Select Item do what you made it do, lol, it only shows me Variable and Item Type.

1 and 2. Yes, same as Form 7. Any line in Form 1 and 2’s A actions that sets Player ATK or Player DEF becomes Action ATK % or Action DEF %, with the same math as before, so 30% up is 130 and 20% down is 80. Where their timers run out, those go back to 100.

  1. Glad it’s working!
  2. Both events read right, so I’m wondering if TurnInPlace moves you without going through the part the mini plugin hooks into. This version catches the step itself instead, so it shouldn’t matter how TurnInPlace gets there. Swap it in for the old one and put it at the very bottom of your plugin list, so it gets the last say over TurnInPlace:
/*:
 * @target MZ
 * @plugindesc Turn only while a switch is ON.
 */
(() => {
    const _moveStraight = Game_Player.prototype.moveStraight;
    Game_Player.prototype.moveStraight = function(d) {
        if ($gameSwitches.value(188) && !this.isMoveRouteForcing()) {
            this.setDirection(d);
        } else {
            _moveStraight.call(this, d);
        }
    };
})();

The isMoveRouteForcing part lets RECOIL and any other Set Movement Route on the Player still move you while the toggle is on.

If you’re still walking after that, press F9 in test play and check whether switch 188 actually flips when you press Ctrl. If it doesn’t, the problem is on the event side, and I’d want to know where that parallel lives and whether Battle STARTED is ON at that point.

  1. Those two fields are all it needs. Set Variable to Altar Item and Item Type to Regular Item, or whichever type your altar items are. When the player picks something, its ID goes into Altar Item, or 0 if they cancel, which is what the If: Altar Item > 0 under it checks.

1/2-I didn’t know if I needed to replace the ATK/DEF Base, but this is what I changed it to. Sending just to make sure.

5-It works now!

6-Working on this now. Will update if there are issues.

Question 1, I assume that Altar Timer is how long it takes the item to spawn in once placed, and Item Timer is how long it takes for the effects of the stat boosters to go away?

2-Is it possible to restore the player’s HP by fractions instead of whole numbers?
Like one HP item restores 1/5 HP, another 1/4, another 1/3, etc.

3-

◆If: Altar Timer > 0
◆Control Variables: #0XXX Altar Timer -= 1
◆End

I put this BEFORE the Item Timer checker in STATS HANDLER, is that good or should it go after?

4- ◆Script: $gameParty.loseItem($dataItems[$gameVariables.value(XXX)], 1);
I don’t understand this script command; do I need to make a variant of it for every item?

5-While I made it under the assumption question 1 was correct, here is the full Altar event. Is it okay?

◆If:Altar State = 0
  ◆Select Item:Altar Item, Regular Item
  ◆If:Altar Item > 0
    ◆Script:$gameParty.loseItem($dataItems[$gameVariables.value(XXX)], 1);
    ◆Control Variables:#0260 Altar Timer = 1800
    ◆Control Variables:#0258 Altar State = 1
    ◆
  :End
  ◆
:Else
  ◆If:Altar Timer = 0
    ◆Comment:SQUISHY SHOOTS
    :Comment:SQUISHY SHOOTS
    :Comment:SQUISHY SHOOTS
    :Comment:SQUISHY SHOOTS
    :Comment:SQUISHY SHOOTS
    :Comment:v v v
    ◆If:Altar Item = 43
      ◆Comment:Green Squishy Shoot
      ◆Control Variables:#0254 Item ATK % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 45
      ◆Comment:Blue Squishy Shoot
      ◆Control Variables:#0254 Item ATK % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 49
      ◆Comment:Purple Squishy Shoot
      ◆Control Variables:#0254 Item ATK % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 48
      ◆Comment:Black Squishy Shoot
      ◆Control Variables:#0254 Item ATK % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆Comment:HARDY SHOOTS
    :Comment:HARDY SHOOTS
    :Comment:HARDY SHOOTS
    :Comment:HARDY SHOOTS
    :Comment:HARDY SHOOTS
    :Comment:v v v
    ◆If:Altar Item = 42
      ◆Comment:Red Hardy Shoot
      ◆Control Variables:#0255 Item DEF % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 44
      ◆Comment:Orange Hardy Shoot
      ◆Control Variables:#0255 Item DEF % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 47
      ◆Comment:Yellow Hardy Shoot
      ◆Control Variables:#0255 Item DEF % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 46
      ◆Comment:Pink Hardy Shoot
      ◆Control Variables:#0255 Item DEF % = 200
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:v v v
    ◆Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:RHIZOMES
    :Comment:v v v
    ◆If:Altar Item = 36
      ◆Comment:White Rhizome
      ◆Control Variables:#0228 Player HP += 20
      ◆
    :End
    ◆If:Altar Item = 37
      ◆Comment:Pink Rhizome
      ◆Control Variables:#0228 Player HP += 20
      ◆
    :End
    ◆If:Altar Item = 38
      ◆Comment:Umber Rhizome
      ◆Control Variables:#0228 Player HP += 20
      ◆
    :End
    ◆If:Altar Item = 39
      ◆Comment:Black Rhizome
      ◆Control Variables:#0228 Player HP += 20
      ◆
    :End
    ◆If:Altar Item = 40
      ◆Comment:Glittering Rhizome
      ◆Control Variables:#0228 Player HP += 20
      ◆
    :End
    ◆Comment:BULBS
    :Comment:BULBS
    :Comment:BULBS
    :Comment:BULBS
    :Comment:BULBS
    :Comment:v v v
    ◆If:Altar Item = 42
      ◆Comment:Red Bulb
      ◆Control Variables:#0255 Item DEF % = 99999999
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 44
      ◆Comment:Blue Bulb
      ◆Control Variables:#0255 Item DEF % = 99999999
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 47
      ◆Comment:Yellow Bulb
      ◆Control Variables:#0255 Item DEF % = 99999999
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆If:Altar Item = 46
      ◆Comment:Green Bulb
      ◆Control Variables:#0255 Item DEF % = 99999999
      ◆Control Variables:#0256 Item Timer = 600
      ◆
    :End
    ◆Control Variables:#0258 Altar State = 0

For some annoying reason it wouldn’t send in full so I had to split it up kind of awkwardly.

6-I’d like the player to have to press A on the Altar once the item is ready in order to gain the effects; how can I go about this?

Any thoughts?

On Form 1 and 2’s A, the part I’d check is where ActionTimer hits 0. Those two lines should be Action ATK % = 100 and Action DEF % = 100 now. If they still say Player ATK = Player ATK BASE, I think the % never gets set back. Then the boost would never wear off, and with *= each press would stack on top of the last one. If Forms 1, 2 and 7 all run off that one ActionTimer block, the one reset covers all three.

With that in, the BASE lines can come out, since nothing reads them anymore. The % will always be 100 when A gets pressed, so a single Action ATK % = 150 does the same job as the *= and /= pair, and Form 2 gets Action DEF % = 150 the same way.

  1. Yes, that’s it. Altar Timer is the 30 second wait after the item goes on the altar, and Item Timer is how long the boost lasts once it’s collected.

  2. Yes, it just needs a max HP to take the fraction of. Player Max HP and Heal are new variables. Set Player Max HP = 200 next to your Player HP = 200 at the start of the fight, then each rhizome works its heal out from it:

◆If: Altar Item = 36
  ◆Control Variables: #0XXX Heal = Player Max HP
  ◆Control Variables: #0XXX Heal /= 5
  ◆Control Variables: #0228 Player HP += Heal
◆End

/= 4 is a quarter and /= 3 is a third. For something like two fifths it’s multiply first and divide last like the stats, so *= 2 then /= 5. This in the STATS HANDLER keeps any heal from going over the max:

◆If: Player HP > Player Max HP
  ◆Control Variables: #0228 Player HP = Player Max HP
◆End
  1. Either spot works. The two blocks don’t touch each other’s variables, so the order doesn’t matter.

  2. No, that one line covers every item. Select Item puts the ID of whatever the player picked into Altar Item, and the script reads that ID back out and takes one of that item away. Change Items can’t do it, since it needs the item picked ahead of time in its window. The one thing to change is the XXX, which is still in yours. It needs Altar Item’s variable number. Going by Altar State being 258 and Altar Timer 260, I’m guessing Altar Item is 259, which would make it:

$gameParty.loseItem($dataItems[$gameVariables.value(259)], 1);

Left as XXX, the game will stop with an error the first time an item goes on the altar.

  1. The bulbs are the one thing I’d look at. All four use 42, 44, 47 and 46, the same IDs as the Hardy Shoots, so I’m wondering if those got copied over from the shoots. As it is, a Red Hardy Shoot would run its own branch and then the Red Bulb’s right after, so it’d give the bulb’s DEF instead. Putting in the bulbs’ real IDs sorts it out. The rhizomes’ += 20 lines are where the Heal lines from 2 go.

  2. Pressing to collect is already how yours works, just on Z. The effect only lands in the Else branch, and that only runs when the player walks up and presses the button on the altar, so nothing gets handed out by itself when the 30 seconds run out. Action Button events only fire on OK, which is Z. A is action3, the same button as your forms’ A actions, so if the altar used A, pressing it there would also fire whatever A action the current form has. Would Z work for the altar, or do you want it on A anyway?

What I’d probably add either way is a sound when it’s ready, so the player knows to come back. It’s the same trick as the cooldown sound, in your Altar Timer block in the STATS HANDLER:

◆If: Altar Timer > 0
  ◆Control Variables: #0260 Altar Timer -= 1
  ◆If: Altar Timer = 0
    ◆Play SE: (your ready sound)
  ◆End
◆End

1-Thank you

2-Implemented, thanks!

3-Thank you

4- Oh, that makes sense! Implemented.

5-Oops, good catch! Implemented

6-Oops. Yeah that’s true lol, derpy thing to forget about. Also when I say A I mean “the input analogous to A.” I’ll try to remember to be distinct in future.

I was initially thinking that A (the Z attacks) would turn off temporarily upon touching the Altar event, but the more I think about it the more I think that maybe it should just go off touch. Presumably it would work the same if it were a Player Touch?

Presumably that brings the item mechanic to a close and thank you very much for that! I’ll see about getting together a description for Form 5 next.

Actually tell you what, it’s probably a good time to implement the player damage formula since so much is done already. I’ll say if there are any issues here.

I am SO HYPED right now because I went back to implement the player damage/enemy attack code from a few days ago, and the Basic attack works on the player! I cannot thank you enough I’m genuinely over the moon

Since I’m content with all enemies sharing the Basic attack regardless of their form so as to keep it balanced, what would it take to let the enemies use the player’s A and S attacks per their granted form (1 through 8 (minus form 5 since it isn’t in yet)) too? They already have a SV: Enemy Moveset variable in their setup code. The only changes I would make to the special moves would be that they won’t do knockback to the player.

Also, I assume that their movesets can be put into Common Events for the sake of organization?

On the altar, yes, Player Touch works the same. It fires when you walk into it, and Z while facing it still fires it too. The one difference is that bumping into it while it’s empty opens the item list, even in the middle of a fight.

For the enemy moves, it’s three additions to the enemy page plus one common event per form. And yes on the common events. Calling one from the enemy runs it as that enemy, so This Event and this.character(0) inside it mean whichever enemy called it, the same way ENEMY SWING already works. The enemy’s loop waits for it to finish, just like if the commands were in the page. I think your self variables should follow it in too, but that’s up to how EliMZ_SelfVariables finds its event. So I’d do Form 3 first and check that each enemy keeps its own cooldowns before moving the rest over.

SV: Max HP, SV: A Cooldown, SV: S Cooldown, SV: Speed Timer and SV: Ram Steps are new self variables, set up the same way as your others. Pick, Roll, Half HP and Ram Hit can be normal variables since they’re only used right there.

  1. In your setup, right above the line that turns your setup switch ON, so every form gets it:
◆Control Variables: #0XXX SV: Max HP = SV: This event HP
  1. Next to your SV: Atk Cooldown countdown, so these tick every pass:
◆If: SV: A Cooldown > 0
  ◆Control Variables: #0XXX SV: A Cooldown -= 1
◆End
◆If: SV: S Cooldown > 0
  ◆Control Variables: #0XXX SV: S Cooldown -= 1
◆End
◆If: SV: Speed Timer > 0
  ◆Control Variables: #0XXX SV: Speed Timer -= 1
  ◆Script: this.character(0).setMoveSpeed(6);
  ◆If: SV: Speed Timer = 0
    ◆Script: this.character(0).setMoveSpeed(4);
  ◆End
◆End

Setting the speed every pass means a knockback’s Speed 4 can’t cut the boost short.

  1. The roll goes where the Basic’s windup starts. This replaces the Else at the bottom of your basic attack:
: Else
  ◆If: SV: Atk Cooldown = 0
    ◆Control Variables: #0XXX SV: Distance = Math.abs($gamePlayer.x - this.character(0).x) + Math.abs($gamePlayer.y - this.character(0).y)
    ◆If: SV: Distance = 1
      ◆Script: this.character(0).turnTowardPlayer();
      ◆Control Variables: #0XXX Pick = 0
      ◆Control Variables: #0XXX Half HP = SV: Max HP
      ◆Control Variables: #0XXX Half HP /= 2
      ◆If: SV: This event HP < Half HP
        ◆Control Variables: #0XXX Roll = Random 1..6
        ◆If: Roll = 1
          ◆If: SV: A Cooldown = 0
            ◆Control Variables: #0XXX Pick = 1
          ◆End
        ◆End
        ◆If: Roll ≥ 2
          ◆If: Roll ≤ 3
            ◆If: SV: S Cooldown = 0
              ◆Control Variables: #0XXX Pick = 2
            ◆End
          ◆End
        ◆End
      ◆End
      ◆If: Pick = 0
        ◆Set Movement Route: This Event
          : Wait: 5 frames
        ◆Control Variables: #0XXX SV: Windup = 5
      : Else
        ◆If: SV: Enemy Moveset = 3
          ◆Common Event: MOVESET 3
        ◆End
        ◆Control Variables: #0XXX SV: Atk Cooldown = 60
      ◆End
    ◆End
  ◆End
◆End

Under half HP, a 1 is the A move and a 2 or 3 is the S move, so S comes up twice as often. If the roll lands on a special that’s still cooling down, the enemy does the Basic instead. Random 1..6 makes about half the swings specials. Raising the 6 makes them rarer, so 1..9 would be about 1 in 3. Each form’s common event gets its own If next to the Moveset = 3 one. Until a form has one, an enemy with that form just skips a swing when it rolls a special.

Then MOVESET 3, a new common event with Trigger: None:

◆If: Pick = 1
  (your boost sound, if you want one)
  ◆Control Variables: #0XXX SV: Speed Timer = 300
  ◆Control Variables: #0XXX SV: A Cooldown = 600
◆End
◆If: Pick = 2
  ◆Control Variables: #0XXX SV: S Cooldown = 300
  ◆Script: this.character(0)._locked = true;
  ◆Set Movement Route: This Event (Skip, Wait)
    : Blend Mode: Screen
    : Wait: 10 frames
    : Speed: 6
  ◆Control Variables: #0XXX SV: Ram Steps = 4
  ◆Loop
    ◆Control Variables: #0XXX Ram Hit = $gamePlayer.pos($gameMap.roundXWithDirection(this.character(0).x, this.character(0).direction()), $gameMap.roundYWithDirection(this.character(0).y, this.character(0).direction())) ? 1 : 0
    ◆If: Ram Hit = 1
      (the same hit sound or flash as your Basic)
      ◆Control Variables: #0232 SV: Damage = SV: This Event ATK
      ◆Control Variables: #0232 SV: Damage *= 130
      ◆Control Variables: #0233 SV: Def Calc = Player DEF
      ◆Control Variables: #0233 SV: Def Calc += 100
      ◆Control Variables: #0232 SV: Damage /= SV: Def Calc
      ◆Control Variables: #0228 Player HP -= SV: Damage
      ◆Break Loop
    ◆End
    ◆If: SV: Ram Steps = 0
      ◆Break Loop
    ◆End
    ◆Control Variables: #0194 SV: My X = Map X of This Event
    ◆Control Variables: #0195 SV: My Y = Map Y of This Event
    ◆Set Movement Route: This Event (Skip, Wait)
      : 1 Step Forward
    ◆Control Variables: #0XXX SV: Ram Steps -= 1
    ◆Control Variables: #0244 SV: KB X = Map X of This Event
    ◆Control Variables: #0245 SV: KB Y = Map Y of This Event
    ◆If: SV: KB X = SV: My X
      ◆If: SV: KB Y = SV: My Y
        ◆Break Loop
      ◆End
    ◆End
  ◆Repeat Above
  ◆Set Movement Route: This Event (Skip, Wait)
    : Blend Mode: Normal
    : Speed: 4
  ◆Script: this.character(0)._locked = false;
◆End

The boost’s 300 and 600 match your own Speed form’s dash, and the ram uses your ram’s 4 tiles, Speed 6 and 130. Before each step the ram checks the tile in front of it. If you’re still there after the 10 frame flash it hits you, and if you stepped aside it runs past. It stops early at a wall or another enemy and doesn’t push you. The _locked lines are the same trick as the knockback loop, so the enemy’s own movement can’t sneak a step in between.

The other forms follow the same pattern. Forms 1, 2 and 7’s A raise SV: This Event ATK and DEF, with a base saved at setup and put back when a timer runs out. The S blasts check the tiles in front of the enemy instead of using the Attack collision, with a spawned copy like Enemy Swing so you can see them. Form 4’s would check the whole row or column it’s facing. Form 6’s wander and Form 8’s trap are the bigger ones, since the spawned copy has to watch for you on its own.

I’ll let you know if I have any problems, and it will be tested as thoroughly as I can

I made all the new variables Self Variables just so they would not be conflicting with other enemies’ calculations.

  1. Copies of the Max HP=This Event HP setter are right below the variables that set each form’s stats.

  2. I placed the new If > branches right above the SV: Windup > branch.

  3. Here is the code I put in to check for any mistakes.

    ◆If:SV: Distance = 1
      ◆Script:this.character(0).turnTowardPlayer();
      ◆Control Variables:#0281 SV: Pick = 0
      ◆Control Variables:#0283 SV: Half HP = SV: Max HP
      ◆Control Variables:#0283 SV: Half HP /= 2
      ◆If:SV: This event HP < SV: Half HP
        ◆Control Variables:#0282 SV: Roll = Random 1..6
        ◆If:SV: Roll = 1
          ◆If:SV: A Cooldown = 0
            ◆Control Variables:#0281 SV: Pick = 1
            ◆
          :End
          ◆
        :End
        ◆If:SV: Roll ≥ 2
          ◆If:SV: Roll ≤ 3
            ◆If:SV: S Cooldown = 0
              ◆Control Variables:#0281 SV: Pick = 2
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆If:SV: Pick = 0
        ◆Set Movement Route:This Event
        :Set Movement Route:◇Wait:5 frames
        ◆Control Variables:#0270 SV: Windup = 5
        ◆
      :Else
        ◆If:SV: Enemy moveset = 3
          ◆Common Event:MOVESET 3
          ◆
        :End
        ◆Control Variables:#0269 SV: Atk Cooldown = 60
        ◆
      :End
      ◆
    :End
  1. Here is the complete Form 3 common event too, to make sure there are no mistakes.
◆If:SV: Pick = 1
  ◆Show Balloon Icon:This Event, User-defined 1
  ◆Play SE:SFX/Fighting/BSFX GO UP (100, 100, 0)
  ◆Control Variables:#0278 SV: Speed 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)
  :Set Movement Route:◇Blend Mode:Screen
  :Set Movement Route:◇Wait:10 frames
  :Set Movement Route:◇Speed:6
  ◆Control Variables:#0279 SV: Ram Steps = 4
  ◆Loop
    ◆Control Variables:#0284 SV: Ram Hit = $gamePlayer.pos($gameMap.roundXWithDirection(this.character(0).x, this.character(0).direction()), $gameMap.roundYWithDirection(this.character(0).y, this.character(0).direction())) ? 1 : 0
    ◆If:SV: Ram Hit = 1
      ◆Set Movement Route:Player
      :Set Movement Route:◇Blend Mode:Additive
      ◆Common Event:DAMAGE SFX
      ◆Common Event:SCREENSHAKE SMALL
      ◆Control Variables:#0232 SV: Damage = SV: This Event ATK
      ◆Control Variables:#0232 SV: Damage *= 130
      ◆Control Variables:#0233 SV: Def Calc = Player DEF
      ◆Control Variables:#0233 SV: Def Calc += 100
      ◆Control Variables:#0232 SV: Damage /= SV: Def Calc
      ◆Control Variables:#0228 Player HP -= SV: Damage
      ◆Wait:30 frames
      ◆Set Movement Route:Player
      :Set Movement Route:◇Blend Mode:Normal
      ◆Break Loop
      ◆
    :End
    ◆If:SV: Ram Steps = 0
      ◆Break Loop
      ◆
    :End
    ◆Control Variables:#0194 SV: My X = Map X of This Event
    ◆Control Variables:#0195 SV: My Y = Map Y of This Event
    ◆Set Movement Route:This Event (Skip, Wait)
    :Set Movement Route:◇1 Step Forward
    ◆Control Variables:#0279 SV: Ram Steps -= 1
    ◆Control Variables:#0244 SV: KB X = Map X of This Event
    ◆Control Variables:#0245 SV: KB Y = Map Y of This Event
    ◆If:SV: KB X = SV: My X
      ◆If:SV: KB Y = SV: My Y
        ◆Break Loop
        ◆
      :End
      ◆
    :End
    ◆
  :Repeat Above
  ◆Set Movement Route:This Event (Skip, Wait)
  :Set Movement Route:◇Blend Mode:Normal
  :Set Movement Route:◇Speed:4
  ◆Script:this.character(0)._locked = false;
  ◆
:End

And in terms of functionality, it appears to be working! They can dash the player and increase their speed temporarily. (I did nerf it to Speed 5 for them though to make it easier.)

As 2 small additional issues,

  1. Enemies fairly often turn away from the player right as they perform their attack and miss the player entirely.
  2. It seems like the player can’t deal damage to an enemy while the enemy is in the midst of attacking. Maybe it’s just basic because that’s all I saw, but it could be every attack.

I guess the important part is just gonna be translating each A and S action into code that the enemies themselves can use? It’s worth mentioning that all but Form 5’s A action involve just changing a variable. Keeping in mind that Form 5’s moveset is not in yet.

Again thank you so much, I would not be able to figure this stuff out in a million years

any thoughts?

1 and 2. Both of those work. A copy in each branch does the same job as the single line, as long as each one sits under that branch’s HP line.

  1. That reads right.
  2. That reads right too, except for the two Player routes and the Wait in the hit. That part ties into 6, so it’s down there.
  3. I’m wondering if this is the enemy’s Autonomous Movement getting a turn right around the swing. The Wait: 5 frames route only holds it for 5 frames, so it’s free again right as the swing comes out, or a little before if a pass of the page ever takes longer than a frame. If it’s set to Approach, that type still tries a random step one time in six while it’s right next to you, and Random does it more often. If that step lands before the swing, the swing goes the wrong way and the Distance check misses. If it lands right after, it just looks like it turned away mid swing.

What if the windup used the same _locked trick as the ram instead? In your Pick = 0 branch, the Set Movement Route: This Event with the Wait: 5 frames becomes:

◆Script: this.character(0)._locked = true;

Then in the swing, the Distance line moves up above ENEMY SWING, so it can turn the enemy back toward you first if you’re still next to it:

◆If: SV: Windup > 0
  ◆Control Variables: #0270 SV: Windup -= 1
  ◆If: SV: Windup = 0
    ◆Control Variables: #0XXX SV: Distance = Math.abs($gamePlayer.x - this.character(0).x) + Math.abs($gamePlayer.y - this.character(0).y)
    ◆If: SV: Distance = 1
      ◆Script: this.character(0).turnTowardPlayer();
    ◆End
    ◆Common Event: ENEMY SWING
    ◆If: SV: Distance = 1
      (your hit on the player)
    ◆End
    ◆Control Variables: #0269 SV: Atk Cooldown = 60
  ◆End
: Else
  (your windup start, with the lock line from above)
◆End

And the unlock goes in your SV: Atk Cooldown countdown:

◆If: SV: Atk Cooldown > 0
  ◆Control Variables: #0269 SV: Atk Cooldown -= 1
  ◆If: SV: Atk Cooldown = 50
    ◆Script: this.character(0)._locked = false;
  ◆End
◆End

50 is 10 frames after the swing, which is about how long the Enemy Swing copy is on screen, so the enemy holds still facing you until its swing is gone. If it still turns away after this, what’s its Autonomous Movement set to?

  1. I’m wondering if your Basic’s hit on the player has the same Wait: 30 frames as the ram’s. Each enemy runs on one interpreter, so while it sits on a Wait, nothing below it runs, including the hit section. Your punch only keeps ATTACKING on for about 15 frames, so a whole punch can start and end inside that wait without the enemy ever checking for it. A Wait inside DAMAGE SFX or SCREENSHAKE SMALL would hold it the same way.

What I’d do is take the Wait out and let the STATS HANDLER time the flash, the same way it times your boosts. Player Flash is a new normal variable. In the ram’s hit, and the Basic’s if it has the same thing, the two Set Movement Route: Player lines and the Wait: 30 frames become these two lines, right under the damage:

◆Script: $gamePlayer.setBlendMode(1);
◆Control Variables: #0XXX Player Flash = 30

Then in the STATS HANDLER:

◆If: Player Flash > 0
  ◆Control Variables: #0XXX Player Flash -= 1
  ◆If: Player Flash = 0
    ◆Script: $gamePlayer.setBlendMode(0);
  ◆End
◆End

1 is Additive and 0 is Normal. This is the change for 4 too. A Set Movement Route on the Player from an enemy replaces whatever route the player is already running. So getting rammed while holding the shield would cancel the shield’s freeze, and getting hit during your own ram would cut it short. setBlendMode changes the look without touching the player’s route. If a fight can end on a hit, like the player going down, put a $gamePlayer.setBlendMode(0) wherever the fight ends too, or they could walk out still lit up.

The ram itself still won’t take hits while it’s running, since the enemy is busy stepping the whole time. If that’s fine with you, I’d leave it. If you want it hittable mid ram, the hit section would have to move into its own common event so the ram’s loop can call it between steps, and I can write that out.

And yes, the rest is turning each form’s A and S into a MOVESET like 3.

4-Sorry, what do you mean by “that part ties into 6”?

5-Here are the changes I made. The autonomous movement is Approach at Normal speed and set to Highest frequency.

6-The changes I made, again.


Ram ^ Basic v

Both of these issues seem fixed! Thank you!

I’ve been tinkering with additional effects and a reward system on my own, and I think I’ve gotten them nearly functional. I’ll run those by you when they’re done. Can you help turn the remaining A/S actions into ones the enemy can use? Past the implementation of Form 5 which is probably simple for you to figure out (I just don’t know how to write it), I believe that would mean it’s actually all done, this time.

  1. 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.
  2. 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.

  1. 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:

  1. Make four new events right after Enemy Swing, so they get IDs 2, 3, 4 and 5
  2. 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
  3. 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.