Returns whether the special button is pressed while also taking the right stick into account if it’s set to Special.
Argument | Type | Description |
---|---|---|
dir | :real | The direction to check. |
Example, called from attack_update.gml:
//This code triggers another attack if the player inputs a DSPECIAL during a certain portion of USPECIAL.
if ( attack == AT_USPECIAL && window == 4 && is_special_pressed( DIR_DOWN ) ) {
set_attack( AT_USPECIAL_2 );
}