Entry 2: Making twin units that can “swap places” on map
Now this is the finanggeling I meant when I thought of making this thread. It’s a bit complicated so I will probably make include steps here.
What you need:
Special event for each unit patch by 7743
Set unit status patch, get unit status etc by 7743
2 unit slots with copy classes that have 0 move.
Step 1)
set up 2 slots for each of the twin units you want to switch on the special event per unit patch.
Now for a brief explanation of what each part of the patch does.
-Unit is obvious which unit will get this special command
-Class, flag, has items are conditions on when this command appears, in this case the units switching needs to have item in slot CD to be able to switch.
-Menu item is what command pops up when you want to do the switch basically when the conditions are fulfilled the menu “transport” would appear similar to movement skills like reposition or swap.
-Event pointer is what event will get triggered when you select “transport”
Step 2: Making the event
Now the event itself, first get somebody who can do the thing lmao, jk but for real I legit just copied Shusuuke the fool’s instructions for this part. I’ll change the twin’s portrait to make it easier to distinguish them. Note: both unit’s Id in the character editor is 1B=Lune and 18=Sole
Here’s a look at Sole’s event:
Here’s the breakdown and logic:
Red rectangles: This sets the active unit, aka the unit you have your cursor on to another character, now I believe you can set it to any other character but the twins because the cursor will be returned to the “switched” twin at the end, as you can see at the very bottom.
Movement events do not effect your active unit, this means that a unit you’re controlling will not move to another tile with another event.
Copy the rest of the event in between, it’s a bit complicated but from what I can gather it’s basically saving the x and y coordinates for each twin which allows the switch.
Orange Rectangle, This is the actual command that switches the two’s position on the map.
Pink Rectangle, this is the command that ends sole’s turn, so in a similar way that reposition and other movement base events end a unit’s turn this command will end the “switchers’s” turn.
Blue Rectangle, these are commands that reclass lune and sole into identical classes with 0 move. I put this in so that the switched twin can still attack and do actions but cannot continue to move. You can skip this part if you want them to be able to move after switching, though this does allow them to combine their 5 moves to move a total of 10 spaces before performing another action.
The last red rectangle is just a way to put the cursor to the “switched” twin.
Outcome: The outcome of this fenanggeling is a movement skill similar to Swarp which allows a twin to burn their turn to switch with another twin. Allowing the twins to use their different stat spreads to tackle the “right” enemies.
Step 3: Returning the movement
This step is necessary to return both units to 5 move every turn. If you didn’t change their classes to an identical class with 0 move then you can skip this step.
The key is in making a turn event that starts every player phase to switch both their classes back.
Now if you want this to be a hack long mechanic then it’s necessary to make a copy of this event on every map after they’ve appeared.
Part 4: Caveat:
There’s 2 instances where this mechanic falls apart:
- Boots can probably disable the “can’t move after switching” because these are boosts that go on top of the move stat. Change class only effectively change base move and con so bonuses will stay
- If one or both promote, then there needs to be adjustments to what copy class they turn into, a potential solution to this is making 4 more copy events and making all the event available only based on 1 global flag. These flags can be turned on and off based on the class the twins have. so say sole is a sage and lune’s a mage, check both classes and then disable the original event’s flag and turn on the right version’s flag.
Note: check the Low command thing on when you’re inserting the event, this allows for set status to sval2 the one in the pink box