Difference between revisions of "ResetUnitCalculations"
Jump to navigation
Jump to search
m (→{15} {{IE_15}}) |
|||
Line 9: | Line 9: | ||
This should be fixable by adding the following commands after {{IE_15}}: | This should be fixable by adding the following commands after {{IE_15}}: | ||
− | LUI(x0001,x8019) | + | *LUI(x0001,x8019) |
− | ADD(x0001,x08CC) | + | *ADD(x0001,x08CC) |
− | LUI(x0018,x8019) | + | *LUI(x0018,x8019) |
− | ADD(x0018,x2BCC) | + | *ADD(x0018,x2BCC) |
− | BackTarget(x01) | + | *BackTarget(x01) |
− | LoadAddress(x00,x0005,x01,001) | + | *LoadAddress(x00,x0005,x01,001) |
− | SaveAddress(x00,x01BA,x01,001) | + | *SaveAddress(x00,x01BA,x01,001) |
− | SETVar(x0000,x0018) | + | *SETVar(x0000,x0018) |
− | NEQ() | + | *NEQ() |
− | If() | + | *If() |
− | + | * ADD(x0001,x01C0) | |
− | + | * JumpBack(x01) | |
− | EndIf() | + | *EndIf() |
See also: [[Event_Instruction_18|{18} {{IE_18}}]] | See also: [[Event_Instruction_18|{18} {{IE_18}}]] |
Revision as of 06:37, 9 March 2022
Contents
{15} ResetUnitCalculations
ResetUnitCalculations()
Wipes the damage, status and other temporary calculations on all units on the field, allowing Effects to never display any damage/healing numbers when called with {18} Effect.
Note: Currently bugged. Will cause all enemies to become allies if used.
This should be fixable by adding the following commands after ResetUnitCalculations:
- LUI(x0001,x8019)
- ADD(x0001,x08CC)
- LUI(x0018,x8019)
- ADD(x0018,x2BCC)
- BackTarget(x01)
- LoadAddress(x00,x0005,x01,001)
- SaveAddress(x00,x01BA,x01,001)
- SETVar(x0000,x0018)
- NEQ()
- If()
- ADD(x0001,x01C0)
- JumpBack(x01)
- EndIf()
See also: {18} Effect