Resets a window value from the attack grid to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|---|---|
attack | :real | The attack to reset the value of |
window | :real | The window to reset the value of |
index | :real | The index of the attack grid to reset the value of |
Example, called from attack_update.gml:
// resets the vspeed of the second window to the value in fspecial_air.gml:
reset_window_value( AT_FSPECIAL_AIR, 2, AG_WINDOW_VSPEED );