This resource is used in Reaction-Lists to apply pushback to opponents when an attack connects. Before diving into the structure and functionality of pushback, here are some key concepts to understand:
A pushback is divided into two distinct phases:
Non-linear Phase
Linear Phase
This structure consists of:
Let's take an example Pushback item from Nina's moveset
Linear Duration: 44
Linear Displacement: 60
Num of non-linear Pushback Items: 8
non-linear Pushback Items: [132, 61, 30, 15, 10, 0, 0, 0]
8 frames of non-linear pushbacks (Pushback Extradata) where first frame will have 132 units of displacement, second will be 61, third will 15, fourth will be 10 and the rest will be 0.8 frames, over the course of next 44 frames, a linear displacement of 60 will be applied.struct tk_pushback
{
uint16_t duration; // Linear
int16_t displacement; // Linear (can be +ve or -ve)
uint32_t num_of_pushback_extradatas; // How many non-linear frames
tk_pushback_extradata *pushback_extradata; // Array of non-linear displacements
};