reset_window_value

Resets a window value from the attack grid to the one originally initialized in [attack_name].gml.

ArgumentTypeDescription
attack:realThe attack to reset the value of
window:realThe window to reset the value of
index:realThe 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 );